Matthias Clasen [Tue, 11 Apr 2023 06:02:23 +0000 (06:02 +0000)]
Merge branch 'cherry-pick-
faac2f78' into 'gtk-4-10'
filesystemmodel: Notify correct position removed in remove_file()
See merge request GNOME/gtk!5816
Corey Berla [Mon, 10 Apr 2023 19:56:08 +0000 (12:56 -0700)]
filesystemmodel: Notify correct position removed in remove_file()
32247bc50e63b709ae738a95a2ec71345b5fad75 made several changes to account for the
fact that we no longer have a NULL editable at the beginning of the list
model. The commit mistakenly left out one change in remove_file(),
which causes the wrong file to be removed.
(cherry picked from commit
faac2f7894608eef7e3884897b6a38da854e0fa8)
Alexander Shopov [Fri, 7 Apr 2023 16:26:55 +0000 (16:26 +0000)]
Update Bulgarian translation
Matthias Clasen [Sat, 1 Apr 2023 12:48:49 +0000 (12:48 +0000)]
Merge branch 'cherry-pick-
515f39f1' into 'gtk-4-10'
Merge branch 'wip/otte/for-main' into 'main'
See merge request GNOME/gtk!5760
Matthias Clasen [Sat, 1 Apr 2023 01:23:44 +0000 (01:23 +0000)]
Merge branch 'cherry-picks-for-4-10' into 'gtk-4-10'
scrolledwindow: Disconnect the right handler
See merge request GNOME/gtk!5762
Benjamin Otte [Wed, 29 Mar 2023 00:28:01 +0000 (02:28 +0200)]
rendernodeparser: Emit error when failing to resolve URL
Benjamin Otte [Tue, 28 Mar 2023 19:09:01 +0000 (21:09 +0200)]
rendernodeparser: Failing to parse a string is an error
Testcase included.
Matthias Clasen [Sun, 26 Mar 2023 13:47:46 +0000 (09:47 -0400)]
wayland: Comply with protocol requirements
If you send a bad anchor rect to mutter, it crashes.
Thats not great, so lets not do that.
Matthias Clasen [Tue, 28 Mar 2023 01:56:41 +0000 (21:56 -0400)]
gdk: Avoid a pointless indirection
Don't use g_fprintf if GLib is using system printf
anyway.
Matthias Clasen [Tue, 28 Mar 2023 01:44:56 +0000 (21:44 -0400)]
Improve an error message
We were producing a misleading error message
when gtk_init() fails.
Fixes: #5704
Matthias Clasen [Tue, 28 Mar 2023 01:32:19 +0000 (21:32 -0400)]
gdk: Improve logging for backends
Log more when trying backends.
Benjamin Otte [Sat, 25 Mar 2023 22:57:17 +0000 (23:57 +0100)]
enums: Move G_END_DECLS to the end of the file
Bilal Elmoussaoui [Mon, 27 Mar 2023 19:19:06 +0000 (21:19 +0200)]
docs: Fix various broken links
Jonas Ådahl [Mon, 27 Mar 2023 19:27:44 +0000 (21:27 +0200)]
wayland/popup: Handle late received reposition feedback
If we map, reposition, unmap, remap, the reposition feedback from the
last time a popup was mapped might be received while we're dealing with
the new version of the popup. At this point, the old reposition token
has no meating, so lets drop it. Also reset the reposition tokens when
creating new protocol objects, so that the reposition token are as if
we're in the initial state.
This fixes an issue where we'd get stuck if repeatedly smashing a button
that'd create popups that'd immediately get dismissed by the compositor.
Ludovico de Nittis [Mon, 27 Mar 2023 09:53:57 +0000 (11:53 +0200)]
wayland: Try to open the display even if XDG_RUNTIME_DIR is unset
Since Wayland 1.15, it is now possible to use absolute paths in
"WAYLAND_DISPLAY".
In that scenario, having a valid "XDG_RUNTIME_DIR" is not a requirement
anymore.
For this reason we remove the "XDG_RUNTIME_DIR" check and we let
`wl_display_connect()` decide if our environment is correct.
Signed-off-by: Ludovico de Nittis <ludovico.denittis@collabora.com>
Benjamin Otte [Mon, 27 Mar 2023 04:23:35 +0000 (06:23 +0200)]
magnifier: Don't check for visibility
gtk_widget_queue_draw() already does that.
Matthias Clasen [Sun, 26 Mar 2023 14:55:08 +0000 (10:55 -0400)]
scrolledwindow: Disconnect the right handler
We connect gtk_scrolled_window_update_use_indicators
as signal handler in realize(), but we were disconnecting
gtk_scrolled_window_sync_use_indicators in unrealize.
Spotted by Milan Crha.
Fixes: #5684
Benjamin Otte [Fri, 31 Mar 2023 15:58:03 +0000 (15:58 +0000)]
Merge branch 'wip/otte/for-main' into 'main'
various fixes
See merge request GNOME/gtk!5756
(cherry picked from commit
515f39f161d73e4e58fcb58ed330db11c3bc8642)
6f417534 widget: Shortcut widget not repositioning
dbff49b5 listbase: Clear any newly set adjustments
Alexander Shopov [Fri, 31 Mar 2023 10:04:26 +0000 (10:04 +0000)]
Update Bulgarian translation
Марко Костић [Wed, 29 Mar 2023 11:28:23 +0000 (11:28 +0000)]
Update Serbian translation
Matthias Clasen [Wed, 29 Mar 2023 01:08:16 +0000 (01:08 +0000)]
Merge branch 'cherry-pick-
3a5282ab' into 'gtk-4-10'
wayland: Don't crash without xdg_activation_v1
See merge request GNOME/gtk!5742
Matthias Clasen [Sun, 26 Mar 2023 14:11:14 +0000 (10:11 -0400)]
wayland: Don't crash without xdg_activation_v1
If the compositor does not support this protocol,
we can't use it.
Fixes: #5701
(cherry picked from commit
3a5282abe1aabebef7d276a01a36f7512cab4b9b)
Boyuan Yang [Tue, 28 Mar 2023 15:14:10 +0000 (15:14 +0000)]
Update Chinese (China) translation
Guillaume Bernard [Tue, 28 Mar 2023 09:36:51 +0000 (09:36 +0000)]
Update French translation
Matthias Clasen [Sun, 26 Mar 2023 12:15:04 +0000 (12:15 +0000)]
Merge branch 'cursor-size-fix-4-10' into 'gtk-4-10'
wayland: Don't crash on cursor size 0
See merge request GNOME/gtk!5722
Matthias Clasen [Sun, 26 Mar 2023 00:25:51 +0000 (20:25 -0400)]
wayland: Don't crash on cursor size 0
The cursor-theme-size setting is documented as
'0 means the default size'. Make it so by using
size 24 if we see a 0. Its better than crashing.
Fixes: #5700
Matthias Clasen [Fri, 24 Mar 2023 16:15:11 +0000 (16:15 +0000)]
Merge branch 'cherry-pick-
d209f556' into 'gtk-4-10'
Backport !5702 (fix for #5685) into gtk-4-10
See merge request GNOME/gtk!5713
Chun-wei Fan [Fri, 24 Mar 2023 15:30:01 +0000 (15:30 +0000)]
Merge branch 'alternative-fix-5685' into 'main'
GDK/Win32: Use wgl* functions directly as needed (fix #5685)
Closes #5685
See merge request GNOME/gtk!5702
(cherry picked from commit
d209f5567768aaa445d70a30424df2041ed3ac75)
627ee674 GDK-Win32: Add wrapper functions for calling core wgl* functions
b5ebe270 gtkgstsink.c: Drop workarounds needed for Windows
Matthias Clasen [Fri, 24 Mar 2023 03:04:20 +0000 (03:04 +0000)]
Merge branch 'cherry-pick-
7b22983b' into 'gtk-4-10'
Don't leak all AT contexts
See merge request GNOME/gtk!5703
Matthias Clasen [Thu, 23 Mar 2023 03:41:40 +0000 (23:41 -0400)]
Don't leak all AT contexts
create_at_context was confused - it stored a reference
to the newly created context in priv->context, but then
also returned a reference, and the caller stored that
in priv->context again.
Change it to only return a reference.
Fixes: #5690
(cherry picked from commit
7b22983be58b7f96afa85399f0f7b86b0a4b8e09)
Emmanuele Bassi [Wed, 22 Mar 2023 16:02:15 +0000 (16:02 +0000)]
Merge branch 'backport_next_accessible-sibling_fix' into 'gtk-4-10'
a11y: Backport the gtk_accessible_get_next_accessible_sibling fix
See merge request GNOME/gtk!5699
Bruce Cowan [Wed, 22 Mar 2023 15:46:17 +0000 (15:46 +0000)]
Update British English translation
Matthias Clasen [Thu, 16 Mar 2023 21:12:20 +0000 (21:12 +0000)]
Merge branch 'fix_next_accessible_sibling_after_refcounts' into 'main'
a11y: Fix the logic in gtk_accessible_get_next_accessible_sibling which decided whether we will use the overridden sibling on the context.
See merge request GNOME/gtk!5659
Emmanuele Bassi [Wed, 22 Mar 2023 12:33:13 +0000 (12:33 +0000)]
Merge branch 'cherry-pick-
724ecf3b' into 'gtk-4-10'
Ensure GtkFileChooserCell's type
See merge request GNOME/gtk!5697
Matthias Clasen [Wed, 22 Mar 2023 10:48:55 +0000 (10:48 +0000)]
Merge branch 'ebassi/ensure-file-chooser-types' into 'main'
Ensure GtkFileChooserCell's type
See merge request GNOME/gtk!5696
(cherry picked from commit
724ecf3b51d18a7a9e00aa97c2c7eee2e3091ed9)
b2e8158c Ensure GtkFileChooserCell's type
Martin [Mon, 20 Mar 2023 22:16:13 +0000 (22:16 +0000)]
Update Slovenian translation
Benjamin Otte [Sun, 19 Mar 2023 17:33:38 +0000 (17:33 +0000)]
Merge branch 'cherry-pick-
56b904f1-2' into 'gtk-4-10'
Merge branch 'wip/otte/for-main' into 'main'
See merge request GNOME/gtk!5683
Benjamin Otte [Sun, 19 Mar 2023 17:07:53 +0000 (17:07 +0000)]
Merge branch 'wip/otte/for-main' into 'main'
treelistmodel: Clear item in right place
Closes #5681
See merge request GNOME/gtk!5682
(cherry picked from commit
56b904f1e6edec67e95e6d6ea3004d73eb343121)
dd1e76e6 treelistmodel: Clear item in right place
Benjamin Otte [Sun, 19 Mar 2023 14:37:46 +0000 (14:37 +0000)]
Merge branch 'cherry-pick-
f211a217' into 'gtk-4-10'
Merge branch 'wip/otte/for-main' into 'main'
See merge request GNOME/gtk!5679
Matthias Clasen [Sun, 19 Mar 2023 14:23:16 +0000 (14:23 +0000)]
Merge branch 'for-4-10' into 'gtk-4-10'
[4.10] Cherry-pick "listitem: Claim sequence when handling an event"
See merge request GNOME/gtk!5680
Benjamin Otte [Thu, 16 Mar 2023 21:42:56 +0000 (22:42 +0100)]
listitem: Claim sequence when handling an event
See my rants on IRC for why we definitely need to claim gestures by
default in GTK5.
Fixes #5669
Benjamin Otte [Sun, 19 Mar 2023 06:23:46 +0000 (06:23 +0000)]
Merge branch 'wip/otte/for-main' into 'main'
Fix inspector doing weird stuff
Closes #5646
See merge request GNOME/gtk!5678
(cherry picked from commit
f211a2177f6160c3678e30ee07263229c48ec3ef)
f4be5c80 cssnode: Refer the correct previous item
9048e391 treelistmodel: Cache the item
bf556850 treelistmodel: Track the item in the row
c4636852 treelistmodel: Clarify docs
Danial Behzadi [Sat, 18 Mar 2023 01:10:45 +0000 (01:10 +0000)]
Update Persian translation
Matthias Clasen [Fri, 17 Mar 2023 04:54:23 +0000 (04:54 +0000)]
Merge branch 'cherry-pick-
565c9aed' into 'gtk-4-10'
Merge branch 'gridview-filler-tile-fix' into 'main'
See merge request GNOME/gtk!5666
Benjamin Otte [Thu, 16 Mar 2023 23:50:13 +0000 (23:50 +0000)]
Merge branch 'gridview-filler-tile-fix' into 'main'
gridview: Fix condition for adding filler tiles
See merge request GNOME/gtk!5664
(cherry picked from commit
565c9aed946e5e4cd39e5c90a8352dc3607a0188)
65b6150e gridview: Fix condition for adding filler tiles
Benjamin Otte [Thu, 16 Mar 2023 21:46:28 +0000 (21:46 +0000)]
Merge branch 'cherry-pick-
fbc8bfb3' into 'gtk-4-10'
Merge branch 'wip/otte/for-main' into 'main'
See merge request GNOME/gtk!5663
Benjamin Otte [Thu, 16 Mar 2023 20:59:17 +0000 (20:59 +0000)]
Merge branch 'wip/otte/for-main' into 'main'
Various small fixes
Closes #5380
See merge request GNOME/gtk!5662
(cherry picked from commit
fbc8bfb3031cbbdddc4978d6326d68ae19f3f3e3)
707c63c6 win32: Fix rowstride math
ef3c515c rowstrides are gsize, not int
a0382ef4 listview: Fix culling issues when using CSS padding
Matthias Clasen [Thu, 16 Mar 2023 19:48:45 +0000 (19:48 +0000)]
Merge branch 'drag-gl-wayland-hotspot-fix-4-10' into 'gtk-4-10'
[4.10] wayland: Reset pending offset in GL path
See merge request GNOME/gtk!5660
Ivan Molodetskikh [Wed, 15 Mar 2023 23:11:40 +0000 (16:11 -0700)]
wayland: Reset pending offset in GL path
Otherwise GL surfaces that redraw without changing the hotspot have it
applied on top every frame and quickly slide away.
The cairo path and the X11 backend do not have this bug.
Kukuh Syafaat [Wed, 15 Mar 2023 12:03:47 +0000 (12:03 +0000)]
Update Indonesian translation
Changwoo Ryu [Wed, 15 Mar 2023 10:04:10 +0000 (10:04 +0000)]
Update Korean translation
Aleksandr Melman [Tue, 14 Mar 2023 21:01:53 +0000 (21:01 +0000)]
Update Russian translation
Martin [Tue, 14 Mar 2023 17:19:43 +0000 (17:19 +0000)]
Update Slovenian translation
Benjamin Otte [Tue, 14 Mar 2023 16:32:44 +0000 (16:32 +0000)]
Merge branch 'cherry-pick-
a05b73cb' into 'gtk-4-10'
Merge branch 'wip/hadess/children-left-msg' into 'main'
See merge request GNOME/gtk!5653
Benjamin Otte [Tue, 14 Mar 2023 16:31:44 +0000 (16:31 +0000)]
Merge branch 'wip/hadess/children-left-msg' into 'main'
gtk: Fix "children left" warning with fatal warnings
See merge request GNOME/gtk!5652
(cherry picked from commit
a05b73cb05a407a23a670b30c8d3719fa94436b9)
4f1ea18c gtk: Fix "children left" warning with fatal warnings
Matthias Clasen [Tue, 14 Mar 2023 12:16:30 +0000 (08:16 -0400)]
Post-release version bump
Matthias Clasen [Mon, 13 Mar 2023 14:58:58 +0000 (15:58 +0100)]
4.10.1
Daniel [Tue, 14 Mar 2023 11:43:00 +0000 (12:43 +0100)]
Updated Spanish translation
Matthias Clasen [Tue, 14 Mar 2023 05:30:17 +0000 (05:30 +0000)]
Merge branch 'matthiasc/for-main' into 'main'
gsk: Mark mask nodes as 'supports transforms'
See merge request GNOME/gtk!5650
Matthias Clasen [Mon, 13 Mar 2023 21:20:12 +0000 (22:20 +0100)]
css: Small speedups
Matthias Clasen [Mon, 13 Mar 2023 21:19:51 +0000 (22:19 +0100)]
icontheme: Silence a compiler warning
Matthias Clasen [Mon, 13 Mar 2023 17:20:02 +0000 (18:20 +0100)]
tests: Add more tests for texture scale nodes
Matthias Clasen [Mon, 13 Mar 2023 17:10:53 +0000 (18:10 +0100)]
gsk: Mark mask nodes as 'supports transforms'
Just like blur nodes, the renderer can handle
these without creating an extra offscreen.
Matthias Clasen [Tue, 14 Mar 2023 05:08:37 +0000 (05:08 +0000)]
Merge branch 'fix-texture-scale-rotation' into 'main'
gtk4-demo: Polish the image scaling demo
See merge request GNOME/gtk!5649
Benjamin Otte [Tue, 14 Mar 2023 05:03:13 +0000 (05:03 +0000)]
Merge branch 'bilelmoussaoui-main-patch-31679' into 'main'
GLTexture: Add GL_RGB format support
See merge request GNOME/gtk!5647
Matthias Clasen [Mon, 13 Mar 2023 16:59:04 +0000 (17:59 +0100)]
gsk: Fix rotated texture scale nodes
This was causing us to render rotated texture scale
nodes to an unclipped offscreen, bringing 'giant
intermediate texture' problems back.
Matthias Clasen [Mon, 13 Mar 2023 15:54:22 +0000 (16:54 +0100)]
gtk4-demo: Add a tooltip to image scaling
Show some information about the values.
Matthias Clasen [Mon, 13 Mar 2023 12:10:52 +0000 (13:10 +0100)]
gtk4-demo: Polish the image scaling demo
Make the scale binding bidirectional again, fix up
the ranges and the sensitivity of the actions, and
add a mark for the unscaled position.
Jürgen Benvenuti [Mon, 13 Mar 2023 18:30:32 +0000 (18:30 +0000)]
Update German translation
Bilal Elmoussaoui [Mon, 13 Mar 2023 13:59:17 +0000 (13:59 +0000)]
GLTexture: Add GL_RGB format support
Matthias Clasen [Mon, 13 Mar 2023 08:58:58 +0000 (08:58 +0000)]
Merge branch 'more-scaled-texture-fixes' into 'main'
Fix gtk_snapshot_append_scaled_texture
See merge request GNOME/gtk!5638
Matthias Clasen [Mon, 13 Mar 2023 07:55:52 +0000 (07:55 +0000)]
Merge branch 'matthiasc/for-main' into 'main'
gtk4-demo: Fix rotation handling in image scaling
See merge request GNOME/gtk!5643
Matthias Clasen [Mon, 13 Mar 2023 07:54:13 +0000 (08:54 +0100)]
gtk4-demo: Use gtk_snapshot_append_scaled_texture
Matthias Clasen [Fri, 10 Mar 2023 23:50:40 +0000 (00:50 +0100)]
Fix gtk_snapshot_append_scaled_texture
This was doing the wrong thing with transforms.
Matthias Clasen [Mon, 13 Mar 2023 07:38:58 +0000 (08:38 +0100)]
docs: Details about texture scale nodes
Add some more details about filtering, to
clarify things a bit.
Matthias Clasen [Mon, 13 Mar 2023 07:21:10 +0000 (08:21 +0100)]
gtk4-demo: Scale logarithmically in image scaling
Matthias Clasen [Mon, 13 Mar 2023 07:11:29 +0000 (08:11 +0100)]
gtk4-demo: Fix rotation handling in image scaling
We weren't sizing the widget correctly in rotated
cases.
Hugo Carvalho [Mon, 13 Mar 2023 00:06:26 +0000 (00:06 +0000)]
Update Portuguese translation
Fran Dieguez [Sun, 12 Mar 2023 23:19:49 +0000 (23:19 +0000)]
Update Galician translation
Aurimas Černius [Sun, 12 Mar 2023 20:01:39 +0000 (20:01 +0000)]
Update Lithuanian translation
Alexander Shopov [Sun, 12 Mar 2023 18:36:38 +0000 (18:36 +0000)]
Update Bulgarian translation
Ask Hjorth Larsen [Sun, 12 Mar 2023 15:24:18 +0000 (16:24 +0100)]
Updated Danish translation
Matthias Clasen [Sun, 12 Mar 2023 10:20:04 +0000 (10:20 +0000)]
Merge branch 'matthiasc/for-main' into 'main'
gtk-demo: Add rotation to the scaling demo
Closes #5659
See merge request GNOME/gtk!5641
Asier Sarasua Garmendia [Sun, 12 Mar 2023 09:35:14 +0000 (09:35 +0000)]
Update Basque translation
Matthias Clasen [Sun, 12 Mar 2023 07:23:16 +0000 (08:23 +0100)]
columnview: Be more defensive
I am not sure how we can have no listitem here,
but better to be safe than sorry.
Fixes: #5659
Matthias Clasen [Sat, 11 Mar 2023 17:56:08 +0000 (18:56 +0100)]
gtk-demo: Add rotation to the scaling demo
Closing in on eog :)
Sabri Ünal [Sat, 11 Mar 2023 16:03:32 +0000 (16:03 +0000)]
Update Turkish translation
Anders Jonsson [Sat, 11 Mar 2023 15:47:38 +0000 (15:47 +0000)]
Update Swedish translation
Piotr Drąg [Sat, 11 Mar 2023 14:14:42 +0000 (15:14 +0100)]
Update Polish translation
Matthias Clasen [Sat, 11 Mar 2023 11:56:23 +0000 (11:56 +0000)]
Merge branch 'matthiasc/for-main' into 'main'
inspector: Force a full redraw for debug nodes
See merge request GNOME/gtk!5640
Matthias Clasen [Sat, 11 Mar 2023 11:30:44 +0000 (12:30 +0100)]
inspector: Force a full redraw for debug nodes
Without this, debug nodes randomly are missing
in the tree, where we are reusing older render
nodes.
Matthias Clasen [Sat, 11 Mar 2023 10:21:13 +0000 (10:21 +0000)]
Merge branch 'matthiasc/for-main' into 'main'
themes: Avoid ':' in custom target names
Closes #5280
See merge request GNOME/gtk!5639
Matthias Clasen [Sat, 11 Mar 2023 10:03:43 +0000 (11:03 +0100)]
themes: Avoid ':' in custom target names
For whatever reason, meson decides to use custom
target names in the file system, and on Windows,
the ':' is causing trouble here. So avoid it.
Fixes: #5280
Marek Černocký [Sat, 11 Mar 2023 08:52:49 +0000 (08:52 +0000)]
Update Czech translation
Ekaterine Papava [Sat, 11 Mar 2023 05:39:09 +0000 (05:39 +0000)]
Update Georgian translation
Benjamin Otte [Sat, 11 Mar 2023 00:26:18 +0000 (00:26 +0000)]
Merge branch 'wip/otte/rendernode-export' into 'main'
rendernode: Register SVG serializer
See merge request GNOME/gtk!5637
Balázs Úr [Fri, 10 Mar 2023 23:47:38 +0000 (23:47 +0000)]
Update Hungarian translation
Matthias Clasen [Fri, 10 Mar 2023 23:40:50 +0000 (23:40 +0000)]
Merge branch 'wip/x11-create-destroy-without-show-show-hide' into 'main'
x11/surface: Clear compute_size idle source also when destroying
See merge request GNOME/gtk!5636
Matthias Clasen [Fri, 10 Mar 2023 23:38:50 +0000 (23:38 +0000)]
Merge branch 'cache-scaled-texture' into 'main'
gsk: Cache scaled texture
Closes #5642
See merge request GNOME/gtk!5633
Benjamin Otte [Fri, 10 Mar 2023 21:58:19 +0000 (22:58 +0100)]
node-editor: Add more export options
Auto-detect tiff and svg and if those are chosen, save to that format.