gtk4.git
3 years agoreleasing package gtk4 version 4.6.0+ds1-4
Jeremy Bicha [Wed, 9 Feb 2022 18:26:16 +0000 (13:26 -0500)]
releasing package gtk4 version 4.6.0+ds1-4

3 years agoRevert "Add subprojects/gi-docgen to Files-Excluded"
Simon McVittie [Sun, 30 Jan 2022 15:38:20 +0000 (15:38 +0000)]
Revert "Add subprojects/gi-docgen to Files-Excluded"

Until we actually remove it (by importing an upstream version without
it), Policy says we need to keep its entries in d/copyright.

gi-docgen upstream also still says gi-docgen is not stable, and still
recommends vendoring it, so keep it included until that changes.

This reverts commit 93ed2478d3e12b429fe75b9e414d26906e04f17c.

3 years agoAdd subprojects/gi-docgen to Files-Excluded
Jeremy Bicha [Mon, 17 Jan 2022 02:18:41 +0000 (21:18 -0500)]
Add subprojects/gi-docgen to Files-Excluded

We can use the distro packaged version instead

3 years agoRelease to experimental
Simon McVittie [Sat, 8 Jan 2022 22:48:22 +0000 (22:48 +0000)]
Release to experimental

3 years agoSkip another known-failing test on mips*el
Simon McVittie [Sat, 8 Jan 2022 22:47:14 +0000 (22:47 +0000)]
Skip another known-failing test on mips*el

3 years agoRelease to experimental
Simon McVittie [Sat, 8 Jan 2022 18:40:29 +0000 (18:40 +0000)]
Release to experimental

3 years agod/rules: Rebuild CSS using sass
Simon McVittie [Sat, 8 Jan 2022 18:40:14 +0000 (18:40 +0000)]
d/rules: Rebuild CSS using sass

3 years agoUpdate changelog
Simon McVittie [Sat, 8 Jan 2022 18:36:42 +0000 (18:36 +0000)]
Update changelog

3 years agoDisable optimized GResource embedding
Simon McVittie [Sat, 8 Jan 2022 18:30:37 +0000 (18:30 +0000)]
Disable optimized GResource embedding

This seems to be triggering failures on armel and armhf. Second-guessing
GResource seems to be more trouble than it's worth.

3 years agoSkip more known-failing tests on mips family
Simon McVittie [Sat, 8 Jan 2022 18:30:19 +0000 (18:30 +0000)]
Skip more known-failing tests on mips family

3 years agoAdd proposed patch to fix FTBFS on s390x
Simon McVittie [Sat, 8 Jan 2022 17:21:35 +0000 (17:21 +0000)]
Add proposed patch to fix FTBFS on s390x

3 years agoRelease to experimental
Simon McVittie [Tue, 4 Jan 2022 18:14:41 +0000 (18:14 +0000)]
Release to experimental

3 years agosymbols: Ignore unintended export of _gtk_resource_data
Simon McVittie [Tue, 4 Jan 2022 18:14:04 +0000 (18:14 +0000)]
symbols: Ignore unintended export of _gtk_resource_data

3 years agoAdd proposed patch to avoid unwanted symbol exports
Simon McVittie [Tue, 4 Jan 2022 17:42:00 +0000 (17:42 +0000)]
Add proposed patch to avoid unwanted symbol exports

3 years agoUpdate changelog
Simon McVittie [Tue, 4 Jan 2022 15:54:28 +0000 (15:54 +0000)]
Update changelog

3 years agod/p/Make-our-stack-noexec.patch: Use upstream's fix for GResource embedding
Simon McVittie [Tue, 4 Jan 2022 15:53:39 +0000 (15:53 +0000)]
d/p/Make-our-stack-noexec.patch: Use upstream's fix for GResource embedding

3 years agod/p/debian/Disable-clipboard-test.patch: Adjust for new version
Simon McVittie [Tue, 4 Jan 2022 15:53:16 +0000 (15:53 +0000)]
d/p/debian/Disable-clipboard-test.patch: Adjust for new version

