Matthias Clasen
a3d63b3579
label: Report errors
...
Print a warning when launching a handler fails.
2024-04-26 17:25:27 -04:00
Matthias Clasen
57c12a8661
linkbutton: Report errors
...
Print a warning when launching a handler fails.
Fixes : #6446
2024-04-26 17:25:13 -04:00
Matthias Clasen
f1ccb9b81a
Merge branch 'vulkan-gl-texture-warning' into 'main'
...
vulkan: Add a warning about GL textures
See merge request GNOME/gtk!7184
2024-04-26 20:16:27 +00:00
Matthias Clasen
2711cb8dcd
Merge branch 'wip/xdg-activation-token' into 'main'
...
Improve xdg-activation-token handling for non-dbus activation
See merge request GNOME/gtk!7118
2024-04-26 18:32:08 +00:00
Matthias Clasen
c79925bd4a
Merge branch 'listview-oversights' into 'main'
...
listview: Fix some oversights
See merge request GNOME/gtk!7187
2024-04-26 18:27:49 +00:00
Matthias Clasen
05d5860dc0
listview: Fix some oversights
...
The list factory widget was notifying the wrong properties.
2024-04-26 11:19:59 -04:00
Matthias Clasen
a1fdf06d80
gsk: Add a warning for inefficient texture import
...
With GSK_DEBUG=fallback, warn if a non-memory texture has to be
downloaded for importing it into Vulkan or GL.
2024-04-26 11:04:47 -04:00
Matthias Clasen
36d7ca058e
Cosmetics
2024-04-26 10:59:21 -04:00
Matthias Clasen
2e08db91ca
Merge branch 'offload-snapshot-no-child' into 'main'
...
Don't crash if snapshotting a GtkGraphicsOffload without child
See merge request GNOME/gtk!7183
2024-04-25 20:46:31 +00:00
Sebastian Dröge
2c9b47ff3c
Don't crash if snapshotting a GtkGraphicsOffload without child
2024-04-25 22:46:35 +03:00
Matthias Clasen
62ad1a61dc
Merge branch 'matthiasc/for-main' into 'main'
...
offload: Make logging more compact
See merge request GNOME/gtk!7181
2024-04-25 03:01:44 +00:00
Matthias Clasen
3fc9de7539
offload: Make logging more compact
...
Use a format of
[XXX] SYMBOL DETAILS
where SYMBOL indicates the offloading status:
🗙 - no offload
▲ - offload above, with background
△ - offload above, no background
▼ - offload below, with background
▽ - offload below, no background
2024-04-24 22:01:56 -04:00
Matthias Clasen
1c9a55d185
Merge branch 'vulkan-msvc' into 'main'
...
gskvulkandescriptors.c: Don't return value from void-rettype function
See merge request GNOME/gtk!7175
2024-04-25 01:37:49 +00:00
Matthias Clasen
492940205e
Merge branch 'amolenaar/macos-fix-nsapp-shortcuts' into 'main'
...
macos: fix in-app native shortcuts (regression)
See merge request GNOME/gtk!7178
2024-04-25 01:35:59 +00:00
Arjan Molenaar
985e4906c8
macos: Add some docs for the different NSEvent getters
2024-04-24 23:49:37 +02:00
Benjamin Otte
e9dcf8167c
Merge branch 'gbsneto/vulkan-dmabuf-general' into 'main'
...
vulkan/image: Use GENERAL for initial layout of DMA-BUF textures
See merge request GNOME/gtk!7179
2024-04-24 20:55:51 +00:00
Georges Basile Stavracas Neto
3aa6c27c26
vulkan/image: Use GENERAL for initial layout of DMA-BUF textures
...
The VK_IMAGE_LAYOUT_UNDEFINED layout means that the data hold by the
texture can be discarded, and we don't want to discard it. Because the
Vulkan spec is unclear (see [1] for a discussion), err on the side of
caution and use VK_IMAGE_LAYOUT_GENERAL.
Fixes import failures with WebKit.
[1] https://github.com/ValveSoftware/gamescope/issues/356
2024-04-24 17:21:51 -03:00
Emmanuele Bassi
f537a55b71
Coding style fixes
2024-04-24 11:57:00 +01:00
Emmanuele Bassi
7075e6be89
Merge branch 'gst-backend-msvc' into 'main'
...
GStreamer media backend: Fix building on Visual Studio
See merge request GNOME/gtk!7174
2024-04-24 10:04:11 +00:00
Chun-wei Fan
016354b6dd
gskvulkandescriptors.c: Don't return value from void-rettype function
...
Fixes builds on Visual Studio with Vulkan enabled, as later GLib releases
consider this as an error on Visual Studio builds.
2024-04-24 16:19:43 +08:00
Chun-wei Fan
1dfc6d65df
GStreamer media backend: Fix building and running on Windows
...
Visual Studio (and possibly other non-GCC compilers) do not like
uses of #-preprocessor directives in macro usage (warning C5101: use of
preprocessor directive in function-like macro argument list is undefined
behavior is also shown), so fix the build by defining another macro
accordingly.
2024-04-24 16:15:32 +08:00
Matthias Clasen
b7d0295481
Merge branch 'macos-default-settings' into 'main'
...
macos: Respect the default-settings debug key
See merge request GNOME/gtk!7173
2024-04-23 16:38:00 +00:00
Matthias Clasen
a2854af325
macos: Respect the default-settings debug key
...
This makes our behavior more consistent across platforms.
The suggestion came up in discussion in #6545 .
2024-04-23 07:52:25 -04:00
Changwoo Ryu
320496b039
Update Korean translation
...
(cherry picked from commit e1dafd7a5d
)
2024-04-23 11:33:48 +00:00
Lukáš Tyrychtr
b0450d4b1b
Do not perform a changed help-text check twice
2024-04-23 11:40:51 +02:00
Lukáš Tyrychtr
91ff8bf336
The new member needs a separate docblock
2024-04-23 11:40:51 +02:00
Emmanuele Bassi
7b145f72dc
Apply review feedback fixes
2024-04-23 11:40:51 +02:00
Lukáš Tyrychtr
0dcc21b605
4.14 did not cut it
2024-04-23 11:40:51 +02:00
Lukáš Tyrychtr
bd43a9e868
Document the new property
2024-04-23 11:40:51 +02:00
Lukáš Tyrychtr
9bf23d80a1
Test the new property and fix oversights found by the test
2024-04-23 11:40:51 +02:00
Lukáš Tyrychtr
38fd66dc04
a11y: Support setting the accessible help text
...
This adds support for setting a string used to describe the operation of a control,
if there's something special about it.
This is mapped to the HelpText property in the AT-SPI2 backend,
and has equivalent in others.
2024-04-23 11:40:51 +02:00
Arjan Molenaar
f004f14b89
macos: fix in-app native shortcuts (again)
...
Popping an event of the queue in the IMContext handler
prevents it from being forwarded to the NSApp, in case the
(key) event was not handled by IMContext.
So I reverted to a mix of the original (4.13) and new (4.14.1) behavior
for fetching events: NSEvent lookup for IMContext uses loose matching,
so it can work with rewritten events. When sending events to NSApp, only
we're checking for an exact match.
Now in-app keyboard shortcuts (e.g. Ctrl-F2) work from within text
fields again.
2024-04-23 08:57:09 +02:00
Matthias Clasen
8f15f6959c
Merge branch 'vulkan-profiler-mark' into 'main'
...
gsk: Add a profiler mark for pipeline creation
See merge request GNOME/gtk!7172
2024-04-23 01:19:20 +00:00
Matthias Clasen
f26efd9adf
gsk: Add a profiler mark for pipeline creation
...
This is the Vulkan equivalent of shader compilation, it could be
expensive, so lets add a mark around it.
2024-04-22 20:47:25 -04:00
Matthias Clasen
3f342d75b2
Merge branch 'wip/alice/root-test' into 'main'
...
testsuite: Add css/style/root test
See merge request GNOME/gtk!7171
2024-04-22 20:26:46 +00:00
Alice Mikhaylenko
3ab189404e
testsuite: Add css/style/root test
...
Should have been a part of 76421847a5
but I forgot to commit it.
2024-04-22 21:34:50 +04:00
Matthias Clasen
48fc8d6606
Merge branch 'wip/alice/root' into 'main'
...
cssselector: Support :root
See merge request GNOME/gtk!7170
2024-04-22 16:26:18 +00:00
Matthias Clasen
2e0f411de9
Merge branch 'amolenaar/macos-fix-delayed-rendering' into 'main'
...
macos: Avoid repeatedly sending events back to macOS
See merge request GNOME/gtk!7158
2024-04-22 16:25:57 +00:00
Matthias Clasen
f08e36e225
Merge branch 'wip/alice/bugfix' into 'main'
...
csstokenizer: Fix an out of bounds when reading an ident followed by EOF
See merge request GNOME/gtk!7169
2024-04-22 16:25:17 +00:00
Matthias Clasen
9f358ac655
Merge branch 'matthiasc/for-main' into 'main'
...
roaring: Fix some ubsan warnings
See merge request GNOME/gtk!7165
2024-04-22 15:52:04 +00:00
Matthias Clasen
33d1349e53
Merge branch 'wip/alice/wayland-crash' into 'main'
...
wayland: Consistently handle enum type
Closes #6649
See merge request GNOME/gtk!7168
2024-04-22 15:25:31 +00:00
Sebastian Wick
6b2b6ceb74
gdk: Consider XDG_ACTIVATION_TOKEN for the startup notification id
...
We prefer it over the old DESKTOP_STARTUP_ID environment variable if we
have it and it is valid.
We have to stash and unset XDG_ACTIVATION_TOKEN in addition to
DESKTOP_STARTUP_ID now as well. This makes sure that we don't call any
library functions which might rely on some environment variables. This
way unsetting the environment variables is safe and we can then
afterwards validate and print warnings.
2024-04-22 17:13:21 +02:00
Alice Mikhaylenko
76421847a5
cssselector: Support :root
...
This will be useful for defining global variables.
2024-04-22 18:55:35 +04:00
Alice Mikhaylenko
840cd6e44c
csstokenizer: Fix an out of bounds when reading an ident followed by EOF
2024-04-22 17:59:29 +04:00
Arjan Molenaar
f81038e99a
macos: Avoid repeatedly sending events back to macOS
...
in the old approach it was possible that one NSEvent was
sent to the underlying NSApp multiple times. This resulted in
those events being forwarded to our (glib) event queue again.
The visual result was that no screen updates were done. Under the hood
the application was very busy with passing events around.
By popping the events off of our event queue, we make sure they're sent
only once.
2024-04-22 15:51:12 +02:00
Alice Mikhaylenko
007e7c68dc
wayland: Consistently handle enum type
...
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/6649
2024-04-22 17:18:11 +04:00
Emmanuele Bassi
e5e147ad53
Merge branch 'wip/alice/flatpak-fix' into 'main'
...
Fix flatpak build
See merge request GNOME/gtk!7166
2024-04-22 13:04:33 +00:00
Alice Mikhaylenko
58e00040e0
Fix flatpak build
...
Regressed in 70cd0e28ab
2024-04-22 16:18:58 +04:00
Matthias Clasen
5d1b8399fb
testsuite: Fix another ubsan warning
...
The expression here was a bit too dense for ubsan to figure out
what branches aren't hit.
2024-04-21 22:24:02 -04:00
Matthias Clasen
deec2b6c6c
lsan: Don't suppress glib and gio leaks
...
These are useful to see and not all that common.
2024-04-21 22:02:44 -04:00