1
0
mirror of https://gitlab.gnome.org/GNOME/nautilus synced 2024-07-04 17:30:47 +00:00
Commit Graph

149 Commits

Author SHA1 Message Date
António Fernandes
ff2268ae01 Post-release version bump 2022-08-07 05:43:05 +01:00
António Fernandes
33855b7b15 image-properties: Don't depend on GTK
GdkPixbuf is enough here.
2022-08-07 01:14:22 +00:00
Ondrej Holy
9dcb29db7b flatpak: Add libcloudproviders dependency
The libcloudproviders dependency is now mandatory. Let's add it in
the manifest.
2022-08-06 12:40:58 +00:00
Ondrej Holy
673e6b157a sidebar: Build with cloudproviders support
The cloudproviders integration used to be part of GTK 3 version, but
it is not part of GTK 4 version. This is because the sidebar codes
are now	part of	Nautilus codebase and `HAVE_CLOUDPROVIDERS` is never
set. Let's allow to build with cloudproviders support again.

Related: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2392
2022-08-06 12:40:58 +00:00
António Fernandes
1e4a25e22a Post-release version bump 2022-07-09 19:56:53 +01:00
Christopher Davis
f35496b07d window: Port about to AdwAboutWindow 2022-07-09 17:57:05 +00:00
António Fernandes
b28e2d545d view-icon-controller: Abstract sharable code
The new list view is going to be GtkColumnView-based, so it's going to
share some code with the GtkGridView-based view.

In order to avoid code duplication and still keep the NautilusFilesView
class agnostic of the widgets used by final classes, create an abstract
NautilusListBase class.

But this abstract class needs to interact with the item widgets, which
are going to be different between views. To resolve this, an abstract
NautilusViewCell class is created for the item widgets, which is also
going to be used for the new list view column cells.

Also, bump GLib version requirement now that we use GSignalGroup.
2022-06-21 19:55:00 +01:00
Jeremy Bicha
794931998c Drop libportal option
This is a follow up from https://gitlab.gnome.org/GNOME/nautilus/-/commit/6af38c29d

As a result of that commit, it's not possible to set a picture as desktop wallpaper
from Nautilus unless libportal is used. Since libportal is generally available,
it's no longer a useful option to not use libportal.
2022-05-26 15:19:04 -04:00
António Fernandes
ca933ebbf7 gtk-code-generator: Drop it
We've deviated from the upstream source enough for this script to no
longer operate.

From now on we should just cherry-pick changes as needed, at least
while we try to stay close to the GTK code.
2022-05-02 11:18:58 +01:00
Michael Catanzaro
4420025e7f thumbnail: update for gnome-desktop thumbnail API changes
See gnome-desktop!132
2022-04-11 15:58:12 -05:00
Maximiliano Sandoval R
ed911e8275
meson: Use gnome.post_install 2022-02-28 22:20:19 +01:00
Maximiliano Sandoval R
035a95ea19
meson: Update to 0.59 2022-02-28 22:20:17 +01:00
Maximiliano
8bea51e173 general: Use proper license identifiers
GPL3+ is a deprecated SPDX identifier.[0] The meson and about dialog say
GPL 3.0, so that should also appear on the appdata.

[0] https://spdx.org/licenses/
2022-02-28 18:42:00 +00:00
António Fernandes
71d5cd95e7 Post branch version bump 2022-02-12 01:11:33 +00:00
António Fernandes
1ea635aaf6 Post release version bump 2022-01-09 03:39:51 +00:00
António Fernandes
e358c2343c general: Switch to GTK4
The new major version of the toolkit is a requirement to fix old issues and enable future enhancements.

Update symbols and adapt logic to API changes.
Update and simplify UI definitions.
Update local copy of places sidebar and places view.
Replace dependencies with their GTK4-compatible successors.
Make a minimum changes required to build and run, with known
regressions to be fixed in future commits.