3 years agoUpdate changelog
Simon McVittie [Mon, 3 Jan 2022 22:15:40 +0000 (22:15 +0000)]
Update changelog

3 years agoDon't use optimized GResource processing
Simon McVittie [Mon, 3 Jan 2022 21:45:37 +0000 (21:45 +0000)]
Don't use optimized GResource processing

This results in use of an executable stack, which we can otherwise avoid.

3 years agoUpdate symbols file
Simon McVittie [Mon, 3 Jan 2022 21:13:36 +0000 (21:13 +0000)]
Update symbols file

Mark some GResource symbols as optional: they are obviously intended
to be private.

3 years agoUpdate changelog
Simon McVittie [Sun, 2 Jan 2022 15:23:54 +0000 (15:23 +0000)]
Update changelog

3 years agoRemove workaround for Compose endianness handling, no longer necessary
Simon McVittie [Sun, 2 Jan 2022 15:22:43 +0000 (15:22 +0000)]
Remove workaround for Compose endianness handling, no longer necessary

3 years agod/rules: Don't build man pages under nodoc build-profile
Simon McVittie [Sun, 2 Jan 2022 15:21:16 +0000 (15:21 +0000)]
d/rules: Don't build man pages under nodoc build-profile

3 years agod/copyright: Update
Simon McVittie [Sun, 2 Jan 2022 15:20:56 +0000 (15:20 +0000)]
d/copyright: Update

3 years agod/control.in: Update build-dependencies
Simon McVittie [Sun, 2 Jan 2022 15:20:47 +0000 (15:20 +0000)]
d/control.in: Update build-dependencies

3 years agoRebase patch series
Simon McVittie [Sun, 2 Jan 2022 14:51:20 +0000 (14:51 +0000)]
Rebase patch series

3 years agoNew upstream release
Simon McVittie [Sun, 2 Jan 2022 12:50:51 +0000 (12:50 +0000)]
New upstream release

3 years agoUpdate upstream source from tag 'upstream/4.6.0+ds1'
Simon McVittie [Sun, 2 Jan 2022 12:50:50 +0000 (12:50 +0000)]
Update upstream source from tag 'upstream/4.6.0+ds1'

Update to upstream version '4.6.0+ds1'
with Debian dir 0c6c66d0e9222c786cd32f672bafcfea89cbe063

3 years agoNew upstream version 4.6.0+ds1
Simon McVittie [Sun, 2 Jan 2022 12:50:10 +0000 (12:50 +0000)]
New upstream version 4.6.0+ds1

3 years ago4.6.0
Matthias Clasen [Thu, 30 Dec 2021 14:59:38 +0000 (09:59 -0500)]
4.6.0

3 years agoUpdate Ukrainian translation
Yuri Chornoivan [Wed, 29 Dec 2021 22:17:32 +0000 (22:17 +0000)]
Update Ukrainian translation

3 years agoMerge branch 'doc-window' into 'main'
Matthias Clasen [Wed, 29 Dec 2021 17:23:16 +0000 (17:23 +0000)]
Merge branch 'doc-window' into 'main'

Document built-in actions on GtkWindow

See merge request GNOME/gtk!4297

3 years agoMerge branch 'wip/chergert/4575-fix-texthistory-selection' into 'main'
Matthias Clasen [Wed, 29 Dec 2021 14:58:53 +0000 (14:58 +0000)]
Merge branch 'wip/chergert/4575-fix-texthistory-selection' into 'main'

testsuite: ignore texthistory selection on delete/backspace

Closes #4575

See merge request GNOME/gtk!4287

3 years agodocs: Add missing star to block comment
Hofer-Julian [Wed, 29 Dec 2021 14:46:59 +0000 (15:46 +0100)]
docs: Add missing star to block comment

3 years agodoc: Fix docs of window.minimize
Hofer-Julian [Wed, 29 Dec 2021 10:12:29 +0000 (11:12 +0100)]
doc: Fix docs of window.minimize

