summaryrefslogtreecommitdiff
path: root/apps/plugins/lib (follow)
Commit message (Collapse)AuthorAge
* plugins: use lcd_putsf/lcd_putsxyfRafaël Carré2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27926 a1c6a512-1295-4272-9138-f99709370657
* Fix typoFrank Gevaerts2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27916 a1c6a512-1295-4272-9138-f99709370657
* Fix building simulator plugins on Cygwin. A DLL stub containing atexit is ↵Magnus Holmgren2010-08-26
| | | | | | linked to the plugins, so give our version a prefix. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27893 a1c6a512-1295-4272-9138-f99709370657
* Remove a bunch of build conditions inside .c filesRafaël Carré2010-08-25
| | | | | | Fix logic in pacbox makefiles for asm optimizations git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27887 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
* Move setjmp to lib and add setjmp for sh (imported from newlib) and compile ↵Thomas Martitz2010-08-24
| | | | | | | | | it as separate library. It's used by both, plugins and codecs, and sh/hwcodec doesn't compile codecs so it doesn't fit into sources. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27869 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
* strncpy.c / assert.h : need to include _ansi.hRafaël Carré2010-07-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27549 a1c6a512-1295-4272-9138-f99709370657
* improve displaying of string containing diacritic characters. add some ↵Teruaki Kawashima2010-07-12
| | | | | | characters to determine the position to break line. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27401 a1c6a512-1295-4272-9138-f99709370657
* some improvements for simple viewer.Teruaki Kawashima2010-06-29
| | | | | | | | * displays a scrollbar if there is more text than currently displayed. * enables to scroll text by scrollwheel. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27175 a1c6a512-1295-4272-9138-f99709370657
* Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with ↵Thomas Martitz2010-06-21
| | | | | | | | | | | #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). The simulator defines PLATFORM_HOSTED, as RaaA will do (RaaA will not define SIMULATOR). The new define is to (de-)select code to compile on hosted platforms generally. Should be no functional change to targets or the simulator. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27019 a1c6a512-1295-4272-9138-f99709370657
* reorder apps/plugins/lib/SOURCES.Teruaki Kawashima2010-06-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26919 a1c6a512-1295-4272-9138-f99709370657
* HD200 - calibrate lcdlinear[] matrixMarcin Bukat2010-06-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26910 a1c6a512-1295-4272-9138-f99709370657
* fix yellow.Teruaki Kawashima2010-06-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26688 a1c6a512-1295-4272-9138-f99709370657
* add simple text viewer to pluginlib and use this for dict to show description.Teruaki Kawashima2010-06-08
| | | | | | | now dict can scroll the description. it might not show full description if it is too long or memory is not enough. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26687 a1c6a512-1295-4272-9138-f99709370657
* Add a mapping for the PLA_EXIT action for Iriver remote and provide it in ↵Marianne Arnold2010-06-05
| | | | | | the manual as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26591 a1c6a512-1295-4272-9138-f99709370657
* Fix PLA_EXIT and PLA_CANCEL for the Iaudio M5 and X5, make them more ↵Marianne Arnold2010-06-05
| | | | | | intuitive and add the missing remote actions for it at the same time. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26587 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
* Add a wrapper header, mylcd.h, in the lib subdirectory, which lets plugins' ↵Michael Sevakis2010-06-04
| | | | | | code automatically call the proper functions depending if compilation is for greylib or color display, also forms proper call to grey_ and xlcd_. mylcd_ub_ call greylib unbuffered routines, regular lcd routines otherwise. Form is mylcd_<fnname>, <fnname> is the symbol name stripped of prefixes lcd_, grey_, or xlcd_. Convert a couple plugins I know well (easy job). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26542 a1c6a512-1295-4272-9138-f99709370657
* FFT Plugin: Revamp the main code to rid it of 64-bit math. Use 32-bit ↵Michael Sevakis2010-06-02
| | | | | | kiss_fft_scalar because 16-bit integers are generally a poor choice for computation on-target. Simplify display code to speed it up. Add logarithmic frequency display (need keymappings, guessed on some). On dual-core, perform FFT on COP. Add some support function to fixedpoint.c. ... and stuff. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26470 a1c6a512-1295-4272-9138-f99709370657
* Vibe 500: fix the scrolling through the lists by implementing BUTTON_REPEAT ↵Szymon Dziok2010-05-24
| | | | | | for the scrollstrip. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26268 a1c6a512-1295-4272-9138-f99709370657
* Clipv2 / Clip+ : lcd scanrate checked with test_scanrateRafaël Carré2010-05-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26217 a1c6a512-1295-4272-9138-f99709370657
* Fix reds: add m3 keypad, fix typo in the ipods part, correct button for h10, ↵Thomas Martitz2010-05-20
| | | | | | don't error out for touchscreens (onda vx777 has almost no tactical buttons). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26209 a1c6a512-1295-4272-9138-f99709370657
* S#10387 - Rework pluginlib actionsThomas Martitz2010-05-20
| | | | | | | | | | | | | It changes pluginlib actions to contain only a single and simple context (and other one for remote directional buttons), consisting of 7(9) buttons: up/down/left/right, select OR short select and long select, exit and cancel (plus 2 for scrollwheel targets). This ensures contexts don't clash with other contexts and simplifies them, at the expense of reduced versatility. However, the versatility made it largely unusable due to the great number of targets. This should allow for using pluginlib actions safely for the most simple plugins (e.g. almost all demos). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26202 a1c6a512-1295-4272-9138-f99709370657
* HD200 - adjust LCD_SCANRATE (changed a bit after PLL settings change)Marcin Bukat2010-05-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26187 a1c6a512-1295-4272-9138-f99709370657
* apps/plugins/lib/SOURCES: make it more readable (space, comments, order)Rafaël Carré2010-05-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26143 a1c6a512-1295-4272-9138-f99709370657
* HD200 - add support for the device in greylibMarcin Bukat2010-05-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25930 a1c6a512-1295-4272-9138-f99709370657
* Fix size_t handling in plugin_get_buffer()Frank Gevaerts2010-05-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25884 a1c6a512-1295-4272-9138-f99709370657
* Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz2010-05-06
| | | | | | | | directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
* Make open() posix compliant api-wise. A few calls (those with O_CREAT) need ↵Thomas Martitz2010-05-06
| | | | | | the additional optional mode parameter so add it. Impact for the core is almost zero, as open() is a wrapper macro for the real open function which doesn't take the variable parameter. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25844 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
* Add MPIO HD200 port - changed filesMarcin Bukat2010-04-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25724 a1c6a512-1295-4272-9138-f99709370657
* plugins/lib: remove out-dated comments about plugin api.Teruaki Kawashima2010-02-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24907 a1c6a512-1295-4272-9138-f99709370657
* plugin: implement highscore_show for player and use it in rockblox.Teruaki Kawashima2010-02-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24861 a1c6a512-1295-4272-9138-f99709370657
* some changes to use of display_text.Teruaki Kawashima2010-02-22
| | | | | | | | | | * add parameter, wait_key to display_text(). - set this true to wait button press after all words is displayed. * use ARRAYLEN macro instead of #define WORDS * add macro to indicate end of style array. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24846 a1c6a512-1295-4272-9138-f99709370657
* Packard Bell Vibe 500: Start committing plugin keymaps.Szymon Dziok2010-02-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24610 a1c6a512-1295-4272-9138-f99709370657
* FS#10943, optimized division and clz routines to replace libgcc routines for ↵Andrew Mahone2010-02-01
| | | | | | ARM. Replaces libgcc support functions for unsigned and signed 32-bit division on ARMv4 and up, and leading-zero count on ARMv4. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24432 a1c6a512-1295-4272-9138-f99709370657
* pluginlib: Support calling a function at exit time to clean up open filesTorne Wuff2010-01-05
| | | | | | | | | or other similar work. This is not quite the same as atexit() on POSIX as the function is *not* called if the plugin exits by returning from plugin_start; only if exit() is called. No code overhead if it's not used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24189 a1c6a512-1295-4272-9138-f99709370657
* Set svn:keywords property on .c and .h files that didn't already have it. ↵Bertrik Sikken2010-01-03
| | | | | | Correct svn:executable property on some files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24165 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
* Cowon: Fix wrong pluginlib actionTomer Shalev2009-12-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23937 a1c6a512-1295-4272-9138-f99709370657
* These are the last plugin keymaps needed for the GoGear SA9200.Robert Menes2009-12-10
| | | | | | | | Left to add in: a 128x160 backdrop for rockblox to stop errors when compiling and then to finally enable plugins. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23915 a1c6a512-1295-4272-9138-f99709370657
* XLCD lib: * Fix bug (improper fill) in pixel-wise left scrolling on 2bpp ↵Jens Arnold2009-11-22
| | | | | | horizontally packed LCDs. * Faster pixel-wise upward scrolling on 2bpp vertically packed LCD coldfire targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23704 a1c6a512-1295-4272-9138-f99709370657
* Pluginlib: make scroll functions clear screen if scrolled by >= screen size ↵Torne Wuff2009-10-16
| | | | | | (from FS#10330) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23211 a1c6a512-1295-4272-9138-f99709370657
* Fix compilation of simulators on Mac OS X 10.6. Tested on 10.5.8 and 10.6.1.Tom Ross2009-10-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23051 a1c6a512-1295-4272-9138-f99709370657
* LCD scrolling routines: Fix the screen scrolling boundary with Vertical Strides.Karl Kurbjun2009-10-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23005 a1c6a512-1295-4272-9138-f99709370657
* Add Vertical stride support to LCD scrolling functions.Karl Kurbjun2009-09-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22683 a1c6a512-1295-4272-9138-f99709370657
* Fix STRIDE macro for multiscreen and add stride support for picture lib.Karl Kurbjun2009-09-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22615 a1c6a512-1295-4272-9138-f99709370657
* * Fix plugin keymaps for VX777Maurus Cuelenaere2009-08-31
| | | | | | | | | * Enable plugins for VX777 * Fix VX777 simulator All done by Aaron DeMille. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22576 a1c6a512-1295-4272-9138-f99709370657