Commit Graph

55214 Commits

Author SHA1 Message Date
a7817b5b50 Update Hebrew translation 2024-04-07 05:13:32 +00:00
6a2989866f Merge branch 'sync-dnd-cursors' into 'gtk-3-24'
wayland: Guarantee dnd-move as a cursor name

See merge request GNOME/gtk!7102
2024-04-04 09:09:22 +00:00
1c8ec31162 Sync drag cursors with GTK4
Use the same cursors during dnd as we do in GTK 4.
2024-04-04 10:31:39 +02:00
0844a88558 wayland: Guarantee dnd-move as a cursor name
We need to go back to using this, since move is widely abused
and thus can't change its image to one thats appropriate for dnd.
2024-04-04 10:31:08 +02:00
140e32da63 Merge branch 'fix-glarea-transparency' into 'gtk-3-24'
Revert 7237f5d0eb

See merge request GNOME/gtk!7079
2024-03-29 06:48:11 +00:00
6754765a5a Revert 7237f5d0eb
This commit was identified as the cause for a GLArea transparency
regression. Bring the required code back.

Fixes: #6359
2024-03-28 07:58:37 +01:00
85d62e90e9 Merge branch 'tracker3-backport' into 'gtk-3-24'
Backport tracker3 performance improvements

See merge request GNOME/gtk!7051
2024-03-25 17:37:00 +00:00
cccfdf9d35 Release to unstable 2024-03-25 12:34:47 +00:00
4c484ab0e3 Update changelog 2024-03-25 11:02:32 +00:00
6c63dacb54 d/control: Use a concrete version number for the Breaks/Replaces 2024-03-25 10:43:47 +00:00
0f226221b8 Revert "Temporarily disable tests on 32-bit non-i386 architectures"
This reverts commit e657440a93.
2024-03-25 10:41:38 +00:00
9106e88838 Update changelog 2024-03-23 10:08:09 +00:00
afbc53d8c9 Revert "d/control, d/rules: Temporarily disable colord on 32-bit non-i386"
This reverts commit d38deea907.
2024-03-23 10:06:33 +00:00
b9b66e7bb8 Update changelog 2024-03-22 10:35:46 +00:00
94b9ea75f6 Revert "d/control, d/rules: Temporarily disable cloudproviders on 32-bit non-x86"
This reverts commit 7208f6ac28.

libcloudproviders has built
https://buildd.debian.org/status/package.php?p=libcloudproviders
2024-03-20 17:49:33 -04:00
e9f2daa445 searchengine: Do not fight filechooser search mode sorting
Provide the hits in an order that is more easily consumed by the
filechooser, and less jarring when populating.
2024-03-18 02:02:04 +01:00
b62a280e0c searchengine: Bail out on the first character
Again on massive filesystems, the very first character
is likely to bring a likewise massive amount of search
results that we need to maybe query info for, then create
icons and widgets for. While it's impressive we can do
that, it's also expensive and likely pointless, for the
first character.

Typing a second character is however very likely to
considerably reduce the amount of items to categorize and
show. So start actually searching from there.

Testing on a filesystem with 1434099 files indexed, trying 5
semi-random 1 character searches (n, h, t, i, o) returns on
average 168K items (min. 78771, max. 331471), trying 5
semi-random 2 character searches (no, he, th, in, on)
returns on average 34K items (min. 11133, max. 94961),
which is a more approachable set.

Doing this is enough that typing on a filechooser search
entry feels completely fluid.
2024-03-18 02:02:03 +01:00
4baa0b47e2 searchengine: Ensure some GFileInfo fields
The search provider should make it sure there are some
specific GFileInfo fields set. Fix the mimetype extraction
from the query, and use that to fill in the missing gaps
the best we can.
2024-03-18 02:02:03 +01:00
f550bd6391 searchengine: Populate filesystem model in an idle
When starting a search over a very populated filesystem, it
is possible that typing the first chars will return a too
high number of results. Even though iterating through the
cursor is in itself very fast, extracting the GIO information
from those many files at once is not going to be as fast.

In order to increase interactivity (i.e. not make things
possibly sluggish) iterate the cursor in an idle function
and add search results to the filechooser model little by little.

If the user keeps typing (as it is likely will happen), there
will be better chances to cancel and proceed to the next
query timely. If not, the results will be there soon enough.
2024-03-18 02:02:01 +01:00
870ecf2b81 searchengine: Improve performance for recursive search
As fancy as property paths are, recursive resolution of files
to a location increases the big O complexity enough that it's
not a great option on large homedirs with many indexed files.

