Commit graph

20567 commits

Author SHA1 Message Date
Andrew Mahone
92785b8f2f Use pre-multiplication in scaler to save one multiply per color component on ARM and Coldfire, at the cost of an extra add/shift in the horizontal scaler to reduce values to a workable range. SH-1 retains the same basic math, as
the use of 16x16->32 hardware multiplication in the earlier scaler stages saves more than removing the 32x32->40 multiply to descale output.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21091 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 20:00:47 +00:00
Antoine Cellerier
c4ed88f593 FS #10233 by Johannes Schwarz: "The following patch allows the user to resume his xobox game. The user has got the possibility to change the speed or the difficulty during the game and the option to select for example next track."
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21090 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 19:14:26 +00:00
Magnus Holmgren
7d0fef7c2e Update the Swedish translation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21089 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 19:02:19 +00:00
Rafaël Carré
ef9aacb2e0 FS#10245 by Jack Halpin : Adjust Clocking scheme on Sansa AMS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21088 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 18:44:02 +00:00
Thomas Martitz
29bbcebee4 Samsung YH*: enable bmp scaler and core jpeg support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21087 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 22:59:23 +00:00
Thomas Martitz
fc94095436 Samsung YH*: A few keymap tweaks (still nothing final yet)
-Change quickscreen combo to FFWD+RIGHT (not really happy with it though)
-make context menu work in wps and browser (long select)
-remove pitchscreen and id3screen combos for now
-change yesno screen accept button to select

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21086 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 22:40:49 +00:00
Daniel Stenberg
5bbf89e89a fix yellow by acknowledging the fread() return code and also allow
gigabeat_s_code() to actually return an error code if it fails


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21084 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 21:42:44 +00:00
Mark Arigo
758bb3bc62 3 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio working on 820 & 925 (untested on the 920). No battery readings. No recording. No plugins. Keymap needs work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21083 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 21:10:45 +00:00
Maurus Cuelenaere
d2ea7db6f5 Should fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21082 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 20:15:02 +00:00
Marc Guay
244afc0a0f Improve the c100 keymap and button names.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21081 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 20:04:31 +00:00
Maurus Cuelenaere
cd5e98db08 Lua: re-use the viewport pointer; also use the shorter lua_getfield() & lua_setfield() notations (thanks Antoine Cellerier)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21080 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 19:05:53 +00:00
Marc Guay
b50f18d50c Specify that the Battery Capacity setting is used for runtime estimation, not battery percentage remaining.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21079 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 18:03:58 +00:00
Maurus Cuelenaere
0bddb7eb65 Fix FORMAT_RETURN_SIZE in read_bmp_*() when scaling (thanks to Andrew Mahone)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21078 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 15:19:34 +00:00
Maurus Cuelenaere
7b16010838 Fix some typos
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21077 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 14:56:59 +00:00
Maurus Cuelenaere
06ba3cceec Lua: port viewports + add test_viewports.lua
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21076 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 14:21:17 +00:00
Maurus Cuelenaere
88cf5b307a Fix mingw & cygwin builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21075 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 12:00:13 +00:00
Maurus Cuelenaere
aec37aa5fe * read_bmp_*(): add FORMAT_RETURN_SIZE
* Lua: add luaL_checkboolean() & luaL_optboolean()
* Lua: add read_bmp_file


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21074 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 11:12:27 +00:00
Rafaël Carré
b0e0ec832b mkamsboot: really error out if OF model is different from bootloader model
Error out if firmware md5sum isn't known, and leave the current code #if 0'ed for easier testing

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21073 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 10:35:15 +00:00
Michael Giacomelli
14cd7d71a3 Forgot to add Eric Clayton to the CREDITS file for FS #10234.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21072 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 00:46:40 +00:00
Michael Giacomelli
62bf9f40fc Commit FS#10234 - Spacerocks respawn invulnerability by Eric Clayton. Gives you a couple seconds of invulnerability after respawn.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21071 a1c6a512-1295-4272-9138-f99709370657
2009-05-24 23:42:32 +00:00
Peter D'Hoye
526b5580da Cut the files in half and it might work better (note to self: check your tree is really clean before patching)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21070 a1c6a512-1295-4272-9138-f99709370657
2009-05-24 21:28:16 +00:00
Frank Gevaerts
4f2dfcc01b always call the class driver init function. This is needed because they are called before the usb_core_enable_driver() calls, so depending on enabled status breaks things
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21069 a1c6a512-1295-4272-9138-f99709370657
2009-05-24 20:46:57 +00:00
Alex Parker
964106a20d Fix manual building.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21068 a1c6a512-1295-4272-9138-f99709370657
2009-05-24 18:59:47 +00:00
Thomas Martitz
6de2f14b23 Fix FS#10231. The gwps_leave_wps() call at powering down is completely unnecessary anyway as it's meant to prepare the displaying of the next screen, which isn't needed when there's no next screen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21067 a1c6a512-1295-4272-9138-f99709370657
2009-05-24 16:09:00 +00:00
Mohamed Tarek
45f72e933a Move rm.[c/h] from libcook to librm. No functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21066 a1c6a512-1295-4272-9138-f99709370657
2009-05-24 14:10:51 +00:00
Maurus Cuelenaere
6af0cfdac0 Lua: /me should learn about C arrays.. :/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21065 a1c6a512-1295-4272-9138-f99709370657
2009-05-24 02:28:03 +00:00
Maurus Cuelenaere
6f6cfed6ce Lua: fix rocklua_image issue + add LCD_RGBPACK & LCD_RGBUNPACK wrappers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21064 a1c6a512-1295-4272-9138-f99709370657
2009-05-24 02:18:03 +00:00
Maurus Cuelenaere
86fe1e8b5c Lua: add image handling + some other wrappers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21063 a1c6a512-1295-4272-9138-f99709370657
2009-05-24 01:54:15 +00:00
Frank Gevaerts
ce7738e617 fix another keymap (FS#10237 by Tomer Shalev)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21062 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 16:13:01 +00:00
Alessio Lenzi
e929875c67 Updated italian language file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21061 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 16:11:21 +00:00
Frank Gevaerts
47a3b73de7 don't disable usb storage by accident
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21060 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 15:50:22 +00:00
Frank Gevaerts
35d9323889 fix some keymaps to actually compile (FS#10237, by Tomer Shalev)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21059 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 15:48:11 +00:00
Frank Gevaerts
7a8c615de3 swap bootloader and non-bootloader cases around to avoid an ugly #ifndef
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21058 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 15:19:11 +00:00
Frank Gevaerts
ee1b6aa237 Fix wrong #ifdefs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21057 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 15:10:10 +00:00
Frank Gevaerts
13c6086b71 Fix wrong #ifdefs that sneaked in
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21056 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 15:05:01 +00:00
Frank Gevaerts
7557d5679d Clarify comment and clean up a bit (FS#10227 by Tomer Shalev)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21055 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 14:50:30 +00:00
Frank Gevaerts
08fb988e87 Add HID keymap handling in usb screen. This allows to use the DAP as a keypad to control the PC. The current keymaps are audio-oriented (play/pause/volume/...) (FS#10218 by Tomer Shalev)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21054 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 14:42:54 +00:00
Frank Gevaerts
c61a75173b Reorganise USB stack defines. Now config.h decides which class drivers get enabled instead of usb_core.h
Also enable HID, and use that as the dummy class instead of charging-only for controllers that have working interrupt transfers.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21053 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 14:30:20 +00:00
Frank Gevaerts
bca3d3dca4 Fix #ifdef nesting to allow USB_HID to be built without USB_CHARGING_ONLY (FS#10236 by Tomer Shalev)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21052 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 12:41:46 +00:00
Andrew Mahone
802ea462d0 Load PictureFlow logo from disk, discarding it after splash screen is done and freeing the used space for the slide cache.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21051 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 07:55:14 +00:00
Peter D'Hoye
9be554cb6a Patch by Wincent Balin of PDa plugin: update readme and disable shared libraries
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21050 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 06:26:31 +00:00
Peter D'Hoye
655ae81cf8 Patch from Wincent Balin: Remove some duplicate code from the PDa plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21049 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 06:24:18 +00:00
Maurus Cuelenaere
1865af9a6d Lua: add stack traceback when erroring out
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21048 a1c6a512-1295-4272-9138-f99709370657
2009-05-22 23:46:01 +00:00
Maurus Cuelenaere
d4ebb80578 Set svn properties
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21047 a1c6a512-1295-4272-9138-f99709370657
2009-05-22 23:14:29 +00:00
Maurus Cuelenaere
0f7e4e36ae Lua:
* add action_get_touchscreen_press wrapper
 * fix kbd_input wrapper
 * rework luaL_loadfile
 * add rb.contexts


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21046 a1c6a512-1295-4272-9138-f99709370657
2009-05-22 22:44:34 +00:00
Peter D'Hoye
475b5dc2bb Update Dutch language file. Not overly happy with the translation of this, though...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21045 a1c6a512-1295-4272-9138-f99709370657
2009-05-22 22:18:02 +00:00
Peter D'Hoye
513389b4c1 Add FS #10214. Initial commit of the original PDa code for the GSoC Pure Data plugin project of Wincent Balin. Stripped some non-sourcefiles and added a rockbox readme that needs a bit more info from Wincent. Is added to CATEGORIES and viewers, but not yet to SUBDIRS (ie doesn't build yet)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21044 a1c6a512-1295-4272-9138-f99709370657
2009-05-22 21:58:48 +00:00
Mohamed Tarek
95fa7f6a2e Move the code segment that corrects the value of (number of packets) to
the parser. This is strictly parser-related and main.c shouldn't have to 
deal with it.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21043 a1c6a512-1295-4272-9138-f99709370657
2009-05-22 20:35:20 +00:00
Mohamed Tarek
b63028d80a Modify the test program to read audio frames from a memory buffer rather
than a file descriptor, to make the decoding process as much similar 
as to how it should be in rockbox.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21042 a1c6a512-1295-4272-9138-f99709370657
2009-05-22 20:23:38 +00:00
Mohamed Tarek
694b3b734f -Remove some unnecessary defines from rm.c.
-Modify code related to the renamed rm.[c/h] instead of rm2wav.[c/h].
-Remove struct cook_extradata from rm.c as it is not used.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21041 a1c6a512-1295-4272-9138-f99709370657
2009-05-22 19:51:36 +00:00