3 years agodocs: Document built-in actions on GtkWindow
Hofer-Julian [Wed, 29 Dec 2021 10:11:26 +0000 (11:11 +0100)]
docs: Document built-in actions on GtkWindow

3 years agoMerge branch 'wip/exalm/inspector' into 'main'
Matthias Clasen [Wed, 29 Dec 2021 14:38:28 +0000 (14:38 +0000)]
Merge branch 'wip/exalm/inspector' into 'main'

inspector: Register extension on startup

See merge request GNOME/gtk!4296

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Wed, 29 Dec 2021 14:34:26 +0000 (14:34 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

tests: Make fontchooser test build on macOS

See merge request GNOME/gtk!4300

3 years agotests: Make fontchooser test build on macOS
Matthias Clasen [Wed, 29 Dec 2021 14:15:26 +0000 (09:15 -0500)]
tests: Make fontchooser test build on macOS

Not sure what changed here, but we want to
be able to build this without fontconfig too.

3 years agoMerge branch 'nullable' into 'main'
Matthias Clasen [Wed, 29 Dec 2021 00:28:09 +0000 (00:28 +0000)]
Merge branch 'nullable' into 'main'

popover: Add missing nullable annotation

Closes #4556

See merge request GNOME/gtk!4295

3 years agoMerge branch 'wip/baedert/for-master' into 'main'
Matthias Clasen [Wed, 29 Dec 2021 00:24:46 +0000 (00:24 +0000)]
Merge branch 'wip/baedert/for-master' into 'main'

application demo: Resolve a keyboard shortcut conflict

See merge request GNOME/gtk!4290

3 years agoinspector: Register extension on startup
Alexander Mikhaylenko [Tue, 28 Dec 2021 23:14:03 +0000 (04:14 +0500)]
inspector: Register extension on startup

3 years agoRevert "inspector: Export gtk_inspector_init"
Alexander Mikhaylenko [Tue, 28 Dec 2021 23:12:16 +0000 (04:12 +0500)]
Revert "inspector: Export gtk_inspector_init"

This reverts commit 3f5107cea56edb6c339345b2432a1a481f7f3dd1.

3 years agopopover: Add missing nullable annotation
Ian Douglas Scott [Tue, 28 Dec 2021 17:43:06 +0000 (09:43 -0800)]
popover: Add missing nullable annotation

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/4556.

Looks like the other `Popover` methods are have correct nullable
annotations.

3 years agoUpdate Portuguese translation
Hugo Carvalho [Mon, 27 Dec 2021 22:53:20 +0000 (22:53 +0000)]
Update Portuguese translation

3 years agoMerge branch 'm-shinder-master-patch-90567' into 'main'
Matthias Clasen [Mon, 27 Dec 2021 15:08:48 +0000 (15:08 +0000)]
Merge branch 'm-shinder-master-patch-90567' into 'main'

gdk_content_provider_get_value() argument should have 'out' direction

See merge request GNOME/gtk!4283

3 years agoMerge branch 'get-key-capture-widget-nullable' into 'main'
Matthias Clasen [Mon, 27 Dec 2021 15:06:56 +0000 (15:06 +0000)]
Merge branch 'get-key-capture-widget-nullable' into 'main'

GtkSearchBar - Mark get_key_capture_widget() return value as nullable

See merge request GNOME/gtk!4286

3 years agoUpdate Ukrainian translation
Yuri Chornoivan [Mon, 27 Dec 2021 14:08:03 +0000 (14:08 +0000)]
Update Ukrainian translation

3 years agoMerge branch 'wip/otte/for-main' into 'main'
Benjamin Otte [Mon, 27 Dec 2021 13:54:27 +0000 (13:54 +0000)]
Merge branch 'wip/otte/for-main' into 'main'

inspector: Add dnd inspection support

See merge request GNOME/gtk!4289

3 years agoapplicationwindow: Don't pass for_size < -1 to measure()
Timm Bäder [Mon, 27 Dec 2021 09:00:30 +0000 (10:00 +0100)]
applicationwindow: Don't pass for_size < -1 to measure()

If the application window is measured with for_size -1 horizontally,
this code clearly passes something lower to the parent class measure()
implementation. Only subtract the menubar_height if we're passed a
for_size > -1.

3 years agoapplication demo: Resolve a keyboard shortcut conflict
Timm Bäder [Mon, 27 Dec 2021 08:59:19 +0000 (09:59 +0100)]
application demo: Resolve a keyboard shortcut conflict

There were two menu entries side-by-side with the same keyboard shortcut

3 years agoinspector: Add dnd inspection support
Benjamin Otte [Mon, 27 Dec 2021 04:57:05 +0000 (05:57 +0100)]
inspector: Add dnd inspection support

This has lots of issues:
 * It randomly crashes when data is loading while the dnd goes away.
 * The data gets randomly reset at the wrong time
 * Can't scroll the window on Wayland
 * ...

But it's better than nothing, so better get it committed.

3 years agoMerge branch 'wip/otte/for-main' into 'main'
Benjamin Otte [Sun, 26 Dec 2021 23:20:34 +0000 (23:20 +0000)]
Merge branch 'wip/otte/for-main' into 'main'

widget: Don't queue an allocate on a nonexisting parent

See merge request GNOME/gtk!4288

3 years agocss: Don't crash on invalid rotate3d()
Benjamin Otte [Sun, 26 Dec 2021 21:58:09 +0000 (22:58 +0100)]
css: Don't crash on invalid rotate3d()

3 years agoMerge branch 'main' into 'm-shinder-master-patch-90567'
m-shinder [Sun, 26 Dec 2021 21:20:33 +0000 (21:20 +0000)]
Merge branch 'main' into 'm-shinder-master-patch-90567'

# Conflicts:
#   NEWS

3 years agowidget: Don't queue an allocate on a nonexisting parent
Benjamin Otte [Sun, 26 Dec 2021 21:17:54 +0000 (22:17 +0100)]
widget: Don't queue an allocate on a nonexisting parent

No test, no idea how to trigger this reliably.

3 years agotextview: scroll insert onscreen after undo/redo
Christian Hergert [Sun, 26 Dec 2021 20:56:42 +0000 (12:56 -0800)]
textview: scroll insert onscreen after undo/redo

After performing an action such as undo/redo, we need to actually scroll
to the position where the operation occurred.

I do note that the scroll here seems to often get invalidated if it is
pages away, and we never make the full scroll. But I've seen this all over
the place elsewhere too and that needs to be handled, most likely, as a
more comprehensive fix for scrolling during line validation.

Related #4575

3 years agotexthistory: always track selection bounds
Christian Hergert [Sun, 26 Dec 2021 20:47:45 +0000 (12:47 -0800)]
texthistory: always track selection bounds

It's cheap to store the selection position, so always set it even if we
are in a user section. Otherwise, we risk not having the right position
when starting a delete action within a begin_user_action(),
end_user_action() pair.

Related #4575

3 years agotestsuite: add failing test for delete selection
Christian Hergert [Sun, 26 Dec 2021 20:46:16 +0000 (12:46 -0800)]
testsuite: add failing test for delete selection

This adds a test to expose the failure of #4575 which results in the
selection being incorrect when performing a delete as we are likely
already in a begin_user_action()/end_user_action() pair.

Related #4575

3 years agotestsuite: ignore texthistory selection on delete/backspace
Christian Hergert [Sun, 26 Dec 2021 20:43:22 +0000 (12:43 -0800)]
testsuite: ignore texthistory selection on delete/backspace

We don't need to apply these here, as it will clear the selection which is
needed for the undo. Otherwise we won't be able to test that we end up at
the right selection afterwards.

3 years agoGtkSearchBar - Mark get_key_capture_widget() return value as nullable
Sebastian Dröge [Sun, 26 Dec 2021 09:03:25 +0000 (11:03 +0200)]
GtkSearchBar - Mark get_key_capture_widget() return value as nullable

The setter allows setting NULL so this can clearly also return NULL
under normal circumstances.

Same for the corresponding API in GtkSearchEntry.

3 years agoMerge branch 'ebassi/build-fixes' into 'main'
Emmanuele Bassi [Sat, 25 Dec 2021 17:26:06 +0000 (17:26 +0000)]
Merge branch 'ebassi/build-fixes' into 'main'

build: Replace source_root()

See merge request GNOME/gtk!4281

3 years agoMerge branch 'wip/otte/gles' into 'main'
Benjamin Otte [Sat, 25 Dec 2021 15:34:01 +0000 (15:34 +0000)]
Merge branch 'wip/otte/gles' into 'main'

Fix GLES

Closes #4571

See merge request GNOME/gtk!4285

3 years agogles: Be picky abpout glGetFramebufferAttachmentParameter()
Benjamin Otte [Sat, 25 Dec 2021 14:06:12 +0000 (15:06 +0100)]
gles: Be picky abpout glGetFramebufferAttachmentParameter()

This function does not at all work like in OpenGL - if it works at all.
So make it behave accordingly.

Fixes #4571

3 years agogles: glGetTexLevelParameter() isn't supported
Benjamin Otte [Sat, 25 Dec 2021 13:46:07 +0000 (14:46 +0100)]
gles: glGetTexLevelParameter() isn't supported

3 years agogles: GLES 2 doesn't have glDrawBuffers()
Benjamin Otte [Sat, 25 Dec 2021 13:43:33 +0000 (14:43 +0100)]
gles: GLES 2 doesn't have glDrawBuffers()

So don't call it.

3 years agogl: Change gdk_gl_context_check_version()
Benjamin Otte [Sat, 25 Dec 2021 13:14:52 +0000 (14:14 +0100)]
gl: Change gdk_gl_context_check_version()

Instead of just passing major/minor, pass them twice, once for GL and
once for GLES. This way, we don't need to check for GL and GLES
separately.

If something is supported unconditionally, passing 0/0 works fine.

That said, I'd like to group the arguments somehow, because otherwise
it's just a confusing list of numbers - but I have no idea how to do
that.

3 years agoglcontext: Use different log levels for GL debug
Benjamin Otte [Sat, 25 Dec 2021 13:41:20 +0000 (14:41 +0100)]
glcontext: Use different log levels for GL debug

We want critical GL debug messages to be critical, so that the testsuite
sudokus itself when they appear.

This is relevant in particular for GLES warnings in the GLES runner,
because its warnings can cause crashes on GL drivers less forgiving than
Mesa.

Related: #4571

3 years agoApply 1 suggestion(s) to 1 file(s)
Emmanuele Bassi [Sat, 25 Dec 2021 13:29:07 +0000 (13:29 +0000)]
Apply 1 suggestion(s) to 1 file(s)

3 years agoFix: Set direction for `value` parameter
m-shinder [Sat, 25 Dec 2021 10:04:43 +0000 (10:04 +0000)]
Fix: Set direction for `value` parameter

3 years agobuild: Remove deprecated get_pkgconfig_variable()
Emmanuele Bassi [Fri, 24 Dec 2021 15:55:26 +0000 (15:55 +0000)]
build: Remove deprecated get_pkgconfig_variable()

Replace it with `get_variable(pkgconfig:...)`.

3 years agobuild: Replace deprecated 'gui_app'
Emmanuele Bassi [Fri, 24 Dec 2021 15:51:11 +0000 (15:51 +0000)]
build: Replace deprecated 'gui_app'

Use `win_subsystem: 'windows'` instead.

3 years agobuild: Replace source_root()
Emmanuele Bassi [Fri, 24 Dec 2021 15:48:06 +0000 (15:48 +0000)]
build: Replace source_root()

Use project_source_root(), which replaces the deprecated source_root().

3 years agosizerequest: Remove critical warning for now
Matthias Clasen [Thu, 23 Dec 2021 21:59:26 +0000 (16:59 -0500)]
sizerequest: Remove critical warning for now

At last as long as widgets like GtkFlowBox and
GtkGrid still trigger this, it is not a great
idea to have this warning in a stable release.
So remove it for 4.6

3 years agoMerge branch 'wip/otte/for-main' into 'main'
Benjamin Otte [Wed, 22 Dec 2021 19:45:53 +0000 (19:45 +0000)]
Merge branch 'wip/otte/for-main' into 'main'

gl: Clear current when destroying current's surface

Closes #4554

See merge request GNOME/gtk!4279

3 years agogl: Clear current when destroying current's surface
Benjamin Otte [Wed, 22 Dec 2021 18:49:13 +0000 (19:49 +0100)]
gl: Clear current when destroying current's surface

When destroying the EGLSurface or GLXDrawable of a GdkSurface, make sure
the current context is not still bound to it.

If it is, clear the current context.

Fixes #4554

3 years agoMerge branch 'wip/baedert/for-master' into 'main'
Matthias Clasen [Wed, 22 Dec 2021 16:54:18 +0000 (16:54 +0000)]
Merge branch 'wip/baedert/for-master' into 'main'

label: Fix get_natural_wrap_mode() precondition check

See merge request GNOME/gtk!4278

3 years agolabel: Fix get_natural_wrap_mode() precondition check
Timm Bäder [Wed, 22 Dec 2021 16:38:05 +0000 (17:38 +0100)]
label: Fix get_natural_wrap_mode() precondition check

3 years agoUpdate Portuguese translation
Hugo Carvalho [Wed, 22 Dec 2021 14:05:50 +0000 (14:05 +0000)]
Update Portuguese translation

3 years agoUpdate Ukrainian translation
Yuri Chornoivan [Wed, 22 Dec 2021 12:52:52 +0000 (12:52 +0000)]
Update Ukrainian translation

3 years agoMerge branch 'fix_typos' into 'main'
Timm Bäder [Wed, 22 Dec 2021 08:08:38 +0000 (08:08 +0000)]
Merge branch 'fix_typos' into 'main'

Fix minor typo

See merge request GNOME/gtk!4275

3 years agoFix minor typo
Yuri Chornoivan [Tue, 21 Dec 2021 21:42:12 +0000 (23:42 +0200)]
Fix minor typo

3 years agoUpdate Ukrainian translation
Yuri Chornoivan [Tue, 21 Dec 2021 21:36:53 +0000 (21:36 +0000)]
Update Ukrainian translation

3 years agoMerge branch 'high-contrast-4' into 'main'
Matthias Clasen [Tue, 21 Dec 2021 19:20:34 +0000 (19:20 +0000)]
Merge branch 'high-contrast-4' into 'main'

gdk/wayland: Support new `high-contrast` key

See merge request GNOME/gtk!4271

3 years agoMerge branch 'discrete-scroll' into 'main'
Matthias Clasen [Tue, 21 Dec 2021 18:22:53 +0000 (18:22 +0000)]
Merge branch 'discrete-scroll' into 'main'

Don't keep discrete scroll events in the queue

See merge request GNOME/gtk!4274

3 years agogdk/wayland: Support new `high-contrast` key
Florian Müllner [Mon, 20 Dec 2021 18:10:35 +0000 (19:10 +0100)]
gdk/wayland: Support new `high-contrast` key

We now have a boolean setting that determines whether the high-contrast
theme should be used. Support it by automatically setting the existing
`gtk-theme-name` and `gtk-icon-theme-name` properties when enabled.

With that, it is no longer necessary to change the regular theme settings
for high-contrast, so toggling between high-contrast and a non-default
theme finally works reliably.

3 years agoDon't keep discrete scroll events in the queue
Matthias Clasen [Mon, 20 Dec 2021 19:51:37 +0000 (14:51 -0500)]
Don't keep discrete scroll events in the queue

We are not going to compress those anyway.

3 years agoMerge branch 'testsuite-introspection-extend-envvars' into 'main'
Matthias Clasen [Mon, 20 Dec 2021 19:08:59 +0000 (19:08 +0000)]
Merge branch 'testsuite-introspection-extend-envvars' into 'main'

testsuite: introspection: Do not override environment variables.

See merge request GNOME/gtk!4268

3 years agoMerge branch 'wip/otte/diff' into 'main'
Benjamin Otte [Mon, 20 Dec 2021 19:01:52 +0000 (19:01 +0000)]
Merge branch 'wip/otte/diff' into 'main'

Make render node diffing not slow

Closes #4560 and #2396

See merge request GNOME/gtk!4269

3 years agorendernode: Limit diff region
Benjamin Otte [Mon, 20 Dec 2021 17:40:02 +0000 (18:40 +0100)]
rendernode: Limit diff region

Limit the diff region to 30 rectangles (randomly chosen because it
looked big enough to not trigger by accident and small enough to not
cause performance issues).

If the diff region gets more complicated, we abort to the parent node
and use its bounds as the diff region instead and then continue diffing
the rest of the node tree.

Fixes: #4560
Fixes: #2396
3 years agotestsuite: introspection: Do not override environment variables.
Maxim Cournoyer [Mon, 20 Dec 2021 04:19:50 +0000 (23:19 -0500)]
testsuite: introspection: Do not override environment variables.

Functional package managers such as GNU Guix rely on environment
variables such as GI_TYPELIB_PATH to discover the system libraries and
resources; extend rather than override them.

* testsuite/introspection/meson.build (env): New variable that extends
rather than override the GI_TYPELIB_PATH and LD_PRELOAD environment
variables.
(api): Use the above as the value of the 'env' keyword argument.

3 years agogsk: Allow diffing code to abort
Benjamin Otte [Mon, 20 Dec 2021 15:50:55 +0000 (16:50 +0100)]
gsk: Allow diffing code to abort

Now the vfuncs can decide they don't want to diff anymore, not just the
actual diff function.

3 years agoUpdate Portuguese translation
Hugo Carvalho [Mon, 20 Dec 2021 16:07:31 +0000 (16:07 +0000)]
Update Portuguese translation

3 years agoMerge branch 'wip/otte/wrapping-is-natural' into 'main'
Matthias Clasen [Mon, 20 Dec 2021 15:49:05 +0000 (15:49 +0000)]
Merge branch 'wip/otte/wrapping-is-natural' into 'main'

label: Add gtk_label_set_natural_wrap_mode()

See merge request GNOME/gtk!4267

3 years agoMerge branch 'progressbar-queue-allocate' into 'main'
Matthias Clasen [Mon, 20 Dec 2021 15:45:36 +0000 (15:45 +0000)]
Merge branch 'progressbar-queue-allocate' into 'main'

progressbar: Queue allocate when setting "inverted"

See merge request GNOME/gtk!4264

3 years agoMerge branch 'ebassi/find-gi' into 'main'
Matthias Clasen [Mon, 20 Dec 2021 15:41:51 +0000 (15:41 +0000)]
Merge branch 'ebassi/find-gi' into 'main'

build: Check for the gi python module

See merge request GNOME/gtk!4266

3 years agoUpdate Galician translation
Fran Dieguez [Mon, 20 Dec 2021 08:50:36 +0000 (08:50 +0000)]
Update Galician translation

3 years agolabel: Add gtk_label_set_natural_wrap_mode()
Benjamin Otte [Sun, 19 Dec 2021 18:22:31 +0000 (19:22 +0100)]
label: Add gtk_label_set_natural_wrap_mode()

Allows influencing natural size requests so that labels can request more
width than necessary for a given height.

Related: !4245
Related: #4535

3 years agoci: Add pygobject to the MSYS2 job
Emmanuele Bassi [Sun, 19 Dec 2021 16:26:37 +0000 (16:26 +0000)]
ci: Add pygobject to the MSYS2 job

3 years agobuild: Check for the gi python module
Emmanuele Bassi [Sun, 19 Dec 2021 16:06:49 +0000 (16:06 +0000)]
build: Check for the gi python module

The introspection tests depend on the pygobject module, but we currently
are not checking if it's available at configuration time, which means we
can get build failures like:

> ModuleNotFoundError: No module named 'gi'

when running the test suite.