Commit graph

20593 commits

Author SHA1 Message Date
Ernestas Kulik
510a8303dd build: make all tests optional
This can help cut down on link times a bit when working on things.
2018-03-16 06:22:36 +02:00
Carlos Soriano
f7c4352ab8 Merge branch 'AlexFazakas/group-links-with-files' into 'master'
file: Group TYPE and link to TYPE together when sorting

See merge request GNOME/nautilus!140
2018-03-15 20:38:56 +00:00
Alexandru Fazakas
4dcc2e7002 file: Sort type and link to type together
As it is now, we only consider MIME types when sorting by type.

This leads, for example to a text file and a link to it not being
grouped together when sorted.

We solved this issue by taking into consideration the basic type
of the files when comparing (without the addition of "Link to").

Fixes issue: https://gitlab.gnome.org/GNOME/nautilus/issues/292
2018-03-15 22:35:09 +02:00
Carlos Soriano
0188cefe85 Merge branch 'recursive-link-changes' into 'master'
file: guard against recursive links when emitting change signals

Closes #289

See merge request GNOME/nautilus!137
2018-03-15 20:27:17 +00:00
Marco Trevisan
af9d19d430 Merge branch 'prevent-ref-unreffed-selection' into 'master'
file-view: prevent ref unreffed pending selection objects

Closes #295

See merge request GNOME/nautilus!139
2018-03-14 17:45:49 +00:00
Marco Trevisan (Treviño)
115acfb9d3 file-view: prevent ref unreffed pending selection objects
Do the selection unref after that we've copied it, as the very same
objects might be in two different lists and thus being invalidated
after the first unref.

Fixes #295
2018-03-14 17:47:18 +01:00
Carlos Soriano
61c317f44f Merge branch 'recent' into 'master'
nautilus-file-view: Recent lacks notion of time

Closes #88

See merge request GNOME/nautilus!129
2018-03-14 15:28:44 +00:00
Carlos Soriano
aa0da825e9 Merge branch 'thumbnail-limit-tweaks' into 'master'
Thumbnail limit tweaks

See merge request GNOME/nautilus!126
2018-03-14 15:27:50 +00:00
Carlos Soriano
39e157e922 Merge branch 'AlexFazakas/detailed-type-column' into 'master'
column-utilities: Add detailed type column, remove MIME type

Closes #198

See merge request GNOME/nautilus!119
2018-03-14 15:26:09 +00:00
Carlos Soriano
f558604fec Merge branch 'my_work_09' into 'master'
nautilus-file-operations: removed the "approximately" word

Closes #231

See merge request GNOME/nautilus!107
2018-03-14 15:25:07 +00:00
Carlos Soriano
0ccb8473eb Merge branch 'edit_label' into 'master'
nautilus-properties-window: Add a button to open gnome-disks

Closes #20

See merge request GNOME/nautilus!113
2018-03-14 15:24:23 +00:00
Carlos Soriano
72cc853f45 Merge branch 'firstContribution' into 'master'
Removing the "approximately"

See merge request GNOME/nautilus!105
2018-03-14 15:23:14 +00:00
Carlos Soriano
212b418907 Merge branch 'longpress_new_view' into 'master'
NautilusViewIconController: Add longpress gesture to open context menu

Closes #221

See merge request GNOME/nautilus!68
2018-03-14 15:20:51 +00:00
Florian Heiser
dd03b7cbe6 Update German translation
(cherry picked from commit ee6826538f)
2018-03-14 03:15:23 +00:00
Rahul Verma
09c7390cae nautilus-properties-window: Add a button to open gnome-disks
The volume label is visible in properties, so to edit it we need to open
gnome-disks.

Closes #20
2018-03-14 01:19:43 +05:30
Ernestas Kulik
a199c301a2 file: add comment about symlink cycle prevention 2018-03-13 20:08:51 +02:00
Ernestas Kulik
0d24b6a1df file: guard against recursive links when emitting change signals
Currently, when propagating file changes, the code recursively notifies
the files that link to the original file. This quickly falls apart with
recursive links, as a stack overflow occurs. The fix is only partial,
however, in that if you try a bit harder, you can still crash Nautilus
by throwing in another file into the loop (hah).

Fixes https://gitlab.gnome.org/GNOME/nautilus/issues/289
2018-03-13 20:08:48 +02:00
António Fernandes
9e35fd628a tag-manager: Use custom tag for starred items
Currently we use nao:predefined-tag-favorite, which is used by other
applications (example: gnome-photos) to tag favorite content. As such,
favorite photos show up as starred files in Files.

This is not what we currently want, because Favoriting has a different
meaning and function than Starring.

Instead, create our own custom tag <urn:gnome:nautilus:starred>
and use that instead of nao:predefined-tag-favorite.

Fixes https://gitlab.gnome.org/GNOME/nautilus/issues/277
2018-03-13 17:55:42 +00:00
António Fernandes
7935ee5b5c tag-manager: Use a constant for the tag name
This ensures all uses of the tag id use the same string. It also makes
it easy to change the tag id, as we are doing next commit.
2018-03-13 17:55:42 +00:00
António Fernandes
f7018ba597 query: Remove unused property
search_starred is always FALSE, because we don't provide UI to filter
search for starred files.

