summaryrefslogtreecommitdiff
path: root/apps/plugins (follow)
Commit message (Collapse)AuthorAge
* disktidy: store the number of removed files as global scopeRafaël Carré2010-08-28
| | | | | | | | | no need to transmit it through function arguments, remove a warning on charcell as a side effect also, snprintf+splash -> splashf git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27930 a1c6a512-1295-4272-9138-f99709370657
* cube: only needs text buffer on LCD_BITMAPRafaël Carré2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27929 a1c6a512-1295-4272-9138-f99709370657
* fix r27926 : lcd_puts() not changed to lcd_putsf()Rafaël Carré2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27928 a1c6a512-1295-4272-9138-f99709370657
* 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
* splitedit: fix snprintf() argument (size of wrong buffer)Rafaël Carré2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27925 a1c6a512-1295-4272-9138-f99709370657
* wormlet: remove some text buffersRafaël Carré2010-08-28
| | | | | | | | | use lcd_putsxyf() rework a bit DEBUG_WORMLET to remove a buffer (doesn't compile anwyay) also use a table to get worm state, instead of switch/case git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27924 a1c6a512-1295-4272-9138-f99709370657
* properties: remove some text buffersRafaël Carré2010-08-28
| | | | | | | | | | | use lcd_putsf() remove filesize2string, instead get the "logarithm" (rounded towards zero) and use the this value to compute the size displayed and the unit prefix (nothing/k/m/g) also use struct initializer in dir_properties() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27923 a1c6a512-1295-4272-9138-f99709370657
* pitch_detector: use lcd_putsxyf(), not lcd_putsf()Rafaël Carré2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27922 a1c6a512-1295-4272-9138-f99709370657
* pitch detector: remove more unused functions for sim buildsRafaël Carré2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27920 a1c6a512-1295-4272-9138-f99709370657
* pitch detector: remove unused functions for sim buildsRafaël Carré2010-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27919 a1c6a512-1295-4272-9138-f99709370657
* pitch_detector: cleanupRafaël Carré2010-08-28
| | | | | | | | | | | | | | | | | | | - cosmetics: remove trailing white space - mark all functions and variables as static - merge struct definition and declaration when possible - rename tuner_settings -> settings (because it's shorter) - remove unused enums - don't give pointer to settings struct as argument since there is only one struct, same for the settings filename - fix error cases in settings load: reset settings when loading failed close file when it hasn't the right size - inline small load/save functions only used once - remove unused print_char_xy - inline print_str and print_int_xy, and use lcd_putsf (added to the plugin API) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27918 a1c6a512-1295-4272-9138-f99709370657
* pitch_detector: avoid a division by zero when changing 'lowest frequency' ↵Rafaël Carré2010-08-28
| | | | | | setting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27917 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
* tweak lrcplayer.Teruaki Kawashima2010-08-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27908 a1c6a512-1295-4272-9138-f99709370657
* 2nd try: Introduce a small api for loading code (codecs,plugins) from ↵Thomas Martitz2010-08-27
| | | | | | | | | | disk/memory. It's a used by codec/plugin loading and vastly reduces code duplication. It's also a step forward in getting rid of libuisimulator in the application ports. Apparently sh needs linker symbols prefixed with _ even if they're referenced without from C code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27902 a1c6a512-1295-4272-9138-f99709370657
* Revert "Introduce a small api for loading code (codecs,plugins) from ↵Thomas Martitz2010-08-27
| | | | | | | | disk/memory." I don't understand the build error at all, plugin_bss_start is clearly defined in plugin.lds git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27901 a1c6a512-1295-4272-9138-f99709370657
* Introduce a small api for loading code (codecs,plugins) from disk/memory.Thomas Martitz2010-08-26
| | | | | | It's a used by codec/plugin loading and vastly reduces code duplication. It's also a step forward in getting rid of libuisimulator in the application ports. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27900 a1c6a512-1295-4272-9138-f99709370657
* Oops, forgot this file in r27893.Magnus Holmgren2010-08-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27894 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 executable bit on plugin_crt0.cRafaël Carré2010-08-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27892 a1c6a512-1295-4272-9138-f99709370657
* pacbox_cf.S contains a h300-only function, AND a function for all CFRafaël Carré2010-08-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27889 a1c6a512-1295-4272-9138-f99709370657
* Fix pacbox build on coldfireRafaël Carré2010-08-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27888 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
* Remove build conditions inside .c plugin filesRafaël Carré2010-08-25
| | | | | | | | Rather use the Makefile to specify which files must be built Fix color builds with test plugins enabled (test_scanrate gave an empty .o file) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27886 a1c6a512-1295-4272-9138-f99709370657
* Fix yellows/reds. Red where caused by preprocessor condition mismatch.Thomas Martitz2010-08-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27874 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
* Whoops typoed the svn propNils Wallménius2010-08-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27844 a1c6a512-1295-4272-9138-f99709370657
* Enable shopper plugin for charcell too and fix the :$ tag in shopper.cNils Wallménius2010-08-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27843 a1c6a512-1295-4272-9138-f99709370657
* FS10820 - Shopper, a shopping list plugin by Daniel Rigby.Nils Wallménius2010-08-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27842 a1c6a512-1295-4272-9138-f99709370657
* Introduce NORETURN_ATTR wrapper for __attribute__((noreturn)), using this ↵Thomas Martitz2010-08-12
| | | | | | and a bit further cleanup in main gets rid of a warning when compiling for android. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27788 a1c6a512-1295-4272-9138-f99709370657
* fix warrnings in test_core_jpeg.c and test_mem_jpeg.cMarcin Bukat2010-08-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27758 a1c6a512-1295-4272-9138-f99709370657
* doom: fix types mismatch spotted by gcc 4.5.1Rafaël Carré2010-08-01
| | | | | | | | - some variables were defined as const but declared without const - remove double declaration of mapnames* (already in .h) - forceOldBsp is boolean, not int git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27660 a1c6a512-1295-4272-9138-f99709370657
* mpegplayer mad: apply r27655 fixRafaël Carré2010-08-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27659 a1c6a512-1295-4272-9138-f99709370657
* Replace remaining printf in midi plugin (fix yellow/red)Michael Chicoine2010-07-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27563 a1c6a512-1295-4272-9138-f99709370657
* Rename printf to prevent naming conflict. Also change comment to conform ↵Michael Chicoine2010-07-25
| | | | | | with Rockbox standards. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27562 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
* s/HAVE_LCD_REMOTE/HAVE_REMOTE_LCD/Nils Wallménius2010-07-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27539 a1c6a512-1295-4272-9138-f99709370657
* Define CONFIG_REMOTE_KEYPAD for iaudio x5/m5 and add a keymap for that ↵Nils Wallménius2010-07-23
| | | | | | remote to the logo plugin. Fixes a warning when building with gcc 4.4.4. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27533 a1c6a512-1295-4272-9138-f99709370657
* pdbox: disable strict aliasing optimizations since pdbox breaks the strict ↵Nils Wallménius2010-07-23
| | | | | | aliasing rules which causes warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27530 a1c6a512-1295-4272-9138-f99709370657
* Sudoku coloured number displayJens Arnold2010-07-22
| | | | | | | | * Slightly more saturated colours * Yellow background for selected case git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27517 a1c6a512-1295-4272-9138-f99709370657
* rockboy: simplify build conditionRafaël Carré2010-07-21
| | | | | | it builds for all current plugin buffer sizes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27506 a1c6a512-1295-4272-9138-f99709370657
* Revert accidental commit of "%z" support in r26071 (the implementation ↵Frank Gevaerts2010-07-18
| | | | | | | | | assumed size_t==long, which is not always the case in hosted environments) Remove four remaining uses of %z, three of which were in DEBUGF git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27479 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
* text_editor: make functions and variables static. slightly reduce plugin size.Teruaki Kawashima2010-07-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27400 a1c6a512-1295-4272-9138-f99709370657
* text_viewer: remove unneeded code.Teruaki Kawashima2010-07-12
| | | | | | viewportmanager_theme_enable() sets values to passed viewport by viewport_set_defaults(), so no need to call sb_skin_get_info_vp() or viewport_set_defaults(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27399 a1c6a512-1295-4272-9138-f99709370657
* pdbox: avoid making own DEBUG clash with rockbox defineRafaël Carré2010-07-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27388 a1c6a512-1295-4272-9138-f99709370657
* lua: make DEBUG undefined by default, as doc statesRafaël Carré2010-07-11
| | | | | | use #ifdef / #ifndef and not #if / #if ! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27387 a1c6a512-1295-4272-9138-f99709370657