Commit Graph

72646 Commits

Author SHA1 Message Date
Matthias Clasen
57ba5ad39e 4.6.6 2022-07-02 14:38:25 -04:00
Sabri Ünal
1ba946d3ba Update Turkish translation 2022-06-10 05:53:37 +00:00
Rafael Fontenelle
d43ddcb2e8 Update Brazilian Portuguese translation 2022-06-09 23:44:08 +00:00
Matthias Clasen
05e4079682 Merge branch 'hc-icontheme-for-4-6' into 'gtk-4-6'
Don't use the HighContrast icon theme

See merge request GNOME/gtk!4805
2022-06-08 18:48:15 +00:00
Florian Müllner
317209597d 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.
2022-06-08 14:33:07 -04:00
Matthias Clasen
fad664c89e 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
2022-06-06 22:25:07 +00:00
Matthias Clasen
e3c4076b27 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
2022-06-06 18:05:25 -04:00
Aleksandr Melman
99f7cc1e61 Update Russian translation 2022-06-05 12:33:06 +00:00
Carlos Garnacho
154107696a 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
2022-06-03 11:20:39 +00:00
Carlos Garnacho
1cdb6ada4e 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 4b41d4f78c)
2022-06-03 13:04:15 +02:00
Carlos Garnacho
56607e8cfe 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 fb68600d88)
2022-06-03 13:03:58 +02:00
Matthias Clasen
94b47ce47a 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
2022-06-02 10:40:49 +00:00
Matthias Clasen
3594df7f87 Merge branch 'fix-ui-file-translation' into 'gtk-4-6'
Fix ui files to work for translations

See merge request GNOME/gtk!4784
2022-06-01 23:00:14 +00:00
Matthias Clasen
c96113e6d8 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
2022-06-01 14:47:08 -04:00
Hugo Parente Lima
69b1b4d95b Fix introspection annotation for gtk_stack_get_page
Annotate gtk_stack_get_page return value as nullable.

Fixes #4958
2022-05-31 20:49:58 -03:00
Matthias Clasen
3e766a4fe2 4.6.5 2022-05-30 16:26:00 -04:00
Matthias Clasen
60a8367594 Merge branch 'gtk-4-6-backports' into 'gtk-4-6'
Drop the quit-mnemonic reftest

See merge request GNOME/gtk!4775
2022-05-30 11:22:32 +00:00
Aurimas Černius
22b9cf1644 Updated Lithuanian translation 2022-05-29 22:39:41 +03:00
Benjamin Otte
224a8390eb 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.
2022-05-29 08:13:09 -04:00
Matthias Clasen
5fee68f80d 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.
2022-05-29 08:13:09 -04:00
Matthias Clasen
41086f0756 Merge branch 'backports-for-4-6' into 'gtk-4-6'
Avoid g_log_set_writer_func in tests

See merge request GNOME/gtk!4773
2022-05-28 15:59:03 +00:00
Matthias Clasen
78c153ae14 Avoid g_log_set_writer_func in tests
It is not usable anymore since GLib 2.72.
2022-05-28 11:34:42 -04:00
Benjamin Otte
53c02a1e84 broadway: Fix gcc 12 complaining 2022-05-28 08:12:37 -04:00
Matthias Clasen
1523fecfe1 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
2022-05-27 17:37:53 +00:00
Matthias Clasen
75821de2d7 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
2022-05-27 13:05:18 -04:00
Matthias Clasen
91d2e1bc7f Merge branch 'stackpage-fix-for-4-6' into 'gtk-4-6'
realize stackpage accessible parent when needed

See merge request GNOME/gtk!4763
2022-05-27 12:01:18 +00:00
Matthias Clasen
986fd9959d Merge branch 'blink-assertion-for-4-6' into 'gtk-4-6'
Remove an assertion that we hit

See merge request GNOME/gtk!4764
2022-05-27 11:48:41 +00:00
Matthias Clasen
92b6c59f80 Merge branch 'wayland-cursor-scale-for-4-6' into 'gtk-4-6'
wayland: Sanity check cursor image size

See merge request GNOME/gtk!4762
2022-05-27 11:48:21 +00:00
Sebastian Keller
1860da7a1a 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
2022-05-27 07:21:49 -04:00
Matthias Clasen
09a0151233 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
2022-05-27 07:06:23 -04:00
Matthias Clasen
c47759bd3d 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
2022-05-27 06:59:17 -04:00
Matthias Clasen
c543206d79 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.
2022-05-27 06:59:10 -04:00
Christian Kirbach
3523b02a35 Update German translation 2022-05-26 20:16:33 +00:00
Manuel Zabelt
f936d7a883 Update docs/reference/gdk/gdk4-x11.toml.in 2022-05-26 08:25:13 -04:00
Manuel Zabelt
804caae32a GDK is LGPL-2.1-or-later not GPL-2.1-or-later, right? 2022-05-26 08:25:04 -04:00
Christian Hergert
bc09956d79 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.
2022-05-26 08:24:52 -04:00
Benjamin Otte
7104861614 Merge branch 'cherry-pick-21349009' into 'gtk-4-6'
x11: Always update shadow size

See merge request GNOME/gtk!4760
2022-05-26 12:17:50 +00:00
Benjamin Otte
22288d9854 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 213490099b)
2022-05-26 11:19:04 +00:00
Christian Kirbach
7703aa5cd3 Update German translation 2022-05-22 10:41:16 +00:00
Rafael Fontenelle
17896f9841 Update Brazilian Portuguese translation 2022-05-17 07:54:22 +00:00
Aleksandr Melman
a67f82975e Update Russian translation 2022-05-15 14:18:48 +00:00
Piotr Drąg
9bc9116d24 Update Polish translation 2022-05-15 13:48:01 +02:00
Emin Tufan Çetin
1ff47f246b Update Turkish translation 2022-05-15 11:04:01 +00:00
Danial Behzadi
2b1c09dd42 Update Persian translation 2022-05-15 06:30:26 +00:00
Hugo Carvalho
4559bbbb9a Update Portuguese translation 2022-05-14 17:18:42 +00:00
Yuri Chornoivan
700c30d465 Update Ukrainian translation 2022-05-14 12:19:15 +00:00
Anders Jonsson
2d8a8e3575 Update Swedish translation 2022-05-14 10:03:33 +00:00
Matthias Clasen
9ea6bcb7b3 Merge branch 'cherry-pick-4f2b1b3c' into 'gtk-4-6'
egl: Fix invalid format string

See merge request GNOME/gtk!4727
2022-05-14 00:41:32 +00:00
Loïc Minier
394e0ab3be egl: Fix invalid format string
(cherry picked from commit 4f2b1b3cfc)
2022-05-13 21:05:58 +00:00
Luca Bacci
fc533c6598 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
2022-05-13 20:35:49 +00:00