Simon McVittie [Mon, 7 Aug 2023 08:35:32 +0000 (09:35 +0100)]
Make fast forward from 4.10.5+ds-2
[dgit --quilt=unapplied]
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 19:08:30 +0000 (20:08 +0100)]
gstreamer-player: Use GtkName Prefix to avoid issues if actual library is included
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name gstreamer-player-Use-GtkName-Prefix-to-avoid-issues-if-ac.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 19:01:40 +0000 (20:01 +0100)]
media: Use gstplayer from meson subproject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name media-Use-gstplayer-from-meson-subproject.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 18:59:43 +0000 (19:59 +0100)]
gstreamer-player-1.0: Do not install it if it's a subproject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name gstreamer-player-1.0-Do-not-install-it-if-it-s-a-subproje.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 18:50:10 +0000 (19:50 +0100)]
subprojects: Add gst-player-1.0 as subporject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name subprojects-Add-gst-player-1.0-as-subporject.patch
Simon McVittie [Fri, 3 Sep 2021 14:08:08 +0000 (15:08 +0100)]
Disable clipboard test
This regularly times out on buildds, but I can't reproduce the hang
locally.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4229
Forwarded: no
Gbp-Pq: Topic debian
Gbp-Pq: Name Disable-clipboard-test.patch
Simon McVittie [Fri, 12 Aug 2022 09:44:17 +0000 (10:44 +0100)]
Disable inscription-markup.ui reftest
It's rendered 1px to the left of where it should be, which is not a
serious problem for practical use of GTK, but is a test failure.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5099
Forwarded: not-needed, workaround
Gbp-Pq: Topic debian
Gbp-Pq: Name Disable-inscription-markup.ui-reftest.patch
Simon McVittie [Sat, 13 Feb 2021 16:19:10 +0000 (16:19 +0000)]
reftests: Allow minor differences to be tolerated
Based on an earlier patch by Michael Biebl, as used in Debian's GTK 3
packaging, with additional inspiration from librsvg's reftests.
Each .ui or .node reftest can have an accompanying .keyfile file
like this:
[reftest]
tolerated-diff-level=20
tolerated-diff-pixels=1000
If the image differs, but the number of pixels that differ is no more
than tolerated-diff-pixels and the differences are no more than
tolerated-diff-level, then we treat it as a success with warnings, save
the .diff.png for analysis, and use g_test_incomplete() to record the
test-case as "TODO".
Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3195
Applied-upstream: no, upstream want reftests to be a strict pass/fail with identical results required
Gbp-Pq: Topic debian
Gbp-Pq: Name reftests-Allow-minor-differences-to-be-tolerated.patch
Simon McVittie [Sat, 13 Feb 2021 18:26:24 +0000 (18:26 +0000)]
reftest_compare_surfaces: Report how much the images differ
In unattended/non-interactive/autobuilder environments where the images
are not trivially accessible, this provides a way to distinguish between
totally different rendering and more subtle issues.
Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3195
Applied-upstream: no, upstream want reftests to be a strict pass/fail with identical results required
Gbp-Pq: Topic debian
Gbp-Pq: Name reftest_compare_surfaces-Report-how-much-the-images-diffe.patch
Jeremy Bicha [Thu, 12 Jan 2023 13:47:54 +0000 (08:47 -0500)]
Revert "build: Drop the install-tests option"
Debian and Ubuntu uses these installed tests as part of their
autopkgtest system
This reverts commit
3121f88265ac61733e257f5335473d6f139f158c.
Gbp-Pq: Name Revert-build-Drop-the-install-tests-option.patch
Jeremy Bicha [Mon, 5 Jun 2023 17:49:20 +0000 (13:49 -0400)]
Revert "tests: Stop copying the tool tests"
This reverts commit
bb3a6214cbeaa3211be007192e536bd473323836.
This is actually used by the installed tests
which we also had to revert dropping (in a separate patch)
Gbp-Pq: Name Revert-tests-Stop-copying-the-tool-tests.patch
Simon McVittie [Mon, 7 Aug 2023 08:35:50 +0000 (09:35 +0100)]
Release to unstable
Simon McVittie [Mon, 7 Aug 2023 08:35:27 +0000 (09:35 +0100)]
Temporarily disable sysprof integration to get the package rebuilt
Simon McVittie [Sun, 6 Aug 2023 12:04:40 +0000 (13:04 +0100)]
Release to unstable
Simon McVittie [Sun, 6 Aug 2023 12:03:36 +0000 (13:03 +0100)]
Declare fast forward from 4.10.5+ds-1
[dgit --quilt=unapplied --overwrite]
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 19:08:30 +0000 (20:08 +0100)]
gstreamer-player: Use GtkName Prefix to avoid issues if actual library is included
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name gstreamer-player-Use-GtkName-Prefix-to-avoid-issues-if-ac.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 19:01:40 +0000 (20:01 +0100)]
media: Use gstplayer from meson subproject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name media-Use-gstplayer-from-meson-subproject.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 18:59:43 +0000 (19:59 +0100)]
gstreamer-player-1.0: Do not install it if it's a subproject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name gstreamer-player-1.0-Do-not-install-it-if-it-s-a-subproje.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 18:50:10 +0000 (19:50 +0100)]
subprojects: Add gst-player-1.0 as subporject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name subprojects-Add-gst-player-1.0-as-subporject.patch
Simon McVittie [Fri, 3 Sep 2021 14:08:08 +0000 (15:08 +0100)]
Disable clipboard test
This regularly times out on buildds, but I can't reproduce the hang
locally.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4229
Forwarded: no
Gbp-Pq: Topic debian
Gbp-Pq: Name Disable-clipboard-test.patch
Simon McVittie [Fri, 12 Aug 2022 09:44:17 +0000 (10:44 +0100)]
Disable inscription-markup.ui reftest
It's rendered 1px to the left of where it should be, which is not a
serious problem for practical use of GTK, but is a test failure.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5099
Forwarded: not-needed, workaround
Gbp-Pq: Topic debian
Gbp-Pq: Name Disable-inscription-markup.ui-reftest.patch
Simon McVittie [Sat, 13 Feb 2021 16:19:10 +0000 (16:19 +0000)]
reftests: Allow minor differences to be tolerated
Based on an earlier patch by Michael Biebl, as used in Debian's GTK 3
packaging, with additional inspiration from librsvg's reftests.
Each .ui or .node reftest can have an accompanying .keyfile file
like this:
[reftest]
tolerated-diff-level=20
tolerated-diff-pixels=1000
If the image differs, but the number of pixels that differ is no more
than tolerated-diff-pixels and the differences are no more than
tolerated-diff-level, then we treat it as a success with warnings, save
the .diff.png for analysis, and use g_test_incomplete() to record the
test-case as "TODO".
Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3195
Applied-upstream: no, upstream want reftests to be a strict pass/fail with identical results required
Gbp-Pq: Topic debian
Gbp-Pq: Name reftests-Allow-minor-differences-to-be-tolerated.patch
Simon McVittie [Sat, 13 Feb 2021 18:26:24 +0000 (18:26 +0000)]
reftest_compare_surfaces: Report how much the images differ
In unattended/non-interactive/autobuilder environments where the images
are not trivially accessible, this provides a way to distinguish between
totally different rendering and more subtle issues.
Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3195
Applied-upstream: no, upstream want reftests to be a strict pass/fail with identical results required
Gbp-Pq: Topic debian
Gbp-Pq: Name reftest_compare_surfaces-Report-how-much-the-images-diffe.patch
Jeremy Bicha [Thu, 12 Jan 2023 13:47:54 +0000 (08:47 -0500)]
Revert "build: Drop the install-tests option"
Debian and Ubuntu uses these installed tests as part of their
autopkgtest system
This reverts commit
3121f88265ac61733e257f5335473d6f139f158c.
Gbp-Pq: Name Revert-build-Drop-the-install-tests-option.patch
Jeremy Bicha [Mon, 5 Jun 2023 17:49:20 +0000 (13:49 -0400)]
Revert "tests: Stop copying the tool tests"
This reverts commit
bb3a6214cbeaa3211be007192e536bd473323836.
This is actually used by the installed tests
which we also had to revert dropping (in a separate patch)
Gbp-Pq: Name Revert-tests-Stop-copying-the-tool-tests.patch
Simon McVittie [Sun, 6 Aug 2023 12:03:05 +0000 (13:03 +0100)]
d/upstream/metadata: Use preferred Gitlab URLs
Changes-By: lintian-brush
Simon McVittie [Sun, 6 Aug 2023 12:02:29 +0000 (13:02 +0100)]
Remove maintscripts unnecessary in any released Debian version
Simon McVittie [Sun, 6 Aug 2023 12:01:01 +0000 (13:01 +0100)]
Remove version constraints unnecessary since Debian 11
Simon McVittie [Sun, 6 Aug 2023 11:51:25 +0000 (12:51 +0100)]
d/control.in: Only use libsysprof-capture-4-dev for shared library
libsysprof-capture-4-dev is currently a virtual package provided by
libsysprof-4-dev, which also includes GTK 4 GUI components and so depends
on libgtk-4-dev. If the Architecture: amd64 build happens to finish before
the Architecture: all build starts, then the Architecture: all build will
fail with an unsatisfiable build-dependency: libsysprof-4-dev Depends on
libgtk-4-dev, which Depends on libgtk-4-common (>= ${source:Version}),
which hasn't been built yet. The result is that libgtk-4-common can't
be built and the builds deadlock. We've been lucky enough to avoid this
until now, but version 4.10.5+ds-1 was not sufficiently lucky and has
become uninstallable and unbuildable.
Because the sysprof integration is part of the architecture-specific
library, we can break this cycle by only installing libsysprof-4-dev when
we are building the architecture-specific library, and excluding it
when we are only building architecture-independent documentation and
common files.
Jeremy Bícha [Sat, 5 Aug 2023 13:56:19 +0000 (09:56 -0400)]
releasing package gtk4 version 4.10.5+ds-1
Jeremy Bícha [Sat, 5 Aug 2023 13:56:12 +0000 (14:56 +0100)]
Record gtk4 (4.10.5+ds-1) in archive suite sid
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 19:08:30 +0000 (20:08 +0100)]
gstreamer-player: Use GtkName Prefix to avoid issues if actual library is included
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name gstreamer-player-Use-GtkName-Prefix-to-avoid-issues-if-ac.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 19:01:40 +0000 (20:01 +0100)]
media: Use gstplayer from meson subproject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name media-Use-gstplayer-from-meson-subproject.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 18:59:43 +0000 (19:59 +0100)]
gstreamer-player-1.0: Do not install it if it's a subproject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name gstreamer-player-1.0-Do-not-install-it-if-it-s-a-subproje.patch
Marco Trevisan (Treviño) [Fri, 17 Mar 2023 18:50:10 +0000 (19:50 +0100)]
subprojects: Add gst-player-1.0 as subporject
Origin: https://gitlab.gnome.org/3v1n0/gtk/-/commits/gst-player-subproject
Forwarded: not-needed
Gbp-Pq: Topic debian
Gbp-Pq: Name subprojects-Add-gst-player-1.0-as-subporject.patch
Simon McVittie [Fri, 3 Sep 2021 14:08:08 +0000 (15:08 +0100)]
Disable clipboard test
This regularly times out on buildds, but I can't reproduce the hang
locally.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4229
Forwarded: no
Gbp-Pq: Topic debian
Gbp-Pq: Name Disable-clipboard-test.patch
Simon McVittie [Fri, 12 Aug 2022 09:44:17 +0000 (10:44 +0100)]
Disable inscription-markup.ui reftest
It's rendered 1px to the left of where it should be, which is not a
serious problem for practical use of GTK, but is a test failure.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/5099
Forwarded: not-needed, workaround
Gbp-Pq: Topic debian
Gbp-Pq: Name Disable-inscription-markup.ui-reftest.patch
Simon McVittie [Sat, 13 Feb 2021 16:19:10 +0000 (16:19 +0000)]
reftests: Allow minor differences to be tolerated
Based on an earlier patch by Michael Biebl, as used in Debian's GTK 3
packaging, with additional inspiration from librsvg's reftests.
Each .ui or .node reftest can have an accompanying .keyfile file
like this:
[reftest]
tolerated-diff-level=20
tolerated-diff-pixels=1000
If the image differs, but the number of pixels that differ is no more
than tolerated-diff-pixels and the differences are no more than
tolerated-diff-level, then we treat it as a success with warnings, save
the .diff.png for analysis, and use g_test_incomplete() to record the
test-case as "TODO".
Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3195
Applied-upstream: no, upstream want reftests to be a strict pass/fail with identical results required
Gbp-Pq: Topic debian
Gbp-Pq: Name reftests-Allow-minor-differences-to-be-tolerated.patch
Simon McVittie [Sat, 13 Feb 2021 18:26:24 +0000 (18:26 +0000)]
reftest_compare_surfaces: Report how much the images differ
In unattended/non-interactive/autobuilder environments where the images
are not trivially accessible, this provides a way to distinguish between
totally different rendering and more subtle issues.
Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3195
Applied-upstream: no, upstream want reftests to be a strict pass/fail with identical results required
Gbp-Pq: Topic debian
Gbp-Pq: Name reftest_compare_surfaces-Report-how-much-the-images-diffe.patch
Jeremy Bicha [Thu, 12 Jan 2023 13:47:54 +0000 (08:47 -0500)]
Revert "build: Drop the install-tests option"
Debian and Ubuntu uses these installed tests as part of their
autopkgtest system
This reverts commit
3121f88265ac61733e257f5335473d6f139f158c.
Gbp-Pq: Name Revert-build-Drop-the-install-tests-option.patch
Jeremy Bicha [Mon, 5 Jun 2023 17:49:20 +0000 (13:49 -0400)]
Revert "tests: Stop copying the tool tests"
This reverts commit
bb3a6214cbeaa3211be007192e536bd473323836.
This is actually used by the installed tests
which we also had to revert dropping (in a separate patch)
Gbp-Pq: Name Revert-tests-Stop-copying-the-tool-tests.patch
Jeremy Bícha [Sat, 5 Aug 2023 13:56:12 +0000 (14:56 +0100)]
gtk4 (4.10.5+ds-1) unstable; urgency=medium
* New upstream release
[dgit import unpatched gtk4 4.10.5+ds-1]
Jeremy Bícha [Sat, 5 Aug 2023 13:56:12 +0000 (14:56 +0100)]
Import gtk4_4.10.5+ds.orig.tar.xz
[dgit import orig gtk4_4.10.5+ds.orig.tar.xz]
Jeremy Bícha [Sat, 5 Aug 2023 13:56:12 +0000 (14:56 +0100)]
Import gtk4_4.10.5+ds-1.debian.tar.xz
[dgit import tarball gtk4 4.10.5+ds-1 gtk4_4.10.5+ds-1.debian.tar.xz]
Jeremy Bícha [Sat, 5 Aug 2023 12:56:07 +0000 (08:56 -0400)]
New upstream release
Jeremy Bícha [Sat, 5 Aug 2023 12:56:06 +0000 (08:56 -0400)]
Update upstream source from tag 'upstream/4.10.5+ds'
Update to upstream version '4.10.5+ds'
with Debian dir
5d07f4ce2786683425076e4458da83a3ad8d29ac
Jeremy Bícha [Sat, 5 Aug 2023 12:55:51 +0000 (08:55 -0400)]
New upstream version 4.10.5+ds
Matthias Clasen [Sat, 5 Aug 2023 09:50:38 +0000 (05:50 -0400)]
4.10.5
Benjamin Otte [Wed, 26 Jul 2023 05:33:04 +0000 (05:33 +0000)]
Merge branch 'cherry-pick-
f0f7613a' into 'gtk-4-10'
Merge branch 'zbrown/pending' into 'main'
See merge request GNOME/gtk!6214
Benjamin Otte [Wed, 26 Jul 2023 04:39:13 +0000 (04:39 +0000)]
Merge branch 'zbrown/pending' into 'main'
filterlistmodel: emit ::notify::pending after ::items-changed
See merge request GNOME/gtk!6213
(cherry picked from commit
f0f7613adb4cb90826d65f60258c5cd1b529dc77)
72a1bd64 filterlistmodel: emit ::notify::pending after ::items-changed
Balázs Meskó [Tue, 25 Jul 2023 23:43:05 +0000 (23:43 +0000)]
Update Hungarian translation
Ngọc Quân Trần [Sat, 22 Jul 2023 08:16:20 +0000 (08:16 +0000)]
Update Vietnamese translation
Efstathios Iosifidis [Fri, 21 Jul 2023 22:29:43 +0000 (22:29 +0000)]
Update Greek translation
Daniel Mustieles [Wed, 19 Jul 2023 12:36:24 +0000 (12:36 +0000)]
Update Spanish translation
Daniel Mustieles [Wed, 19 Jul 2023 12:34:43 +0000 (14:34 +0200)]
Revert "Updated Spanish translation"
This reverts commit
f0c27b7c8e6f9a4b27ef2e145573d56fa133dc83.
Daniel Mustieles [Wed, 19 Jul 2023 12:24:40 +0000 (14:24 +0200)]
Updated Spanish translation
Jeremy Bícha [Wed, 19 Jul 2023 11:53:50 +0000 (07:53 -0400)]
releasing package gtk4 version 4.10.4+ds-2
Leônidas Araújo [Mon, 26 Jun 2023 13:08:44 +0000 (13:08 +0000)]
Update Brazilian Portuguese translation
Carlos Garnacho [Sun, 25 Jun 2023 19:04:58 +0000 (19:04 +0000)]
Merge branch 'wip/carlosg/clear-resize-cursor-4-10' into 'gtk-4-10'
window: Clear resize_cursor on leave notify events (4.10)
See merge request GNOME/gtk!6143
Michel Dänzer [Mon, 12 Jun 2023 16:28:29 +0000 (18:28 +0200)]
window: Clear resize_cursor on leave notify events
When the pointer leaves the window surface, gtk_window_capture_motion
will not be called anymore, so priv->resize_cursor may remain non-NULL
indefinitely without this.
If update_cursor is later called (via gtk_window_maybe_update_cursor) on
a virtual enter notify event (e.g. because the pointer entered a
descendant surface), it would previously re-set the window surface
cursor to priv->resize_cursor, which could result in the wrong cursor
shape being shown for descendant surfaces.
This affected mutter-x11-frames, see
https://gitlab.freedesktop.org/xorg/xserver/-/issues/1557.
One could also say that if the pointer leaves the window surface, it's
trivially not over any window edge.
(cherry-picked from commit
f8fd04402eaf500abc72d5529165068660bd6911)
Benjamin Otte [Tue, 20 Jun 2023 16:06:09 +0000 (16:06 +0000)]
Merge branch 'unaligned-access-for-gtk-4-10' into 'gtk-4-10'
gtk: Align key_size up to key_align (for gtk-4-10)
See merge request GNOME/gtk!6124
Matt Turner [Mon, 19 Jun 2023 19:50:04 +0000 (15:50 -0400)]
gtk: Align key_size up to key_align
Avoids unaligned accesses when e.g. the key_size is 12 and key_align is
8. We need to round the key size up to 16 to ensure that all keys are
appropriately aligned.
This manifested as a failure in the `gtk:gtk / sorter` unit test on
sparc.
Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/5907
(cherry picked from commit
3f360aa883dc51ad986c721be01b494020e5ac9d)
Matt Turner [Mon, 19 Jun 2023 19:47:17 +0000 (15:47 -0400)]
gtk: Pass G_ALIGNOF (...) to gtk_sort_keys_new
The sizeof and G_ALIGNOF are often, but not always, identical.
(cherry picked from commit
a4440453868ebe7c87d0a69de9609b33a688a8bb)
Matthias Clasen [Tue, 13 Jun 2023 14:41:10 +0000 (14:41 +0000)]
Merge branch 'forgotten-410-backport' into 'gtk-4-10'
Revert "css: Simplify default values"
See merge request GNOME/gtk!6092
Matthias Clasen [Fri, 12 May 2023 18:09:36 +0000 (14:09 -0400)]
Revert "css: Simplify default values"
This reverts commit
1efa39672b94ba12f42f386d0eedb7ed6d7c3d03.
We want to use corner values for corner properties.
Fixes: #5892
Daniel Rusek [Mon, 12 Jun 2023 13:14:40 +0000 (13:14 +0000)]
Update Czech translation
Jeremy Bicha [Mon, 5 Jun 2023 19:05:11 +0000 (15:05 -0400)]
releasing package gtk4 version 4.10.4+ds-1
Jeremy Bicha [Mon, 5 Jun 2023 17:49:03 +0000 (13:49 -0400)]
Revert a buildsystem change that affected our installed-tests patch
Jeremy Bicha [Mon, 5 Jun 2023 17:06:51 +0000 (13:06 -0400)]
New upstream release
Jeremy Bicha [Mon, 5 Jun 2023 17:06:51 +0000 (13:06 -0400)]
Update upstream source from tag 'upstream/4.10.4+ds'
Update to upstream version '4.10.4+ds'
with Debian dir
a2d5f1a473ed957eb42ebf96f58694b47efc1cac
Jeremy Bicha [Mon, 5 Jun 2023 17:06:24 +0000 (13:06 -0400)]
New upstream version 4.10.4+ds
Matthias Clasen [Mon, 5 Jun 2023 15:38:52 +0000 (11:38 -0400)]
Post-release version bump
Matthias Clasen [Mon, 5 Jun 2023 15:27:22 +0000 (11:27 -0400)]
4.10.4
Matthias Clasen [Mon, 5 Jun 2023 12:35:40 +0000 (12:35 +0000)]
Merge branch 'gtk-4-10-backports' into 'gtk-4-10'
tests: Stop copying the tool tests
See merge request GNOME/gtk!6062
Benjamin Otte [Sat, 27 May 2023 17:05:32 +0000 (19:05 +0200)]
stringsorter: Handle NULL strings
NULL is a valid string GValue, so we need to handle it.
The utf8 normalizing and collating functions do not, so we better catch
it early.
Matthias Clasen [Mon, 5 Jun 2023 01:44:37 +0000 (21:44 -0400)]
searchentry: Improve size allocation
We want to always reserve space for the clear icon,
but let the text widget use that space when the icon
isn't shown. A plain box layout can't do that, so
do our own size allocation.
Matthias Clasen [Mon, 5 Jun 2023 01:45:59 +0000 (21:45 -0400)]
text: Make the placeholder non-intrusive
We never want to let the placeholder cause
the widget to grow, so set its max-width-chars
to a small value to make it ellipsize.
Benjamin Otte [Sat, 20 May 2023 23:27:09 +0000 (01:27 +0200)]
renderer: return_if_fail() if the given texture size is 0
All renderers SEGV currently when that happens.
Matthias Clasen [Thu, 1 Jun 2023 00:34:28 +0000 (20:34 -0400)]
wayland: Don't leak cursor structs
Found by gcc's -fanalyzer.
Matthias Clasen [Sat, 3 Jun 2023 16:17:55 +0000 (12:17 -0400)]
Revert "gdk/x11: Also grab keyboard during XDnD grabs"
This reverts commit
ae94417f80c92b26792280a9b798cafc01e49232.
Matthias Clasen [Sat, 3 Jun 2023 14:44:21 +0000 (10:44 -0400)]
x11: Stop using passive grabs
The keynav that this implements is half-broken under
xwayland anyway, and it confused and complicates things
on the compositor side.
Marco Trevisan (Treviño) [Thu, 1 Jun 2023 22:23:51 +0000 (00:23 +0200)]
x11: Trap XRandr errors when getting outputs during init and update
We may try to update the XRR outputs and Crtcs when they're changing in
the server, and so we may get BadRROutput that we're currently not
handling properly.
As per this, use traps and check whether we got errors, and if we did
let's ignore the current output.
It's not required to call init_randr13() again because if we got errors
it's very likely that there's a change coming that will be notified at
next iteration during which we'll repeat the init actions.
Daniel Boles [Thu, 1 Jun 2023 19:31:22 +0000 (20:31 +0100)]
Window: Copy caveats from :*visible to the setters
Daniel Boles [Thu, 1 Jun 2023 19:26:57 +0000 (20:26 +0100)]
Window: Fix wrong case in property attribute which
rendered the literal text `org.gtk.MEthod.set_property focus-visible`.
Erik Schilling [Wed, 31 May 2023 12:27:48 +0000 (12:27 +0000)]
label: Fix crashes when executing a11y actions
Alice Mikhaylenko [Thu, 1 Jun 2023 02:27:10 +0000 (06:27 +0400)]
actionmuxer: Correctly notify actions after reparenting
When registering an observer, we send a notification and for that we need
to query the action's state and param type. When setting up a muxer parent,
same thing happens, except the action is queried on the parent instead.
This means that the muxer will notify observers about the parent's actions,
but not about its own.
Add a test to verify it works.
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5861
Marco Trevisan (Treviño) [Tue, 30 May 2023 15:59:06 +0000 (17:59 +0200)]
gdkselectioninputstream-x11: Explicitly handle stream ownership in signal
The display xevent signal connection takes the ownership of the stream
until we get a valid event, so it should manage the stream lifetime.
So make this clearer, by automatically removing the stream reference
when we disconnect from the xevent signal handler.
Marco Trevisan (Treviño) [Tue, 30 May 2023 15:54:00 +0000 (17:54 +0200)]
gdkselectioninputstream-x11: Make it clearer how we manage the stream ownership
It gets unreffed during gdk_x11_selection_input_stream_complete, so use
APIs that make this clearer.
Marco Trevisan (Treviño) [Tue, 30 May 2023 15:50:56 +0000 (17:50 +0200)]
gtkselectioninputstream-x11: Do not add an extra reference to the returned stream
We create a new stream during gdk_x11_selection_input_stream_new_async()
then such stream is referenced when passed to the task via
g_task_return_pointer(), so there's no need to reference it again before
returning it, or we'd end up leaking.
Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4892
Marco Trevisan (Treviño) [Tue, 30 May 2023 15:43:57 +0000 (17:43 +0200)]
gtkselectioninputstream-x11: Do not add unreffed bytes to the chunks queue
This should never happen, but we may exit the loop because of count value
with an unreffed bytes pointer being added back to the chunks queue.
Marco Trevisan (Treviño) [Tue, 30 May 2023 15:42:59 +0000 (17:42 +0200)]
gtkselectioninputstream-x11: Do not add EOF marker twice to the chunks queue
We were adding the same EOF marker two times back to the chunks queue,
one implicitly, and the other time could happen when exiting the loop.
Luca Bacci [Wed, 17 May 2023 12:00:56 +0000 (14:00 +0200)]
Check for NULL groups in gtk_action_muxer_get_group ()
The groups hash table is initialized lazily when inserting
the first GActionGroup (gtk_action_muxer_insert ()). Do as
all surrounding code does and check for NULL before using
groups.
This avoids triggering a warning
Daniel Boles [Sun, 28 May 2023 10:35:44 +0000 (11:35 +0100)]
MenuButton: Always mention child@always-show-arrow
get_always_show_arrow() did not mention at all that the custom child is
relevant. set_always_show_arrow() only did in the blurb, not for the arg
FineFindus [Thu, 25 May 2023 15:16:55 +0000 (17:16 +0200)]
docs: add HSL to Gdk.RGBA.parse
Update the Gdk.RGBA.parse docs to reflect the ability to parse HSL, which has been added in 4.5.0.
Jason Francis [Wed, 24 May 2023 21:34:34 +0000 (17:34 -0400)]
win32: Invalidate inactive monitors
Without this, there are still GdkMonitors present for displays that are
present but disconnected (such as when a laptop disables the internal
display to connect to an external monitor).
Benjamin Otte [Thu, 18 May 2023 00:02:03 +0000 (02:02 +0200)]
glx: Implement support for EXT_swap_control
XWayland (at least on gnome-shell) does not support SGI_swap_control,
which we were using to unset the swap interval.
It does support EXT_swap_control though, which is the more modern
version of the same thing, so this commit adds support for that.
And now GDK_DEBUG=no-vsync gives me >1000fps instead of just 60fps,
José Expósito [Mon, 17 Oct 2022 17:10:37 +0000 (19:10 +0200)]
gtkeventcontrollerscroll: Send lores scroll in the middle of the detent
Some mice send a value slightly lower than 120 for some detents. The
current approach waits until a value of 120 is reached before sending a
low-resolution scroll event.
For example, the MX Master 3 sends a value of 112 in some detents:
detent detent
| | |
^ ^ ^
112 REL_WHEEL 224
As illustrated, only one event was sent but two were expected. However,
sending the low-resolution scroll event in the middle plus the existing
heuristics to reset the accumulator solve this issue:
detent detent
| | |
^ ^ ^ ^
REL_WHEEL 112 REL_WHEEL 224
Send low-resolution scroll events in the middle of the detent to solve
this problem.
Related to https://gitlab.gnome.org/GNOME/mutter/-/issues/2469
Daniel Boles [Mon, 22 May 2023 20:39:36 +0000 (21:39 +0100)]
MenuButton: Fix small grammar-o/match related syms
Matthias Clasen [Mon, 22 May 2023 20:14:17 +0000 (16:14 -0400)]
menus: Avoid unnecessary right padding
We are using placeholders in the 'check' column
that are put in a size group, so that they all
take the same space once a check or radio is shown.
Unfortunately, for the inline-buttons option, we
were using a GtkBuiltinIcon as placeholder, and those
respect the -gtk-icon-size CSS property and take
a minimum size of 16px. Use a GtkGizmo instead to
get the expected result of no extra padding unless
there's a check or radio.
Fixes: #5839
Khalid Abu Shawarib [Mon, 22 May 2023 12:25:24 +0000 (12:25 +0000)]
gtk/recentmanager: Fix date leak