Commit graph

18676 commits

Author SHA1 Message Date
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
Jens Arnold
c5ecffe9e9 Tweak for German TTS engines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18981 a1c6a512-1295-4272-9138-f99709370657
2008-11-03 07:45: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
Rafaël Carré
aa061bc192 AS3525 : fix interrupts support (but leave them disabled)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18979 a1c6a512-1295-4272-9138-f99709370657
2008-11-02 17:11:33 +00:00
Frank Gevaerts
99d39f5c3a put stubs in the proper place
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18978 a1c6a512-1295-4272-9138-f99709370657
2008-11-02 02:19:39 +00:00
Frank Gevaerts
8d68a567e4 add proper dummy storage implementation for sims
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18977 a1c6a512-1295-4272-9138-f99709370657
2008-11-02 02:01:57 +00:00
Frank Gevaerts
86f0c75cde fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18976 a1c6a512-1295-4272-9138-f99709370657
2008-11-02 01:31:52 +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
Dominik Wenger
0b34b77e13 make the m200v2 lcd work again with higher cpu frequency
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18974 a1c6a512-1295-4272-9138-f99709370657
2008-11-02 01:10:29 +00:00
Rafaël Carré
34151e55f8 mkamsboot: Use left button on e200v2 to dual boot (like e200v1)
Thanks to Michael Chicoine

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18973 a1c6a512-1295-4272-9138-f99709370657
2008-11-02 00:51:56 +00:00
Rafaël Carré
091f2a0c4f AS3525: disable interrupts, higher clock frequencies
fclk (CPU) at 240MHz
pclk (peripherals) at 64MHz

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18972 a1c6a512-1295-4272-9138-f99709370657
2008-11-02 00:34:44 +00:00
Frank Gevaerts
311ae23a54 declare m200v2 storage type
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18971 a1c6a512-1295-4272-9138-f99709370657
2008-11-02 00:23:23 +00:00
Jens Arnold
66f496cb88 Shave off another 4 instructions (8 bytes).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18970 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 23:41:23 +00:00
Rafaël Carré
a85e2cd991 AS3525 : enable instruction and data cache
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18969 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 23:40:59 +00:00
Dave Chapman
307d009cf1 Clean up the Fuze LCD driver. The only functional change is to write 0x7030 instead of 0x30 to register 0x03 (which seems to be a HD66789R-style R_ENTRY_MODE register) - this fixes the corrupted colours.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18968 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 23:31:05 +00:00
Frank Gevaerts
9e6fb8a12d Adapt sansa v2 sd driver to the new storage layer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18967 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 22:55:35 +00:00
Dave Chapman
2a5d491480 Unify the e200v2 and Fuze backlight/buttonlight code - it is identical.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18966 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 22:05:35 +00:00
Frank Gevaerts
19eb800f75 conditionalise *_get_info() to get some binsize back
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18965 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 17:33:21 +00:00
Frank Gevaerts
94b6a0be99 Add new storage-related defines for meizu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18964 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 17:25:49 +00:00
Frank Gevaerts
008865b469 Add more simulator stubs. This should get rid of the last reds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18963 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 17:06:04 +00:00
Frank Gevaerts
526304e1ce fix reds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18962 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 16:49:38 +00:00
Frank Gevaerts
ad9db4de3d Now also commit added files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18961 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 16:25:04 +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
Rafaël Carré
646cac0bde Remove Linux's mmci.h since the license is strict GPLv2
Rewrite a new header distributed under GPLv2 or later, and place it in
export/ in case other targets ship with an ARM PL180 controller

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18959 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 14:38:45 +00:00
Dave Chapman
e8753f3b25 Oops, use the correct -add option to scramble for the Fuze.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18958 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 10:47:17 +00:00
Dave Chapman
74c75e5c04 Add Sansa Fuze to the build system, including a first (untested) attempt at an LCD driver. Lots of things are just copied from the e200v2, so this code needs testing, and then drivers properly merged if they prove to be the same.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18957 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 10:29:23 +00:00
Dave Chapman
88806c0b1b Define HAVE_AS3514 for the other V2 targets (it was already defined for the e200v2)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18956 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 08:29:11 +00:00
Rafaël Carré
1e8071885e Sansa Clip config : remove/fix wrong defines/comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18955 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 00:55:58 +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
Rafaël Carré
52cb009662 Sansav2 SD : minor modifications
Declare a structure constant
Fix a comment (wrong bit number)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18946 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 18:54:24 +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
aac586d112 Make mkinfo.pl work for bootloader builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18942 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 00:59:17 +00:00
Dave Chapman
a8a61ee991 Oops, fix red - only include ascodec-target.h when HAVE_AS3514 is defined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18941 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 00:37:58 +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
Rafaël Carré
d195349779 Use CFLAGS=-U_FORTIFY_SOURCE for binutils and gcc configuration
Ubuntu introduced (in 8.10) strict buidtime and runtime checks with the
define _FORTIFY_SOURCE
Undefine it to fix:
    - building of gcc
    - runtime of as

(Tested for arm-elf target)

The previous fix for gcc would have no effect because gcc's configure
doesn't substitute CPPFLAGS variable in Makefiles

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18938 a1c6a512-1295-4272-9138-f99709370657
2008-10-30 20:54:46 +00:00
Rafaël Carré
f4a0f457be Sansav2 bootloader: explicitely link everything into IRAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18937 a1c6a512-1295-4272-9138-f99709370657
2008-10-30 20:01:01 +00:00
Rafaël Carré
29a5373724 mkamsboot: supports Fuze firmwares
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18936 a1c6a512-1295-4272-9138-f99709370657
2008-10-30 20:00:56 +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