Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mq_tab_body_new(): Rewrite "about:" URIs | Patrick McDermott | 2017-09-29 | 1 | -2/+11 |
| | |||||
* | MqTabBody: Revert bdbcce6 and 3bc58cb | Patrick McDermott | 2017-09-29 | 1 | -43/+0 |
| | |||||
* | MqTabBody: Try again to rewrite "about:" URIs | Patrick McDermott | 2017-09-29 | 1 | -2/+23 |
| | |||||
* | MqTabBody: Try to rewrite "about:" URIs | Patrick McDermott | 2017-09-29 | 1 | -0/+22 |
| | |||||
* | MqTabBody: Mark unused function parameters | Patrick McDermott | 2017-09-27 | 1 | -5/+6 |
| | |||||
* | MqTabBody: Fix mq_application_add_window() arguments | Patrick McDermott | 2017-09-27 | 1 | -4/+4 |
| | |||||
* | mq_application_add_window(), mq_window_new(): Make uris const | Patrick McDermott | 2017-09-27 | 1 | -4/+4 |
| | |||||
* | MqTabBody: Handle middle mouse clicks on Web view | Patrick McDermott | 2017-09-27 | 1 | -0/+54 |
| | | | | | Open a targeted link in a new tab or load a URI from the primary clipboard. | ||||
* | MqTabBody: Implement "Open ... in New Window" actions | Patrick McDermott | 2017-09-27 | 1 | -4/+20 |
| | |||||
* | mq_tab_new*(): Make uri parameter const | Patrick McDermott | 2017-09-27 | 1 | -1/+1 |
| | | | | | And propagate const correctness on uri throughout MqTab, MqTabChrome, and MqTabBody. | ||||
* | MqTabBody: Implement "Open ... in New Tab" action callbacks | Patrick McDermott | 2017-09-27 | 1 | -4/+12 |
| | |||||
* | MqTabBody: Add more comments | Patrick McDermott | 2017-09-27 | 1 | -0/+5 |
| | |||||
* | MqTabBody: Populate menu items for selection contexts | Patrick McDermott | 2017-09-27 | 1 | -3/+1 |
| | | | | And finally get rid of debugging output. | ||||
* | MqTabBody: Populate menu items for editable contexts | Patrick McDermott | 2017-09-27 | 1 | -8/+23 |
| | |||||
* | MqTabBody: Add menu item mnemonics | Patrick McDermott | 2017-09-27 | 1 | -20/+20 |
| | |||||
* | MqTabBody: Better organize context menu items | Patrick McDermott | 2017-09-26 | 1 | -4/+8 |
| | |||||
* | MqTabBody: Populate menu items for media contexts | Patrick McDermott | 2017-09-26 | 1 | -34/+95 |
| | |||||
* | MqTabBody: Add "Inspect Element" menu item to every context | Patrick McDermott | 2017-09-26 | 1 | -2/+7 |
| | |||||
* | MqTabBody: Define macros to preserve/restore menu items | Patrick McDermott | 2017-09-26 | 1 | -12/+17 |
| | |||||
* | MqTabBody: Preserve document navigation menu items | Patrick McDermott | 2017-09-26 | 1 | -6/+21 |
| | |||||
* | MqTabBody: Add separator between link and image menu items | Patrick McDermott | 2017-09-26 | 1 | -2/+5 |
| | |||||
* | MqTabBody: Fix context menu separator items | Patrick McDermott | 2017-09-26 | 1 | -2/+7 |
| | |||||
* | MqTabBody: Indent macro code in do...while | Patrick McDermott | 2017-09-26 | 1 | -9/+9 |
| | |||||
* | MqTabBody: Better localize diagnostic pragmas | Patrick McDermott | 2017-09-26 | 1 | -19/+11 |
| | |||||
* | MqTabBody: Fix _Pragma() in #define | Patrick McDermott | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | MqTabBody: Define macro to shorten long WK macros | Patrick McDermott | 2017-09-26 | 1 | -16/+19 |
| | |||||
* | MqTabBody: Populate menu items for some contexts | Patrick McDermott | 2017-09-26 | 1 | -5/+163 |
| | |||||
* | MqTabBody: Get context hints in context menu handler | Patrick McDermott | 2017-09-26 | 1 | -10/+83 |
| | |||||
* | MqTabBody: Add stub context menu handler | Patrick McDermott | 2017-09-26 | 1 | -0/+29 |
| | |||||
* | mq_tab_body_new(): Accept and save MqTab | Patrick McDermott | 2017-09-25 | 1 | -1/+3 |
| | |||||
* | MqTabBody: Don't load NULL URI in Web view | Patrick McDermott | 2017-09-22 | 1 | -1/+3 |
| | | | | | | Fixes: ** (marquee:xxxxx): CRITICAL **: void webkit_web_view_load_uri(WebKitWebView*, const gchar*): assertion 'uri' failed | ||||
* | mq_tab_body_new(): Or maybe that didn't really work. | Patrick McDermott | 2017-09-19 | 1 | -0/+1 |
| | |||||
* | mq_tab_body_new(): Assign focus to Web view | Patrick McDermott | 2017-09-19 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following assertion in GTK+ versions before 3.15.3: Gtk-CRITICAL **: gtk_widget_is_ancestor: assertion 'GTK_IS_WIDGET (widget)' failed This assertion occurs when: 1. No widget has been given input focus, 2. A popover (e.g. the tab label context menu) is shown, and 3. The window regains focus. This is because of the following code in window_focus_in() in gtk/gtkpopover.c (from 3.14.x): focus = gtk_window_get_focus (GTK_WINDOW (widget)); if (!gtk_widget_is_ancestor (focus, GTK_WIDGET (popover))) gtk_widget_grab_focus (GTK_WIDGET (popover)); When no widget has focus, the first argument to gtk_widget_is_ancestor() (which is checked with a GTK_IS_WIDGET() assertion) is NULL. So, some widget needs to have focus before a popover is shown and the window regains focus. Arguably, this is a bug in GTK+, and it has been fixed in GTK+ 3.15.3: https://git.gnome.org/browse/gtk+/commit/gtk/gtkpopover.c?id=e26fddc With that change, the above lines from window_focus_in() now read: focus = gtk_window_get_focus (GTK_WINDOW (widget)); if (focus == NULL || !gtk_widget_is_ancestor (focus, GTK_WIDGET (popover))) gtk_widget_grab_focus (GTK_WIDGET (popover)); That is, if focus is NULL, don't check if popover is an ancestor of it. Instead just give focus to popover. | ||||
* | mq_tab_body_new(): Remove sidebar | Patrick McDermott | 2017-09-19 | 1 | -6/+1 |
| | |||||
* | mq_tab_body_get_web_view(): New function | Patrick McDermott | 2017-09-17 | 1 | -0/+6 |
| | |||||
* | mq_tab_body_new(): s/gtk_paned_pack/gtk_paned_add/ | Patrick McDermott | 2017-09-16 | 1 | -4/+2 |
| | |||||
* | mq_tab_body_new(): Don't expand sidebar on window resize | Patrick McDermott | 2017-09-16 | 1 | -1/+1 |
| | |||||
* | mq_tab_body_new(): Set vexpand on GtkPaned | Patrick McDermott | 2017-09-16 | 1 | -0/+1 |
| | |||||
* | mq_tab_body_new(): Use GtkPaned | Patrick McDermott | 2017-09-16 | 1 | -3/+8 |
| | |||||
* | src/tab-body.[ch]: New files | Patrick McDermott | 2017-09-16 | 1 | -0/+50 |
And use in src/tab.[ch]. |