1
0
Fork 0
forked from len0rd/rockbox
foxbox/apps/gui
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
..
bitmap I somehow messed up the previous commit, undo the unrelated changes. 2010-06-24 14:32:25 +00:00
charcell 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
skin_engine Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
backdrop.c really the last of the red this time 2010-01-29 08:39:08 +00:00
backdrop.h fix the last of the red... note to self, fix backdrop.h! 2010-01-29 08:25:24 +00:00
buttonbar.c Fix remaining reds/yellows. 2010-05-14 13:21:40 +00:00
buttonbar.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
color_picker.c color_picker: a bit of rework for color_picker. 2010-02-11 14:18:31 +00:00
color_picker.h color_picker: a bit of rework for color_picker. 2010-02-11 14:18:31 +00:00
icon.c Fine tuning of gui elements positioning in RTL mode 2009-10-05 23:41:59 +00:00
icon.h Revert hotkey bitmaps 2010-05-07 14:46:42 +00:00
list.c FS#10336 - Simplify list redrawing to improve voicing when scrolling to top/bottom. 2010-06-15 07:08:35 +00:00
list.h remove unused fields from struct gui_synclist. 2010-02-21 13:32:52 +00:00
option_select.c Fix F_T_SOUND voicing for decimals and physical values. 2010-05-12 06:44:29 +00:00
option_select.h Make the formatter functions used by the settings return a pointer to avoid usless copying of lang strings, this brought with it a long chain of const correctness and a few random cleanups 2009-08-20 16:47:44 +00:00
pitchscreen.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
pitchscreen.h Fix red in bootloaders 2009-07-11 17:16:23 +00:00
quickscreen.c Restore the 'read_disk' flag for settings_apply that was removed in r24922. It is still needed to prevent uncessary disk I/O for fonts etc. Should fix FS#11071 (I haven't tested it on a HD-based player). 2010-03-06 12:14:12 +00:00
quickscreen.h Quickscreen: 4th item 2009-08-29 14:42:03 +00:00
scrollbar.c pass pointers around instead of coping whole structs 2010-05-20 15:27:17 +00:00
scrollbar.h pass pointers around instead of coping whole structs 2010-05-20 15:27:17 +00:00
splash.c tweak position of splash so that it is displayed inside the ui viewport. 2010-07-10 13:40:35 +00:00
splash.h Move some gcc extensions to new gcc_extensions.h header 2010-07-25 14:44:29 +00:00
statusbar-skinned.c remove an unused variable 2010-07-31 08:58:34 +00:00
statusbar-skinned.h 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
statusbar.c AB_REPEAT_ENABLE was never defined to 2 2010-07-18 18:13:53 +00:00
statusbar.h cleanup statusbar+base skin relationship... 2010-03-06 00:29:46 +00:00
theme_settings.c Rockbox as an application: add get_user_file_path(). 2010-08-01 16:15:27 +00:00
usb_screen.c r27028 again.. properly close font fd's and reload the skins on usb exit (disk should be spinning so hopefully not disastrous!) 2010-06-23 05:48:35 +00:00
usb_screen.h Make mini2440 compile again. 2010-03-08 23:43:11 +00:00
viewport.c 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
viewport.h 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
wps.c Various minor clean-ups for mrobe 2010-07-31 13:41:06 +00:00
wps.h FS#10756 - Free unused init code 2010-03-03 23:20:32 +00:00
yesno.c Fix two viewport related charcell bugs: crashes in the yesno screen and the USB screen. This mess should really be fixed properly by enabling viewport management for charcell. 2010-04-11 12:28:02 +00:00
yesno.h Clean up some more #includes 2009-03-08 18:37:32 +00:00