Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
... | |||||
| * | mq_web_view_load_uri(): Free uri member before assigning to it | Patrick McDermott | 2017-10-12 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | We're checking that it isn't NULL before calling g_free(). g_free() already does this check, so we don't actually have to do this. But it's good practice, and it'll save the overhead of unnecessary g_free() calls (at the expense of extra comparisons and branchings when g_free() needs to be called). | ||||
| * | MqWebView: Make uri member non-const | Patrick McDermott | 2017-10-12 | 1 | -1/+1 |
| | | | | | | | | | | | | mq_web_view_load_uri() and the WebKitWebView "notify::uri" callback copy strings to it, so it need not be const. We're also now freeing it when copying to it. | ||||
| * | MqWebView: Connect to WebKitWebView's "notify::uri" signal | Patrick McDermott | 2017-10-12 | 1 | -0/+26 |
| | | | | | | | | This causes a fun infinite loop of signal emissions. | ||||
| * | mq_web_view_load_uri(): Save a copy of uri | Patrick McDermott | 2017-10-12 | 1 | -1/+1 |
| | | |||||
| * | MqTabChrome: Save and use Web view as MqWebView | Patrick McDermott | 2017-10-12 | 2 | -29/+36 |
| | | |||||
| * | MqTabChrome: Use mq_web_view_load_uri() | Patrick McDermott | 2017-10-12 | 1 | -16/+2 |
| | | | | | | | | | | This is instead of calling webkit_web_view_load_uri() with a possibly "about:"-rewritten URI. | ||||
| * | mq_web_view_get_uri(): New function | Patrick McDermott | 2017-10-12 | 2 | -0/+9 |
| | | |||||
| * | MqWebView: Don't set "uri" property during construction | Patrick McDermott | 2017-10-12 | 1 | -1/+1 |
| | | | | | | | | | | | | Setting the "uri" property now calls mq_web_view_load_uri(), which calls webkit_web_view_load_uri(). This causes a segmentation fault if the WebKitWebView's constructed method hasn't been called yet. | ||||
| * | mq_web_view_load_uri(): New function | Patrick McDermott | 2017-10-12 | 2 | -1/+28 |
| | | |||||
| * | MqWebView: Remove unused macro definition | Patrick McDermott | 2017-10-11 | 1 | -2/+0 |
| | | |||||
| * | MqWebView: Use g_signal_connect() | Patrick McDermott | 2017-10-11 | 1 | -18/+18 |
| | | |||||
| * | MqWebView: Warn on invalid property IDs | Patrick McDermott | 2017-10-11 | 1 | -2/+10 |
| | | |||||
| * | imq_web_view_new(): Initialize parent web-context property | Patrick McDermott | 2017-10-11 | 1 | -0/+1 |
| | | |||||
| * | MqWebView: Call parent class constructed method earlier | Patrick McDermott | 2017-10-11 | 1 | -2/+4 |
| | | |||||
| * | MqWebView: Move code from instance_init to constructed method | Patrick McDermott | 2017-10-11 | 1 | -26/+36 |
| | | |||||
| * | MqWebView: Make tab property writable | Patrick McDermott | 2017-10-11 | 1 | -1/+1 |
| | | |||||
| * | src/web-view.h: Forward declare types | Patrick McDermott | 2017-10-11 | 1 | -3/+3 |
| | | |||||
| * | MqTab: Use MqWebView | Patrick McDermott | 2017-10-11 | 2 | -6/+6 |
| | | |||||
| * | MqWebView: New class | Patrick McDermott | 2017-10-11 | 3 | -0/+720 |
| | | |||||
| * | src/gtype.h: Remove | Patrick McDermott | 2017-10-11 | 1 | -215/+0 |
| | | | | | | | | Too many compiler errors. | ||||
| * | src/gtype.h: New file, backport of G_DECLARE_*_TYPE | Patrick McDermott | 2017-10-11 | 1 | -0/+215 |
|/ | |||||
* | MqTabChrome: Add a home button to the navigation bar | Patrick McDermott | 2017-10-08 | 1 | -0/+28 |
| | |||||
* | MqTabChrome: Add match count label to find bar | Patrick McDermott | 2017-10-08 | 2 | -0/+35 |
| | |||||
* | MqTabChrome: Unify find bar closing code | Patrick McDermott | 2017-10-08 | 1 | -6/+10 |
| | |||||
* | MqTabChrome: Handle Shift+Enter and Esc in find bar | Patrick McDermott | 2017-10-08 | 1 | -11/+28 |
| | |||||
* | MqTabChrome: Make find bar functional | Patrick McDermott | 2017-10-08 | 2 | -4/+61 |
| | |||||
* | mq_tab_chrome_set_web_view(): Get WebKitFindController and save in MqTabChrome | Patrick McDermott | 2017-10-08 | 2 | -20/+22 |
| | |||||
* | MqTabChrome: Add find bar and make find button functional | Patrick McDermott | 2017-10-08 | 2 | -1/+102 |
| | |||||
* | MqTabChrome: Make fullscreen button functional | Patrick McDermott | 2017-10-07 | 1 | -1/+8 |
| | |||||
* | mq_window_toggle_fullscreen(): New function | Patrick McDermott | 2017-10-07 | 2 | -0/+27 |
| | |||||
* | mq_tab_get_window(): New function | Patrick McDermott | 2017-10-07 | 2 | -0/+9 |
| | |||||
* | MqTabChrome: Add TODO comments for menu button click callbacks | Patrick McDermott | 2017-10-07 | 1 | -0/+10 |
| | |||||
* | main(): Call g_set_application_name() with PACKAGE_NAME | Patrick McDermott | 2017-10-07 | 1 | -1/+1 |
| | | | | Not a hardcoded string literal. | ||||
* | MqTabChrome: Call mq_tab_quit() on quit button click | Patrick McDermott | 2017-10-07 | 1 | -5/+5 |
| | |||||
* | mq_tab_quit(): New function | Patrick McDermott | 2017-10-07 | 2 | -0/+9 |
| | |||||
* | mq_window_quit(): New function | Patrick McDermott | 2017-10-07 | 2 | -0/+9 |
| | |||||
* | mq_application_quit(): New function | Patrick McDermott | 2017-10-07 | 2 | -0/+98 |
| | |||||
* | mq_window_get_num_tabs(): New function | Patrick McDermott | 2017-10-07 | 2 | -1/+10 |
| | | | | And use in close confirmation dialog creation. | ||||
* | MqWindow: Add tabs.warn-on-close check to close confirmation | Patrick McDermott | 2017-10-07 | 1 | -0/+22 |
| | |||||
* | MqWindow: Add icon to close confirmation dialog | Patrick McDermott | 2017-10-07 | 1 | -7/+25 |
| | |||||
* | MqWindow: Confirm close of multiple tabs | Patrick McDermott | 2017-10-07 | 1 | -0/+47 |
| | |||||
* | MqWindow: Save MqConfig object in struct | Patrick McDermott | 2017-10-07 | 2 | -7/+7 |
| | |||||
* | mq_tab_get_tree_size(): New function | Patrick McDermott | 2017-10-07 | 2 | -0/+9 |
| | |||||
* | about:preferences: s/Smooth Scrolling/Enable Smooth Scrolling/ | Patrick McDermott | 2017-10-07 | 1 | -1/+1 |
| | |||||
* | src/html.h: Mark variadic functions as needing explicit NULL | Patrick McDermott | 2017-10-07 | 1 | -6/+10 |
| | |||||
* | s/__attribute__((unused))/G_GNUC_UNUSED/ | Patrick McDermott | 2017-10-07 | 7 | -102/+81 |
| | | | | | | And rewrap lines. G_GNUC_UNUSED expands to nothing on compilers other than GCC 2.4+. | ||||
* | MqTabBody: Use GLib macros instead of _Pragma()s | Patrick McDermott | 2017-10-07 | 1 | -3/+2 |
| | | | | | G_GNUC_BEGIN_IGNORE_DEPRECATIONS and G_GNUC_END_IGNORE_DEPRECATIONS expand to other pragmas for other compilers. | ||||
* | MqTabBody: Restore spelling items in context menu | Patrick McDermott | 2017-10-07 | 1 | -12/+22 |
| | | | | | Also, split spelling suggestions from Ignore Spelling and Learn Spelling items. | ||||
* | about:preferences: Make tabs.new and cookies.accept <select>s | Patrick McDermott | 2017-10-07 | 1 | -4/+11 |
| | |||||
* | mq_html_input_select(): New function | Patrick McDermott | 2017-10-07 | 2 | -0/+80 |
| |