summaryrefslogtreecommitdiff
path: root/apps/plugins/pictureflow (follow)
Commit message (Collapse)AuthorAge
* Replace SAMSUNG_YH920_PAD with YH92XSebastian Leonhardt2016-01-25
| | | | | | | seems more logical to me, and is more consistent, since "SAMSUNG_YH92X_PAD" is already used in the tex files. Change-Id: Ie9a9d850ea86155a7dcf86c88a22a420a10a3837
* YH8xx,YH9xx: Keymap improvementSebastian Leonhardt2015-11-15
| | | | | | | | | | | | | | | The main "innovation" in this patch are two "virtual buttons" for the record switch on YH92x targets. When the switch state changes, a single BUTTON_REC_SW_ON or .._OFF button event will be generated. Thus keymap code can react on switching, but not on the actual state of the switch. Wherever sensible, the following user scheme is applied: - use PLAY as confirm button - use REW button or Long REW to exit - use REC (YH820) or FFWD (YH92X) as modifier key for button combos Change-Id: Ic8d1db9cc6869daed8dda98990dfdf7f6fd5d5a1
* Revert "PictureFlow: Add move callback for buflib allocations"Thomas Jarosch2015-03-01
| | | | | | | | | | | | | | | | | | | It's not needed as picture flow has it's own buffer. This reverts commit 9076b433d18b5db1a1987fe99ca7c70808f22b0e. Detailed explanation from Thomas Martiz (thanks!): buflib buffers can be passed to yielding functions just fine. Problems only arise if the are concurrent allocations, for example if two threads allocate from the same context simultaneously or if the callee does it's own allocations. This can't happen in the pictureflow case, it has it's own context and a single thread allocating from it. Therefore the problem isn't yield() itself, but possible concurrent buflib_alloc() calls that result from the thread switch. This is because compaction only ever happens on allocation (and not in a backgroud thread or so).
* PictureFlow: Add move callback for buflib allocationsThomas Jarosch2015-01-01
| | | | | | | | | | If we don't provide a callback to buflib_alloc(), the buffer is always movable (to reduce fragmentation). Since we pass our buffer to functions that call yield(), this could lead to memory corruption on buflib compaction. Change-Id: Id1fad1822479d692551c55cb8bc87cea7b78f759
* YH820/YH92X: Improve some keymaps for plugins.Szymon Dziok2014-10-22
| | | | Change-Id: Ib598737327043809f60127f7c538f2d45ddabb87
* lcd-24bit: Introduce a 24-bit mid-level LCD driverThomas Martitz2014-06-21
| | | | | | | | | | | | | | | | | With LCD driver all calculation will be performed on RGB888 and the hardware/OS can display from our 24bit framebuffer. It is not yet as performance optimized as the existing drivers but should be good enough.The vast number of small changes is due to the fact that fb_data can be a struct type now, while most of the code expected a scalar type. lcd-as-memframe ASM code does not work with 24bit currently so the with 24bit it enforces the generic C code. All plugins are ported over. Except for rockpaint. It uses so much memory that it wouldnt fit into the 512k plugin buffer anymore (patches welcome). Change-Id: Ibb1964545028ce0d8ff9833ccc3ab66be3ee0754
* Separate keymaps for YH-820 and YH-920/925Sebastian Leonhardt2014-05-24
| | | | | | | | | | | | | | | Although both players basically have the same keys, the differences in the layout is rather big, so I think both deserve their own keymaps. (On the yh820 the FFWD/PLAY/REW buttons are located above the direction keys, on the yh920 at the side of the player. Furthermore the yh920/925 has a REC switch, whereas yh820 has a push button.) Change-Id: I0e62a1b101c387646c0bdb07ea142d9d2430ca15 Reviewed-on: http://gerrit.rockbox.org/814 Reviewed-by: Szymon Dziok <b0hoon@o2.pl>
* Complete Plugin Keymaps for Creative Zen X-Fi3David Jilke2014-04-06
| | | | | | | | | | This patch completes the plugin keymaps for the Zen X-Fi3 and enables those plugins for compilation. One key was changed in "button-target.h" for compatibility with Rockboy. This also caused the changes to "keymap-zenxfi3.c", to keep the stock functionality (no further changes in here). Change-Id: Ic222faf89e9a9a2332a49d6e532cedb6eb16d3d7 Reviewed-on: http://gerrit.rockbox.org/762 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* Implement time-based resume and playback start.Michael Sevakis2014-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | This complements offset-based resume and playback start funcionality. The implementation is global on both HWCODEC and SWCODEC. Basically, if either the specified elapsed or offset are non-zero, it indicates a mid-track resume. To resume by time only, set elapsed to nonzero and offset to zero. To resume by offset only, set offset to nonzero and elapsed to zero. Which one the codec uses and which has priority is up to the codec; however, using an elapsed time covers more cases: * Codecs not able to use an offset such as VGM or other atomic formats * Starting playback at a nonzero elapsed time from a source that contains no offset, such as a cuesheet The change re-versions pretty much everything from tagcache to nvram. Change-Id: Ic7aebb24e99a03ae99585c5e236eba960d163f38 Reviewed-on: http://gerrit.rockbox.org/516 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested: Michael Sevakis <jethead71@rockbox.org>
* [Fuze+] PictureFlow: complete keys mappingJean-Louis Biasini2012-12-26
| | | | | | | | | 1) add quit and menu binding 2) complete manual Change-Id: Iceee6354c788b8baeefeea2d2d8914e1df83d4a7 Reviewed-on: http://gerrit.rockbox.org/353 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* Refactor and unify objcopy calls in the build system. Also now properly ↵Thomas Martitz2012-04-04
| | | | | | handles DEBUG builds on hosted targets to keep debug symbols if necessary. Change-Id: I884031b79c6d49479e4d95752f35ced68872dd5d
* MPIOs: keymap tweaksMarcin Bukat2012-02-02
| | | | Change-Id: Ic96900c83ffb90df4f6c68a26238f0543cba61cd
* Fix warnings from r31453Bertrik Sikken2011-12-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31454 a1c6a512-1295-4272-9138-f99709370657
* plugins: another round of making local things static and adding missing ↵Bertrik Sikken2011-12-28
| | | | | | #includes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31453 a1c6a512-1295-4272-9138-f99709370657
* Make pictureflow compile again.Thomas Martitz2011-11-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30941 a1c6a512-1295-4272-9138-f99709370657
* Buflib: Clarification about invalid handlesThomas Martitz2011-09-07
| | | | | | | | * Enhance allocation function comments to better state the return value and what an invalid value is * Change clients to check for "< 0" instead of "<= 0" or "== 0" * Return -1 or -2 depending on the exact failure in buflib_alloc_ex. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30469 a1c6a512-1295-4272-9138-f99709370657
* Remove buflib from the pluginlib and use the core one.Thomas Martitz2011-08-30
| | | | | | buflib_get_data() isn't inlined for plugins anymore, but can be if really needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30387 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#11387 - PictureFlow runs jerkily while playing music on Nano2G after ↵Thomas Martitz2011-06-13
| | | | | | | | | | the recent feature addition The problem r26713 addressed was not caused by missing yields but by too high priority of the background loader thread. Undoing the yield() change and decreasing the priority fixes the audio drop as well but doesn't cause jerkiness. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30000 a1c6a512-1295-4272-9138-f99709370657
* Fix several 'variable set but not used' warnings reported from GCC 4.6.0.Andree Buschmann2011-05-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29805 a1c6a512-1295-4272-9138-f99709370657
* RaaA: Fix write locations of pluginsThomas Jarosch2011-03-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29506 a1c6a512-1295-4272-9138-f99709370657
* * Rename backlight_force_on to backlight_ignore_timeout to make it clear ↵Teruaki Kawashima2011-01-24
| | | | | | | | | | | what the function does. * Add backlight_force_on() which forces to turn on backlight even when the setting is set to Off. use this in lamp. No functional change except lamp. See aslo FS#9883. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29128 a1c6a512-1295-4272-9138-f99709370657
* pictreflow: tweak alpha value for the case number of slides < 3 so that ↵Teruaki Kawashima2010-11-07
| | | | | | | | | fading looks a bit more smooth. do not save settings when it is not so needed. make sliding animation better when you press right then left quickly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28529 a1c6a512-1295-4272-9138-f99709370657
* FS#11673: picture flow: improve scrolling text, by myself.Teruaki Kawashima2010-11-03
| | | | | | implement scroll engine in the plugin similar to the one in core. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28474 a1c6a512-1295-4272-9138-f99709370657
* fix sorting of track list when tracks with track number and tracks without ↵Teruaki Kawashima2010-10-13
| | | | | | track number are in the same list. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28267 a1c6a512-1295-4272-9138-f99709370657
* pictureflow:Teruaki Kawashima2010-10-05
| | | | | | | | | -fix calculation of track_list_y when the display area isn't filled with tracks. -reset scroll position of album title text when the text is changed so that it doesn't jump. -enables theme in the menu so that it is consistent to playback control item and other plugins' menu, instead of solid color background from the theme. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28209 a1c6a512-1295-4272-9138-f99709370657
* picture flow: clean up code. no functional changes.Teruaki Kawashima2010-10-02
| | | | | | | | -use upper case for enum constants. -rename variables to match it's use. -remove tabs and fix indents. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28192 a1c6a512-1295-4272-9138-f99709370657
* use correct condition for #if for tagcache_fill_tags().Teruaki Kawashima2010-09-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28188 a1c6a512-1295-4272-9138-f99709370657
* Second try: Introduce plugin_crt0.c that every plugin links.Thomas Martitz2010-08-24
| | | | | | | | | | | | | It handles exit() properly, calling the handler also when the plugin returns normally (also make exit() more standard compliant while at it). It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore. To work better together with callbacks passed to rb->default_event_handler_ex() introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it. In most cases rb->default_event_handler_ex() was passed a callback which was manually called at all other return points. This can now be done via atexit(). In future plugin_crt0.c could also handle clearing bss, initializing iram and more. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27873 a1c6a512-1295-4272-9138-f99709370657
* Revert "Introduce plugin_crt0.c that every plugin links."Thomas Martitz2010-08-23
| | | | | | Too much errors and no time to fix them now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27863 a1c6a512-1295-4272-9138-f99709370657
* Introduce plugin_crt0.c that every plugin links.Thomas Martitz2010-08-23
| | | | | | | | | | | | | It handles exit() properly, calling the handler also when the plugin returns normally (also it makes exit() more standard compliant while at it). It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore. To work better together with callbacks passed to rb->default_event_handler_ex introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it. In most cases it was passed a callback which was manually called at all other return points. This can now be done via atexit(). In future plugin_crt0.c could also handle clearing bss, initializing iram and more. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27862 a1c6a512-1295-4272-9138-f99709370657
* Rename/change SIMVER to APP_TYPE in the Makefiles.Thomas Martitz2010-07-10
| | | | | | | SIMVER was really only used to detect a simulator build. With APP_TYPE you can now differentiate between simulator, application, checkwps and database builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27372 a1c6a512-1295-4272-9138-f99709370657
* Make unnecessarily static local variables non-static. It's more efficient, ↵Jens Arnold2010-06-20
| | | | | | 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
* remainder of FS#11270 - bug fixes and updates for picureflowJonathan Gordon2010-06-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26713 a1c6a512-1295-4272-9138-f99709370657
* fix errorsJonathan Gordon2010-06-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26711 a1c6a512-1295-4272-9138-f99709370657
* FS#11270 by Chris Savery - WPS integration for pictureflowJonathan Gordon2010-06-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26710 a1c6a512-1295-4272-9138-f99709370657
* Convert some more stuff to mylcd_ and support pgfx as well.Michael Sevakis2010-06-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26543 a1c6a512-1295-4272-9138-f99709370657
* Make creat() posix compliant API-wise. Shouldn't affect the core as it's ↵Thomas Martitz2010-05-06
| | | | | | wrapped via a static inline. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25843 a1c6a512-1295-4272-9138-f99709370657
* Packard Bell Vibe 500: Finish plugin keymaps. Rockbox compiles clean now for ↵Szymon Dziok2010-02-14
| | | | | | the target. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24658 a1c6a512-1295-4272-9138-f99709370657
* Accept the last patch FS#10797 with a few changes by me (fixing side effects ↵Thomas Martitz2010-01-26
| | | | | | | | 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
* change dependencies in make files:Teruaki Kawashima2010-01-17
| | | | | | | | * 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
* Cowon D2: Rename COWOND2_PAD -> COWON_D2_PAD to match macro used in manual, andTomer Shalev2009-12-15
| | | | | | | to target naming conventions in general git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24010 a1c6a512-1295-4272-9138-f99709370657
* PictureFlow: Add PF_MENU action to touchscreenTomer Shalev2009-12-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23976 a1c6a512-1295-4272-9138-f99709370657
* Pictureflow: Fix defineKarl Kurbjun2009-09-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22608 a1c6a512-1295-4272-9138-f99709370657
* Pictureflow: Add support for vertical strides.Karl Kurbjun2009-09-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22604 a1c6a512-1295-4272-9138-f99709370657
* use set_option instead of menu api for some settings of plugins to make it ↵Teruaki Kawashima2009-08-06
| | | | | | clear it's a setting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22189 a1c6a512-1295-4272-9138-f99709370657
* FS#10080Nils Wallménius2009-07-14
| | | | | | | | | | * 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
* Adapt pictureflow and random_folder_advance_config to make use of the new ↵Thomas Martitz2009-07-05
| | | | | | | | | 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
* Replace HAVE_SCROLLWHEEL in PictureFlow with USE_CORE_PREVNEXT, defined on ↵Andrew Mahone2009-07-04
| | | | | | 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
* Fix case in the constantAlexander Levin2009-06-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21217 a1c6a512-1295-4272-9138-f99709370657
* Pictureflow: Don't show the playback control one targets that can't have ↵Thomas Martitz2009-06-08
| | | | | | playback in pictureflow. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21216 a1c6a512-1295-4272-9138-f99709370657