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
Andrew Mahone
e20548f93e
Add a simple benchmark plugin for the scaler, using the pluginlib import of resize_on_load.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20969 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 20:12:39 +00:00
Thomas Martitz
399a094b65
Resume feature for Rockblox by dumping the state upon exiting and loading it when starting rockblox.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20967 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 18:52:00 +00:00
Thomas Martitz
732ef1e157
Use a struct for the necessary status variables for rockblox. Will make dumping the status easier for the upcoming resume addition.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20966 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 17:12:07 +00:00
Thomas Martitz
ba5618a253
Define a restart button for Ondio and Player for Rockblox.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20965 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 16:48:18 +00:00
Andrew Mahone
203e4b38cd
FS#9971 superdom fixes from Teruaki Kawashima.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20959 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 08:20:54 +00:00
Andrew Mahone
cfc022bbfc
Add include to pluginlib_jpeg_mem.c to prevent warning noise with -Wmissing-prototypes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20957 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 08:20:41 +00:00
Andrew Mahone
4cd86c0e94
Use new buflib extensions to avoid static allocation for track list, by shifting space out of the buffer and freeing slides as needed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20953 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 00:45:13 +00:00
Andrew Mahone
c909878f94
Extend buflib to support shifting space out off the buffer for other use, and returning space to the buffer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20952 a1c6a512-1295-4272-9138-f99709370657
2009-05-16 00:45:08 +00:00
Karl Kurbjun
d8c7285b2a
M:Robe 500: Commit some minor changes and some keymap changes (short press power takes you out of the WPS)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20942 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 13:43:30 +00:00
Andrew Mahone
5bb30c25fd
Sort by and display disc number in PictureFlow, increase MAX_TRACKS to 128, prevent display of garbage tracklist on failure.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20940 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 06:46:05 +00:00
Andrew Mahone
ad5d665620
Clean up create_track_index, fixing FS#9333, and use tagcache-provided length instead of strlen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20938 a1c6a512-1295-4272-9138-f99709370657
2009-05-15 05:44:54 +00:00
Thomas Martitz
1123115559
Rockblox: Show Highscore list on 176x220 (e200). The space between the score and level is ommitted, since there's no room (the L is sufficient as seperator).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20928 a1c6a512-1295-4272-9138-f99709370657
2009-05-13 17:45:07 +00:00
Rafaël Carré
e1f343afc7
Sansa Fuze : Fix r20680/FS#10075 (long HOME to exit plugins)
...
Some plugins were forgotten : mpegplayer, test_fps, test_scanrate
Some plugins use button_status() and can't use BUTTON_REL or BUTTON_REPEAT flags
rockblox1d : use single press BUTTON_HOME
doom : use single press BUTTON_HOME and BUTTON_POWER to open doors
I may have forgotten some plugins, I didn't test them one by one
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20925 a1c6a512-1295-4272-9138-f99709370657
2009-05-13 08:27:36 +00:00
Rafaël Carré
b1d03ccee7
FS#10118 & FS#10165 : lcd_blit_yuv() for Sansa Fuze & Sansa e200v2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20919 a1c6a512-1295-4272-9138-f99709370657
2009-05-12 13:22:39 +00:00
Andrew Mahone
c7f1347d8f
Undo overlay test change which should not have been committed, should return PictureFlow to working during playback on non-Archos targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20916 a1c6a512-1295-4272-9138-f99709370657
2009-05-11 23:53:32 +00:00