Commit Graph

55113 Commits

Author SHA1 Message Date
cdb598793a testsuite: Don't create .test files for flaky or failing tests
These tests can be run manually, but are not suitable for use as an
acceptance test, so let's not make frameworks like Debian's autopkgtest
run these when they run ginsttest-runner in the most obvious way.

a11ytests.test doesn't seem to be reliable enough to be used as a QA
acceptance criterion, and has been disabled as a build-time test in both
Gitlab-CI and Debian since 2019. a11ystate.test is not set up to be run
at build time at all, and has been marked as flaky on ci.debian.net
since 2018.

The rest of the testsuite/a11y directory seems to have been
reliable in practice, at least on ci.debian.net, so try leaving them
enabled as installed-tests.

In principle this could be made finer-grained by having a separate .test
file and a separate Meson test() for each .ui file, but that would
require more active maintenance of GTK 3.

Signed-off-by: Simon McVittie <smcv@debian.org>
2022-11-24 12:09:21 +00:00
a1cd0f71d9 testsuite: Try enabling a11y tests, other than those known to be unstable
At least some of the tests implemented via the accessibility-dump
executable are known to be unstable, but the tests based on separate
executables (tree-performance.c, etc.) have been reasonably consistently
passing on ci.debian.net for several years, so hopefully they are also
reliable enough for upstream CI and we don't need to mark them as flaky?

Signed-off-by: Simon McVittie <smcv@debian.org>
2022-11-24 12:09:21 +00:00
baa6ae9e9c Build using Meson 2022-11-23 23:54:43 +00:00
6af43f823e Update Catalan translation 2022-11-23 22:29:34 +01:00
820d72ffb8 testsuite: Avoid using should_fail
There are two possible interpretations of "expected failure": either
the test *must* fail (exactly the inverse of an ordinary test, with
success becoming failure and failure becoming success), or the test
*may* fail (with success intended, but failure possible in some
environments). Autotools had the second interpretation, which seems
more useful in practice, but Meson has the first.

In GTK 3.24.35, if the environment is such that the label-sizing.ui
reftest happens to be successful, the overall result of the test suite
is failure. This seems unlikely to have been the intention.

Instead of using should_fail, put the tests in one of two new suites:
"flaky" is intended for tests that succeed or fail unpredictably
according to the test environment or chance, while "failing" is for
tests that ought to succeed but currently never do as a result of a
bug or missing functionality. With a sufficiently new version of Meson,
the flaky and failing tests are not run by default, but can be requested
with a command like:

    meson test --setup=unstable_tests --suite=flaky --suite=failing

This arrangement is inspired by GNOME/glib!2987, which was contributed
by Marco Trevisan.

Signed-off-by: Simon McVittie <smcv@debian.org>
2022-11-23 18:54:02 +00:00
6a796eebce debian/control.in, debian/tests/control: Depend on adwaita-icon-theme-full
for installed tests

Gbp-Dch: Full
2022-11-23 13:46:02 -05:00
2928c9cbb9 Update changelog 2022-11-23 15:22:38 +00:00
59b3ed71b3 Add a post-release bugfix from upstream 2022-11-23 15:20:55 +00:00
a7bb7c5993 Add a missing build file from upstream git 2022-11-23 15:20:44 +00:00
2dd3676671 Drop most patches, included in upstream release 2022-11-23 15:17:35 +00:00
3ac1cc097f New upstream release 2022-11-23 15:11:30 +00:00
9c24e3ce54 Update upstream source from tag 'upstream/3.24.35'
Update to upstream version '3.24.35'
with Debian dir 0b0e3f3a24
2022-11-23 15:11:30 +00:00
3d912405b7 New upstream version 3.24.35 2022-11-23 15:09:27 +00:00
4bdfb11d1f Merge branch 'gtk-issue-4456' into 'gtk-3-24'
Flush drawable surface when getting a pixbuf

See merge request GNOME/gtk!5244
2022-11-23 12:07:08 +00:00
e413f5c432 Flush drawable surface when getting a pixbuf
When getting the drawable surface to get its pixels we should be
flushing the Cairo state, not mark it dirty.

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4456
2022-11-23 11:37:14 +00:00
b2ad8d2aba Dist gdk/wayland/cursor/meson.build
This file was missing from the 3.24.35 tarball.
Oops.
2022-11-23 06:24:40 -05:00
14cf55f98d 3.24.35 2022-11-22 13:43:03 -05:00
9bda1e9e13 Merge branch 'ebassi/app-default-flags' into 'gtk-3-24'
Do not use new G_APPLICATION_DEFAULT_FLAGS enum value

See merge request GNOME/gtk!5245
2022-11-22 18:41:17 +00:00
46a43461c1 Do not use new G_APPLICATION_DEFAULT_FLAGS enum value
The merge request !5235 switched tests and examples from
G_APPLICATION_FLAGS_NONE, which has been deprecated in GLib 2.74, to
G_APPLICATION_DEFAULT_FLAGS. Sadly, it was done unconditionally, which
means we'd have to bump the required version of GLib.

