gtk4.git
3 years agoDisable clipboard test
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

3 years agoSkip some known-failing tests on mips-family architectures
Simon McVittie [Thu, 2 Sep 2021 22:31:54 +0000 (23:31 +0100)]
Skip some known-failing tests on mips-family architectures

Forwarded: no

Gbp-Pq: Topic debian
Gbp-Pq: Name Skip-some-known-failing-tests-on-mips-family-architecture.patch

3 years agoreftests: Allow minor differences to be tolerated
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: Name reftests-Allow-minor-differences-to-be-tolerated.patch

3 years agoreftest_compare_surfaces: Report how much the images differ
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: Name reftest_compare_surfaces-Report-how-much-the-images-diffe.patch

3 years agoRelease to unstable
Simon McVittie [Mon, 8 Aug 2022 18:23:03 +0000 (19:23 +0100)]
Release to unstable

3 years agod/gtk-4-tests.lintian-overrides: Update syntax for current Lintian
Simon McVittie [Mon, 8 Aug 2022 18:21:34 +0000 (19:21 +0100)]
d/gtk-4-tests.lintian-overrides: Update syntax for current Lintian

3 years agod/copyright: Drop unused GPL license stanzas
Simon McVittie [Mon, 8 Aug 2022 18:21:18 +0000 (19:21 +0100)]
d/copyright: Drop unused GPL license stanzas

3 years agoMigrate GLib 2.68.0 build-dependency from d/control to d/control.in
Simon McVittie [Mon, 8 Aug 2022 18:20:56 +0000 (19:20 +0100)]
Migrate GLib 2.68.0 build-dependency from d/control to d/control.in

Fixes: ab776361 "Bump required glib build dependency"
3 years agoStandards-Version: 4.6.1 (no changes required)
Simon McVittie [Mon, 8 Aug 2022 18:19:48 +0000 (19:19 +0100)]
Standards-Version: 4.6.1 (no changes required)

3 years agoAdd temporary patch to work around #1014417 in Meson
Simon McVittie [Mon, 8 Aug 2022 15:51:02 +0000 (16:51 +0100)]
Add temporary patch to work around #1014417 in Meson

3 years agoDrop erroneous !nocheck annotation from python3-gi Build-Depends
Evangelos Ribeiro Tzaras [Wed, 13 Jul 2022 20:53:25 +0000 (22:53 +0200)]
Drop erroneous !nocheck annotation from python3-gi Build-Depends

Closes: #1014878
3 years agoreleasing package gtk4 version 4.6.6+ds-1
Jeremy Bicha [Tue, 5 Jul 2022 15:24:42 +0000 (11:24 -0400)]
releasing package gtk4 version 4.6.6+ds-1

3 years agoNew upstream release
Jeremy Bicha [Tue, 5 Jul 2022 13:59:44 +0000 (09:59 -0400)]
New upstream release

3 years agoUpdate upstream source from tag 'upstream/4.6.6+ds'
Jeremy Bicha [Tue, 5 Jul 2022 13:59:43 +0000 (09:59 -0400)]
Update upstream source from tag 'upstream/4.6.6+ds'

Update to upstream version '4.6.6+ds'
with Debian dir 8f8c2d0eb065d4a6aec53a2f804c533d86ad5a74

3 years agoNew upstream version 4.6.6+ds
Jeremy Bicha [Tue, 5 Jul 2022 13:59:00 +0000 (09:59 -0400)]
New upstream version 4.6.6+ds

3 years agoUpdate debian/changelog
Jeremy Bicha [Tue, 5 Jul 2022 13:53:50 +0000 (09:53 -0400)]
Update debian/changelog

3 years ago4.6.6
Matthias Clasen [Sat, 2 Jul 2022 18:38:25 +0000 (14:38 -0400)]
4.6.6

3 years agoBump required glib build dependency
Evangelos Ribeiro Tzaras [Sun, 26 Jun 2022 07:40:45 +0000 (09:40 +0200)]
Bump required glib build dependency

While meson.build indicates that 2.66 is enough, one of the tests
introduced API that is only available to 2.68 which leads to package
build failure:

