Commit graph

20317 commits

Author SHA1 Message Date
Ernestas Kulik 74dd9c9f72 general: remove desktop support 2018-01-02 12:51:32 +02:00
Carlos Soriano 816b8247f3 CI: Install meson from pip
We always need the latest one.
2018-01-02 10:41:46 +00:00
Carlos Soriano f3f28052ec Merge branch 'remove-error-details-expander' into 'master'
Remove error details expander

See merge request GNOME/nautilus!41
2018-01-01 23:36:19 +00:00
Carlos Soriano 0ad2431967 Merge branch 'new-folder-with-selection-prefix' into 'master'
file-utilities: rework common prefix computation

Closes #174

See merge request GNOME/nautilus!43
2018-01-01 23:11:40 +00:00
Carlos Soriano 86b2670228 Merge branch 'wip/alexpandelea/issue168' into 'master'
window-slot-dnd: fix drop condition check

Closes #168

See merge request GNOME/nautilus!42
2018-01-01 21:14:13 +00:00
Tim Sabsch 56f5197c21 Update German translation 2017-12-29 21:57:13 +00:00
Ernestas Kulik 61ac48bdc0 file-utilities: rework common prefix computation
Currently, the process for getting the common prefix of a list of file
names is a tad too greedy:
    1. Find the common prefix of all the strings.
    2. Strip the extension from the prefix.
    3. Strip trailing punctuation.

Step 2 may strip dots if there’s trailing whitespace and step 3 may
strip useful punctuation (e.g. parentheses). This commit reworks the
process as such:
    1. Strip the extension from all the file names.
    2. Find the common prefix of all the strings.
    3. Trim trailing whitespace.

Fixes #174.
2017-12-23 17:38:17 +02:00
Alexandru Pandelea 0a7b7977e5 window-slot-dnd: fix drop condition check
Drag and dropping on a search or starred location tab gives an error dialog
that says "Error while copying to /".

In order to be able to drop the selection on a target it is also necessary
to check whether it is editable, property which is set False for the Star
and Search directories.

https://gitlab.gnome.org/GNOME/nautilus/issues/168
2017-12-22 23:41:20 +02:00
Alexandru Fazakas 490a6cbeb8 file-operations: Port error details inline
As the eel_gtk_message_dialog_set_details_label function is only used once,
we can safely remove it and do everything inside of nautilus-file-operations.c.

Thus, we deleted the eel function and we do everything inside the
do_run_simple_dialog function and remove the function header from the header
file. We add the label straight into the content_area of the dialog box.

https://bugzilla.gnome.org/show_bug.cgi?id=598671
2017-12-21 02:11:24 +02:00
Emin Tufan Çetin 351e3f7d4b Update Turkish translation 2017-12-20 19:45:17 +00:00
Alexandru Fazakas 28ae2d032b eel/eel-gtk-extensions.c: Remove expander showing error details
Creating directories within read-only ones is not allowed and appropriate
error messages pop up.

Trying to create a directory within a read-only directory opens a window
showing the error. Within the window, an expander shows the error details.
Whenever the expander is clicked, the window moves unexpectedly.
We need to fix this as the behaviour is not normal and doesn't look good.

In order to fix the issue, we removed the expander and included the error
details as a label inside the dialog box itself.

https://bugzilla.gnome.org/show_bug.cgi?id=786212
2017-12-20 01:35:21 +02:00
Fabio Tomat 4eaffab5b7 Update Friulian translation 2017-12-15 05:59:50 +00:00
Carlos Soriano 22917637cb Merge branch 'drop-x11-xf86keysym-h' into 'master'
general: Get key values from gdk/gdkkeysyms.h, not X11/XF86keysym.h

See merge request GNOME/nautilus!38
2017-12-14 10:54:20 +00:00
António Fernandes 2ea3a8ccb8 general: Get key values from gdk/gdkkeysyms.h, not X11/XF86keysym.h
We already included gdk/gdkkeysyms.h, which is generated from
X11/XF86keysym.h

Doing this, we can drop the ifdefs. Also, revert the build
configuration introduced in 2c5882aaff.
2017-12-14 10:31:11 +00:00
Carlos Soriano bb595c3a7d Merge branch 'rename-popover-undo' into 'master'
rename-file-popover: fix key event state checking