To avoid that, let's just use the numeric value of the enum member.
2022-11-22 18:09:29 +00:00
8d9d4434dc Update Serbian translation 2022-11-20 18:43:24 +00:00
f6c649b143 Update Serbian translation 2022-11-20 14:31:19 +00:00
9b9e989ea9 Update German translation 2022-11-20 10:35:54 +00:00
9cdeff6a18 Merge branch 'replace-deprecations' into 'gtk-3-24'
examples, tests: Replace deprecations

See merge request GNOME/gtk!5235
2022-11-19 23:25:45 +00:00
9ac36cea3c Update Swedish translation 2022-11-19 20:10:37 +00:00
b7a1941ab5 examples, tests: Replace deprecations
‘G_APPLICATION_FLAGS_NONE’ is deprecated: Use
'G_APPLICATION_DEFAULT_FLAGS' instead.
2022-11-19 23:23:50 +05:00
b2952faaee Release to unstable 2022-11-18 23:56:57 +00:00
8f2f5422cd Skip border-image-excess-size reftest on big-endian machines
Mitigates: #1024392
2022-11-18 23:56:34 +00:00
bcb13773b4 Mark patch as applied upstream 2022-11-18 23:56:28 +00:00
433b72fa21 Merge branch 'wip/smcv/3-24-autotools' into 'gtk-3-24'
[3.24] build: Define USE_XDG_ACTIVATION conditional when Wayland is disabled

See merge request GNOME/gtk!5226
2022-11-18 19:44:48 +00:00
b6d124cfce Release to unstable 2022-11-18 11:53:10 +00:00
7f95582aa3 Add patch to fix FTBFS for the udeb and non-Linux architectures 2022-11-18 11:52:40 +00:00
20f2c13b2b build: Define USE_XDG_ACTIVATION conditional when Wayland is disabled
This fixes Autotools builds that disable Wayland, such as non-Linux
operating systems and the minimal "udeb" (micro-.deb) package used in
Debian's installer.

Signed-off-by: Simon McVittie <smcv@debian.org>
2022-11-18 11:49:49 +00:00
c8db1993a9 Update patch series to 3.24.34-209-gf8d26e2acc
This fixes a regression where invalid cursors would be displayed at an
excessive size.
2022-11-18 10:56:53 +00:00
705fb86b8e Update changelog 2022-11-18 10:50:29 +00:00
f8d26e2acc Merge branch 'libwayland-cursor-in-tree-gtk-3-24' into 'gtk-3-24'
Make wayland load cursors on demand

See merge request GNOME/gtk!5192
2022-11-18 03:55:52 +00:00
c930d8361b Update Turkish translation 2022-11-15 18:29:44 +00:00
bfddd4795b Update Turkish translation 2022-11-15 18:22:43 +00:00
98b1965e99 Build-/test-depend on dbus-daemon for dbus-run-session, instead of dbus 2022-11-15 11:33:49 +00:00
d03dca1d46 d/patches: Update to upstream gtk-3-24 branch commit 3.24.34-204-g2fcc114870
Windows- and macOS-specific changes excluded.
2022-11-15 11:28:51 +00:00
5c6d2c8e87 Fixes incorrect grabbing behaviour causing subsequent rejection of input
mouse_location can be set to NULL in gtk_range_update_mouse_location(). This
causes a match with stepper_?_gadget in gtk_range_multipress_gesture_pressed(),
as both are NULL. This leads to a grab being added internally and as well, a
critical error message, and a subsequent rejection of touch inputs. Returning
early when mouse_location is NULL prevents this.

Closes #4947
2022-11-11 12:17:51 +01:00
2fcc114870 Merge branch 'gtk-3-gles' into 'gtk-3-24'
gdk_wayland_display_init_gl: use GLES API if required

See merge request GNOME/gtk!5062
2022-11-10 13:44:34 +00:00
66a199806c Make wayland load cursors on demand
Add and use a modified libwayland-cursor in-tree,
just as done in the main branch for GTK4
2022-11-04 15:16:06 +01:00
4432a03742 Revert "wayland/cursor: Sanity check cursor image size"
This reverts commit da4066774b.
2022-11-04 10:58:37 +01:00
d3c39fb438 Update Norwegian Bokmål translation 2022-11-04 07:49:02 +00:00
56eaeff89d Update Indonesian translation 2022-11-03 03:47:01 +00:00
230718c326 Update Dutch translation 2022-11-01 23:08:40 +00:00
d0f49d9f9d Update Russian translation 2022-10-31 12:28:26 +00:00
13cdfb7476 Update Abkhazian translation 2022-10-31 09:48:33 +00:00
e6ce24125c Update Polish translation 2022-10-30 12:37:05 +01:00
ae42ed0a18 Update Hungarian translation 2022-10-30 00:00:03 +00:00