Commit graph

21530 commits

Author SHA1 Message Date
Mustapha Senhaji
351d47ce50 Update the french translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22292 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 16:40:03 +00:00
Thomas Martitz
279ef752cb Make quickscreen items enum name lower-case, as per docs/CONTRIBUTING.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22291 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 14:39:31 +00:00
Thomas Martitz
20b9bc5c0a Make gui_syncquickscreen_run() static as it's not used anywhere.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22290 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 14:27:06 +00:00
Andrew Mahone
e04f95eab9 LCD bitmap driver code consolidation from FS#4817:
Move text-drawing code into firmware-drivers/lcd-bitmap-common.c, included by the various driver files.
Add new static function LCDFN(putsxyofs_style) to draw styled text, and use it in both LCDFN(puts_style_offset) and LCDFN(scroll_fn).
Merge lcd_gradient_rect functions, with new function containing simplified code for drawing one line of a multi-line gradient.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22289 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 08:02:29 +00:00
Karl Kurbjun
ce00e283b5 M:Robe 500: Forgot one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22288 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 04:21:36 +00:00
Karl Kurbjun
5ca8bf022c M:Robe 500: Put more interrupts in iram, reduce stack usage when ARM/DSP transfers happen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22287 a1c6a512-1295-4272-9138-f99709370657
2009-08-13 04:20:46 +00:00
Frank Gevaerts
f026a0fed7 fix typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22286 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 20:57:38 +00:00
Frank Gevaerts
f10a3c7bed Limit usb_serial packets to 32 bytes. It's unclear why this is needed, but usb serial packets larger than 96 bytes seem to never be sent.
Thanks to Amaury Pouly for investigating this


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22285 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 20:35:01 +00:00
Rob Purchase
e783d0c82a TCC: Implement ECC error correction for sectors read from NAND. Tested on D2 (78x, MLC) and M200 (77x, SLC).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22284 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 19:26:04 +00:00
Rob Purchase
4c5ae4b068 D2: Re-enable SD(HC) driver as there have been no further reports of damaged cards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22283 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 19:14:46 +00:00
Jeffrey Goode
e3f36a1f47 FS#10446: Bug defense in dsp.c, minor tweaks and comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22282 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 19:00:31 +00:00
Jeffrey Goode
24bd4923fd FS#10512: Bookmarking does not behave correctly (fixes r22192)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22281 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 18:42:13 +00:00
Jeffrey Goode
d5592a6710 FS#10504: Make mpegplayer audio thread use correct sample count
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22280 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 18:28:30 +00:00
Jeffrey Goode
0dc2fb5760 Adds DSP testing and WAV writing to test_codec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22279 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 18:12:25 +00:00
Rafaël Carré
27934e26b7 Fix a wrong memcpy in logf() introduced in r22253
Flyspray: FS#10515
Author: Amaury Pouly

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22276 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 16:10:04 +00:00
Jeffrey Goode
5c29277d97 New committer!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22275 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 16:04:49 +00:00
Thomas Martitz
7b6e166c77 Protect viewport.h against multiple inclusion.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22274 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 15:34:41 +00:00
Thomas Martitz
98f1aa6025 Fix mistake at checking the return in rockboy. Thanks Al Le for spotting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22273 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 15:00:16 +00:00
Thomas Martitz
50d09bd84c Fix yellows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22271 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 14:51:16 +00:00
Thomas Martitz
3290f1f025 Both of this isn't needed anymore as it's done at the end of the function.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22270 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 14:51:12 +00:00
Thomas Martitz
18e40e0f4c Make kbd_input() show a cancel splash to indicate user abort better and for better consistency all over the place. Change checking for its return value (style-wise) at some places too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22269 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 14:38:25 +00:00
Alexander Levin
345920fe7e Remove dead code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22268 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 13:49:29 +00:00
Alexander Levin
d353a7fd4e Change the function name in strnatsort so that the code doesn't contradict itself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22267 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 13:44:50 +00:00
Alexander Levin
3bfc0e7a7e Remove unneeded symbols and improve the comment to the VP parsing function
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22266 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 13:37:07 +00:00
Thomas Martitz
e4bdc08d0c Fix FS#10505 - "Background changes to inverted when cleared" as well as a problem that lets the viewport parser reject correct WPSes, both introduced by r22222
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22264 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 13:04:12 +00:00
Karl Kurbjun
4b7a2ba276 M:Robe 500: Put the irq stack and fiq stack in iram. Reduce memory for fiq stack since it is currently unused.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22263 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 02:34:07 +00:00
Karl Kurbjun
771b35b7be M:Robe 500: Make endpoint requests more flexible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22262 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 02:29:07 +00:00
Frank Gevaerts
cc4be72d15 Fix endpoint allocation
Flyspray: FS#10510
Author: Amaury Pouly



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22261 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 21:01:00 +00:00
Dominik Riebeling
e9d81ba089 Fix Rockbox Utility build on W32.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22260 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 20:40:02 +00:00
Frank Gevaerts
ceccec503e Move yearday_to_daymonth() to usb_storage.c. It's the only user, this function is pretty specific, and it seems to be the cleanest way to avoid ram usage increases for unrelated targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22259 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 20:03:59 +00:00
Frank Gevaerts
2dc50471ca Consolidate day of week calculation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22258 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 19:30:19 +00:00
Frank Gevaerts
eadfa483d1 rework new time handling functions a bit to be more memory efficient
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22257 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 18:54:13 +00:00
Frank Gevaerts
61cf783371 Fix "statement with no effect" warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22256 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 18:07:14 +00:00
Frank Gevaerts
ed73a3274c Add support for setting the clock using a special SCSI command. This is the same method that itunes uses, and there are host-side tools for it (e.g. libgpod)
Flyspray: FS#10514
Author: Laurent Papier and myself



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22255 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 17:54:47 +00:00
Dominik Riebeling
6cea3308d0 Clean up accessing system setting values for a specific player.
Remove the ugly "save, change and restore platform" accesses and extend the settings class to allow accessing player specific system values.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22254 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 17:02:35 +00:00
Rafaël Carré
9a5174c8a3 Fix logf() multilines handling
Each line (of MAX_LOGF_ENTRY characters) would be marked with
LOGF_TERMINATE_CONTINUE_LINE, but still be padded with a '\0'