../../../testsuite/reftests/gtk-reftest.c: In function ‘log_writer’:
../../../testsuite/reftests/gtk-reftest.c:537:7: warning: implicit declaration of function ‘g_log_writer_default_would_drop’; did you mean ‘g_log_writer_default’? [-Wimplicit-function-declaration]
  537 |  if (!g_log_writer_default_would_drop (log_level, NULL))
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       g_log_writer_default
../../../testsuite/reftests/gtk-reftest.c:537:7: warning: nested extern declaration of ‘g_log_writer_default_would_drop’ [-Wnested-externs]

3 years agoUpdate Turkish translation
Sabri Ünal [Fri, 10 Jun 2022 05:53:37 +0000 (05:53 +0000)]
Update Turkish translation

3 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Thu, 9 Jun 2022 23:44:08 +0000 (23:44 +0000)]
Update Brazilian Portuguese translation

3 years agoMerge branch 'hc-icontheme-for-4-6' into 'gtk-4-6'
Matthias Clasen [Wed, 8 Jun 2022 18:48:15 +0000 (18:48 +0000)]
Merge branch 'hc-icontheme-for-4-6' into 'gtk-4-6'

Don't use the HighContrast icon theme

See merge request GNOME/gtk!4805

3 years agowayland/display: Don't force HighContrast icon theme
Florian Müllner [Tue, 7 Jun 2022 17:30:10 +0000 (19:30 +0200)]
wayland/display: Don't force HighContrast icon theme

The theme is considered deprecated in favor of symbolic icons from
the regular theme.

Cherry-picked from main.

3 years agoMerge branch 'builtin-icontheme-fix-for-4-6' into 'gtk-4-6'
Matthias Clasen [Mon, 6 Jun 2022 22:25:07 +0000 (22:25 +0000)]
Merge branch 'builtin-icontheme-fix-for-4-6' into 'gtk-4-6'

Add scalable directories to the builtin hicolor index

See merge request GNOME/gtk!4797

3 years agoAdd more directories to the builtin hicolor index
Matthias Clasen [Thu, 2 Jun 2022 10:38:12 +0000 (06:38 -0400)]
Add more directories to the builtin hicolor index

We haven't had any scalable directories in this list.
Add some. Since we seem to have settled on including
just actions and status as subdirectories for each
size, add scalable/actions and scalable/status.

Fixes: #4960
3 years agoUpdate Russian translation
Aleksandr Melman [Sun, 5 Jun 2022 12:33:06 +0000 (12:33 +0000)]
Update Russian translation

3 years agoMerge branch 'wip/carlosg/activation-roundtrip-fix-4.6' into 'gtk-4-6'
Carlos Garnacho [Fri, 3 Jun 2022 11:20:39 +0000 (11:20 +0000)]
Merge branch 'wip/carlosg/activation-roundtrip-fix-4.6' into 'gtk-4-6'

gdk/wayland: Dispatch GdkAppLaunchContext activation token in its own queue

See merge request GNOME/gtk!4791

3 years agogdk/wayland: Check the GdkSurface wl_surface before using it for activation
Carlos Garnacho [Thu, 2 Jun 2022 21:05:39 +0000 (23:05 +0200)]
gdk/wayland: Check the GdkSurface wl_surface before using it for activation

Double check the GdkSurface has a wl_surface before using it as the activation
token source, since we cannot use NULL surfaces here.

Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1862
(cherry-picked from commit 4b41d4f78ce71b60f0d51837cd1b6a1b346d679d)

3 years agogdk/wayland: Dispatch GdkAppLaunchContext activation token in its own queue
Carlos Garnacho [Thu, 2 Jun 2022 21:04:40 +0000 (23:04 +0200)]
gdk/wayland: Dispatch GdkAppLaunchContext activation token in its own queue

Use a separate queue to dispatch the token object exclusively, just like we
do on the GdkSurface activation paths.

(cherry-picked from commit fb68600d88d4d334f7da7d079b106a1ef14503a6)

