Asier Sarasua Garmendia [Sun, 26 Mar 2023 08:31:38 +0000 (08:31 +0000)]
Update Basque translation
Jordi Mas [Sun, 26 Mar 2023 06:48:06 +0000 (08:48 +0200)]
Update Catalan translation
Kukuh Syafaat [Sun, 26 Mar 2023 06:40:13 +0000 (06:40 +0000)]
Update Indonesian translation
John Ralls [Sat, 25 Mar 2023 20:41:08 +0000 (13:41 -0700)]
Merge branch 'issue5593' into gtk-3-24
Alexander Shopov [Sat, 25 Mar 2023 17:26:16 +0000 (17:26 +0000)]
Update Bulgarian translation
Matthias Clasen [Sat, 25 Mar 2023 14:20:24 +0000 (14:20 +0000)]
Merge branch 'doc-link-fixes' into 'gtk-3-24'
docs: Fix some links
See merge request GNOME/gtk!5718
Matthias Clasen [Sat, 25 Mar 2023 14:09:00 +0000 (10:09 -0400)]
docs: Fix some links
The links to the overview sections were all broken.
Fix them.
Balázs Úr [Fri, 24 Mar 2023 23:40:51 +0000 (23:40 +0000)]
Update Hungarian translation
Hugo Carvalho [Fri, 24 Mar 2023 22:49:36 +0000 (22:49 +0000)]
Update Portuguese translation
Christian Kirbach [Fri, 24 Mar 2023 22:47:48 +0000 (22:47 +0000)]
Update German translation
Anders Jonsson [Fri, 24 Mar 2023 22:30:52 +0000 (22:30 +0000)]
Update Swedish translation
Piotr Drąg [Fri, 24 Mar 2023 16:51:41 +0000 (17:51 +0100)]
Update Polish translation
Yuri Chornoivan [Fri, 24 Mar 2023 13:07:48 +0000 (13:07 +0000)]
Update Ukrainian translation
Martin [Fri, 24 Mar 2023 08:45:13 +0000 (08:45 +0000)]
Update Slovenian translation
Ekaterine Papava [Fri, 24 Mar 2023 05:10:33 +0000 (05:10 +0000)]
Update Georgian translation
Matthias Clasen [Fri, 24 Mar 2023 03:03:59 +0000 (03:03 +0000)]
Merge branch 'wip/jtojnar/inspector-immodule-backport' into 'gtk-3-24'
inspector: Add pango backend and im module
See merge request GNOME/gtk!5706
Christian Hergert [Fri, 3 Dec 2021 20:11:25 +0000 (12:11 -0800)]
inspector: add im-module
This adds a new row to the Global/Information section which displays the
GTK im-module that is likely to be in use unless changed by an application.
It responds to updates of GtkSettings:gtk-im-module unless the
GTK_IM_MODULE environment variable is set.
Fixes #4512
(cherry picked from commit
6be352f4468b4dbbb1d71f427948dda154b9a658)
John Ralls [Thu, 23 Mar 2023 18:32:15 +0000 (11:32 -0700)]
[quartz] Convert frame_link, windows_awaiting_frame to GSList.
We were't using GList's prev member; worse, we weren't setting it
and that broke g_list_remove_link so that the link wasn't removed
in _gdk_quartz_display_remove_frame_callback.
Closes #5593
Matthias Clasen [Sun, 28 Jul 2019 15:39:16 +0000 (11:39 -0400)]
inspector: Show the pango backend
(cherry picked from commit
7eb5dfd2947c8e8de0957f4339af66b47811f2c7)
Emmanuele Bassi [Tue, 21 Mar 2023 11:29:04 +0000 (11:29 +0000)]
Merge branch 'fix-issue-5678' into 'gtk-3-24'
GdkWin32: Zero-out memory of an allocated struct
See merge request GNOME/gtk!5690
Luca Bacci [Tue, 21 Mar 2023 09:34:32 +0000 (10:34 +0100)]
GdkWin32: Zero-out memory of an allocated struct
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5678
Changwoo Ryu [Wed, 15 Mar 2023 10:04:25 +0000 (10:04 +0000)]
Update Korean translation
Daniel [Tue, 14 Mar 2023 11:41:15 +0000 (12:41 +0100)]
Revert "Updated Spanish translation"
This reverts commit
ec1551c854a5339f97e4ac24ad522c69a9452cb6.
Daniel [Tue, 14 Mar 2023 11:38:08 +0000 (12:38 +0100)]
Updated Spanish translation
Luca Bacci [Mon, 13 Mar 2023 17:51:03 +0000 (17:51 +0000)]
Merge branch 'check-egl-support-at-runtime' into 'gtk-3-24'
GdkWin32GLContext: Check availability of EGL at runtime
See merge request GNOME/gtk!5629
Luca Bacci [Mon, 13 Mar 2023 17:50:45 +0000 (17:50 +0000)]
Merge branch 'windows-gles-debug-fix' into 'gtk-3-24'
gdkglcontext-win32.c: Fix running under GLES with GDK_DEBUG=opengl
See merge request GNOME/gtk!5622
Matthias Clasen [Mon, 13 Mar 2023 13:13:08 +0000 (13:13 +0000)]
Merge branch 'ebassi/gtk3-file-attrs' into 'gtk-3-24'
Check for attribute availability before accessing it
See merge request GNOME/gtk!5645
Emmanuele Bassi [Mon, 13 Mar 2023 11:49:50 +0000 (11:49 +0000)]
Check for attribute availability before accessing it
Starting from GLib 2.76, the standard attribute getters in the GFileInfo
object will warn if the attribute is unset, instead of silently bailing
out and returning a default value.
Guillaume Bernard [Mon, 13 Mar 2023 10:20:54 +0000 (10:20 +0000)]
Update French translation
Daniel [Mon, 13 Mar 2023 09:50:33 +0000 (10:50 +0100)]
Updated Spanish translation
Matthias Clasen [Mon, 13 Mar 2023 07:40:54 +0000 (07:40 +0000)]
Merge branch 'dark_theme_caret_color_evince' into 'gtk-3-24'
dark theme: create $caret_color and use it
See merge request GNOME/gtk!5642
Nelson Benítez León [Sun, 12 Mar 2023 22:47:59 +0000 (18:47 -0400)]
dark theme: create $caret_color and use it
Fixes Evince showing a dark caret when using
dark theme, which makes it almost invisible.
This is in css node "textview text" of Evince
annotation window (a GtkScrolledWindow).
We create a new $caret_color var based on
$text_color and use it accordingly.
Fixes evince#1842
Alexander Shopov [Sun, 12 Mar 2023 18:37:37 +0000 (18:37 +0000)]
Update Bulgarian translation
Alan Mortensen [Sat, 11 Mar 2023 14:56:00 +0000 (14:56 +0000)]
Update Danish translation
Luca Bacci [Fri, 10 Mar 2023 10:17:28 +0000 (11:17 +0100)]
GdkWin32GLContext: check for EGL support at runtime
Chun-wei Fan [Thu, 9 Mar 2023 03:14:58 +0000 (11:14 +0800)]
gdkglcontext-win32.c: Fix running under GLES
...when GDK_DEBUG=opengl is enabled. There was an extraneous "legacy: %s" in
the GDK_NOTE (OPENGL, g_message("...")) line that should not have been there,
due to a copy-and-paste mishap. Get rid of it.
Matthias Clasen [Tue, 7 Mar 2023 11:31:34 +0000 (11:31 +0000)]
Merge branch 'fix-filetransfer-mimetype' into 'gtk-3-24'
selection: Use the right mime type
See merge request GNOME/gtk!5604
Matthias Clasen [Tue, 7 Mar 2023 04:06:15 +0000 (23:06 -0500)]
selection: Use the right mime type
The correct mime type for portal file transfers
is application/vnd.portal.filetransfer.
Fixes: #5643
Fran Dieguez [Mon, 6 Mar 2023 20:17:11 +0000 (20:17 +0000)]
Update Galician translation
Yosef Or Boczko [Sat, 4 Mar 2023 18:47:16 +0000 (18:47 +0000)]
Update Hebrew translation
Matthias Clasen [Fri, 3 Mar 2023 00:43:01 +0000 (19:43 -0500)]
Post-release version bump
Matthias Clasen [Fri, 3 Mar 2023 00:31:52 +0000 (19:31 -0500)]
3.24.37
Benjamin Otte [Fri, 6 Mar 2020 04:03:45 +0000 (05:03 +0100)]
liststore: Fix gtk_list_store_iter_is_valid()
The iter may be invalid, so we may not read from it.
testsuite/gtk/treemodel tests this and valgrind is shouting about it,
but it never crashed until I just ran it...
This bug is from 2004 and the test is from 2007. I guess invalid memory
accesses don't get caught by CI much.
Matthias Clasen [Thu, 2 Mar 2023 17:19:45 +0000 (12:19 -0500)]
NEWS: Updates
Matthias Clasen [Fri, 3 Mar 2023 00:04:41 +0000 (19:04 -0500)]
impcontextsimple: Return from GTask
GLib complains about this now, so do it.
Matthias Clasen [Fri, 3 Mar 2023 00:03:41 +0000 (19:03 -0500)]
Stop using GTestDBus
It is causing tests to timeout when libraries we are using
leak bus connections, and it turns out our tests run fine
without a session bus.
Backport of
1b265a7971171.
Matthias Clasen [Wed, 1 Mar 2023 17:09:56 +0000 (17:09 +0000)]
Merge branch 'wip/carlosg/activation-regression-fix-3-24' into 'gtk-3-24'
gtkwindow: Fix fallbacks through xdg_activation_v1
See merge request GNOME/gtk!5581
Carlos Garnacho [Wed, 1 Mar 2023 16:14:01 +0000 (17:14 +0100)]
gtkwindow: Fix fallbacks through xdg_activation_v1
When activating a window, avoid the "old" gdk_notify_startup_complete*()
API that does not fallback into xdg_activation on wayland (as this is still
deferred here until show vs present happens on the surface). This was
mistakenly changed wrt the original commit backported from GTK4.
Fixes: a067938589d ("gtkwindow: Minor refactor")
Matthias Clasen [Sun, 26 Feb 2023 21:25:26 +0000 (21:25 +0000)]
Merge branch 'file-transfer-portal-gtk3' into 'gtk-3-24'
selection: Support the file transfer portal
See merge request GNOME/gtk!5554
Matthias Clasen [Sat, 25 Feb 2023 13:07:09 +0000 (08:07 -0500)]
Mention file transfer in the NEWS
Matthias Clasen [Fri, 24 Feb 2023 14:38:39 +0000 (09:38 -0500)]
Add a test client for file transfer portal
Matthias Clasen [Fri, 24 Feb 2023 14:37:59 +0000 (09:37 -0500)]
selection: Support the file transfer portal
When the selection target is application/vnd.portal.files,
send files through the file transfer portal.
Matthias Clasen [Sat, 25 Feb 2023 13:05:42 +0000 (08:05 -0500)]
Belated post-release bump
Luca Bacci [Mon, 13 Feb 2023 15:34:24 +0000 (15:34 +0000)]
Merge branch 'backport-mr-4620-to-gtk-3-24' into 'gtk-3-24'
GdkWin32: Mouse events fixes
See merge request GNOME/gtk!5493
Luca Bacci [Fri, 10 Feb 2023 20:41:48 +0000 (21:41 +0100)]
GdkWin32: Generate crossing event after button release
This is a backport of commit
cb0c1b3f to gtk-3-24
Luca Bacci [Fri, 10 Feb 2023 20:32:29 +0000 (21:32 +0100)]
GdkWin32: Correct generation of crossing events when holding an implicit grab
This is a backport of commit
91f20016 to gtk-3-24
Matthias Clasen [Sun, 12 Feb 2023 20:04:04 +0000 (20:04 +0000)]
Merge branch 'ebassi/issue-5482' into 'gtk-3-24'
Mark surface as dirty before flushing it
See merge request GNOME/gtk!5505
Emmanuele Bassi [Sun, 12 Feb 2023 19:18:00 +0000 (19:18 +0000)]
Mark surface as dirty before flushing it
If we're trying to read back the contents of a GdkWindow that was
created from a foreign windowing system surface, we are going to
forcibly mark it as dirty before flushing the Cairo state.
To avoid regressing any further in the future of the 3.x branch, let's
leave a comment.
Fixes: #5482
John Ralls [Sat, 11 Feb 2023 20:51:42 +0000 (12:51 -0800)]
[quartz] Silence two compiler warnings.
One unused function, one return type mismatch.
John Ralls [Sat, 11 Feb 2023 20:48:34 +0000 (12:48 -0800)]
[quartz] Set the sRGB colorspace on the IOSurface.
Enables colorspace tranformation in Core Animation. This transform
is executed on the GPU and unlike the Core Graphics one has no
affect on performance.
Fixes #5579
Matthias Clasen [Fri, 10 Feb 2023 11:37:49 +0000 (11:37 +0000)]
Merge branch 'gtk-3-24-focus-to-modal-parant-and-transient-for' into 'gtk-3-24'
Solution for focus loss problem for complex multi Window UI in Broadway backend
See merge request GNOME/gtk!3990
Matthias Clasen [Fri, 10 Feb 2023 11:37:11 +0000 (11:37 +0000)]
Merge branch 'backport-mr-5489' into 'gtk-3-24'
Backport !5489 to gtk-3-24
See merge request GNOME/gtk!5490
Gaël Bonithon [Thu, 9 Feb 2023 18:26:47 +0000 (19:26 +0100)]
searchengine: Emit a simple warning when tracker init failed
Failure is allowed by nature of GInitable, and this avoids unnecessary
crashing of programs running with G_DEBUG=fatal-criticals.
(cherry picked from commit
6215b38e645f5047d52e625562efccc1e4f85867)
Gaël Bonithon [Thu, 9 Feb 2023 18:25:04 +0000 (19:25 +0100)]
searchengine: Add missing sanity check
(cherry picked from commit
41490f96240eb04d85cbe5e1f264ab09ec00b9e0)
Piotr Drąg [Sat, 4 Feb 2023 15:14:22 +0000 (16:14 +0100)]
Update POTFILES.in
Matthias Clasen [Sat, 4 Feb 2023 12:37:03 +0000 (12:37 +0000)]
Merge branch 'wip/carlosg/no-legacy-im-3-24' into 'gtk-3-24'
input: Drop legacy text input module
See merge request GNOME/gtk!5476
Carlos Garnacho [Sat, 4 Feb 2023 10:13:11 +0000 (11:13 +0100)]
input: Drop legacy text input module
This wayland protocol was merely some scaffolding until the
text_input protocol shaped up and took over. Nowadays this
could only ever help with really old versions of Mutter
(pre 3.28). This can be simply removed nowadays.
Matthias Clasen [Sat, 28 Jan 2023 17:46:05 +0000 (17:46 +0000)]
Merge branch 'gtk-3-24' into 'gtk-3-24'
Fixes incorrect grabbing behaviour causing subsequent rejection of input
See merge request GNOME/gtk!5212
hrdl [Sat, 28 Jan 2023 13:20:49 +0000 (14:20 +0100)]
Remove warning
Matthias Clasen [Sat, 28 Jan 2023 12:59:27 +0000 (12:59 +0000)]
Merge branch 'revert-
5aaa373b' into 'gtk-3-24'
Revert "Revert "wayland: Add support for gtk_surface1_titlebar_gesture()""
See merge request GNOME/gtk!5452
Alexander Mikhaylenko [Sat, 28 Jan 2023 09:41:34 +0000 (09:41 +0000)]
Revert "Revert "wayland: Add support for gtk_surface1_titlebar_gesture()""
This reverts commit
5aaa373b70be009c171e890052da0a8872c70992
Matthias Clasen [Sat, 28 Jan 2023 03:03:51 +0000 (03:03 +0000)]
Merge branch 'revert-titlebar-gestures' into 'gtk-3-24'
Revert "wayland: Add support for gtk_surface1_titlebar_gesture()"
See merge request GNOME/gtk!5451
Matthias Clasen [Sat, 28 Jan 2023 02:33:38 +0000 (21:33 -0500)]
Revert "wayland: Add support for gtk_surface1_titlebar_gesture()"
This reverts commit
45ba6e9329798f9d24c9220d0583c1d01c2f8562.
This caused regressions in libhandy-using applications.
Fixes: #5389
Carlos Garnacho [Fri, 27 Jan 2023 19:05:39 +0000 (19:05 +0000)]
Merge branch 'fix-xdg-activation-set-surface-gtk-3-24' into 'gtk-3-24'
Backport "gdk/wayland: set requesting surface to xdg-activation" to gtk-3-24
See merge request GNOME/gtk!5398
Matthias Clasen [Fri, 27 Jan 2023 16:21:21 +0000 (16:21 +0000)]
Merge branch 'gl-sync-gtk3' into 'gtk-3-24'
gl: Synchronize when calling MakeCurrent
See merge request GNOME/gtk!5448
Joan Bruguera [Sun, 4 Dec 2022 22:54:51 +0000 (22:54 +0000)]
gdk/wayland: set requesting surface to xdg-activation
The argument to xdg_activation_token_v1_set_surface is documented to be the
surface requesting the activation, not the surface to be activated, which is
given later when calling xdg_activation_v1_activate.
(c.f. https://gitlab.freedesktop.org/wayland/wayland-protocols/-/commit/
36cee4bdbcaf3a75f567315809953b5e21d703da)
Use the same logic as in gdk_wayland_app_launch_context_get_startup_notify_id,
i.e. if we have a surface with focus, set that, otherwise set NULL.
This fixes requesting urgent/focus on wlroots (compositors like Sway, etc.),
which was blocked as the surface requesting the activation didn't have focus.
Backport of:
43c1a433aa0839826451f71029965d8e359a9178
Signed-off-by: Joan Bruguera <joanbrugueram@gmail.com>
Matthias Clasen [Fri, 27 Jan 2023 12:07:36 +0000 (07:07 -0500)]
gl: Synchronize when calling MakeCurrent
When making out GL context current, wait
until the GPU is done with commands from
the previous context.
Fixes: #5517
Matthias Clasen [Wed, 25 Jan 2023 13:09:17 +0000 (13:09 +0000)]
Merge branch 'wip/carlosg/startup-vs-focus-3-24' into 'gtk-3-24'
Consider startup vs focus requests for the Wayland platform [3.24]
See merge request GNOME/gtk!5443
Carlos Garnacho [Wed, 18 Jan 2023 20:05:28 +0000 (21:05 +0100)]
gtkapplication: Do not call gdk_display_notify_startup_complete()
This should do nothing worthwhile anymore, the X11/Wayland GtkApplication
implementations do already pass the startup ID from the platform_data
via windowing specific APIs, and the application handling the request
via show()/present() should trigger the activation request.
(cherry-picked from commit
3526d8b299becb7cd1e970ea5228a141eae20257)
Carlos Garnacho [Wed, 18 Jan 2023 20:01:00 +0000 (21:01 +0100)]
gtkwindow: Shuffle gdk_window_set_startup_id() calls
While this used to be tangential to windows showing or requesting
focus, the xdg-activation Wayland protocol does merge both concepts
together.
But also, for a correct interaction with the compositor, the
toolkit should ideally merge the activation request resulting from
both into the same one, so that the gdk_window_focus() request
replies to the startup token that started the application and
correct focus-stealing prevention/etc happens, instead making up
one just in time for the focus request.
This kind of requires doing things in the right order, a show()
request on the GtkWindow should activate any pending activation
token on the toplevel, a present() request should additionally
create a new token if there was none pending. And
xdg_activation_v1_activate() should happen once on both.
Shuffle the gdk_window_set_startup_id() calls so that this
happens in the right order for Wayland, while making X11 happy
too.
(cherry-picked from commit
e8adfa2a889cd45ee0ce0727d7eae0a61fdb7dce)
Carlos Garnacho [Wed, 18 Jan 2023 19:37:01 +0000 (20:37 +0100)]
gdk/x11: Emit "remove" s-n message from gdk_toplevel_set_startup_id
In the way towards deprecating gdk_display_notify_startup_complete(),
make gdk_toplevel_set_startup_id() on X11 perform this piece of messaging
itself. It should be harmless that the message is emitted twice, if
callers do still use that API.
(cherry-picked from commit
7fab1b85adbddff7628e3e916f00677080fb9150)
Carlos Garnacho [Wed, 18 Jan 2023 19:03:01 +0000 (20:03 +0100)]
gdk/wayland: Perform xdg_activation on gdk_window_set_startup_id
This call has everything to perform activation as specified by the
xdg_activation protocol, notably a surface to activate as opposed to
gdk_notify_startup_complete().
Make activation happen here, so that the surface gets activated when
its gets a startup ID assigned.
(cherry-picked from commit
5aeabdb3d404579b5cab4fff1642ed116f745a8b)
Carlos Garnacho [Wed, 18 Jan 2023 18:55:31 +0000 (19:55 +0100)]
gtkwindow: Minor refactor
Move the handling of the startup ID to a separate function, since
this will be called from several places.
(cherry-picked from commit
6f01f846dc66a6359a1524ace13377536821dbb0)
Matthias Clasen [Sun, 22 Jan 2023 00:01:07 +0000 (00:01 +0000)]
Merge branch 'fix-unscaled-fallback-icon' into 'gtk-3-24'
Take UI scale into acount when loading "image-missing" fallback
See merge request GNOME/gtk!5438
Brian J. Tarricone [Sat, 21 Jan 2023 20:45:09 +0000 (12:45 -0800)]
Take UI scale into acount when loading "image-missing" fallback
Fallback icons loaded were loading at half size (for a 2x scale) and for
cases where it mattered, were being positioned off-center.
Aurimas Černius [Thu, 19 Jan 2023 21:09:54 +0000 (21:09 +0000)]
Update Lithuanian translation
John Ralls [Thu, 19 Jan 2023 18:37:55 +0000 (10:37 -0800)]
[quartz] GdkWindow, GdkNSView frame and cairo surface same size.
The cairo surface must be padded to 4 pixels in order to
transfer correctly to the GPU. The GdkWindow and GdkNSView's
content frame must be the same width, otherwise there's a mismatch
that causes either the GdkWindow to draw wider than the frame or the
frame to be clipped narrower than the title bar.
Fixes #5535.
Matteo Percivaldi [Fri, 13 Jan 2023 20:19:37 +0000 (15:19 -0500)]
gtkcssanimatedstyle: Fix return of new_advance()
This was causing animation and transition to stop randomly and reset
their state to initial state.
This issue has existed since commit
7b68bdb8316fc1bb96c4a5ad16c1885506131d22.
Closes #4426
Emin Tufan Çetin [Wed, 11 Jan 2023 06:57:09 +0000 (06:57 +0000)]
Update Turkish translation
Matthias Clasen [Sun, 8 Jan 2023 12:57:00 +0000 (12:57 +0000)]
Merge branch 'win-file-ext-3-24' into 'gtk-3-24'
Backport "filechoosernativewin32: Set default extension"
See merge request GNOME/gtk!5403
robxnano [Sat, 26 Nov 2022 14:09:40 +0000 (14:09 +0000)]
filechoosernativewin32: Set default extension
Setting the default extension before a filter is selected allows
the IFileDialog to automatically change the extension when the
filter is changed. See:
https://learn.microsoft.com/en-us/windows/win32/api/shobjidl_core/nf-shobjidl_core-ifiledialog-setdefaultextension
John Ralls [Fri, 6 Jan 2023 18:13:02 +0000 (10:13 -0800)]
[quartz] Fix typo to call function.
Nart Tlisha [Thu, 5 Jan 2023 12:36:09 +0000 (12:36 +0000)]
Update Abkhazian translation
Nart Tlisha [Thu, 5 Jan 2023 12:24:58 +0000 (12:24 +0000)]
Update Abkhazian translation
Emmanuele Bassi [Tue, 3 Jan 2023 18:07:17 +0000 (18:07 +0000)]
Merge branch 'fix-4913-for-gtk3' into 'gtk-3-24'
Treat XKB_MOD_NAME_LOGO as super key
See merge request GNOME/gtk!5387
Thomas Jost [Tue, 3 Jan 2023 16:09:04 +0000 (17:09 +0100)]
Treat XKB_MOD_NAME_LOGO as super key
Loosely based on !5304, which fixes #4913 for GTK3.
Thomas Jost [Tue, 3 Jan 2023 15:58:18 +0000 (16:58 +0100)]
tests: make accel tests easier to debug
Matthias Clasen [Tue, 3 Jan 2023 12:29:27 +0000 (12:29 +0000)]
Merge branch 'gtk-3-24' into 'gtk-3-24'
build: Fix build_gir logic
See merge request GNOME/gtk!5371
Staudey [Tue, 27 Dec 2022 04:54:52 +0000 (04:54 +0000)]
Fix build_gir logic
Matthias Clasen [Thu, 22 Dec 2022 13:25:53 +0000 (08:25 -0500)]
3.24.36