Commit graph

2609 commits

Author SHA1 Message Date
Karl Kurbjun
2bb7c422ea Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21281 a1c6a512-1295-4272-9138-f99709370657
2009-06-13 21:26:50 +00:00
Karl Kurbjun
4d41886caa M:Robe 500: Fix up 256 color blitting when in portrait mode, fix a mistake in the plugin linker script, reduce the amount of memory used by overwriting IRAM with bss after program has started, clean up some tabs and formatting, resize the simulator when building for 640x480
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21280 a1c6a512-1295-4272-9138-f99709370657
2009-06-13 20:59:03 +00:00
Karl Kurbjun
414f6c558b Add appropriate sized cards for 640x480 screens based on svg-cards-2.0. SOURCES is setup for 640x480 on a number of plugins as well, but graphics are not committed yet: will add as plugins are tested
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21279 a1c6a512-1295-4272-9138-f99709370657
2009-06-13 20:52:38 +00:00
Magnus Holmgren
a7621fcb8b Correct the includes; the old way broke parallel builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21234 a1c6a512-1295-4272-9138-f99709370657
2009-06-09 11:23:25 +00:00
Alexander Levin
5ba9fe0fc3 Fix case in the constant
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21217 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 17:26:25 +00:00
Thomas Martitz
995f64c227 Pictureflow: Don't show the playback control one targets that can't have playback in pictureflow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21216 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 16:39:24 +00:00
Jens Arnold
1d6df54df2 Convert a number of places in core and plugins to use the BIT_N() macro instead of 1<<n. Speeds up things on SH1, and also reduces core binsize. Most notable speedups: 1 bit lcd driver: drawpixel +20%, drawline + 27%, hline +5%; jpeg viewer: +8% for 1/8 scaling. Other targets are unaffected.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21205 a1c6a512-1295-4272-9138-f99709370657
2009-06-07 21:27:05 +00:00
Dominik Wenger
f1070944c5 pdbox: new patch by wincent. make s_print work on sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21202 a1c6a512-1295-4272-9138-f99709370657
2009-06-07 19:13:45 +00:00
Rafaël Carré
112e9ea1ef Sansa Fuze : use single press HOME button for exiting battery_bench
If button_get() is used in blocking mode, it will not return BUTTON_REPEAT information

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21198 a1c6a512-1295-4272-9138-f99709370657
2009-06-06 09:08:11 +00:00
Andrew Mahone
840ab7c724 Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21173 a1c6a512-1295-4272-9138-f99709370657
2009-06-03 06:06:11 +00:00
Andrew Mahone
19ac88475d PictureFlow: subtract space used to load plugin from available audio buffer space if needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21172 a1c6a512-1295-4272-9138-f99709370657
2009-06-03 00:54:53 +00:00
Dominik Wenger
8010eafdf7 pdbox: correct makefile for make reconf. From wincent balin (FS#10244).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21169 a1c6a512-1295-4272-9138-f99709370657
2009-06-02 20:24:05 +00:00
Thomas Martitz
d3d66f172a Deactivate the playback capabilites for targets with PLUGIN_BUFFER_SIZE <= 0x10000, as they're not capable of playback due to the use of plugin_get_audio_buffer().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21167 a1c6a512-1295-4272-9138-f99709370657
2009-06-02 20:06:33 +00:00
Maurus Cuelenaere
9c3e679d18 Lua: add touchscreen_set_mode & current_path (+ some constants)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21165 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 22:31:32 +00:00
Maurus Cuelenaere
82eea9ed69 Lua: add bitlib (makes bitwise operators possible)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21164 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 22:02:18 +00:00
Jens Arnold
c1d27d105c Speed up mono bitmap drawing on horizontally packed greyscale targets (greyscale iPods). Average speedup is 80% on PP5002, and 55% on PP502x. * Simplify mono bitmap drawing in the 16 bit driver and the greylib a bit, also giving a slight speedup (3% on PP502x, 1.5% on coldfire).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21163 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 21:28:03 +00:00
Thomas Martitz
c825fbac93 Move the ONDIO_PAD to the others which have the same keymap in the generic directions PLA context.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21158 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 17:33:20 +00:00
Andrew Mahone
e0f4eafb68 Add Bob Jenkins' lookup3 32-bit and 64-bit hashes to pluginlib.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21155 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 13:40:30 +00:00
Thomas Martitz
de2d99a177 A bit more work on playback controlling pictureflow:
*) Fix that the generated playlist can't be resumed after reboot
*) make it work with shuffle

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21151 a1c6a512-1295-4272-9138-f99709370657
2009-05-31 19:19:34 +00:00
Andrew Mahone
29d7db4a46 Replace use of CONTEXT_CUSTOM by get_custom_action with new CONTEXT_PLUGIN, to prevent conflicts with core contexts using CONTEXT_CUSTOM, and use CONTEXT_TREE as the base context for PictureFlow's custom contexts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21149 a1c6a512-1295-4272-9138-f99709370657
2009-05-31 17:47:56 +00:00
Thomas Martitz
c69331ef32 Restructure/cleanup the album list buttom mapping, removing it entirely for scrollwheel. No functional change (scrollwheel didn't use it before, anyway).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21148 a1c6a512-1295-4272-9138-f99709370657
2009-05-31 16:56:54 +00:00
Thomas Martitz
2ccbff32e1 Attach the playback control menu to pictureflow's main menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21145 a1c6a512-1295-4272-9138-f99709370657
2009-05-31 15:08:07 +00:00
Thomas Martitz
8b8768bfff Commit the first part of FS#10263: Starting playback from within pictureflow, by creating a playlist from the tracklist and playing it. The database integration part is postponed until it's more featured.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21143 a1c6a512-1295-4272-9138-f99709370657
2009-05-31 14:40:25 +00:00
Maurus Cuelenaere
acbbf93615 Lua: make sure action.h gets C preprocessed before processing it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21123 a1c6a512-1295-4272-9138-f99709370657
2009-05-28 22:02:53 +00:00
Dominik Wenger
bebc8587cf pdbox: new patch from wincent balin. make m_memory.c work in rockbox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21117 a1c6a512-1295-4272-9138-f99709370657
2009-05-28 16:42:32 +00:00
Rafaël Carré
5f20e5aefc FS#10256 by Frank Oosterhuis : use HOME button to quit plugins
Also remove a duplicated SANSA_CLIP_PAD in pictureflow

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21115 a1c6a512-1295-4272-9138-f99709370657
2009-05-28 15:57:29 +00:00
Andrew Mahone
371af77a4a Use core splash for PictureFlow's error_wait, exit error display 2s after any keypress, remove DEBUGF committed accidentally.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21113 a1c6a512-1295-4272-9138-f99709370657
2009-05-28 10:35:42 +00:00
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