3 years agoMerge branch 'fix-gtk-stack-get-page-annotation' into 'gtk-4-6'
Matthias Clasen [Thu, 2 Jun 2022 10:40:49 +0000 (10:40 +0000)]
Merge branch 'fix-gtk-stack-get-page-annotation' into 'gtk-4-6'

Fix introspection annotation for gtk_stack_get_page

See merge request GNOME/gtk!4783

3 years agod/tests/installed-tests: Fail if no tests are found
Simon McVittie [Sun, 29 May 2022 12:48:55 +0000 (13:48 +0100)]
d/tests/installed-tests: Fail if no tests are found

3 years agod/tests/installed-tests: Fail on unset variable references
Simon McVittie [Sun, 29 May 2022 12:47:51 +0000 (13:47 +0100)]
d/tests/installed-tests: Fail on unset variable references

3 years agoMerge branch 'fix-ui-file-translation' into 'gtk-4-6'
Matthias Clasen [Wed, 1 Jun 2022 23:00:14 +0000 (23:00 +0000)]
Merge branch 'fix-ui-file-translation' into 'gtk-4-6'

Fix ui files to work for translations

See merge request GNOME/gtk!4784

3 years agoFix ui files to work for translations
Matthias Clasen [Wed, 1 Jun 2022 18:01:21 +0000 (14:01 -0400)]
Fix ui files to work for translations

We need to keep using translatable="yes", since
that is what the installed its file is looking
for.

Fixes: #4957
3 years agoreleasing package gtk4 version 4.6.5+ds-1
Jeremy Bicha [Wed, 1 Jun 2022 13:06:08 +0000 (09:06 -0400)]
releasing package gtk4 version 4.6.5+ds-1

3 years agoDrop 2 patches applied in new release
Jeremy Bicha [Wed, 1 Jun 2022 12:36:52 +0000 (08:36 -0400)]
Drop 2 patches applied in new release

3 years agoNew upstream release
Jeremy Bicha [Wed, 1 Jun 2022 12:29:47 +0000 (08:29 -0400)]
New upstream release

3 years agoUpdate upstream source from tag 'upstream/4.6.5+ds'
Jeremy Bicha [Wed, 1 Jun 2022 12:29:47 +0000 (08:29 -0400)]
Update upstream source from tag 'upstream/4.6.5+ds'

Update to upstream version '4.6.5+ds'
with Debian dir 302760626b06023473a974fb7cec78a6b1d059db

3 years agoNew upstream version 4.6.5+ds
Jeremy Bicha [Wed, 1 Jun 2022 12:29:05 +0000 (08:29 -0400)]
New upstream version 4.6.5+ds

3 years agoFix introspection annotation for gtk_stack_get_page
Hugo Parente Lima [Tue, 31 May 2022 23:49:58 +0000 (20:49 -0300)]
Fix introspection annotation for gtk_stack_get_page

Annotate gtk_stack_get_page return value as nullable.

Fixes #4958

3 years agoUpdate debian/changelog
Laurent Bigonville [Tue, 31 May 2022 13:53:48 +0000 (15:53 +0200)]
Update debian/changelog

3 years ago4.6.5
Matthias Clasen [Fri, 27 May 2022 12:20:10 +0000 (08:20 -0400)]
4.6.5

3 years agoMerge branch 'gtk-4-6-backports' into 'gtk-4-6'
Matthias Clasen [Mon, 30 May 2022 11:22:32 +0000 (11:22 +0000)]
Merge branch 'gtk-4-6-backports' into 'gtk-4-6'

Drop the quit-mnemonic reftest

See merge request GNOME/gtk!4775

3 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 29 May 2022 19:39:41 +0000 (22:39 +0300)]
Updated Lithuanian translation

3 years agotestsuite: Add tests for label overdraw
Benjamin Otte [Mon, 16 May 2022 20:26:09 +0000 (22:26 +0200)]
testsuite: Add tests for label overdraw

This brings back a subset of what quit-mnemonic.ui tested for, but
trying a lot harder to trigger the label overdrawing its allocation,
which will cause the text to be cut off when clipping is happening.

It should not be an issue at all with GTK4, but keeping that test around
is a good idea.

