Commit graph

12426 commits

Author SHA1 Message Date
Magnus Holmgren
1916576728 Keep delay loop from being optimized away.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12367 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 23:06:50 +00:00
Tom Ross
2ad25c8818 Kill a few warnings in plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12366 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 23:06:22 +00:00
Magnus Holmgren
f435db0107 Update Swedish translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12365 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 23:04:54 +00:00
Antoine Cellerier
742f6bc155 Fix bug (first line was displayed under the status bar)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12364 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 23:01:58 +00:00
Daniel Stenberg
fa2d49a5b9 set I2C type properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12363 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 22:55:33 +00:00
Daniel Stenberg
7bcfc1ddfe #ifdef instead of #if
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12362 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 22:26:14 +00:00
Daniel Stenberg
0c74d2ce8e include stdbool.h to get the bool type and fix the build error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12361 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 22:25:23 +00:00
Daniel Stenberg
20a5926d2e build with -Wundef to make sure we have spelled the defines right in #if lines
and have the proper includes included etc


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12360 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 21:54:17 +00:00
Daniel Stenberg
5d45ec90e0 another attempt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12359 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 21:47:12 +00:00
Daniel Stenberg
0db847071f repair the condition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12358 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 21:31:17 +00:00
Daniel Stenberg
64a0fb8fd9 avoid using #if on undefined symbols, in preparation for -Wundef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12357 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 21:15:06 +00:00
Linus Nielsen Feltzing
ab0752c9c0 Correct spelling of CONFIG_CODEC, fixes FS#6668
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12356 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 20:49:54 +00:00
Barry Wardell
c9e317475a Accept FS#6662. Thanks to Nick Vanderweit. No need to define PI as
it is already defined as 
M_PI in 
math.h.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12355 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 19:54:05 +00:00
Barry Wardell
dbd7fd81f2 Fix text displayed for backlight_timeout_plugged setting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12354 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 18:09:55 +00:00
Paul Louden
d17de72c60 Make our Doom plugin see the Doom wad we provide and list "Freedoom" as
its own entry in the supported game list.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12353 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 17:51:44 +00:00
Jonathan Gordon
1ebdd5babd this wasnt meant to be commited
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12352 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 14:39:02 +00:00
Jonathan Gordon
40a253d464 Convert the Display menu to the new system.
http://forums.rockbox.org/index.php?topic=8703.0 for bugs...


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12351 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 14:02:48 +00:00
Magnus Holmgren
14ba91eaa9 A few more bookmark code tweaks. Also improves how the bookmark selection screen is displayed on Archos players.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12350 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 13:36:44 +00:00
Jens Arnold
471d881979 ARM targets: Making a few functions non-static allows us to get rid of -ffunction-sections, significantly decreasing binary size and making things run a bit faster because static functions are no longer long_call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12349 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 11:19:14 +00:00
Jonathan Gordon
5dd08e17e9 fix payer build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12348 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 10:59:30 +00:00
Jonathan Gordon
5c156414ca fix margin problem in "view runtime" and "rockbox info" screens
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12347 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 10:54:16 +00:00
Zakk Roberts
0abbb298b2 Obligatory fix-a-few-warnings commit...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12346 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 10:32:19 +00:00
Zakk Roberts
5bebae83a6 Chopper update. Fix endgame text not showing up and menu being invisible after first game, both on grayscale targets. Also fix endgame text being too long on Archos by using a splash to draw it. Also: X5's up button now works as 'fly' and Ondio mappings changed (Up/Menu = fly, Off = quit).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12345 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 10:23:15 +00:00
Miika Pekkarinen
6dbe772eb7 FS#6651 - Improved id3 comment extraction.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12344 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 08:46:32 +00:00
Dave Chapman
92878d9ed4 FS #6443 from Jonas Häggqvist - add an "install" target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12343 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 02:24:37 +00:00
Dave Chapman
139fb1af20 Move dr_controller_setup() to usb_init_device() and add a call to dr_controller_stop() if we detect USB disconnection. This seems to improve reliability when connecting to Mac OS X - Rockbox previously killed its USB stack since the introduction of the new USB detection code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12342 a1c6a512-1295-4272-9138-f99709370657
2007-02-17 01:32:39 +00:00
Barry Wardell
620c62e262 Fix 3g builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12341 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 22:28:07 +00:00
Barry Wardell
3a6d4791d7 No functional changes, just reorganising code:
1) Move ARC OTG USB (used in PP502x) driver code into it's own file, drivers/arcotg_udc.c. Hopefully in  the future we will be able to adapt more of the Linux driver and add it to this file.
2) Rename mx31.h to arcotg_udc.h to reflect the file the code came from. It's also a more accurate name for the USB controller.
3) Get rid of one more inl()/outl() in usb-pp.c and use the relevant #define instead.
4) Add dr_controller_stop(). Not used yet.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12340 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 22:13:21 +00:00
Dave Chapman
b045a2425c Add #include for use with rbutil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12339 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 20:45:00 +00:00
Nils Wallménius
1cd80b33b8 Fixed typo in polish translation, closes FS #6666
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12338 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 19:59:37 +00:00
Nils Wallménius
fde64fd7a2 Make a couple of private functions 'static'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12337 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 18:48:36 +00:00
Michael Sevakis
09186e31ae SWCODEC: Remove the last quirks when upsampling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12336 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 12:01:35 +00:00
Linus Nielsen Feltzing
6ffd8043cb Removed some unused menu code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12335 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 10:40:59 +00:00
Linus Nielsen Feltzing
750fa4a1a0 Minor code policing and cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12334 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 10:20:30 +00:00
Michael Sevakis
12a1e108a8 Fix errors I hope.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12333 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 09:03:37 +00:00
Michael Sevakis
ec1f4829cd SWCODEC Recording: Improve buffer handling by 1) Lowering watermark for flushing 2) Flushing down to a low watermark instead of a fixed number of chunks 3) Allowing in-process automatic flushes to be interrupted so file splits and stops can be marked in a timely manner (especially important when approaching 2GB limit) 4) Flush small amounts if buffer is filled during a split to protect integrity of streams 5) Boost both pcmrec and codec threads then thread priority boost is needed so that encoder doesn't fail to run and keep up with incoming data
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12332 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 08:52:06 +00:00
Paul Louden
fce01de0f0 Fix a warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12331 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 08:13:12 +00:00
Paul Louden
5400836d97 Added a missing word.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12330 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 07:57:10 +00:00
Zakk Roberts
a5014b9c59 Argh, previous 'fix' was not in fact the problem. *Now* it's fixed.. I hope.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12329 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 07:21:47 +00:00
Zakk Roberts
d2e47ee0fd Implement the actual-button-name-for-game-over-message addition from my previous commit in a different way to fix builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12328 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 07:12:06 +00:00
Zakk Roberts
ce31c6fef9 A few chopper changes. Changed colorscheme from blue on backdrop to green on black (on color LCDs), more like original. Removed useless 'help' menu entry for now. Show actual button name in game over screen (i.e. 'select' or 'play') instead of just 'action'. A bit of code cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12327 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 06:57:49 +00:00
Dave Chapman
e3e58b9a07 FS #5535 - Chopper game ported from IPL by Ben Basha. This commit is chopper_with_menu_api.diff with some changes by me: fixed the bug with the unmatching calls to menu_init() and menu_quit() (causing freezes after game #6); added keymappings for the sansa, gigabeat, Ondio and Archos Recorders; and changes to work with mono LCDs. This should now run on all targets with bitmapped LCDs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12326 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 01:23:48 +00:00
Jonathan Gordon
1ea4f0d4eb fix menu exiting bug I introduced in the last commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12325 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 00:55:52 +00:00
Jonathan Gordon
f8e08f0f5e Remove the menu title on the player.
Fix the enu callbacks so ACTION_EXIT_MENUITEM is called when exiting a 
menu


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12324 a1c6a512-1295-4272-9138-f99709370657
2007-02-15 23:27:57 +00:00
Linus Nielsen Feltzing
aa8761fccc Shave a few bytes off the binary size, especially on hwcodec targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12323 a1c6a512-1295-4272-9138-f99709370657
2007-02-15 22:55:22 +00:00
Thom Johansen
96e5e9eef8 Optimise/touchup some asm macros in dsp.h, and also remove some now unneeded ones. Add config.h to dsp.c so that these macros actually get used, and also do some minor nitpicks to the resampler while I'm at it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12322 a1c6a512-1295-4272-9138-f99709370657
2007-02-15 22:51:45 +00:00
Nicolas Pennequin
7ba8aec5af * Add support for an optional y coordinate to the progressbar (from FS #4783).
* Modify the 'Rockboxed' WPS to make use of this new coordinate. It improves the display of 
cuesheet/A-B markers a lot and cleans the bitmaps up a bit.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12321 a1c6a512-1295-4272-9138-f99709370657
2007-02-15 22:17:01 +00:00
Magnus Holmgren
375b7e0f85 Size-optimize the bookmarking code a bit (~450 bytes code, 350 bytes BSS on ColdFire).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12320 a1c6a512-1295-4272-9138-f99709370657
2007-02-15 22:13:14 +00:00
Jens Arnold
1f1da8e4ae Fix 64 bit warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12319 a1c6a512-1295-4272-9138-f99709370657
2007-02-15 21:07:10 +00:00
Jens Arnold
e393b8e359 Replaced some explicit options for target linking with to be consistent with the sims.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12318 a1c6a512-1295-4272-9138-f99709370657
2007-02-15 20:28:08 +00:00