summaryrefslogtreecommitdiffstats
path: root/options/m_config.h
Commit message (Collapse)AuthorAgeFilesLines
* command: make options property return the list of all optionswm42014-02-241-0/+3
|
* client API: implement setting options using their native type toowm42014-02-241-0/+6
| | | | | | | | | | | This is only half-implemented: actually the option will first be converted from mpv_node to its native type, then it's converted to a string, and then back to its native type. This is because the option API was made for strings and not anything else. Other than being grossly inelegant, the only downside is probably with string lists and key/value lists, which don't escape strings containing syntax elements correctly.
* m_option, m_config: mp_msg conversionswm42013-12-211-3/+7
| | | | | | | | Always pass around mp_log contexts in the option parser code. This of course affects all users of this API as well. In stream.c, pass a mp_null_log, because we can't do it properly yet. This will be fixed later.
* m_config: add custom context to includefunc callbackwm42013-12-211-1/+2
|
* Split mpvcore/ into common/, misc/, bstr/wm42013-12-171-1/+1
|
* Move options/config related files from mpvcore/ to options/wm42013-12-171-0/+216
Since m_option.h and options.h are extremely often included, a lot of files have to be changed. Moving path.c/h to options/ is a bit questionable, but since this is mainly about access to config files (which are also handled in options/), it's probably ok.