Ensure the files are from the right location through a URI
prefix match, which does hits an index. This may dramatically
improve performance on large indexed trees.

Testing this query in an isolated testcase with a total
1434099 indexed files shows that it can run more than 1500 times
per second in this computer (an average of 15200 queries in
several 10 second runs), which presumably is a tad faster than
anyone can type.

Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4133
2024-03-18 02:01:01 +01:00
b85b972cf1 Merge branch 'size-allocation-critical' into 'gtk-3-24'
box gadget: Drop a critical

See merge request GNOME/gtk!7034
2024-03-15 02:19:38 +00:00
e29cd37ae6 Merge branch 'standard-cursor-names-3-24' into 'gtk-3-24'
wayland: Keep cursor types limping along

See merge request GNOME/gtk!7033
2024-03-15 02:19:28 +00:00
190f111d8e box gadget: Drop a critical
Nobody is going to track these allocation failures down in gtk3
at this point, so drop the alarming message. The failures are
pretty harmless.
2024-03-14 21:50:00 -04:00
f1690a9a37 wayland: Keep cursor types limping along
Cursor themes have recently started to reduce their coverage of
'legacy' cursor names, and reduced to the standard names. Support
this for the few cursor types that are still used in GTK.
2024-03-14 21:45:19 -04:00
85e0ab2f1d Release to unstable 2024-03-14 18:28:05 +00:00
7208f6ac28 d/control, d/rules: Temporarily disable cloudproviders on 32-bit non-x86
This is not yet buildable on the architectures affected by the 64-bit
time_t transition, with a dependency chain involving graphviz and GTK 2.
2024-03-14 18:10:53 +00:00
d38deea907 d/control, d/rules: Temporarily disable colord on 32-bit non-i386
This is not yet buildable on the architectures affected by the 64-bit
time_t transition.
2024-03-14 18:08:58 +00:00
e657440a93 Temporarily disable tests on 32-bit non-i386 architectures
This should help to resolve cyclic build-dependencies during the 64-bit
time_t transition.
2024-03-14 17:54:27 +00:00
f74169920b d/control, d/tests/control: Drop dependency on adwaita-icon-theme-full
This package name was Ubuntu-specific, and was dropped since 45.0-4
(the Debian version of a-i-t has a Provides for a-i-t-full). Use a
versioned build-dependency so that we definitely have all of the
necessary icons to run tests successfully.

Thanks: Heinrich Schuchardt
2024-03-14 09:31:45 +00:00
90950b2d3d printing: Avoid accessing freed printers
Print backend can be disposed together with all its printers
as a reaction to user stopping enumeration of printers.
Adding a weak pointer help us to detect that the backend
was disposed and hence the backend and its printers should not
be used anymore.

Fixes #6265
2024-03-13 11:42:19 +01:00
c4dd8d0125 Merge branch 'ebassi/issue-6527' into 'gtk-3-24'
Sink the floating ref on the file filter

See merge request GNOME/gtk!7011
2024-03-11 12:23:16 +00:00
8a26450bba Sink the floating ref on the file filter
The GtkFileChooserEntry widget creates a file filter instance, but never
sinks its floating reference. Newer versions of GLib correctly warn if
an instance with a floating reference gets finalized.

Fixes: #6527
2024-03-11 10:41:40 +00:00
374d5f83dc Update changelog
I'm not intending to upload this right now.
2024-03-06 14:06:40 +00:00
722119661b Add a Lintian override for arch-dep-package-has-big-usr-share
This is mostly the GIR XML, which must be in an arch-dep package
as specified by the GObject-Introspection mini-policy. Keeping it
in /usr/share means that it can at least be shared between multiple
installed multiarch instances.
2024-03-06 14:01:00 +00:00
565be4dea8 Fix mismatched Lintian override for libgail-3-0t64 name vs. SONAME 2024-03-06 13:58:49 +00:00
af20165f2b Fix lintian override for libgtk-3-0t64 containing both GDK and GTK 2024-03-06 13:58:20 +00:00
948aec536d d/tests/manual: Fix a typo in a comment 2024-03-06 13:55:54 +00:00
70215fa10e d/control, d/rules: Make it clearer that we are using the correct pkgconf
We intentionally compile convert-emoji with the build architecture
pkgconf, because we need to run it during build, but we do not need to
install it.
2024-03-06 13:46:47 +00:00
c6ea21dbf8 d/control, d/tests: Use pkgconf in preference to pkg-config 2024-03-06 13:45:40 +00:00
9fdc70a849 d/tests/manual: Add .gitignore
local-*.sources are not intended to be committed.