3 years agoDrop the quit-mnemonic reftest
Matthias Clasen [Sat, 14 May 2022 16:52:40 +0000 (12:52 -0400)]
Drop the quit-mnemonic reftest

I can't quite figure out what this test was meant
to test, and how to make it do so in a way that
does not fall afoul of rendering issues in the GL
renderer and rounding differences in pango.

Can't win with reftests.

3 years agoMerge branch 'backports-for-4-6' into 'gtk-4-6'
Matthias Clasen [Sat, 28 May 2022 15:59:03 +0000 (15:59 +0000)]
Merge branch 'backports-for-4-6' into 'gtk-4-6'

Avoid g_log_set_writer_func in tests

See merge request GNOME/gtk!4773

3 years agoAvoid g_log_set_writer_func in tests
Matthias Clasen [Sat, 28 May 2022 14:17:47 +0000 (10:17 -0400)]
Avoid g_log_set_writer_func in tests

It is not usable anymore since GLib 2.72.

3 years agobroadway: Fix gcc 12 complaining
Benjamin Otte [Sat, 14 May 2022 14:53:22 +0000 (16:53 +0200)]
broadway: Fix gcc 12 complaining

3 years agoMerge branch 'wayland-cursor-scale2-for-4-6' into 'gtk-4-6'
Matthias Clasen [Fri, 27 May 2022 17:37:53 +0000 (17:37 +0000)]
Merge branch 'wayland-cursor-scale2-for-4-6' into 'gtk-4-6'

wayland: scale cursors to the right size

See merge request GNOME/gtk!4767

3 years agowayland: scale cursors to the right size
Matthias Clasen [Fri, 27 May 2022 14:10:27 +0000 (10:10 -0400)]
wayland: scale cursors to the right size

When loading cursors at scale, we expect the
cursor images to have a size of scale * size.
If we don't find such images, load them at their
unscaled size and scale them up ourselves.

Without this, cursors will appear in unexpected
sizes depending on scales and themes.

Related: #4746

3 years agodebian/control.in: Disable librsvg BD on architectures where it's not building
Laurent Bigonville [Mon, 7 Mar 2022 10:02:09 +0000 (11:02 +0100)]
debian/control.in: Disable librsvg BD on architectures where it's not building

librsvg requires rust to be supported, but it's not available on all
architectures

3 years agoMerge branch 'stackpage-fix-for-4-6' into 'gtk-4-6'
Matthias Clasen [Fri, 27 May 2022 12:01:18 +0000 (12:01 +0000)]
Merge branch 'stackpage-fix-for-4-6' into 'gtk-4-6'

realize stackpage accessible parent when needed

See merge request GNOME/gtk!4763

3 years agoMerge branch 'blink-assertion-for-4-6' into 'gtk-4-6'
Matthias Clasen [Fri, 27 May 2022 11:48:41 +0000 (11:48 +0000)]
Merge branch 'blink-assertion-for-4-6' into 'gtk-4-6'

Remove an assertion that we hit

See merge request GNOME/gtk!4764

3 years agoMerge branch 'wayland-cursor-scale-for-4-6' into 'gtk-4-6'
Matthias Clasen [Fri, 27 May 2022 11:48:21 +0000 (11:48 +0000)]
Merge branch 'wayland-cursor-scale-for-4-6' into 'gtk-4-6'

wayland: Sanity check cursor image size

See merge request GNOME/gtk!4762

3 years agoa11y: Realize GtkStackPage parent context before trying to get a ref
Sebastian Keller [Wed, 25 May 2022 12:56:05 +0000 (14:56 +0200)]
a11y: Realize GtkStackPage parent context before trying to get a ref

If a context is not realized, calling gtk_at_spi_context_to_ref() will
return a null ref, because its path has not been initialized yet. This
was already done for all other cases in get_parent_context_ref(), but
was missing for the GtkStackPage case.

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4944
3 years agoRemove an assertion that we hit
Matthias Clasen [Mon, 23 May 2022 12:28:00 +0000 (08:28 -0400)]
Remove an assertion that we hit

It appears that we mess up accounting for blinking
cursors sometimes, and can hit blink_cb when there
is a nonempty selection.

