Commit graph

21565 commits

Author SHA1 Message Date
Dave Chapman
71f0814e52 Make ipodpatcher compile on *BSD and recent Linux distributions - htole16/htole32 are standard BSD functions, and they now also appear in glibc 2.9 or later on Linux. As the functions are so simple, we just rename to avoid a clash instead of attempting to use the library versions on some platforms. Same as fix provided in FS#10428 by Alyssa Milburn.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22164 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 20:03:17 +00:00
Mohamed Tarek
9ad071dcaf Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22163 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 18:57:10 +00:00
Mohamed Tarek
ac2ce3a449 Enhance seeking in a52_rm ; it was a bit choppy, and fix a bug (request_buffer was called after eos and gave a seg fault) by changing the the
condition for the decoding loop.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22162 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 18:36:44 +00:00
Michael Giacomelli
2b3b36a480 Remove unneeded blackjack defines for the YH series.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22161 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 18:01:03 +00:00
Wincent Balin
837267247a Insert pdbox into build system, currently only for H300.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22160 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 16:02:40 +00:00
Wincent Balin
1f9675227a PDBox: Undoing incorrect changes of math functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22159 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 15:17:34 +00:00
Mohamed Tarek
010bb8e6ba Rename codecs/dnet.c to codecs/a52_rm.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22158 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 15:05:56 +00:00
Wincent Balin
6a2e43d46f PDBox: Simplified some math functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22157 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 15:02:09 +00:00
Michael Giacomelli
9e60246215 Add Jens Erdmann to CREDITS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22156 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 14:30:01 +00:00
Mohamed Tarek
26cee86a0c Add support for AC3 audio in RM container.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22155 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 13:54:06 +00:00
Wincent Balin
7996e77334 PDBox: Use correct values of maximal string size for snprintf.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22154 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 13:52:43 +00:00
Thomas Martitz
28fbb49c0b Fix for:
FS#10031 - "improper sorting of names with underscores when Interpret numbers when sorting is used" and
FS#10200 - "Incorrect sorting of roman numerals when whole numbers selected"

