summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* mq_web_view_load_uri(): Drop NULL checkPatrick McDermott2017-10-121-5/+0
| | | | | In the current codebase, a NULL uri argument isn't (read: shouldn't be) possible.
* mq_web_view_get_web_view(): RemovePatrick McDermott2017-10-122-11/+0
|
* MqTab: Drop mq_web_view_get_web_view() & a struct memberPatrick McDermott2017-10-122-4/+2
| | | | | | | The body and web_view struct members are now pointers to the same address, just with different types. body isn't used anywhere outside this instance initialization function, so it doesn't need to be saved in the struct.
* mq_web_view_get_container(): RemovePatrick McDermott2017-10-122-8/+0
|
* MqTab: Drop mq_web_view_get_container() callPatrick McDermott2017-10-121-1/+1
|
* src/web-view.h: Drop commented-out gtype.h backport stuffPatrick McDermott2017-10-121-4/+0
|
* src/tab-body.[ch]: RemovePatrick McDermott2017-10-123-597/+0
| | | | These files have been replaced by src/web-view.[ch].
* MqWebView: Drop newly thin URI-getting wrapper functionPatrick McDermott2017-10-121-9/+3
|
* MqWebView: Drop last URI rewriting codePatrick McDermott2017-10-121-20/+5
|
* MqWebView: Improve property descriptionsPatrick McDermott2017-10-121-2/+7
|
* MqWebView: Rename "uri" property to "rewritten-uri"Patrick McDermott2017-10-122-9/+11
| | | | This fixes the infinite loop introduced in commit a88de09.
* mq_web_view_load_uri(): Free uri member before assigning to itPatrick McDermott2017-10-121-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-constPatrick McDermott2017-10-121-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" signalPatrick McDermott2017-10-121-0/+26
| | | | This causes a fun infinite loop of signal emissions.
* mq_web_view_load_uri(): Save a copy of uriPatrick McDermott2017-10-121-1/+1
|
* MqTabChrome: Save and use Web view as MqWebViewPatrick McDermott2017-10-122-29/+36
|
* MqTabChrome: Use mq_web_view_load_uri()Patrick McDermott2017-10-121-16/+2
| | | | | This is instead of calling webkit_web_view_load_uri() with a possibly "about:"-rewritten URI.
* mq_web_view_get_uri(): New functionPatrick McDermott2017-10-122-0/+9
|
* MqWebView: Don't set "uri" property during constructionPatrick McDermott2017-10-121-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 functionPatrick McDermott2017-10-122-1/+28
|
* MqWebView: Remove unused macro definitionPatrick McDermott2017-10-111-2/+0
|
* MqWebView: Use g_signal_connect()Patrick McDermott2017-10-111-18/+18
|
* MqWebView: Warn on invalid property IDsPatrick McDermott2017-10-111-2/+10
|
* imq_web_view_new(): Initialize parent web-context propertyPatrick McDermott2017-10-111-0/+1
|
* MqWebView: Call parent class constructed method earlierPatrick McDermott2017-10-111-2/+4
|
* MqWebView: Move code from instance_init to constructed methodPatrick McDermott2017-10-111-26/+36
|
* MqWebView: Make tab property writablePatrick McDermott2017-10-111-1/+1
|
* src/web-view.h: Forward declare typesPatrick McDermott2017-10-111-3/+3
|
* MqTab: Use MqWebViewPatrick McDermott2017-10-112-6/+6
|
* MqWebView: New classPatrick McDermott2017-10-113-0/+720
|
* src/gtype.h: RemovePatrick McDermott2017-10-111-215/+0
| | | | Too many compiler errors.
* src/gtype.h: New file, backport of G_DECLARE_*_TYPEPatrick McDermott2017-10-111-0/+215
|
* MqTabChrome: Add a home button to the navigation barPatrick McDermott2017-10-081-0/+28
|
* MqTabChrome: Add match count label to find barPatrick McDermott2017-10-082-0/+35
|
* MqTabChrome: Unify find bar closing codePatrick McDermott2017-10-081-6/+10
|
* MqTabChrome: Handle Shift+Enter and Esc in find barPatrick McDermott2017-10-081-11/+28
|
* MqTabChrome: Make find bar functionalPatrick McDermott2017-10-082-4/+61
|
* mq_tab_chrome_set_web_view(): Get WebKitFindController and save in MqTabChromePatrick McDermott2017-10-082-20/+22
|
* MqTabChrome: Add find bar and make find button functionalPatrick McDermott2017-10-082-1/+102
|
* MqTabChrome: Make fullscreen button functionalPatrick McDermott2017-10-071-1/+8
|
* mq_window_toggle_fullscreen(): New functionPatrick McDermott2017-10-072-0/+27
|
* mq_tab_get_window(): New functionPatrick McDermott2017-10-072-0/+9
|
* MqTabChrome: Add TODO comments for menu button click callbacksPatrick McDermott2017-10-071-0/+10
|
* main(): Call g_set_application_name() with PACKAGE_NAMEPatrick McDermott2017-10-071-1/+1
| | | | Not a hardcoded string literal.
* MqTabChrome: Call mq_tab_quit() on quit button clickPatrick McDermott2017-10-071-5/+5
|
* mq_tab_quit(): New functionPatrick McDermott2017-10-072-0/+9
|
* mq_window_quit(): New functionPatrick McDermott2017-10-072-0/+9
|
* mq_application_quit(): New functionPatrick McDermott2017-10-072-0/+98
|
* mq_window_get_num_tabs(): New functionPatrick McDermott2017-10-072-1/+10
| | | | And use in close confirmation dialog creation.
* MqWindow: Add tabs.warn-on-close check to close confirmationPatrick McDermott2017-10-071-0/+22
|