summaryrefslogtreecommitdiffstats
path: root/src/config.c
Commit message (Collapse)AuthorAgeFilesLines
* MqConfig: Make struct definition privatePatrick McDermott2017-10-221-0/+8
|
* src/*.c: Reorganize #include directivesPatrick McDermott2017-10-131-3/+3
|
* MqConfig: Pass MqConfig object to notification callbacksPatrick McDermott2017-10-061-4/+4
| | | | And update callbacks in src/web-settings.c.
* mq_config_get_string_list(): New functionPatrick McDermott2017-10-061-0/+18
|
* mq_config_notify_*(): New functionsPatrick McDermott2017-10-061-0/+72
|
* src/config.h: Define callback function pointer typesPatrick McDermott2017-10-061-4/+4
|
* MqConfig: Propagate const qualification through callbacksPatrick McDermott2017-10-051-10/+10
|
* src/config.c: Move a static functionPatrick McDermott2017-10-051-42/+42
|
* src/config.c: Set string lists as stringsPatrick McDermott2017-10-051-1/+1
|
* mq_config_get_string(), mq_config_set_string(): New functionsPatrick McDermott2017-10-051-1/+43
|
* mq_config_load(): Load from ${XDG_CONFIG_HOME}/${PACKAGE}/${profile}Patrick McDermott2017-10-041-4/+8
| | | | Where ${PACKAGE} is "marquee".
* mq_config_load(): Build profile directoryPatrick McDermott2017-10-041-0/+8
| | | | And save profile name in mq_config_new().
* mq_config_new(): Build file name with g_build_filename()Patrick McDermott2017-10-041-2/+2
|
* src/config.c: Drop compatibility.user-agent TODO commentPatrick McDermott2017-10-041-1/+1
|
* src/config.c: Disable DNS prefetching by defaultPatrick McDermott2017-10-041-1/+1
|
* src/config.c: Set resizable text areas config defaultPatrick McDermott2017-10-041-1/+1
|
* src/config.c: Set MediaStream and MediaSource config defaultsPatrick McDermott2017-10-041-55/+55
|
* src/config.c: Set configuration defaultsPatrick McDermott2017-10-041-0/+101
|
* src/config.c: Move a static functionPatrick McDermott2017-10-041-9/+9
|
* mq_config_get_*(), mq_config_set_*(): Free duplicated group/key stringsPatrick McDermott2017-10-041-8/+29
| | | | And fix return value of mq_config_get_double().
* mq_config_set_*(): Fix key arguments to g_key_file_set_*()Patrick McDermott2017-10-041-3/+3
|
* mq_config_get_*(): DefinePatrick McDermott2017-10-041-0/+36
|
* src/config.[ch]: Support setting integer and double valuesPatrick McDermott2017-10-041-1/+61
| | | | Also declare mq_config_set() in src/config.h.
* src/config.[ch]: Expose static function as mq_config_set_boolean()Patrick McDermott2017-10-041-15/+15
| | | | And declare mq_config_new() in src/config.h.
* src/config.c: Run callbacks on value settingPatrick McDermott2017-10-041-10/+33
| | | | | | And just use "enum", "union", and "struct" keywords and namespaces instead of defining types. Otherwise, at least one of these types would have to be forward declared.
* src/config.c: Move hash table setup into new functionPatrick McDermott2017-10-041-9/+16
|
* src/config.c: Set up hash table of types and callbacksPatrick McDermott2017-10-041-3/+7
|
* src/config.[ch]: New filesPatrick McDermott2017-10-041-0/+120