rockbox/firmware
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
..
common Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
decompressor
drivers More minor const/static/include fixes. 2010-08-01 11:10:39 +00:00
export Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
include Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
libc Move some gcc extensions to new gcc_extensions.h header 2010-07-25 14:44:29 +00:00
target More minor const/static/include fixes. 2010-08-01 11:10:39 +00:00
test
usbstack usb_storage seems to be working now, enable USE_ROCKBOX_USB on C200v2, other AMSv1 untested. 2010-06-22 05:46:54 +00:00
arabjoin.c
arabjoin.h
ata_idle_notify.c
backlight-sw-fading.c
backlight.c Fix #ifdef in backlight.c from previous commit 2010-08-01 10:17:17 +00:00
bidi.c
buffer.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
COPYING
debug.c
eeprom_settings.c
enc_base.c
events.c
firmware.make Rename/change SIMVER to APP_TYPE in the Makefiles. 2010-07-10 13:49:49 +00:00
font.c Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
font_cache.c
general.c Simplify mpegplayer a bit and use array-based lists rather than linked lists for stream management. Move a couple useful functions to handle pointer arrays from kernel.c into general.c; mpeglayer now makes use of them. 2010-05-17 12:34:05 +00:00
hangul.c
ifp_usb_serial.c
kernel.c avoid dereferencing void** to remove warnings when building with -Os 2010-06-10 02:26:09 +00:00
logf.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
lru.c
mp3_playback.c
panic.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
pcm.c Should clear up rest of red. Add a required #define in the config for c200. Fix up some preprocessing directives. Hope it's all taken care of now. 2010-06-26 10:37:41 +00:00
pcm_sampr.c
powermgmt.c Add optional CURRENT_ATA in runcurrent(). On MPIO HD200 powering ata takes ~100mA which is sagnificant contribution to the total power consumption. 2010-07-27 21:27:51 +00:00
profile.c
README
rolo.c rolo: use BX for ARM branches 2010-05-31 14:42:27 +00:00
rom.lds
screendump.c
scroll_engine.c Various minor clean-ups for mrobe 2010-07-31 13:41:06 +00:00
sdmmc.c Various minor cleanups 2010-08-01 10:07:05 +00:00
sound.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
SOURCES Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
storage.c Add #include to power-ipod.c, make some variables static in storage.c 2010-07-31 10:59:22 +00:00
system.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
thread.c For multiprocessor targets, do the thread_exit routine such that we don't need to rely on the compiler's good graces to have stack switching be reliable. Only needs a few asm instructions. 2010-06-18 03:10:18 +00:00
timer.c
tuner.c FM tuner region code cleanup - FS #11492 by me. 2010-07-26 20:15:16 +00:00
usb.c as3525: bootloader USB mode 2010-06-18 01:47:39 +00:00

See docs/README