Gbp-Dch: ignore
2024-03-06 13:42:49 +00:00
e56ab279bc Release to unstable 2024-03-06 11:24:39 +00:00
2b8a8fa010 d/libgtk-3-0t64.postrm: Avoid recurrence of #1065494 in the future
If at some point in the future we have another transition as extensive
as time64, then libgtk-3-0t64 could conceivably be replaced by some
other package, which I have modelled here as libgtk-3-0xyz. If that
happens, we need to avoid deletion of immodules.cache, otherwise we
will have another bug similar to #1065494.

This implementation is based on the assumption that third-party input
method modules for GTK 3 will depend on GTK 3, therefore we should not
need to clean up the IM modules cache unless/until we reach the point
of having no IM modules installed.
2024-03-06 11:22:32 +00:00
d2572c8878 d/tests/1065494-futureproofing: Add a test for recurrence of #1065494
If at some point in the future we have another transition as extensive
as time64, then libgtk-3-0t64 could conceivably be replaced by some
other package, which I have modelled here as libgtk-3-0xyz. If that
happens, we need to avoid deletion of immmodules.cache, otherwise
we will have another bug similar to #1065494.

This test-case depends on several implementation details of dpkg-repack
and libgtk-3-0t64, so it might need to be adjusted in the future. As
a result, I have marked it as flaky, so that failures in the official
autopkgtest environment will not be considered a release-critical bug
that stalls migration and requires immediate intervention by maintainers.
2024-03-06 11:19:12 +00:00
c97afdd6d2 d/libgtk-3-0t64.postrm.in: Only clean up immodules.cache during purge
This avoids input methods becoming briefly unavailable during upgrades.
2024-03-06 11:08:38 +00:00
1c4fb7e79a d/libgtk-3-0t64.preinst: Remove libgtk-3-0 postrm to avoid file loss
During the migration from libgtk-3-0 to libgtk-3-0t64, the package
that is responsible for "owning" /usr/lib/*/gtk-3.0/3.0.0/immodules.cache
changed from libgtk-3-0 to libgtk-3-0t64. Because dpkg does not have an
equivalent of RPM's %ghost files, the ownership of this file is managed
by social convention rather than by the package management system.

Unfortunately, libgtk-3-0's postrm as shipped in Debian releases from
2010 to the present is not aware of the possibility that another binary
package might need to take over responsibility for this file, and so
will remove it during purge (and in fact also during upgrades) in
accordance with the requirement that the package must not leave unowned
files behind. This causes input methods to be non-functional in GTK apps
until the next time the gtk-query-immodules-3.0 trigger happens to be run.

To disarm the problematic maintainer script, delete it during the new
package's preinst, similar to what was done for GLib in response
to #1065022.

A subsequent commit will improve the postrm so that if we find that we
need to migrate from libgtk-3-0t64 to libgtk-3-0xyz at some point in
the future, similar efforts will not be needed.

Closes: #1065494
2024-03-06 11:03:10 +00:00
f338b27188 d/tests/manual/1065494: Add a manual reproducer for #1065494
Based on the reproducer I added to src:glib2.0 for the similar bug #1065022.
This one is simpler, because only architecture-specific multiarch files
are affected.
2024-03-06 10:56:40 +00:00
6bac387a4e Update fa.po 2024-03-01 18:46:51 +00:00
fa1fd6b5c7 Merge branch 'quartz-selection' into 'gtk-3-24'
Finish fixing pasteboard constants macOS 10.14 and later.

See merge request GNOME/gtk!6954
2024-03-01 16:32:50 +00:00
3df81bab55 Import Debian changes 3.24.41-1.1
gtk+3.0 (3.24.41-1.1) unstable; urgency=medium
.
  * Non-maintainer upload.
  * Rename libraries for 64-bit time_t transition.  Closes: #1064083
2024-02-29 13:51:11 -05:00
bb99970746 Merge branch 'fix-possible-segfault' into 'gtk-3-24'
dnd: Prevent a possible segfault

See merge request GNOME/gtk!6957
2024-02-28 18:52:53 +00:00