Jens Arnold
2f67cdc3e8
Make unnecessarily static local variables non-static. It's more efficient, and it also fixes the weird lines with EABI on ARM7TDMI, although it doesn't explain them.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26995 a1c6a512-1295-4272-9138-f99709370657
2010-06-20 16:33:00 +00:00
Jonathan Gordon
6efc8d5bc1
remainder of FS#11270 - bug fixes and updates for picureflow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26713 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 06:24:22 +00:00
Jonathan Gordon
4017fd2928
fix errors
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26711 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 05:37:56 +00:00
Jonathan Gordon
d871ff8cce
FS#11270 by Chris Savery - WPS integration for pictureflow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26710 a1c6a512-1295-4272-9138-f99709370657
2010-06-09 04:25:41 +00:00
Michael Sevakis
e63e84a5df
Convert some more stuff to mylcd_ and support pgfx as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26543 a1c6a512-1295-4272-9138-f99709370657
2010-06-04 13:22:50 +00:00
Thomas Martitz
c61e89c0ed
Make creat() posix compliant API-wise. Shouldn't affect the core as it's wrapped via a static inline.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25843 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 17:35:04 +00:00
Szymon Dziok
7074a64d8a
Packard Bell Vibe 500: Finish plugin keymaps. Rockbox compiles clean now for the target.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24658 a1c6a512-1295-4272-9138-f99709370657
2010-02-14 21:56:53 +00:00
Thomas Martitz
5629d551d7
Accept the last patch FS#10797 with a few changes by me (fixing side effects and adding the new backdrop_hide() to the multi screen api). It changes the hide_bars parameter to mean hide_theme.
...
This makes plugins show the menu backdrop in their backdrop so that they don't look like crap if you have an sbs and look more integrated. I've test about all plugins and all work fine.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24335 a1c6a512-1295-4272-9138-f99709370657
2010-01-26 20:14:42 +00:00
Teruaki Kawashima
e3fc65cfff
change dependencies in make files:
...
* apps.make: depends on ctype.o instead of errno.o to depend on config-*.h so that it works for simulator.
* lang.make: add dependency of lang.h to make it sure that the file is updated properly when needed.
* plugins.make: object files don't depend on libpluginbitmaps.a.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24256 a1c6a512-1295-4272-9138-f99709370657
2010-01-17 13:03:10 +00:00
Tomer Shalev
47ddbaa47b
Cowon D2: Rename COWOND2_PAD -> COWON_D2_PAD to match macro used in manual, and
...
to target naming conventions in general
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24010 a1c6a512-1295-4272-9138-f99709370657
2009-12-15 20:51:41 +00:00
Tomer Shalev
cfe82de670
PictureFlow: Add PF_MENU action to touchscreen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23976 a1c6a512-1295-4272-9138-f99709370657
2009-12-13 20:27:55 +00:00
Karl Kurbjun
0ba0fbb3e7
Pictureflow: Fix define
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22608 a1c6a512-1295-4272-9138-f99709370657
2009-09-02 12:04:11 +00:00
Karl Kurbjun
f0becad4a1
Pictureflow: Add support for vertical strides.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22604 a1c6a512-1295-4272-9138-f99709370657
2009-09-02 03:32:50 +00:00
Teruaki Kawashima
dbce22dc68
use set_option instead of menu api for some settings of plugins to make it clear it's a setting.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22189 a1c6a512-1295-4272-9138-f99709370657
2009-08-06 14:01:47 +00:00
Nils Wallménius
3d4701a6e4
FS#10080
...
* Move strncpy() from core to the pluginlib
* Introduce strlcpy() and use that instead in most places (use memcpy in a few) in core and some plugins
* Drop strncpy() from the codec api as no codec used it
* Bump codec and plugin api versions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21863 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 13:57:45 +00:00
Thomas Martitz
f4c31ae309
Adapt pictureflow and random_folder_advance_config to make use of the new goto-wps exit feature.
...
For pictureflow a menu item is added, but the key press that works in the filetree works also (unless it's already remapped),
rfa will go to the wps after selecting "Play Shuffled", as it needs to exit then anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21681 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 22:15:04 +00:00
Andrew Mahone
a967308799
Replace HAVE_SCROLLWHEEL in PictureFlow with USE_CORE_PREVNEXT, defined on targets where special horizontal-scroll mappings are broken or make no sense.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21636 a1c6a512-1295-4272-9138-f99709370657
2009-07-04 16:59:49 +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
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
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
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
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
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
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
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
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
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
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
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
Andrew Mahone
91efc16256
Split 8-bit-to-native conversion in bmp.c into a function, add support for plugging unscaled output in BMP and JPEG loaders, use output_row_8_native in JPEG decoder when possible.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20884 a1c6a512-1295-4272-9138-f99709370657
2009-05-09 07:31:27 +00:00
Andrew Mahone
5621fd393a
Build pictureflow using overlay on lowmem targets, support JPEG AA in PF on all targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20864 a1c6a512-1295-4272-9138-f99709370657
2009-05-07 01:23:13 +00:00