Instead of asserting, warn and stop blinking.

Related: #4767

3 years agowayland: Make cursors have the right size
Matthias Clasen [Fri, 27 May 2022 02:23:31 +0000 (22:23 -0400)]
wayland: Make cursors have the right size

The Wayland protocol requires that width and height
of cursor surfaces is an integer multiple of the
surface scale. Make it so.

Fixes: #4746
3 years agowayland: Sanity check cursor image size
Matthias Clasen [Fri, 27 May 2022 02:28:57 +0000 (22:28 -0400)]
wayland: Sanity check cursor image size

On Wayland it is a protocol violation to upload buffers with
dimensions that are not an integer multiple of the buffer scale.

Until recently, Mutter did not enforce this. When it started
doing so, some users started seeing crashes in GTK apps because the
cursor theme ended up with e.g. a 15x16 pixel image at scale of 2.

Add a small sanity check for this case.

3 years agoUpdate German translation
Christian Kirbach [Thu, 26 May 2022 20:16:33 +0000 (20:16 +0000)]
Update German translation

3 years agoUpdate docs/reference/gdk/gdk4-x11.toml.in
Manuel Zabelt [Tue, 24 May 2022 13:37:43 +0000 (13:37 +0000)]
Update docs/reference/gdk/gdk4-x11.toml.in

3 years agoGDK is LGPL-2.1-or-later not GPL-2.1-or-later, right?
Manuel Zabelt [Tue, 24 May 2022 13:36:07 +0000 (13:36 +0000)]
GDK is LGPL-2.1-or-later not GPL-2.1-or-later, right?

3 years agobuild: fix sysprof default options
Christian Hergert [Thu, 26 May 2022 05:52:34 +0000 (22:52 -0700)]
build: fix sysprof default options

Sysprof just recently cleaned up it's meson_options.txt and this makes
the tracking of the master branch match the new values.

3 years agoMerge branch 'cherry-pick-21349009' into 'gtk-4-6'
Benjamin Otte [Thu, 26 May 2022 12:17:50 +0000 (12:17 +0000)]
Merge branch 'cherry-pick-21349009' into 'gtk-4-6'

x11: Always update shadow size

See merge request GNOME/gtk!4760

3 years agox11: Always update shadow size
Benjamin Otte [Thu, 26 May 2022 02:36:14 +0000 (04:36 +0200)]
x11: Always update shadow size

Not updating shadow size unconditionally would lead to shadow size not
being set on map, which would lead mutter to think that we are a Window
without extents and then become confused when we suddenly set some.

Make sure that doesn't happen by always having shadows set on map, just
like GTK3.

Fixes #4136

(cherry picked from commit 213490099b7d24664ac635f25c9cf224d6a3e702)

3 years agoUpdate German translation
Christian Kirbach [Sun, 22 May 2022 10:41:16 +0000 (10:41 +0000)]
Update German translation

3 years agoUpdate Brazilian Portuguese translation
Rafael Fontenelle [Tue, 17 May 2022 07:54:22 +0000 (07:54 +0000)]
Update Brazilian Portuguese translation

3 years agoUpdate Russian translation
Aleksandr Melman [Sun, 15 May 2022 14:18:48 +0000 (14:18 +0000)]
Update Russian translation

3 years agoUpdate Polish translation
Piotr Drąg [Sun, 15 May 2022 11:48:01 +0000 (13:48 +0200)]
Update Polish translation

3 years agoUpdate Turkish translation
Emin Tufan Çetin [Sun, 15 May 2022 11:04:01 +0000 (11:04 +0000)]
Update Turkish translation

3 years agoUpdate Persian translation
Danial Behzadi [Sun, 15 May 2022 06:30:26 +0000 (06:30 +0000)]
Update Persian translation

3 years agoRelease to unstable
Simon McVittie [Sat, 14 May 2022 23:27:07 +0000 (00:27 +0100)]
Release to unstable

3 years agoUpdate changelog
Simon McVittie [Sat, 14 May 2022 23:21:59 +0000 (00:21 +0100)]
Update changelog

