Commit graph

13608 commits

Author SHA1 Message Date
Brandon Low
488de5e09c Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13657 a1c6a512-1295-4272-9138-f99709370657
2007-06-17 21:29:24 +00:00
Brandon Low
74cbb0a1b2 Give color targets the ability to display each LCD line a different color and use this newfangled ability to provide themable colored file types. See the comments on read_color_theme_file and the sample.colors file provided for how to use this. .colors files go in themes directory for now. This separate line color function should be trivial to add to menus and wpss.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13656 a1c6a512-1295-4272-9138-f99709370657
2007-06-17 21:16:34 +00:00
Dominik Wenger
b57806237d rbutil: Add quessing of the Drive letter via Windows API, also restructuring for future Device detection via pid and vid.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13655 a1c6a512-1295-4272-9138-f99709370657
2007-06-17 20:15:18 +00:00
Antoine Cellerier
2199808631 Sansa stuff shouldn't use the ipod structure. Thanks to Domonoky for noticing this error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13654 a1c6a512-1295-4272-9138-f99709370657
2007-06-17 16:55:20 +00:00
Antoine Cellerier
5547c13b42 On linux, guess the mount point for ipods (tested) and sansas (untested).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13653 a1c6a512-1295-4272-9138-f99709370657
2007-06-17 16:38:00 +00:00
Steve Bavin
eb3e102d08 Fix up #endif.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13652 a1c6a512-1295-4272-9138-f99709370657
2007-06-17 16:32:02 +00:00
Marcoen Hirschberg
0255489b7e remove dead code and unmatched #endif
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13651 a1c6a512-1295-4272-9138-f99709370657
2007-06-17 15:08:37 +00:00
Marcoen Hirschberg
8e02e451e7 add missing define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13650 a1c6a512-1295-4272-9138-f99709370657
2007-06-17 14:59:18 +00:00
Antoine Cellerier
0b4b8f0a37 Fix 2 puzzle levels. Don't lose if no moves are left in puzzle mode, restart the current level. Score handling in puzzle mode is still kind of broken.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13649 a1c6a512-1295-4272-9138-f99709370657
2007-06-17 10:02:39 +00:00
Brandon Low
70fc62c1a1 ProFont is a great font that comes in a variety of sizes and is very readable in all of them
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13648 a1c6a512-1295-4272-9138-f99709370657
2007-06-17 00:28:47 +00:00
Michael Sevakis
8768ee82cc PP5024 (e200): There's more than one HI IRQ bit for enabling GPIO IRQs. Port A uses bit 32 and port F,H use bit 33. Please add futher GPIOx_IRQ/MASK defines and associations to pp5024.h as they are discovered. I guess the SD card patch will need a small update to properly detect insertion.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13647 a1c6a512-1295-4272-9138-f99709370657
2007-06-17 00:07:23 +00:00
Marcoen Hirschberg
fa1a290eb1 gigabeat remote: hold fast-forward to get to the context menu, hold rewind to get to the root of the file tree.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13646 a1c6a512-1295-4272-9138-f99709370657
2007-06-17 00:05:14 +00:00
Antoine Cellerier
c1dc50109d Ahem ... fix compilation. I also forgot to mention that puzzle images don't look good atm so if anyone wants to draw nice ones ... feel free to do so.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13645 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 23:19:49 +00:00
Antoine Cellerier
bbb9da3f8c Add "Puzzle" game type to jewels. Idea from Sam Hocevar's MonsterZ (http://sam.zoy.org/monsterz).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13644 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 23:12:41 +00:00
Dave Chapman
56780e3e41 Initial integration of a --format option, based on fat32format.exe. The main limitation is that it only works on disks with 512-byte sectors - it needs adapting to the 2048-byte sector ipods. It has only been tested on Linux and Mac OS X, with a 60GB ipod Color, but appears to work.... When this feature has been more widely tested, the intention is to add code to convert the information in an Apple Partition Map (which can currently be read by ipodpatcher) to a DOS partition table, and hence allow conversion of Macpods to Winpods.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13643 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 22:32:57 +00:00
Marcoen Hirschberg
9e0dfa1a53 move the speex and vorbis ogg parsers together in ogg.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13642 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 22:23:07 +00:00
Marcoen Hirschberg
7420d5ae5c set the keywords
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13641 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 21:08:48 +00:00
Dave Chapman
e5ee30ec97 Correct the (C) year
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13640 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 21:07:53 +00:00
Brandon Low
9a550524af Make RTC tags display hyphens instead of nothing on non-rtc targets. This makes WPSs that use RTC tags look decent again with the new separated RTC tag style
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13639 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 20:33:30 +00:00
Marcoen Hirschberg
e097b5fd62 fix build for big-endian targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13638 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 18:40:07 +00:00
Marcoen Hirschberg
2175d1edf6 split up the metadata parser
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13637 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 18:19:51 +00:00
Magnus Holmgren
c3206a455a AAC: Add support for iTunes-style gapless playback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13636 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 13:00:52 +00:00
Peter D'Hoye
93af4feae9 Ignore SYS_CHARGER_DISCONNECTED event in yesno screen (other events may need to be filtered as well) as it made the auto-ROLO question close immediatly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13635 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 11:50:42 +00:00
Dave Chapman
06b32fad8d Make test_codec work in the sim again.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13634 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 07:52:07 +00:00
Marcoen Hirschberg
cdad9abbe1 change the Gigabeat remote control mapping: long-play is stop. play resumes playback, the 'speaker' button brings you to the menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13633 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 00:57:32 +00:00
Steve Bavin
da0084046b Add missing voice string for 'Force mono'; thanks to James Teh.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13632 a1c6a512-1295-4272-9138-f99709370657
2007-06-15 06:32:34 +00:00
Jens Arnold
bb12e55989 Mandelbrot: slight speedup on coldfire targets. Only noticeable at high iteration depths with full precision.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13631 a1c6a512-1295-4272-9138-f99709370657
2007-06-14 22:50:21 +00:00
Dave Chapman
cee61b57c8 Remove some unused code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13630 a1c6a512-1295-4272-9138-f99709370657
2007-06-14 22:35:01 +00:00
Nils Wallménius
5bb7edeb36 Replace VU meter menu with a new one using the new menu api, fixes some
problems:
* Up/Down buttons are no longer reversed.
* The menu looks much better with reversed bg/fg colors instead of 
inversed.
* Menu uses userfont.

