summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* node-editor: Save test data relative to current working directorywip/smcv/node-editor-srcdirSimon McVittie2022-12-061-1/+1
| | | | | | | | | | | | This avoids hard-coding the GTK source directory into the binary, which would make the binary non-reproducible across different source paths, particularly in a distro build environment where the source directory used by autobuilders will often not exist on end-user systems. The node editor can still be used to create new test-cases by running it with the GTK source directory as its current working directory. Resolves: https://gitlab.gnome.org/GNOME/gtk/-/issues/5403 Signed-off-by: Simon McVittie <smcv@debian.org>
* Merge branch 'workaround-glx-issue' into 'main'Benjamin Otte2022-12-021-0/+6
|\ | | | | | | | | | | | | GLX: Add extra glXMakeContextCurrent () call to work around a DRI issue Closes #4499, #5387, and #5170 See merge request GNOME/gtk!5285
| * GLX: Add extra glXMakeContextCurrent () call to work around a DRI issueLuca Bacci2022-12-021-0/+6
|/ | | | | | Reference: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7808 Fixes #4499, #5387, #5170
* Merge branch 'wip/corey/tree-expander-bug' into 'main'Benjamin Otte2022-11-302-50/+38
|\ | | | | | | | | Improve treeexpanders See merge request GNOME/gtk!5282
| * list: Remove active state handling in listitemwidget and treeexpanderCorey Berla2022-11-302-49/+4
| | | | | | | | | | | | Active state is handled by main now. It appears that listitem and treeexpander handled it manually (probably before main did). This is unnecessary now, so let's remove it.
| * treeexpander: Scroll to expanded itemCorey Berla2022-11-301-1/+7
| | | | | | | | | | | | | | If the anchor is below the expanded item, the expanded item will go out of view if there are sufficient children items. This is not ideal, so make sure to scroll to the item to ensure it remains in view.
| * listitemwidget: Add listitem.scroll-to actionCorey Berla2022-11-301-0/+25
| | | | | | | | This is the matching action for list.scroll-to-item
| * treeexpander: Toggle expand on release instead of pressedCorey Berla2022-11-301-4/+6
| | | | | | | | | | | | | | | | | | | | With the introduction of the hide-expander property, I noticed that the active state would persist in many cases because the release signal was never emitted. In gtk3 tree expanders, expanded on release. gtk4 expanded on press to match window explorer. Per irc chat, the designers didn't have a strong preference for press or release. In order to keep consistency and fix this bug, let's move back to release.
| * treeexpander: Fix typo and GestureClick typeCorey Berla2022-11-291-4/+4
|/ | | | | "canceled" should be "cancelled". Also, "cancel" is a signal on GtkGesture.
* Merge branch 'ebassi/for-main' into 'main'Emmanuele Bassi2022-11-291-8/+10
|\ | | | | | | | | docs: Fix property cross-links in GtkTreeExpander See merge request GNOME/gtk!5279
| * docs: Fix property cross-links in GtkTreeExpanderEmmanuele Bassi2022-11-291-8/+10
|/
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-11-291-33/+26
|\ | | | | | | | | testsuite: Skip tests that miss charset support See merge request GNOME/gtk!5277
| * testsuite: Skip tests that miss charset supportMatthias Clasen2022-11-291-33/+26
| | | | | | | | | | This came up when running the tests in a fresh toolbox missing the glibc-gconv-extra package.
* | Merge branch 'ccook/spelling-fixes' into 'main'Matthias Clasen2022-11-298-12/+12
|\ \ | |/ |/| | | | | docfix: Various spelling errors that show up in docs See merge request GNOME/gtk!5272
| * Merge remote-tracking branch 'origin' into ccook/spelling-fixesCam Cook2022-11-288-41/+203
| |\
| * | | domain | current | suggestion |Cam Cook2022-11-271-1/+1
| | | | | | | | | | | | | | | |--------|---------|------------| | [GtkListBox](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtklistbox.c#L1469)| (attributes org.gtk.Metthod.get_property=activate-on-single-click) | (attributes org.gtk.Method.get_property=activate-on-single-click) |
| * | | domain | current | suggestion |Cam Cook2022-11-271-1/+1
| | | | | | | | | | | | | | | |--------|---------|------------| | [GtkHeaderBar](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkheaderbar.c#L780) | "specifies a icon" | "specifies an icon" |
| * | | domain | current | suggestion |Cam Cook2022-11-271-1/+1
| | | | | | | | | | | | | | | |--------|---------|------------| | [GtkGridView](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkgridview.c#L1241) | "Sets the imodel to use." | "Sets the model to use." |
| * | Merge branch 'main' into ccook/spelling-fixesCam Cook2022-11-272-11/+10
| |\ \
| * | | | domain | current | suggestion |Cam Cook2022-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | |--------|---------|------------| | (GtkLevel](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtklevelbar.c#L1139) | "between [property@Gtk.LevelBar:min-value[" | "between [property@Gtk.LevelBar:min-value]"|
| * | | | domain | current | suggestion |Cam Cook2022-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | |--------|---------|------------| | [GtkLevel](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtklevelbar.c#L1104) | "Returns the \`min-value of the \`GtkLevelBar\`." | "Returns the \`min-value\' of the \`GtkLevelBar\`."|
| * | | | domain | current | suggestion |Cam Cook2022-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | |--------|---------|------------| | [GtkLabel](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtklabel.c#L3142) | "the [property@Gtk.Label:use-underline property]" | "the [property@Gtk.Label:use-underline] property" |
| * | | Various spelling mistakes (and one use of the wrong verb) across a few ↵Cam Cook2022-11-264-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | domains that show up in documentation. | domain | current | suggestion | |--------|---------|------------| | [GtkBitset](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkbitset.c#L363) | "Value to add" | "Value to remove" | | [GtkEntry](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkentry.c#L3626) | "\`GtkEntry" | "\`GtkEntry\`" | | [GtkEntry](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkentry.c#L3566) | "will be applies" | "will be applied" | | [GtkEntry](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkentry.c#L2232) | "is is in" | "is in" | | [GtkInfoBar](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/deprecated/gtkinfobar.c#L772) | "in the info bars’s action area" | "in the info bar’s action area | | [GtkLabel](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtklabel.c#L3210) | "Gets the labels attribute list." | "Gets the label's attribute list."
* | | | Merge branch 'wip/corey/at-spi-context' into 'main'Matthias Clasen2022-11-291-1/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | atspicontext: Cache empty atspi bus address See merge request GNOME/gtk!5276
| * | | | atspicontext: Log more helpful warnings when the a11y bus doesn't existCorey Berla2022-11-281-1/+3
| | | | |
| * | | | atspicontext: Cache empty atspi bus addressCorey Berla2022-11-281-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are caching the bus address as data on the display object when it exists, but fail to set the data when the bus address doesn't exist. That causing excessive calls to GetAddress when the accesssbility bus doesn't exist. Make sure to cache a non-existent accessibility bus by setting the "" string.
* | | | | Merge branch 'show-hide-cleanup' into 'main'Matthias Clasen2022-11-29166-677/+425
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | gtk: Stop using gtk_widget_show/hide See merge request GNOME/gtk!5273
| * | | | tools: Stop using gtk_widget_show/hideMatthias Clasen2022-11-281-1/+1
| | | | |
| * | | | constraint editor: Stop using gtk_widget_show/hideMatthias Clasen2022-11-281-2/+2
| | | | |
| * | | | icon browser: Stop using gtk_widget_show/hideMatthias Clasen2022-11-281-18/+5
| | | | |
| * | | | gtk-demo: Stop using gtk_widget_show/hideMatthias Clasen2022-11-28100-138/+119
| | | | |
| * | | | widget-factory: Stop using gtk_widget_show/hideMatthias Clasen2022-11-281-13/+19
| | | | |
| * | | | gtk: Stop using gtk_widget_show/hideMatthias Clasen2022-11-2862-505/+279
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gtk_widget_set_visible and gtk_window_present are better alternatives, and calling gtk_widget_show on newly created widgets is no longer necessary anyway.
* | | | | Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-11-282-2/+30
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Revert "builder: Stop using GtkBuildable.get_id" See merge request GNOME/gtk!5274
| * | | | | Revert "builder: Stop using GtkBuildable.get_id"Matthias Clasen2022-11-282-2/+30
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | This reverts commit 92edd4c476917e83c5f50e5eab8aa5a0ad240793. This commit changed behavior that GNOME Builder relies on.
* | | | | Merge branch 'wip/carlosg/osk-activation-in-widgets' into 'main'Matthias Clasen2022-11-287-55/+156
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | Handle OSK activation in GtkText/GtkTextView widgets See merge request GNOME/gtk!5269
| * | | | imcontextwayland: Set up OSK activation gesture on non text widgetsCarlos Garnacho2022-11-281-16/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With GtkText and GtkTextView (and in extension, all their subclasses) handling OSK activation activation, this gesture is only useful for all text input widgets that are not subclasses of these 2 widgets, e.g. the VTEs and crosswords of the world. These still do need a hand in handling OSK activation, so only set up the gesture for such cases.
| * | | | gtktextview: Invoke OSK on button/touch taps that move/undo selectionCarlos Garnacho2022-11-281-4/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the ::release handler is invoked, the press/release happened without drags in between. Additionally check that there is no selection at all. This makes OSK invoked on taps that move the caret around, while tapping in the selection invokes edition popup and text handles without bringing in the OSK.
| * | | | gtktextview: Claim drag gesture after an actual selection changeCarlos Garnacho2022-11-281-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way, the drag gesture lets the click gesture ::release handler happen if there was no actual changes to the selected text (i.e. too short drags). This matches the ::release handler behavior match the situations in which the OSK was being invoked by the wayland GtkIMContext.
| * | | | gtktext: Invoke OSK on button/touch taps that move/undo selectionCarlos Garnacho2022-11-281-4/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the ::release handler is invoked, the press/release happened without drags in between. Additionally check that the press did not happen within the selection, and that there is no selection at all. This makes OSK invoked on taps that move the caret around, while tapping in the selection invokes edition popup and text handles without bringing in the OSK.
| * | | | gtktext: Claim drag gesture after an actual selection changeCarlos Garnacho2022-11-281-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way, the drag gesture lets the click gesture ::release handler happen if there was no actual changes to the selected text (i.e. too short drags). This matches the ::release handler behavior match the situations in which the OSK was being invoked by the wayland GtkIMContext.
| * | | | imcontextwayland: Implement activate_osk() vmethodCarlos Garnacho2022-11-281-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This method does explicitly what the builtin GtkClickGesture in the IM context is doing implicitly. The gesture will be dropped after porting is done.
| * | | | immulticontext: Implement activate_osk() vmethodCarlos Garnacho2022-11-281-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | The multicontext lets this call go through to the active underlying GtkIMContext.
| * | | | imcontext: Add private activate_osk() vmethodCarlos Garnacho2022-11-283-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This method is so far private for both external GtkIMContext implementations and external GtkIMContext users, and is meant to activate the OSK in the environments where this may happen.
| * | | | Revert "gtktext: Claim gesture more selectively"Carlos Garnacho2022-11-281-15/+3
| | | | | | | | | | | | | | | | | | | | This reverts commit ae54374a514aa33b34f95eee94b4a2848b8a16d9.
* | | | | Merge branch 'wip/corey/tree-expander' into 'main'Benjamin Otte2022-11-282-33/+186
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | treeexpander: Add hide-expander and indent-for-depth properties Closes #4969 See merge request GNOME/gtk!5268
| * | | | treeexpander: Minor formatting changesCorey Berla2022-11-272-36/+36
| | | | |
| * | | | treeexpander: Add indent-for-depth propertyCorey Berla2022-11-272-1/+72
| | | | | | | | | | | | | | | | | | | | | | | | | When set to TRUE, indent-for-depth indents each level of depth with an additional indent
| * | | | treeexpander: Add hide-expander propertyCorey Berla2022-11-272-1/+83
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | When set to TRUE hide-expander hides the expander icon in a GtkTreeListRow. Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4969
* | | | Merge branch 'bilelmoussaoui/gi-since' into 'main'Matthias Clasen2022-11-282-1/+3
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | g-i: Add missing since annotations See merge request GNOME/gtk!5271