3 years agod/control.in: Drop build-dependencies that were only there for gi-docgen
Simon McVittie [Sat, 14 May 2022 16:12:42 +0000 (17:12 +0100)]
d/control.in: Drop build-dependencies that were only there for gi-docgen

Now that we're using the packaged gi-docgen instead of the bundled copy,
there's no need to depend on its dependencies explicitly.

3 years agoMove gi-docgen to Build-Depends-Indep
Simon McVittie [Sat, 14 May 2022 16:11:58 +0000 (17:11 +0100)]
Move gi-docgen to Build-Depends-Indep

We correctly disable the gi-docgen-generated documentation when only
building architecture-dependent packages.

3 years agod/rules: Work around llvmpipe segfault on mipsel by forcing softpipe
Simon McVittie [Sat, 14 May 2022 16:05:54 +0000 (17:05 +0100)]
d/rules: Work around llvmpipe segfault on mipsel by forcing softpipe

Mitigates: #1010838

3 years agod/rules, d/run-tests.sh: Move loop through backends into run-tests.sh
Simon McVittie [Sat, 14 May 2022 14:48:08 +0000 (15:48 +0100)]
d/rules, d/run-tests.sh: Move loop through backends into run-tests.sh

This means that if an X11 test fails, we try the Wayland tests (if we
are running them at all) before failing the build.

3 years agod/rules: Stop skipping ngl tests on big-endian machines
Simon McVittie [Sat, 14 May 2022 14:44:00 +0000 (15:44 +0100)]
d/rules: Stop skipping ngl tests on big-endian machines

The ngl renderer no longer exists: it was renamed to gl.

3 years agoUpdate Portuguese translation
Hugo Carvalho [Sat, 14 May 2022 17:18:42 +0000 (17:18 +0000)]
Update Portuguese translation

3 years agoreleasing package gtk4 version 4.6.4+ds-2
Jeremy Bicha [Sat, 14 May 2022 14:05:57 +0000 (10:05 -0400)]
releasing package gtk4 version 4.6.4+ds-2

3 years agoCherry-pick patch to fix pasting into the filechooser name field
Jeremy Bicha [Sat, 14 May 2022 13:03:44 +0000 (09:03 -0400)]
Cherry-pick patch to fix pasting into the filechooser name field

LP: #1971532

3 years agoUpdate Ukrainian translation
Yuri Chornoivan [Sat, 14 May 2022 12:19:15 +0000 (12:19 +0000)]
Update Ukrainian translation

3 years agoUpdate Swedish translation
Anders Jonsson [Sat, 14 May 2022 10:03:33 +0000 (10:03 +0000)]
Update Swedish translation

3 years agoMerge branch 'cherry-pick-4f2b1b3c' into 'gtk-4-6'
Matthias Clasen [Sat, 14 May 2022 00:41:32 +0000 (00:41 +0000)]
Merge branch 'cherry-pick-4f2b1b3c' into 'gtk-4-6'

egl: Fix invalid format string

See merge request GNOME/gtk!4727

3 years agoegl: Fix invalid format string
Loïc Minier [Wed, 11 May 2022 19:43:04 +0000 (19:43 +0000)]
egl: Fix invalid format string

(cherry picked from commit 4f2b1b3cfcf1f11f14993656c21105bbbb9432d7)

3 years agoMerge branch 'backport-mr-4723-to-gtk-4-6' into 'gtk-4-6'
Luca Bacci [Fri, 13 May 2022 20:35:49 +0000 (20:35 +0000)]
Merge branch 'backport-mr-4723-to-gtk-4-6' into 'gtk-4-6'

GtkFileChooserWidget: Propagate keys from external entry to fcwidget at the BUBBLE phase

See merge request GNOME/gtk!4726

3 years agoreleasing package gtk4 version 4.6.4+ds-1
Jeremy Bicha [Fri, 13 May 2022 20:29:10 +0000 (16:29 -0400)]
releasing package gtk4 version 4.6.4+ds-1

3 years agoDrop patches applied in new release
Jeremy Bicha [Fri, 13 May 2022 20:04:50 +0000 (16:04 -0400)]
Drop patches applied in new release

