Jeremy Bicha [Wed, 9 Feb 2022 18:26:16 +0000 (13:26 -0500)]
releasing package gtk4 version 4.6.0+ds1-4
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.
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
Simon McVittie [Sat, 8 Jan 2022 22:48:22 +0000 (22:48 +0000)]
Release to experimental
Simon McVittie [Sat, 8 Jan 2022 22:47:14 +0000 (22:47 +0000)]
Skip another known-failing test on mips*el
Simon McVittie [Sat, 8 Jan 2022 18:40:29 +0000 (18:40 +0000)]
Release to experimental
Simon McVittie [Sat, 8 Jan 2022 18:40:14 +0000 (18:40 +0000)]
d/rules: Rebuild CSS using sass
Simon McVittie [Sat, 8 Jan 2022 18:36:42 +0000 (18:36 +0000)]
Update changelog
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.
Simon McVittie [Sat, 8 Jan 2022 18:30:19 +0000 (18:30 +0000)]
Skip more known-failing tests on mips family
Simon McVittie [Sat, 8 Jan 2022 17:21:35 +0000 (17:21 +0000)]
Add proposed patch to fix FTBFS on s390x
Simon McVittie [Tue, 4 Jan 2022 18:14:41 +0000 (18:14 +0000)]
Release to experimental
Simon McVittie [Tue, 4 Jan 2022 18:14:04 +0000 (18:14 +0000)]
symbols: Ignore unintended export of _gtk_resource_data
Simon McVittie [Tue, 4 Jan 2022 17:42:00 +0000 (17:42 +0000)]
Add proposed patch to avoid unwanted symbol exports
Simon McVittie [Tue, 4 Jan 2022 15:54:28 +0000 (15:54 +0000)]
Update changelog
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
Simon McVittie [Tue, 4 Jan 2022 15:53:16 +0000 (15:53 +0000)]
d/p/debian/Disable-clipboard-test.patch: Adjust for new version
Simon McVittie [Mon, 3 Jan 2022 22:15:40 +0000 (22:15 +0000)]
Update changelog
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.
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.
Simon McVittie [Sun, 2 Jan 2022 15:23:54 +0000 (15:23 +0000)]
Update changelog
Simon McVittie [Sun, 2 Jan 2022 15:22:43 +0000 (15:22 +0000)]
Remove workaround for Compose endianness handling, no longer necessary
Simon McVittie [Sun, 2 Jan 2022 15:21:16 +0000 (15:21 +0000)]
d/rules: Don't build man pages under nodoc build-profile
Simon McVittie [Sun, 2 Jan 2022 15:20:56 +0000 (15:20 +0000)]
d/copyright: Update
Simon McVittie [Sun, 2 Jan 2022 15:20:47 +0000 (15:20 +0000)]
d/control.in: Update build-dependencies
Simon McVittie [Sun, 2 Jan 2022 14:51:20 +0000 (14:51 +0000)]
Rebase patch series
Simon McVittie [Sun, 2 Jan 2022 12:50:51 +0000 (12:50 +0000)]
New upstream release
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
Simon McVittie [Sun, 2 Jan 2022 12:50:10 +0000 (12:50 +0000)]
New upstream version 4.6.0+ds1
Matthias Clasen [Thu, 30 Dec 2021 14:59:38 +0000 (09:59 -0500)]
4.6.0
Yuri Chornoivan [Wed, 29 Dec 2021 22:17:32 +0000 (22:17 +0000)]
Update Ukrainian translation
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
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
Hofer-Julian [Wed, 29 Dec 2021 14:46:59 +0000 (15:46 +0100)]
docs: Add missing star to block comment
Hofer-Julian [Wed, 29 Dec 2021 10:12:29 +0000 (11:12 +0100)]
doc: Fix docs of window.minimize
Hofer-Julian [Wed, 29 Dec 2021 10:11:26 +0000 (11:11 +0100)]
docs: Document built-in actions on GtkWindow
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
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
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.
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
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
Alexander Mikhaylenko [Tue, 28 Dec 2021 23:14:03 +0000 (04:14 +0500)]
inspector: Register extension on startup
Alexander Mikhaylenko [Tue, 28 Dec 2021 23:12:16 +0000 (04:12 +0500)]
Revert "inspector: Export gtk_inspector_init"
This reverts commit
3f5107cea56edb6c339345b2432a1a481f7f3dd1.
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.
Hugo Carvalho [Mon, 27 Dec 2021 22:53:20 +0000 (22:53 +0000)]
Update Portuguese translation
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
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
Yuri Chornoivan [Mon, 27 Dec 2021 14:08:03 +0000 (14:08 +0000)]
Update Ukrainian translation
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
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.
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
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.
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
Benjamin Otte [Sun, 26 Dec 2021 21:58:09 +0000 (22:58 +0100)]
css: Don't crash on invalid rotate3d()
m-shinder [Sun, 26 Dec 2021 21:20:33 +0000 (21:20 +0000)]
Merge branch 'main' into 'm-shinder-master-patch-90567'
# Conflicts:
# NEWS
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.
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
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
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
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.
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.
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
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
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
Benjamin Otte [Sat, 25 Dec 2021 13:46:07 +0000 (14:46 +0100)]
gles: glGetTexLevelParameter() isn't supported
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.
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.
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
Emmanuele Bassi [Sat, 25 Dec 2021 13:29:07 +0000 (13:29 +0000)]
Apply 1 suggestion(s) to 1 file(s)
m-shinder [Sat, 25 Dec 2021 10:04:43 +0000 (10:04 +0000)]
Fix: Set direction for `value` parameter
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:...)`.
Emmanuele Bassi [Fri, 24 Dec 2021 15:51:11 +0000 (15:51 +0000)]
build: Replace deprecated 'gui_app'
Use `win_subsystem: 'windows'` instead.
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().
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
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
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
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
Timm Bäder [Wed, 22 Dec 2021 16:38:05 +0000 (17:38 +0100)]
label: Fix get_natural_wrap_mode() precondition check
Hugo Carvalho [Wed, 22 Dec 2021 14:05:50 +0000 (14:05 +0000)]
Update Portuguese translation
Yuri Chornoivan [Wed, 22 Dec 2021 12:52:52 +0000 (12:52 +0000)]
Update Ukrainian translation
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
Yuri Chornoivan [Tue, 21 Dec 2021 21:42:12 +0000 (23:42 +0200)]
Fix minor typo
Yuri Chornoivan [Tue, 21 Dec 2021 21:36:53 +0000 (21:36 +0000)]
Update Ukrainian translation
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
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
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.
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.
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
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
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
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.
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.
Hugo Carvalho [Mon, 20 Dec 2021 16:07:31 +0000 (16:07 +0000)]
Update Portuguese translation
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
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
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
Fran Dieguez [Mon, 20 Dec 2021 08:50:36 +0000 (08:50 +0000)]
Update Galician translation
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
Emmanuele Bassi [Sun, 19 Dec 2021 16:26:37 +0000 (16:26 +0000)]
ci: Add pygobject to the MSYS2 job
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.