Commit graph

18758 commits

Author SHA1 Message Date
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
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
Jens Arnold
8db3450d1b Update the README, and add a warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18931 a1c6a512-1295-4272-9138-f99709370657
2008-10-30 00:47:26 +00:00
Jens Arnold
601afcbd0b Minimon is loaded to 0x0ffff000 by uart_boot, so it needs to be linked to that address as well, or it won't work. Also add that hint to the README, fix a warning, and fix the disassembly base address (was wrong either way).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18930 a1c6a512-1295-4272-9138-f99709370657
2008-10-30 00:34:43 +00:00
Dave Chapman
5456859dd7 Correct the MD5 sum for the Clip 1.1.29 firmware.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18929 a1c6a512-1295-4272-9138-f99709370657
2008-10-30 00:27:29 +00:00
Jens Arnold
e13e318c37 Use the asm optimised UCL decompressor for the flash bootloader as well. Verified working on Player, Recorder v1, Ondio SP and Ondio FM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18928 a1c6a512-1295-4272-9138-f99709370657
2008-10-30 00:17:45 +00:00
Dave Chapman
c91d7873c7 Add MD5 checksumming of the original firmware images - for extra safety, and also because some Fuze firmwares have the same ID (or what we thought was the ID) as the M200 firmwares. Plus a few minor cleanups.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18927 a1c6a512-1295-4272-9138-f99709370657
2008-10-30 00:13:29 +00:00
Rafaël Carré
e1b4838481 Embryo of a SD driver for Sansav2
Debug code included, needed until the bootloader is ready

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18926 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 20:21:59 +00:00
Frank Gevaerts
4c457afe89 use ARCHOS_ONDIO* defines when checking for ondio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18925 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 18:34:14 +00:00
Frank Gevaerts
83589f040a correct HAVE_MULTIVOLUME vs HAVE_HOTSWAP usage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18924 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 18:32:24 +00:00
Rafaël Carré
593809c1a9 Make rockboxdev.sh abort as soon as an error is encountered
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18923 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 16:02:06 +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
5fa5578284 Adding non-existing files in SOURCES no longer causes strange sysfont.h error message. (Fixes #7583)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18921 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 14:51:49 +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
Michael Sevakis
48544f070b Move kernel tick initialization and handling to the target tree for ones remaining in kernel.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18919 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 10:26:46 +00:00
Daniel Stenberg
3bfc51d894 set "CPPFLAGS=-U_FORTIFY_SOURCE" when the gcc configure is invoked to make it
work fine on the latest Ubuntu as well


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18918 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 08:32:34 +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
Jens Arnold
9ae2561862 Save another 4 bytes without sacrificing performance by subroutine rearrangement.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18916 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 07:14:37 +00:00