For a detailed breakup of the changes, see the 36 commits-deep
log leading to d5763facb1e5045251171ed1273dca0859f3542f.

This is the main part of https://gitlab.gnome.org/GNOME/nautilus/-/issues/276
2022-01-09 01:25:39 +00:00
António Fernandes
b4f70a8872 build: Drop libgd dependency and submodule
We want to use to GTK 4, but libgd depends on GTK 3 and we can't link
against 2 API-incompatible versions of GTK due to symbol conflicts.
2021-12-26 18:12:29 +00:00
António Fernandes
55cfd66ccc general: Add libportal-gtk3 dependency
The portal-gtk3.h header has been moved into a separate library which
binds gtk3 explicitly.

https://github.com/flatpak/libportal/pull/53
2021-12-25 16:29:44 +01:00
António Fernandes
87b93eb803 Revert "general: Add libportal-gtk3 dependency"
This reverts commit ae752ea078
2021-12-21 23:30:27 +00:00
António Fernandes
ae752ea078 general: Add libportal-gtk3 dependency
The portal-gtk3.h header has been moved into a separate library which
binds gtk3 explicitly.

https://github.com/flatpak/libportal/pull/53
2021-12-21 17:42:27 +00:00
Nishal Kulkarni
0dfaaaeecd extensions/image-properties: Replace deprecated functions
Build log contains deprecation warnings for gexiv2 functions.
Replaced `gexiv2_metadata_has_tag()` with
`gexiv2_metadata_try_has_tag()` and `gexiv2_metadata_get_orientation()`
with `gexiv2_metadata_try_get_orientation()`

Closes: #2033
2021-12-04 22:54:14 +00:00
Ondrej Holy
5cc496ae59 Post branch version bump 2021-10-30 09:11:46 +02:00
Ondrej Holy
6737425d9c Post release version bump 2021-09-17 13:16:43 +02:00
António Fernandes
997e33fda3 Post release version bump 2021-09-03 22:01:32 +01:00
António Fernandes
d4794fdfd5 Post release version bump 2021-08-14 14:00:56 +01:00
Ondrej Holy
156a68cf52 compress-dialog: Add support for encrypted .zip
Currently, it is not possible to create encrypted archives over
Nautilus. Let's add support for encrypted .zip files to not have
to install a dedicated archive manager.

Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/822
2021-08-10 11:20:25 +00:00
Ondrej Holy
55aed9b74f Post release version bump 2021-07-09 17:12:20 +02:00
Ondrej Holy
8c5fa3eb08 extensions/image-properties: Replace deprecated symbols
The build log contains warnings about deprecated gexiv2 functions. Let's
port to the new API, unpin exiv3 and gexiv2 dependencies in flatpak manifests
and bump the build dependency accordingly to get rid of the warnings.
2021-07-09 15:46:59 +02:00
António Fernandes
59ca11451b Post branch version bump 2021-05-22 19:02:43 +01:00
Ondrej Holy
7058f1e247 Post release version bump 2021-04-30 15:34:04 +02:00
Ondrej Holy
48b8297db6 Post release version bump 2021-03-20 09:25:42 +01:00
Ondrej Holy
63fce9f8cf Release version 40.0
I made 40 release yesterday by mistake. Let's use 40.0 instead to
ensure the correct sort order.

Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1807
2021-03-20 09:23:53 +01:00
Ondrej Holy
6ec0584745 Post release version bump 2021-03-19 14:54:30 +01:00
Ondrej Holy
47062f8155 Post release version bump 2021-03-13 09:13:28 +01:00
Ondrej Holy
c652d4d4cc Post release version bump 2021-02-13 16:46:48 +01:00
Ondrej Holy
9012c36da8 build: Bump libhandy dependency
Nautilus currenlty crashes with libhandy version older than 1.1.90.
Let's bump the dependency to prevent that.
2021-02-13 16:46:48 +01:00
Ondrej Holy
bb79dade98 build: Bump gnome-autoar dependency
This is needed to prevent the "signal 'request-passphrase' is invalid
for instance '0x1e41340' of type 'AutoarExtractor'" warnings.
2021-02-12 16:08:04 +00:00
Adrien Plazas
2b3b51df23 general: Use libhandy 1.0
It provides widgets we need for the enhancements in the next commits.
2021-02-09 00:47:56 +00:00
Maxim Mikityanskiy
f29b483918 file-operations: Preserve mtime of non-empty directories on move
Nautilus follows this algorithm when copying or moving directories:

