AdwButtonRow is a new widget to present actions at the end of a
boxed list. Requires a bump of libadwaita dependency to v1.6.alpha.
Also, add a mnemonic to this button row.
I've just reverted a workaround to a GtkExpression bug which has been fixed by 14e78663ee
So, depend on the latest development release, which includes this bugfix.
Enable extra warnings by enabling -Wextra. Disable warnings about
functions casts and unused parameters, as they are not meaningful for
us, due to the way that GLib functions are commonly used.
Before gvfs metadata, nautilus would save its metadata in XML, so a conversion
tool was introduced[0]. Since GNOME 3.0, this conversion tool has been the sole
reason why nautilus needed libxml. But it's been removed in the 3.18 cycle.[1]
Let's stop depending on a library we haven't been using for more than 7 years.
(Note: before 3.0, nautilus would directly use XML for many other purposes, such
as the folder background patterns and custom file emblems browser.)
[0] commit 1d14824dc8
[1] commit 87d24047f6
Sets the file modified time as default when creating a file from a
template so that it appears as a new file.
Also bump glib dependency to 2.79 to insure the API for the default
modification time is supported.
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1686
There are currently too many warnings caused by deprecations, hindering
the usefulness of any other warnings. Disable them until
https://gitlab.gnome.org/GNOME/nautilus/-/issues/2722 is resolved.
(cherry picked from commit f01209be8ce662d2decf3e1091bf62541845cea0)
Use g_string_replace over eel_str_replace_substring and
eel_str_double_underscores.
Remove the now unused eel* functions.
Bump glib version to 2.76 for g_string_free_and_steal().
While the user types a search query, we restart our search engines for
every key stroke. This is desirable for quick results.
But unlike other engines, starting the simple engine multiple times in
rapid succession can put some stress on system resources.
Depending on the hardware and windowing system, this may result in user
perception of poor performance.
Previously, we've dealt with this by setting the delay directly in the
search entry. But that was a bad solution because it draged down the
responsiveness of other search engines.
Instead, let's save resources by starting the simple engine IO thread
half a second later, if not cancelled/restated before that.
Bump glib minimum version to use "once" source helpers.
It includes the GTK bugfix mentioned in 2e10ed11d9
As we have removed the workaround, we cannot accept a GTK
version without that bugfix, because that would cause a
regression.
And we can't restore the workaround either, because it
misbehaves when using the fixed GTK version.
This leaves us with no other choice than requiring the
fixed GTK version.
We've added them because the colors assigned by the default stylesheet
were not adequate as per design review: d7b0365621
Libadwaita 1.3 updated the stylesheet to use the design-choosen colors
by default in views. [0]
So, we should drop our overrides which are now unnecessary and even
harmful (they may be out of sync). Also, require the stable release of
the dependency, because 1.3.alpha didn't include [0].
[0] fd83834f83
Currently, it isn't possible to use Nautilus for the extraction of the
".zstd" and ".tar.zst" archives. However, it seems that this compression
is supported by the libarchive library nowadays. Let's add the
`application/zstd` and `application/x-zstd-compressed-tar` mime-types
to the list of supported. This will allow Nautilus to show the "Extract"
and "Extract to..." actions. Also, bump the gnome-autoar dependency to
the version with a corresponding change.
Related: https://gitlab.gnome.org/GNOME/gnome-autoar/-/merge_requests/38
Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2860
We have a docs options, but we are generating the docs regardless
of if it is set. This was a regression in d47403bced.
`gi_docgen.found()` is redundant because when 'docs' is set to true
gi_docgen is a requirement.