Commit graph

16955 commits

Author SHA1 Message Date
Mustapha Senhaji
67ef381ae2 Update the french translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17110 a1c6a512-1295-4272-9138-f99709370657
2008-04-14 16:51:09 +00:00
Nicolas Pennequin
4e2de44b44 A rather big change to how tracks are loaded: there are now two parts to the process and metadata loading is done by the buffering thread (except for the first unbuffered track). The audio thread now calls audio_load_track, and once the metadata is loaded, the buffering thread sends an event which will make the audio thread call audio_finish_load_track. This one then takes care of the rest of the loading.
This method makes skipping noticeably faster for unbuffered tracks, and especially backwards.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17109 a1c6a512-1295-4272-9138-f99709370657
2008-04-14 16:17:47 +00:00
Nicolas Pennequin
a5ad74ffca Revert what was left of r17018 until I find a better way. It had quirks in some cases, and doesn't play well with what I'm about to commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17108 a1c6a512-1295-4272-9138-f99709370657
2008-04-14 15:51:40 +00:00
Nicolas Pennequin
3c9625969b FS#8882: Fix the bug where skipping backwards with Ogg files could result in a skip forward (FS#8508). The problem was introduced by a one-line change in r16025, so we revert it. At the time I thought that line had become useless but obviously I was wrong. Thanks to Greg Erwin for finding the fix.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17107 a1c6a512-1295-4272-9138-f99709370657
2008-04-14 10:52:16 +00:00
Jonathan Gordon
dada3242d5 Dont show the playlist catalog item in the file context menu unless the file is audio or a m3u(8).
Mentinoed in FS#8752


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17106 a1c6a512-1295-4272-9138-f99709370657
2008-04-14 10:03:46 +00:00
Michael Sevakis
0257547d58 Gigabeat S: Make ADC battery voltage reading correct. Tiny tweak to ADC driver traffic limiting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17105 a1c6a512-1295-4272-9138-f99709370657
2008-04-14 06:52:38 +00:00
Michael Sevakis
25ebc85842 Oops...simple math proves elusive at times. Get the array calcs right.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17104 a1c6a512-1295-4272-9138-f99709370657
2008-04-14 04:22:47 +00:00
Michael Giacomelli
861525852c Increase the size of one of the look up tables. Fixes 'burst of static' in some files. I still have no idea how big it really needs to be...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17103 a1c6a512-1295-4272-9138-f99709370657
2008-04-14 01:12:51 +00:00
Stéphane Doyon
be4f41f0b7 My own name was in CREDITS twice, one of them a misspelling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17102 a1c6a512-1295-4272-9138-f99709370657
2008-04-14 00:25:43 +00:00
Bertrik Sikken
c826933984 Fixed "#else if", changed to "#elif"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17101 a1c6a512-1295-4272-9138-f99709370657
2008-04-13 22:10:31 +00:00
Michael Sevakis
b12c69bac7 ADC driver for Gigabeat S - a bit on the general side for now. Needs to have scales set properly (what physical value a reading represents isn't clear from the docs or I'm just lazy atm). Throw-in a _bunch_ more reg defines for the PMIC. Show all 16 raw channels values in debug menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17100 a1c6a512-1295-4272-9138-f99709370657
2008-04-13 20:03:08 +00:00
Dominik Riebeling
73d1eb4ac0 Make httpget class work with URI paths containing characters that need to be percent-encoded. Fixes FS#8872. Add a few comments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17099 a1c6a512-1295-4272-9138-f99709370657
2008-04-13 18:43:51 +00:00
Frank Gevaerts
be77cf5279 only reconnect mass storage if there is actually an active usb connection, with mass storage enabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17098 a1c6a512-1295-4272-9138-f99709370657
2008-04-13 17:16:50 +00:00
Andree Buschmann
b90a766d01 ASM optimization for fiq_playback(). Saves about 0.4MHz of CPU while playback on PP502x/PP5002.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17097 a1c6a512-1295-4272-9138-f99709370657
2008-04-13 17:03:24 +00:00
Jens Arnold
2bf4178018 Make mpegplayer sleep the disk after buffering to save battery. * Add a simulator stub for ata_sleep(), and un-ifdef most calls to it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17096 a1c6a512-1295-4272-9138-f99709370657
2008-04-13 12:24:47 +00:00
Andree Buschmann
4c5a735a02 Further power saving for iPod Video (FS#8603). Do not enable D2REGC1 voltage for 5G/5.5G -- no changes for other iPods. Savings on a 5G/5.5G are about 1.5mA.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17095 a1c6a512-1295-4272-9138-f99709370657
2008-04-13 12:24:41 +00:00
Jens Arnold
c773eed3e1 The greylib now takes care of the necessary aligment and uncached addressing itself, so simplify the code a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17094 a1c6a512-1295-4272-9138-f99709370657
2008-04-13 11:57:11 +00:00
Nils Wallménius
8c5d552ebd Charger detection for Gigabeat S
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17093 a1c6a512-1295-4272-9138-f99709370657
2008-04-13 10:04:21 +00:00
Magnus Holmgren
d715f79ed6 Remove redundant init call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17092 a1c6a512-1295-4272-9138-f99709370657
2008-04-13 10:00:42 +00:00
Jens Arnold
d055ffe715 Refine information and macros for clock skipping. Not functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17091 a1c6a512-1295-4272-9138-f99709370657
2008-04-12 23:55:30 +00:00
Michael Giacomelli
9a946f6022 Commit FS#8822 by Magnus Holmgren. Fixes resuming previously playing WMA files after a reboot.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17090 a1c6a512-1295-4272-9138-f99709370657
2008-04-12 19:52:31 +00:00
Rob Purchase
8f464068af Fix cut'n'pasterelated yellows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17089 a1c6a512-1295-4272-9138-f99709370657
2008-04-12 18:34:35 +00:00
Rob Purchase
b14c2de523 D2: Charging detection, plus basic PCF50606 interrupt handler.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17088 a1c6a512-1295-4272-9138-f99709370657
2008-04-12 18:17:15 +00:00
Nils Wallménius
660dbac5c9 Make a couple of private functions static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17087 a1c6a512-1295-4272-9138-f99709370657
2008-04-12 17:08:35 +00:00
Michael Sevakis
a7af9e4a7f Add GPIO manager. Get the PMIC interrupt handling working (along with power button and HP detect). Add some reg field defined instead of using raw numbers. Add PMIC info to debug ports screen. Refine PMIC driver ops a little bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17086 a1c6a512-1295-4272-9138-f99709370657
2008-04-12 16:56:45 +00:00
Rob Purchase
ddfd787c54 D2: Implement battery voltage readout from PCF50606 (levels not yet calibrated). Adjust I2C delay to ensure this also works when boosted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17085 a1c6a512-1295-4272-9138-f99709370657
2008-04-12 16:18:28 +00:00
Nils Wallménius
84dc8d2c7e Move a function to gwps-common.c because it belongs there
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17084 a1c6a512-1295-4272-9138-f99709370657
2008-04-12 13:25:16 +00:00
Jens Arnold
fef82552e1 Optimise some more line drawing calls.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17083 a1c6a512-1295-4272-9138-f99709370657
2008-04-12 09:51:16 +00:00
Jens Arnold
b6213bbf98 Optimise line drawing calls.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17082 a1c6a512-1295-4272-9138-f99709370657
2008-04-12 08:57:28 +00:00
Jens Arnold
00ac809cc7 LCD drivers: * Automatically optimise horizontal and vertical lines drawn via _drawline(), with debug message to show possible optimisations in the caller. * Get rid of the extra ICODE function declarations by putting the attribute into the definition.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17081 a1c6a512-1295-4272-9138-f99709370657
2008-04-12 07:53:33 +00:00
Nils Wallménius
02eb1d83a7 FS#8871 by Tomasz Wasilczyk, avoid negative runtime estimation (that would later be cast to an unsigned giving huge values
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17080 a1c6a512-1295-4272-9138-f99709370657
2008-04-12 07:14:13 +00:00
Michael Sevakis
ef97db1011 Big oops. Fix enum spi_module_number to set right enum values. :p.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17079 a1c6a512-1295-4272-9138-f99709370657
2008-04-12 05:11:50 +00:00
Rob Purchase
b70239e15b D2: Remove USB detection as it's not actually on GPIOC26 (that's a charging indicator). Remove those warnings as I'm well aware USB isn't implemented.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17078 a1c6a512-1295-4272-9138-f99709370657
2008-04-11 21:23:51 +00:00
Daniel Stenberg
7387a0470e sync with key list with mi4code and add the single mi4 key it had but this
still didn't


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17077 a1c6a512-1295-4272-9138-f99709370657
2008-04-11 21:11:55 +00:00
Marianne Arnold
2841b8dc41 A tiny bit of cleanup afterwards... save a few bytes by storing the 'Rockboxed' greyscale bitmaps as 4-bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17076 a1c6a512-1295-4272-9138-f99709370657
2008-04-11 21:08:56 +00:00
Marianne Arnold
606d7af4a5 Finish bitmap strips work - convert the rest of the 'Rockboxed' WPS (bigger colour displays). Similar changes as in the previous Rockboxed commits: integrate statically loaded bitmaps into the background and delete the now unused bitmaps, remove the unnecessary coordinates in the backdrop tag, add missing codec names, volume and battery icons now with one graphic (part of a strip) per status which simplifies the code, rename sl-* to shuffle-* and hd-* to lock*- bmps. Correct mime-type for all image files. * Don't forget to clean up the 'Rockboxed' directory...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17075 a1c6a512-1295-4272-9138-f99709370657
2008-04-11 20:24:48 +00:00
Marianne Arnold
eb020fabae 'Rockboxed' theme: while working on the bitmap strips for the bigger colour displays I noticed that they had an image for 'unknown' or broken battery state. Even though it's probably seldom displayed at all, I thought other ports could have it too. Only the small colour ones for now because I had no idea how to 'translate' this style into a mono or greyscale icon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17074 a1c6a512-1295-4272-9138-f99709370657
2008-04-11 18:46:07 +00:00
Marianne Arnold
6e32c6e56c In preparation of the last part of the 'Rockboxed' overhaul - get rid of orphaned files that only clutter the SVN directory. These graphics weren't used anywhere anymore hence not included in the builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17073 a1c6a512-1295-4272-9138-f99709370657
2008-04-11 18:26:57 +00:00
Michael Sevakis
57742e0ef7 Add a "View I/O Ports" screen for imx31. Show all GPIO contents.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17072 a1c6a512-1295-4272-9138-f99709370657
2008-04-11 15:49:48 +00:00
Michael Sevakis
97e61198a5 iPod Video 30Gig doesn't seem to need the ata locking hack so we'll just attempt to remove it for this one. Works for me on 5.5g.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17071 a1c6a512-1295-4272-9138-f99709370657
2008-04-11 10:39:24 +00:00
Michael Sevakis
0b1d7e76d7 Serial driver for imx31. Perhaps not 100% but maybe 80-90% (future developments will tell). Factor-out the mc13783 stuff and make that driver a layer above the SPI. TODO: start processing PMIC interrupts. Start a clkctl API for imx31 (we'll see if this sticks around but it seems reasonable here). Misc. stuff for convenience/neatness.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17070 a1c6a512-1295-4272-9138-f99709370657
2008-04-11 08:51:27 +00:00
Mark Arigo
f46a7533a4 mi4 key for the Philips GoGear SA9200 (PP5024). Let the fun begin...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17069 a1c6a512-1295-4272-9138-f99709370657
2008-04-11 03:57:16 +00:00
Robert Kukla
7147e4791e FS#8861 - More Rockbox friendly MazezaM (by Malcolm Tyrrell)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17068 a1c6a512-1295-4272-9138-f99709370657
2008-04-10 23:28:19 +00:00
Marianne Arnold
9074a282a5 Next chapter of 'Bitmap strips for Rockboxed': the greyscale versions and the ports which use 'small colour' icons (c200 and small H10). To get rid of some more bitmaps I put statically loaded bitmaps into the already existing backdrop, but one of these files can't be deleted yet because it's used in other colour version (will be done once this is ready). Also remove the unnecessary coordinates in the backdrop tag and add the missing codecs in the codec conditional. The volume and battery icons are now made of one graphic (part of a strip) for each step of the conditional, the combining of small images made a really confusing wps code and isn't helpfull anymore (I think it was done to reduce the amount of files in the svn directory...). Also rename the sl-* bmps to shuffle-* and the hd-* to lock-* bmps. - Don't forget to clean up your 'Rockboxed' directory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17067 a1c6a512-1295-4272-9138-f99709370657
2008-04-10 23:18:27 +00:00
Bertrik Sikken
879c074656 Properly clear clear-on-write bits in the PP502x USB controller
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17066 a1c6a512-1295-4272-9138-f99709370657
2008-04-10 22:28:18 +00:00
Daniel Stenberg
10080b8420 decrease the risk of an overflow due to typecase from unsigned to signed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17065 a1c6a512-1295-4272-9138-f99709370657
2008-04-10 21:49:40 +00:00
Dave Chapman
bf8e9994c0 Fix typo in the description of the %Sp tag
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17064 a1c6a512-1295-4272-9138-f99709370657
2008-04-10 21:42:50 +00:00
Daniel Stenberg
59875c33bf and fix yet another picky warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17063 a1c6a512-1295-4272-9138-f99709370657
2008-04-10 21:41:29 +00:00
Daniel Stenberg
5d62f2ce8e oops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17062 a1c6a512-1295-4272-9138-f99709370657
2008-04-10 21:25:54 +00:00
Daniel Stenberg
1031a5731c make the compiles A LOT more picky and pedantic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17061 a1c6a512-1295-4272-9138-f99709370657
2008-04-10 21:17:57 +00:00