Commit graph

17038 commits

Author SHA1 Message Date
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
Daniel Stenberg
afecfe46f3 cleanup code for picky compiler warning options
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17060 a1c6a512-1295-4272-9138-f99709370657
2008-04-10 21:16:00 +00:00
Marianne Arnold
f8f1f3e811 First part of converting the 'Rockboxed' theme to using bitmap strips - the *-mono-small bitmaps which are used in the Archos port. While at it enable the already existing but so far unused locked-icon and combine small statically loaded bitmaps into one (only named bg-mono-small because it's not a full screen background picture as in other versions). Three bitmaps are now placed 1 or two pixels to the right to make it look a little more balanced. Also drop some possibilities in the codec conditional which made no sense at all even if things would change a _lot_, but it could also be cleaned up further. * Delete the 'Rockboxed' directory on the player before updating...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17058 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 22:26:55 +00:00
Rob Purchase
159f8ee41a D2: Beginnings of a WM8985 driver (based on WM8758, using EQ1 and EQ5 as HW treble/bass). Untested, but harmless.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17057 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 22:20:04 +00:00
Nils Wallménius
791e0928c5 Slight readability improvements
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17056 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 21:47:43 +00:00
Robert Kukla
183dbbdc9a FS#8738 - move the progress bar to the bottom of the screen (fixes FS#8736 - "fake" progress bar when deleting a folder overlaps the text since r16527)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17055 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 20:13:09 +00:00
Maurus Cuelenaere
49236bb62b Change HMAC-SHA1 implementation to the one taken from gnulib, which
contains a more clear copyright notice.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17054 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 16:29:05 +00:00
Nils Wallménius
ab796a2e49 Set svn keywords
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17053 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 16:04:59 +00:00
Nils Wallménius
8dca930a1a Some small binsize savings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17052 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 16:01:40 +00:00
Maurus Cuelenaere
8fef5a6022 Fix red + introduce new defines for DM320 targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17051 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 15:47:33 +00:00
Maurus Cuelenaere
c02b183546 Add DM320 I²C driver, although not (yet) enabled in the sources.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17050 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 15:25:20 +00:00
Nils Wallménius
6848961aa5 Pass the buffer length to the list_get_name callback functions instead of using hardcoded MAX_PATH
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17049 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 15:25:17 +00:00
Daniel Stenberg
ae64d2602b more code policing to stop warnings when built with -W -Wall
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17048 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 14:04:39 +00:00
Robert Kukla
f617ba4a43 fix FS#8860 - File browser context menu shows unnecessary items in an empty directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17047 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 13:50:33 +00:00
Daniel Stenberg
afc39fbfd7 Code Policing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17046 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 13:18:59 +00:00
Daniel Stenberg
49e6a29828 Code Police raid: -W -Wall cleansing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17045 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 13:07:50 +00:00
Daniel Stenberg
3e6280039e include string.h for the memory functions to fix yellows
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17044 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 12:32:25 +00:00
Maurus Cuelenaere
0c23c667c1 Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17043 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 12:08:24 +00:00