This also reverts r22250 which worked around the problem in logfdump()

Flyspray: FS#10513
Author: Amaury Pouly

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22253 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 16:12:03 +00:00
Rafaël Carré
e74ba2b63d Add Amaury Pouly to the credits
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22252 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 13:20:59 +00:00
Rafaël Carré
be6dd6dd0a Sansa AMS: identify interrupts with no source set
They would previously appear like coming from the (disabled) watchdog
module

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22251 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 13:20:55 +00:00
Rafaël Carré
0773ece459 Fix logfdump multilines handling
Flyspray: FS#10509
Author: amaury pouly

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22250 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 12:22:03 +00:00
Michael Giacomelli
88906e3d98 Fix defines from the last commit that made replaygain depend on crossfade. Thanks to Thomas Martitz for pointing that out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22249 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 02:18:22 +00:00
Michael Giacomelli
6469926b88 FS#10506. Don't compile various crossfade only functions in pcmbuf.c on low memory targets (mainly AMS) to save memory. Some crossfade related items remain in the code, but they're not worth cluttering the code with ifdefs over. Also, introduce HAVE_CROSSFADE define for neatness.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22248 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 02:05:38 +00:00
Michael Giacomelli
47a090105a Disable crossfade menu option (but nothing more) on lowmem (<=2MB) targets because it apparently needs a larger PCM buffer then is available.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22247 a1c6a512-1295-4272-9138-f99709370657
2009-08-11 01:09:05 +00:00
Thomas Martitz
4210ff584a Remove the comment also, Thanks to Rafaël Carré for spotting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22245 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 22:01:35 +00:00
Thomas Martitz
653db606cf Fix FS#10486 - "fuze screen not drawn correctly on backlight turn-on if playlist ends while the backlight is off" by adding a lcd_update() to lcd_enable() as other targets do. Remove the delay as it seems unneeded nowadays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22244 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 21:38:10 +00:00
Thomas Martitz
553f95806f Fix yellows (the reds on mono are caused by this, again, stupid typo).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22243 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 20:36:34 +00:00
Thomas Martitz
7dc1e220d2 panicf: Clear backdrop and print with black font on white background to prevent possible difficulties with reading it (especially on cabbiev2). Also start printing in the second row and column.
This fixes the second part of FS#10503 - "Menu and WPS backdrop not cleared when shutting down or during panic" (the first part is not a bug imo),

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22242 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 20:27:03 +00:00
Mohamed Tarek
e63f1ecb97 Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22239 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 19:53:10 +00:00
Dominik Riebeling
e2f5086916 Clean up and rename Detect class.
Move check() function out of the Detect class and place it into utils.cpp for now. Rename Detect class to System, as it now only retrieves data about the underlying system and doesn't detect anything anymore. Cleans up with the confusion between Detect and Autodetection.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22238 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 19:46:51 +00:00
Dominik Riebeling
84ced00bbd Simplify and cleanup rockbox-info.txt handling.
Simplify RockboxInfo file handling. Remove Detect::installedVersion() and Detect::installedTarget(), as those became wrappers around RockboxInfo without functionality.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22237 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 19:20:53 +00:00
Dominik Riebeling
ad7dab615f Add missing multiple inclusion protection.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22236 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 18:08:06 +00:00