Closes #149

See merge request GNOME/nautilus!37
2017-12-12 12:43:14 +00:00
Ernestas Kulik 0f8c185209 rename-file-popover: fix key event state checking
Currently, when checking if the user pressed ctrl-z, an equality check
is used on the state to determine whether the ctrl key is pressed. That
does not work, however, as there may be other modifier masks applied, be
it internal GDK values or mapping of num lock to mod2.

That is fixed by using binary AND on the state with the relevant mask.

Closes #149.
2017-12-08 17:13:53 +02:00
Ernestas Kulik 4cf282086f CI: use F27 image for updated GTK+ 2017-12-08 14:47:50 +00:00
Ernestas Kulik ddca5f532a meson.build: bump GTK+ version requirement
Starred locations in GtkPlacesSidebar are only available in 3.22.26
onward.

https://bugzilla.gnome.org/show_bug.cgi?id=786039
2017-12-08 15:24:15 +02:00
Sveinn í Felli d5e7c6234e Update Icelandic translation
(cherry picked from commit aefdffb9d6)
2017-12-07 08:57:46 +00:00
Kukuh Syafaat adbee08114 Update Indonesian translation 2017-12-05 15:38:02 +00:00
Ernestas Kulik cbcbb3ae5f vfs-file: move some vfunc overrides to NautilusFile
Some method overrides are only accessing the private data of the parent
class, so those might as well live in the parent class.

https://bugzilla.gnome.org/show_bug.cgi?id=786760
2017-12-01 13:58:27 +02:00
Ernestas Kulik 2470d82938 vfs-file: use API to get file type
https://bugzilla.gnome.org/show_bug.cgi?id=786760
2017-12-01 13:58:27 +02:00
Ernestas Kulik 1cea7551bd vfs-file: use API to get file directory objects
https://bugzilla.gnome.org/show_bug.cgi?id=786760
2017-12-01 13:58:27 +02:00
Ernestas Kulik 3aab6e9b57 vfs-file: use API to get file times
Additionally this adds new API for trash times and recencies.

https://bugzilla.gnome.org/show_bug.cgi?id=786760
2017-12-01 13:58:27 +02:00
Ernestas Kulik 7ba0a40d67 search-directory-file: use API to access file directory objects
https://bugzilla.gnome.org/show_bug.cgi?id=786760
2017-12-01 13:58:27 +02:00
Ernestas Kulik d56e5704d2 directory: use API to get file names
This additionally removes some redundant assertions to avoid needless
string copies.

https://bugzilla.gnome.org/show_bug.cgi?id=786760
2017-12-01 13:58:27 +02:00
Ernestas Kulik 364a35985c directory: use API to get file directory objects
Another attempt at reducing the amount of internal state accessing.

https://bugzilla.gnome.org/show_bug.cgi?id=786760
2017-12-01 13:58:27 +02:00
Carlos Soriano b211765a96 Merge branch 'wip/debarshir/entry-tag2' into 'master'
Update libgd and remove the custom documents-entry-tag style class

Closes #147

See merge request GNOME/nautilus!35
2017-11-30 15:36:31 +00:00
Debarshi Ray abcea0ad34 Update libgd and remove the custom documents-entry-tag style class
Adwaita provides the new entry-tag CSS style class for this.

Fixes #147
2017-11-30 15:53:48 +01:00
Carlos Soriano 3ba92d47e4 Merge branch '134-xf86back-and-xf86forward-not-working-anymore' into 'master'
Resolve "XF86Back and XF86Forward not working anymore"

Closes #134

See merge request GNOME/nautilus!32
2017-11-30 09:33:51 +00:00
Carlos Soriano 7eb62a552e Merge branch 'WIP_detach_crash' into 'master'
Disable tab detaching to avoid crash

Closes #137

See merge request GNOME/nautilus!30
2017-11-30 09:33:13 +00:00
Ernestas Kulik 0e546d2242 file-operations: forbid more characters in FAT
‘\’ and ‘|’ aren’t allowed in both 8.3 and long file names.

