summaryrefslogtreecommitdiffstats
path: root/src/config
Commit message (Collapse)AuthorAgeFilesLines
* src/local.mk, src/*/local.mk, src/*/*/local.mk: Distribute headersPatrick McDermott2017-11-131-1/+4
|
* mq_config_new(): Use g_new0() instead of malloc()Patrick McDermott2017-11-121-1/+1
|
* MqProfiles: Manage current profile's MqConfigPatrick McDermott2017-11-122-0/+19
| | | | And save it on profile re-insertion.
* MqProfiles: Handle only the changes done hintPatrick McDermott2017-11-121-0/+4
|
* mq_profiles_remove(): Don't remove the current profilePatrick McDermott2017-11-111-0/+4
| | | | | | | A process that removes its own running profile can't restore it. mq_profiles_remove() removes a profile's group from the key file. The file change handler then looks for the current profile's group in the key file. The group isn't found, and the profile can't be restored.
* MqProfiles: Only save if restored profile insertion succeedsPatrick McDermott2017-11-111-3/+5
|
* mq_profiles_remove(): Remove profile directoryPatrick McDermott2017-11-101-1/+34
|
* mq_profiles_new(): Monitor profiles file for changesPatrick McDermott2017-11-101-1/+50
|
* mq_profiles_insert(): Split out insertion into new static functionPatrick McDermott2017-11-101-13/+25
|
* mq_profiles_new(): Free a created GFilePatrick McDermott2017-11-101-0/+1
|
* mq_profiles_get_default(): Handle case of no profiles marked defaultPatrick McDermott2017-11-081-0/+6
|
* mq_config_deref(): Rename to mq_config_free()Patrick McDermott2017-11-083-4/+4
|
* mq_profile_launch(): New functionPatrick McDermott2017-11-072-0/+35
|
* mq_profiles_new(): Save created configsPatrick McDermott2017-11-061-4/+9
|
* mq_profiles_new(): Close file creation output streamPatrick McDermott2017-11-061-0/+1
|
* mq_profiles_new(): Don't load profiles if just createdPatrick McDermott2017-11-061-1/+1
|
* mq_profiles_insert(): Fix directory creationPatrick McDermott2017-11-061-1/+5
| | | | Wow that was stupid.
* mq_profiles_new(): Free configs after creationPatrick McDermott2017-11-061-2/+4
|
* mq_config_deref(): New functionPatrick McDermott2017-11-062-0/+13
|
* mq_profiles_new(): Create profile configsPatrick McDermott2017-11-061-4/+11
|
* mq_config_new(): Set cookies.accept to "no-third-party" by defaultPatrick McDermott2017-11-061-1/+1
| | | | For any profile type.
* mq_config_new(): Add a profile type argumentPatrick McDermott2017-11-062-7/+15
|
* mq_profiles_insert(): Make sure directory can be createdPatrick McDermott2017-11-061-5/+16
|
* src/config/profiles.c: Set default profile after all insertionsPatrick McDermott2017-11-061-8/+7
|
* src/config/profiles.c: Add a blank linePatrick McDermott2017-11-061-0/+1
|
* src/config/profiles.c: Insert default profilesPatrick McDermott2017-11-061-0/+10
|
* mq_profiles_[gs]et_current(): New functionsPatrick McDermott2017-11-052-0/+25
|
* mq_profiles_insert(): Replace disallowed characters with "_", not "-"Patrick McDermott2017-11-041-1/+1
|
* mq_profiles_insert(): New functionPatrick McDermott2017-11-042-0/+22
|
* mq_profiles_get_default(): New functionPatrick McDermott2017-11-042-0/+26
|
* mq_profiles_remove(): New functionPatrick McDermott2017-11-042-0/+9
|
* mq_profiles_set_default(): FixPatrick McDermott2017-11-041-1/+1
|
* mq_profiles_set_default(): New functionPatrick McDermott2017-11-042-0/+20
|
* mq_profiles_is_default(): New functionPatrick McDermott2017-11-042-0/+10
|
* mq_profiles_new(): Call g_key_file_new()Patrick McDermott2017-11-041-0/+1
|
* [WIP] src/config/profiles.[ch]: New filesPatrick McDermott2017-11-043-0/+181
|
* Add missing #endif comments to headersPatrick McDermott2017-11-031-1/+1
|
* Add missing G_BEGIN_DECLS/G_END_DECLS to headersPatrick McDermott2017-11-031-0/+4
|
* src/config/local.mk: Add file to repositoryPatrick McDermott2017-11-031-0/+3
| | | | Oops.
* MqConfig: Add default cases to switchesPatrick McDermott2017-11-011-0/+6
| | | | | | | | | | | | | | Fixes: CC src/config/marquee-config.o src/config/config.c: In function ‘set_type_or_run_callbacks’: src/config/config.c:332:4: warning: switch missing default case [-Wswitch-default] switch (item->type) { ^ src/config/config.c: In function ‘mq_config_set’: src/config/config.c:429:2: warning: switch missing default case [-Wswitch-default] switch (item->type) { ^
* mq_settings_connect_config(): Add default case to switchPatrick McDermott2017-11-011-0/+3
| | | | | | | | | | Fixes: CC src/config/marquee-settings.o src/config/settings.c: In function ‘mq_settings_connect_config’: src/config/settings.c:365:3: warning: switch missing default case [-Wswitch-default] switch (mappings[i].type) { ^
* src/config.[ch], src/settings.[ch]: Move under src/config/Patrick McDermott2017-11-014-0/+1135