Commit graph

2582 commits

Author SHA1 Message Date
Andrew Mahone
b6bea2dd32 Display error message on screen until user presses SELECT before exiting PictureFlow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21112 a1c6a512-1295-4272-9138-f99709370657
2009-05-28 07:03:13 +00:00
Andrew Mahone
f51189cd5e Suggested by Thomas Martitz, don't check for track-specific files when searching for covers in PictureFlow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21111 a1c6a512-1295-4272-9138-f99709370657
2009-05-28 04:34:07 +00:00
Andrew Mahone
34589f6ccb Suggested by Thomas Martitz, use tagcache_fill_tags to speed up PictureFlow album art search a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21110 a1c6a512-1295-4272-9138-f99709370657
2009-05-28 04:14:56 +00:00
Andrew Mahone
dda7580f8a Remove use of uniqbuf in PictureFlow, preventing crash on 64-bit sim and freeing half of the plugin buffer on targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21109 a1c6a512-1295-4272-9138-f99709370657
2009-05-28 02:44:19 +00:00
Maurus Cuelenaere
1e980cd977 Fix yellow & red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21107 a1c6a512-1295-4272-9138-f99709370657
2009-05-27 23:02:17 +00:00
Maurus Cuelenaere
b2581e143d Lua: add support for os library
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21106 a1c6a512-1295-4272-9138-f99709370657
2009-05-27 22:48:50 +00:00
Michael Giacomelli
57c371ee0e Commit next part of FS# 10138 by Teruaki Kawashima. Check for PLAY_MODE before enabling pause after hold. Fixes a bug where toggling hold would confuse the game state.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21104 a1c6a512-1295-4272-9138-f99709370657
2009-05-27 20:35:30 +00:00
Michael Giacomelli
e299fb3716 Commit next part of FS# 10138 by Teruaki Kawashima. Replace ROCKBOX_DIR and related defines with PLUGIN_APPS_DIR or PLUGIN_GAMES_DIR.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21103 a1c6a512-1295-4272-9138-f99709370657
2009-05-27 20:31:07 +00:00
Michael Giacomelli
dc4b3a4fe1 Commit next part of FS# 10138 by Teruaki Kawashima. Removed unneeded error checks in plugin lib.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21102 a1c6a512-1295-4272-9138-f99709370657
2009-05-27 20:26:35 +00:00
Michael Giacomelli
95fb201fac Commit next part of FS#10138 by Teruaki Kawashima. Fixes mistaken error return value in pictureflow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21101 a1c6a512-1295-4272-9138-f99709370657
2009-05-27 19:27:46 +00:00
Michael Giacomelli
9e21a42509 Commit next part of FS#10138 by Teruaki Kawashima. Fixes check for open error in rocklife.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21100 a1c6a512-1295-4272-9138-f99709370657
2009-05-27 19:21:05 +00:00
Peter D'Hoye
3ca0614de9 Next round of pdbox patches from Wincent Balin: adapt dbestfit to rockbox, ifdef some printfs, and more
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21095 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 21:07:40 +00:00
Alexander Levin
84ea607813 Fix typo in the menu entry
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21094 a1c6a512-1295-4272-9138-f99709370657
2009-05-26 20:36:15 +00:00
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
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
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
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
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
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
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
Rafaël Carré
8872b60fb9 Don't build mpegplayer on targets with 2MB of RAM or less since it won't run
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21033 a1c6a512-1295-4272-9138-f99709370657
2009-05-22 10:44:32 +00:00
Maurus Cuelenaere
522aa2e6c9 Fix the 'cannot create /.../apps/plugins/lua/actions.lua: Directory nonexistent' error
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21027 a1c6a512-1295-4272-9138-f99709370657
2009-05-22 10:27:01 +00:00
Steve Gotthardt
0b57fe78f6 FS#10211 Clear full size of display of calculator; not rounded size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21026 a1c6a512-1295-4272-9138-f99709370657
2009-05-22 04:03:14 +00:00
Maurus Cuelenaere
fb6b15980a Lua:
* remove debug statement from llex.c
 * add DEBUGF to rocklua.c on parse error
 * add file_exists wrapper


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21025 a1c6a512-1295-4272-9138-f99709370657
2009-05-22 01:03:22 +00:00
Maurus Cuelenaere
2cd4a94bdc Lua: add file handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21024 a1c6a512-1295-4272-9138-f99709370657
2009-05-22 00:06:45 +00:00
Maurus Cuelenaere
bcfba08055 Lua: add actions.lua to the zip file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21023 a1c6a512-1295-4272-9138-f99709370657
2009-05-21 21:58:18 +00:00
Maurus Cuelenaere
a9b2d1b5fa Lua: fix some issues with rocklib
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21022 a1c6a512-1295-4272-9138-f99709370657
2009-05-21 19:42:14 +00:00
Maurus Cuelenaere
7a04a54c52 Forgot to remove this testing code..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21021 a1c6a512-1295-4272-9138-f99709370657
2009-05-21 19:22:29 +00:00
Maurus Cuelenaere
cf87597226 Commit FS#9174: Lua scripting language by Dan Everton
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21020 a1c6a512-1295-4272-9138-f99709370657
2009-05-21 19:01:41 +00:00
Andrew Mahone
f28fcb0f32 Fix cover corruption reported in PictureFlow by Maurus Cuelenaere, bump CACHE_VERSION to force cache rebuilds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21005 a1c6a512-1295-4272-9138-f99709370657
2009-05-21 01:08:57 +00:00
Thomas Martitz
a9fdf86459 Fix reds and yellows. The targets that showed have more that just #define (like inline functions) in their soc specific header, which the linker doesn't like of course.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21002 a1c6a512-1295-4272-9138-f99709370657
2009-05-20 23:30:24 +00:00
Thomas Martitz
4633446517 Sansa AMS: Centralise mapping of RAM and IRAM in as3525.h via #defines. This will hopefully make ongoing mmu work easier as less places need to be changed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21000 a1c6a512-1295-4272-9138-f99709370657
2009-05-20 21:09:53 +00:00
Rafaël Carré
a57a391483 Sansa Fuze : fix r20680 for pong plugin (BUTTON_REPEAT can't be used)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20994 a1c6a512-1295-4272-9138-f99709370657
2009-05-20 11:15:08 +00:00
Andrew Mahone
6cae42fcca Support JPEG album art in sliding_puzzle.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20993 a1c6a512-1295-4272-9138-f99709370657
2009-05-20 09:47:11 +00:00
Marianne Arnold
f772673572 Rockblox: make sure the new restart combo on Player and Ondio does not interfere with the usual 'quit', even when pressing the Stop (or Off) button first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20984 a1c6a512-1295-4272-9138-f99709370657
2009-05-18 21:30:06 +00:00
Andrew Mahone
e631d1fb28 Use TIME_BEFORE in bench_* plugins, and use 10s test duration.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20983 a1c6a512-1295-4272-9138-f99709370657
2009-05-18 20:21:03 +00:00
Bertrik Sikken
0023943439 Fix duplicate #includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20977 a1c6a512-1295-4272-9138-f99709370657
2009-05-17 14:50:19 +00:00
Thomas Martitz
9a2e8c293d Correct a little typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20970 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 20:45:00 +00:00