summaryrefslogtreecommitdiff
path: root/apps/plugins (follow)
Commit message (Collapse)AuthorAge
...
* 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
* 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
* pdbox: Now backlight does not fade out -- making music requires attention.Wincent Balin2010-07-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27368 a1c6a512-1295-4272-9138-f99709370657
* text viewer: fix the statusbar is displayed when the global statusbar ↵Yoshihisa Uchida2010-07-08
| | | | | | settings is STATUSBAR_OFF. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27349 a1c6a512-1295-4272-9138-f99709370657
* plugin api: delete sb_skin_update().Yoshihisa Uchida2010-07-08
| | | | | | text viewer: use send_event() instead of sb_skin_update(). thanks to teru. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27348 a1c6a512-1295-4272-9138-f99709370657
* battery_bench: make log time start at 0 (since plugin started)Rafaël Carré2010-07-07
| | | | | | | Print current rockbox uptime when the plugin was started Make some lines start with '#' so they are not plotted by gnuplot git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27339 a1c6a512-1295-4272-9138-f99709370657
* text viewer: fixed the following bugs.Yoshihisa Uchida2010-07-07
| | | | | | | - the statusbar of the preferences is not correct when the settings file loads. - overlaps the statusbar of the skin and default one. (FS#11455) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27334 a1c6a512-1295-4272-9138-f99709370657
* lrcplayer:Teruaki Kawashima2010-07-06
| | | | | | | | * fix possible infinite loop in save_changes(). hopefully fix FS#11457. * use .lrc file instead of .lrc8 file when saveing changes to the lyrics read from id3 tag. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27305 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#11458 by me. Fixes test_codec to work on files larger then the ↵Michael Giacomelli2010-07-06
| | | | | | available audio buffer. Allows test_codec to work normally on the AMS Sansas as well as D2, etc. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27303 a1c6a512-1295-4272-9138-f99709370657
* text viewer: fixed StatusBar randomly appears (FS#11455).Yoshihisa Uchida2010-07-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27293 a1c6a512-1295-4272-9138-f99709370657
* Move the test and benchmark plugins to the top of the viewers list, since if ↵Michael Giacomelli2010-07-05
| | | | | | someone compiles a build with them, they're probably going to use them frequently. Shouldn't change anything for normal builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27289 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Optimizations in the audio output code.Wincent Balin2010-07-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27288 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Added Sansa e200 to supported devices.Wincent Balin2010-07-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27287 a1c6a512-1295-4272-9138-f99709370657
* pdbox: Added different sampling rates based on hardware capabilities.Wincent Balin2010-07-05
| | | | | | | Also a minor code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27286 a1c6a512-1295-4272-9138-f99709370657
* chessbox: fix 'i = i++', based on gnuchess4.0-pl80Rafaël Carré2010-07-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27278 a1c6a512-1295-4272-9138-f99709370657
* Add -lm to pdbox sim buildFrank Gevaerts2010-07-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27261 a1c6a512-1295-4272-9138-f99709370657
* Move -Wl,-z,defs to GLOBAL_LDOPTS (instead of GCCOPTS), to avoid noise in ↵Frank Gevaerts2010-07-03
| | | | | | older gcc output when not linking git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27260 a1c6a512-1295-4272-9138-f99709370657
* text viewer: for tv_action and tv_bookmark, the prototype of the initializer ↵Yoshihisa Uchida2010-07-02
| | | | | | is the same arguments as other modules. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27243 a1c6a512-1295-4272-9138-f99709370657
* text viewer: fixed garbage data are not stored in the setting file.Yoshihisa Uchida2010-07-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27240 a1c6a512-1295-4272-9138-f99709370657
* metronome: fix issue that backlight doesn't turn off.Teruaki Kawashima2010-07-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27218 a1c6a512-1295-4272-9138-f99709370657
* text editor: use plugin_get_buffer() to allocate buffer. if size of the file ↵Teruaki Kawashima2010-07-01
| | | | | | is bigger than the buffer, use the audio buffer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27213 a1c6a512-1295-4272-9138-f99709370657
* text viewer:Yoshihisa Uchida2010-07-01
| | | | | | | - if the file fits on one screen, there is no horizontal scrollbar. - the callback function in tv_reader doesn't do useless processing when the preferences changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27212 a1c6a512-1295-4272-9138-f99709370657
* PacBox: Premultiply sound prom data on load rather than during emulation. ↵Michael Sevakis2010-07-01
| | | | | | Use 16-bit data for 'raw' output instead of int. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27208 a1c6a512-1295-4272-9138-f99709370657
* Fix r27202 red. MCF5249 plugin IRAM is already very occupied.Michael Sevakis2010-07-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27203 a1c6a512-1295-4272-9138-f99709370657
* Enable game sounds in PacBox. Sound is OFF by default but can be enabled ↵Michael Sevakis2010-07-01
| | | | | | from the menu. Enable a function for SWCODEC in the middle of the plugin API, so plugins must be made incompatible (full update). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27202 a1c6a512-1295-4272-9138-f99709370657
* text viewer: the display of the statusbar is synchronized actual battery, ↵Yoshihisa Uchida2010-06-30
| | | | | | time, etc. and deletes unnecessary lcd_set_backdrop(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27194 a1c6a512-1295-4272-9138-f99709370657