Jonas Ådahl
b2a2bf819d
wayland/launch-context: Use dispatch helper
...
Otherwise we risk a busy loop if e.g. the pipe broke.
2023-02-11 23:14:53 +01:00
Jonas Ådahl
dd9433b50e
wayland: Add event queue dispatch helper
...
Dispatch failing should always fatal; use a helper to centralize the
error handling everywhere.
2023-02-11 23:13:39 +01:00
Matthias Clasen
04c3af537c
Merge branch 'wip/handle-more-wl-dispatch-failures' into 'main'
...
wayland: Handle dispatch failing in a couple of more places
See merge request GNOME/gtk!5495
2023-02-11 19:56:45 +00:00
Matthias Clasen
52e18eb7fb
Merge branch 'matthiasc/for-main' into 'main'
...
gdkevents.c: Fix up folding
See merge request GNOME/gtk!5496
2023-02-11 14:18:42 +00:00
Matthias Clasen
c0b5b4b8c1
gskrendernodeimpl.c: Use folding
...
Instead of homegrown markup.
2023-02-11 09:00:07 -05:00
Matthias Clasen
d497e721c9
gdkevents.c: Fix up folding
...
The modeline was lost at some point,
and superfluous spacing inserted.
2023-02-11 08:59:51 -05:00
Jonas Ådahl
a7fb9a6865
wayland: Handle dispatch failing in a couple of more places
...
Without doing this, we'll end up with risking GTK processes sitting
eating 100% CPU instead of just exit(1):ing.
2023-02-11 11:42:21 +01:00
Marek Kašík
2365d9be18
Merge branch 'cpdb' into 'main'
...
New CPDB print backend for GTK Print Dialog
See merge request GNOME/gtk!4930
2023-02-10 23:10:20 +00:00
tinytrebuchet
41b60bbd6c
New CPDB print backend for GTK Print Dialog
...
The Common Print Dialog Backends (CPDB) concept has GUI-toolkit-independent
backends for each print technology (CUPS, Print to File, cloud printing
services, ...) and each print dialog (GTK, Qt, Chromium, ...) is supposed
to use this backend, so that changes in print technologies can be centrally
and quickly covered by changing the backends and everything new gets available
in all print dialogs.
This commit provides a GTK print dialog backend to add support for the CPDB
concept. It communicates with all installed CPDB backends and so gives support
for all these print technologies to the GTK print dialog.
To make use of CPDB the GTK print dialog is supposed to be installed with this
backend and the 'Print To File' backend, and not any others to prevent printer
duplication.
2023-02-11 01:13:48 +05:30
Emin Tufan Çetin
f0d3d011ea
Update Turkish translation
2023-02-10 05:57:42 +00:00
Matthias Clasen
48e141a42c
Merge branch 'avoid-criticals-tracker' into 'main'
...
searchengine: Avoid criticals when tracker init failed
See merge request GNOME/gtk!5489
2023-02-09 19:43:31 +00:00
Gaël Bonithon
6215b38e64
searchengine: Emit a simple warning when tracker init failed
...
Failure is allowed by nature of GInitable, and this avoids unnecessary
crashing of programs running with G_DEBUG=fatal-criticals.
2023-02-09 19:46:30 +01:00
Gaël Bonithon
41490f9624
searchengine: Add missing sanity check
2023-02-09 19:25:04 +01:00
Vasil Pupkin
45e6e9a7d1
Update Belarusian translation
2023-02-08 21:48:28 +00:00
Matthias Clasen
9991d6834d
Merge branch 'stop-testing-pixbuf-formats' into 'main'
...
Drop pixbuf format tests
See merge request GNOME/gtk!5486
2023-02-07 18:48:39 +00:00
Matthias Clasen
ddf8c4dd1a
Drop pixbuf format tests
...
We have our own loaders for the formats we
always want to support, so we don't need to
check for what gdk-pixbuf supports.
2023-02-07 07:54:22 -05:00
Matthias Clasen
970072ef65
Merge branch 'file-dialog-fixes' into 'main'
...
filedialog: Robustness fixes
See merge request GNOME/gtk!5485
2023-02-07 12:42:09 +00:00
Matthias Clasen
f8321029fc
filedialog: Robustness fixes
...
This code was not working well.
2023-02-06 23:16:17 +01:00
Matthias Clasen
f83cab01ec
filechooserportal: Fix an oversight
2023-02-06 20:28:35 +01:00
Sabri Ünal
8a74770ec1
Update Turkish translation
2023-02-06 09:19:35 +00:00
Matthias Clasen
39c503c108
Merge branch 'matthiasc/for-main' into 'main'
...
CONTRIBUTING: Updates
See merge request GNOME/gtk!5483
2023-02-06 06:53:14 +00:00
Matthias Clasen
fc32b8242b
CONTRIBUTING: Updates
...
Mention matrix instead of irc, and ask
for display/graphics as essential info
in issues.
2023-02-06 07:35:11 +01:00
Piotr Drąg
7c2b4eb0e7
Update Polish translation
2023-02-05 15:22:00 +01:00
Matthias Clasen
d8b0aea6b7
Merge branch 'rename-openuri-portal' into 'main'
...
Use a Gtk prefix for dbus-generated code
Closes #5572
See merge request GNOME/gtk!5482
2023-02-05 08:27:09 +00:00
Matthias Clasen
190d8ef8ff
Use a Gtk prefix for dbus-generated code
...
Copying this file from GIO without renaming it
was not the greatest idea in retrospect.
Fixes : #5572
2023-02-05 09:09:22 +01:00
Cheng-Chia Tseng
15e9194b59
Update Chinese (Taiwan) translation
2023-02-04 16:28:15 +00:00
Matthias Clasen
0257da6cc0
Post-release version bump
2023-02-04 17:01:51 +01:00
Matthias Clasen
907f878c9f
make-release: Explicily enable introspection
2023-02-04 16:31:55 +01:00
Matthias Clasen
b2071cdeb5
4.9.3
2023-02-04 16:16:54 +01:00
Matthias Clasen
1a292bf8ab
Merge branch 'wip/carlosg/scroll-fix' into 'main'
...
gdk/x11: Reset all scroll valuators on enter
Closes #4160
See merge request GNOME/gtk!5479
2023-02-04 13:14:02 +00:00
Matthias Clasen
7e07d63a6c
Merge branch 'ebassi/stack-at-context' into 'main'
...
a11y: Clear the GtkATContext in a single step
See merge request GNOME/gtk!5477
2023-02-04 12:37:20 +00:00
Carlos Garnacho
824e983372
gdk/x11: Reset all scroll valuators on enter
...
We no longer need to make much distinction between multiple logical
devices, plus it breaks esp. with the Xwayland input device distribution.
Just iterate across all devices and reset their scroll valuators.
Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4160
2023-02-04 13:13:19 +01:00
Matthias Clasen
9e5417c6c7
Merge branch 'wip/carlosg/wayland-device-refactor' into 'main'
...
Refactor some wayland code
See merge request GNOME/gtk!5473
2023-02-04 07:48:33 +00:00
Matthias Clasen
e94dae8536
Merge branch 'rgba-free-checked' into 'main'
...
gtktextview: Avoid calling gdk_rgba_free for NULL values
See merge request GNOME/gtk!5474
2023-02-04 07:48:24 +00:00
Matthias Clasen
0dd163254d
Merge branch 'ebassi/accessible-editable' into 'main'
...
a11y: Simplify GtkAccessible implementation for editables
See merge request GNOME/gtk!5475
2023-02-04 07:47:36 +00:00
Emmanuele Bassi
341ecab41a
a11y: Clear the GtkATContext in a single step
...
There's no need to unrealize the GtkATContext inside dispose() and then
drop its reference inside finalize().
2023-02-03 17:11:22 +01:00
Marco Trevisan (Treviño)
9eac7ed8b9
gtktextview: Avoid calling gdk_rgba_free for NULL values
...
Related to glib#2908
2023-02-03 16:41:56 +01:00
Carlos Garnacho
4005eb8fe8
gdk/wayland: Rename gdkkeys-wayland.c file
...
Since it contains the GdkKeymap implementation, give it a more
obvious name.
2023-02-03 16:15:34 +01:00
Carlos Garnacho
1d4ceac2c5
gdk/wayland: "Split" GdkWaylandDevice implementation out
...
This is a bit spaghetti right now, since seats and devices were
heavily entangled there are a number of crossed private API calls that
should ideally not be there.
Let this be a first step, so more bits may move from the seat
implementation to devices.
2023-02-03 16:15:34 +01:00
Carlos Garnacho
a5246a6856
gdk/wayland: Split GdkDevicePad wayland implementation
...
This now lives in its own C file.
2023-02-03 16:08:07 +01:00
Lukáš Tyrychtr
11d235d165
a11y: Simplify GtkAccessible implementation for editables
...
This commit implements the idea brought up in #5032 , and provides a
simple function for GtkEditable implementations using a delegate object.
The accessible state is proxied from the outher GtkEditable to the
delegate.
2023-02-03 16:08:06 +01:00
Carlos Garnacho
af00beb772
gdk/wayland: Move struct declarations to header
...
These will be used from outside the main file, after we are
done splitting it.
2023-02-03 16:00:01 +01:00
Carlos Garnacho
e5cd9354d5
gdk/wayland: Move GdkWaylandDevice data to private struct
...
Before splitting this object, avoid leaking details in its struct.
2023-02-03 15:58:11 +01:00
Carlos Garnacho
6426ab7466
gdk/wayland: Rename gdkdevice-wayland.c to gdkseat-wayland.c
...
This file, event though a clump of input-y objects, has more of
seats than anything else. Rename it so that we can start splitting
these objects out of it.
2023-02-03 15:58:11 +01:00
Matthias Clasen
b710df6f45
Merge branch 'file-chooser-context-menu' into 'main'
...
filechooser: Fix context menus
Closes #5554
See merge request GNOME/gtk!5472
2023-02-03 13:39:21 +00:00
Matthias Clasen
50998b0ee9
Merge branch 'drag-icon-robustness' into 'main'
...
dragicon: Handle files without info
See merge request GNOME/gtk!5460
2023-02-03 13:19:26 +00:00
Matthias Clasen
92c2c68c7b
filechooser: Fix context menus
...
We only want to show the file list context menu
when we are over the file list.
Fixes : #5554
2023-02-03 14:17:34 +01:00
Matthias Clasen
c2f5b64b5d
Merge branch 'ebassi/public-accessible' into 'main'
...
Make GtkAccessible public
Closes #4240
See merge request GNOME/gtk!5470
2023-02-03 11:31:06 +00:00
Matthias Clasen
460bf6d8b9
inspector: Show if accessibles aren't realized
...
This prevents confusion and makes it clear
what is going on.
2023-02-03 11:49:17 +01:00
Emmanuele Bassi
a0dff87c86
a11y: Documentation and code style fixes
2023-02-03 11:49:17 +01:00