Commit graph

10516 commits

Author SHA1 Message Date
Mohamed Tarek
6258e24e0e Some fixes for the standalone test program.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21807 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 14:43:24 +00:00
Mohamed Tarek
edf3af2c68 Add seeking support in cook codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21806 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 14:36:06 +00:00
Jens Arnold
02c031709c * ARM asm DSP and codec/plugin functions: Use r12 scratch register properly
* Fix saving another unused reg in dsp code
* Use less regs in the generic ARM mpegplayer adding idct pure DC case
* Fix ARMv6 mpegplayer adding idct using an unsaved register in pure DC case


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21803 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 13:14:35 +00:00
Thomas Martitz
e12c1c0a62 Optimize chopper a bit by making a often used macro an inline function(which means its parameter expressions are evaluated before expanding) and removing a unecessary display clear.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21802 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 11:56:38 +00:00
Jens Arnold
fa59ed6ae7 Fix plugins for the changed pitch scale from r21781
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21794 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 23:11:56 +00:00
Alexander Levin
6857f6387e Remove an unneeded include
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21790 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 21:33:45 +00:00
Jens Arnold
4c75ece14a Properly ifdef the pitchscreen settings as well (aka fix red Player build).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21789 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 21:21:33 +00:00
Jens Arnold
1a49df92be Those strings only apply to targets having the pitchscreen feature.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21788 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 21:05:46 +00:00
Alexander Levin
7765158513 Fix red in bootloaders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21782 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 17:16:23 +00:00
Alexander Levin
cc7c665d9b Improvements to the pitch screen UI (FS#10359 by David Johnston)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21781 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 16:46:19 +00:00
Teruaki Kawashima
ad825d66c7 clix: fix bug that game isn't over when no move is possible.
clean up a bit.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21774 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 14:06:00 +00:00
Teruaki Kawashima
e976c51df8 Correct return value when quit sudoku from the menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21771 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 13:35:08 +00:00
Jonathan Gordon
74d79cb92b FS#10421 - clip keymap updates.
Major changes:
- try to minimise combos
- home is goto menu just about everywhere (and goto previous from the main menu)
- home+select is goto wps
- long home is quickscreen
- removed referneces to the rec screen... we can argue about that when recording is implemented

in the wps:
- down = id3 screen
- long down = pitch screen

lists:
- select+up/down is page up/down.... home+right isnt a valid combo, nor is home+up :<

- home in quickscreen is exit


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21770 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 00:22:27 +00:00
Andrew Mahone
1bc67c81b6 Fix type mismatch warnings and errors exposed when building with EABI toolchain.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21769 a1c6a512-1295-4272-9138-f99709370657
2009-07-11 00:22:26 +00:00
Johannes Schwarz
755de6a3de FS#10418: Change menu button in Sudoku on Fuze, by Nick Tryon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21750 a1c6a512-1295-4272-9138-f99709370657
2009-07-10 18:09:28 +00:00
Thomas Martitz
2ad5e244c7 Correct another small typo in a comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21746 a1c6a512-1295-4272-9138-f99709370657
2009-07-10 16:27:24 +00:00
Teruaki Kawashima
edfcc10876 Correct return value of function get_ucs, position of next character, in viewer plugin (FS #9387, patch by Yoshihisa Uchida, small modification by me).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21743 a1c6a512-1295-4272-9138-f99709370657
2009-07-10 14:06:34 +00:00
Alexander Levin
37c7a67b47 Fix a typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21741 a1c6a512-1295-4272-9138-f99709370657
2009-07-10 12:22:30 +00:00
Thomas Martitz
989ed2be01 Fix a few comments in gwps.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21740 a1c6a512-1295-4272-9138-f99709370657
2009-07-10 11:53:15 +00:00
Maurus Cuelenaere
80b4e5d55d Lua:
* add ./?/init.lua to the search path for require
 * put Lua libs in /.rockbox/rocks/viewers/lua/


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21739 a1c6a512-1295-4272-9138-f99709370657
2009-07-10 11:30:26 +00:00
Teruaki Kawashima
402b8ebeae fix FS#9383 (chessclock freezes on deleting a player), patch by Yoshihisa Uchida.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21733 a1c6a512-1295-4272-9138-f99709370657
2009-07-09 13:36:22 +00:00
Maurus Cuelenaere
408213f263 Helloworld.lua: fix file_put_contents depending on a wrong return value of io.write + use a cleaner version of if(file == nil) (thanks to Christophe Gragnic)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21731 a1c6a512-1295-4272-9138-f99709370657
2009-07-08 21:05:56 +00:00
Mohamed Tarek
d259568831 Add the ability to seek to the start of the track.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21728 a1c6a512-1295-4272-9138-f99709370657
2009-07-08 20:23:24 +00:00
Maurus Cuelenaere
7414140f7c Previous commit didn't fix compiling on Cygwin, this one should.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21724 a1c6a512-1295-4272-9138-f99709370657
2009-07-08 18:27:59 +00:00
Johannes Schwarz
b0179dcd23 add keymap for m300 and fix warnings of previous patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21723 a1c6a512-1295-4272-9138-f99709370657
2009-07-08 18:10:14 +00:00
Maurus Cuelenaere
269ed8a415 Fix compiling on Cygwin hosts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21722 a1c6a512-1295-4272-9138-f99709370657
2009-07-08 18:06:38 +00:00
Johannes Schwarz
4dd33aed66 new game plugin for colored players named clix (by Rene Peinthor)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21720 a1c6a512-1295-4272-9138-f99709370657
2009-07-08 17:42:37 +00:00
Maurus Cuelenaere
851b0e3234 Try at fixing 'cast to/from pointer to/from integer of different size' warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21719 a1c6a512-1295-4272-9138-f99709370657
2009-07-08 17:18:59 +00:00
Bertrik Sikken
0e21789e1f Accept FS#10210: "Mpegplayer playback controls on portrait oriented players" by Matthew Bonnett.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21718 a1c6a512-1295-4272-9138-f99709370657
2009-07-08 17:15:42 +00:00
Maurus Cuelenaere
24967bd552 Cook codec: make sure the RMContext get aligned correctly, or we won't be able to find it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21717 a1c6a512-1295-4272-9138-f99709370657
2009-07-08 15:31:36 +00:00
Maurus Cuelenaere
3c338766d1 RM metadata parser: fix unaligned access
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21716 a1c6a512-1295-4272-9138-f99709370657
2009-07-08 15:00:00 +00:00
Maurus Cuelenaere
cfffedfa8b Lua IOlib: don't create files when they don't exist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21715 a1c6a512-1295-4272-9138-f99709370657
2009-07-08 14:54:40 +00:00
Maurus Cuelenaere
59c4b6816b Lua: expose SCREEN_MAIN & SCREEN_REMOTE (for rb.lcd_*() functions)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21712 a1c6a512-1295-4272-9138-f99709370657
2009-07-08 11:59:05 +00:00
Jonathan Gordon
a06f6eedae cleanup the remote+main statusbar handling a bit, and fix the bug where the remote wps might reserve the space for the statusbar even if its disabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21709 a1c6a512-1295-4272-9138-f99709370657
2009-07-08 00:51:03 +00:00
Dave Hooper
008f611bca Fix bug in playlist_move where the track would end up one place too early / too late if the move wrapped from one end of the playlist indices to the other end
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21708 a1c6a512-1295-4272-9138-f99709370657
2009-07-08 00:30:23 +00:00
Dave Hooper
be0cd7310a Fix bug introduced in r21616 (my bad)- playlist moving array could show in playlist viewer even when track not being moved
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21704 a1c6a512-1295-4272-9138-f99709370657
2009-07-07 22:40:47 +00:00
Maurus Cuelenaere
8d4d4610b6 * FS#10411 - Fixed point math code is bloated by Jeffrey Goode
* Set svn:keywords properties


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21701 a1c6a512-1295-4272-9138-f99709370657
2009-07-07 13:36:34 +00:00
Mark Arigo
fb224bd0f9 Philips SA9200: fix the buttons to work with flip screen mode (does anyone use this?). Change to conventional BUTTON_LEFT/BUTTON_RIGHT names and flip the remaining directional buttons.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21698 a1c6a512-1295-4272-9138-f99709370657
2009-07-07 03:26:57 +00:00
Mohamed Tarek
e184ef1027 Adding support for rm playback. Only cook codec is supported for now and no seeking.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21695 a1c6a512-1295-4272-9138-f99709370657
2009-07-06 22:40:45 +00:00
Alessio Lenzi
a306e90f21 Updated italian translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21686 a1c6a512-1295-4272-9138-f99709370657
2009-07-06 08:18:19 +00:00
Thomas Martitz
9e05a2f5b0 Fix returning too early (before cleanup) in RFAC, which led to not cancelling
boosting.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21682 a1c6a512-1295-4272-9138-f99709370657
2009-07-06 00:07:25 +00:00
Thomas Martitz
f4c31ae309 Adapt pictureflow and random_folder_advance_config to make use of the new goto-wps exit feature.
For pictureflow a menu item is added, but the key press that works in the filetree works also (unless it's already remapped),
rfa will go to the wps after selecting "Play Shuffled", as it needs to exit then anyway.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21681 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 22:15:04 +00:00
Thomas Martitz
df6f955a82 Add a possibility for plugins to go directly to the WPS after exiting.
It only works for plugins executed via the filebrowser for now. Those
executed from the context menu or a simplelist (such as "Open With...") need additional hacking.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21680 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 22:12:42 +00:00
Maurus Cuelenaere
3653aea4f8 Lua: use rb->screens[] to do painting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21676 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 19:34:57 +00:00
Jonathan Gordon
5931c2a82a fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21668 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 18:30:00 +00:00
Jonathan Gordon
f1034e00f6 FS#10406 - split the statusbar setting into one for each display, and allow the bar to be at the top or bottom of the display
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21665 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 18:07:58 +00:00
Maurus Cuelenaere
802743a061 Take 2 at 'Consolidate all fixed point math routines in one library' (FS#10400) by Jeffrey Goode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21664 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 18:06:07 +00:00
Maurus Cuelenaere
427bf0b893 Also make rocklib_aux.c depend on $(LUA_OBJ)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21663 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 17:59:45 +00:00
Maurus Cuelenaere
beb9066d9f Lua: implement gui_syncyesno_run
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21662 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 16:41:16 +00:00
Thomas Martitz
fd0d7c7438 Sansa Fuze: Correct some solitaire controls.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21661 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 16:13:20 +00:00
Maurus Cuelenaere
ce5e6cefb8 Fix sim_* errors when compiling Lua
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21660 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 15:52:08 +00:00
Maurus Cuelenaere
9db43dac62 Fix actions.lua & buttons.lua make errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21659 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 15:45:26 +00:00
Maurus Cuelenaere
a9fdd6001f Add a Rockbox header..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21658 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 15:39:17 +00:00
Maurus Cuelenaere
d755a5ac58 Lua: add script which wraps not-yet ported C functions to Lua
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21657 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 15:33:08 +00:00
Thomas Martitz
ff8f681f03 Do not delete tagcache entries on bootup with dircache enabled but auto-update disabled.
This fixes for example disappearing database if you happen to boot without µSD.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21644 a1c6a512-1295-4272-9138-f99709370657
2009-07-04 23:20:51 +00:00
Johannes Schwarz
cacb47e262 FS#10291: use lib highscore.h and add a new highscore table
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21643 a1c6a512-1295-4272-9138-f99709370657
2009-07-04 23:05:41 +00:00
Jonas Häggqvist
54929e8871 Crude logging for the sim in database creation/updating - to aid in debugging
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21638 a1c6a512-1295-4272-9138-f99709370657
2009-07-04 19:28:47 +00:00
Andrew Mahone
a967308799 Replace HAVE_SCROLLWHEEL in PictureFlow with USE_CORE_PREVNEXT, defined on targets where special horizontal-scroll mappings are broken or make no sense.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21636 a1c6a512-1295-4272-9138-f99709370657
2009-07-04 16:59:49 +00:00
Maurus Cuelenaere
c3bc8fda80 Revert "Consolidate all fixed point math routines in one library (FS#10400) by Jeffrey Goode"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21635 a1c6a512-1295-4272-9138-f99709370657
2009-07-04 13:17:58 +00:00
Maurus Cuelenaere
861b8d8606 Set svn:keywords property
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21634 a1c6a512-1295-4272-9138-f99709370657
2009-07-04 12:32:48 +00:00
Maurus Cuelenaere
4710a32800 Consolidate all fixed point math routines in one library (FS#10400) by Jeffrey Goode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21633 a1c6a512-1295-4272-9138-f99709370657
2009-07-04 12:26:45 +00:00
Maurus Cuelenaere
69c73e8bd6 Lua: always expose BUTTON_TOUCHSCREEN and remove BUTTON_ constants from rocklib.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21630 a1c6a512-1295-4272-9138-f99709370657
2009-07-03 23:03:07 +00:00
Peter D'Hoye
0d4560cb03 Accept FS #10244 by Wincent Balin: more pdbox work done for GSoC; also some keyword and line-ending fixes by me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21626 a1c6a512-1295-4272-9138-f99709370657
2009-07-03 22:16:11 +00:00
Thomas Martitz
9ecaa5562d Still failing at git-svn, but I won't give up! The previous commit
wasn't meant to be committed. I'll go read up on getting git svn 
commit-diff right :(


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21624 a1c6a512-1295-4272-9138-f99709370657
2009-07-03 20:42:42 +00:00
Thomas Martitz
53be2752d3 test test test
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21623 a1c6a512-1295-4272-9138-f99709370657
2009-07-03 20:36:15 +00:00
Andrew Mahone
10803a7480 JPEG IDCT8 ARMv6 assembly, slight speedup vs ARMv5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21620 a1c6a512-1295-4272-9138-f99709370657
2009-07-03 10:03:17 +00:00
Jonathan Gordon
0e445fcef6 Fix the bug where the short-long fwd/back action would ffwd/rewind the next folder (consult the manual if that makes no sense)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21619 a1c6a512-1295-4272-9138-f99709370657
2009-07-03 05:08:33 +00:00
Dave Hooper
c41f13f7d8 Initialise minesweeper main menu so that first item is selected on plugin start (previously was uninitialised, for me usually started off with second item selected)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21617 a1c6a512-1295-4272-9138-f99709370657
2009-07-02 23:29:59 +00:00
Dave Hooper
119252177c Commit patch in FS#7967 by Vuong Minh Hiep (with some small changes to variable names for consistency) - separately keep track of viewer-index and playlist-index of moving tracks, so that viewer correctly shows which track is moving when playlist is shuffled, and correctly moves the track you tell it to
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21616 a1c6a512-1295-4272-9138-f99709370657
2009-07-02 23:03:46 +00:00
Dave Hooper
4044499198 Fix playlist viewer behaviour when deleting tracks (one ret had missed being changed to ret_val). FIx playlist viewer behaviour when deleting the only remaining track in playlist (i.e. when audio stops, prevent resume playback also)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21615 a1c6a512-1295-4272-9138-f99709370657
2009-07-02 22:45:00 +00:00
Johannes Schwarz
bff790d692 reduce size of the instance of struct style_text in lib/display.h (thanks to Teruaki Kawashima)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21614 a1c6a512-1295-4272-9138-f99709370657
2009-07-02 17:02:47 +00:00
Andrew Mahone
017c1a1027 Core JPEG IDCT8 optimizations for ARMv5+, small optimizations for ARMv4.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21612 a1c6a512-1295-4272-9138-f99709370657
2009-07-02 09:57:03 +00:00
Rafaël Carré
c0eb9aeb9e add firmware/driver/sd.c which contains common code between SD drivers
ingenic SD driver needs more cleanup so it still doesn't use the common code
correct a comment in hotswap.c: card_extract_bits assume most significant word of register first (so, use this order)
fix debug menu which used MMC specific commands / bits positions in csd/cid
move the default block size of 512 into sd.h
move the mantissa & exponent table into a single file (sd.c) to reduce binsize. we don't need to export it anymore anyway

TODO : ingenic cleanup (will happen soon so building sd.c is not conditional)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21601 a1c6a512-1295-4272-9138-f99709370657
2009-07-01 21:49:13 +00:00
Rafaël Carré
93f6e3df24 card_extract_bits() take the start bit argument as defined in public SanDisk specifications for SD and MMC, i.e. bit 0 is the lsb
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21600 a1c6a512-1295-4272-9138-f99709370657
2009-07-01 19:13:01 +00:00
Frank Gevaerts
7ab33f165c clarify error message a bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21599 a1c6a512-1295-4272-9138-f99709370657
2009-07-01 18:49:51 +00:00
Frank Gevaerts
168dc90aa8 Remove the static order[] allocation in favour of plugin_get_buffer()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21598 a1c6a512-1295-4272-9138-f99709370657
2009-07-01 18:42:51 +00:00
Frank Gevaerts
9b99d7c005 Assume a smaller plugin binsize, so MAX_SHUFFLE_SIZE actually fits on archos
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21597 a1c6a512-1295-4272-9138-f99709370657
2009-07-01 17:16:19 +00:00
Maurus Cuelenaere
9bff845b49 Lua: because Rockbox doesn't support any current working directory functionality, 'hack' loadlib so it replace '$' in LUA_PATH_DEFAULT with the directory wherein the current script is.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21595 a1c6a512-1295-4272-9138-f99709370657
2009-07-01 17:01:22 +00:00
Frank Gevaerts
d5180f7870 Add "Play Shuffled" menu item to random_folder_advance_config, which adds all configured configured directories to the current playlist in random order.
(FS#10403)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21594 a1c6a512-1295-4272-9138-f99709370657
2009-07-01 16:59:43 +00:00
Alexander Levin
7398c2d20d Provide a context sensitive default file name when saving settings (FS#10399)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21589 a1c6a512-1295-4272-9138-f99709370657
2009-07-01 11:21:59 +00:00
Rafaël Carré
e0e24cbf0a Merge tCardInfo struct (MMC) and tSDCardInfo struct (SD)
Put specific members under #ifdef (CONFIG_STORAGE & STORAGE_xx) (2 members for SD and 1 for MMC)
Fix a typo: tsac doesn't exist and must be read taac
Move card_get_info functions declaration inside hotswap.h to remove mutual inclusion of ata_mmc.h and hotswap.h
Move static const data structures from SD drivers into sd.h (sd_exponent and sd_mantissa)
Fix sd_command prototypes in SD drivers (card registers are unsigned long)
Fix speed calculation in Sansa AMS driver (PP SD driver needs to be checked)
Move ata-sd-target.h to sd-pp-target.h to reflect the PP specifity. Now it only contains declaration of microsd_int()
Remove unused ata-sd-target.h for injenic

TODO:
- check if CSD register bits are extracted correctly in PP driver
- correctly define read_timeout and write_timeout unit for MMC & SD, and use timeouts in Sansa AMS driver

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21586 a1c6a512-1295-4272-9138-f99709370657
2009-07-01 10:07:22 +00:00
Michael Giacomelli
bd70193e98 Commit rest of fix in FS#9866. Don't parse Vorbis comments again in libtremor. It wastes memory and we already have the comments in memory. Looking at the spec and code, I think this fix is proper, but if it breaks any files this may need to be revisited.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21581 a1c6a512-1295-4272-9138-f99709370657
2009-06-30 22:37:05 +00:00
Magnus Holmgren
a538b89060 Second attempt at fixing FS#10396. Turns out that gcc for coldfire choose to inline a function with a big appetite for stack. The previous fix improved things a bit, but not nearly enough.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21580 a1c6a512-1295-4272-9138-f99709370657
2009-06-30 21:32:38 +00:00
Rafaël Carré
02bbf55d9d fs#10290: Sansa AMS language fixes by Bertrik Sikken and Hilton Shumway
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21579 a1c6a512-1295-4272-9138-f99709370657
2009-06-30 21:15:19 +00:00
Alexander Levin
6a5245ae08 Improve the highscore related functions in plugin lib (FS#10350)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21578 a1c6a512-1295-4272-9138-f99709370657
2009-06-30 20:00:46 +00:00
Magnus Holmgren
8c22a60290 Small change to significantly reduce stack usage during database scanning. This should fix FS#10396.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21576 a1c6a512-1295-4272-9138-f99709370657
2009-06-30 17:39:03 +00:00
Maurus Cuelenaere
bc4d223b6c Correct comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21574 a1c6a512-1295-4272-9138-f99709370657
2009-06-30 09:35:36 +00:00
Maurus Cuelenaere
f3efc26445 Lua: also expose BUTTON_REL, BUTTON_REPEAT & BUTTON_TOUCHSCREEN
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21573 a1c6a512-1295-4272-9138-f99709370657
2009-06-30 09:34:41 +00:00
Thomas Martitz
16e339d087 Bugfix for FS#10157 - "inaccurate seeking while paused" by Jeffrey Goode.
The pcmbuffer wasn't reset after subsequent seeks (i.e. all but the first one) when seeking while paused. This caused the buffer to be filled only once and so the wrong sound was played upon resuming. Now we make sure the pcmbuffer is always reset when not playing (a more detailed explaination is in the task).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21570 a1c6a512-1295-4272-9138-f99709370657
2009-06-29 19:24:48 +00:00
Thomas Martitz
8c5c92dc2c FS#10377 - "PCM buffer remainder is played under too many conditions" by Jeffrey Goode.
Prevents playing the remainder of the pcmbuf on manual stop, as it isn't needed in this case. Now the remainder is only played when the music automatically plays out.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21569 a1c6a512-1295-4272-9138-f99709370657
2009-06-29 19:13:50 +00:00
Rafaël Carré
89ccd5c145 Remove int_prio argument from timer_register, and move the only use for it into alpine_cdc plugin, since this plugin is only built on SH7034
Also remove it from TIMER_START()

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21558 a1c6a512-1295-4272-9138-f99709370657
2009-06-29 14:29:46 +00:00
Alexander Levin
2c10af5d30 Do not modify the passed in parameter string (FS#10392 by Jonas Häggqvist)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21551 a1c6a512-1295-4272-9138-f99709370657
2009-06-29 14:25:42 +00:00
Maurus Cuelenaere
2b92fe2332 Lua: remove BUTTON_TOUCHSCREEN as this constant is available in buttons.lua
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21544 a1c6a512-1295-4272-9138-f99709370657
2009-06-28 15:51:32 +00:00
Maurus Cuelenaere
e7db6f962a Fix typo & red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21543 a1c6a512-1295-4272-9138-f99709370657
2009-06-28 15:04:49 +00:00
Maurus Cuelenaere
681ca21a1e Lua:
* add IO lib (adapted to Rockbox)
 * remove old IO wrappers
 * rework helloworld.lua to work with the IO lib
 * do some stuff in helloworld.lua better (part of FS#10379, by James Callahan)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21541 a1c6a512-1295-4272-9138-f99709370657
2009-06-28 14:55:16 +00:00
Johannes Schwarz
8a21372e5b FS#10099: new lib, which displays formatted text on every target; also supports viewport
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21537 a1c6a512-1295-4272-9138-f99709370657
2009-06-28 09:48:12 +00:00
Magnus Holmgren
41baca7de6 Trivial changes to Mazezam to fix the red on 3G iPods.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21536 a1c6a512-1295-4272-9138-f99709370657
2009-06-28 09:36:08 +00:00
Andrew Mahone
815dcfdd35 Use hand-written constants table on ARMv5+ for JPEG IDCT, and load four 16-bit constants at a time with ldrd. Not useful for ARMv4, since one load per constant would still be needed, and limited range of ldrsh would force multiple copies of table.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21535 a1c6a512-1295-4272-9138-f99709370657
2009-06-28 02:32:43 +00:00
Johannes Schwarz
959d07df5c FS#10294: reform the weird buttons in maze and mazezam for Fuze, E200 and ipod3G
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21529 a1c6a512-1295-4272-9138-f99709370657
2009-06-27 11:14:47 +00:00
Andrew Mahone
89eb14ea56 Use single-instruction shift-and-saturate in place of range_limit for JPEG on ARMv6. Only affects the 16-point horizontal-pass IDCT.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21528 a1c6a512-1295-4272-9138-f99709370657
2009-06-27 10:01:24 +00:00