3 years agoNew upstream release
Jeremy Bicha [Fri, 13 May 2022 20:02:01 +0000 (16:02 -0400)]
New upstream release

3 years agoUpdate upstream source from tag 'upstream/4.6.4+ds'
Jeremy Bicha [Fri, 13 May 2022 20:02:01 +0000 (16:02 -0400)]
Update upstream source from tag 'upstream/4.6.4+ds'

Update to upstream version '4.6.4+ds'
with Debian dir 9cad4393761ce66d39059df07bd46e5a0c950904

3 years agoNew upstream version 4.6.4+ds
Jeremy Bicha [Fri, 13 May 2022 20:01:20 +0000 (16:01 -0400)]
New upstream version 4.6.4+ds

3 years agoUse gi-docgen to build docs
Jeremy Bicha [Fri, 13 May 2022 19:55:22 +0000 (15:55 -0400)]
Use gi-docgen to build docs

3 years agoGtkFileChooserWidget: Propagate keys from external entry to fcwidget at the BUBBLE...
Luca Bacci [Fri, 13 May 2022 10:28:25 +0000 (12:28 +0200)]
GtkFileChooserWidget: Propagate keys from external entry to fcwidget at the BUBBLE phase

Now that we use event controllers we can forward keybindings from the
external entry to the filechooserwidget at the bubble phase.

Fixes #4905

References:
 * commit 1fb075dbca911d4a61e7ebbf9fc040cd697f4d83
 * commit 686116ba615f989610a6b78e84870555dbf5106b

3 years ago4.6.4
Matthias Clasen [Fri, 13 May 2022 17:58:42 +0000 (13:58 -0400)]
4.6.4

3 years agoCherry-pick patch to fix an invalid format string
Jeremy Bicha [Thu, 12 May 2022 15:36:17 +0000 (11:36 -0400)]
Cherry-pick patch to fix an invalid format string

3 years agoactionmuxer: check for observer before unregistering
Christian Hergert [Mon, 2 May 2022 22:33:34 +0000 (15:33 -0700)]
actionmuxer: check for observer before unregistering

This can happen if the group can be resolved even when doing the initial
registration of an action as observer will not yet be in the GSList of
watchers (and therefore has no weak references).

Fixes a warning like the following:

 g_object_weak_unref: couldn't find weak ref

3 years agoactionmuxer: set handler ids initially to zero
Christian Hergert [Mon, 2 May 2022 21:55:55 +0000 (14:55 -0700)]
actionmuxer: set handler ids initially to zero

These were getting created with possible non-zero values and then inserted
into a hashtable where the readers may not know the state of the group.

Ensure those values are set to zero until we assign them below.

3 years agogdk/wayland: freeze popups when hidden
Christian Hergert [Thu, 24 Mar 2022 00:00:21 +0000 (17:00 -0700)]
gdk/wayland: freeze popups when hidden

Previously, there was an issue with glitching after showing/hiding a
popover that was not also destroyed. This was due to the popover having
an update_freeze_count of zero after hiding the surface.

That resulted in it's toplevel continuously dropping frames such as during
high-frame-rate scrolling in textviews. This problem is much more visible
on high-frame-rate displays such as 120hz/144hz.

With this commit, we freeze the frame clock of the popup until it is
mapped again.

3 years agoprintdialog: Handle nonexisting files better
Matthias Clasen [Sun, 8 May 2022 00:30:55 +0000 (20:30 -0400)]
printdialog: Handle nonexisting files better

When a non-existing file is selected in the file chooser
for print-to-file, we weren't updating the button label
to show the new filename. Fix that.

Also, use newer file chooser api.

3 years agogsk: Check for half float support
Matthias Clasen [Thu, 5 May 2022 17:09:26 +0000 (13:09 -0400)]
gsk: Check for half float support

The GL renderer currently relies on half float support
in vertex buffers, so check that we have it.

Related: #4894

3 years agoreleasing package gtk4 version 4.6.3+ds1-2
Jeremy Bicha [Mon, 9 May 2022 20:48:21 +0000 (16:48 -0400)]
releasing package gtk4 version 4.6.3+ds1-2