Commit graph

18632 commits

Author SHA1 Message Date
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
Jens Arnold
2d4eacb9ec AS3525 is ARMv4, not ARMv5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18915 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 07:11:52 +00:00
Jonathan Gordon
8f7f219dba FS#9511 - working lcd update (and lcd_update_rect() ) for the e200v2, working button light also
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18914 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 06:11:33 +00:00
Jonathan Gordon
0a8446ad7d fix lcd mirror and rotation problem on the e200v2. also remove a wierd whitespace charchter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18913 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 03:05:07 +00:00
Dave Chapman
6a038d1a97 Oops, revert 18911 - this was added a couple of commits ago.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18912 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 02:22:39 +00:00
Dave Chapman
914a6f2ed0 e200v2 LCD - it helps to enable the DBOP clock.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18911 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 02:18:42 +00:00
Dave Chapman
8df1a7e29a e200v2: implement the backlight handling (copy/paste from the c200v1/e200v1 code - this should probably be unified, along with other upcoming v2 code), plus clean up the lcd init by calling lcd_init() directly in the bootloader, instead of lcd_init_device().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18910 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 01:42:03 +00:00
Rafaël Carré
b771428d86 e200v2 lcd: Add missing DBOP clock initialization
Code confirmed to work (i.e. displaying a rotated, mirrored image) after
the backlight has been enabled.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18909 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 01:07:33 +00:00
Jonas Häggqvist
383986041d First version of script to build crosscompiled Windows sims. Basically a
copy of bins.pl, with some improved argument handling, to enable using the
same script for building daily sims and release sims.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18908 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 00:27:09 +00:00
Dave Chapman
e5b238b496 Gammar correction
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18907 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 00:18:09 +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
Nils Wallménius
8fbbbb77bf Update note for the APE codec mentioning that c2000 files now can be played back realtime on coldfire targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18905 a1c6a512-1295-4272-9138-f99709370657
2008-10-28 22:19:02 +00:00
Jens Arnold
2c52dee83f Self-extractor for on-disk firmware image: UCL decompressor in SH1 assembler - less than half the size of the compiled C function, and ~45% faster.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18904 a1c6a512-1295-4272-9138-f99709370657
2008-10-28 21:07:53 +00:00
Magnus Holmgren
afd2f681d1 Fix the target pattern matching in genlang. Not sure if it is the 'right' fix, but it unbreaks the e200 build for me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18903 a1c6a512-1295-4272-9138-f99709370657
2008-10-28 19:40:53 +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
Dave Chapman
d9fdd8ce38 Correct the t_model variable for the e200v2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18901 a1c6a512-1295-4272-9138-f99709370657
2008-10-28 16:49:59 +00:00
Rafaël Carré
3e7fdbb95e Sansav2 dualboot: correctly use keyscan for Clip
Make comments consistent between m200v2 and Clip
(e200 doesn't use keyscan)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18900 a1c6a512-1295-4272-9138-f99709370657
2008-10-28 11:52:49 +00:00
Rafaël Carré
b3ee07c22e Sansav2 : initializes SDRAM
The AS3525 SoC ships with an ARM PL172 MPMC controller
Also correct the memory sizes in tools/configure

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18899 a1c6a512-1295-4272-9138-f99709370657
2008-10-28 11:24:29 +00:00
Rafaël Carré
a5a2f12f0a mkamsboot: Fix makefile rules for e200v2 and m200v2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18898 a1c6a512-1295-4272-9138-f99709370657
2008-10-28 11:24:24 +00:00
Rafaël Carré
ab77820aea Add myself to committers list
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18897 a1c6a512-1295-4272-9138-f99709370657
2008-10-28 10:42:41 +00:00
Maurus Cuelenaere
3b45b8cbf1 Commit DLanalyser tool, made by Jin Le
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18896 a1c6a512-1295-4272-9138-f99709370657
2008-10-27 18:45:01 +00:00
Michael Sevakis
4ce3eb2453 The tick change for the sim can be a little nicer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18895 a1c6a512-1295-4272-9138-f99709370657
2008-10-27 17:26:58 +00:00
Michael Sevakis
623cd1cb0d Fix red-- it should.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18894 a1c6a512-1295-4272-9138-f99709370657
2008-10-27 17:18:01 +00:00
Michael Sevakis
a9e69d935c Strange little kernel optimization to ease targeting the timer tick and to limit the number of loops in the tick function to the number of tasks added rather than always looping the max number.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18893 a1c6a512-1295-4272-9138-f99709370657
2008-10-27 16:30:24 +00:00
Bertrik Sikken
e5d72ac5f7 Fix line endings and set svn properties
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18892 a1c6a512-1295-4272-9138-f99709370657
2008-10-26 21:21:55 +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