Commit graph

9378 commits

Author SHA1 Message Date
Jonathan Gordon
a22749b5c6 FS#9525 - The list for the quickscreen items chooser turned out to not really be usable so try this instead.
Settings in the menus will now have a context menu where you can reset the setting and if its OK to put it on the quickscreen there will be options there to put it on it.

Also, ban last.fm and cuesheet support settings from the QS


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19013 a1c6a512-1295-4272-9138-f99709370657
2008-11-05 09:30:20 +00:00
Jens Arnold
0eb6ae938e This optimisation breaks for very large divisors (MSB set), so remove it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19012 a1c6a512-1295-4272-9138-f99709370657
2008-11-05 07:36:39 +00:00
Jens Arnold
0711c795e6 Set missing SVN properties.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19010 a1c6a512-1295-4272-9138-f99709370657
2008-11-05 00:13:36 +00:00
Jens Arnold
fe04e40be7 Further optimised (vs. libgcc) unsigned 32 bit division for ARMv4 (based on the ARMv5(+) version from libgcc), in IRAM on PP for better performance on PP5002, and put into the codeclib for possible reuse. APE -c1000 is now usable on both PP502x and PP5002 (~138% realtime, they're on par now). Gigabeat F/X should also see an APE speedup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19009 a1c6a512-1295-4272-9138-f99709370657
2008-11-05 00:10:05 +00:00
Jens Arnold
7a835ee0c6 Some entropy decoder tweaks. Also removed unnecessary 'tmp' variables.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19008 a1c6a512-1295-4272-9138-f99709370657
2008-11-04 23:46:04 +00:00
Frank Gevaerts
059fff29ec Since *set_led_enabled() is actually an ata-specific feature, move it back to ata_* only
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19006 a1c6a512-1295-4272-9138-f99709370657
2008-11-04 19:57:36 +00:00
Magnus Holmgren
5a00367a08 Fix FS#9522: stop reading an ID3v2 tag if a frame length is bad.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19005 a1c6a512-1295-4272-9138-f99709370657
2008-11-04 19:47:52 +00:00
Björn Stenberg
9d04f1d8f0 Bugfix: 'make bin' didn't build bitmaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18999 a1c6a512-1295-4272-9138-f99709370657
2008-11-04 08:06:09 +00:00
Jonathan Gordon
de6cddaea2 - handle the custom option type in settings dumper (not very well though but there isnt really a better option)
- ban some settings from the quickscreen which need a reboot to change (dircache, database, max files/playlist size)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18997 a1c6a512-1295-4272-9138-f99709370657
2008-11-03 23:49:18 +00:00
Bertrik Sikken
03be50a1ef Make local functions static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18995 a1c6a512-1295-4272-9138-f99709370657
2008-11-03 22:26:32 +00:00
Daniel Stenberg
65d9ca8a6f remove stray tab
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18992 a1c6a512-1295-4272-9138-f99709370657
2008-11-03 16:18:51 +00:00
Alessio Lenzi
3b05259316 Updated italian translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18989 a1c6a512-1295-4272-9138-f99709370657
2008-11-03 15:19:45 +00:00
Björn Stenberg
f3358b0e3c Red build fix: Proper handling of ENABLEDPLUGINS and SOFTWARECODECS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18988 a1c6a512-1295-4272-9138-f99709370657
2008-11-03 14:55:10 +00:00
Björn Stenberg
ac488f8cb7 Makefile overhaul. All generated bitmaps are now explicitly in OBJDIR/bitmaps and OBJDIR/pluginbitmaps, and plugins properly depend on their respective bitmap files. Fixes #6847.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18987 a1c6a512-1295-4272-9138-f99709370657
2008-11-03 14:37:50 +00:00
Jonathan Gordon
edcacaa787 FS#9515 - customisable quickscreen. Allows you to choose which setting you want displayed on the quickscreen.
Allows almost every available setting. (change the options in settings > general settings > quickscreen items)
Not every setting will work perfectly, some might need aditional handling if the change doesnt take effect straight away (let us know which are problematic so they can be fixed)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18984 a1c6a512-1295-4272-9138-f99709370657
2008-11-03 11:11:07 +00:00
Jonathan Gordon
5395957549 Add a setting type which is completly user-defined. This setting type cannot be used by the regular menu macros (e.g MENUITEM_SETTING() macro) so if you are goign to use this type remember to implement the setting screen seperately (using option_select() if you can)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18983 a1c6a512-1295-4272-9138-f99709370657
2008-11-03 10:43:37 +00:00
Jonathan Gordon
ee0111a539 fix a data abort when the start screen is set to previous and nvram.bin is invalid
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18982 a1c6a512-1295-4272-9138-f99709370657
2008-11-03 09:40:45 +00:00
Marianne Arnold
efd78be8b1 German translation update - also fixes a few issues (unnecessary differences to english.lang) and a more consistent translation of some strings. Better ideas for the 'Album Art:' (size) translation are welcome...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18980 a1c6a512-1295-4272-9138-f99709370657
2008-11-02 19:33:31 +00:00
Frank Gevaerts
430343bca7 implement single-driver storage layer with macros instead of inlines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18975 a1c6a512-1295-4272-9138-f99709370657
2008-11-02 01:14:46 +00:00
Frank Gevaerts
2f8a0081c6 Apply FS#9500. This adds a storage_*() abstraction to replace ata_*(). To do that, it also introduces sd_*, nand_*, and mmc_*.
This should be a good first step to allow multi-driver targets, like the Elio (ATA/SD), or the D2 (NAND/SD).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18960 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 16:14:28 +00:00
Marianne Arnold
25560f41a1 OndioFM keymap - trigger screen: prevent pressing 'Right' (to change the value) from also accepting the setting and leaving the trigger screen; use 'Mode' now for actually accepting the settings. To avoid button action conflicts, separate the rectrigger context and give it an own ACTION_STD_OK.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18954 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 00:02:04 +00:00
Jonas Häggqvist
42546b2bd6 Language updates:
- Brazilian Portuguese by Adilson Xavier (FS#9518)
 - Dutch by Stijn Hisken (FS#9505)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18953 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 22:34:45 +00:00
Rafaël Carré
603a9c7c7d Clip: add backlight and buttonlight code
Revive lcd_enable() as well, and use it in _backlight_on/off()
Don't update the lcd framebuffer if the display is off

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18952 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 22:02:41 +00:00
Rafaël Carré
ee593c95e2 Make lcd_set_enable_hook() conditional on HAVE_LCD_ENABLE and HAVE_LCD_COLOR
This prepares for the Clip which will define HAVE_LCD_ENABLE but won't
need the hook since the internal LCD framebuffer is updated regardless
if the display is on or off.

firmware/drivers/lcd-16bit.c has not been modified since HAVE_LCD_COLOR
is obviously defined here

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18951 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 21:48:44 +00:00
Frank Gevaerts
19d1cacb1a cleanup storage defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18950 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 21:25:04 +00:00
Jens Arnold
3aa5832808 Revert r18947, and add a comment why the backlight functions are wanted on all targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18949 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 20:06:08 +00:00
Rafaël Carré
cd9b1379ff Sansa Clip simulator
First draft at keymapping based on e200

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18948 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 18:54:37 +00:00
Rafaël Carré
c5685ed72d apps/plugin.c : do not declare backlight_* part of rockbox api
if HAVE_BACKLIGHT is not defined

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18947 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 18:54:27 +00:00
Mustapha Senhaji
944e23f1a4 Fix one bad description entry for the languages concerned.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18945 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 14:52:09 +00:00
Mustapha Senhaji
ce91c0ef41 Update the french translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18944 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 14:41:56 +00:00
Jonathan Gordon
6144a92b69 rearrange the order that the quickscreen wiewports are allocated.
The Icon viewport in the center will use as much width as there is room, and should never shrink so that there isnt room for the 2 arrows.
Doing it this way makes sure the arrows stay with the text instead of being stuck in the middle of the screen (which seems to happen mostly on portrait LCD's with the old version)



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18943 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 04:58:33 +00:00
Dave Chapman
42f77d4eb0 Abstract the PortalPlayer AS3514 handling with an "ascodec" API - inspired by the wmcodec API used with the Wolfson codecs. The intention is to implement this API for the AS3525 and then share code with the Sansa V2 ports.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18940 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 00:16:42 +00:00
Dominik Riebeling
324816f019 Factor out save / restore sudoku board (FS#9516 by Alexander Levin)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18939 a1c6a512-1295-4272-9138-f99709370657
2008-10-30 21:00:17 +00:00
Magnus Holmgren
ee378abe63 Add support for the album artist field used by Foobar2000 in ID3v2 tags.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18935 a1c6a512-1295-4272-9138-f99709370657
2008-10-30 19:00:24 +00:00
Björn Stenberg
0ca8c44f9d Data does not belong in .h files. Not even if it makes the .c file prettier.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18934 a1c6a512-1295-4272-9138-f99709370657
2008-10-30 14:39:20 +00:00
Jonathan Gordon
fdd4050bc7 fix some problems with the menu code:
- MENU_FUNC_CHECK_RETVAL has been loosened to return if the function returns non-zero (and passes that return value on as the return value for do_menu(). This is fine for now because only 2 places uses this flag and both return 1.
- when the option screen or a function is called from a menu which doesn't use the full screen viewport the wrong viewport was used (option screen crashed, and returning from the funciton ignored the origional viewport.) This is now changed so (for now) the option screen always gets the full screen viewport and returning from functions shows the menu correctly.

Some time in the future menu items which are functions should be changed to accept a viewport (if they end up drawing). 
When that happens both option screen and the called function should use the menu's parent viewport


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18933 a1c6a512-1295-4272-9138-f99709370657
2008-10-30 07:07:45 +00:00
Dave Chapman
25d4f4bb7a Add .oga as a valid file extension for Ogg vorbis files. Even though Xiph recommend against using .oga for vorbis (for compatibility reasons), they say that it may be used, and some applications (e.g. Gnome Media) are doing so.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18932 a1c6a512-1295-4272-9138-f99709370657
2008-10-30 01:17:26 +00:00
Björn Stenberg
3e4c9f760b Added an explicit bitmap dependency to icons.h to resolve issues with parallell builds (-j).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18922 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 15:59:20 +00:00
Björn Stenberg
20754cf370 'make voice' no longer builds bitmaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18920 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 14:24:59 +00:00
Jens Arnold
68f3ad3454 state->savedboard doesn't exist, so revert that part of r18906 for now. It might be necessary to redo this fix properly. Also, state->currentboard is an array of shorts, so the memcpy() only covered half of it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18917 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 07:51:45 +00:00
Dominik Riebeling
24cf2ae804 Fix sudoku crash when using reload without previously saved state (FS#9509 by Henri Valta). Fix a similar issue when using reload after generating a new sudoku by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18906 a1c6a512-1295-4272-9138-f99709370657
2008-10-28 22:39:54 +00:00
Dave Chapman
74b935c893 Make the e200v2 simulator compile - an easy job as the apps/ code is identical to the e200v1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18902 a1c6a512-1295-4272-9138-f99709370657
2008-10-28 17:49:35 +00:00
Magnus Holmgren
1b9991c229 Try to fix FS#9502: end playback properly if no valid files were found in a playlist.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18891 a1c6a512-1295-4272-9138-f99709370657
2008-10-26 20:15:10 +00:00
Magnus Holmgren
e511017293 Bump plugin API version as needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18890 a1c6a512-1295-4272-9138-f99709370657
2008-10-26 20:11:26 +00:00
Jonas Häggqvist
a28e33f861 Language updates:
- Synched Danish by me
 - Synched Finnish by Jani Kinnunen (FS#9488)
 - Fix spelling errors in Polish translation by Marcin Łukasik (FS#9416)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18887 a1c6a512-1295-4272-9138-f99709370657
2008-10-26 14:17:49 +00:00
Bertrik Sikken
92683778f6 Add missing #include to mp3 metadata parser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18885 a1c6a512-1295-4272-9138-f99709370657
2008-10-26 13:07:29 +00:00
Nils Wallménius
7bb81ce689 Change button map for iaudio x5 and m5 to avoid using impossible button combos, delete ondio button map as it has no rtc
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18884 a1c6a512-1295-4272-9138-f99709370657
2008-10-26 12:47:43 +00:00
Jonathan Gordon
535764c76b bah! messed up the filename settings... and do some line length fixing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18883 a1c6a512-1295-4272-9138-f99709370657
2008-10-26 11:59:21 +00:00
Jonathan Gordon
9e2807fc66 Add a simple plugin (apps/settings_dumper.rock) which dumps the valid values of all the config settings to /settings_dumper.txt. If you notice any settings its not dumping please let me know.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18882 a1c6a512-1295-4272-9138-f99709370657
2008-10-26 11:44:21 +00:00
Dominik Riebeling
2fb63ae6a8 Add in-grid graphical markers for scratchpad values to sudoku (FS#8364 by Henri Valta with adjustments by me).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18880 a1c6a512-1295-4272-9138-f99709370657
2008-10-25 21:22:00 +00:00