1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps
Thomas Martitz cae4ae2c71 Second try: Introduce plugin_crt0.c that every plugin links.
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
2010-08-24 14:30:46 +00:00
..
bitmaps
codecs Move setjmp to lib and add setjmp for sh (imported from newlib) and compile it as separate library. 2010-08-24 12:38:42 +00:00
eqs
gui New skin tag: %if(<tag>, <operator>, <operand> [,option count]) which lets you do very simple logical comparissons on other tags. 2010-08-19 13:49:32 +00:00
keymaps Small change to sansa fuze keymap. 2010-08-17 14:30:10 +00:00
lang Update of Czech language - FS #11560 by Marek Salaba 2010-08-23 16:54:46 +00:00
menus Safeguard against possible stack corruption when the string in the tempbuffer is as long as the buffer and strcat adds a char. 2010-08-21 16:14:18 +00:00
metadata Add uppercase M4A file type to the mp4 parser. Technically Apple says to use lowercase, but various programs tolerate this, so we can too. Fixes FS#11536. 2010-08-14 01:09:46 +00:00
player
plugins Second try: Introduce plugin_crt0.c that every plugin links. 2010-08-24 14:30:46 +00:00
radio Fix FS#11469 - make the fms update as it should 2010-08-16 12:07:46 +00:00
recorder Introduce NORETURN_ATTR wrapper for __attribute__((noreturn)), using this and a bit further cleanup in main gets rid of a warning when compiling for android. 2010-08-12 13:38:25 +00:00
abrepeat.c
abrepeat.h AB_REPEAT_ENABLE was never defined to 2 2010-07-18 18:13:53 +00:00
action.c
action.h
alarm_menu.c
alarm_menu.h
appevents.h
applimits.h Remove two unused defines. 2010-08-21 15:49:42 +00:00
apps.make
audio_path.c
bookmark.c
bookmark.h
buffering.c Oops, committed before finishing the removal of "#include "memory.h"" 2010-08-12 14:01:28 +00:00
buffering.h
codec_thread.c
codec_thread.h
codecs.c system-arm.c/__div0 are for ARM native builds only 2010-08-03 19:00:29 +00:00
codecs.h system-arm.c/__div0 are for ARM native builds only 2010-08-03 19:00:29 +00:00
core_asmdefs.c
cuesheet.c Fix Database red, move the cuesheet->token code into the skin engine 2010-07-29 13:23:33 +00:00
cuesheet.h Fix Database red, move the cuesheet->token code into the skin engine 2010-07-29 13:23:33 +00:00
debug_menu.c Implement WHEEL_ACCELERATION for Ipod mini 1G based on code for 1G/2G. 2010-08-23 19:56:17 +00:00
debug_menu.h
dsp.c
dsp.h
dsp_arm.S
dsp_arm_v6.S
dsp_asm.h
dsp_cf.S
enc_config.c
enc_config.h
eq.c
eq.h
eq_arm.S
eq_cf.S
features.txt Manual - Recording source settings description: replace target options with the correct features (needs one more in features.txt). Correct(s) wrong list of options in some manuals (e.g. Gigabeat S) at the same time. 2010-07-25 00:27:07 +00:00
filetree.c "Fix" FS#11349... %cs got confused because for some reason when the root menu was introduced the fm preset loading was never fixed to go back through that menu... problem is do_menu() is getting in the way now, so be like other files and dont try to reload the screen after loading... i.e go into the fms manually 2010-08-16 13:16:29 +00:00
filetree.h
filetypes.c A few post-fixes to the get_user_file_path() commit. 2010-08-02 19:13:22 +00:00
filetypes.h
fixedpoint.c
fixedpoint.h
fracmul.h Take 2 at 'Consolidate all fixed point math routines in one library' (FS#10400) by Jeffrey Goode 2009-07-05 18:06:07 +00:00
iap.c Oops, committed before finishing the removal of "#include "memory.h"" 2010-08-12 14:01:28 +00:00
keyboard.h
language.c make language array initialized correctlly with builtin strings when loading .lng file. 2010-07-11 15:10:01 +00:00
language.h
logfdisp.c
logfdisp.h
main.c Introduce NORETURN_ATTR wrapper for __attribute__((noreturn)), using this and a bit further cleanup in main gets rid of a warning when compiling for android. 2010-08-12 13:38:25 +00:00
menu.c Correct flawed search&replace. 2010-08-07 21:37:55 +00:00
menu.h
metadata.c WMA Voice now plays and seeks in the sim. The code is still in floating point, and is not added to the main build. There's still a bug with the decoder in the current state that it outputs a fewer number of samples than ffmpeg's. 2010-08-07 17:55:02 +00:00
metadata.h WMA Voice now plays and seeks in the sim. The code is still in floating point, and is not added to the main build. There's still a bug with the decoder in the current state that it outputs a fewer number of samples than ffmpeg's. 2010-08-07 17:55:02 +00:00
misc.c try again 2010-08-10 14:32:08 +00:00
misc.h Fix FS#11526 - %Vf(<hex>) was acceptable on grey remotes with colour main 2010-08-10 14:15:03 +00:00
mp3data.c
mp3data.h
mpeg.c Fix HWCODEC playback broken in r27773. mpeg.c declared playlist functions on its own instead of including playlist.h due to its history, and now they got out of sync... 2010-08-22 20:58:32 +00:00
mpeg.h
onplay.c
onplay.h
pcmbuf.c
pcmbuf.h
playback.c Fix FS#11175. playlist_peek() wasn't thread safe (due to a static filename buffer), so frequent calls from the main thread would cause the audio thread to buffer the wrong track. 2010-08-11 19:01:50 +00:00
playback.h
playlist.c Fix FS#11175. playlist_peek() wasn't thread safe (due to a static filename buffer), so frequent calls from the main thread would cause the audio thread to buffer the wrong track. 2010-08-11 19:01:50 +00:00
playlist.h Fix FS#11175. playlist_peek() wasn't thread safe (due to a static filename buffer), so frequent calls from the main thread would cause the audio thread to buffer the wrong track. 2010-08-11 19:01:50 +00:00
playlist_catalog.c Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
playlist_catalog.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
playlist_menu.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
playlist_viewer.c Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
playlist_viewer.h
plugin.c system-arm.c/__div0 are for ARM native builds only 2010-08-03 19:00:29 +00:00
plugin.h Second try: Introduce plugin_crt0.c that every plugin links. 2010-08-24 14:30:46 +00:00
README
replaygain.c
replaygain.h
root_menu.c Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
root_menu.h Introduce NORETURN_ATTR wrapper for __attribute__((noreturn)), using this and a bit further cleanup in main gets rid of a warning when compiling for android. 2010-08-12 13:38:25 +00:00
screen_access.c
screen_access.h
screens.c
screens.h
scrobbler.c Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
scrobbler.h
settings.c One more get_user_file_path() fix. Don't store the user dir in config.cfg and 2010-08-05 14:31:00 +00:00
settings.h Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
settings_list.c Add default font for LCD_HEIGHT <= 480 2010-08-05 17:57:36 +00:00
settings_list.h
sound_menu.h Remove unneeded include. 2010-08-21 16:07:34 +00:00
SOURCES Android port: add support for hardware keys 2010-08-16 20:12:06 +00:00
status.c
status.h
tagcache.c Fix last red. 2010-08-01 16:26:35 +00:00
tagcache.h
tagnavi.config
tagtree.c
tagtree.h
talk.c lang.h voice comments were off by 1, fixed 2010-05-26 03:51:13 +00:00
talk.h
tdspeed.c
tdspeed.h
tree.c Fix FS#11547 - When selecting radio skin the currently loaded skin is not hilighted when menu is entered 2010-08-17 12:38:18 +00:00
tree.h
usb_keymaps.c
usb_keymaps.h
voice_thread.c
voice_thread.h

For general information see: docs/README
For API information see: docs/API