summaryrefslogtreecommitdiff
path: root/apps/plugins/lib (follow)
Commit message (Collapse)AuthorAge
* lcd/grey: Enable viewport fg_pattern and bg_pattern for all bitmap targets.Thomas Martitz2014-01-07
| | | | | | | | | Greylib performed a horrible hack and stored fg and bg patterns in other struct viewport fields. One of them was just removed. So instead of this hack simply enable the *_pattern fields for mono targets as well, so that greylib can use them normally. Change-Id: Ib0842ebcc97f5bf9d9382b4471903afa2f96f39f
* lcd-common: Remove support for custom line heights from viewport.Thomas Martitz2014-01-07
| | | | | | | | Since scrolling is now pixel-based this is not necessary anymore. custom line height is handled by put_line() but can also possible to implement with lcd_puts_scroll_func(). Change-Id: Iee9b12bf99afac93d95d2a1a6f5d5b4db237b21c
* Fix typo in apps/plugins/lib/pluginlib_actions.cBenjamin Brown2013-11-17
| | | | | | | | | BUTOTN_REL should be BUTTON_REL Change-Id: I5b4aaeb87f31c5c0779656651b074512e22bcc4e Reviewed-on: http://gerrit.rockbox.org/663 Reviewed-by: Benjamin Brown <foolshperson@gmail.com> Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
* sonynwz: add pluginlib keymapAmaury Pouly2013-11-14
| | | | Change-Id: I7753fb8d9a5f9e2e95dfaa03ce8d2469ae0bd74a
* Make fixepoint.c as a shared library (libfixedpoint.a).Michael Sevakis2013-04-26
| | | | | | | Change-Id: Icc10d6e85f890c432f191233a4d64e09f00be43d Reviewed-on: http://gerrit.rockbox.org/456 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
* Use equivalent puts_scroll() call.Thomas Martitz2013-04-14
| | | | Change-Id: I09e5046f153a276fa6eb047e040b8f752e73d03c
* Move fixedpoint.h to be accessible in /firmware.Michael Sevakis2013-04-10
| | | | | | | | | | Will need it soon enough. Combine the contents of all the various fixedpoint.h files. Not moving fixedpoint.c for now since I'm not sure where it should be and it causes some dependency issues. Change-Id: Ideacbca2ca78f9158c2b114b113c274f68e908d5
* Consolidate identical fixedpoint exp and ln functions.Michael Sevakis2013-04-09
| | | | | | | | grey_core.c and fixedpoint.c each had their own copies. grey_core.c can use the ones fixedpoint.c. fixedpoint.c gets the more complete and optimized version of fp_16exp from grey_core.c. Change-Id: I43ee3add60796b06ed12012fbbd91815d64675a6
* Use crc32 of filename to resume tracksRichard Quirk2013-01-02
| | | | | | | | | | | | | | | | | As well as using an index, which breaks when a file is added or removed, use the crc32 of the filename. When the crc32 check passes the index is used directly. When it fails, the slow path is taken checking each file name in the playlist until the right crc is found. If that fails the playlist is started from the beginning. See http://www.rockbox.org/tracker/6411 Bump plugin API and nvram version numbers Change-Id: I156f61a9f1ac428b4a682bc680379cb6b60b1b10 Reviewed-on: http://gerrit.rockbox.org/372 Tested-by: Jonathan Gordon <rockbox@jdgordon.info> Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
* Adapt OSD in plugin lib to be greylib compatible.Michael Sevakis2012-12-18
| | | | | | | | | | | | | | | Requires addition of viewports and alternate framebuffers to greylib which are essentially similar to the core implementation except that the framebuffer can be any size and relationship to a viewport. Drawing is always fully clipped to the intersecting area. Adapt oscilloscope.c to the API change. FFT will use the new features (later update). Get rid of silly and wrong lcd_bmp_part use in OSD. Remove it from plugin API (must be made incompatible now). Change-Id: Iafa5e2174148fb8ad11db6b9d4add0dcabc5c563
* Add a true waveform display to the oscilloscope plugin.Michael Sevakis2012-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adds some additional niftyness like a floating popup display that is implemented in an OSD library for use by other plugins. * Speed changes are now gradual for both views and follow a curve derived from some fiddling around to get a nice feel. * Refined a few behavioral things overall. It needs a bit of help from a direct PCM channel callback so it may capture PCM for waveform display. Also need a few other core routines to help out for the OSD. Messes with some keymaps. Some targets need keymaps to access the different views. Some devices can't support the additional view because it requires a large buffer ( > 1 s) for samples. If the plugin buffer is small, they can still use the popup display since the plugin is also much smaller in that case. Slow speed waveform needs some refining so it draws gradually like a real oscilloscope but I'll stick with what it is, for the moment. Change-Id: Ieb5b7922a2238264e9b19a58cb437739194eb036 Reviewed-on: http://gerrit.rockbox.org/245 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
* Revert "SH gcc 4.6.3 with link-time optimization, for Archos targets"Marcin Bukat2012-10-24
| | | | This was commited by accident, sorry.
* SH gcc 4.6.3 with link-time optimization, for Archos targetsBoris Gjenero2012-10-24
| | | | | | | This is work from FS#12431 synced to current HEAD and slightly tweaked (gcc 4.6.2 -> 4.6.3, binutils 2.21.1 -> 2.22) Change-Id: I76af91e80ac2a9c16a776c7f0a33cc51603bbf9b
* load_code/overlay: Don't close plugin handle before calling the plugin.Thomas Martitz2012-05-26
| | | | | | | Doesnt fix an actual bug because closing a handle is a no-op on all native targets and others dont use overlay. Change-Id: Ie55e3fd4abd08b174d86ca25aed54a970dddbebd
* Fix typo in error messageFrank Gevaerts2012-05-19
| | | | Change-Id: I69c87fac21b034b639fbce4324397b273d66d41b
* Initial commit for the Creative ZEN X-Fi2 and X-Fi3 portsAmaury Pouly2012-05-19
| | | | | | These are really similar devices so one commit for both is ok. Change-Id: I8bd1d3fef1eb6d00aaadfb7af56c771f62d0c9c3
* hm801: Add support for plugins.Andrew Ryabinin2012-04-19
| | | | Change-Id: I81654db87d38324d8680a56bcdb7e9922ee5b619
* hm60x: Add support for plugins.Andrew Ryabinin2012-04-19
| | | | Change-Id: I4cad0881c8249f163680a280f70d1a0b36248da8
* Fuze+ PLA_EXIT slight mapping cleanupJean-Louis Biasini2012-02-09
| | | | | | | | | | | 1) On all non PLA plugin, power button is used for exit. For consistency, we set PLA_EXIT to power button. 2) Manual updated accordingly Change-Id: Ia4b8fce13bad2f8dc0710cdb29ccf6c74b3fd9c4 Reviewed-on: http://gerrit.rockbox.org/91 Reviewed-by: Thomas Martitz <kugel@rockbox.org> Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* MPIOs: keymap tweaksMarcin Bukat2012-02-02
| | | | Change-Id: Ic96900c83ffb90df4f6c68a26238f0543cba61cd
* pluginlib_touchscreen: Rework API to offer wait-for-button APIs.Thomas Martitz2012-01-27
| | | | | | | | | The old touchscreen_get() needed an external button_get() call. Now two APIs are added that do this call internally. This way they behave similar to get_action. The old API is preserved (but renamed) since it's used in reversi. Change-Id: I24902c64a357f2fdd7d0c2f5371cbfd20f34f1c8
* PLA: Add map for android. Directional keys not available in point mode due toThomas Martitz2012-01-27
| | | | | | | | touchscreen. Fix cowond2 select repeat at the same time. Change-Id: I3ee0c2a3fdc74978c159335949c183d36d5d29af
* Fix flag for the viewport. Text is supposed to be centered.Thomas Martitz2012-01-23
| | | | Change-Id: I8b29787fb99e0469c9e4a0b0ea08e61d3ff92589
* Move supprt-arm.S to separate library.Thomas Martitz2012-01-21
| | | | | | | Core, codecs and plugins link it separately so this gets rid of SOURCES trickery. Don't build it for hosted targets. Change-Id: If15ef90e93cd218a4352ae8e89eea95d3122452f
* fuzeplus: update plugins keymaps (FS#12405)Jean-Louis Biasini2012-01-15
| | | | | | Signed-off-by: Amaury Pouly <amaury.pouly@gmail.com> Change-Id: Ib94cec07c80892eb50471c87b83e2701911ea0d7
* fuze+: Update plugin keymaps (FS#12405). Thanks to Jean-Louis BiasiniAmaury Pouly2012-01-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31598 a1c6a512-1295-4272-9138-f99709370657
* Initial commit of the Samsung YP-R0 port.Thomas Martitz2011-12-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This port is a hybrid native/RaaA port. It runs on a embedded linux system, but is the only application. It therefore can implement lots of stuff that native targets also implement, while leveraging the underlying linux kernel. The port is quite advanced. User interface, audio playback, plugins work mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page). Included in utils/ypr0tools are scripts and programs required to generate a patched firmware. The patched firmware has the rootfs modified to load Rockbox. It includes a early/safe USB mode. This port needs a new toolchain, one that includes glibc headers and libraries. rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may also work. Most of the initial effort is done by Lorenzo Miori and others (on ABI), including reverse engineering and patching of the original firmware, initial drivers, and more. Big thanks to you. Flyspray: FS#12348 Author: Lorenzo Miori, myself Merry christmas to ypr0 owners! :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
* Sandisk Sansa Connect port (FS #12363)Tomasz Moń2011-11-16
| | | | | | | | Included are drivers for buttons, backlight, lcd, audio and storage. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31000 a1c6a512-1295-4272-9138-f99709370657
* Fix assembler .size directives. Currently used binutils don't complain, but ↵Boris Gjenero2011-11-09
| | | | | | 2.21.1 treats these as errors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30945 a1c6a512-1295-4272-9138-f99709370657
* - Fix some reds by implementing lcd_get_dpi().Thomas Martitz2011-10-17
| | | | | | | - Use the list item centering capabilities in the plugin lib - Bump plugin ABI for the changed viewport struct (sort the API too). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30775 a1c6a512-1295-4272-9138-f99709370657
* fuze+: add pluginlib keymapAmaury Pouly2011-10-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30640 a1c6a512-1295-4272-9138-f99709370657
* rk27xx - enable a few test pluginsMarcin Bukat2011-09-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30459 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
* Also fix uninitialized variables in xlcd_scroll_up()/xlcd_scroll_down()Thomas Jarosch2011-08-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30354 a1c6a512-1295-4272-9138-f99709370657
* Fix use of uninitialized memory in xlcd_scroll_left() / xlcd_scroll_right() ↵Thomas Jarosch2011-08-25
| | | | | | | | | | | in special cases Only valid for: LCD_PIXELFORMAT == HORIZONTAL_PACKING && LCD_DEPTH != 2 Found by "cppcheck". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30348 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#12130 - Fix ADX decoding on 64-bit systems by Sean Bartell. Fixes ↵Michael Giacomelli2011-05-26
| | | | | | an incorrect assumption in the ADX decoder that sizeof(int) == 32 when performing fixed point math. Update comments in the fixed point library to correct this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29927 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
* Hopefully all green nowThomas Martitz2011-02-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29263 a1c6a512-1295-4272-9138-f99709370657
* Fix remaining reds.Thomas Martitz2011-02-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29262 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
* HD300 - greylib callibration data (taken from iAudio M5 - works well)Marcin Bukat2010-11-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28713 a1c6a512-1295-4272-9138-f99709370657
* HD300 - plugins keymapsMarcin Bukat2010-11-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28712 a1c6a512-1295-4272-9138-f99709370657
* Commit a few more GoGear HDD6330 keymaps.Robert Menes2010-11-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28445 a1c6a512-1295-4272-9138-f99709370657
* MPIO HD200: rename button defines to adhere how they are labeled on the device.Marcin Bukat2010-11-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28443 a1c6a512-1295-4272-9138-f99709370657
* lamp plugin:Teruaki Kawashima2010-11-01
| | | | | | | | -handles sys_events. -disable idle poweroff (part of FS#11578 by Hayden Pearce.) -correct button table in the manual. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28429 a1c6a512-1295-4272-9138-f99709370657
* Add plugin keymaps to fft for the GoGear SA9200.Robert Menes2010-10-21
| | | | | | | | | | | Also fix some errors in pluginlib_actions.c which were causing the SA9200 build to crap out when building plugins, and also disable plugins for the SA9200 in the configure script (no idea why they were enabled in the first place!) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28316 a1c6a512-1295-4272-9138-f99709370657
* Rename {draw,fill}_viewport once more (to draw_border_viewport and ↵Thomas Martitz2010-10-11
| | | | | | | | fill_viewport) and remove the viewport parameter as suggested by Dave Chapman. The parameter wasn't used yet and it's not clear whether it should be a absolute or relative viewport. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28242 a1c6a512-1295-4272-9138-f99709370657
* Add _rect to {draw,fill}_viewport as suggested by Jonathan Gordon to reduce ↵Thomas Martitz2010-10-10
| | | | | | the chance to confuse it with update_viewport(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28240 a1c6a512-1295-4272-9138-f99709370657
* Two new lcd/multi screen api convinience functions: draw_viewport(), ↵Thomas Martitz2010-10-10
| | | | | | | | | fill_viewport(). They work as the drawrect/fillrect pendants but work on a viewport basis; pass NULL to draw the current viewport (the one set with set_viewport()). In conjunction with action_get_touchscreen_press_in_vp() it should be less of a pain to draw buttons and get presses on them. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28239 a1c6a512-1295-4272-9138-f99709370657
* Fix a few div0 cases forgotten in r27684 to enable enabling asm ↵Thomas Martitz2010-10-10
| | | | | | optimizations for android builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28235 a1c6a512-1295-4272-9138-f99709370657