Daniel
86bbc13a61
Updated Spanish translation
2023-03-14 12:43:00 +01:00
Matthias Clasen
664ce48a4c
Merge branch 'matthiasc/for-main' into 'main'
...
gsk: Mark mask nodes as 'supports transforms'
See merge request GNOME/gtk!5650
2023-03-14 05:30:17 +00:00
Matthias Clasen
42f1b623bf
css: Small speedups
2023-03-14 01:14:57 -04:00
Matthias Clasen
6b7f0266ac
icontheme: Silence a compiler warning
2023-03-14 01:14:57 -04:00
Matthias Clasen
ad84ee8352
tests: Add more tests for texture scale nodes
2023-03-14 01:14:57 -04:00
Matthias Clasen
c035384fc8
gsk: Mark mask nodes as 'supports transforms'
...
Just like blur nodes, the renderer can handle
these without creating an extra offscreen.
2023-03-14 01:14:57 -04:00
Matthias Clasen
7b1644b2d0
Merge branch 'fix-texture-scale-rotation' into 'main'
...
gtk4-demo: Polish the image scaling demo
See merge request GNOME/gtk!5649
2023-03-14 05:08:37 +00:00
Benjamin Otte
aaac380053
Merge branch 'bilelmoussaoui-main-patch-31679' into 'main'
...
GLTexture: Add GL_RGB format support
See merge request GNOME/gtk!5647
2023-03-14 05:03:13 +00:00
Matthias Clasen
dcc6cb8f1c
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.
2023-03-14 05:36:08 +01:00
Matthias Clasen
0c1ec82a74
gtk4-demo: Add a tooltip to image scaling
...
Show some information about the values.
2023-03-14 05:36:08 +01:00
Matthias Clasen
3eb9afb0ca
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.
2023-03-14 05:36:08 +01:00
Jürgen Benvenuti
36037a2ee8
Update German translation
2023-03-13 18:30:32 +00:00
Bilal Elmoussaoui
23408f6dbf
GLTexture: Add GL_RGB format support
2023-03-13 13:59:17 +00:00
Matthias Clasen
413abef01d
Merge branch 'more-scaled-texture-fixes' into 'main'
...
Fix gtk_snapshot_append_scaled_texture
See merge request GNOME/gtk!5638
2023-03-13 08:58:58 +00:00
Matthias Clasen
4f8743a537
Merge branch 'matthiasc/for-main' into 'main'
...
gtk4-demo: Fix rotation handling in image scaling
See merge request GNOME/gtk!5643
2023-03-13 07:55:52 +00:00
Matthias Clasen
e24d4ba5db
gtk4-demo: Use gtk_snapshot_append_scaled_texture
2023-03-13 08:54:13 +01:00
Matthias Clasen
118361a085
Fix gtk_snapshot_append_scaled_texture
...
This was doing the wrong thing with transforms.
2023-03-13 08:45:12 +01:00
Matthias Clasen
7bdb146473
docs: Details about texture scale nodes
...
Add some more details about filtering, to
clarify things a bit.
2023-03-13 08:38:58 +01:00
Matthias Clasen
517b4d584c
gtk4-demo: Scale logarithmically in image scaling
2023-03-13 08:21:10 +01:00
Matthias Clasen
88d9244b98
gtk4-demo: Fix rotation handling in image scaling
...
We weren't sizing the widget correctly in rotated
cases.
2023-03-13 08:11:29 +01:00
Hugo Carvalho
fb4ae235a5
Update Portuguese translation
2023-03-13 00:06:26 +00:00
Fran Dieguez
b7c5c04c65
Update Galician translation
2023-03-12 23:19:49 +00:00
Aurimas Černius
bea38c1b4b
Update Lithuanian translation
2023-03-12 20:01:39 +00:00
Alexander Shopov
d5a36a718f
Update Bulgarian translation
2023-03-12 18:36:38 +00:00
Ask Hjorth Larsen
1c785f512f
Updated Danish translation
2023-03-12 16:24:18 +01:00
Matthias Clasen
bc65b96e9c
Merge branch 'matthiasc/for-main' into 'main'
...
gtk-demo: Add rotation to the scaling demo
Closes #5659
See merge request GNOME/gtk!5641
2023-03-12 10:20:04 +00:00
Asier Sarasua Garmendia
943851ab64
Update Basque translation
2023-03-12 09:35:14 +00:00
Matthias Clasen
352b8cb70e
columnview: Be more defensive
...
I am not sure how we can have no listitem here,
but better to be safe than sorry.
Fixes : #5659
2023-03-12 08:25:58 +01:00
Matthias Clasen
dc50c790c5
gtk-demo: Add rotation to the scaling demo
...
Closing in on eog :)
2023-03-12 08:25:58 +01:00
Sabri Ünal
6dd273c3f1
Update Turkish translation
2023-03-11 16:03:32 +00:00
Anders Jonsson
bc397b047e
Update Swedish translation
2023-03-11 15:47:38 +00:00
Piotr Drąg
80f3fe4031
Update Polish translation
2023-03-11 15:14:42 +01:00
Matthias Clasen
6f0976bace
Merge branch 'matthiasc/for-main' into 'main'
...
inspector: Force a full redraw for debug nodes
See merge request GNOME/gtk!5640
2023-03-11 11:56:23 +00:00
Matthias Clasen
61ad0147bd
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.
2023-03-11 12:43:38 +01:00
Matthias Clasen
582e74737c
Merge branch 'matthiasc/for-main' into 'main'
...
themes: Avoid ':' in custom target names
Closes #5280
See merge request GNOME/gtk!5639
2023-03-11 10:21:13 +00:00
Matthias Clasen
aafe8f4b38
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
2023-03-11 11:03:43 +01:00
Marek Černocký
2d695b6dcc
Update Czech translation
2023-03-11 08:52:49 +00:00
Ekaterine Papava
3a423749e2
Update Georgian translation
2023-03-11 05:39:09 +00:00
Benjamin Otte
97d53b1e86
Merge branch 'wip/otte/rendernode-export' into 'main'
...
rendernode: Register SVG serializer
See merge request GNOME/gtk!5637
2023-03-11 00:26:18 +00:00
Balázs Úr
50d7727881
Update Hungarian translation
2023-03-10 23:47:38 +00:00
Matthias Clasen
d564549f65
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
2023-03-10 23:40:50 +00:00
Matthias Clasen
bf1a5d99cf
Merge branch 'cache-scaled-texture' into 'main'
...
gsk: Cache scaled texture
Closes #5642
See merge request GNOME/gtk!5633
2023-03-10 23:38:50 +00:00
Benjamin Otte
7c96003471
node-editor: Add more export options
...
Auto-detect tiff and svg and if those are chosen, save to that format.
2023-03-11 00:08:44 +01:00
Benjamin Otte
fc74eed425
rendernode: Register PNG serializer
...
This allows dropping or copy/pasting rendernodes into apps that accept
images.
2023-03-11 00:08:44 +01:00
Matthias Clasen
89d131de56
gtk4-demo: Add tooltips to the menu demo
...
Not great UI, but better than nothing.
2023-03-11 00:07:07 +01:00
Matthias Clasen
a35dc8dda6
Rename the menu demo
...
At this point, the Menu demo is more about scaling images
than about menus, so rename it to Image Scaling.
2023-03-11 00:03:05 +01:00
Benjamin Otte
0db9677b3a
rendernode: Register SVG serializer
...
This allows dropping or copy/pasting rendernodes into apps that accept
SVGs.
Not sure how useful this is because we advertise text/plain from
rendernodes already and we prefer that.
2023-03-10 23:53:50 +01:00
Matthias Clasen
f00659d97f
gtk-demo: Add a file chooser to the menu demo
...
So we can try this with bigger images.
2023-03-10 23:51:17 +01:00
Jonas Ådahl
f2a0a8b8be
x11/surface: Clear compute_size idle source also when destroying
...
Doing it on hide() is not enough, since in some edge cases we didn't
ever actually map, we just attempted to compute the size, e.g. in
response to a ConfigureNotify event, then the window was destroyed.
Related: https://gitlab.gnome.org/GNOME/mutter/-/issues/2678
2023-03-10 23:34:50 +01:00
Matthias Clasen
0f02040292
gsk: Cache scaled texture
...
Keep the texture we create for texture scale nodes.
Fixes : #5642
2023-03-10 21:09:27 +01:00