https://bugzilla.gnome.org/show_bug.cgi?id=771364
2017-11-29 21:44:15 +02:00
António Fernandes bdd1c3b0ae build: Fix indent style 2017-11-29 18:01:07 +00:00
António Fernandes 2c5882aaff build: Detect X11/XF86keysym.h to enable extra keys
Support for special keyboard keys for actions such as Back,
Forward, Refresh, Go Home, etc. depends on this header.

We used to check for this header in configure.ac but
this was lost when porting from autotools to meson
(commit 857a90c2).

Restore this support by checking for this header with meson.

Fixes #134
2017-11-29 17:36:08 +00:00
Carlos Soriano 1962dd81f7 Merge branch 'master' into 'master'
build: Install appstream metadata to non-deprecated location

See merge request GNOME/nautilus!31
2017-11-27 00:42:20 +00:00
Jeremy Bicha 5d75a4a5bc build: Install appstream metadata to non-deprecated location 2017-11-26 18:52:09 -05:00
Nelson Benítez León 24ef9bd31a Disable tab detaching to avoid crash
As reported by Antonio Fernandes in:
https://bugzilla.gnome.org/show_bug.cgi?id=781991#c1

Detaching a notebook tab into a new window through DnD
leaves Nautilus in an inconsistent state leading to a
crash after loading a new location.

As opening a folder into a new window should be done
through its action already present in the folder context
menu of both files view and path bar, let's disable this
alternative way to do it through tab detaching, as
Nautilus code was not expecting that use pattern.

Closes #137
2017-11-25 15:51:42 +05:00
Marek Cernocky 3965de7e28 Updated Czech translation 2017-11-22 11:20:45 +01:00
Carlos Soriano f2dc51c2cb Merge branch '128' into 'master'
mime-actions: Add Microsoft mime types

Closes #128

See merge request GNOME/nautilus!28
2017-11-21 14:47:43 +00:00
Carlos Soriano 16785d9ab9 mime-actions: Add DjVu mime type as PDF
Seems there is a new mime type for DjVu, more information at
https://bugzilla.gnome.org/show_bug.cgi?id=754467
2017-11-21 15:34:59 +01:00
Carlos Soriano ce7247635a mime-actions: Add Microsoft mime types
Seems they are using some custom mime types for Microsoft Office.
They can be found at https://blogs.msdn.microsoft.com/vsofficedeveloper/2008/05/08/office-2007-file-format-mime-types-for-http-content-streaming-2/

This commits adds them.

Fixes #128
2017-11-21 15:34:37 +01:00
Carlos Soriano eb8e440ebb flatpak: Remove unused build-options
We use Meson nowadays that doesn't spew tons of deprecated warnings.
2017-11-21 15:24:11 +01:00
Carlos Soriano dd0fae86de flatpak: Remove stable Flatpak manifest
This should live elsewhere, like Flathub or so.
2017-11-20 21:15:56 +01:00
Carlos Soriano 78ca21634d flatpak: Move file to build-aux 2017-11-20 21:15:45 +01:00
Carlos Soriano 35acba3fe9 flatpak: Update manifest with gexiv2 changes 2017-11-20 20:41:47 +01:00
Carlos Soriano 74931f9f8b Merge branch 'exempi-removal' into 'master'
general: Remove exempi and exempi-xmp

See merge request GNOME/nautilus!26
2017-11-20 17:23:09 +00:00
Carlos Soriano 23eacd3155 general: Remove exempi and exempi-xmp
Since now we use gexiv2 these are not longer necessary.
2017-11-20 15:43:45 +01:00
Carlos Soriano 6cb519f0a5 image-properties-page: Make coordinates translatable
Seems some languages doesn't use the NWES pattern for coordinates.
2017-11-20 15:30:47 +01:00
Carlos Soriano fb0a1027dd image-properties-page: Fix formatting and warnings
Commit 1d2a80c913 introduced code that was wrong formatted and also
introduced some warnings.

Fix them.
2017-11-20 14:43:54 +01:00
Carlos Soriano 6c63ba82f2 CI: Update for latest gexiv2 addition 2017-11-20 12:10:34 +00:00