1. Create the destination directory.
2. Copy/move the old directory contents recursively.
3. g_file_copy_attributes from the old directory to the new.
4. Delete the old directory.

The issue is that when moving a non-empty directory, step 2 leads to
modification of the old directory's mtime, so g_file_copy_attributes
copies the attributes that were already lost at that point.

This commit fixes it by splitting g_file_copy_attributes into two steps.
It depends on glib!1449.

Closes: gvfs#471
Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
2021-01-09 16:33:49 +02:00
Ondrej Holy
96b4668770 Post release version bump 2021-01-08 16:45:11 +01:00
António Fernandes
44c1b9f3b5 meson.build: Don't suffix VERSION with '-stable'
It is visible in the about dialog and may be wrong.

Closes https://gitlab.gnome.org/GNOME/nautilus/-/issues/940
2021-01-05 07:07:57 +00:00
Felipe Borges
7cab1cd762 build, flatpak: Add libportal dependency
Fixes #795
2020-11-18 15:30:13 +00:00
Ondrej Holy
d584123d76 Post branch version bump to 40.alpha
Let's switch to the new versioning scheme:
https://discourse.gnome.org/t/new-gnome-versioning-scheme/4235
2020-10-02 14:37:52 +02:00
Ondrej Holy
8ed4a28f28 Release version 3.38.1 2020-10-02 14:18:30 +02:00
Ondrej Holy
5f1b9200cf Release version 3.38.0 2020-09-11 15:40:10 +02:00
Ondrej Holy
b6f39cf87d Release version 3.37.92 2020-09-04 15:13:41 +02:00
Sam Thursfield
f9c79fce6d Use Tracker Miners inside Flatpak when not available on the host
This means the Nautilus flatpak will be able to use Tracker on systems
which don't have Tracker 3 available on the host. It comes at a cost of
increased resource consumption inside the Flatpak due running an extra
indexer process there.
2020-09-02 18:50:17 +02:00
Sam Thursfield
7712c2c7e1 Port to Tracker 3
Mostly the port is straightforward, we connect to tracker-miner-fs
explicitly over D-Bus instead of the centralized tracker-store daemon
we connected to previously.

The search-engine-tracker test is now isolated from the user's real
Tracker index using the `tracker-sandbox` script provided by Tracker,
and it lets tracker-miner-fs index the test file rather than trying
to synthesize the expected database contents.

There are more changes in nautilus-tag-manager.c.  Until now, starred
file information was stored in the tracker-miner-fs database. This has
some downsides, firstly the data is deleted if someone runs `tracker
reset --hard`, secondly it isn't possible to do this from inside a
Flatpak sandbox with Tracker 3.0.  because the

This commit changes the NautilusTagManager to set up a private
database inside XDG_DATA_HOME/nautilus/tags. This stores the starred
file information. The database is managed with Tracker, which allows us
to continue using the rename-tracking that tracker-miner-fs provides.
The same limitations apply as before that only files in indexed
locations can be starred.
2020-09-02 17:28:38 +02:00
Sam Thursfield
452c25e33a build: Set NAUTILUS_DATADIR correctly 2020-09-02 12:17:31 +02:00
Ondrej Holy
f3977e8aa0 Release version 3.37.91 2020-08-21 08:18:38 +02:00