summaryrefslogtreecommitdiffstats
path: root/osdep/path-macosx.m
Commit message (Collapse)AuthorAgeFilesLines
* config: use the same signature for win32/OSX specific path functionswm42014-06-261-3/+4
| | | | | | | | Seems like a good idea, even if it's basically unused (yet). Also document requirements on the functions (they're not obvious). OSX changes untested.
* Basic xdg directory implementationKenneth Zhou2014-06-261-3/+2
| | | | | | | | | | Search $XDG_CONFIG_HOME and $XDG_CONFIG_DIRS for config files. This also negates the need to have separate user and global variants of mp_find_config_file() Closes #864, #109. Signed-off-by: wm4 <wm4@nowhere>
* path-macosx: attempt to fix buildwm42013-12-221-1/+1
| | | | Untested... no OSX here.
* path lookup functions: mp_msg conversionswm42013-12-211-2/+3
| | | | | | | | | | | | | | | | | There's a single mp_msg() in path.c, but all path lookup functions seem to depend on it, so we get a rat-tail of stuff we have to change. This is probably a good thing though, because we can have the path lookup functions also access options, so we could allow overriding the default config path, or ignore the MPV_HOME environment variable, and such things. Also take the chance to consistently add talloc_ctx parameters to the path lookup functions. Also, this change causes a big mess on configfiles.c. It's the same issue: everything suddenly needs a (different) context argument. Make it less wild by providing a mp_load_auto_profiles() function, which isolates most of it to configfiles.c.
* Fix OSX build; remove all remaining mpvcore references11rcombs2013-12-171-1/+1
|
* macosx: move bundle path stuff to path-macosx.mStefano Pigozzi2013-09-181-0/+30
This makes the code uniform to how stuff was handled for Windows in 1cb55ceb.