Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | src/local.mk, src/*/local.mk, src/*/*/local.mk: Distribute headers | Patrick McDermott | 2017-11-13 | 1 | -1/+4 |
| | |||||
* | mq_config_new(): Use g_new0() instead of malloc() | Patrick McDermott | 2017-11-12 | 1 | -1/+1 |
| | |||||
* | MqProfiles: Manage current profile's MqConfig | Patrick McDermott | 2017-11-12 | 2 | -0/+19 |
| | | | | And save it on profile re-insertion. | ||||
* | MqProfiles: Handle only the changes done hint | Patrick McDermott | 2017-11-12 | 1 | -0/+4 |
| | |||||
* | mq_profiles_remove(): Don't remove the current profile | Patrick McDermott | 2017-11-11 | 1 | -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 succeeds | Patrick McDermott | 2017-11-11 | 1 | -3/+5 |
| | |||||
* | mq_profiles_remove(): Remove profile directory | Patrick McDermott | 2017-11-10 | 1 | -1/+34 |
| | |||||
* | mq_profiles_new(): Monitor profiles file for changes | Patrick McDermott | 2017-11-10 | 1 | -1/+50 |
| | |||||
* | mq_profiles_insert(): Split out insertion into new static function | Patrick McDermott | 2017-11-10 | 1 | -13/+25 |
| | |||||
* | mq_profiles_new(): Free a created GFile | Patrick McDermott | 2017-11-10 | 1 | -0/+1 |
| | |||||
* | mq_profiles_get_default(): Handle case of no profiles marked default | Patrick McDermott | 2017-11-08 | 1 | -0/+6 |
| | |||||
* | mq_config_deref(): Rename to mq_config_free() | Patrick McDermott | 2017-11-08 | 3 | -4/+4 |
| | |||||
* | mq_profile_launch(): New function | Patrick McDermott | 2017-11-07 | 2 | -0/+35 |
| | |||||
* | mq_profiles_new(): Save created configs | Patrick McDermott | 2017-11-06 | 1 | -4/+9 |
| | |||||
* | mq_profiles_new(): Close file creation output stream | Patrick McDermott | 2017-11-06 | 1 | -0/+1 |
| | |||||
* | mq_profiles_new(): Don't load profiles if just created | Patrick McDermott | 2017-11-06 | 1 | -1/+1 |
| | |||||
* | mq_profiles_insert(): Fix directory creation | Patrick McDermott | 2017-11-06 | 1 | -1/+5 |
| | | | | Wow that was stupid. | ||||
* | mq_profiles_new(): Free configs after creation | Patrick McDermott | 2017-11-06 | 1 | -2/+4 |
| | |||||
* | mq_config_deref(): New function | Patrick McDermott | 2017-11-06 | 2 | -0/+13 |
| | |||||
* | mq_profiles_new(): Create profile configs | Patrick McDermott | 2017-11-06 | 1 | -4/+11 |
| | |||||
* | mq_config_new(): Set cookies.accept to "no-third-party" by default | Patrick McDermott | 2017-11-06 | 1 | -1/+1 |
| | | | | For any profile type. | ||||
* | mq_config_new(): Add a profile type argument | Patrick McDermott | 2017-11-06 | 2 | -7/+15 |
| | |||||
* | mq_profiles_insert(): Make sure directory can be created | Patrick McDermott | 2017-11-06 | 1 | -5/+16 |
| | |||||
* | src/config/profiles.c: Set default profile after all insertions | Patrick McDermott | 2017-11-06 | 1 | -8/+7 |
| | |||||
* | src/config/profiles.c: Add a blank line | Patrick McDermott | 2017-11-06 | 1 | -0/+1 |
| | |||||
* | src/config/profiles.c: Insert default profiles | Patrick McDermott | 2017-11-06 | 1 | -0/+10 |
| | |||||
* | mq_profiles_[gs]et_current(): New functions | Patrick McDermott | 2017-11-05 | 2 | -0/+25 |
| | |||||
* | mq_profiles_insert(): Replace disallowed characters with "_", not "-" | Patrick McDermott | 2017-11-04 | 1 | -1/+1 |
| | |||||
* | mq_profiles_insert(): New function | Patrick McDermott | 2017-11-04 | 2 | -0/+22 |
| | |||||
* | mq_profiles_get_default(): New function | Patrick McDermott | 2017-11-04 | 2 | -0/+26 |
| | |||||
* | mq_profiles_remove(): New function | Patrick McDermott | 2017-11-04 | 2 | -0/+9 |
| | |||||
* | mq_profiles_set_default(): Fix | Patrick McDermott | 2017-11-04 | 1 | -1/+1 |
| | |||||
* | mq_profiles_set_default(): New function | Patrick McDermott | 2017-11-04 | 2 | -0/+20 |
| | |||||
* | mq_profiles_is_default(): New function | Patrick McDermott | 2017-11-04 | 2 | -0/+10 |
| | |||||
* | mq_profiles_new(): Call g_key_file_new() | Patrick McDermott | 2017-11-04 | 1 | -0/+1 |
| | |||||
* | [WIP] src/config/profiles.[ch]: New files | Patrick McDermott | 2017-11-04 | 3 | -0/+181 |
| | |||||
* | Add missing #endif comments to headers | Patrick McDermott | 2017-11-03 | 1 | -1/+1 |
| | |||||
* | Add missing G_BEGIN_DECLS/G_END_DECLS to headers | Patrick McDermott | 2017-11-03 | 1 | -0/+4 |
| | |||||
* | src/config/local.mk: Add file to repository | Patrick McDermott | 2017-11-03 | 1 | -0/+3 |
| | | | | Oops. | ||||
* | MqConfig: Add default cases to switches | Patrick McDermott | 2017-11-01 | 1 | -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 switch | Patrick McDermott | 2017-11-01 | 1 | -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 McDermott | 2017-11-01 | 4 | -0/+1135 |