Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | config: use the same signature for win32/OSX specific path functions | wm4 | 2014-06-26 | 1 | -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 implementation | Kenneth Zhou | 2014-06-26 | 1 | -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 build | wm4 | 2013-12-22 | 1 | -1/+1 |
| | | | | Untested... no OSX here. | ||||
* | path lookup functions: mp_msg conversions | wm4 | 2013-12-21 | 1 | -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 references | 11rcombs | 2013-12-17 | 1 | -1/+1 |
| | |||||
* | macosx: move bundle path stuff to path-macosx.m | Stefano Pigozzi | 2013-09-18 | 1 | -0/+30 |
This makes the code uniform to how stuff was handled for Windows in 1cb55ceb. |