gtk4.git
2 years agoVerbiage Change
Emmanuele Bassi [Mon, 27 Feb 2023 16:32:35 +0000 (16:32 +0000)]
Verbiage Change

2 years agoUpdate docs/reference/gtk/getting_started.md
Bobby Neal [Sun, 26 Feb 2023 17:04:17 +0000 (17:04 +0000)]
Update docs/reference/gtk/getting_started.md

2 years agoUpdate Portuguese translation
Hugo Carvalho [Sun, 26 Feb 2023 16:20:29 +0000 (16:20 +0000)]
Update Portuguese translation

2 years agoMerge branch 'pickers-demo-dnd' into 'main'
Matthias Clasen [Sun, 26 Feb 2023 13:44:30 +0000 (13:44 +0000)]
Merge branch 'pickers-demo-dnd' into 'main'

gtk4-demo: Accept file dnd in the pickers demo

See merge request GNOME/gtk!5556

2 years agogtk4-demo: Accept file dnd in the pickers demo
Matthias Clasen [Thu, 23 Feb 2023 19:44:52 +0000 (14:44 -0500)]
gtk4-demo: Accept file dnd in the pickers demo

Easy to add and expected of a file picker.

2 years agoUpdate Bulgarian translation
Alexander Shopov [Sun, 26 Feb 2023 08:48:06 +0000 (08:48 +0000)]
Update Bulgarian translation

2 years agoUpdate Swedish translation
Anders Jonsson [Sat, 25 Feb 2023 21:57:36 +0000 (21:57 +0000)]
Update Swedish translation

2 years agoMerge branch 'ebassi/button-no-check' into 'main'
Matthias Clasen [Sat, 25 Feb 2023 13:41:52 +0000 (13:41 +0000)]
Merge branch 'ebassi/button-no-check' into 'main'

Remove unused code in GtkButton

See merge request GNOME/gtk!5553

2 years agoRemove unused code in GtkButton
Emmanuele Bassi [Fri, 24 Feb 2023 12:10:52 +0000 (12:10 +0000)]
Remove unused code in GtkButton

GtkButton still has some code checking if the instance passed to
gtk_button_set_label() is a GtkCheckButton; GtkCheckButton is not a
GtkButton any more.

2 years agoUpdate Hebrew translation
Yosef Or Boczko [Fri, 24 Feb 2023 09:57:37 +0000 (09:57 +0000)]
Update Hebrew translation

2 years agoMerge branch 'mcatanzaro/#5619' into 'main'
Matthias Clasen [Thu, 23 Feb 2023 16:24:06 +0000 (16:24 +0000)]
Merge branch 'mcatanzaro/#5619' into 'main'

filesystemmodel: fix crash when file is removed

Closes #5619

See merge request GNOME/gtk!5550

2 years agoMerge branch 'add_toggle_button_role' into 'main'
Emmanuele Bassi [Thu, 23 Feb 2023 15:22:16 +0000 (15:22 +0000)]
Merge branch 'add_toggle_button_role' into 'main'

a11y: Introduce a dedicated role for toggle buttons

See merge request GNOME/gtk!5549

2 years agofilesystemmodel: fix crash when file is removed
Michael Catanzaro [Thu, 23 Feb 2023 15:20:03 +0000 (09:20 -0600)]
filesystemmodel: fix crash when file is removed

In 32247bc50e63b709ae738a95a2ec71345b5fad75 node_get_for_file() was
changed to return GTK_INVALID_LIST_POSITION rather than 0 when the file
is untracked. Most call sites were updated accordingly, but this one was
missed.

Fixes #5619

2 years agoUse the correct role for GtkToggleButton
Lukáš Tyrychtr [Thu, 23 Feb 2023 14:02:29 +0000 (15:02 +0100)]
Use the correct role for GtkToggleButton

2 years agoa11y: Introduce a dedicated role for toggle buttons
Lukáš Tyrychtr [Thu, 23 Feb 2023 13:22:20 +0000 (14:22 +0100)]
a11y: Introduce a dedicated role for toggle buttons

Up until now, toggle buttons were presented as regular push buttons.
That's the approach used by the ARIA specification, however, our platform
accessibility backend, at-spi2, can not represent accessibe states with values,
so we can not represent the design pattern precisely enough for screen readers.
If, in future, the a11y backends gain this capability, we might consider again
removing this role.

