Asier Sarasua Garmendia [Fri, 8 Oct 2021 17:44:18 +0000 (17:44 +0000)]
Update Basque translation
Dušan Kazik [Mon, 4 Oct 2021 13:20:03 +0000 (13:20 +0000)]
Update Slovak translation
Asier Sarasua Garmendia [Sun, 3 Oct 2021 07:12:30 +0000 (07:12 +0000)]
Update Basque translation
Daniel Șerbănescu [Thu, 30 Sep 2021 12:40:26 +0000 (12:40 +0000)]
Update Romanian translation
Sveinn í Felli [Wed, 29 Sep 2021 12:04:41 +0000 (12:04 +0000)]
Update Icelandic translation
Kukuh Syafaat [Wed, 29 Sep 2021 05:57:08 +0000 (05:57 +0000)]
Update Indonesian translation
Matthias Clasen [Wed, 29 Sep 2021 00:36:34 +0000 (00:36 +0000)]
Merge branch 'cherry-pick-
d61c71c3' into 'gtk-4-4'
macos: Actually set the vfuncs
See merge request GNOME/gtk!4007
Benjamin Otte [Fri, 24 Sep 2021 20:11:22 +0000 (22:11 +0200)]
macos: Actually set the vfuncs
(cherry picked from commit
d61c71c3780e06cdc13599aa3a334f3124bab276)
Yaron Shahrabani [Tue, 28 Sep 2021 20:27:52 +0000 (20:27 +0000)]
Update Hebrew translation
Daniel Mustieles [Tue, 28 Sep 2021 10:31:04 +0000 (12:31 +0200)]
Updated Spanish translation
Hugo Carvalho [Sun, 26 Sep 2021 19:58:52 +0000 (19:58 +0000)]
Update Portuguese translation
Goran Vidović [Sun, 26 Sep 2021 16:40:30 +0000 (16:40 +0000)]
Update Croatian translation
Goran Vidović [Sun, 26 Sep 2021 16:38:22 +0000 (16:38 +0000)]
Update Croatian translation
Piotr Drąg [Sun, 26 Sep 2021 15:22:36 +0000 (17:22 +0200)]
Update Polish translation
Aurimas Černius [Sun, 26 Sep 2021 14:22:50 +0000 (17:22 +0300)]
Updated Lithuanian translation
Emin Tufan Çetin [Sun, 26 Sep 2021 12:21:46 +0000 (12:21 +0000)]
Update Turkish translation
Matej Urbančič [Sun, 26 Sep 2021 11:03:51 +0000 (11:03 +0000)]
Update Slovenian translation
Мирослав Николић [Sun, 26 Sep 2021 05:51:31 +0000 (05:51 +0000)]
Update Serbian translation
Мирослав Николић [Sun, 26 Sep 2021 05:33:02 +0000 (05:33 +0000)]
Update Serbian translation
Rafael Fontenelle [Sat, 25 Sep 2021 13:57:40 +0000 (13:57 +0000)]
Update Brazilian Portuguese translation
Danial Behzadi [Sat, 25 Sep 2021 10:21:18 +0000 (10:21 +0000)]
Update Persian translation
Charles Monzat [Sat, 25 Sep 2021 07:04:51 +0000 (07:04 +0000)]
Update French translation
Christian Hergert [Thu, 23 Sep 2021 02:41:06 +0000 (19:41 -0700)]
textview: improve undo grouping when overwriting
We want to group in more than one undo group when removing a selection
and replacing it with a new character or characters, unless we're
replacing a single character. In that case, the natural thing is to treat
it as an atomic change.
Christian Hergert [Thu, 23 Sep 2021 00:08:02 +0000 (17:08 -0700)]
texthistory: add barriers after final grouping
We don't want to allow new items to be grouped into a previous action
group after the end_user_action() is called. This ensures that we add a
barrier action in those conditions.
Fixes #4276
Fran Dieguez [Fri, 24 Sep 2021 22:37:55 +0000 (22:37 +0000)]
Update Galician translation
Yuri Chornoivan [Fri, 24 Sep 2021 17:06:11 +0000 (17:06 +0000)]
Update Ukrainian translation
Anders Jonsson [Fri, 24 Sep 2021 14:40:07 +0000 (14:40 +0000)]
Update Swedish translation
Marek Černocký [Fri, 24 Sep 2021 13:23:33 +0000 (15:23 +0200)]
Updated Czech translation
Benjamin Otte [Fri, 24 Sep 2021 12:22:19 +0000 (12:22 +0000)]
Merge branch 'wip/otte/for-4-4' into 'gtk-4-4'
GL: improve intiialization
See merge request GNOME/gtk!3993
Benjamin Otte [Thu, 23 Sep 2021 23:47:03 +0000 (01:47 +0200)]
gdk: Make sure only one GL backend is used
Creative people managed to create an X11 display and a Wayland display
at once, thereby getting EGL and GLX involved in a fight to the death
over the ownership of the glFoo() symbolspace.
A way to force such a fight with available tools here is (on Wayland)
running something like:
GTK_INSPECTOR_DISPLAY=:1 GTK_DEBUG=interactive gtk4-demo
Related: xdg-desktop-portal-gnome#5
Benjamin Otte [Tue, 24 Aug 2021 19:27:49 +0000 (21:27 +0200)]
wayland: Better error on eglGetDisplay() failure
Goals:
1. Provide as much information as possible in the error message, so
users can try to fix their system themselves.
2. Try to formulate the error message in a way that explains that this
is not something GTK can fix, but a lower layer problem.
Related: #4193
Emin Tufan Çetin [Sun, 19 Sep 2021 17:15:24 +0000 (17:15 +0000)]
Update Turkish translation
Matthias Clasen [Fri, 17 Sep 2021 11:21:36 +0000 (11:21 +0000)]
Merge branch 'fix-win32-shader-check' into 'gtk-4-4'
gdkglcontext-win32-wgl.c: Fix Cairo fallback check
See merge request GNOME/gtk!3964
Chun-wei Fan [Fri, 17 Sep 2021 09:08:23 +0000 (17:08 +0800)]
gdkdisplay-win32.c: Don't retry WGL initialization
On Windows, GLES is not that widely available unless one installs wrapper
libraries such as libANGLE, so GLES/EGL support on Windows is used more like
a fallback mode if Desktop OpenGL (WGL) support is inadequate on the system.
Hence, unless one forces WGL or EGL, we will first try to initialize WGL, and
then try to initialize GLES if enabled and if WGL initialization failed, and
then just return whatever the last result we can obtain from these
initialization attempts, since unlike X11 EGL contexts, we do not have
separate modes for WGL except for legacy and non-legacy contexts.
Chun-wei Fan [Fri, 17 Sep 2021 03:09:23 +0000 (11:09 +0800)]
gdkglcontext-win32-wgl.c: Fix Cairo fallback check
We were setting the WGL pixel format in GdkWin32Display too early, so the code
does not bail out correctly when we retry establishing the WGL context.
Fix this by pushing back setting the WGL pixel format only after it passes the
shader availability check.
Should fix issue #4257.
Boyuan Yang [Wed, 15 Sep 2021 18:56:14 +0000 (18:56 +0000)]
Update Chinese (China) translation
Dz Chen [Wed, 15 Sep 2021 15:37:48 +0000 (15:37 +0000)]
Update Chinese (China) translation
Daniel Mustieles [Wed, 15 Sep 2021 06:43:45 +0000 (08:43 +0200)]
Updated Spanish translation
Daniel Mustieles [Wed, 15 Sep 2021 06:29:59 +0000 (08:29 +0200)]
Updated Spanish translation
Alan Mortensen [Mon, 13 Sep 2021 18:48:55 +0000 (20:48 +0200)]
Updated Danish translation of gtk-properties
Alan Mortensen [Mon, 13 Sep 2021 18:48:52 +0000 (20:48 +0200)]
Updated Danish translation
Philipp Kiemle [Sun, 12 Sep 2021 21:48:01 +0000 (21:48 +0000)]
Update German translation
Philipp Kiemle [Sun, 12 Sep 2021 16:27:27 +0000 (16:27 +0000)]
Update German translation
Balázs Meskó [Sun, 12 Sep 2021 05:57:57 +0000 (05:57 +0000)]
Update Hungarian translation
Balázs Meskó [Sat, 11 Sep 2021 23:38:52 +0000 (23:38 +0000)]
Update Hungarian translation
Guillaume Bernard [Sat, 11 Sep 2021 09:41:11 +0000 (09:41 +0000)]
Update French translation
Guillaume Bernard [Sat, 11 Sep 2021 09:36:29 +0000 (09:36 +0000)]
Update French translation
Goran Vidović [Fri, 10 Sep 2021 15:58:48 +0000 (15:58 +0000)]
Update Croatian translation
Goran Vidović [Fri, 10 Sep 2021 15:56:27 +0000 (15:56 +0000)]
Update Croatian translation
Goran Vidović [Fri, 10 Sep 2021 15:43:42 +0000 (15:43 +0000)]
Update Croatian translation
Emin Tufan Çetin [Fri, 10 Sep 2021 06:29:45 +0000 (06:29 +0000)]
Update Turkish translation
Matej Urbančič [Tue, 7 Sep 2021 18:25:03 +0000 (18:25 +0000)]
Update Slovenian translation
Matej Urbančič [Tue, 7 Sep 2021 18:20:01 +0000 (18:20 +0000)]
Update Slovenian translation
Danial Behzadi [Mon, 6 Sep 2021 13:18:07 +0000 (13:18 +0000)]
Update Persian translation
Daniel Șerbănescu [Sun, 5 Sep 2021 18:43:29 +0000 (18:43 +0000)]
Update Romanian translation
Daniel Șerbănescu [Sun, 5 Sep 2021 18:34:20 +0000 (18:34 +0000)]
Update Romanian translation
Anders Jonsson [Sun, 5 Sep 2021 14:11:36 +0000 (14:11 +0000)]
Update Swedish translation
Asier Sarasua Garmendia [Sat, 4 Sep 2021 20:54:26 +0000 (20:54 +0000)]
Update Basque translation
Asier Sarasua Garmendia [Sat, 4 Sep 2021 20:50:17 +0000 (20:50 +0000)]
Update Basque translation
Changwoo Ryu [Sat, 4 Sep 2021 14:55:06 +0000 (14:55 +0000)]
Update Korean translation
Changwoo Ryu [Sat, 4 Sep 2021 08:59:22 +0000 (08:59 +0000)]
Update Korean translation
Anders Jonsson [Fri, 3 Sep 2021 22:59:22 +0000 (22:59 +0000)]
Update Swedish translation
Matthias Clasen [Fri, 3 Sep 2021 00:55:54 +0000 (00:55 +0000)]
Merge branch 'backports-for-4-4' into 'gtk-4-4'
windowhandle: Quiet a compiler warning
See merge request GNOME/gtk!3915
Matthias Clasen [Thu, 2 Sep 2021 23:02:54 +0000 (19:02 -0400)]
Fix build against pango main
Handle (and ignore) new Pango attributes.
Xavier Claessens [Wed, 1 Sep 2021 12:08:43 +0000 (08:08 -0400)]
media: Check for gstreamer verion instead of using cc.links()
This fix error when gstgl_dep comes from a subproject because in that
case it cannot be used in compiler checks.
Matthias Clasen [Tue, 31 Aug 2021 12:41:45 +0000 (08:41 -0400)]
editable: Clarify the docs
Make it clear that your class must have all the editable properties
already before you call the (confusingly named) function
gtk_editable_install_properties.
Matthias Clasen [Mon, 30 Aug 2021 15:01:55 +0000 (11:01 -0400)]
gdk: Make GDK_DEBUG=default-settings unconditional
Our tests use this settings, so we should respect it
in non-debug builds as well.
Simon McVittie [Mon, 30 Aug 2021 09:54:43 +0000 (10:54 +0100)]
compose: Update sequences from libX11 1.7.2
This adds support for sequences like <Compose>,G,u -> capital G with
breve. Previously, only a capital U was accepted for E, G, I and O
(but a lower-case u was accepted for A and U for some reason).
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Mon, 30 Aug 2021 09:48:49 +0000 (10:48 +0100)]
compose: Document how to get compose-parse input from libX11 source
Signed-off-by: Simon McVittie <smcv@debian.org>
Simon McVittie [Mon, 30 Aug 2021 09:13:33 +0000 (10:13 +0100)]
compose: Generate endian-dependent compact Compose data
The GtkComposeTable cache is always in big-endian format and is
byteswapped on load for the more common little-endian CPUs, but
init_builtin_table() in GtkIMContextSimple can't byteswap the built-in
data without copying it, which is undesirable. Pregenerate both big-
and little-endian compose data, and compile the correct flavour into
each build of GTK. This fixes failure of the composetable test when
building for a big-endian architecture such as s390x and (traditional,
big-endian) powerpc.
Resolves: https://gitlab.gnome.org/GNOME/gtk/-/issues/4217
Signed-off-by: Simon McVittie <smcv@debian.org>
Benjamin Otte [Mon, 23 Aug 2021 05:06:25 +0000 (07:06 +0200)]
stylecontext: Remove unneeded headers
Benjamin Otte [Mon, 23 Aug 2021 03:55:56 +0000 (05:55 +0200)]
fontbutton: Destroy dialog in unrealize()
This way, we can be sure it's always using the right display.
We can also be sure that it doesn't leak.
Benjamin Otte [Mon, 23 Aug 2021 03:55:32 +0000 (05:55 +0200)]
fontbutton: Make sure the window is on the same display
We don't want the font buttons created by the inspector to run on the
default display.
Benjamin Otte [Sun, 29 Aug 2021 00:47:34 +0000 (02:47 +0200)]
build: Check that introspection is enabled for docs build
Benjamin Otte [Sun, 29 Aug 2021 02:27:58 +0000 (04:27 +0200)]
docs: Fix vfunc references
vfunc references should just use the object name, not the
class/interface/iface name.
Matthias Clasen [Sat, 28 Aug 2021 19:42:30 +0000 (15:42 -0400)]
ngl: Avoid a coordinate overflow
This was showing up as big text selections going
missing sporadically.
Fixes: #4214
Ian Douglas Scott [Sat, 28 Aug 2021 00:57:01 +0000 (17:57 -0700)]
x11: Fix handling of `RRScreenChangeNotify`/`RRNotify` events
It seems these are sent with `xwindow` set to the root window, so this
was failing to find a surface and get the screen from that.
I'm not sure if there's a reason not to get the screen this way
elsewhere in the function, but it seems this should be correct.
This fixes the behavior of `gdk_x11_display_get_monitors()`, which
wasn't correctly changing when monitors were added or removed. For
instance, this python code was always showing the same number of
monitors when one was turned off and on, but updates correctly with this
change applied:
```python
import gi
gi.require_version("GLib", "2.0")
gi.require_version("Gdk", "4.0")
gi.require_version("Gtk", "4.0")
from gi.repository import GLib, Gdk, Gtk
def f():
print(len(Gdk.Display.get_default().get_monitors()))
return True
GLib.timeout_add_seconds(1, f)
GLib.MainLoop().run()
```
Florian Müllner [Fri, 27 Aug 2021 22:10:00 +0000 (00:10 +0200)]
window: Prefer menu bars when handling F10
Focusing the first widget in the titlebar is a good fallback,
but a "real" menubar or :primary menu button should take
precedence.
Matthias Clasen [Fri, 27 Aug 2021 00:21:23 +0000 (20:21 -0400)]
textview: Apply font features from css
We were forgetting to propagate these values from
CSS to the default attributes. Share the code for
getting these values out of a GtkCssStyle.
Matthias Clasen [Thu, 26 Aug 2021 22:45:38 +0000 (18:45 -0400)]
textview: Apply line decoration from css
We were forgetting to propagate these values from
CSS to the default attributes.
Matthias Clasen [Thu, 26 Aug 2021 19:01:23 +0000 (15:01 -0400)]
textview: Don't forget to collect css letterspacing
There are more properties missing, this is just the start.
Fixes: #4207
Matthias Clasen [Sun, 22 Aug 2021 18:17:36 +0000 (14:17 -0400)]
windowhandle: Quiet a compiler warning
gesture was left uninitialized in the default case.
Jiri Grönroos [Thu, 2 Sep 2021 16:06:39 +0000 (16:06 +0000)]
Update Finnish translation
Aurimas Černius [Thu, 2 Sep 2021 10:49:47 +0000 (13:49 +0300)]
Updated Lithuanian translation
Danial Behzadi [Wed, 1 Sep 2021 09:43:59 +0000 (09:43 +0000)]
Update Persian translation
Daniel Mustieles [Wed, 1 Sep 2021 09:02:05 +0000 (11:02 +0200)]
Updated Spanish translation
Baurzhan Muftakhidinov [Sun, 29 Aug 2021 17:11:04 +0000 (17:11 +0000)]
Update Kazakh translation
Baurzhan Muftakhidinov [Sun, 29 Aug 2021 14:42:01 +0000 (14:42 +0000)]
Update Kazakh translation
Enrico Nicoletto [Sat, 28 Aug 2021 01:00:26 +0000 (01:00 +0000)]
Update Brazilian Portuguese translation
Enrico Nicoletto [Sat, 28 Aug 2021 00:44:25 +0000 (00:44 +0000)]
Update Brazilian Portuguese translation
Andika Triwidada [Thu, 26 Aug 2021 14:45:38 +0000 (14:45 +0000)]
Update Indonesian translation
Andika Triwidada [Thu, 26 Aug 2021 14:40:03 +0000 (14:40 +0000)]
Update Indonesian translation
Hugo Carvalho [Thu, 26 Aug 2021 14:29:50 +0000 (14:29 +0000)]
Update Portuguese translation
Hugo Carvalho [Thu, 26 Aug 2021 14:12:47 +0000 (14:12 +0000)]
Update Portuguese translation
Andika Triwidada [Thu, 26 Aug 2021 13:38:46 +0000 (13:38 +0000)]
Update Indonesian translation
Marek Černocký [Thu, 26 Aug 2021 12:48:55 +0000 (14:48 +0200)]
Updated Czech translation
Marek Černocký [Thu, 26 Aug 2021 12:35:37 +0000 (14:35 +0200)]
Updated Czech translation
Jordi Mas [Thu, 26 Aug 2021 11:10:32 +0000 (13:10 +0200)]
Update Catalan translation
Jordi Mas [Wed, 25 Aug 2021 13:17:27 +0000 (15:17 +0200)]
Update Catalan translation
Emmanuele Bassi [Wed, 25 Aug 2021 16:22:28 +0000 (16:22 +0000)]
Merge branch '4195-backport-gtk-4-4' into 'gtk-4-4'
gdkmacoseventsource: Include "gdk-private.h" (Backport to gtk-4-4)
See merge request GNOME/gtk!3884