Commit graph

2630 commits

Author SHA1 Message Date
Johannes Schwarz
c2565c9bcf fix small issues in xobox (part of FS#10283 by Teruaki Kawashima)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21522 a1c6a512-1295-4272-9138-f99709370657
2009-06-26 17:14:48 +00:00
Maurus Cuelenaere
3ff84e5e4f Lua: add the package library
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21506 a1c6a512-1295-4272-9138-f99709370657
2009-06-25 13:26:05 +00:00
Maurus Cuelenaere
af980d8bcb Lua: expose BUTTON_* defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21500 a1c6a512-1295-4272-9138-f99709370657
2009-06-24 21:46:17 +00:00
Alexander Levin
7a8e1e8fc0 Clear the display before showing the splash (part of FS#10138 by Teruaki Kawashima)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21498 a1c6a512-1295-4272-9138-f99709370657
2009-06-24 21:19:16 +00:00
Alexander Levin
1f64522a43 Delete the save file immediately after loading it to avoid false tries at the end (part of FS#10138 by Teruaki Kawashima, minor modification by me)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21497 a1c6a512-1295-4272-9138-f99709370657
2009-06-24 21:14:28 +00:00
Alexander Levin
119cfdaa0a Do not unnecessarily change and restore the status bar setting (part of FS#10138 by Teruaki Kawashima)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21493 a1c6a512-1295-4272-9138-f99709370657
2009-06-24 20:17:17 +00:00
Alexander Levin
763a7d7457 Ensure that the file handle is always closed in text editor plugin (part of FS#10138 by Teruaki Kawashima, minor modifications by me)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21491 a1c6a512-1295-4272-9138-f99709370657
2009-06-24 15:18:32 +00:00
Maurus Cuelenaere
388e31cb96 Fix FS#10378: Lua crashes when loading non-existing files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21488 a1c6a512-1295-4272-9138-f99709370657
2009-06-24 10:39:07 +00:00
Rafaël Carré
a98c54f5f1 Do not use lcd_blit_yuv() if MEMORYSIZE <= 2, since mpegplayer won't run anyway (and won't build)
Only affected target: Sansa c200v2

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21453 a1c6a512-1295-4272-9138-f99709370657
2009-06-21 14:09:48 +00:00
Johannes Schwarz
d48592596f Remove viewport menu from star and remove useless button macros in code.(FS#10281)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21422 a1c6a512-1295-4272-9138-f99709370657
2009-06-20 21:51:18 +00:00
Jens Arnold
96904ba7c3 Plugin for testing LCD driver and greylib drawing performance.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21405 a1c6a512-1295-4272-9138-f99709370657
2009-06-20 18:12:34 +00:00
Jens Arnold
f289b9f591 Faster idct for ARMv6. Overall mpegplayer speedup is quite minimal though.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21392 a1c6a512-1295-4272-9138-f99709370657
2009-06-20 14:05:15 +00:00
Andrew Mahone
6a0d931f38 Core JPEG decoder improvements:
For >8-point vertical IDCT, transpose the coefficients while decoding them, so that the vertical IDCT can read in rows rather than columns. This improves speed a bit for this size even using the C IDCT.
Remove inline ARM asm, replacing it with an external file containing pure asm IDCT functions.
Add jpeg_ prefix to JPEG IDCT functions since some of them will now be visible globally.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21345 a1c6a512-1295-4272-9138-f99709370657
2009-06-19 02:56:00 +00:00
Jonathan Gordon
e3cb71d6b1 fix mysterious yellow which was one commit too slow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21308 a1c6a512-1295-4272-9138-f99709370657
2009-06-16 05:32:47 +00:00
Jonathan Gordon
af9f405651 Accept FS#10094 by Teruaki Kawashima:
Replace the old menu API with the "new" one (a very long time overdue so huge thanks for the work.)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21306 a1c6a512-1295-4272-9138-f99709370657
2009-06-16 04:25:21 +00:00
Maurus Cuelenaere
3391bf3543 Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21292 a1c6a512-1295-4272-9138-f99709370657
2009-06-15 13:58:19 +00:00
Maurus Cuelenaere
153ac73c04 Fix helloworld.lua for mono targets (+ add lcd_mono_bitmap() & lcd_mono_bitmap_part() to Lua API)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21291 a1c6a512-1295-4272-9138-f99709370657
2009-06-15 13:46:10 +00:00
Maurus Cuelenaere
e55bdff350 Fix helloworld.lua on grayscale targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21290 a1c6a512-1295-4272-9138-f99709370657
2009-06-15 13:30:03 +00:00
Maurus Cuelenaere
33c87e08e5 Add helloworld Lua script
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21289 a1c6a512-1295-4272-9138-f99709370657
2009-06-15 13:12:52 +00:00
Michael Giacomelli
39691c9cd0 Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21287 a1c6a512-1295-4272-9138-f99709370657
2009-06-15 05:56:48 +00:00
Thomas Martitz
adb55c518b FS#10327: Patch by Frederick Full to fix the scrollwheel and default
controls in Rockbox on the Fuze.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21286 a1c6a512-1295-4272-9138-f99709370657
2009-06-15 05:17:54 +00:00
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