summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* macos: fix fps calculation for frame timingswip/chergert/fix-macos-fps-calculationChristian Hergert2020-10-151-1/+4
| | | | | | We need to mark the timings as complete after adding the presentation time so that we have a valid FPS for the overlay widget and/or fishbowl demo.
* 3.99.33.99.3Matthias Clasen2020-10-152-3/+32
|
* Merge branch 'win32.modal' into 'master'Matthias Clasen2020-10-162-242/+18
|\ | | | | | | | | GDK/Win32: Fix modal window handling and window stacking (for GTK4) See merge request GNOME/gtk!2675
| * gdk/Win32: Fix mouse pointer captureChun-wei Fan2020-10-162-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Call SetCapture() explcitly for the (new) modal window so that we make the modal window respond to mouse input, and also call SetCapture() to the parent of the transient window that we are destroying so that mouse input capture is returned to the parent window. This attempts to fix the following: * Upon creating a new modal window, the new modal window does not receive pointer input unless one switches to another program and back * Upon closing a transient window, the parent window that activated the transient window does not receive pointer input unless one switches to another and back
| * GDK W32: Remove stacking functionsРуслан Ижбулатов2020-10-161-236/+0
| | | | | | | | | | Stacking functions enforce non-native stacking behaviour that is mostly unneeded, and doing so introduces bugs and complicates things.
| * Revert "GDK W32: Use SWP_NOOWNERZORDER everywhere it can be applied"Руслан Ижбулатов2020-10-161-4/+4
| | | | | | | | | | | | | | | | This reverts commit fc2008f2. Turns out, we *don't* have code to maintain Z-order. Restacking code is not doint that, it just enforces a few weird Z-order-related behaviours.
| * GDK/Win32: Fix modal window handlingChun-wei Fan2020-10-161-1/+7
| | | | | | | | | | | | | | | | | | | | Make sure that we get the state of the modal window properly, and send out the corresponding notification signals. This will ensure that we do not try to activate windows that should have become inactivated due to it opening modal windows and render the program unresponsive because we are not activating the correct window that is due to receive user input.
* | docs: Expand opacity docsMatthias Clasen2020-10-151-12/+22
| | | | | | | | | | | | Explain the situation with popovers and opacity. Fixes: #3246
* | Merge branch 'a11y-action-fixes' into 'master'Matthias Clasen2020-10-161-4/+16
|\ \ | | | | | | | | | | | | A11y action fixes See merge request GNOME/gtk!2703
| * | atspi: Properly filter out parent actionsMatthias Clasen2020-10-151-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We only want to show relevant, local actions for widgets, but _gtk_widget_get_action_muxer() will return the muxer of a parent widget (all the way up to the toplevel), if the widget does not have any actions of its own. To detect this situation, compare what _gtk_widget_get_action_muxer() returns for the parent widget, and act accordingly.
| * | atspi: Fix a thinko in action filteringMatthias Clasen2020-10-151-2/+2
| |/ | | | | | | | | | | get_action_at_index() was trying hard to find out which actions are valid, only to then return the invalid ones anyway.
* | Merge branch 'fix-listbox-selection' into 'master'Matthias Clasen2020-10-161-2/+2
|\ \ | |/ |/| | | | | | | | | Revert "listbox: Activate single-click rows if n_press >= 1" Closes #3263 See merge request GNOME/gtk!2704
| * Revert "listbox: Activate single-click rows if n_press >= 1"Matthias Clasen2020-10-151-2/+2
|/ | | | | | | | This reverts commit e669433cde60068099c7c03235475673d0ed7db4. This broke selection in several listbox examples. Fixes: #3263
* Merge branch 'a11y/atspi-action' into 'master'Matthias Clasen2020-10-168-12/+920
|\ | | | | | | | | A11y/atspi action See merge request GNOME/gtk!2699
| * a11y: Add atspi.Action for GtkPasswordEntryEmmanuele Bassi2020-10-161-0/+91
| |
| * Allow toggling the password entry visibility programmaticallyEmmanuele Bassi2020-10-162-2/+10
| | | | | | | | | | We are going to need a method for toggling the visibility from the accessibility layer.
| * a11y: Add atspi.Action for GtkEntryEmmanuele Bassi2020-10-161-3/+154
| | | | | | | | | | We need to handle the activation on the entry widget, as well as the activation of the primary and secondary icons.
| * Add GtkEntry icon signals emitterEmmanuele Bassi2020-10-162-0/+36
| | | | | | | | | | We need a (private) way to programmatically trigger the activation of the entry's icons, so that we can call it from the accessibility layer.
| * a11y: Add atspi.Action for GtkExpanderEmmanuele Bassi2020-10-161-0/+55
| |
| * a11y: De-duplicate some action codeEmmanuele Bassi2020-10-161-158/+165
| | | | | | | | | | The widgets with hard coded actions should share more code, instead of copy-pasting it.
| * a11y: Special case buttons and switchesEmmanuele Bassi2020-10-161-1/+263
| | | | | | | | These widgets have specific actions.
| * Initial ATSPI Action implementation for widgetEmmanuele Bassi2020-10-164-10/+308
|/ | | | | Use the actions from the GtkActionMuxer of each widget to populate the list of actions available.
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-10-156-10/+21
|\ | | | | | | | | | | | | Matthiasc/for master Closes #3245 See merge request GNOME/gtk!2702
| * Fix compiler warningsMatthias Clasen2020-10-151-2/+2
| |
| * actionmuxer: Make it possible to enumerate local actionsMatthias Clasen2020-10-153-3/+8
| | | | | | | | | | | | | | This will be useful for exposing actions via the AT-SPI Actions interface. Update all callers.
| * spinbutton: Hide the buttons from accessibilityMatthias Clasen2020-10-151-4/+9
| | | | | | | | | | | | | | | | | | The buttons here are not really buttons (the action is not tied to the "clicked" signal), so triggering the buttons via a11y does not have the expected effect. And we expose the Value interface that ATs can use to set the value.
| * emojicompletion: Avoid a memory overrunMatthias Clasen2020-10-151-1/+2
|/ | | | | | Don't read beyond the beginning of the string. Fixes: #3245
* gtk-demo: Fix some issues with the multi view demoMatthias Clasen2020-10-151-0/+3
| | | | | | | | The nested window was not modal, causing it to be inoperable. And the nested views within were all shrunk down to nothingness. Give them some width. Fixes: #3257
* Merge branch 'a11y-list-view-selection-fixes' into 'master'Matthias Clasen2020-10-154-98/+151
|\ | | | | | | | | atspi: Add fold markers See merge request GNOME/gtk!2701
| * atspi: Add fold markersMatthias Clasen2020-10-154-98/+151
| | | | | | | | | | This makes it much easier to navigate in these multi-implementation files.
* | Merge branch 'a11y-list-view-selection-fixes' into 'master'Matthias Clasen2020-10-151-36/+116
|\ \ | |/ | | | | | | A11y list view selection fixes See merge request GNOME/gtk!2700
| * atspi: Implement Selection more correctlyMatthias Clasen2020-10-151-29/+116
| | | | | | | | | | | | | | The Selection interface is defined in terms of child positions, so we need to always translate from that to model positions if we want to use the selection model apis.
| * Remove debug spewMatthias Clasen2020-10-151-7/+0
| |
* | Merge branch 'ebassi/for-master' into 'master'Matthias Clasen2020-10-1517-67/+134
|\ \ | |/ |/| | | | | | | | | GdkWayland API cleanups Closes #3249 See merge request GNOME/gtk!2688
| * wayland: Make gdk_wayland_device_pad_set_feedback privateMatthias Clasen2020-10-155-14/+12
| | | | | | | | It is not a generally useful api, and awkwardly named.
| * Correctly annotate gdk_wayland_seat_get_wl_seat()Emmanuele Bassi2020-10-141-3/+3
| | | | | | | | We expect a `GdkWaylandSeat` as the instance parameter.
| * Add a public header for GdkWaylandSeatEmmanuele Bassi2020-10-145-13/+55
| | | | | | | | We have public API requiring it as a type.
| * Rename libgtk_only symbol in GdkWaylandToplevelEmmanuele Bassi2020-10-123-20/+24
| | | | | | | | All public non-exported symbols in GDK can be used by GTK.
| * docs: Remove private GdkWayland API from the referenceEmmanuele Bassi2020-10-121-4/+0
| |
| * Hide gdk_wayland_display_prefers_ssd()Emmanuele Bassi2020-10-124-3/+4
| | | | | | | | The function is not exported, so it should not be in a public header.
| * Move private GdkSurface Wayland API into its own headerEmmanuele Bassi2020-10-125-20/+46
| | | | | | | | | | This allows us to hide private API from installed headers, documentation, and introspection.
* | docs: Explain the symbolic icon paintable situationMatthias Clasen2020-10-152-0/+11
| | | | | | | | | | | | | | | | | | | | Add a paragraph to the migration guide that explains how to properly render symbolic GtkIconPaintables. Also mention this in the GtkIconPaintable docs. There's a reason you can't spell 'paintable' without 'pain'...
* | Merge branch 'a11y/atspi' into 'master'Matthias Clasen2020-10-15112-161/+10821
|\ \ | | | | | | | | | | | | A11y/atspi See merge request GNOME/gtk!2698
| * | atspi: Implement Selection for list viewsMatthias Clasen2020-10-151-0/+226
| | | | | | | | | | | | | | | | | | | | | This implementation works for both GtkListView and GtkGridView, and by extension, also for GtkColumnView and GtkDropDown, since those just use a list view internally.
| * | columnview: Set accessible rolesMatthias Clasen2020-10-159-27/+102
| | | | | | | | | | | | | | | | | | | | | Use the TREE_GRID, ROW, COLUMN_HEADER and GRID_CELL roles for the various widgets involved in a GtkColumnView. To enable this, we subclass GtkListView for the internal list in the column view.
| * | listview: Set accessible rolesMatthias Clasen2020-10-149-4/+33
| | | | | | | | | | | | | | | | | | Use the LIST and LIST_ITEM roles for GtkListView and its children. Use the GRID and GRID_CELL roles for GtkGridView and its children.
| * | Document accessible roles for stacks and notebooksMatthias Clasen2020-10-145-3/+22
| | | | | | | | | | | | This was forgotten when I implemented the Tabs pattern.
| * | flowbox: Set accessible rolesMatthias Clasen2020-10-143-2/+6
| | | | | | | | | | | | | | | Use the GRID and GRID_CELL roles for GtkFlowBox and GtkFlowBoxChild.
| * | listbox: Set accessible rolesMatthias Clasen2020-10-143-3/+7
| | | | | | | | | | | | | | | Use the LIST and LIST_ITEM roles for GtkListBox and GtkListBoxRow.
| * | atspi: Add some docsMatthias Clasen2020-10-141-0/+21
| | | | | | | | | | | | | | | Add a comment that explains a few of the more subtle points of the Atspi context tree contstruction.