Jeremy Bicha [Tue, 5 Jul 2022 13:53:50 +0000 (09:53 -0400)]
Update debian/changelog
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]
Simon McVittie [Sun, 29 May 2022 12:48:55 +0000 (13:48 +0100)]
d/tests/installed-tests: Fail if no tests are found
Simon McVittie [Sun, 29 May 2022 12:47:51 +0000 (13:47 +0100)]
d/tests/installed-tests: Fail on unset variable references
Jeremy Bicha [Wed, 1 Jun 2022 13:06:08 +0000 (09:06 -0400)]
releasing package gtk4 version 4.6.5+ds-1
Jeremy Bicha [Wed, 1 Jun 2022 12:36:52 +0000 (08:36 -0400)]
Drop 2 patches applied in new release
Jeremy Bicha [Wed, 1 Jun 2022 12:29:47 +0000 (08:29 -0400)]
New upstream release
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
Jeremy Bicha [Wed, 1 Jun 2022 12:29:05 +0000 (08:29 -0400)]
New upstream version 4.6.5+ds
Laurent Bigonville [Tue, 31 May 2022 13:53:48 +0000 (15:53 +0200)]
Update debian/changelog
Matthias Clasen [Fri, 27 May 2022 12:20:10 +0000 (08:20 -0400)]
4.6.5
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
Aurimas Černius [Sun, 29 May 2022 19:39:41 +0000 (22:39 +0300)]
Updated Lithuanian translation
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.
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.
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
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.
Benjamin Otte [Sat, 14 May 2022 14:53:22 +0000 (16:53 +0200)]
broadway: Fix gcc 12 complaining
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
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
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
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
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
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
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
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
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
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.
Christian Kirbach [Thu, 26 May 2022 20:16:33 +0000 (20:16 +0000)]
Update German translation
Manuel Zabelt [Tue, 24 May 2022 13:37:43 +0000 (13:37 +0000)]
Update docs/reference/gdk/gdk4-x11.toml.in
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?
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.
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
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)
Christian Kirbach [Sun, 22 May 2022 10:41:16 +0000 (10:41 +0000)]
Update German translation
Rafael Fontenelle [Tue, 17 May 2022 07:54:22 +0000 (07:54 +0000)]
Update Brazilian Portuguese translation
Aleksandr Melman [Sun, 15 May 2022 14:18:48 +0000 (14:18 +0000)]
Update Russian translation
Piotr Drąg [Sun, 15 May 2022 11:48:01 +0000 (13:48 +0200)]
Update Polish translation
Emin Tufan Çetin [Sun, 15 May 2022 11:04:01 +0000 (11:04 +0000)]
Update Turkish translation
Danial Behzadi [Sun, 15 May 2022 06:30:26 +0000 (06:30 +0000)]
Update Persian translation
Simon McVittie [Sat, 14 May 2022 23:27:07 +0000 (00:27 +0100)]
Release to unstable
Simon McVittie [Sat, 14 May 2022 23:21:59 +0000 (00:21 +0100)]
Update changelog
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.
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.
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
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.
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.
Hugo Carvalho [Sat, 14 May 2022 17:18:42 +0000 (17:18 +0000)]
Update Portuguese translation
Jeremy Bicha [Sat, 14 May 2022 14:05:57 +0000 (10:05 -0400)]
releasing package gtk4 version 4.6.4+ds-2
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
Yuri Chornoivan [Sat, 14 May 2022 12:19:15 +0000 (12:19 +0000)]
Update Ukrainian translation
Anders Jonsson [Sat, 14 May 2022 10:03:33 +0000 (10:03 +0000)]
Update Swedish translation
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
Loïc Minier [Wed, 11 May 2022 19:43:04 +0000 (19:43 +0000)]
egl: Fix invalid format string
(cherry picked from commit
4f2b1b3cfcf1f11f14993656c21105bbbb9432d7)
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
Jeremy Bicha [Fri, 13 May 2022 20:29:10 +0000 (16:29 -0400)]
releasing package gtk4 version 4.6.4+ds-1
Jeremy Bicha [Fri, 13 May 2022 20:04:50 +0000 (16:04 -0400)]
Drop patches applied in new release
Jeremy Bicha [Fri, 13 May 2022 20:02:01 +0000 (16:02 -0400)]
New upstream release
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
Jeremy Bicha [Fri, 13 May 2022 20:01:20 +0000 (16:01 -0400)]
New upstream version 4.6.4+ds
Jeremy Bicha [Fri, 13 May 2022 19:55:22 +0000 (15:55 -0400)]
Use gi-docgen to build docs
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
Matthias Clasen [Fri, 13 May 2022 17:58:42 +0000 (13:58 -0400)]
4.6.4
Jeremy Bicha [Thu, 12 May 2022 15:36:17 +0000 (11:36 -0400)]
Cherry-pick patch to fix an invalid format string
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
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.
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.
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.
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
Jeremy Bicha [Mon, 9 May 2022 20:48:21 +0000 (16:48 -0400)]
releasing package gtk4 version 4.6.3+ds1-2
Jeremy Bicha [Mon, 9 May 2022 20:26:09 +0000 (16:26 -0400)]
Cherry-pick gtk-4-6 patch needed for mutter 42.1
LP: #
1972722
Matthias Clasen [Mon, 9 May 2022 19:57:44 +0000 (19:57 +0000)]
Merge branch 'wip/carlosg/ignore-null-preedit-4.6' into 'gtk-4-6'
imcontextwayland: Ignore preedit updates from NULL to NULL
See merge request GNOME/gtk!4711
Carlos Garnacho [Tue, 26 Apr 2022 10:23:09 +0000 (12:23 +0200)]
imcontextwayland: Ignore preedit updates from NULL to NULL
If we get consecutive preedit string updates that announce a NULL
string, we still do end up issuing ::preedit-changed with those.
Ignore changes from NULL to NULL, it is the other combinations which
must issue this signal.
(cherry-picked from commit
d6fe6f495a52de47927bf17ce3bc492a971c025f)
Pawan Chitrakar [Mon, 9 May 2022 10:44:41 +0000 (10:44 +0000)]
Update Nepali translation
Pawan Chitrakar [Sun, 8 May 2022 08:44:53 +0000 (08:44 +0000)]
Update Nepali translation
Matthias Clasen [Sat, 7 May 2022 01:36:22 +0000 (21:36 -0400)]
listitemwidget: Avoid some unnecessary work
Only update widget and accessible state if the
selected property actually changed.
Ivan Molodetskikh [Fri, 6 May 2022 15:05:03 +0000 (18:05 +0300)]
list-item: Use notify_by_pspec instead of by name
This is a hot path when scrolling a ColumnView, and
g_param_spec_pool_lookup () was taking a measurable part in this hot
path. Instead, notify using pspecs to avoid the name lookup.
Related: https://gitlab.gnome.org/GNOME/gtk/-/issues/3334
Ivan Molodetskikh [Fri, 6 May 2022 14:21:00 +0000 (17:21 +0300)]
listitemfactory: Track notify manually instead of freeze/thaw
freeze/thaw_notify () showed up on the perf trace for rapid ColumnView
scrolling. Track the three properties manually to make it a little
faster.
Related: https://gitlab.gnome.org/GNOME/gtk/-/issues/3334
Benjamin Otte [Fri, 6 May 2022 11:50:55 +0000 (11:50 +0000)]
Don't invalidate parent if it didn't change
This looks like a leftover excess invalidation from when the surrounding
code was refactored to not just be called on parent changes but also
when repositioning inside the same parent in commit
507016cafc407b2c47aea3fd1483df75e9757f29
Ivan Molodetskikh found this problem in
https://gitlab.gnome.org/GNOME/gtk/-/issues/3334#note_1445873 which
contains a longer analysis of this problem and the performance
reductions it causes.
Related: #3334
Matthias Clasen [Thu, 5 May 2022 17:08:32 +0000 (13:08 -0400)]
gdk: Check OES_vertex_half_float GLES extension
This will be checked in the GL renderer.
Simon McVittie [Wed, 4 May 2022 10:30:30 +0000 (11:30 +0100)]
Release to unstable
Simon McVittie [Wed, 4 May 2022 10:28:03 +0000 (11:28 +0100)]
Unfuzz gi-docgen patches
Simon McVittie [Wed, 4 May 2022 10:01:59 +0000 (11:01 +0100)]
Update changelog
Simon McVittie [Wed, 4 May 2022 10:00:20 +0000 (11:00 +0100)]
New upstream release
Simon McVittie [Wed, 4 May 2022 10:00:20 +0000 (11:00 +0100)]
Update upstream source from tag 'upstream/4.6.3+ds1'
Update to upstream version '4.6.3+ds1'
with Debian dir
17ef149abeecf9904adb685ecf3eea848c9e4509
Simon McVittie [Wed, 4 May 2022 09:59:32 +0000 (10:59 +0100)]
New upstream version 4.6.3+ds1
Simon McVittie [Wed, 4 May 2022 09:58:55 +0000 (10:58 +0100)]
d/copyright: No need to exclude subprojects/wayland any more
It's no longer included in tarballs.
Simon McVittie [Wed, 4 May 2022 09:57:45 +0000 (10:57 +0100)]
d/copyright: Exclude gtk/theme/Default/Default-*.css
We delete them in clean and rebuild them during the package build.
Since we're repacking the tarball anyway, we might as well exclude these
generated files.
Simon McVittie [Wed, 4 May 2022 09:56:30 +0000 (10:56 +0100)]
Revert "d/control.in: Use system copy of gi-docgen"
This reverts commit
5be6ba27a1356650a7386b98c5718d26d7f853a4.
Simon McVittie [Wed, 4 May 2022 09:56:23 +0000 (10:56 +0100)]
Revert "Drop gi-docgen patches"
This reverts commit
f0e8b0aa9adb9028f1ed10e537dcadd04de373d1.
Simon McVittie [Wed, 4 May 2022 09:56:14 +0000 (10:56 +0100)]
Revert "d/copyright: Drop gi-docgen stanzas"
This reverts commit
ae665cf29ad336721257d8118e1216c59270f462.
Simon McVittie [Wed, 4 May 2022 09:55:27 +0000 (10:55 +0100)]
Update changelog
Simon McVittie [Wed, 4 May 2022 09:36:51 +0000 (10:36 +0100)]
Ignore unaligned-offscreen GSK comparison test
Workaround for GNOME/gtk#4889.
Simon McVittie [Wed, 4 May 2022 09:36:01 +0000 (10:36 +0100)]
d/rules, d/run-tests.sh: Add infrastructure to ignore failing GSK tests
Similar to reftests, these can be fragile against varying versions of
dependencies.
Simon McVittie [Wed, 4 May 2022 09:35:04 +0000 (10:35 +0100)]
d/log-reftests.py: Update names of GSK renderers
Simon McVittie [Wed, 4 May 2022 08:47:01 +0000 (09:47 +0100)]
Update to upstream gtk-4-6 branch commit
4.6.3-9-g045446c3da
- Work around infinite loop in box allocation (Closes: #
1010547)
- Make it easier to select the current folder with a file chooser
- Fix saving into a subdirectory with a file chooser
- Translation updates
Luca Bacci [Tue, 3 May 2022 08:52:02 +0000 (08:52 +0000)]
Merge branch 'backport-mr-4678-gtk-4-6' into 'gtk-4-6'
GtkFileChooserWidget: fixes for NULL vs empty GListModel
See merge request GNOME/gtk!4684
Luca Bacci [Sun, 1 May 2022 14:41:10 +0000 (16:41 +0200)]
GtkFileChooserWidget: return empty GListModel in get_files () instead of NULL
Luca Bacci [Sun, 1 May 2022 14:31:47 +0000 (16:31 +0200)]
GtkFileChooserWidget: check for empty instead of NULL GListModel
While porting GtkFileChooserWidget from GList to GListModel we did not
change some checks for NULL to checks for empty list.
Fixes #4851, #4858
Emmanuele Bassi [Fri, 29 Apr 2022 18:33:55 +0000 (18:33 +0000)]
Merge branch 'wip/sophie-h/cherry-pick-filechooser' into 'gtk-4-6'
filechooser: cherry-pick small fix for select folder mode
See merge request GNOME/gtk!4676