2 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Thu, 23 Feb 2023 01:03:41 +0000 (01:03 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

gtk-demo: Fix the shortcuts-window demo

See merge request GNOME/gtk!5548

2 years agogtk-demo: Fix the shortcuts-window demo
Matthias Clasen [Wed, 22 Feb 2023 19:55:56 +0000 (14:55 -0500)]
gtk-demo: Fix the shortcuts-window demo

Presenting the shortcutswindow got lost
in fb8e52f0c957fa7. Oops.

2 years agoUpdate Galician translation
Fran Dieguez [Wed, 22 Feb 2023 17:23:21 +0000 (17:23 +0000)]
Update Galician translation

2 years agoUpdate Turkish translation
Sabri Ünal [Wed, 22 Feb 2023 11:41:36 +0000 (11:41 +0000)]
Update Turkish translation

2 years agoUpdate German translation
Philipp Kiemle [Wed, 22 Feb 2023 10:34:50 +0000 (10:34 +0000)]
Update German translation

2 years agoMerge branch 'improve_gtknotebook_a11y' into 'main'
Matthias Clasen [Tue, 21 Feb 2023 16:48:28 +0000 (16:48 +0000)]
Merge branch 'improve_gtknotebook_a11y' into 'main'

GtkNotebook: Improve the labels of notebook pages for a11y

See merge request GNOME/gtk!5546

2 years agoGtkNotebook: Improve the labels of notebook pages for a11y
Lukáš Tyrychtr [Tue, 21 Feb 2023 14:13:11 +0000 (15:13 +0100)]
GtkNotebook: Improve the labels of notebook pages for a11y

2 years agoUpdated Spanish translation
Daniel [Tue, 21 Feb 2023 11:07:49 +0000 (12:07 +0100)]
Updated Spanish translation

2 years agoMerge branch 'main' into 'main'
Emmanuele Bassi [Mon, 20 Feb 2023 21:30:05 +0000 (21:30 +0000)]
Merge branch 'main' into 'main'

button: Remove nullable annotation for new_from_icon_name()

Closes #5606

See merge request GNOME/gtk!5544

2 years agobutton: Remove nullable annotation for new_from_icon_name()
Philipp Hörist [Mon, 20 Feb 2023 19:32:06 +0000 (20:32 +0100)]
button: Remove nullable annotation for new_from_icon_name()

This makes it more consistent with set_icon_name() which
does also not accept NULL.

Fixes #5606

2 years agoMerge branch 'builder-tool-child-properties' into 'main'
Matthias Clasen [Mon, 20 Feb 2023 13:12:27 +0000 (13:12 +0000)]
Merge branch 'builder-tool-child-properties' into 'main'

gtk4-builder-tool: Prefer child properties

Closes #5609

See merge request GNOME/gtk!5543

2 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Mon, 20 Feb 2023 13:04:33 +0000 (13:04 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

filechooser: Fix paned limits

See merge request GNOME/gtk!5542

2 years agogtk4-builder-tool: Prefer child properties
Matthias Clasen [Mon, 20 Feb 2023 02:47:10 +0000 (21:47 -0500)]
gtk4-builder-tool: Prefer child properties

Rewrite <child> elements to use child properties
where that is easily possible.

Fixes: #5609
2 years agoUpdate Indonesian translation
Kukuh Syafaat [Mon, 20 Feb 2023 01:20:48 +0000 (01:20 +0000)]
Update Indonesian translation

2 years agofilechooser: Fix paned limits
Matthias Clasen [Mon, 20 Feb 2023 00:12:30 +0000 (19:12 -0500)]
filechooser: Fix paned limits

The intention of the ui file was to not let
the paned shrink both children down to nothing,
but using <child> for the children effectively
overrides the setting of the shrink properties.
Fix that by using child properties instead of
<child>.

2 years agoMerge branch 'builder-tool-template-parent' into 'main'
Matthias Clasen [Mon, 20 Feb 2023 00:05:06 +0000 (00:05 +0000)]
Merge branch 'builder-tool-template-parent' into 'main'

builder-tool: Try harder to find template parents

Closes #5232

See merge request GNOME/gtk!5541

2 years agobuilder-tool: Try harder to find template parents
Matthias Clasen [Sun, 19 Feb 2023 18:07:16 +0000 (13:07 -0500)]
builder-tool: Try harder to find template parents

This will make it work (in some cases) to add extra
libraries via LD_PRELOAD.

Based on work by Julian Sparber,
https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5084

Fixes: #5232
2 years agoUpdate Basque translation
Asier Sarasua Garmendia [Sun, 19 Feb 2023 20:44:24 +0000 (20:44 +0000)]
Update Basque translation

2 years agoUpdate Ukrainian translation
Yuri Chornoivan [Sun, 19 Feb 2023 20:23:35 +0000 (20:23 +0000)]
Update Ukrainian translation

2 years agoUpdate Lithuanian translation
Aurimas Černius [Sun, 19 Feb 2023 19:06:03 +0000 (19:06 +0000)]
Update Lithuanian translation

2 years agoMerge branch 'texturescalenode-type-annotations' into 'main'
Emmanuele Bassi [Sun, 19 Feb 2023 17:18:01 +0000 (17:18 +0000)]
Merge branch 'texturescalenode-type-annotations' into 'main'

Fix self-`(type)` annotations for `TextureScaleNode` methods

See merge request GNOME/gtk!5539

2 years agoFix self-`(type)` annotations for `TextureScaleNode` methods
Sebastian Dröge [Sun, 19 Feb 2023 17:00:34 +0000 (19:00 +0200)]
Fix self-`(type)` annotations for `TextureScaleNode` methods

2 years agoMerge branch 'fix_custom_accessible_hierarchy' into 'main'
Matthias Clasen [Sun, 19 Feb 2023 16:15:49 +0000 (16:15 +0000)]
Merge branch 'fix_custom_accessible_hierarchy' into 'main'

Allow setting accessible parent and next sibling

See merge request GNOME/gtk!5517

2 years agoFix the build
Matthias Clasen [Sun, 19 Feb 2023 15:26:27 +0000 (15:26 +0000)]
Fix the build

2 years agoMiscellaneous formatting and documentation fixes
Matthias Clasen [Sun, 19 Feb 2023 15:09:25 +0000 (15:09 +0000)]
Miscellaneous formatting and documentation fixes

2 years agoMerge branch 'missing-since-markers' into 'main'
Matthias Clasen [Sun, 19 Feb 2023 14:56:51 +0000 (14:56 +0000)]
Merge branch 'missing-since-markers' into 'main'

Add two missing `Since` markers

See merge request GNOME/gtk!5537

2 years agoAdd two missing `Since` markers
Sebastian Dröge [Sun, 19 Feb 2023 09:18:15 +0000 (11:18 +0200)]
Add two missing `Since` markers

2 years agoUpdate Georgian translation
Ekaterine Papava [Sun, 19 Feb 2023 05:48:04 +0000 (05:48 +0000)]
Update Georgian translation

2 years agoMerge branch 'wip/otte/for-main' into 'main'
Benjamin Otte [Sun, 19 Feb 2023 05:33:59 +0000 (05:33 +0000)]
Merge branch 'wip/otte/for-main' into 'main'

listview: Measure children only, not self

See merge request GNOME/gtk!5535

2 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Sun, 19 Feb 2023 05:01:53 +0000 (05:01 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

Drop some unnecessary includes

See merge request GNOME/gtk!5536

2 years agoDrop some unnecessary includes
Matthias Clasen [Sun, 19 Feb 2023 03:54:45 +0000 (22:54 -0500)]
Drop some unnecessary includes

2 years agolistview: Measure children only, not self
Benjamin Otte [Sun, 19 Feb 2023 03:55:33 +0000 (04:55 +0100)]
listview: Measure children only, not self

The previous code would include CSS padding/margin/border in the
measurement and that is wrong.

Until commit a96c75ff02 this was not actually visible, but afterwards
listitems were allocated 16px too wide.

Test included

2 years agoRevert "Merge branch 'inscription-single-line' into 'main'"
Matthias Clasen [Sun, 19 Feb 2023 00:00:10 +0000 (19:00 -0500)]
Revert "Merge branch 'inscription-single-line' into 'main'"

This reverts commit 7ec90abf2473a3ba0fd9d0f0eda8b2f3f9b2f915, reversing
changes made to ec49a912aa855eb8064a4bbaf7a2d311c4cdf83a.

We did not have agreement on this after all.

2 years agoMerge branch 'inscription-single-line' into 'main'
Matthias Clasen [Sat, 18 Feb 2023 23:34:17 +0000 (23:34 +0000)]
Merge branch 'inscription-single-line' into 'main'

inscription: Add single-line-mode property

Closes #5444

See merge request GNOME/gtk!5504

2 years agoMerge branch 'wip/carlosg/dnd-x11-keys' into 'main'
Matthias Clasen [Sat, 18 Feb 2023 22:20:30 +0000 (22:20 +0000)]
Merge branch 'wip/carlosg/dnd-x11-keys' into 'main'

gdk/x11: Also grab keyboard during XDnD grabs

Closes #5604

See merge request GNOME/gtk!5533

2 years agogdk/x11: Also grab keyboard during XDnD grabs
Carlos Garnacho [Sat, 18 Feb 2023 22:02:22 +0000 (23:02 +0100)]
gdk/x11: Also grab keyboard during XDnD grabs

The drag source must handle events and messaging, this also
includes keyboard handling for accessibility and cancellation.

Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/5604
2 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Sat, 18 Feb 2023 21:10:16 +0000 (21:10 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

gtksearchentry: Apply header capitalization to the "Clear entry" tooltip

See merge request GNOME/gtk!5532

2 years agogtksearchentry: Apply header capitalization to the "Clear entry" tooltip
Automeris naranja [Sun, 12 Feb 2023 20:38:24 +0000 (17:38 -0300)]
gtksearchentry: Apply header capitalization to the "Clear entry" tooltip

HIG advises to use header capitalization in tooltip texts.

https://developer.gnome.org/hig/patterns/feedback/tooltips.html

2 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Sat, 18 Feb 2023 17:21:15 +0000 (17:21 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

securememory: use function checks

Closes #5070

See merge request GNOME/gtk!5531

2 years agogtk-demo: Fix build without sincos
Matthias Clasen [Sat, 18 Feb 2023 15:00:10 +0000 (10:00 -0500)]
gtk-demo: Fix build without sincos

We are getting into trouble here if
sincos isn't detected but still present
in headers. Avoid that.

Also fix the other copy of gtkgears.c.

2 years agomeson: Consolidate function checks
Matthias Clasen [Sat, 18 Feb 2023 14:37:36 +0000 (09:37 -0500)]
meson: Consolidate function checks

Put all the function checks in one place.
Remove functions we don't actually use,
and add ones that we have #ifdefs for in
in the code. Also add enough includes to
make these checks actually work.

Fixes: #5070
2 years agosecurememory: use function checks
Matthias Clasen [Sat, 18 Feb 2023 14:34:50 +0000 (09:34 -0500)]
securememory: use function checks

Checking for getpagesize in meson.build is
useless if we don't check the resulting define
in the code. So do that.

2 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Fri, 17 Feb 2023 22:39:04 +0000 (22:39 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

printing: Avoid getrandom

See merge request GNOME/gtk!5530

2 years agoprinting: Avoid getrandom
Matthias Clasen [Fri, 17 Feb 2023 20:40:45 +0000 (15:40 -0500)]
printing: Avoid getrandom

GLib has perfectly serviceable random number
apis, and this breaks the macOs build.

2 years agoMerge branch 'scalebutton-active-since-marker' into 'main'
Matthias Clasen [Fri, 17 Feb 2023 19:54:03 +0000 (19:54 +0000)]
Merge branch 'scalebutton-active-since-marker' into 'main'

Add missing `Since` marker to `GtkScaleButton:active`

See merge request GNOME/gtk!5529

2 years agoAdd missing `Since` marker to `GtkScaleButton:active`
Sebastian Dröge [Fri, 17 Feb 2023 17:41:55 +0000 (19:41 +0200)]
Add missing `Since` marker to `GtkScaleButton:active`

2 years agoMerge branch 'ebassi/ci-update-v41' into 'main'
Emmanuele Bassi [Fri, 17 Feb 2023 12:55:50 +0000 (12:55 +0000)]
Merge branch 'ebassi/ci-update-v41' into 'main'

ci: Update image

See merge request GNOME/gtk!5528

2 years agoci: Add no-cache option to run-docker.sh script
Emmanuele Bassi [Fri, 17 Feb 2023 11:33:44 +0000 (11:33 +0000)]
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.

2 years agoci: Update image
Emmanuele Bassi [Fri, 17 Feb 2023 11:33:11 +0000 (11:33 +0000)]
ci: Update image

Refresh the Fedora base (still at 37), and add the Python packaging
module for gi-docgen.

2 years agoMerge branch 'matthiasc/for-main' into 'main'
Emmanuele Bassi [Fri, 17 Feb 2023 12:23:36 +0000 (12:23 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

mask: Fix glsl

See merge request GNOME/gtk!5527

2 years agomask: Fix glsl
Matthias Clasen [Fri, 17 Feb 2023 11:26:42 +0000 (06:26 -0500)]
mask: Fix glsl

2 years agoMerge branch 'wip/fix-mask-modes-regression' into 'main'
Matthias Clasen [Fri, 17 Feb 2023 11:25:06 +0000 (11:25 +0000)]
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

2 years agowayland: Clean up some dead code
Jonas Ådahl [Fri, 17 Feb 2023 11:03:58 +0000 (12:03 +0100)]
wayland: Clean up some dead code

2 years agowayland/glcontext: Don't call wl_surface.offset on old objects
Jonas Ådahl [Fri, 17 Feb 2023 10:59:14 +0000 (11:59 +0100)]
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")
2 years agoMerge branch 'test-invisible-text' into 'main'
Matthias Clasen [Fri, 17 Feb 2023 03:01:42 +0000 (03:01 +0000)]
Merge branch 'test-invisible-text' into 'main'

Add a test for invisible text navigation

See merge request GNOME/gtk!5525

2 years agoAdd a test for invisible text navigation
Matthias Clasen [Thu, 16 Feb 2023 19:27:44 +0000 (14:27 -0500)]
Add a test for invisible text navigation

This shows that (at least some) things
work as expected.

See: #1811

2 years agoUpdate German translation
Jürgen Benvenuti [Thu, 16 Feb 2023 17:18:16 +0000 (17:18 +0000)]
Update German translation

2 years agoMerge branch 'nielsdg/set-action-enabled-doc-ref' into 'main'
Matthias Clasen [Thu, 16 Feb 2023 11:24:15 +0000 (11:24 +0000)]
Merge branch 'nielsdg/set-action-enabled-doc-ref' into 'main'

widget: mention action_set_enabled in install_action

See merge request GNOME/gtk!5524

2 years agowidget: mention action_set_enabled in install_action
Niels De Graef [Thu, 16 Feb 2023 07:47:06 +0000 (08:47 +0100)]
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.

2 years agoMerge branch 'alatiera/flatpak-ci' into 'main'
Matthias Clasen [Wed, 15 Feb 2023 19:54:32 +0000 (19:54 +0000)]
Merge branch 'alatiera/flatpak-ci' into 'main'

ci: Build and publish aarch64 flatpaks

Closes #5594

See merge request GNOME/gtk!5523

2 years agoci: Add a simple auto-retry policy
Jordan Petridis [Wed, 15 Feb 2023 19:38:24 +0000 (21:38 +0200)]
ci: Add a simple auto-retry policy

2 years agoci: Build and publish aarch64 flatpaks
Jordan Petridis [Wed, 15 Feb 2023 19:18:56 +0000 (21:18 +0200)]
ci: Build and publish aarch64 flatpaks

Close GNOME/gtk#5594

2 years agoci: Switch from only/except to rules: keyword
Jordan Petridis [Wed, 15 Feb 2023 19:10:40 +0000 (21:10 +0200)]
ci: Switch from only/except to rules: keyword

It's more flexible and allows us to combine the flatpak jobs

2 years agoMerge branch 'fix-annotations' into 'main'
Emmanuele Bassi [Wed, 15 Feb 2023 16:27:11 +0000 (16:27 +0000)]
Merge branch 'fix-annotations' into 'main'

Fix a couple incorrect annotations for optional parameters

See merge request GNOME/gtk!5503

2 years agoAllow updating the next accessible sibling for a GtkAccessible
Lukáš Tyrychtr [Wed, 15 Feb 2023 11:29:16 +0000 (12:29 +0100)]
Allow updating the next accessible sibling for a GtkAccessible

2 years agoMerge branch 'more-mask-modes' into 'main'
Matthias Clasen [Wed, 15 Feb 2023 03:54:01 +0000 (03:54 +0000)]
Merge branch 'more-mask-modes' into 'main'

rendernodeparser: Fix mask mode handling

See merge request GNOME/gtk!5522

2 years agogsk: Add a node parser test for mask modes
Matthias Clasen [Wed, 15 Feb 2023 01:28:02 +0000 (20:28 -0500)]
gsk: Add a node parser test for mask modes

2 years agogsk: Add a render test for mask modes
Matthias Clasen [Wed, 15 Feb 2023 01:26:17 +0000 (20:26 -0500)]
gsk: Add a render test for mask modes

2 years agoMake make not fallback match GL
Matthias Clasen [Wed, 15 Feb 2023 02:46:58 +0000 (21:46 -0500)]
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.

2 years agorendernodeparser: Fix mask mode handling
Matthias Clasen [Wed, 15 Feb 2023 01:25:01 +0000 (20:25 -0500)]
rendernodeparser: Fix mask mode handling

I had forgotten inverted-luminance, and also
to print an error.

2 years agorendernodeparser: Print an error when failing to parse an enum
Benjamin Otte [Mon, 13 Feb 2023 06:51:59 +0000 (07:51 +0100)]
rendernodeparser: Print an error when failing to parse an enum

2 years agoMerge branch 'mask-modes' into 'main'
Matthias Clasen [Wed, 15 Feb 2023 00:57:17 +0000 (00:57 +0000)]
Merge branch 'mask-modes' into 'main'

Make mask nodes more versatile

See merge request GNOME/gtk!5521

2 years agoMerge branch 'wip/cdavis/menubutton-active' into 'main'
Matthias Clasen [Wed, 15 Feb 2023 00:44:17 +0000 (00:44 +0000)]
Merge branch 'wip/cdavis/menubutton-active' into 'main'

menubutton: Add `active` property and getter/setter

See merge request GNOME/gtk!5506

2 years agoMerge branch 'wip/otte/downloader' into 'main'
Matthias Clasen [Wed, 15 Feb 2023 00:41:26 +0000 (00:41 +0000)]
Merge branch 'wip/otte/downloader' into 'main'

Add GdkTextureDownloader

See merge request GNOME/gtk!5515

2 years agoMerge branch 'wip/otte/disable-style-check' into 'main'
Matthias Clasen [Wed, 15 Feb 2023 00:36:53 +0000 (00:36 +0000)]
Merge branch 'wip/otte/disable-style-check' into 'main'

CI: Don't run style-check-diff by default

See merge request GNOME/gtk!5520

2 years agodemo: Spice up the mask demo
Benjamin Otte [Tue, 14 Feb 2023 19:16:15 +0000 (20:16 +0100)]
demo: Spice up the mask demo

Also use all the mask modes, weeeee!

2 years agoDocument mask node parser format
Matthias Clasen [Tue, 14 Feb 2023 23:36:43 +0000 (18:36 -0500)]
Document mask node parser format

2 years agoAdd more mask node tests
Matthias Clasen [Wed, 15 Feb 2023 00:04:34 +0000 (19:04 -0500)]
Add more mask node tests

2 years agoMake mask nodes more versatile
Matthias Clasen [Tue, 14 Feb 2023 18:44:39 +0000 (13:44 -0500)]
Make mask nodes more versatile

Add a GskMaskMode enumeration and implement it
in the GL and cairo renderers.

2 years agoCI: Don't run style-check-diff by default
Benjamin Otte [Tue, 14 Feb 2023 23:53:02 +0000 (23:53 +0000)]
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.

2 years agoMerge branch 'fix_4258' into 'main'
Matthias Clasen [Tue, 14 Feb 2023 23:50:18 +0000 (23:50 +0000)]
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

2 years agoDon't tell the screen reader that a button is related to an image which has no useful...
Lukáš Tyrychtr [Tue, 14 Feb 2023 23:50:18 +0000 (23:50 +0000)]
Don't tell the screen reader that a button is related to an image which has no useful label

2 years agoMerge branch 'cpdb' into 'main'
Matthias Clasen [Tue, 14 Feb 2023 23:48:43 +0000 (23:48 +0000)]
Merge branch 'cpdb' into 'main'

Update dependencies for CPDB print backend

Closes #5589

See merge request GNOME/gtk!5518

2 years agomemorytexture: Export less private API
Benjamin Otte [Tue, 14 Feb 2023 06:45:52 +0000 (07:45 +0100)]
memorytexture: Export less private API

It's not needed anymore with GdkTextureDownloader now.

2 years agoglrenderer: Use GdkTexureDownloader
Benjamin Otte [Tue, 14 Feb 2023 06:41:11 +0000 (07:41 +0100)]
glrenderer: Use GdkTexureDownloader