Emmanuele Bassi
ec7b1f7208
ci: Add no-cache option to run-docker.sh script
...
Use `run-docker.sh build --no-cache` to discard the cached layers if you
need to rebuild the image without modifying the Dockerfile.
2023-02-17 12:24:09 +00:00
Emmanuele Bassi
864fbf89cd
ci: Update image
...
Refresh the Fedora base (still at 37), and add the Python packaging
module for gi-docgen.
2023-02-17 12:24:09 +00:00
Emmanuele Bassi
b8e928d703
Merge branch 'matthiasc/for-main' into 'main'
...
mask: Fix glsl
See merge request GNOME/gtk!5527
2023-02-17 12:23:36 +00:00
Matthias Clasen
0b4d41698b
mask: Fix glsl
2023-02-17 06:26:42 -05:00
Matthias Clasen
a9eca60b84
Merge branch 'wip/fix-mask-modes-regression' into 'main'
...
wayland/glcontext: Don't call wl_surface.offset on old objects
See merge request GNOME/gtk!5526
2023-02-17 11:25:06 +00:00
Jonas Ådahl
53c3f497f1
wayland: Clean up some dead code
2023-02-17 12:03:58 +01:00
Jonas Ådahl
3183a21347
wayland/glcontext: Don't call wl_surface.offset on old objects
...
The availability of wl_surface.offset depends on the compositor, so we
can't call it unconditionally. Add a version check to so we only call
offset if we know we won't raise a protocol error.
Fixes: 0eb791eaaa
("Make mask nodes more versatile")
2023-02-17 12:03:27 +01:00
Matthias Clasen
07f090f947
Merge branch 'test-invisible-text' into 'main'
...
Add a test for invisible text navigation
See merge request GNOME/gtk!5525
2023-02-17 03:01:42 +00:00
Matthias Clasen
ad111087cc
Add a test for invisible text navigation
...
This shows that (at least some) things
work as expected.
See: #1811
2023-02-16 14:27:44 -05:00
Jürgen Benvenuti
5092581be8
Update German translation
2023-02-16 17:18:16 +00:00
Matthias Clasen
b261f7f533
Merge branch 'nielsdg/set-action-enabled-doc-ref' into 'main'
...
widget: mention action_set_enabled in install_action
See merge request GNOME/gtk!5524
2023-02-16 11:24:15 +00:00
Niels De Graef
779f9e5071
widget: mention action_set_enabled in install_action
...
When looking at `gtk_widget_class_install_action()`, it isn't
immediately obvious how actions can be enabled or disabled. Add a
reference to the `gtk_widget_action_set_enabled()` method so people have
a quick link to that.
2023-02-16 08:47:06 +01:00
Matthias Clasen
b07d9d1912
Merge branch 'alatiera/flatpak-ci' into 'main'
...
ci: Build and publish aarch64 flatpaks
Closes #5594
See merge request GNOME/gtk!5523
2023-02-15 19:54:32 +00:00
Jordan Petridis
7b4692bcb0
ci: Add a simple auto-retry policy
2023-02-15 21:38:24 +02:00
Jordan Petridis
f0a2b6f165
ci: Build and publish aarch64 flatpaks
...
Close GNOME/gtk#5594
2023-02-15 21:19:56 +02:00
Jordan Petridis
2dc6efd9ce
ci: Switch from only/except to rules: keyword
...
It's more flexible and allows us to combine the flatpak jobs
2023-02-15 21:10:40 +02:00
Emmanuele Bassi
1f4adb60bb
Merge branch 'fix-annotations' into 'main'
...
Fix a couple incorrect annotations for optional parameters
See merge request GNOME/gtk!5503
2023-02-15 16:27:11 +00:00
Matthias Clasen
1bdb368e8b
Merge branch 'more-mask-modes' into 'main'
...
rendernodeparser: Fix mask mode handling
See merge request GNOME/gtk!5522
2023-02-15 03:54:01 +00:00
Matthias Clasen
aec4bfcf3b
gsk: Add a node parser test for mask modes
2023-02-14 21:47:54 -05:00
Matthias Clasen
7e18c2849b
gsk: Add a render test for mask modes
2023-02-14 21:47:54 -05:00
Matthias Clasen
351abadee7
Make make not fallback match GL
...
We were not handling the inverted-luminance
case the same way, and it caused a test to
fail. Yay for tests.
2023-02-14 21:47:54 -05:00
Matthias Clasen
951db28f71
rendernodeparser: Fix mask mode handling
...
I had forgotten inverted-luminance, and also
to print an error.
2023-02-14 21:01:12 -05:00
Benjamin Otte
40e7a265a7
rendernodeparser: Print an error when failing to parse an enum
2023-02-14 21:01:12 -05:00
Matthias Clasen
9a539cec57
Merge branch 'mask-modes' into 'main'
...
Make mask nodes more versatile
See merge request GNOME/gtk!5521
2023-02-15 00:57:17 +00:00
Matthias Clasen
724cf6bd70
Merge branch 'wip/cdavis/menubutton-active' into 'main'
...
menubutton: Add `active` property and getter/setter
See merge request GNOME/gtk!5506
2023-02-15 00:44:17 +00:00
Matthias Clasen
5e4b43dcce
Merge branch 'wip/otte/downloader' into 'main'
...
Add GdkTextureDownloader
See merge request GNOME/gtk!5515
2023-02-15 00:41:26 +00:00
Matthias Clasen
fa43282695
Merge branch 'wip/otte/disable-style-check' into 'main'
...
CI: Don't run style-check-diff by default
See merge request GNOME/gtk!5520
2023-02-15 00:36:53 +00:00
Benjamin Otte
662c251cd0
demo: Spice up the mask demo
...
Also use all the mask modes, weeeee!
2023-02-14 19:07:01 -05:00
Matthias Clasen
0d97d03fc1
Document mask node parser format
2023-02-14 19:07:01 -05:00
Matthias Clasen
cb0aaf0b2c
Add more mask node tests
2023-02-14 19:07:01 -05:00
Matthias Clasen
0eb791eaaa
Make mask nodes more versatile
...
Add a GskMaskMode enumeration and implement it
in the GL and cairo renderers.
2023-02-14 19:07:01 -05:00
Benjamin Otte
073c836f96
CI: Don't run style-check-diff by default
...
We don't use it most of the time and it's also confusing to new contributors who think it's important to fix it.
Keep it for manual runs, so that interested people can just click a button to see the results. It also makes it easy to turn back on later.
2023-02-14 23:53:02 +00:00
Matthias Clasen
0a0a03d913
Merge branch 'fix_4258' into 'main'
...
Don't tell the screen reader that a button is related to an image which has no useful label
Closes #4258
See merge request GNOME/gtk!4665
2023-02-14 23:50:18 +00:00
Lukáš Tyrychtr
d43724f5fc
Don't tell the screen reader that a button is related to an image which has no useful label
2023-02-14 23:50:18 +00:00
Matthias Clasen
abf3cdb187
Merge branch 'cpdb' into 'main'
...
Update dependencies for CPDB print backend
Closes #5589
See merge request GNOME/gtk!5518
2023-02-14 23:48:43 +00:00
Benjamin Otte
cca5de3c7f
memorytexture: Export less private API
...
It's not needed anymore with GdkTextureDownloader now.
2023-02-15 00:39:18 +01:00
Benjamin Otte
774696011d
glrenderer: Use GdkTexureDownloader
2023-02-15 00:39:18 +01:00
Benjamin Otte
c9f54ca371
texture: Export gdk_texture_get_format()
...
The API docs outline why quite well.
This should make it possible to do saving of textures to image files
without any private API with the same featureset that GTK uses.
Also remove the gsktextureprivate.h include where
gdk_texture_get_format() was the only reason for it.
2023-02-15 00:39:18 +01:00
Benjamin Otte
ce0123ea58
docs: Link from gdk_texture_download() to GdkTextureDownloader
2023-02-15 00:39:18 +01:00
Benjamin Otte
b30af72125
tiff: Use GdkTexureDownloader when saving
2023-02-15 00:39:18 +01:00
Benjamin Otte
eb45b8083a
png: Use GdkTexureDownloader when saving
2023-02-15 00:39:18 +01:00
Benjamin Otte
f05d801e28
jpeg: Use GdkTexureDownloader when saving
2023-02-15 00:39:18 +01:00
Benjamin Otte
4afec951c7
pixbuf: Use GdkTextureDownloader when downloading pixbufs
2023-02-15 00:39:18 +01:00
Benjamin Otte
51ed1442a2
gdk: Add GdkTextureDownloader
...
It's the new object that allows more control about accessing texture
data.
2023-02-15 00:39:18 +01:00
Benjamin Otte
01ff6c1c22
memorytexture: Use right size for GBytes
...
The GBytes were created with the wrong size.
Nobody seems to have looked at it.
2023-02-14 23:42:17 +01:00
Fran Dieguez
73f3ea9511
Update Galician translation
2023-02-14 20:04:07 +00:00
Emmanuele Bassi
f1311dc053
Merge branch 'gsk-render-node-type-abi-breakage' into 'main'
...
gsk: Move new 4.10 `GskRenderNodeType`s to the end instead of inserting them in the middle
See merge request GNOME/gtk!5519
2023-02-14 19:28:36 +00:00
Sebastian Dröge
a252aadadf
gsk: Move new 4.10 GskRenderNodeType
s to the end instead of inserting them in the middle
2023-02-14 21:04:41 +02:00
tinytrebuchet
300670dad4
Update dependencies for CPDB print backend
...
Require cpdb-frontend 2.x for building CPDB print backend.
2023-02-14 23:39:13 +05:30
Matthias Clasen
44c95d3c96
Merge branch 'kjellahl/clang' into 'main'
...
gskglrenderjob: Fix compilation with clang
See merge request GNOME/gtk!5516
2023-02-14 14:18:29 +00:00