Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mq_application_new(): Make profile parameter const | Patrick McDermott | 2017-10-29 | 2 | -2/+2 |
| | |||||
* | src/main.c: Set default profile option argument | Patrick McDermott | 2017-10-29 | 1 | -1/+1 |
| | |||||
* | mq_application_new(): Pass profile argument to mq_config_new() | Patrick McDermott | 2017-10-29 | 1 | -2/+2 |
| | |||||
* | about(:version): Show both PACKAGE_VERSION and PACKAGE_VERSION_GIT | Patrick McDermott | 2017-10-29 | 1 | -1/+2 |
| | |||||
* | main(): Print both PACKAGE_VERSION and PACKAGE_VERSION_GIT | Patrick McDermott | 2017-10-29 | 1 | -1/+2 |
| | |||||
* | Makefile.am: Add " (" and ")" to PACKAGE_VERSION_GIT | Patrick McDermott | 2017-10-29 | 1 | -4/+6 |
| | |||||
* | Makefile.am: Leave PACKAGE_VERSION_GIT empty in not IN_GIT | Patrick McDermott | 2017-10-29 | 1 | -1/+1 |
| | |||||
* | Makefile.am: Always show commit count and ID in Git ver string | Patrick McDermott | 2017-10-29 | 1 | -1/+3 |
| | |||||
* | MqApplication: Handle started downloads | Patrick McDermott | 2017-10-29 | 1 | -0/+11 |
| | |||||
* | MqDownload: New type | Patrick McDermott | 2017-10-29 | 3 | -0/+162 |
| | |||||
* | MqWebView: Download responses of undisplayable MIME types | Patrick McDermott | 2017-10-29 | 1 | -0/+34 |
| | |||||
* | MqWebView: Make save file extension non-const in static funcs | Patrick McDermott | 2017-10-29 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: CC src/marquee-web-view.o src/web-view.c: In function ‘save_type_changed_cb’: src/web-view.c:1010:12: warning: assignment discards ‘const’ qualifier from pointer target type extension = get_extension(name); ^ src/web-view.c: In function ‘save_response_cb’: src/web-view.c:1060:14: warning: assignment discards ‘const’ qualifier from pointer target type extension = get_extension(filename); ^ The "extension" variable of save_type_changed_cb() can't be made const because the string to which it points is modified: CC src/marquee-web-view.o src/web-view.c: In function ‘save_type_changed_cb’: src/web-view.c:1016:17: error: assignment of read-only location ‘*extension’ extension[0] = '\0'; /* Remove extension. */ ^ src/web-view.c:1024:17: error: assignment of read-only location ‘*extension’ extension[0] = '\0'; /* Remove extension. */ ^ | ||||
* | MqWebView: Treat "." as part of save file extension | Patrick McDermott | 2017-10-29 | 1 | -17/+19 |
| | | | | This obviates commit 9dbdc3d. | ||||
* | Revert "MqWebView: Add a "." to save name if missing on type change" | Patrick McDermott | 2017-10-29 | 1 | -10/+2 |
| | | | | This reverts commit 9dbdc3d00a233b02de995f8c782f39f1ec521740. | ||||
* | MqWebView: Add a "." to save name if missing on type change | Patrick McDermott | 2017-10-29 | 1 | -2/+10 |
| | |||||
* | MqWebView: Save MHTML if detecting type and extension unknown | Patrick McDermott | 2017-10-29 | 1 | -1/+1 |
| | |||||
* | MqWebView: Fix segmentation faults on save name without "." | Patrick McDermott | 2017-10-29 | 1 | -2/+15 |
| | |||||
* | MqWebView: Fix use of save file name after free | Patrick McDermott | 2017-10-29 | 1 | -1/+2 |
| | |||||
* | MqWebView: Use URI or "page" as save name if title is NULL | Patrick McDermott | 2017-10-29 | 1 | -3/+9 |
| | | | | | | | | Fixes: (marquee:xxxxx): GLib-CRITICAL **: g_strdelimit: assertion 'string != NULL' failed (marquee:xxxxx): Gtk-CRITICAL **: gtk_file_chooser_set_current_name: assertion 'name != NULL' failed | ||||
* | mq_web_view_save(): Clarify file type combo box choices and label | Patrick McDermott | 2017-10-29 | 1 | -4/+4 |
| | |||||
* | MqWebView: Rearrange save functions | Patrick McDermott | 2017-10-29 | 1 | -52/+52 |
| | | | | And rename save_async_cb() to save_mhtml_cb(). | ||||
* | MqWebView: Implement HTML-only saving | Patrick McDermott | 2017-10-29 | 1 | -2/+36 |
| | |||||
* | MqWebView: Detect save type and save MHTML files | Patrick McDermott | 2017-10-28 | 1 | -1/+5 |
| | |||||
* | MqWebView: Rename variable in save type change callback | Patrick McDermott | 2017-10-28 | 1 | -6/+6 |
| | |||||
* | Revert "MqWebView: Rewrite extension checking functions" | Patrick McDermott | 2017-10-28 | 1 | -20/+16 |
| | | | | This reverts commit 99a0a6a1994381a551b5908f3772054e38560ae0. | ||||
* | MqWebView: Rewrite extension checking functions | Patrick McDermott | 2017-10-28 | 1 | -16/+20 |
| | | | | | Are these conditional blocks easier to read than the long return statements? | ||||
* | MqWebView: Factor out extension detection code into functions | Patrick McDermott | 2017-10-28 | 1 | -18/+28 |
| | |||||
* | MqWebView: Only save MHTML if selected in chooser combo box | Patrick McDermott | 2017-10-28 | 1 | -7/+25 |
| | |||||
* | mq_web_view_save(): Make file type combo box change extension | Patrick McDermott | 2017-10-28 | 1 | -0/+51 |
| | |||||
* | mq_web_view_open(), mq_web_view_save(): Move gtk_widget_show_all() call to end | Patrick McDermott | 2017-10-28 | 1 | -6/+8 |
| | | | | Otherwise, the save chooser's extra widget children are invisible. | ||||
* | mq_web_view_save(): Add file type combo box | Patrick McDermott | 2017-10-28 | 1 | -0/+17 |
| | |||||
* | mq_web_view_open(), mq_web_view_save(): Add file filters to file choosers | Patrick McDermott | 2017-10-28 | 1 | -0/+38 |
| | |||||
* | mq_web_view_open(), mq_web_view_save(): Add blank lines and rearrange lines | Patrick McDermott | 2017-10-28 | 1 | -6/+10 |
| | | | | Try to make the code a little more readable and maintainable. | ||||
* | mq_web_view_open(): Add TODO comment | Patrick McDermott | 2017-10-28 | 1 | -0/+2 |
| | |||||
* | mq_web_view_open(), mq_web_view_save(): Don't save NULL chooser folder | Patrick McDermott | 2017-10-28 | 1 | -7/+18 |
| | | | | | Also free the return value of gtk_file_chooser_get_current_folder() and save the configuration in mq_web_view_open()'s callback. | ||||
* | mq_web_view_open(): Set file chooser's current folder | Patrick McDermott | 2017-10-28 | 1 | -0/+8 |
| | |||||
* | mq_web_view_open(): Set directories.open-file to chooser's folder | Patrick McDermott | 2017-10-28 | 1 | -0/+3 |
| | |||||
* | mq_web_view_save(): Set directories.downloads to chooser's folder | Patrick McDermott | 2017-10-28 | 1 | -0/+4 |
| | |||||
* | mq_web_view_save(): Set file chooser's current folder | Patrick McDermott | 2017-10-28 | 1 | -1/+4 |
| | |||||
* | MqConfig: Add directories.* preferences | Patrick McDermott | 2017-10-28 | 1 | -0/+5 |
| | |||||
* | mq_web_view_save(): Clean up title for file name | Patrick McDermott | 2017-10-28 | 1 | -3/+18 |
| | |||||
* | mq_tab_page_open(), mq_tab_page_save(): Remove functions | Patrick McDermott | 2017-10-28 | 2 | -91/+0 |
| | |||||
* | MqMainMenu: Call mq_web_view_open() and mq_web_view_save() | Patrick McDermott | 2017-10-28 | 1 | -2/+2 |
| | | | | Instead of mq_tab_page_open() and mq_tab_page_save(). | ||||
* | mq_web_view_open(), mq_web_view_save(): New functions | Patrick McDermott | 2017-10-28 | 2 | -0/+93 |
| | |||||
* | MqMainMenu: Make "Save page" button effective | Patrick McDermott | 2017-10-28 | 1 | -1/+8 |
| | |||||
* | mq_tab_page_save(): New function | Patrick McDermott | 2017-10-28 | 2 | -0/+54 |
| | |||||
* | MqMainMenu: Make "Open file" button effective | Patrick McDermott | 2017-10-28 | 1 | -1/+8 |
| | |||||
* | mq_tab_page_open(): New function | Patrick McDermott | 2017-10-28 | 2 | -0/+37 |
| | |||||
* | MqTabLabel: Close on middle click | Patrick McDermott | 2017-10-28 | 1 | -1/+3 |
| | |||||
* | Makefile.am: Add missing "#" in header comment | Patrick McDermott | 2017-10-28 | 1 | -1/+1 |
| |