rockbox/apps
Thomas Martitz 9c0b2479f7 Rockbox as an application: add get_user_file_path().
For RaaA it evaluates user paths at runtime. For everything but codecs/plugins it will give the path under $HOME/.config/rockbox.org if write access is needed or if the file/folder in question exists there (otherwise it gives /usr/local/share/rockbox).
This allows for installing themes under $HOME as well as having config.cfg and other important files there while installing the application (and default themes) under /usr/local.

On the DAPs it's a no-op, returing /.rockbox directly.

Not converted to use get_user_file_path() are plugins themselves, because RaaA doesn't build plugins yet.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27656 a1c6a512-1295-4272-9138-f99709370657
2010-08-01 16:15:27 +00:00
..
bitmaps Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). 2010-06-21 16:53:00 +00:00
codecs mpa: remove bad enum comparison spotted by gcc 4.5.1 2010-08-01 16:08:25 +00:00
eqs
gui Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
keymaps HD200 - add remote keymap 2010-07-06 16:20:38 +00:00
lang Update Swedish translation. 2010-07-28 18:55:22 +00:00
menus Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
metadata aiff metadata: fix format string (%zd for size_t) 2010-07-26 09:04:38 +00:00
player Fix remaining reds/yellows. 2010-05-14 13:21:40 +00:00
plugins Replace remaining printf in midi plugin (fix yellow/red) 2010-07-25 19:47:07 +00:00
radio Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
recorder Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
abrepeat.c
abrepeat.h AB_REPEAT_ENABLE was never defined to 2 2010-07-18 18:13:53 +00:00
action.c Touchregion support for the Base Skin and FM Skins. display obviously needs to be in stylus mode for this to work. Just about all screens should be mostly useable if your sbs has the next/prev/select/cancel/menu regions defined. 2010-06-21 06:04:19 +00:00
action.h ACTION_FM_QUICKSCREEN is unused 2010-06-18 22:42:40 +00:00
alarm_menu.c Wakeup alarm screen is unusuable with large fonts or small screens 2010-05-22 00:28:10 +00:00
alarm_menu.h
appevents.h FS#11263 - Radio Art support! %C and %Cl tags work in the radio screen and Base Skin when the radio is running. 2010-05-16 11:13:42 +00:00
applimits.h
apps.make Prettier genlang-features output. Use the same style for max_language_size.h. 2010-07-17 15:33:35 +00:00
audio_path.c Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). 2010-06-21 16:53:00 +00:00
bookmark.c Even more readable code 2010-07-07 17:30:53 +00:00
bookmark.h Rename functions so that the code is easier to read 2010-07-06 16:53:52 +00:00
buffering.c Remove some redundant #include's 2010-06-29 20:13:22 +00:00
buffering.h
codec_thread.c
codec_thread.h
codecs.c Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
codecs.h Move some gcc extensions to new gcc_extensions.h header 2010-07-25 14:44: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 Rockbox as an application: Fix a few yellows 2010-07-25 17:07:56 +00:00
debug_menu.h
dsp.c
dsp.h
dsp_arm.S FS#11335 by me: make ARM assembly functions thumb-friendly 2010-06-11 04:41:36 +00:00
dsp_arm_v6.S Optimized DSP sample out functions for armv6. (For stereo output) ~9% faster than SVN asm and about 4% faster than SVN asm rearranged to observe pipeline hazards. 2010-04-25 20:04:47 +00:00
dsp_asm.h ARM DSP: Add assembly custom sound channel processing. 13% to 14% faster than currently-used default C code on ARMv4. 2010-05-11 12:37:49 +00:00
dsp_cf.S
enc_config.c fix FS#10993 - "No Settings" doesnt get voiced because it uses str() instead of ID2P() macro 2010-05-20 14:15:11 +00:00
enc_config.h
eq.c
eq.h
eq_arm.S FS#11335 by me: make ARM assembly functions thumb-friendly 2010-06-11 04:41:36 +00:00
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 Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
filetree.h
filetypes.c Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
filetypes.h FS#10853 - Skin support in the radio screen! Check CustomWPS for the new tags 2010-05-12 10:38:00 +00:00
fixedpoint.c Improve accuracy of NR-based fp_sqrt with better initial estimation and using one more bit internally. More reliable early termination. Good enough until better method is completed. 2010-06-08 04:51:00 +00:00
fixedpoint.h
fracmul.h
iap.c Clean up IAP / ipod remote tuner a bit. 2010-04-18 15:46:56 +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 Remove last traces of sprintf.h 2010-05-07 02:13:47 +00:00
logfdisp.h
main.c Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
menu.c do not redraw menu when exiting the menu. 2010-07-11 14:04:34 +00:00
menu.h FS#11250: Hotkey setting method changed to menu item vs button pres in context menu. Manuals updated to match. 2010-05-09 02:02:51 +00:00
metadata.c add True Audio (TTA) codec 2010-05-13 12:40:09 +00:00
metadata.h add True Audio (TTA) codec 2010-05-13 12:40:09 +00:00
misc.c Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
misc.h Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
mp3data.c
mp3data.h
mpeg.c Change cuesheet handling so the id3 info is not spoofed anymore. If something wants the subtracks info it is easy to get to. This makes next track display in the skins show the next subtrack if we are in a cuesheet 2010-06-06 06:28:40 +00:00
mpeg.h
onplay.c Rename functions so that the code is easier to read 2010-07-06 16:53:52 +00:00
onplay.h FS#11270 by Chris Savery - WPS integration for pictureflow 2010-06-09 04:25:41 +00:00
pcmbuf.c Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). 2010-06-21 16:53:00 +00:00
pcmbuf.h
playback.c playback.c: don't assume cacheline size is 16 bytes 2010-06-23 04:34:18 +00:00
playback.h
playlist.c Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
playlist.h Minor const police raid. 2010-05-07 16:35:37 +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
playlist_menu.h
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 Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
plugin.h Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
README
replaygain.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
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 FS#11270 by Chris Savery - WPS integration for pictureflow 2010-06-09 04:25:41 +00:00
screen_access.c Fix remaining reds/yellows. 2010-05-14 13:21:40 +00:00
screen_access.h Fix remaining reds/yellows. 2010-05-14 13:21:40 +00:00
screens.c fix red. no replaygain on hwcodec 2010-05-30 15:33:37 +00:00
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 Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
settings.h Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
settings_list.c Provide the option to automatically update existing bookmark files on stop, without creating ones that don't already exist. 2010-07-05 16:39:00 +00:00
settings_list.h
sound_menu.h
SOURCES FS#11470 - new skin code, finally svn uses the new parser from the theme editor. This means that a skin that passes the editor WILL pass svn and checkwps (unless the target runs out of skin buffer or something. 2010-07-29 12:37:48 +00:00
status.c
status.h Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). 2010-06-21 16:53:00 +00:00
tagcache.c Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
tagcache.h accept FS#10992 by Rui Araújo to fix FS#10976 - make the <Untagged> string translatable 2010-05-20 13:24:50 +00:00
tagnavi.config
tagtree.c accept FS#10992 by Rui Araújo to fix FS#10976 - make the <Untagged> string translatable 2010-05-20 13:24:50 +00:00
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 Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
tree.h
usb_keymaps.c
usb_keymaps.h
voice_thread.c Voice buffer can be much, much smaller. Code cleanup, logf fix 2010-05-28 13:21:24 +00:00
voice_thread.h

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