Matthias Clasen [Mon, 22 May 2023 01:52:10 +0000 (21:52 -0400)]
3.24.38
Matthias Clasen [Mon, 22 May 2023 02:21:44 +0000 (22:21 -0400)]
Disable a few failing reftests
Leônidas Araújo [Mon, 15 May 2023 12:30:13 +0000 (12:30 +0000)]
Update Brazilian Portuguese translation
Gianvito Cavasoli [Sun, 14 May 2023 10:38:47 +0000 (10:38 +0000)]
Update Italian translation
John Ralls [Tue, 9 May 2023 22:39:10 +0000 (15:39 -0700)]
[quartz] Pad both the content rect and the window width.
Otherwise the rastering gets messed up and popup windows get badly
truncated lengthwise on non-Retina monitors when there are both
Retina and non-Retina monitors.
John Ralls [Tue, 9 May 2023 20:58:22 +0000 (13:58 -0700)]
[quartz] Remove unused variable.
John Ralls [Tue, 9 May 2023 20:51:28 +0000 (13:51 -0700)]
Finally resolve gdkquartz.h include path issue.
By using a different include path for building Gtk.
Matthias Clasen [Sat, 29 Apr 2023 11:28:00 +0000 (11:28 +0000)]
Merge branch 'application-signal-cleanup-for-3' into 'gtk-3-24'
Fix a crash
See merge request GNOME/gtk!5887
Matthias Clasen [Wed, 26 Apr 2023 22:09:18 +0000 (00:09 +0200)]
Fix a crash
Fix an oversight from
fc1643956baa.
Matthias Clasen [Wed, 26 Apr 2023 12:38:22 +0000 (12:38 +0000)]
Merge branch 'application-signal-cleanup-for-3' into 'gtk-3-24'
application: Clean up signal handlers
See merge request GNOME/gtk!5871
Matthias Clasen [Wed, 26 Apr 2023 12:09:44 +0000 (14:09 +0200)]
application: Clean up signal handlers
This is the right thing to do and might help for #5775.
Yosef Or Boczko [Fri, 21 Apr 2023 09:12:18 +0000 (09:12 +0000)]
Update Hebrew translation
Fran Dieguez [Thu, 13 Apr 2023 16:57:52 +0000 (16:57 +0000)]
Update Galician translation
Мирослав Николић [Sun, 9 Apr 2023 11:36:47 +0000 (11:36 +0000)]
Update Serbian translation
Alexander Shopov [Fri, 7 Apr 2023 16:28:17 +0000 (16:28 +0000)]
Update Bulgarian translation
Luca Bacci [Thu, 6 Apr 2023 12:46:11 +0000 (12:46 +0000)]
Merge branch 'ole2-dnd-check-for-move' into 'gtk-3-24'
OLE2 DND: Check if move is supported
See merge request GNOME/gtk!5748
Luca Bacci [Wed, 29 Mar 2023 15:52:46 +0000 (17:52 +0200)]
OLE2 DND: Check if move is supported
Nart Tlisha [Wed, 5 Apr 2023 09:38:22 +0000 (09:38 +0000)]
Update Abkhazian translation
Nart Tlisha [Wed, 5 Apr 2023 09:03:53 +0000 (09:03 +0000)]
Update Abkhazian translation
Danial Behzadi [Mon, 3 Apr 2023 12:54:19 +0000 (12:54 +0000)]
Update Persian translation
Aleksandr Melman [Mon, 3 Apr 2023 07:28:04 +0000 (07:28 +0000)]
Update Russian translation
Aurimas Černius [Sun, 2 Apr 2023 19:44:42 +0000 (19:44 +0000)]
Update Lithuanian translation
Matthias Clasen [Thu, 30 Mar 2023 23:35:56 +0000 (23:35 +0000)]
Merge branch 'gtk-3-24' into 'gtk-3-24'
Address regression in 3.24.37 (issue 5711) by checking that the context is not NULL.
See merge request GNOME/gtk!5754
Phil Stopford [Thu, 30 Mar 2023 22:34:55 +0000 (22:34 +0000)]
Address issue 5711 by checking that the context is not NULL.
Matthias Clasen [Wed, 29 Mar 2023 01:08:39 +0000 (01:08 +0000)]
Merge branch 'mcatanzaro/fix-xdg-activation' into 'gtk-3-24'
wayland: Don't crash without xdg_activation_v1
See merge request GNOME/gtk!5743
Michael Catanzaro [Wed, 29 Mar 2023 00:42:53 +0000 (19:42 -0500)]
wayland: Don't crash without xdg_activation_v1
This backports
3cdb6392102079d85ea38fa24d58c1824fe4dd37 to GTK 3.
See: #5701
Matthias Clasen [Tue, 28 Mar 2023 18:05:39 +0000 (18:05 +0000)]
Merge branch 'backport-mr-5721' into 'gtk-3-24'
wayland: Don't crash on cursor size 0 (Backport !5721)
See merge request GNOME/gtk!5739
Matthias Clasen [Sun, 26 Mar 2023 00:25:51 +0000 (20:25 -0400)]
wayland: Don't crash on cursor size 0
The cursor-theme-size setting is documented as
'0 means the default size'. Make it so by using
size 24 if we see a 0. Its better than crashing.
Fixes: #5700
(cherry picked from commit
7adbbe6f35347b19319d9e4ce8c92fb0e861524b)
Matthias Clasen [Tue, 28 Mar 2023 13:56:55 +0000 (13:56 +0000)]
Merge branch 'notify-initial-setting-change' into 'gtk-3-24'
gdkscreen-wayland: Notify initial setting change from org.gtk.Settings
See merge request GNOME/gtk!5733
Gaël Bonithon [Mon, 27 Mar 2023 17:40:42 +0000 (19:40 +0200)]
gdkscreen-wayland: Notify initial setting change from org.gtk.Settings
Emin Tufan Çetin [Mon, 27 Mar 2023 12:19:30 +0000 (12:19 +0000)]
Update Turkish translation
Guillaume Bernard [Mon, 27 Mar 2023 08:48:03 +0000 (08:48 +0000)]
Update French translation
Matthias Clasen [Sun, 26 Mar 2023 15:19:23 +0000 (15:19 +0000)]
Merge branch 'ebassi/issue-5691' into 'gtk-3-24'
gdk: Swap Cairo calls when reading back from a GdkWindow
See merge request GNOME/gtk!5727
Emmanuele Bassi [Sun, 26 Mar 2023 14:59:14 +0000 (15:59 +0100)]
docs: Try to steer people away from gdk_pixbuf_get_from_window()
It's a bad function, and people should feel bad about using it.
Emmanuele Bassi [Sun, 26 Mar 2023 14:57:56 +0000 (15:57 +0100)]
gdk: Swap Cairo calls when reading back from a GdkWindow
First we flush the surface, then we mark it dirty.
Don't look at me: this makes sense in Cairo, apparently.
Fixes: #5691
Nathan Follens [Sun, 26 Mar 2023 13:25:07 +0000 (13:25 +0000)]
Update Dutch translation
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)