Add the set_bool_options function to the plugin api and bump api 
version.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13629 a1c6a512-1295-4272-9138-f99709370657
2007-06-14 20:02:27 +00:00
Nils Wallménius
61cf9b8513 Move the MEM_FUNCTION_WRAPPERS macro into plugin.h and get rid of the extra header file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13628 a1c6a512-1295-4272-9138-f99709370657
2007-06-14 15:07:54 +00:00
Dave Chapman
283738086d Oops, forgot to set keywords prop
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13627 a1c6a512-1295-4272-9138-f99709370657
2007-06-13 22:03:28 +00:00
Dave Chapman
6b713820c1 ARM assembler predictor decoding function. This increases my -c1000 test track from around 94% realtime on an ipod to around 104% realtime, but yields only a tiny speedup (453% to 455%) on the Gigabeat. Including this optimisation, total decoding time for my 245.70s -c1000 test track on an ipod is 236.06s, with the predictor decoding taking 51.40s of that time - meaning the predictor decoding is only about 22% of the total decoding time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13626 a1c6a512-1295-4272-9138-f99709370657
2007-06-13 22:02:34 +00:00
Nils Wallménius
c7f9ca4067 Accept FS#7264 'Build with -Os switch for coldfire targets'.
Introduces MEM_FUNCTION_WRAPPERS(api) macro which adds wrappers 
functions to a plugin to make plugins link correctly when gcc
calls mem* functions directly.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13625 a1c6a512-1295-4272-9138-f99709370657
2007-06-13 15:35:07 +00:00
Christian Gmeiner
f50bd1151a now back to green
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13624 a1c6a512-1295-4272-9138-f99709370657
2007-06-13 06:49:37 +00:00
Christian Gmeiner
ff67c1267c fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13623 a1c6a512-1295-4272-9138-f99709370657
2007-06-13 06:41:27 +00:00
Christian Gmeiner
d1178d2d76 * changed pararmeter of audiohw_mute from int to bool
* unification of init and close
  NOTE: audiohw_init is a void function now, because it never (can) fail
        okay  from JdGordon@irc



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13622 a1c6a512-1295-4272-9138-f99709370657
2007-06-13 06:33:40 +00:00
Dave Chapman
2f1a262a60 Cosmetic change - "ipod2c" should be "bin2c" in the comments in the generated .c/.h files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13621 a1c6a512-1295-4272-9138-f99709370657
2007-06-12 14:13:57 +00:00
Christian Gmeiner
23279cd43a some little more work on audio codec driver unification - more will follow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13620 a1c6a512-1295-4272-9138-f99709370657
2007-06-11 23:39:07 +00:00
Jonathan Gordon
cfe0f4826a Make the screen draw correctly with the user iconset
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13619 a1c6a512-1295-4272-9138-f99709370657
2007-06-11 13:32:29 +00:00
Steve Bavin
c0e6e20fb6 Oops. I should respect the simulator #ifdefs more.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13618 a1c6a512-1295-4272-9138-f99709370657
2007-06-11 09:04:50 +00:00
Steve Bavin
541f403342 ..and add a couple of comments.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13617 a1c6a512-1295-4272-9138-f99709370657
2007-06-11 08:34:42 +00:00
Steve Bavin
53b1aaf7b0 ...forgot one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13616 a1c6a512-1295-4272-9138-f99709370657
2007-06-11 08:30:13 +00:00
Steve Bavin
24d9f59c78 When recording, disable voice menus without actually modifying user settings. Patch FS#7272, fixes bug FS #6163
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13615 a1c6a512-1295-4272-9138-f99709370657
2007-06-11 08:28:38 +00:00
Dave Chapman
0fba85fe9e Accept both 0xb and 0xc as valid partition types for an ipod FAT32 partition. Some tools (e.g. fat32format) set the type to 0xc, and the Apple bootloader doesn't appear to care.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13614 a1c6a512-1295-4272-9138-f99709370657
2007-06-10 22:47:51 +00:00
Antoine Cellerier
e94adbbc28 A few fixes to the About panel.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13613 a1c6a512-1295-4272-9138-f99709370657
2007-06-10 22:20:43 +00:00
Antoine Cellerier
1bc4ce9a0a Simplify code (use + operator to concatenate strings instead of Printf()). Please revert if use of Printf was intentional.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13612 a1c6a512-1295-4272-9138-f99709370657
2007-06-10 22:08:48 +00:00
Antoine Cellerier
71eedc7a5b When clicking on one of the rbutil actions, ask the user if he wants to try autodetecting his device if none was selected.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13611 a1c6a512-1295-4272-9138-f99709370657
2007-06-10 20:52:20 +00:00
Antoine Cellerier
d86e1a4998 Add "Select All" button to the themes installer.
Remove a bunch of tabs.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13610 a1c6a512-1295-4272-9138-f99709370657
2007-06-10 20:13:24 +00:00
Jonathan Gordon
2cda994431 Move the root_menu() call out of tree.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13609 a1c6a512-1295-4272-9138-f99709370657
2007-06-10 10:41:27 +00:00
Dave Chapman
601ede7f9c C optimisations to the predictor decoding - create a single function for decoding stereo streams, and reorganise to minimise the number of variables used. My -c1000 test track now decodes at 93% realtime on PortalPlayer (was 78%), 187% on Coldfire (was 170%) and 447% on Gigabeat (was 408%).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13608 a1c6a512-1295-4272-9138-f99709370657
2007-06-10 08:55:16 +00:00