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
Andrew Mahone
3152bfc39a
ARM assembly 8-point IDCT, both passes. No ARMv5/6 optimizations yet, aside from usat for final output.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21526 a1c6a512-1295-4272-9138-f99709370657
2009-06-27 09:21:22 +00:00
Johannes Schwarz
73d25744fb
FS#10283 simplify plugins' menus by using stringlist with callback (by Teruaki Kawashima - some minor changes by myself)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21523 a1c6a512-1295-4272-9138-f99709370657
2009-06-26 17:59:33 +00:00
Johannes Schwarz
c2565c9bcf
fix small issues in xobox (part of FS#10283 by Teruaki Kawashima)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21522 a1c6a512-1295-4272-9138-f99709370657
2009-06-26 17:14:48 +00:00
Rob Purchase
e2b018e7fe
Fix a typo in jpeg_idct4h which caused garbled JPEGs on ARMv5.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21520 a1c6a512-1295-4272-9138-f99709370657
2009-06-26 07:12:21 +00:00
Maurus Cuelenaere
3ff84e5e4f
Lua: add the package library
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21506 a1c6a512-1295-4272-9138-f99709370657
2009-06-25 13:26:05 +00:00
Maurus Cuelenaere
af980d8bcb
Lua: expose BUTTON_* defines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21500 a1c6a512-1295-4272-9138-f99709370657
2009-06-24 21:46:17 +00:00
Alexander Levin
7a8e1e8fc0
Clear the display before showing the splash (part of FS#10138 by Teruaki Kawashima)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21498 a1c6a512-1295-4272-9138-f99709370657
2009-06-24 21:19:16 +00:00
Alexander Levin
1f64522a43
Delete the save file immediately after loading it to avoid false tries at the end (part of FS#10138 by Teruaki Kawashima, minor modification by me)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21497 a1c6a512-1295-4272-9138-f99709370657
2009-06-24 21:14:28 +00:00
Alexander Levin
119cfdaa0a
Do not unnecessarily change and restore the status bar setting (part of FS#10138 by Teruaki Kawashima)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21493 a1c6a512-1295-4272-9138-f99709370657
2009-06-24 20:17:17 +00:00
Alexander Levin
763a7d7457
Ensure that the file handle is always closed in text editor plugin (part of FS#10138 by Teruaki Kawashima, minor modifications by me)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21491 a1c6a512-1295-4272-9138-f99709370657
2009-06-24 15:18:32 +00:00
Jonas Häggqvist
095f417048
Change c200 to c200* everywhere since the c200v2 is identical to the c200.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21490 a1c6a512-1295-4272-9138-f99709370657
2009-06-24 14:55:50 +00:00
Alexander Levin
8b5d32f556
Correct the slight misalignment of the clock (FS#10334 by Andre Lupa)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21489 a1c6a512-1295-4272-9138-f99709370657
2009-06-24 13:07:46 +00:00
Maurus Cuelenaere
388e31cb96
Fix FS#10378: Lua crashes when loading non-existing files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21488 a1c6a512-1295-4272-9138-f99709370657
2009-06-24 10:39:07 +00:00
Alessio Lenzi
3127150636
Updated italian translation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21487 a1c6a512-1295-4272-9138-f99709370657
2009-06-24 09:18:08 +00:00
Rafaël Carré
1910d026b1
fix a typo in comments (audio CD duration is not 74 or 80 hours)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21479 a1c6a512-1295-4272-9138-f99709370657
2009-06-23 21:22:06 +00:00
Steve Bavin
f96f623090
Oops.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21470 a1c6a512-1295-4272-9138-f99709370657
2009-06-22 19:51:02 +00:00
Steve Bavin
40d9b218e5
Allow use of timestretch with semitones in the pitchscreen. Rename variables to clarify the meaning of 'speed'.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21468 a1c6a512-1295-4272-9138-f99709370657
2009-06-22 18:52:14 +00:00
Thomas Martitz
659425f23e
Redo r21460 and r21462 so that it doesn't introduce a new #define. Patch by Jeffrey Goode, taken from FS#10366.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21467 a1c6a512-1295-4272-9138-f99709370657
2009-06-22 18:40:49 +00:00
Jonas Häggqvist
4b831753e7
Center the list on the currently loaded file in the following screens (FS#10093):
...
- Font selection
- FM preset selection
- WPS/RWPS selection
- Language selection
Modify the menu wording to make them seem more like a setting and update the manual accordingly.
The code could possibly be more compact - any help on that would be appreciated.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21464 a1c6a512-1295-4272-9138-f99709370657
2009-06-22 17:37:36 +00:00
Thomas Martitz
ee1d8d1676
FS#10365 - Optional debug output for albumart.c
...
Same as r21460 just for albumart.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21462 a1c6a512-1295-4272-9138-f99709370657
2009-06-21 22:00:11 +00:00
Thomas Martitz
78914f3833
FS#10364 - Optional debug output for vorbis.c by Jeffrey Goode.
...
Gets rid of the (recently added) annyoing vorbis debug statements. Comment out "#define LOGF_ENABLE" in vorbis.c to restore them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21460 a1c6a512-1295-4272-9138-f99709370657
2009-06-21 21:59:16 +00:00
Jens Arnold
ed83831f3b
Change the X5/M5 remote keymapping to match the M3 way, improving consistency with the button labels. The most important change is that VOL+/VOL- are moving up/down in lists, NEXT enters submenus or selects, PREV exists or cancels. There are a few more slight differences. * Fix M3 remote button mapping in the vkeyboard: moving up/down was switched and select/accept didn't work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21454 a1c6a512-1295-4272-9138-f99709370657
2009-06-21 14:32:20 +00:00
Rafaël Carré
a98c54f5f1
Do not use lcd_blit_yuv() if MEMORYSIZE <= 2, since mpegplayer won't run anyway (and won't build)
...
Only affected target: Sansa c200v2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21453 a1c6a512-1295-4272-9138-f99709370657
2009-06-21 14:09:48 +00:00
Jonas Häggqvist
3236c626f4
Deprecate LANG_REPLAYGAIN_ENABLE in all languages, which r21415 failed to do.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21437 a1c6a512-1295-4272-9138-f99709370657
2009-06-21 00:04:35 +00:00
Johannes Schwarz
d48592596f
Remove viewport menu from star and remove useless button macros in code.(FS#10281)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21422 a1c6a512-1295-4272-9138-f99709370657
2009-06-20 21:51:18 +00:00
Alexander Levin
13b8e805c3
Deprecate the string made unnecessary in r21414
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21415 a1c6a512-1295-4272-9138-f99709370657
2009-06-20 21:28:39 +00:00
Alexander Levin
8589fcb3e3
Merge the "Replaygain Off" option into the replaygain type; eliminate the "On/Off" setting (FS#10356). All WPS tags should work as before.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21414 a1c6a512-1295-4272-9138-f99709370657
2009-06-20 21:13:24 +00:00
Jens Arnold
96904ba7c3
Plugin for testing LCD driver and greylib drawing performance.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21405 a1c6a512-1295-4272-9138-f99709370657
2009-06-20 18:12:34 +00:00
Jonas Häggqvist
cfd2f2c074
More translations for arabic by Raafat Akkad (FS#10355).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21404 a1c6a512-1295-4272-9138-f99709370657
2009-06-20 17:31:05 +00:00
Miika Pekkarinen
e4cb136ab1
Keep simulators happy.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21403 a1c6a512-1295-4272-9138-f99709370657
2009-06-20 16:48:56 +00:00