Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
... | |||||
* | src/web-settings.c: Initialize GValue structs before g_value_init() | Patrick McDermott | 2017-10-06 | 1 | -4/+4 |
| | | | | | | | | Fixes: (marquee:xxxxx): GLib-GObject-WARNING **: [...]: cannot initialize GValue with type 'gboolean', the value has already been initialized as '(null)' (marquee:xxxxx): GLib-GObject-CRITICAL **: g_value_set_boolean: assertion 'G_VALUE_HOLDS_BOOLEAN (value)' failed | ||||
* | src/web-settings.c: Call the right function | Patrick McDermott | 2017-10-06 | 1 | -1/+1 |
| | |||||
* | src/web-settings.c: Fix a struct's members | Patrick McDermott | 2017-10-06 | 1 | -2/+2 |
| | |||||
* | MqApplication: Use mq_web_settings_connect() | Patrick McDermott | 2017-10-06 | 1 | -12/+4 |
| | |||||
* | src/web-settings.[ch]: New files | Patrick McDermott | 2017-10-06 | 3 | -0/+303 |
| | |||||
* | MqApplication: Instantiate a WebKitSettings object with a setting | Patrick McDermott | 2017-10-06 | 1 | -8/+29 |
| | | | | WIP. | ||||
* | mq_config_get_string_list(): New function | Patrick McDermott | 2017-10-06 | 2 | -0/+21 |
| | |||||
* | mq_config_notify_*(): New functions | Patrick McDermott | 2017-10-06 | 2 | -0/+88 |
| | |||||
* | src/config.h: Define callback function pointer types | Patrick McDermott | 2017-10-06 | 2 | -4/+10 |
| | |||||
* | MqConfig: Propagate const qualification through callbacks | Patrick McDermott | 2017-10-05 | 1 | -10/+10 |
| | |||||
* | src/config.c: Move a static function | Patrick McDermott | 2017-10-05 | 1 | -42/+42 |
| | |||||
* | mq_html_input_*(): Add newlines | Patrick McDermott | 2017-10-05 | 1 | -11/+11 |
| | |||||
* | about:preferences: Don't try to save "_tabs" form element | Patrick McDermott | 2017-10-05 | 1 | -1/+3 |
| | |||||
* | about:preferences: Get string list values (as strings) | Patrick McDermott | 2017-10-05 | 1 | -1/+1 |
| | |||||
* | src/config.c: Set string lists as strings | Patrick McDermott | 2017-10-05 | 1 | -1/+1 |
| | |||||
* | about:preferences: Get string values | Patrick McDermott | 2017-10-05 | 1 | -1/+1 |
| | |||||
* | mq_config_get_string(), mq_config_set_string(): New functions | Patrick McDermott | 2017-10-05 | 2 | -1/+49 |
| | |||||
* | Revert "src/about.c: Use strtok_r() to parse query strings" | Patrick McDermott | 2017-10-05 | 1 | -8/+16 |
| | | | | | | | | This reverts commit a1fa82f65eceddd76861ce132c8b1b9a458eb0de. strtok_r() doesn't properly handle empty tokens, e.g.: tabs.new=&tabs.home=&tabs.background=on&tabs.warn-on-close=on&... | ||||
* | src/about.c: Make query string parsing function static | Patrick McDermott | 2017-10-05 | 1 | -1/+1 |
| | |||||
* | about:preferences: Add two more pages of preferences | Patrick McDermott | 2017-10-05 | 1 | -0/+86 |
| | |||||
* | about:preferences: Display and save some preferences | Patrick McDermott | 2017-10-05 | 1 | -16/+120 |
| | |||||
* | mq_html_input_number_d(): New function | Patrick McDermott | 2017-10-05 | 2 | -0/+15 |
| | |||||
* | mq_html_input_number_i(): New function | Patrick McDermott | 2017-10-05 | 2 | -0/+15 |
| | |||||
* | src/html.c: Display labels as blocks | Patrick McDermott | 2017-10-05 | 1 | -0/+3 |
| | |||||
* | mq_config_load(): Load from ${XDG_CONFIG_HOME}/${PACKAGE}/${profile} | Patrick McDermott | 2017-10-04 | 1 | -4/+8 |
| | | | | Where ${PACKAGE} is "marquee". | ||||
* | mq_config_load(): Build profile directory | Patrick McDermott | 2017-10-04 | 2 | -0/+9 |
| | | | | And save profile name in mq_config_new(). | ||||
* | mq_config_new(): Build file name with g_build_filename() | Patrick McDermott | 2017-10-04 | 1 | -2/+2 |
| | |||||
* | MqApplication: Use MqConfig | Patrick McDermott | 2017-10-04 | 2 | -0/+14 |
| | |||||
* | src/config.h: Declare mq_config_load() and mq_config_save() | Patrick McDermott | 2017-10-04 | 1 | -0/+6 |
| | |||||
* | src/config.c: Drop compatibility.user-agent TODO comment | Patrick McDermott | 2017-10-04 | 1 | -1/+1 |
| | |||||
* | src/config.c: Disable DNS prefetching by default | Patrick McDermott | 2017-10-04 | 1 | -1/+1 |
| | |||||
* | src/config.c: Set resizable text areas config default | Patrick McDermott | 2017-10-04 | 1 | -1/+1 |
| | |||||
* | src/config.c: Set MediaStream and MediaSource config defaults | Patrick McDermott | 2017-10-04 | 1 | -55/+55 |
| | |||||
* | src/config.c: Set configuration defaults | Patrick McDermott | 2017-10-04 | 1 | -0/+101 |
| | |||||
* | src/config.c: Move a static function | Patrick McDermott | 2017-10-04 | 1 | -9/+9 |
| | |||||
* | mq_config_get_*(), mq_config_set_*(): Free duplicated group/key strings | Patrick McDermott | 2017-10-04 | 2 | -9/+30 |
| | | | | And fix return value of mq_config_get_double(). | ||||
* | mq_config_set_*(): Fix key arguments to g_key_file_set_*() | Patrick McDermott | 2017-10-04 | 1 | -3/+3 |
| | |||||
* | mq_config_get_*(): Define | Patrick McDermott | 2017-10-04 | 2 | -0/+45 |
| | |||||
* | src/config.[ch]: Support setting integer and double values | Patrick McDermott | 2017-10-04 | 2 | -1/+70 |
| | | | | Also declare mq_config_set() in src/config.h. | ||||
* | src/config.[ch]: Expose static function as mq_config_set_boolean() | Patrick McDermott | 2017-10-04 | 2 | -15/+21 |
| | | | | And declare mq_config_new() in src/config.h. | ||||
* | src/config.c: Run callbacks on value setting | Patrick McDermott | 2017-10-04 | 1 | -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 function | Patrick McDermott | 2017-10-04 | 1 | -9/+16 |
| | |||||
* | src/config.c: Set up hash table of types and callbacks | Patrick McDermott | 2017-10-04 | 1 | -3/+7 |
| | |||||
* | src/config.[ch]: New files | Patrick McDermott | 2017-10-04 | 3 | -0/+157 |
| | |||||
* | mq_html_input_checkbox(): Enable "off" values | Patrick McDermott | 2017-10-04 | 1 | -1/+24 |
| | |||||
* | mq_html_input_radio(), mq_html_input_checkbox(): Fix input types | Patrick McDermott | 2017-10-04 | 1 | -2/+2 |
| | |||||
* | about:(version): Use mq_gpl_3_0_html() instead of overlength string | Patrick McDermott | 2017-10-02 | 1 | -688/+2 |
| | |||||
* | src/gpl-3-0.[ch]: New files | Patrick McDermott | 2017-10-02 | 3 | -0/+774 |
| | | | | | | | | | | | | | | mq_gpl_3_0_html() builds a long string from an array of shorter strings. This works around possibly limited literal string lengths of compilers, as described by this warning from GCC: $ make [...] CC src/about/marquee-version.o src/about/version.c:726:2: warning: string length ‘36973’ is greater than the length ‘4095’ ISO C99 compilers are required to support [-Woverlength-strings] ; ^ [...] | ||||
* | about:preferences: Convert to a vertical notebook | Patrick McDermott | 2017-10-02 | 1 | -1/+1 |
| | |||||
* | src/html.c: Add vertical notebook styles | Patrick McDermott | 2017-10-02 | 1 | -0/+47 |
| |