a) By using tolower instead of toupper for case-insensitive sorting
b) By not ignoring spaces (which isn't really what we aimed for anyway).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22153 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 13:00:40 +00:00
Mohamed Tarek
3c58b26152 Move the DATA_HEADER_SIZE define to codecs/librm/rm.h and add a define
for PACKET_HEADER_SIZE. No functional changes.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22152 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 06:10:03 +00:00
Karl Kurbjun
c2480c33f7 Invadrox: Add support for 640x480 screens.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22151 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 05:22:10 +00:00
Michael Giacomelli
db9fe1ba23 Always do an SVN up before committing . . . hopefully fixes red by defining more buttons. Unfortunately I'm not sure what blackjack should be so I've left it incomplete until someone comes up with a working keymap.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22150 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 03:26:03 +00:00
Michael Giacomelli
594b6e2b49 Commit FS#10251. Plugins for the YH-820, YH-920, and YH-925 by Jens Erdmann with improvements and bitmap graphics by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22149 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 03:08:32 +00:00
Wincent Balin
11ac0b3f2a PDBox: Minor addition and bugfixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22148 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 02:04:24 +00:00
Wincent Balin
bec80ca7dd PDBox: Added GUI.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22147 a1c6a512-1295-4272-9138-f99709370657
2009-08-04 02:01:55 +00:00
Thomas Martitz
218b31272e Remove the wrapper around the wrapper (wps_data_load) and handle loading hardcoded wps in case of a broken file directly in wps.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22146 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 22:39:27 +00:00
Magnus Holmgren
04be8dd7fe Fix inaccurate time display for 44.1 (and 22.05) kHz MP3 audio tracks. Time was off by about 0.2%. Doesn't sound much, but after one hour, that's 8 seconds. Also fix a problem when seeking to near the end of a file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22145 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 20:28:16 +00:00
Dominik Riebeling
3de77e0d47 Add missing svn:keywords property.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22144 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 17:59:38 +00:00
Teruaki Kawashima
2357ec4178 calendar: fix bug when add new event text longer than last entry.
blackjack: fix bug that bet becomes 10 when resume saved game.
bubbles: save high level to sparate file.
clix, spacerocks, jewels, bubbles: correct text of menu item.
wormlet: clean up code: removed unused defines and functions.
pluginlib display_text: insert sleep so that the screen doesn't quit immediately.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22143 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 16:30:08 +00:00
Thomas Martitz
3228756324 Fix yellows relvealed by the ABS() rework tonight. The abs() didn't seem to make much sense there anyway. Thanks Dave Chapman.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22142 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 15:49:46 +00:00
Thomas Martitz
cc05424e44 Fix reds for IAP and a missing #include.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22141 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 15:46:21 +00:00
Thomas Martitz
2287dd9daa Remove find_albumart() from the plugin API as it doesn't exist for them.
Remove lcd_set_viewport() too, and replace the calls with the appropriate multi-screen api calls as calling lcd_* functions should be avoided in favor of the api.
Bump API version and sort a bit.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22140 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 15:09:41 +00:00
Thomas Martitz
3b75c86d74 A bit mroe wps/skin engine cleanup so that the structs the wps uses can be static:
-add wrappers wps_data_load() and wps_data_init() so that other code doesn't need the structs for that
-change (and rename) gui_sync_wps_uses_albumart() to take points to be filled as parameter to get the AA size of a wps

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22139 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 15:06:30 +00:00
Bertrik Sikken
0dc5cc8002 Samsung YP-S3: update bootloader demo app with test code for the wmcodec (volume control of fm radio)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22138 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 14:24:28 +00:00
Jonathan Gordon
0ce5b3296f one more add which didnt get added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22137 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 05:06:26 +00:00
Jonathan Gordon
b5442f8752 these didnt get renamed for some reason
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22136 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 04:57:43 +00:00
Jonathan Gordon
3e7444ff87 part two of the grand overall wps/skinning engine cleanup work:
* rename wps_engine to skin_engine as that was agreed on
* rename music_screen back to wps
* clean up the skin display/update functions a bit
* make skin_data_load setup the hardcoded default if a skin cant be loaded for whatever reason instead of doing it when it is first displayed

ignore any gui_wps or wps_ or gwps_ nameing in skin_engine/ ... these will be renamed as this work gets finished


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22135 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 04:43:34 +00:00
Karl Kurbjun
48b7e8ca27 Reversi: Make Reversi respect the global touchscreen setting when in a menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22134 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 03:01:04 +00:00
Karl Kurbjun
f011154728 Clix: Forgot ifdefs around touchscreen_set_mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22133 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 02:58:58 +00:00
Karl Kurbjun
4bc1646263 Clix: Make Clix respect the global touchscreen setting when in a menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22132 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 02:56:55 +00:00
Karl Kurbjun
e18b8f3856 Calculator: Enable absolute mode for touchscreens.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22131 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 02:11:02 +00:00
Thomas Martitz
16a6453842 Don't recalculate the array length during the loop, use the ARRAYLEN macro and correct the type of the variable i.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22130 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 01:42:08 +00:00
Thomas Martitz
85ece84b1c Remove various ABS() definitions with a single one using typeof (if using gcc) to avoid multiple evaluations of the input expressions. Speex still uses its own as I didn't want to change this imported code too much.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22129 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 01:38:58 +00:00
Karl Kurbjun
af6060a987 Fix X5/M5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22128 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 01:32:31 +00:00
Karl Kurbjun
85bdac9149 Fix warning and ZVM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22127 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 01:24:08 +00:00
Karl Kurbjun
50d3928901 Blackjack: Use standard menu and add playback menu, use pluginlib high scores.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22126 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 01:07:58 +00:00
Thomas Martitz
bbc9aebae3 Fix highest succeeded level from the highscores really this time, and don't confuse MIN() and MAX().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22125 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 23:26:02 +00:00
Thomas Martitz
5c09d3741a Cap the level chooser to NUM_LEVELS (100) to avoid accessing level 101, which contains the secret Data Abort Bubble (which looks really funny but is not an Easter Egg). Fix a bug with loading the highest succeeded level from the highscores too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22124 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 23:06:06 +00:00
Thomas Martitz
1015d5fd8f Update the manual screenshot for 176x220x16.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22123 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 22:15:26 +00:00
Thomas Martitz
5291d09aaa Fix red - overlooked renaming in 1 place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22122 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 21:38:03 +00:00
Karl Kurbjun
d66bf05ad2 Reversi: Fix warning, change the text so that it does not resize the board (text does not scroll currently), and fix some target buttons.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22121 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 20:48:04 +00:00
Thomas Martitz
4654b3c90b New bubbles background for 176x220 (Sansa e200), heavily based off a mockup provided by Marianne Arnold.
Also implement some custom text positioning which is needed to display the text boxes horizontally.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22120 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 20:26:25 +00:00
Karl Kurbjun
e21081040c Brickmania: Statusbar should always be drawn at the top of the screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22119 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 17:24:16 +00:00
Thomas Martitz
374b21ef8a Remove two left-over DEBUGFs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22118 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 16:47:06 +00:00
Bertrik Sikken
ee0ab03286 Samsung YP-S3: update backlight brightness curve again (can't go all the way down to 1/256 brightness) and update yp-s3 bootloader demo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22117 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 16:43:58 +00:00
Thomas Martitz
322fae4299 A bit of rework in bubbles:
*) Change saving mechanism: always save into RAM on any exit button, and offer an additional quit item in the game menu (so that 1 item doesn't save -> no disk spinup)
*) Change loading mechanism: always load on entering the game, but delete the save file still on actually resuming (that fixes weirdnesses with the level choosing menu item)
*) Remove the highscores from the bubbles struct.
*) Swap the "Start New Game" and  "Resume Game" menu items to help against accidental deletion of progress.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22116 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 16:41:30 +00:00
Karl Kurbjun
1060326f02 Reversi: Implement dynamic legend/board sixing when necessary for landscape targets based on font size
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22115 a1c6a512-1295-4272-9138-f99709370657
2009-08-02 15:44:52 +00:00