Jürgen Benvenuti [Sun, 4 Sep 2022 13:57:48 +0000 (13:57 +0000)]
Update German translation
Boyuan Yang [Sat, 3 Sep 2022 21:16:03 +0000 (21:16 +0000)]
Update Chinese (China) translation
Rūdolfs Mazurs [Sat, 3 Sep 2022 13:04:54 +0000 (13:04 +0000)]
Update Latvian translation
Piotr Drąg [Sat, 3 Sep 2022 13:00:46 +0000 (15:00 +0200)]
Update Polish translation
Marek Černocký [Sat, 3 Sep 2022 07:50:00 +0000 (09:50 +0200)]
Updated Czech translation
Balázs Úr [Fri, 2 Sep 2022 21:29:08 +0000 (21:29 +0000)]
Update Hungarian translation
Jordi Mas [Fri, 2 Sep 2022 18:34:04 +0000 (20:34 +0200)]
Update Catalan translation
Carlos Garnacho [Fri, 2 Sep 2022 12:40:15 +0000 (12:40 +0000)]
Merge branch 'treeview-gesture-claim' into 'main'
treeview: Don't claim event sequence too early
Closes #3649, #3985, #4206, and #4669
See merge request GNOME/gtk!4883
Mat [Sun, 17 Jul 2022 03:32:20 +0000 (06:32 +0300)]
treeview: Don't claim event sequence too early
We want to claim the event sequence in the click gesture when appropriate,
such as activating a row or clicking an editable cell, but this is currently
done too early, preventing other gestures for drag-and-drop and rubberband
selection entirely.
Fixes #3649
Fixes #3985
Fixes #4669
Ask Hjorth Larsen [Fri, 2 Sep 2022 09:51:27 +0000 (11:51 +0200)]
Updated Danish translation
Emin Tufan Çetin [Thu, 1 Sep 2022 22:53:55 +0000 (22:53 +0000)]
Update Turkish translation
Alexander Shopov [Thu, 1 Sep 2022 21:11:55 +0000 (21:11 +0000)]
Update Bulgarian translation
Luca Bacci [Thu, 1 Sep 2022 20:39:15 +0000 (20:39 +0000)]
Merge branch 'implement-gtk-color-picker-for-windows' into 'main'
Implement GtkColorPicker for Windows
Closes #5136
See merge request GNOME/gtk!4983
Christian Hergert [Thu, 1 Sep 2022 19:16:10 +0000 (12:16 -0700)]
gdk: fix typo in frame clock docs
Luca Bacci [Fri, 26 Aug 2022 13:34:01 +0000 (15:34 +0200)]
Implement GtkColorPicker for Windows
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5136
Hugo Carvalho [Thu, 1 Sep 2022 17:18:51 +0000 (17:18 +0000)]
Update Portuguese translation
Nathan Follens [Thu, 1 Sep 2022 16:21:14 +0000 (16:21 +0000)]
Update Dutch translation
Matthias Clasen [Thu, 1 Sep 2022 15:00:42 +0000 (15:00 +0000)]
Merge branch 'gtkplacessidebar' into 'main'
gtkplacessidebar: Fix crash when remove or rename bookmark
See merge request GNOME/gtk!4625
Matthias Clasen [Thu, 1 Sep 2022 14:38:49 +0000 (14:38 +0000)]
Merge branch 'inscription_a11y' into 'main'
GtkInscription: Set the a11y label when updating the text property
See merge request GNOME/gtk!5000
Lukáš Tyrychtr [Thu, 1 Sep 2022 14:19:59 +0000 (16:19 +0200)]
GtkInscription: Set the a11y label when updating the text property
Anders Jonsson [Thu, 1 Sep 2022 13:15:36 +0000 (13:15 +0000)]
Update Swedish translation
Marek Černocký [Thu, 1 Sep 2022 12:41:37 +0000 (14:41 +0200)]
Updated Czech translation
Marek Černocký [Thu, 1 Sep 2022 12:34:27 +0000 (14:34 +0200)]
Updated Czech translation
Leônidas Araújo [Wed, 31 Aug 2022 14:53:19 +0000 (14:53 +0000)]
Update Brazilian Portuguese translation
Danial Behzadi [Wed, 31 Aug 2022 12:45:30 +0000 (12:45 +0000)]
Update Persian translation
Kukuh Syafaat [Wed, 31 Aug 2022 09:17:12 +0000 (09:17 +0000)]
Update Indonesian translation
Asier Sarasua Garmendia [Wed, 31 Aug 2022 07:04:00 +0000 (07:04 +0000)]
Update Basque translation
Matthias Clasen [Tue, 30 Aug 2022 19:14:44 +0000 (19:14 +0000)]
Merge branch 'gbsneto/cleanup-gsettings' into 'main'
gtk: Remove last-folder-uri from schema
See merge request GNOME/gtk!4998
Georges Basile Stavracas Neto [Tue, 30 Aug 2022 18:58:47 +0000 (15:58 -0300)]
gtk: Remove last-folder-uri from schema
It's unused since 2013, apparently.
Goran Vidović [Tue, 30 Aug 2022 11:56:21 +0000 (11:56 +0000)]
Update Croatian translation
Yuri Chornoivan [Mon, 29 Aug 2022 19:21:22 +0000 (19:21 +0000)]
Update Ukrainian translation
Matthias Clasen [Mon, 29 Aug 2022 18:55:34 +0000 (18:55 +0000)]
Merge branch 'wip/jimmac/HC-italic-hints' into 'main'
HC: entry - make hints italic
Closes #5143
See merge request GNOME/gtk!4994
Matthias Clasen [Mon, 29 Aug 2022 18:48:00 +0000 (18:48 +0000)]
Merge branch 'font-feature-work' into 'main'
fontchooser: Rename default feature value
See merge request GNOME/gtk!4995
Matthias Clasen [Mon, 29 Aug 2022 02:07:44 +0000 (22:07 -0400)]
fontchooser: Rename default feature value
"Default" is a better fit than "None" here.
Matthias Clasen [Mon, 29 Aug 2022 16:13:32 +0000 (12:13 -0400)]
fontchooser: Add a tooltip to the tweak button
Icon-only buttons are always better with a tooltip.
Matthias Clasen [Mon, 29 Aug 2022 14:17:47 +0000 (10:17 -0400)]
fontchooser: Remove placeholder from preview entry
The way we explicitly set the font on the entry
conflicts with the placeholder text styling. But the
entry isn't normally empty, so placeholder text is
not that important here. Remove it and use a tooltip
instead.
Jordi Mas [Mon, 29 Aug 2022 10:28:26 +0000 (12:28 +0200)]
Update Catalan translation
Jakub Steiner [Mon, 29 Aug 2022 09:58:29 +0000 (11:58 +0200)]
HC: entry - make hints italic
- to keep contrast but indicated difference between a value and a hint
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5143
Matthias Clasen [Mon, 29 Aug 2022 01:26:12 +0000 (01:26 +0000)]
Merge branch 'font-feature-work' into 'main'
fontchooser: Improve handling of features
See merge request GNOME/gtk!4992
Matthias Clasen [Sun, 28 Aug 2022 23:30:00 +0000 (23:30 +0000)]
Merge branch 'gtknotebook-arrow-press' into 'main'
gtknotebook: Claim event sequence after pressing notebook arrow buttons
See merge request GNOME/gtk!4990
Matthias Clasen [Sun, 28 Aug 2022 23:29:25 +0000 (23:29 +0000)]
Merge branch 'gtknotebook-arrow-state' into 'main'
gtknotebook: update arrow button state when reordering tabs
See merge request GNOME/gtk!4991
Piotr Drąg [Sun, 28 Aug 2022 21:34:58 +0000 (23:34 +0200)]
Update Polish translation
Matthias Clasen [Sun, 28 Aug 2022 21:02:56 +0000 (17:02 -0400)]
fontchooser: Improve handling of features
salt and swsh need to be treated like cvXX, with
a dropdown. Also add examples to the default cases
of radio groups.
Mat [Sun, 28 Aug 2022 20:55:15 +0000 (23:55 +0300)]
gtknotebook: update arrow button state when reordering tabs
When reordering notebook tabs, updating the sensitivity state of the
arrow buttons is necessary if the tab is moved to the beginning or
end of the tab list.
Mat [Sun, 28 Aug 2022 20:34:27 +0000 (23:34 +0300)]
gtknotebook: Claim event sequence after pressing notebook arrow buttons
When notebook tabs are reorderable, pressing the notebook arrow buttons to
change the active tab results in tabs reordering unexpectedly.
Claim the event sequence after pressing an arrow button to avoid conflicts
with the motion/drag gesture used for reordering.
Aleksandr Melman [Sun, 28 Aug 2022 18:51:12 +0000 (18:51 +0000)]
Update Russian translation
Matthias Clasen [Sun, 28 Aug 2022 14:53:03 +0000 (14:53 +0000)]
Merge branch 'notebook-tab-accessibility' into 'main'
gtkatspiselection: Retrieve the correct GtkNotebook tab widget
See merge request GNOME/gtk!4989
Goran Vidović [Sun, 28 Aug 2022 14:41:32 +0000 (14:41 +0000)]
Update Croatian translation
Matthias Clasen [Sun, 28 Aug 2022 14:05:02 +0000 (14:05 +0000)]
Merge branch 'strdup-avoidance' into 'main'
notebook: Use canonical signal names
See merge request GNOME/gtk!4988
Mat [Sun, 28 Aug 2022 13:51:31 +0000 (16:51 +0300)]
gtkatspiselection: Retrieve the correct GtkNotebook tab widget
A typo resulted in the tab container widget being retrieved instead of
the tab widget. If an adjacent action widget was present, an infinite
loop occurred when switching tabs while a screen reader was enabled.
Hugo Carvalho [Sun, 28 Aug 2022 13:14:19 +0000 (13:14 +0000)]
Update Portuguese translation
Matthias Clasen [Sun, 28 Aug 2022 02:00:42 +0000 (22:00 -0400)]
Use gtk_event_controller_set_static_name
This avoids strdups.
Matthias Clasen [Sun, 28 Aug 2022 01:59:02 +0000 (21:59 -0400)]
eventcontroller: Allow static names
These names are a debug-only feature, and we
use string literals everywhere, so avoid the
overhead of copying them.
Matthias Clasen [Sun, 28 Aug 2022 02:33:21 +0000 (22:33 -0400)]
shortcutaction: Intern signal names
Signal names are already interned anyway,
so we can avoid strdups here, and just use
the interned names.
Matthias Clasen [Sun, 28 Aug 2022 02:32:29 +0000 (22:32 -0400)]
notebook: Use canonical signal names
No excuse for not doing that.
Goran Vidović [Sat, 27 Aug 2022 20:18:12 +0000 (20:18 +0000)]
Update Croatian translation
Luca Bacci [Sat, 27 Aug 2022 17:53:39 +0000 (17:53 +0000)]
Merge branch 'gl-renderer-make-context-current-in-remove-program' into 'main'
GL Renderer: Make GdkGLContext current in gsk_gl_driver_shader_weak_cb
Closes #5140
See merge request GNOME/gtk!4985
Piotr Drąg [Sat, 27 Aug 2022 14:16:35 +0000 (16:16 +0200)]
Update Polish translation
Piotr Drąg [Sat, 27 Aug 2022 13:54:10 +0000 (15:54 +0200)]
Update POTFILES.in and POTFILES.skip
Luca Bacci [Sat, 27 Aug 2022 08:37:14 +0000 (10:37 +0200)]
GL Renderer: Ensure that GdkGLContext is current in gsk_gl_driver_shader_weak_cb
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5140
Yuri Chornoivan [Sat, 27 Aug 2022 09:56:43 +0000 (09:56 +0000)]
Update Ukrainian translation
Danial Behzadi [Sat, 27 Aug 2022 05:32:31 +0000 (05:32 +0000)]
Update Persian translation
Matthias Clasen [Fri, 26 Aug 2022 22:10:52 +0000 (22:10 +0000)]
Merge branch 'font-chooser-feature-work' into 'main'
fontchooser: Handle font features better
See merge request GNOME/gtk!4984
Matthias Clasen [Fri, 26 Aug 2022 02:26:07 +0000 (22:26 -0400)]
fontchooser: Handle font features better
Properly show multiple-choice cvXX features as dropdowns,
include afrc, and fix bugs in feature enumeration that
made some features not show up.
Luca Bacci [Fri, 26 Aug 2022 13:14:30 +0000 (13:14 +0000)]
Merge branch 'win32-gir' into 'main'
gdk/win32: do not expose gdk_win32_*_libgtk_only in public headers
See merge request GNOME/gtk!4980
Matthias Clasen [Thu, 25 Aug 2022 18:33:30 +0000 (14:33 -0400)]
Some strdup avoidance
Marc-André Lureau [Thu, 25 Aug 2022 13:33:25 +0000 (17:33 +0400)]
gdk/win32: add missing Since tag for gdk_win32_display_get_egl_display
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Nart Tlisha [Thu, 25 Aug 2022 10:29:34 +0000 (10:29 +0000)]
Update Abkhazian translation
Marc-André Lureau [Wed, 24 Aug 2022 17:01:45 +0000 (21:01 +0400)]
gdk/win32: deprecate gdk_win32_handle_table_lookup
This function is probably not generally useful for a Gtk+/win32 user,
and it's only used internally by gdk-win32. It's time to deprecate it, I
believe.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Benjamin Otte [Wed, 24 Aug 2022 13:42:51 +0000 (13:42 +0000)]
Merge branch 'treelistmodel-collapse-test' into 'main'
treelistmodel: Fix handling of collapsed nodes
Closes #4595
See merge request GNOME/gtk!4981
Matthias Clasen [Wed, 24 Aug 2022 03:03:49 +0000 (23:03 -0400)]
Add a test for treelistmodel row collapse
Test that we can expand and collapse a row, and then
add another child below it, without crashing.
Adapted from the testcase in #4595.
This tests the fix in the previous commit.
Matthias Clasen [Wed, 24 Aug 2022 12:20:33 +0000 (08:20 -0400)]
treelistmodel: Fix handling of collapsed nodes
When we collapse a node, we clear out the children,
but we were not disconnecting the signal handler on
the child listmodel, leading to bad outcomes when
that model is persistent and changing.
Fixes: #4595
Marc-André Lureau [Wed, 24 Aug 2022 11:44:32 +0000 (15:44 +0400)]
gdk/win32: do not expose gdk_win32_*_libgtk_only in public headers
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Luca Bacci [Wed, 24 Aug 2022 09:41:11 +0000 (09:41 +0000)]
Merge branch 'win32-gir' into 'main'
win32: various GI annotations and fixes
See merge request GNOME/gtk!4977
Luca Bacci [Wed, 24 Aug 2022 09:35:30 +0000 (09:35 +0000)]
Merge branch 'gdk-win32-scale-text-with-dpi-as-gtk3' into 'main'
GdkWin32: Scale text like in GTK3 with SYSTEM_DPI_AWARENESS
Closes #4187
See merge request GNOME/gtk!4979
Luca Bacci [Tue, 23 Aug 2022 12:49:59 +0000 (14:49 +0200)]
GdkWin32: Scale text with DPI like in GTK3 with SYSTEM_DPI_AWARENESS
Right now we only support system DPI awareness in GTK4. In that case
it makes sense to scale text with the DPI of the primary monitor, like
done in GTK3.
We plan to land support for proper fractional scaling in Gdk/Win32, so
in the future the "gtk-xft-dpi" setting will be gathered as intended,
i.e. for text magnification, as an a11y feature.
Luca Bacci [Tue, 23 Aug 2022 17:20:02 +0000 (17:20 +0000)]
Merge branch 'gdk-win32-fix-monitor-for-popup' into 'main'
GdkWin32: Use primary monitor as fallback if popup layout does not intersect any
See merge request GNOME/gtk!4978
Marc-André Lureau [Tue, 23 Aug 2022 13:20:39 +0000 (17:20 +0400)]
gdk/win32: annotate gdk_win32_surface_lookup_for_display
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Marc-André Lureau [Tue, 23 Aug 2022 13:06:48 +0000 (17:06 +0400)]
gdk/win32: annotate gdk_win32_surface_set_urgency_hint
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Luca Bacci [Tue, 23 Aug 2022 12:54:01 +0000 (14:54 +0200)]
GdkWin32: Position popups on the primary monitor if outside of the visible screen area
Fixes a crash caused by attempting to dereference a NULL GdkMonitor*
in GdkWin32.
See https://gitlab.gnome.org/GNOME/gtk/-/issues/5125
Marc-André Lureau [Tue, 23 Aug 2022 12:42:15 +0000 (16:42 +0400)]
gtk/win32: fix a switch-default warning
gtk/gtkimcontextime.c:714:3: warning: switch missing default case [-Wswitch-default]
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Matthias Clasen [Tue, 23 Aug 2022 12:41:46 +0000 (12:41 +0000)]
Merge branch 'tweak-option-docs' into 'main'
Tweak the vulkan option description
See merge request GNOME/gtk!4976
Marc-André Lureau [Tue, 23 Aug 2022 12:35:07 +0000 (16:35 +0400)]
gdk/win32: deprecate gdk_win32_surface_get_impl_hwnd
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Marc-André Lureau [Tue, 23 Aug 2022 12:31:07 +0000 (16:31 +0400)]
gtk/win32: use gdk_win32_surface_get_handle
As I propose to deprecate gdk_win32_surface_get_impl_hwnd() next,
replace it with the alternative.
The main difference between the two functions is that
gdk_win32_surface_get_impl_hwnd() fails gracefully by returning NULL if
the surface is not of the win32 implementation.
All the surfaces should be native surfaces here, and the existing code
doesn't seem to deal with NULL case anyway.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Matthias Clasen [Tue, 23 Aug 2022 12:27:24 +0000 (08:27 -0400)]
Tweak the vulkan option description
The thing that is experimental is our renderer,
not the vulkan API.
Marc-André Lureau [Tue, 23 Aug 2022 12:25:30 +0000 (16:25 +0400)]
gdk/win32: annotate gdk_win32_surface_get_handle
And adjust the argument precondition check.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Marc-André Lureau [Tue, 23 Aug 2022 12:17:15 +0000 (16:17 +0400)]
gdk/win32: correct gdk_win32_surface_get_handle return type
The associated surface window handle is a HWND, not a HGDIOBJ.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Sveinn í Felli [Tue, 23 Aug 2022 11:49:37 +0000 (11:49 +0000)]
Update Icelandic translation
(cherry picked from commit
a27ae5362c81e4395e962a9e0636a9f92c50c6ef)
Sveinn í Felli [Tue, 23 Aug 2022 11:38:38 +0000 (11:38 +0000)]
Update Icelandic translation
(cherry picked from commit
e6d3c58ccfeba0840b4849238f431124a1903605)
Marc-André Lureau [Tue, 23 Aug 2022 11:32:55 +0000 (15:32 +0400)]
gdk/win32: deprecate gdk_win32_surface_is_win32
The function isn't used by Gtk itself anymore, and does not help much.
It creates extra issues for bindings, as it doesn't fit well with code
doing the same job for other objects.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Marc-André Lureau [Tue, 23 Aug 2022 08:57:20 +0000 (12:57 +0400)]
gdk/win32: annotate filter callbacks
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Luca Bacci [Mon, 22 Aug 2022 22:26:09 +0000 (22:26 +0000)]
Merge branch 'win32-gir' into 'main'
Generate gtk/GdkWin32-4.0.gir
Closes #5112
See merge request GNOME/gtk!4965
Aurimas Černius [Mon, 22 Aug 2022 20:21:45 +0000 (23:21 +0300)]
Updated Lithuanian translation
Matthias Clasen [Mon, 22 Aug 2022 16:31:23 +0000 (16:31 +0000)]
Merge branch 'fix-calc-value-free' into 'main'
css: Fix freeing of calc values
Closes #5130
See merge request GNOME/gtk!4974
Matthias Clasen [Mon, 22 Aug 2022 15:51:20 +0000 (11:51 -0400)]
css: Fix freeing of calc values
We were getting our memory allocations mixed
up here.
Fixes: #5130
Matthias Clasen [Mon, 22 Aug 2022 15:03:40 +0000 (15:03 +0000)]
Merge branch 'jpeg-memory-limit' into 'main'
Bump the jpeg memory limit
See merge request GNOME/gtk!4973
Matthias Clasen [Mon, 22 Aug 2022 14:48:00 +0000 (10:48 -0400)]
Bump the jpeg memory limit
Commit
59f6c50df8d4d9 set the memory limit to 100M,
which turns out to exclude some large, valid jpegs.
So, bump things to 300M, matching what was done
in gdk-pixbuf.
Matthias Clasen [Sun, 21 Aug 2022 20:47:27 +0000 (20:47 +0000)]
Merge branch 'no-emoji-insert' into 'main'
text: Respect no-emoji hint fully
See merge request GNOME/gtk!4972
Matthias Clasen [Sun, 21 Aug 2022 20:29:41 +0000 (16:29 -0400)]
text: Respect no-emoji hint fully
We were disabling the insert-emoji action when the
no-emoji input hint is set, but the Ctrl-. shortcut
was bypassing the action and kept working. Make
the shortcut activate the action instead.
Fixes: #5123
Matthias Clasen [Sun, 21 Aug 2022 11:55:00 +0000 (11:55 +0000)]
Merge branch 'wip/smcv/log-writer' into 'main'
icontheme test: Assert that the subprocess passed
See merge request GNOME/gtk!4969