Remove it and any related code. Doing so, we are dropping the only uses
of hardcoded tag ids outside src/nautilus-tag-manager.c, which makes it
possible to set the tag id as a private constant next commit.
2018-03-13 17:55:41 +00:00
Marco Trevisan (Treviño)
f3bc66340c window-slot: Move object cleanup to finalize 2018-03-13 18:47:10 +01:00
Marco Trevisan (Treviño)
0ee1be569a nautilus-window-slot: clear and unset window action group on dispose 2018-03-13 16:54:18 +01:00
Ondrej Holy
dbb5e0946f trash-monitor: Change rate to 1 second
Rate limit for updates has been introduced recently. However, 5 seconds
might be in some cases pretty long and seems that 1 second is quite enough.
So let's unify this with GTK+ to 1 second. See:
https://bugzilla.gnome.org/show_bug.cgi?id=792335
2018-03-13 15:04:15 +00:00
Alexandru Fazakas
cf202ce7a5 preferences-window: Fix misaligned '\'
Fix a misaligned '\' in the macro definitions.
2018-03-13 11:35:29 +02:00
Ernestas Kulik
c10130c034 release: prepare for 3.28.0 2018-03-13 07:10:57 +02:00
Efstathios Iosifidis
2547db0b51 Update Greek translation 2018-03-12 19:44:40 +00:00
Rahul Verma
e1b3258fc1 list-view: show recency column in Recent places
For Recent on List view, there is no way to find files by "how recently" they were used just by looking at the list.

The fix for this is to replace "Size" column with "Recency" column.

Closes #88
2018-03-12 22:22:32 +05:30
Ernestas Kulik
270edc9e57 CI: use F28 image 2018-03-12 15:37:34 +00:00
Ernestas Kulik
9898636bea CI: install gcovr from upstream
The fix that we need has been merged, but the release will not happen
very soon.
2018-03-12 15:37:33 +00:00
Ernestas Kulik
05ee250995 preferences-window: mark string as translatable
611f381d56 added a spin button for
thumbnailable file size limit. The units are displayed in the text, but
the string is not translatable.
2018-03-12 14:00:51 +00:00
Ernestas Kulik
e8d66ca9ac gschema: fix key description
Since 611f381d56, the limit is no longer
expressed in bytes.
2018-03-12 14:00:50 +00:00
Anders Jonsson
ee55096a9e Update Swedish translation 2018-03-11 20:22:33 +00:00
Alain Lojewski
d316f4d092 Update French translation 2018-03-11 09:46:03 +00:00
Jordi Mas
4211320cd5 Update Catalan translation 2018-03-10 21:07:04 +01:00
Ernestas Kulik
b8a84e3075 build: add gio-unix-2.0 dependency to libnautilus
The gdbus-codegen-generated code includes one of its headers.

Fixes https://gitlab.gnome.org/GNOME/nautilus/issues/287
2018-03-08 10:36:54 +02:00
Daniel Șerbănescu
597e585f1d Update Romanian translation 2018-03-07 19:35:24 +00:00
gogo
c65c66d968 Update Croatian translation 2018-03-07 16:48:52 +00:00
A S Alam
4b7574d91f Update Punjabi translation 2018-03-07 11:55:09 +00:00
Milo Casagrande
f0ef445524 Update Italian translation 2018-03-07 09:21:38 +00:00
Ernestas Kulik
a2f01b3825 release: prepare for 3.27.92.1
Hope this is the last one.
2018-03-06 00:17:24 +02:00
Ernestas Kulik
e919f126ec tag-manager: use platform-dependent conversion specifier
What is %ld on x86_64 machines might not be what %lld is on x86
machines.

Fixes https://gitlab.gnome.org/GNOME/nautilus/issues/283
2018-03-05 22:03:50 +00:00
António Fernandes
61054d5f52 list-view: Fix build warning
We are using a variable which may be uninitialized (even though it is 
initialized in the case where it is used)

GCC8 fails to build due to this.

As that variable is only ever compared with a constant, compare the 
return value directly without storing it on a variable.

Fixes https://gitlab.gnome.org/GNOME/nautilus/issues/284
2018-03-05 21:30:14 +00:00
Stas Solovey
1845329338 Update Russian translation 2018-03-05 16:52:51 +00:00
Ernestas Kulik
9ff12e580a release: prepare for 3.27.92 2018-03-05 11:26:49 +02:00
Ernestas Kulik
7447f62fc7 eel: string: remove custom strdup_printf functions
These aren’t used anywhere and cause Clang to spit out errors about
format strings not being literals.
2018-03-05 11:26:49 +02:00
Ernestas Kulik
9df807799d debug: mark printf wrapper as such
Otherwise Clang complains about the passed format string not being a
literal.
2018-03-05 11:26:49 +02:00
Ernestas Kulik
9f9183d83e eel: string: remove tautological comparison 2018-03-05 11:26:49 +02:00
Rūdolfs Mazurs
6f031c4aed Update Latvian translation 2018-03-04 14:30:08 +00:00
Ernestas Kulik
cd0c41093d CI: import F29 key
Rawhide already features some F29 packages, but the key is not
installed.
2018-03-03 17:35:08 +00:00
Ernestas Kulik
02e8011c3d files-view: ensure starred directory type is registered
Since 9ec2be5635 removed the only call to
nautilus_starred_directory_get_type(), the extension isn’t registered
and starred:/// does not load.
2018-03-03 17:35:08 +00:00