Jeremy Bícha [Sat, 26 Aug 2023 14:26:33 +0000 (10:26 -0400)]
New upstream release
Jeremy Bícha [Sat, 26 Aug 2023 14:26:33 +0000 (10:26 -0400)]
Update upstream source from tag 'upstream/4.12.1+ds'
Update to upstream version '4.12.1+ds'
with Debian dir
534f3600033136f0c743a7724e48bfd556ef84e0
Jeremy Bícha [Sat, 26 Aug 2023 14:26:18 +0000 (10:26 -0400)]
New upstream version 4.12.1+ds
Jeremy Bícha [Fri, 18 Nov 2022 09:29:01 +0000 (09:29 +0000)]
d/watch: Only watch for stable releases
Matthias Clasen [Fri, 25 Aug 2023 12:28:29 +0000 (08:28 -0400)]
4.12.1
Anders Jonsson [Thu, 24 Aug 2023 15:38:43 +0000 (15:38 +0000)]
Update Swedish translation
Matthias Clasen [Thu, 24 Aug 2023 14:49:44 +0000 (10:49 -0400)]
Updates
Piotr Drąg [Thu, 24 Aug 2023 14:47:45 +0000 (16:47 +0200)]
Update Polish translation
Matthias Clasen [Thu, 24 Aug 2023 14:39:04 +0000 (10:39 -0400)]
Revert "PopoverMenu: Make :flags a property for use in UI…"
This reverts commit
acd874ec5507f45ad22de7a91478433d27f640a4.
This adds new API, therefore not suitable for 4.12.
Matthias Clasen [Thu, 24 Aug 2023 10:29:13 +0000 (06:29 -0400)]
menubutton: Don't assume the root is a window
The only thing this assumption does is cause
criticals, so remove it.
Fixes: #6055
Michael Catanzaro [Wed, 23 Aug 2023 20:51:08 +0000 (15:51 -0500)]
notebook: fix critical when switching page
It's expected that gtk_widget_get_root() will return NULL if the widget
tree does not contain a root widget. I don't know what that means or why
it happens, but it's true in gnome-control-center's network panel when
displaying the OpenVPN configuration dialog. We need to handle it.
Fixes #6056
Simon McVittie [Tue, 22 Aug 2023 09:49:36 +0000 (10:49 +0100)]
tests: Accept slightly different numeric results
FLT_EPSILON is the distance between 1.0 and the next distinct floating
point number, and doesn't necessarily have anything to do with the
precision we can expect from a series of floating-point calculations.
Experimentally, 1e-6 is achievable, even on platforms with unusual
floating point implementations like i387.
Resolves: https://gitlab.gnome.org/GNOME/gtk/-/issues/6051
Bug-Debian: https://bugs.debian.org/
1050076
Signed-off-by: Simon McVittie <smcv@debian.org>
Matthias Clasen [Tue, 22 Aug 2023 12:26:22 +0000 (08:26 -0400)]
wayland: Don't assume the shell protocol
The gtk_shell proxy will be NULL if the compositor
is not gnome-shell. Handle that without crashing.
Fixes: #6048
Bilal Elmoussaoui [Mon, 21 Aug 2023 21:11:12 +0000 (21:11 +0000)]
gi: Fix missing namespace
Georges Basile Stavracas Neto [Mon, 21 Aug 2023 18:23:22 +0000 (15:23 -0300)]
ci: Limit parallel linking on Windows CI
Linking on Windows can easily run out of memory, and limiting it
to a single link operation (i.e. disabling parallelization) should
be enough to avoid this problem.
Khalid Abu Shawarib [Mon, 21 Aug 2023 17:14:59 +0000 (20:14 +0300)]
gdk/x11/clipboard: Fix Slist leak
Benjamin Otte [Fri, 18 Aug 2023 19:06:59 +0000 (21:06 +0200)]
build: Add -Woverride-init
That's a gcc warning (clang has the equivalent -Winitializer-overrides,
but that one is included in -Wall) that complains about things like:
VkOffset3D offset = { .x = pt.x, .x = pt.y, .y = 0 };
So you don't have to spend a few hours trying to understand what's going
on before realizing your copy/paste skills are substandard.
Benjamin Otte [Mon, 14 Aug 2023 03:21:06 +0000 (05:21 +0200)]
build: GSK doesn't depend on gdk-pixbuf
Benjamin Otte [Mon, 21 Aug 2023 03:14:33 +0000 (05:14 +0200)]
build: Don't use configure_file() when custom_target() works
These two files don't need to be built when configuring, they are only
needed during build.
Benjamin Otte [Mon, 21 Aug 2023 00:20:17 +0000 (02:20 +0200)]
widget: Remove unused headers from gtkwidget.h
... and put them back in places where they are needed.
Sergey Bugaev [Fri, 18 Aug 2023 08:07:35 +0000 (11:07 +0300)]
paintable: Implement gdk_paintable_default_get_current_image ()
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
G.Willems [Thu, 17 Aug 2023 20:26:00 +0000 (22:26 +0200)]
gtktexthistory: restore 'modified' flag on redo
When redoing a history entry, its `is_modified` flag is not
reflected to the history state tracker. So GtkTextBuffers may
expose a modified=FALSE status, despite a change was actually
applied to the buffer.
For the undo case, an `is_modified_set` flag was set on the last
entry of the undo queue when a change of the modified state of
the history is requested. This commit does the same on the first
entry of the redo queue.
Closes #5777
Daniel Boles [Thu, 17 Aug 2023 09:52:21 +0000 (10:52 +0100)]
PopoverMenu: Make :flags a property for use in UI…
…files, or other cases other than calling new_from_model_full(), which
generally makes it far easier to experiment with the effect of flags,
including by changing the value of the property in the Inspector.
fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/6030#note_1818229
Daniel Boles [Wed, 16 Aug 2023 16:11:45 +0000 (17:11 +0100)]
Popover: Fix & add to CSS nodes documentation
* The `.background` class gets put on `popover`, not `content`
* Use backticks to style node and class names with monospace
* Link to GtkPopoverMenu
* Add to PopoverMenu a bit outlining how items and sections look in CSS.
Matthias Clasen [Wed, 16 Aug 2023 13:43:34 +0000 (09:43 -0400)]
build: Drop some unused variables
We are not using gtk_private_packages at all,
so drop it.
Alexandros Theodotou [Wed, 16 Aug 2023 11:09:15 +0000 (20:09 +0900)]
gsk: Update docs for gtk_snapshot_append_layout
Mention how to get the current theme's foreground color.
Sergey Bugaev [Tue, 15 Aug 2023 08:28:43 +0000 (11:28 +0300)]
rendernode, snapshot: Slightly expand color matrix docs
Based on reverse engineering the color node and contrary to my
expectations, the matrix/offset is expressed in, and applied to,
unpremultiplied colors. The colors are being explicitly
unpremultiplied, transformed according to the matrix/offset, and
premultiplied back (see color_matrix.glsl). The matrix is getting
transposed.
Also, copy the same blurb to the corresponding GtkSnapshot function.
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Sergey Bugaev [Tue, 15 Aug 2023 08:03:25 +0000 (11:03 +0300)]
snapshot: Fix merging color matrix nodes
The code was appliying the matrices in the wrong order: we have to apply
the inner node's matrix first, and the outer one second. Due to the
matrices being implicitly transposed, the matrix multiplication was done
in the right order, yet the wrong matrix was being mutliplied by the
wrong offset vector.
To make the code a little easier to follow, create explicit variables
for the resulting matrix and offset (instead of reusing matrix2 and
offset2), and fix & expand the comment to document how matrix
transposition factors into this.
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Philip Chimento [Wed, 16 Aug 2023 05:30:27 +0000 (22:30 -0700)]
introspection: Remove 'caller-allocates' from POD types
The (out caller-allocates) and (out callee-allocates) annotations are
meant for structured or pointer types. Plain old data types are just
regular out parameters and don't need the annotation about who allocates
them.
See glib!2005, gjs#570
Xavier Claessens [Wed, 16 Aug 2023 01:17:23 +0000 (21:17 -0400)]
meson: Add x11_dep to gtk4-x11 requires
Xavier Claessens [Tue, 15 Aug 2023 17:35:46 +0000 (13:35 -0400)]
meson: Add wayland-client to gtk4-wayland requires
Daniel Boles [Tue, 15 Aug 2023 09:47:30 +0000 (10:47 +0100)]
SignalListItemFactory: small doc grammar+sense fix
* "to to" => "to"
* "a object" => "an object"
* "its new prop is about to be unset" => "its prop is about to be unset"
Alice Mikhaylenko [Mon, 14 Aug 2023 10:24:06 +0000 (14:24 +0400)]
menubutton: Fix focus on the internal gizmo
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/6025
Daniel Boles [Mon, 14 Aug 2023 09:48:26 +0000 (10:48 +0100)]
Inspector: Fix ! flash on select widget @ obj tree
Widgets are flashed by the window when it receives Tree::object-selected
- but we were emitting said signal from select_object(), i.e. if we were
made to select by an external caller. We should also emit it if the user
interactively selects an item, so the window receives+flashes the widget
fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/6022
Joshua Lee [Sun, 13 Aug 2023 13:55:22 +0000 (14:55 +0100)]
fontdialogbutton: Make activatable
Joshua Lee [Tue, 8 Aug 2023 13:50:28 +0000 (14:50 +0100)]
colordialogbutton: Make activatable
Matthias Clasen [Sun, 13 Aug 2023 13:31:42 +0000 (09:31 -0400)]
text: Track user changes better
Make all the action signal handlers call
begin/end_change(), so we can rely on
change_count being >0 to check later if
an action is user-initiated or programmatic.
Fixes: #6018
Benjamin Otte [Sat, 12 Aug 2023 20:17:29 +0000 (22:17 +0200)]
gl: Pass swizzle array directly
There's no need to pass pointers to arrays, as arrays are already
pointers.
Benjamin Otte [Sat, 12 Aug 2023 20:14:11 +0000 (22:14 +0200)]
columnview: Fix refcounting woes
The new code did not deal with the GtkScrollInfo properly.
Related: #6002
Benjamin Otte [Sat, 12 Aug 2023 20:13:07 +0000 (22:13 +0200)]
gdkcontext: Make has_unpack_subimage() do the version check
Makes the code look simpler when we actually use that function.
Benjamin Otte [Mon, 7 Aug 2023 23:37:18 +0000 (01:37 +0200)]
treeviewcolumn: Set ascending class for ascending order
The alternative button order confused the code and so the "ascending"
class was set for descending order by default, not when alternate order
is set.
Qiu Wenbo [Fri, 11 Aug 2023 07:58:06 +0000 (15:58 +0800)]
macos: use NSPopUpButton for filter selection in native filechooser
On macOS 14, NSComboBox can't popup the dropdown list of filters. That
makes native filechooser on macOS completed broken. And NSComboBox is
more complex since it is a widget focused on edit capability.
NSPopUpButton is more suitable for plain selectable dropdown list.
Fixes: 4986
Signed-off-by: Qiu Wenbo <qiuwenbo@kylinos.com.cn>
Qiu Wenbo [Fri, 11 Aug 2023 07:55:08 +0000 (15:55 +0800)]
filefilter: fix UTI type conversion on macOS
GContentType on macOS switched to UTI since glib 2.51. We should not assume it as MIME type anymore.
Fixes: #4986
Signed-off-by: Qiu Wenbo <qiuwenbo@kylinos.com.cn>
Daniel Boles [Wed, 9 Aug 2023 14:34:50 +0000 (15:34 +0100)]
docs: Add/fix some links; avoid pluralisation
Appending `s` breaks the [type@NS.Object] notation, so fix that in
ListHeader. Add links to ListItem and Overlay, and avoid appending `s`
after `backtick`s just for consistency with the [type@NS.Object] issue.
Jeremy Bícha [Tue, 8 Aug 2023 21:48:35 +0000 (17:48 -0400)]
print: Update printerprivate header location for cpdb backend
This fixes the print-cpdb build option
Jeremy Bícha [Tue, 8 Aug 2023 13:47:14 +0000 (09:47 -0400)]
test-calendar: Update timezone name
Debian no longer provides the MET timezone
but instead provides geographical region and city name
Xi Ruoyao [Mon, 7 Aug 2023 10:00:34 +0000 (18:00 +0800)]
print: Revert "Start sorting apart includes" change for gtkprinteroptionprivate.h
The print backends needs the functions in gtkprinteroptionprivate.h to
be exported.
Fixes #6003.
tszymanski [Sun, 6 Aug 2023 17:26:32 +0000 (10:26 -0700)]
gtkgridview: return empty area for empty tiles during scroll
Hari Rana [Sat, 5 Aug 2023 16:25:23 +0000 (12:25 -0400)]
section-accessibility: Close tag
Matthias Clasen [Thu, 24 Aug 2023 14:14:29 +0000 (10:14 -0400)]
Post-release version bump
Simon McVittie [Thu, 24 Aug 2023 10:49:40 +0000 (11:49 +0100)]
Release to experimental
Simon McVittie [Thu, 24 Aug 2023 10:48:36 +0000 (11:48 +0100)]
d/rules: Completely ignore border-one-rounded gsk test on mips*
The actual rendering in the "flipped" mode only differs from the
reference rendering by one pixel, but that one pixel has a completely
different value.
Really closes: #
1050077
Simon McVittie [Thu, 24 Aug 2023 10:43:37 +0000 (11:43 +0100)]
d/libgtk-4-doc.links: Stop including symlinks for pango documentation
Closes: #1040470
Simon McVittie [Thu, 24 Aug 2023 10:41:25 +0000 (11:41 +0100)]
d/clean: Remove generated file po/gtk40.pot
Closes: #1044991
Simon McVittie [Thu, 24 Aug 2023 10:40:54 +0000 (11:40 +0100)]
d/control: Regenerate
Gbp-Dch: ignore
Simon McVittie [Wed, 23 Aug 2023 15:43:30 +0000 (16:43 +0100)]
Release to experimental
Simon McVittie [Tue, 22 Aug 2023 23:04:26 +0000 (00:04 +0100)]
Update changelog
Simon McVittie [Wed, 23 Aug 2023 08:21:00 +0000 (09:21 +0100)]
In gsk-compare tests, apply tolerance to all renderings, not just the first
Simon McVittie [Tue, 22 Aug 2023 23:01:27 +0000 (00:01 +0100)]
d/rules: Accept minor rendering differences for some tests on mips*
Presumably these render a bit differently with softpipe.
Closes: #1050077
Simon McVittie [Tue, 22 Aug 2023 23:00:45 +0000 (00:00 +0100)]
d/rules: Add a bug reference for tests ignored on i386
Gbp-Dch: ignore
Simon McVittie [Wed, 23 Aug 2023 11:51:39 +0000 (12:51 +0100)]
d/changelog: Reorder to make the history of unstable linear
This should avoid the bug tracking system thinking that regressions
found in 4.12.x also affect 4.10.x.
Simon McVittie [Tue, 22 Aug 2023 18:29:06 +0000 (19:29 +0100)]
Update changelog
Simon McVittie [Tue, 22 Aug 2023 18:26:55 +0000 (19:26 +0100)]
Replace patch for #
1050076 with the version accepted upstream
This accepts slight numerical differences on all platforms, not just i386.
Simon McVittie [Tue, 22 Aug 2023 18:24:25 +0000 (19:24 +0100)]
Update changelog
Simon McVittie [Tue, 22 Aug 2023 18:23:51 +0000 (19:23 +0100)]
Merge branch 'debian/trixie' into debian/master
Simon McVittie [Tue, 22 Aug 2023 16:20:32 +0000 (17:20 +0100)]
Release to unstable
Simon McVittie [Tue, 22 Aug 2023 11:02:12 +0000 (12:02 +0100)]
d/rules: Ignore two reftests that fail on i386 only
In these tests, the reference rendering of "Hello world" is as one line,
but on i386 (possibly due to different rounding) it is word-wrapped onto
two lines.
I previously thought this was a regression between 4.10 and 4.12, but
it seems that instead, it was triggered by some other component being
upgraded, possibly fontconfig 2.14.2 or pango 1.51.0.
Simon McVittie [Tue, 22 Aug 2023 14:19:56 +0000 (15:19 +0100)]
Release to experimental
Simon McVittie [Tue, 22 Aug 2023 14:07:25 +0000 (15:07 +0100)]
Update changelog
Simon McVittie [Tue, 22 Aug 2023 14:03:49 +0000 (15:03 +0100)]
Merge branch 'debian/trixie' into debian/master
Simon McVittie [Tue, 22 Aug 2023 11:07:38 +0000 (12:07 +0100)]
Add patch to work around a test failure on riscv64
Other architectures are occasionally affected by this.
Thanks: Aurelien Jarno
Closes: #1049434
Simon McVittie [Tue, 22 Aug 2023 11:13:24 +0000 (12:13 +0100)]
Release to unstable
Jeremy Bícha [Tue, 8 Aug 2023 13:38:52 +0000 (09:38 -0400)]
Revert "Temporarily disable sysprof integration to get the package rebuilt"
This reverts commit
02bd657dfab872c322ac13e18e3b2cef2b24ca05.
Simon McVittie [Tue, 22 Aug 2023 11:09:14 +0000 (12:09 +0100)]
d/control.in, d/gbp.conf: Use debian/trixie and upstream/4.10.x branches
Simon McVittie [Tue, 22 Aug 2023 11:07:38 +0000 (12:07 +0100)]
Add patch to work around a test failure on riscv64
Other architectures are occasionally affected by this.
Thanks: Aurelien Jarno
Closes: #1049434
Simon McVittie [Tue, 22 Aug 2023 11:02:12 +0000 (12:02 +0100)]
d/rules: Ignore two reftests that fail on i386 only
In these tests, the reference rendering of "Hello world" is as one line,
but on i386 (possibly due to different rounding) it is word-wrapped onto
two lines.
Simon McVittie [Tue, 22 Aug 2023 10:59:02 +0000 (11:59 +0100)]
Ignore another test failure on big-endian machines
Similar to #
1024391.
Simon McVittie [Tue, 22 Aug 2023 10:33:05 +0000 (11:33 +0100)]
Add patch to tolerate different floating-point results on i386
Our baseline for i386 still doesn't include SSE, so we still have to use
i387 instructions with extended precision and sometimes different answers.
Simon McVittie [Tue, 22 Aug 2023 09:31:37 +0000 (10:31 +0100)]
d/rules: Skip build-time tests that are known to fail or be unreliable
Upstream flagged these as failing and skips them in their CI, so there's
no point in us expecting them to succeed.
Closes: #1050075
Jeremy Bícha [Tue, 8 Aug 2023 21:33:37 +0000 (17:33 -0400)]
releasing package gtk4 version 4.12.0+ds-1
Jeremy Bícha [Tue, 8 Aug 2023 18:34:12 +0000 (14:34 -0400)]
debian/libgtk-4-1.symbols.in: Add new symbols
Jeremy Bícha [Tue, 8 Aug 2023 18:07:17 +0000 (14:07 -0400)]
debian/libgtk-4-bin.install: Install gtk4-rendernode-tool
Jeremy Bícha [Tue, 8 Aug 2023 12:27:51 +0000 (08:27 -0400)]
debian/rules: update configure option name
Jeremy Bícha [Sat, 5 Aug 2023 09:33:45 +0000 (05:33 -0400)]
debian/control.in: Bump minimum glib, gobject-introspection, meson & wayland-protocols
Jeremy Bícha [Tue, 8 Aug 2023 18:50:55 +0000 (14:50 -0400)]
Add patch to mark headless tests as flaky
Jeremy Bícha [Tue, 8 Aug 2023 13:50:55 +0000 (09:50 -0400)]
Add patch to adapt to Debian's tzdata 2023c-8
Jeremy Bícha [Tue, 8 Aug 2023 12:39:34 +0000 (08:39 -0400)]
Cherry-pick patch to fix undefined references
Jeremy Bícha [Tue, 8 Aug 2023 12:22:19 +0000 (08:22 -0400)]
Refresh patches
Gbp-Dch: Ignore
Jeremy Bícha [Sat, 5 Aug 2023 08:56:42 +0000 (04:56 -0400)]
Refresh patches
Jeremy Bícha [Tue, 8 Aug 2023 12:04:21 +0000 (08:04 -0400)]
Drop patch marking the clipboard test flaky: applied upstream
Jeremy Bícha [Sat, 5 Aug 2023 09:53:00 +0000 (05:53 -0400)]
New upstream release
Jeremy Bícha [Tue, 8 Aug 2023 19:21:25 +0000 (15:21 -0400)]
Update upstream source from tag 'upstream/4.12.0+ds'
Update to upstream version '4.12.0+ds'
with Debian dir
82fc67f4d40d22a68f12ed43e825d2e5aff14c4c
Jeremy Bícha [Tue, 8 Aug 2023 13:38:52 +0000 (09:38 -0400)]
Revert "Temporarily disable sysprof integration to get the package rebuilt"
This reverts commit
02bd657dfab872c322ac13e18e3b2cef2b24ca05.
Jeremy Bícha [Tue, 8 Aug 2023 12:02:04 +0000 (08:02 -0400)]
New upstream version 4.12.0+ds
Jeremy Bícha [Tue, 8 Aug 2023 12:00:28 +0000 (08:00 -0400)]
debian/copyright: drop obsolete Files-Excluded reference
this could come back if upstream vendors stuff again
Simon McVittie [Mon, 7 Aug 2023 08:35:50 +0000 (09:35 +0100)]
Release to unstable
Simon McVittie [Mon, 7 Aug 2023 08:35:27 +0000 (09:35 +0100)]
Temporarily disable sysprof integration to get the package rebuilt
Simon McVittie [Sun, 6 Aug 2023 12:04:40 +0000 (13:04 +0100)]
Release to unstable
Simon McVittie [Sun, 6 Aug 2023 12:03:05 +0000 (13:03 +0100)]
d/upstream/metadata: Use preferred Gitlab URLs
Changes-By: lintian-brush
Simon McVittie [Sun, 6 Aug 2023 12:02:29 +0000 (13:02 +0100)]
Remove maintscripts unnecessary in any released Debian version