Boyuan Yang [Sun, 11 Sep 2022 19:24:40 +0000 (19:24 +0000)]
Update Chinese (China) translation
Jordi Mas [Sun, 11 Sep 2022 12:32:27 +0000 (14:32 +0200)]
Update Catalan translation
Matthias Clasen [Sat, 10 Sep 2022 20:09:28 +0000 (20:09 +0000)]
Merge branch 'misc-gl-fixes' into 'main'
gsk: Make glyph upload more similar to icons
See merge request GNOME/gtk!4074
Matthias Clasen [Fri, 8 Oct 2021 08:14:19 +0000 (10:14 +0200)]
gsk: Make glyph upload more similar to icons
When uploading glyphs to the atlas, clear
the padding bytes so that no dirt remains there.
Matthias Clasen [Sat, 10 Sep 2022 18:51:14 +0000 (18:51 +0000)]
Merge branch 'matthiasc/for-main' into 'main'
clang-format: This did not work
See merge request GNOME/gtk!5021
Matthias Clasen [Sat, 10 Sep 2022 18:35:40 +0000 (14:35 -0400)]
clang-format: This did not work
I thought AlignConsecutiveDeclarations would
align function parameters, but it doesn't.
So drop it again.
Cheng-Chia Tseng [Sat, 10 Sep 2022 09:09:29 +0000 (09:09 +0000)]
Update Chinese (Taiwan) translation
Matthias Clasen [Sat, 10 Sep 2022 00:32:45 +0000 (00:32 +0000)]
Merge branch 'game-sounds' into 'main'
gtk-demo: Make losing games hurt
See merge request GNOME/gtk!5017
Emmanuele Bassi [Sat, 10 Sep 2022 00:04:03 +0000 (00:04 +0000)]
Merge branch 'a11y-state-changes' into 'main'
a11y: Be safe against state type changes
See merge request GNOME/gtk!5018
Matthias Clasen [Sat, 10 Sep 2022 00:02:41 +0000 (00:02 +0000)]
Merge branch 'less-fetching-in-ci' into 'main'
ci: Improve style check script
See merge request GNOME/gtk!5020
Matthias Clasen [Fri, 9 Sep 2022 23:59:49 +0000 (23:59 +0000)]
Merge branch 'clang-format-improvement' into 'main'
ci: Improve clang-format style
See merge request GNOME/gtk!3770
Matthias Clasen [Mon, 19 Jul 2021 19:53:37 +0000 (15:53 -0400)]
ci: Improve clang-format style
Add
AlignConsecutiveDeclarations: true
PointerAlignment: Right
which will produce the style we want with llvm 13.
Matthias Clasen [Fri, 9 Sep 2022 23:41:42 +0000 (19:41 -0400)]
ci: Improve style check script
Only fetch the two branches we are about to
compare, and use existing git merge-base to
find the common ancestor.
Emmanuele Bassi [Fri, 9 Sep 2022 23:30:38 +0000 (23:30 +0000)]
Merge branch 'ebassi/style-check' into 'main'
ci: Re-sync the style check with GLib
See merge request GNOME/gtk!5019
Matthias Clasen [Fri, 9 Sep 2022 23:03:43 +0000 (19:03 -0400)]
ci: Fix the git usage in scripts
Thanks, git.
Emmanuele Bassi [Fri, 9 Sep 2022 22:39:20 +0000 (23:39 +0100)]
ci: Move style check to its own stage
Drop the `.pre` phase.
Emmanuele Bassi [Fri, 9 Sep 2022 22:19:04 +0000 (23:19 +0100)]
ci: Re-sync the style check with GLib
Matthias Clasen [Fri, 9 Sep 2022 20:06:02 +0000 (16:06 -0400)]
a11y: Be safe against state type changes
For some of the a11y states, calling gtk_accessible_reset_state
can change the type of the state value from boolean or tristate
to undefined.
Handle that, instead of throwing criticals.
Related: !4910
Matthias Clasen [Fri, 9 Sep 2022 19:38:39 +0000 (19:38 +0000)]
Merge branch 'filechooser-keybindings' into 'main'
filechooser: Restore ~ and . functionality
See merge request GNOME/gtk!5016
Matthias Clasen [Fri, 9 Sep 2022 19:36:31 +0000 (15:36 -0400)]
gtk-demo: Make losing games hurt
Use a more annoying sound for losses.
And use it for all games.
Matthias Clasen [Fri, 9 Sep 2022 18:44:31 +0000 (18:44 +0000)]
Merge branch 'widget-factory-filechooser' into 'main'
widget-factory: Add a file chooser
See merge request GNOME/gtk!5015
Matthias Clasen [Fri, 9 Sep 2022 18:43:05 +0000 (14:43 -0400)]
filechooser: Restore ~ and . functionality
We'll have to keep patching up these things
until somebody rewrites the file chooser :(
Inspired by: !4970
Matthias Clasen [Fri, 9 Sep 2022 18:28:08 +0000 (14:28 -0400)]
widget-factory: Add a file chooser
We don't have a readily accessible file chooser
in our demo apps. Fix that by making the Open
menu item on page 2 bring up a file chooser.
Matthias Clasen [Fri, 9 Sep 2022 16:57:27 +0000 (16:57 +0000)]
Merge branch 'fix-fontrendering-demo' into 'main'
gtk-demo: Avoid a segfault
Closes #5166
See merge request GNOME/gtk!5014
Matthias Clasen [Fri, 9 Sep 2022 16:33:08 +0000 (12:33 -0400)]
gtk-demo: Avoid a segfault
The code in the fontrendering demo is a bit sloppy
and assumes that we always get a single run when
appending a sequence of 4 chars and 4 spaces.
That is not in general true, such as for Emoji.
Instead of working harder to handle Emoji here,
just give up and fall back to 'a'.
Fixes: #5166
Matthias Clasen [Fri, 9 Sep 2022 14:59:03 +0000 (14:59 +0000)]
Merge branch 'gtkplaces' into 'main'
gtkplacesview: Right click popover fix crash and align menu with mouse
See merge request GNOME/gtk!4662
Matthias Clasen [Fri, 9 Sep 2022 14:56:33 +0000 (14:56 +0000)]
Merge branch 'gtktooltip.c-optimise' into 'main'
gtk/gtktooltip.c: check result of event position get operation
Closes #5134
See merge request GNOME/gtk!4996
Matthias Clasen [Fri, 9 Sep 2022 12:36:43 +0000 (12:36 +0000)]
Merge branch 'wip/carlosg/im-reset' into 'main'
Avoid early IM reset on updates
Closes #5133
See merge request GNOME/gtk!5012
Rūdolfs Mazurs [Wed, 7 Sep 2022 20:56:57 +0000 (20:56 +0000)]
Update Latvian translation
Matthias Clasen [Wed, 7 Sep 2022 15:04:43 +0000 (15:04 +0000)]
Merge branch 'fix-file-transfer-portal' into 'main'
Stop recursion in registering serializers
See merge request GNOME/gtk!5013
Matthias Clasen [Wed, 7 Sep 2022 11:57:42 +0000 (07:57 -0400)]
Make clipboard tests work with portals
This was not working right, since it hasn't been
tested with portals - there are no portals in ci.
Matthias Clasen [Wed, 7 Sep 2022 11:53:12 +0000 (07:53 -0400)]
Handle absence of portals
When the documents portal is not on the bus,
we still get an (unowned) proxy, and we need
to handle that situation.
Matthias Clasen [Wed, 7 Sep 2022 03:44:58 +0000 (23:44 -0400)]
portals: Fix FileTransfer portal calls
We were not passing the right arguments to
the AddFiles call, causing the file transfer
to fail.
Matthias Clasen [Wed, 7 Sep 2022 03:38:08 +0000 (23:38 -0400)]
Make the file transfer portal setup sync again
We need to register the portal mime types before
the others to prefer them, doing this call async
messes up that ordering.
This is effectively reverting
69fb3648b2e20935b7839f874
Matthias Clasen [Wed, 7 Sep 2022 03:35:48 +0000 (23:35 -0400)]
Stop recursion in registering serializers
This was probably unintentional, and messes up
the ordering of our registration.
Matthias Clasen [Tue, 6 Sep 2022 22:19:30 +0000 (22:19 +0000)]
Merge branch 'textbuffer-set-text-docs' into 'main'
Document irreversibility of gtk_text_buffer_set_text
See merge request GNOME/gtk!5005
Matthias Clasen [Tue, 6 Sep 2022 20:50:06 +0000 (20:50 +0000)]
Merge branch 'launch-uri-no-export' into 'main'
Make gtk_launch_uri more robust
Closes #5152
See merge request GNOME/gtk!5010
Matthias Clasen [Tue, 6 Sep 2022 20:34:39 +0000 (20:34 +0000)]
Merge branch 'gtk-scale-set-digits-update-label' into 'main'
GtkScale: Update the label size request from set_digits ()
Closes #5156
See merge request GNOME/gtk!5011
Matthias Clasen [Tue, 6 Sep 2022 20:30:15 +0000 (20:30 +0000)]
Merge branch 'wip/antoniof/columnview-rtl' into 'main'
columnview: Invert columns on RTL
Closes nautilus#2302
See merge request GNOME/gtk!5002
Carlos Garnacho [Tue, 6 Sep 2022 19:55:13 +0000 (21:55 +0200)]
gtktextview: Also reset IM context after IM surrounding text deletion
When the IM commands the GtkText to delete text, the cursor position
would change, and so would the surrounding text. Reset the IM context
so that these updates are properly picked up by the IM.
Fixes backspace key behavior in the GNOME Shell OSK, since that relies
on the surrounding text being properly updated for the next iteration.
Carlos Garnacho [Tue, 6 Sep 2022 19:53:25 +0000 (21:53 +0200)]
gtktext: Also reset IM context after IM surrounding text deletion
When the IM commands the GtkText to delete text, the cursor position
would change, and so would the surrounding text. Reset the IM context
so that these updates are properly picked up by the IM.
Fixes backspace key behavior in the GNOME Shell OSK, since that relies
on the surrounding text being properly updated for the next iteration.
Carlos Garnacho [Tue, 6 Sep 2022 19:43:14 +0000 (21:43 +0200)]
gtktext: Avoid early IM reset on updates
Resetting the IM on IM updates is too eager and indeed the simple
IM context doesn't like that this happens in the middle of dead
key handling.
We however want to reset the IM after actual text buffer changes
(say, a committed string) moved the cursor position, altered the
surrounding text, etc. So that the IM implementation does know to
update its state.
Since there is going to be an actual IM reset anyways, it does
no longer make sense to try to preserve the old priv->need_im_reset
status during commit handling.
Fixes: 52ac71b972 ("gtktextview: Shuffle the places doing IM reset")
Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/5133
Carlos Garnacho [Tue, 6 Sep 2022 19:38:35 +0000 (21:38 +0200)]
gtktext: Avoid early IM reset on updates
Resetting the IM on IM updates is too eager and indeed the simple
IM context doesn't like that this happens in the middle of dead
key handling.
We however want to reset the IM after actual text buffer changes
(say, a committed string) moved the cursor position, altered the
surrounding text, etc. So that the IM implementation does know to
update its state.
Fixes: 9e29739e66 ("gtktext: Shuffle the places doing IM reset")
Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/5133
Matthias Clasen [Tue, 6 Sep 2022 20:17:33 +0000 (20:17 +0000)]
Merge branch 'treepopover-ellipsize' into 'main'
treepopover: Do not propagate natural width of content
See merge request GNOME/gtk!4895
Matthias Clasen [Tue, 6 Sep 2022 20:14:38 +0000 (20:14 +0000)]
Merge branch 'display-wayland-update-scale' into 'main'
wayland/display: Remove duplicate update_scale() call
See merge request GNOME/gtk!5003
Matthias Clasen [Tue, 6 Sep 2022 19:34:30 +0000 (15:34 -0400)]
4.8.0
Luca Bacci [Tue, 6 Sep 2022 17:27:38 +0000 (19:27 +0200)]
GtkScale: Update the label's size request from set_digits ()
Update the label size request when setting the digits property
by calling the update_label_request () util function.
That util function works by measuring the size request of the
label with the lower and upper values of the adjustment, then
taking the max. That way the size requisition is constant
regardless of the actual displayed value.
Since the util function internally works by setting the text
of the label, let it also set the text at last by taking in
account the current adjustment's value. Most of its callers
do that anyway.
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5156
Matthias Clasen [Tue, 6 Sep 2022 16:37:56 +0000 (12:37 -0400)]
Make gtk_launch_uri more robust
We were failing to launch the uri if we are on
Wayland, but have no xdg_foreign protocol support.
Fixes: #5152
Zurab Kargareteli [Tue, 6 Sep 2022 16:28:59 +0000 (16:28 +0000)]
Update Georgian translation
Zurab Kargareteli [Tue, 6 Sep 2022 16:28:00 +0000 (16:28 +0000)]
Update Georgian translation
Changwoo Ryu [Tue, 6 Sep 2022 04:15:30 +0000 (04:15 +0000)]
Update Korean translation
Aurimas Černius [Mon, 5 Sep 2022 19:38:20 +0000 (22:38 +0300)]
Updated Lithuanian translation
Daniel Mustieles [Mon, 5 Sep 2022 12:30:59 +0000 (14:30 +0200)]
Updated Spanish translation
Fran Dieguez [Sun, 4 Sep 2022 22:24:45 +0000 (22:24 +0000)]
Update Galician translation
Aleksandr Melman [Sun, 4 Sep 2022 20:45:34 +0000 (20:45 +0000)]
Update Russian translation
Rūdolfs Mazurs [Sun, 4 Sep 2022 15:50:02 +0000 (15:50 +0000)]
Update Latvian translation
Jürgen Benvenuti [Sun, 4 Sep 2022 13:57:48 +0000 (13:57 +0000)]
Update German translation
Elliott Sales de Andrade [Sun, 4 Sep 2022 06:40:41 +0000 (02:40 -0400)]
Document irreversibility of gtk_text_buffer_set_text
If you've begun a user action and call `gtk_text_buffer_set_text`, you
get an unexpected warning:
```
Gtk-WARNING **: Cannot begin irreversible action while in user action
```
which can be fixed by doing the delete/insert yourself. But this is not
documented as occurring, so document it.
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
Robert Mader [Fri, 2 Sep 2022 22:48:17 +0000 (00:48 +0200)]
wayland/display: Remove duplicate update_scale() call
`apply_monitor_change()` already calls `update_scale()`.
Note that this only affects old compositor versions (see
`should_update_monitor()`) so it's just a minor cleanup.
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
António Fernandes [Fri, 2 Sep 2022 14:44:59 +0000 (15:44 +0100)]
columnview: Invert columns on RTL
Respect text direction.
Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/2302
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
Maxim Zakharov [Tue, 30 Aug 2022 05:45:52 +0000 (15:45 +1000)]
gtk/gtktooltip.c: check result of event position get operation
Do not perform coordinates transformation when gdk_event_get_position()
returns FALSE as it returns NaNs in that case and these coordinates
are not used anyway in further processing (closes #5134).
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