weston/shared
Ossama Othman a50e6e4c50 config-parser: Honor XDG_CONFIG_DIRS
This set of changes adds support for searching for a given config file
in the directories listed in $XDG_CONFIG_DIRS if it wasn't found in
$XDG_CONFIG_HOME or ~/.config.  This allows packages to install custom
config files in /etc/xdg/weston, for example, thus allowing them to
avoid dealing with home directories.

To avoid a TOCTOU race the config file is actually open()ed during the
search.  Its file descriptor is returned and stored in the compositor
for later use when performing subsequent config file parses.

Signed-off-by: Ossama Othman <ossama.othman@intel.com>
2013-05-14 14:36:37 -04:00
..
cairo-util.c Add new shared/image-loader.h to separate include dependencies 2013-01-28 16:02:04 -05:00
cairo-util.h Add new shared/image-loader.h to separate include dependencies 2013-01-28 16:02:04 -05:00
config-parser.c config-parser: Honor XDG_CONFIG_DIRS 2013-05-14 14:36:37 -04:00
config-parser.h config-parser: Honor XDG_CONFIG_DIRS 2013-05-14 14:36:37 -04:00
image-loader.c Fix compiler warnings 2013-04-03 20:40:44 -04:00
image-loader.h Add new shared/image-loader.h to separate include dependencies 2013-01-28 16:02:04 -05:00
Makefile.am Add new shared/image-loader.h to separate include dependencies 2013-01-28 16:02:04 -05:00
matrix.c matrix: track transform type 2013-01-28 16:10:03 -05:00
matrix.h sdk: be C++ friendly 2013-03-28 14:03:58 -04:00
option-parser.c Pass argc pointer to parse_options() 2013-02-20 15:27:49 -05:00
os-compatibility.c compositor: add fallback strchrnul() 2012-06-12 12:29:13 -04:00
os-compatibility.h compositor: add fallback strchrnul() 2012-06-12 12:29:13 -04:00