rockbox/firmware/export
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
..
config 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
adc.h FS#10756 - Free unused init code 2010-03-03 23:20:32 +00:00
ak4537.h
akcodec.h
as3514.h e200v1/c200v1: Implement limited samplerate switching. Rates 24kHz and below are being a bear as far as minor crackling at higher amplitude-- leave them out for the time being since no solution is currently evident. 48, 44, 32 (rec rates 24, 22, 16) seem perfectly fine. I'm betting c200 is ok to include because it uses the same setup as e200. 2010-06-26 10:07:17 +00:00
as3525.h CCU_BASE+0x20 is specific to AMSv2 -> move to as3525v2.h 2010-07-22 13:07:56 +00:00
as3525v2.h CCU_BASE+0x20 is specific to AMSv2 -> move to as3525v2.h 2010-07-22 13:07:56 +00:00
ascodec.h
at91sam9260.h
ata.h
ata_idle_notify.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
ata_mmc.h
audio.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
audiohw.h Fix condition for compiling audiohw_set_monitor (should fix red) 2010-07-31 13:01:52 +00:00
backlight-sw-fading.h
backlight.h FS#10756 - Free unused init code 2010-03-03 23:20:32 +00:00
bidi.h
bitswap.h
bootchart.h bootchart.h doesn't need _ansi.h, especially not in a relative path 2010-07-25 15:28:24 +00:00
buffer.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
button.h FS#10756 - Free unused init code 2010-03-03 23:20:32 +00:00
config.h Define CONFIG_REMOTE_KEYPAD for iaudio x5/m5 and add a keymap for that remote to the logo plugin. Fixes a warning when building with gcc 4.4.4. 2010-07-23 20:20:40 +00:00
config_caps.h
cpu.h FS#10047 : Clipv2 2009-12-31 19:15:20 +00:00
debug.h Move some gcc extensions to new gcc_extensions.h header 2010-07-25 14:44:29 +00:00
disk.h Make disk_init() non-static again. I forgot to look at the bootloaders 2010-06-06 13:28:13 +00:00
dm320.h
ds2411.h
eeprom_24cxx.h
eeprom_settings.h
enc_base.h
events.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
fat.h FS#11118: reduce the number of cached sector in FAT code because some are useless after a rewrite of LFN entries handling. Also makes LFN handling more robust. 2010-03-22 10:35:25 +00:00
filefuncs.h Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
fmradio.h
fmradio_i2c.h mark some functions as init functions (discarded after init() has run) 2010-05-27 12:00:29 +00:00
font.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
gdb_api.h
general.h 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
generic_i2c.h Apply FS #11423 - Use udelay in AMS driver for FM radio I2C 2010-06-21 21:41:07 +00:00
hangul.h
hd66789r.h
hwcompat.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
i2c-coldfire.h Fix more tabs 2010-01-03 10:27:43 +00:00
i2c-pp.h
i2c-s5l8700.h
i2c.h
i2s.h
iap.h Clean up IAP / ipod remote tuner a bit. 2010-04-18 15:46:56 +00:00
ifp_usb_serial.h
imx31l.h Gigabeat S: Implement LCD contrast, invert and flip modes. Enhance LCD power management. Include init data but it's not needed yet (identical to Gigabeat F). 2010-05-18 23:50:00 +00:00
ipod_remote_tuner.h FM tuner region code cleanup - FS #11492 by me. 2010-07-26 20:15:16 +00:00
isp1362.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
isp1583.h
jz4740-codec.h
jz4740.h
jz_mxu.h
kernel.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
lcd-charcell.h
lcd-remote.h Revise r23225 a bit, removing the debug_printf function and implementing more generic lcd_(remote)_putsf function(s) instead and use those in more places 2009-10-17 18:02:48 +00:00
lcd.h FS#10756 - Free unused init code 2010-03-03 23:20:32 +00:00
led.h
logf.h Move some gcc extensions to new gcc_extensions.h header 2010-07-25 14:44:29 +00:00
ltv350qv.h
lv24020lp.h FM tuner region code cleanup - FS #11492 by me. 2010-07-26 20:15:16 +00:00
m5636.h
m66591.h
mas.h Fix more tabs 2010-01-03 10:27:43 +00:00
mas35xx.h
mc13783.h i.MX31/Gigabeat S: Actually enable DPTC which can set optimal voltage for 528MHz. Requires an SPI and PMIC interface rework because of the low-latency needs for the DPTC to work best with minimal panicing. SPI can work with multitasking and asynchronously from interrupt handlers or normal code. 2010-05-04 10:07:53 +00:00
mcf5249.h
mcf5250.h
mips-archdefs.h
mips.h
mipsregs.h
mmc.h
mp3_playback.h
mv.h
nand.h Core changes to allow storage drivers to do cleanup on shutdown, and iPod Nano 2G shutdown code rework (FS#10668) 2009-10-09 20:36:09 +00:00
nand_id.h
ohci.h
panic.h Move some gcc extensions to new gcc_extensions.h header 2010-07-25 14:44:29 +00:00
pcf5060x.h D2: Use a common function for reading ADC values from the PMU 2009-10-08 15:47:43 +00:00
pcf5063x.h Initial support for runtime detection of the PMU used in newer D2+ models (PCF50635). The backlight and battery monitoring should work, but the RTC and touchscreen are not yet implemented. 2009-10-10 17:35:02 +00:00
pcf50605.h
pcf50606.h D2: Use a common function for reading ADC values from the PMU 2009-10-08 15:47:43 +00:00
pcf50635.h Initial support for runtime detection of the PMU used in newer D2+ models (PCF50635). The backlight and battery monitoring should work, but the RTC and touchscreen are not yet implemented. 2009-10-10 17:35:02 +00:00
pcm.h e200v1/c200v1: Implement limited samplerate switching. Rates 24kHz and below are being a bear as far as minor crackling at higher amplitude-- leave them out for the time being since no solution is currently evident. 48, 44, 32 (rec rates 24, 22, 16) seem perfectly fine. I'm betting c200 is ok to include because it uses the same setup as e200. 2010-06-26 10:07:17 +00:00
pcm_sampr.h 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
pl081.h
pl180.h AMS Sansa: Add voltage defines to pl180.h. No functional changes. 2009-10-19 05:34:17 +00:00
pnx0101.h
power.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
powermgmt.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
pp5002.h Move CACHEALIGN_BITS to cpu headers 2010-04-13 15:50:08 +00:00
pp5020.h Move CACHEALIGN_BITS to cpu headers 2010-04-13 15:50:08 +00:00
pp5024.h
pp6100.h
profile.h
qt1106.h
r61509.h
ramdisk.h
rbpaths.h Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
rda5802.h FM tuner region code cleanup - FS #11492 by me. 2010-07-26 20:15:16 +00:00
rolo.h
rtc.h rtc_enable_alarm() needs no return value 2010-05-22 00:28:26 +00:00
s1a0903x01.h
s3c2440.h s5l870x : use mmu-arm.S 2010-04-13 15:59:49 +00:00
s5l8700.h Move CACHEALIGN_BITS to cpu headers 2010-04-13 15:50:08 +00:00
screendump.h
scroll_engine.h FS#10756 - Free unused init code 2010-03-03 23:20:32 +00:00
sd.h Remove card_enable_monitoring() and use a mutex instead. The card_enable_monitoring() method actually didn't eliminate the possible race conditions it was meant to fix. 2010-06-06 13:20:47 +00:00
sdmmc.h Remove card_enable_monitoring() and use a mutex instead. The card_enable_monitoring() method actually didn't eliminate the possible race conditions it was meant to fix. 2010-06-06 13:20:47 +00:00
serial.h
sh7034.h
si4700.h FM tuner region code cleanup - FS #11492 by me. 2010-07-26 20:15:16 +00:00
sound.h Gigabeat S: Fully enable access to hardware tone controls and 3-D effect feature. Under the hood, it's designated a hardware equalizer since it is one. Implement code framework for hardware EQ in general. Menu aspect is well abstracted and so the UI and strings can be changed around if taste doesn't quite suit. So far the emphasis is distinction of the UI labelling from the software EQ so that it's clear the settings are for a different thing. 2010-05-15 13:09:45 +00:00
spdif.h
spi.h
storage.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
structec.h
sw_i2c.h
synaptics-mep.h hdd6330: change the synaptics-mep driver in a few places according to the touchpad behavior. 2010-07-04 12:03:38 +00:00
system.h Move some gcc extensions to new gcc_extensions.h header 2010-07-25 14:44:29 +00:00
tcc77x.h
tcc780x.h D2: Enable ARM cache coherency functions (eg. during codec load), which should eliminate data aborts/freezes on track changes. NOTE: The linker script reserves space at the end of DRAM for the TTB, but this is not currently used. 2009-09-01 21:35:37 +00:00
tea5760.h FM tuner region code cleanup - FS #11492 by me. 2010-07-26 20:15:16 +00:00
tea5767.h FM tuner region code cleanup - FS #11492 by me. 2010-07-26 20:15:16 +00:00
thread.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
timer.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
tlv320.h
touchscreen.h Remove svn:executable from firmware 2009-10-31 02:26:40 +00:00
tsc200x.h Touchscreen support for newer Cowon D2+ hardware revisions (using TSC200x touchscreen controller). 2009-10-15 20:13:29 +00:00
tsc2100.h
tuner.h FM tuner region code cleanup - FS #11492 by me. 2010-07-26 20:15:16 +00:00
uda1341.h Improvements to mini2440/UDA1341 audio 2009-11-01 22:58:08 +00:00
uda1380.h Fix more tabs 2010-01-03 10:27:43 +00:00
udacodec.h
usb-s3c6400x.h iPod Nano 2G USB support based on the S3C6400X datasheet. Disabled by default for now. 2009-10-20 06:37:07 +00:00
usb-tcc.h Fix more tabs 2010-01-03 10:27:43 +00:00
usb.h New USB charging system, part 2 - "Force" charging mode 2010-06-05 20:43:30 +00:00
usb_ch9.h Fix more tabs 2010-01-03 10:27:43 +00:00
usb_core.h New USB charging system, part 1 - API rework and user-visible setting update 2010-06-05 10:05:27 +00:00
usb_drv.h
wm8731.h
wm8751.h WM8750 - add ALC and NGAT related low level functions (disabled now by default) 2010-07-27 20:57:33 +00:00
wm8758.h Submit FS#11065. Introduce a new system setting for en-/disabling the Line-out. For now only implemented on iPod Video. This allows to save power if the user does not use the player's Line-out. On iPod 5G the saving is ~0.5 mA. 2010-03-20 15:02:29 +00:00
wm8975.h
wm8978.h Gigabeat S: Fully enable access to hardware tone controls and 3-D effect feature. Under the hood, it's designated a hardware equalizer since it is one. Implement code framework for hardware EQ in general. Menu aspect is well abstracted and so the UI and strings can be changed around if taste doesn't quite suit. So far the emphasis is distinction of the UI labelling from the software EQ so that it's clear the settings are for a different thing. 2010-05-15 13:09:45 +00:00
wm8985.h Submit FS#11240 by Raphael Jakse. Allows to reduce volume on WM8985 to -89 dB (e.g. used for Cowon D2). Below -57 dB the line out is affected. The manual is updated accordingly. 2010-05-30 18:29:04 +00:00
wmcodec.h