summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add test for starred files featuresam/tag-manager-testSam Thursfield2020-05-115-0/+357
| | | | | | | | | I'm using to test that my re-implementation of NautilusTagManager works as expected. It brings in quite a lot of helper code to deal with Tracker and it depends on the currentrly unmerged [FilesProcessed signal] (https://gitlab.gnome.org/GNOME/tracker-miners/-/merge_requests/192).
* flatpak: Build tracker-miners inside the FlatpakSam Thursfield2020-05-113-18/+71
| | | | | | This is needed so that the org.freedesktop.Tracker3.Miner.Files settings schema is available, and so that the tests that depend on Tracker can pass as part of the CI build.
* flatpak: Allow Tracker 3 busnamesSam Thursfield2020-05-113-6/+6
| | | | | | This is temporary. Nautilus should use the Tracker portal when it's ready (see https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/180).
* flatpak: Use Tracker from GNOME Flatpak SDKSam Thursfield2020-05-113-165/+0
| | | | | Tracker 3 is provded in the Flatpak SDK, see https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/630.
* tag-manager: Store starred files in a private databaseSam Thursfield2020-05-117-93/+197
| | | | | | | | | | | | | | 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. 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.
* tag-manager: Update to use TrackerSparqlStatementSam Thursfield2020-05-111-91/+119
| | | | | In some cases we can TrackerSparqlStatement to avoid building queries with printf(). This approach is also faster for local connections.
* Port to Tracker 3Sam Thursfield2020-05-117-147/+185
| | | | | | | | | | | | | | | 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. There are more changes in nautilus-tag-manager.c because the TrackerNotifier API changed, it no longer queries the URIs for us so we need to query these ourselves, and maintain a table of ID->URI mappings in addition to the URI->ID mapping that we already maintained.
* Add NAUTILUS_DEBUG=TagManager flagSam Thursfield2020-05-112-0/+2
|
* tests: Make Tracker search test return error code on failureSam Thursfield2020-05-111-0/+6
| | | | | Previously the test could appear to succeed even if the search didn't work as expected.
* build: Set NAUTILUS_DATADIR correctlySam Thursfield2020-05-111-1/+1
|
* tag-manager: Fix checks for cancellationSam Thursfield2020-05-111-2/+2
| | | | | We were accidentally ignoring the real errors, rather than ignoring only the cancellation errors.
* progress-info-widget: Use tabular numbers in labelDiego Escalante Urrelo2020-05-111-0/+3
| | | | | | | | Use the tabular numbers (tnum) OpenType feature of PangoAttrFontFeature to prevent numbers from jumping around as transfer progress changes. This means that "11" occupies the same space as "44" instead of jumping around.
* flatpak: Build all tests by defaultOndrej Holy2020-05-104-3/+4
| | | | | | | | | | The flatpak template has been changed recently and MESON_ARGS variable doesn't have any effect currently. Let's drop MESON_ARGS and move the build options into the manifests directly (ie. -Dtests=all). See: https://gitlab.gnome.org/GNOME/citemplates/blob/master/flatpak/flatpak_ci_initiative.yml https://mail.gnome.org/archives/desktop-devel-list/2020-April/thread.html
* list-view: Stop GtkTreeView from performing select-all actionUjjwal Kumar2020-05-101-0/+7
| | | | | | | | | It is required that select-all action (application wide) is disabled while directory is loading because otherwise inappropriate selection might happen. Luckily, we can connect to the signal binding and stop its emission on the instance.
* files-view: Disable select-all while directory is loadingUjjwal Kumar2020-05-101-1/+2
| | | | | | | | | | | | | | In the current state, it is possible to perform selection while the directory is loading which in some cases, may not select all the items. Performing select-all only selects the items that are loaded, till the point of performing the action. Since the loading state is already maintained, we can put a check for an on-going directory load while updating actions state. Closes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1389
* file-operations: Add newly created files to RecentSachin Daluja2020-05-101-0/+1
| | | | | | When a new file is created, add it to the Recent files store. Closes https://gitlab.gnome.org/GNOME/nautilus/-/issues/1357
* Update Esperanto translationCarmen Bianca BAKKER2020-05-091-839/+921
|
* issue_templates: Drop Epic.mdAntónio Fernandes2020-05-091-41/+0
| | | | | Issue templates are exposed to all users as a way to help them communicate their issues more effectively. Epics were meant to be written by the project's contributors, so having a template for Epics serves only as a distraction.
* Update Turkish translationEmin Tufan Çetin2020-05-051-516/+528
|
* files-view: Remove obsolete FIXMEAntónio Fernandes2020-05-011-4/+0
| | | | | This has already been fixed in 7f19a036491cb27579daa674aaf7f5353d910709 and later improved in https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/440
* meson: Remove libX11 dependencyMarvin Schmidt2020-05-012-3/+1
| | | | | As of commit 70393e321 (general: Allow to compile on Wayland-only system) libX11 is no longer a dependency
* Update Chinese (Taiwan) translationCheng-Chia Tseng2020-05-011-652/+677
|
* Update Basque translationIbai Oihanguren Sala2020-04-281-3/+3
| | | | (cherry picked from commit ad72ed31e62443b248da3fca2ab48a7eb6ccec0e)
* Update Swedish translationAnders Jonsson2020-04-281-724/+748
|
* Updated Spanish translationDaniel Mustieles2020-04-271-742/+771
|
* nautilus-mime-actions.c: New PackageKit DBus APIRomeo Calota2020-04-261-25/+9
| | | | | | | | | | | | | | | When a user opens a file of a type that no installed application can open a dialog pops up with the option to search for a suitable application in GNOME Software. When the user clicks the "Search in Software" button an extra notification pops up asking to confirm searching for the app which is unnecessary and potentialy confusing. The fix consists of migrating to the new org.freedesktop.PackageKit.Modify2 D-Bus API that handles this use-case without a second user prompt. Closes #1299
* Update Persian translationDanial Behzadi2020-04-251-1286/+1388
|
* Update Ukrainian translationYuri Chornoivan2020-04-251-509/+519
|
* Release version 3.37.1.13.37.1.1Ondrej Holy2020-04-242-1/+9
| | | | | I made .1 release by mistake before some time. Let's make .1.1 release now to be still in sync with the GNOME release schedule.
* files-view: Cancel kinetic deceleration on loadingAntónio Fernandes2020-04-201-0/+20
| | | | | | | | | | | | | If we change location while the view is still scrolling due to kinetic deceleration, we get a sudden jump to the same scrolling position as the previous location, as well as residual scrolling movement in the new location. This is both undesirable and unexpected from a user POV. Workaround that by canceling deceleration when switching locations. Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/1452
* Update POTFILES.inPiotr Drąg2020-04-191-0/+1
|
* Update Croatian translationGoran Vidović2020-04-181-91/+91
| | | | (cherry picked from commit a87205dcb45707d78ebf487c54d2174ef0ffc7f7)
* ci: Run nightly job even if cross environment stage failsOndrej Holy2020-04-151-0/+2
| | | | | | | Currently, the nightly job is skipped if fedora rawhide, or flatpak master job fails. This is not wanted as the nightly should be published if flatpak devel job succeeds. Let's allow failures of those jobs to not block the deploy stage.
* ci: Do not show update image job on merge requestsOndrej Holy2020-04-151-1/+4
| | | | | | The update image job is always shown (under the GNOME namespace), however, fedora rawhide job is used only on master/web. So let's show this job only on master/web as well.
* ci: Run fedora rawhide job always on masterOndrej Holy2020-04-151-2/+1
| | | | | | | | The fedora job is run only on schedules and tags. The job is pretty fast now. So let's run it always on master so we know about possible breakages immediately and not after several days. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1441
* Update Basque translationIbai Oihanguren Sala2020-04-141-4/+4
| | | | (cherry picked from commit 1104e9bd17a04f26b15483c12c4397ea0926139c)
* Update Basque translationIbai Oihanguren Sala2020-04-131-83/+83
| | | | (cherry picked from commit 503946a20bb3862e0c6886bc38b4a56c9621f8bf)
* Bug.md: Add instructions to launch the Nightly flatpakFeldwor2020-04-111-0/+1
|
* Updated Slovenian translationMatej Urbančič2020-04-101-341/+356
|
* .desktop: Include traditional name as search keywordAntónio Fernandes2020-04-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on patches from Felipe Borges for other apps. Quoting him: The GNOME Shell search results are forwarded from the results of GLib's g_desktop_app_info_search() function, which matches the Name, Exec, Keywords, GenericName, X_GNOME_FullName, and Comment keys from desktop files[0]. Since Totem is now named "Videos", a query for "totem" would match the "Exec" key and present the application in the search results as expected. Unfortunately that doesn't happen for Flaptaked Totem, which would get its desktop file "Exec" key overwritten to something such as Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=totem org.gnome.Totem --new-document This way, searching for "totem" when only the Flatpaked version of it is installed returns no results. Searching for "Videos" presents the application as expected. Its been proposed in GLib to parse the "Exec" key for searches but that was rejected[1] because it would imply establishing an API which assumes that the command line behavior of Flatpak would be stable/never-change. A fix was proposed in Flatpak directly[2] but it was rejected, leaving us with the only option of adding the historical/legacy application names to the "Keywords" key in their desktop files. Many users, such as myself, have the "muscle memory" of search for the old application's name, such as "totem", "gedit", "evince". Although I agree that the new names should be presented to new users and that the old ones shouldn't be visible in UI, it makes sense and little effort to support the search for the old names IMO. [0] https://gitlab.gnome.org/GNOME/glib/blob/master/gio/gdesktopappinfo.c#L378 [1] glib#1706 [2] https://github.com/flatpak/flatpak/issues/2749
* Update Italian translationAntonio Ospite2020-04-091-444/+468
|
* dbus-manager: clarify CreateFolder methodAlberts Muktupāvels2020-04-062-16/+19
| | | | https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/504
* dbus-manager: add ask_confirmation parameter to EmptyTrashAlberts Muktupāvels2020-04-066-7/+12
| | | | https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/504
* dbus-manager: deprecate old interfaceAlberts Muktupāvels2020-04-062-0/+10
| | | | https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/504
* dbus-manager: add DeleteURIs methodAlberts Muktupāvels2020-04-062-0/+51
| | | | | | | Add DeleteURIs method to make it possible to permanently delete files avoiding trash. https://gitlab.gnome.org/GNOME/nautilus/merge_requests/504
* dbus-manager: add and implement FileOperations2 interfaceAlberts Muktupāvels2020-04-0617-299/+961
| | | | | | | | | | Add new version of FileOperations interface. This versions adds PlatformData argument to all methods. Currently supported arguments are parent-handle and timestamp. This change is necessary for proper focus handling. https://gitlab.gnome.org/GNOME/nautilus/merge_requests/504
* Update Ukrainian translationYuri Chornoivan2020-04-061-580/+484
|
* Revert "ci: Use test stage for flatpak devel job"Ondrej Holy2020-04-051-1/+0
| | | | | | | This reverts commit e7c2a0182a4ba2d6eb05fe170cc9b4d018a70feb, because the stage name doesn't have to be explicitely defined currently as it was changed directly in the template: https://gitlab.gnome.org/GNOME/citemplates/-/commit/5bffac6dfbd797291a90e705925a7a3973e4cc57
* ci: Use docker image to speed up jobsOndrej Holy2020-04-052-5/+26
| | | | | | | | Fedora and style check jobs install dependencies on each run. This causes that the pipelines take a long time. Let's use a custom docker image to not block runners for such a long time and to get the pipeline results faster. This commit also adds a new job to generate the docker image for us.
* ci: Add artifacts for style check jobOndrej Holy2020-04-051-1/+8
| | | | | It is not easy to find out why the style check job failed. Let's expose the style check job diff over artifacts to make it easier.