summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* MqWebView: Make save file extension non-const in static funcsPatrick McDermott2017-10-291-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 extensionPatrick McDermott2017-10-291-17/+19
| | | | This obviates commit 9dbdc3d.
* Revert "MqWebView: Add a "." to save name if missing on type change"Patrick McDermott2017-10-291-10/+2
| | | | This reverts commit 9dbdc3d00a233b02de995f8c782f39f1ec521740.
* MqWebView: Add a "." to save name if missing on type changePatrick McDermott2017-10-291-2/+10
|
* MqWebView: Save MHTML if detecting type and extension unknownPatrick McDermott2017-10-291-1/+1
|
* MqWebView: Fix segmentation faults on save name without "."Patrick McDermott2017-10-291-2/+15
|
* MqWebView: Fix use of save file name after freePatrick McDermott2017-10-291-1/+2
|
* MqWebView: Use URI or "page" as save name if title is NULLPatrick McDermott2017-10-291-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 labelPatrick McDermott2017-10-291-4/+4
|
* MqWebView: Rearrange save functionsPatrick McDermott2017-10-291-52/+52
| | | | And rename save_async_cb() to save_mhtml_cb().
* MqWebView: Implement HTML-only savingPatrick McDermott2017-10-291-2/+36
|
* MqWebView: Detect save type and save MHTML filesPatrick McDermott2017-10-281-1/+5
|
* MqWebView: Rename variable in save type change callbackPatrick McDermott2017-10-281-6/+6
|
* Revert "MqWebView: Rewrite extension checking functions"Patrick McDermott2017-10-281-20/+16
| | | | This reverts commit 99a0a6a1994381a551b5908f3772054e38560ae0.
* MqWebView: Rewrite extension checking functionsPatrick McDermott2017-10-281-16/+20
| | | | | Are these conditional blocks easier to read than the long return statements?
* MqWebView: Factor out extension detection code into functionsPatrick McDermott2017-10-281-18/+28
|
* MqWebView: Only save MHTML if selected in chooser combo boxPatrick McDermott2017-10-281-7/+25
|
* mq_web_view_save(): Make file type combo box change extensionPatrick McDermott2017-10-281-0/+51
|
* mq_web_view_open(), mq_web_view_save(): Move gtk_widget_show_all() call to endPatrick McDermott2017-10-281-6/+8
| | | | Otherwise, the save chooser's extra widget children are invisible.
* mq_web_view_save(): Add file type combo boxPatrick McDermott2017-10-281-0/+17
|
* mq_web_view_open(), mq_web_view_save(): Add file filters to file choosersPatrick McDermott2017-10-281-0/+38
|
* mq_web_view_open(), mq_web_view_save(): Add blank lines and rearrange linesPatrick McDermott2017-10-281-6/+10
| | | | Try to make the code a little more readable and maintainable.
* mq_web_view_open(): Add TODO commentPatrick McDermott2017-10-281-0/+2
|
* mq_web_view_open(), mq_web_view_save(): Don't save NULL chooser folderPatrick McDermott2017-10-281-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 folderPatrick McDermott2017-10-281-0/+8
|
* mq_web_view_open(): Set directories.open-file to chooser's folderPatrick McDermott2017-10-281-0/+3
|
* mq_web_view_save(): Set directories.downloads to chooser's folderPatrick McDermott2017-10-281-0/+4
|
* mq_web_view_save(): Set file chooser's current folderPatrick McDermott2017-10-281-1/+4
|
* MqConfig: Add directories.* preferencesPatrick McDermott2017-10-281-0/+5
|
* mq_web_view_save(): Clean up title for file namePatrick McDermott2017-10-281-3/+18
|
* mq_tab_page_open(), mq_tab_page_save(): Remove functionsPatrick McDermott2017-10-282-91/+0
|
* MqMainMenu: Call mq_web_view_open() and mq_web_view_save()Patrick McDermott2017-10-281-2/+2
| | | | Instead of mq_tab_page_open() and mq_tab_page_save().
* mq_web_view_open(), mq_web_view_save(): New functionsPatrick McDermott2017-10-282-0/+93
|
* MqMainMenu: Make "Save page" button effectivePatrick McDermott2017-10-281-1/+8
|
* mq_tab_page_save(): New functionPatrick McDermott2017-10-282-0/+54
|
* MqMainMenu: Make "Open file" button effectivePatrick McDermott2017-10-281-1/+8
|
* mq_tab_page_open(): New functionPatrick McDermott2017-10-282-0/+37
|
* MqTabLabel: Close on middle clickPatrick McDermott2017-10-281-1/+3
|
* MqTabLabel, MqUriEntry: Use a better generic Web page iconPatrick McDermott2017-10-282-3/+3
|
* MqMainMenu: Use a better Preferences button iconPatrick McDermott2017-10-281-1/+1
|
* mq_resource_response(): Return a nicer HTML document on errorPatrick McDermott2017-10-271-3/+18
|
* src/gpl-3-0.[ch]: RemovePatrick McDermott2017-10-273-774/+0
|
* src/html.c: Style <iframe>Patrick McDermott2017-10-271-0/+4
|
* mq_about_version_response(): Load license text in <iframe>Patrick McDermott2017-10-271-2/+2
|
* mq_html_input_iframe(): New functionPatrick McDermott2017-10-272-0/+9
|
* mq_about_request(): Handle "about:resources/*" requestsPatrick McDermott2017-10-271-0/+4
|
* mq_resource_response(): New functionPatrick McDermott2017-10-273-0/+83
|
* mq_application_get_resources_dir(): New functionPatrick McDermott2017-10-272-0/+9
|
* mq_application_new(): Set resources directoryPatrick McDermott2017-10-271-0/+13
|
* mq_html_input_*(): Add ":" to labelsPatrick McDermott2017-10-261-7/+7
|