1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-07-04 17:30:55 +00:00
Commit Graph

119 Commits

Author SHA1 Message Date
Yuri Chornoivan
808339bff6 Use URLs with transport encryption 2019-11-16 18:53:28 +02:00
Méven Car
89a7b316d1 [Information Panel] Allows to refresh icon and metadata for urls such as trash:/
Summary: CCBUG: 392882

Test Plan:
1. Create a file
2. Remove it, so that it goes to the trash
3. Open trash
4. Empty trash

Before:
Information panel icon is still user-trash-full

After:
Information panel icon is changed to user-trash

Reviewers: ngraham, #dolphin, elvisangelaccio

Reviewed By: ngraham, #dolphin, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D23668
2019-11-12 08:20:58 +01:00
Albert Astals Cid
ce081212eb GIT_SILENT Upgrade KDE Applications version to 20.03.70. 2019-11-10 01:12:45 +01:00
David Hallas
c3b914a7fa Unmounting busy device doesn't tell who is blocking
Summary: Unmounting a busy device from the places panel doesn't tell which applications have open files blocking the unmount.

Test Plan:
Mount a USB stick using Dolphin
Open a file from the USB stick
Unmount the USB stick using Dolphin
Observe the new error message.

FEATURE: 189302

Reviewers: #dolphin, elvisangelaccio, ngraham, broulik, meven

Reviewed By: #dolphin, elvisangelaccio, meven

Subscribers: meven, davidedmundson, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19989
2019-10-27 06:52:25 +01:00
Laurent Montel
96e84bef52 We depend against 5.61 2019-09-20 06:51:17 +02:00
Laurent Montel
abbb98f57b We depend against 5.61 which depends against qt 5.11 2019-09-14 09:41:37 +02:00
Simon Krull
9cd042a86c Change default Dolphin toolbar layout
Summary:
{F7205836}

Use a default toolbar layout that looks better and makes more sense for new users.

Test Plan: Open Dolphin (with the default toolbar)

Reviewers: #dolphin, #vdg, ngraham, GB_2, elvisangelaccio

Reviewed By: #dolphin, #vdg, ngraham, GB_2

Subscribers: iasensio, filipf, meven, elvisangelaccio, felixernst, GB_2, ndavis, ngraham, kfm-devel, #vdg, #dolphin

Tags: #dolphin, #vdg

Differential Revision: https://phabricator.kde.org/D23075
2019-08-25 09:35:00 -06:00
Wolfgang Bauer
e39b7e8f5a Merge branch 'Applications/19.08' 2019-08-07 18:11:51 +02:00
Wolfgang Bauer
68aee5ed51 Fix build with cmake < 3.7
`VERSION_GREATER_EQUAL` was introduced in cmake 3.7, but the specified
minimum version is 3.0.
So use `NOT VERSION_LESS` instead to still support older cmake versions
too.

Differential Revision: https://phabricator.kde.org/D22984
2019-08-07 18:08:57 +02:00
Christoph Feck
813e8866b7 GIT_SILENT Upgrade KDE Applications version to 19.07.90. 2019-07-29 15:44:58 +02:00
Albert Astals Cid
981e96efe6 GIT_SILENT Upgrade KDE Applications version to 19.11.70. 2019-07-15 21:39:44 +02:00
Albert Astals Cid
c951c63e14 GIT_SILENT Upgrade KDE Applications version to 19.07.80. 2019-07-15 21:17:55 +02:00
Yuri Chornoivan
cd2078cef4 Add docs about the new 'Open new folders in tabs' option 2019-06-26 10:48:17 +03:00
Elvis Angelaccio
ff81ed60cf Fix ECM version comparison
CCMAIL: montel@kde.org
2019-06-16 12:02:42 +02:00
Laurent Montel
c337bfeeea Install in new logging directory when we use kf5 5.59.0 2019-06-13 07:07:35 +02:00
Alexander Saoutkin
27e3907a3d Open externally called files/directories in new tabs
Summary:
FEATURE: 183429
FIXED-IN: 19.08.0
GUI: new cli argument --new-window

Externally called files/directories are opened in a a new tab of an instance of Dolphin that already exists. If any of the given URIs are already open in a tab, then those tabs are activated instead of a new tab being opened.  If there is no instance then the files/directories are opened in a new window. The newly opened file/directory has its tab activated, and consequently, the window is also activated.

When the user clicks "Open In New Window" or "Detach Tab", the files/directories are opened in a new window.

Test Plan:
[Manual]
Before testing, set the default file manager in system settings as the newly built Dolphin executable.
One must also include the new dolphin executable in the $PATH, otherwise some functions will attempt to open the system dolphin instead of the new one.

Furthermore, running two different versions of Dolphin (in particular, where one does not have this patch included) can result in bugs appearing, in particular, new tabs not opening as old instances will not recognise the DBus commands sent to it. However, I see no reason why a user will have two different versions of Dolphin (apart from people like us :D).

Open directories with the help of auxillary programs (i.e. a browser). The files/directories should appear in a new window if an instance does not exist. If an existence already exists, then a new tab should be opened and activated in that instance and the window activated.
Use QDBusViewer to open folders/items by calling the ShowFolders/ShowItems methods in org.freedesktop.FileManager1 of the Dolphin instance.
When a user chooses to "Open In New Window"/"Detach Tab" then the files/directories should be opened in a new window.

Reviewers: #dolphin, elvisangelaccio

Subscribers: zzag, dfaure, fvogt, fikrim, magar, fbg13, davidedmundson, kwin, ngraham, elvisangelaccio, anthonyfieroni, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D16648
2019-05-30 22:40:08 +02:00
Alexander Stippich
36b61838a2 handle maps with multiple or single entries from Baloo
Summary:
Handle maps which may contain multiple entries with the same key.
Bumps frameworks to 5.58. Equivalent to D20739.

Reviewers: #dolphin, elvisangelaccio, bruns

Reviewed By: #dolphin, elvisangelaccio, bruns

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D21157
2019-05-30 11:18:41 +02:00
Stefan Brüns
ecf1ae6d0b [InformationPanel] Use the new inline configuration mode
Summary:
The current external configuration dialog has some issues:

- its layout is suboptimal, as its initial size is typically to small
- it is quite disassociated with the actual widget it configures, properties
  have a different order, and the property names can be quite abstract
  without the corresponding value.

Doing the visibility selection inline typically avoids the sizing problem,
as the containing application (dolphin) is often vertically maximized.
The selection becomes more obvious, as the item order is kept,
and the values are shown.

Depends on D20524

CCBUG: 389571

Reviewers: #dolphin, #baloo, #frameworks, ngraham, astippich, #vdg, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: elvisangelaccio, meven, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D20525
2019-04-23 12:36:14 +02:00
Nate Graham
3dec3ee092 Merge branch 'Applications/19.04' 2019-03-24 11:31:44 -06:00
Elvis Angelaccio
3fe6547197 Revert "Create a global launch shortcut (Meta+E)"
This reverts commit 58084cf7da.

Plasma considers khotkeys deprecated, so we shouldn't add new users
making the migration even harder.
Dolphin should use the `X-KDE-Shortcuts` desktop entry instead.

More details in David's comment: https://phabricator.kde.org/D19831#437096
2019-03-24 12:07:24 +01:00
Christoph Feck
b2b1f76031 Merge remote-tracking branch 'origin/Applications/19.04' 2019-03-18 23:00:25 +01:00
Elvis Angelaccio
5b463d82fe Bring back KActivities support
Summary: This code has been unused since the KF5 port.

Reviewers: #dolphin, #plasma

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D18273
2019-03-18 21:18:04 +01:00
Nate Graham
363fd1afa9 Merge branch 'Applications/19.04' 2019-03-17 16:12:38 -06:00
Nate Graham
58084cf7da Create a global launch shortcut (Meta+E)
Summary:
This patch adds a global shortcut ({key Meta E}) to launch Dolphin, just like Konsole has.

FEATURE: 405302
FIXED-IN: 19.04.0

Test Plan:
1. Apply patch and reboot, or create and log into a new user
2. Hit {key Meta E}
3. Dolphin opens!

Reviewers: #dolphin, #vdg, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: hallas, elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19831
2019-03-17 16:12:18 -06:00
Albert Astals Cid
21b140943d GIT_SILENT Upgrade KDE Applications version to 19.07.70. 2019-03-16 22:11:47 +01:00
Albert Astals Cid
13ae434646 GIT_SILENT Upgrade KDE Applications version to 19.03.80. 2019-03-16 21:54:08 +01:00
Alexander Stippich
7a57be9812 Use new display string function from KFileMetaData
Summary:
Delete all the custom formatting functions
and use the ones provided from KFileMetaData.

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: bcooksley, elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D19105
2019-03-01 12:02:03 +01:00
Elvis Angelaccio
8bc93b564c Introduce HAVE_TERMINAL
Source code should check for features detected during configure-time,
rather than checking for a specific OS.

See also commit 87e8d0ba5f.
2019-01-28 22:38:21 +01:00
Elvis Angelaccio
d23b842a14 Fix required version for baloo and kfilemetadata 2019-01-15 18:53:45 +01:00
Elvis Angelaccio
0634e68336 Use stable version as required version for baloo-widgets 2019-01-15 18:52:02 +01:00
Elvis Angelaccio
b5df5f4d95 [PlacesPanel] Port to KFilePlaceEditDialog
Summary:
This patch ports away from the old PlacesItemEditDialog copy,
which doesn't honour the "applicationLocal" checkbox.

KFilePlaceEditDialog was not exported by KIO, but it will be starting
from 5.53

BUG: 376619
FIXED-IN: 19.03.80

Test Plan:
* Create a new place ("Add Entry" from the panel context menu) and check the "only show in dolphin" checkbox
* Edit an existing (global) place and check the "only show in dolphin" checkbox

Reviewers: #dolphin

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D16824
2018-11-24 12:18:01 +01:00
Albert Astals Cid
27179cd275 GIT_SILENT Upgrade KDE Applications version to 19.03.70. 2018-11-10 08:37:42 +01:00
Albert Astals Cid
cbf1b5bc0c GIT_SILENT Upgrade KDE Applications version to 18.03.70. 2018-11-09 23:35:44 +01:00
Laurent Montel
7c9db51c1d Autogenerate debug file + install debug categories file 2018-11-02 13:23:10 +01:00
Elvis Angelaccio
6674c9c387 Port away from kdelibs4support
Summary:
It was only used as fallback when baloo was not found, but
`KFileMetaDataWidget` is useless without nepomuk.

The result of this patch is that the information panel and the tooltips
won't be available from platforms without baloo (instead of being
available but broken). The baloo dependency remains optional.

Closes T8720

Test Plan:
Build dolphin with `cmake -DCMAKE_DISABLE_FIND_PACKAGE_KF5Baloo=ON ..` and
make sure it doesn't show tooltips or the information panel.

Reviewers: #dolphin, broulik, ngraham

Subscribers: kfm-devel

Tags: #dolphin

Maniphest Tasks: T8720

Differential Revision: https://phabricator.kde.org/D14814
2018-08-21 01:03:33 +02:00
Albert Astals Cid
6072f3a683 GIT_SILENT Upgrade KDE Applications version to 18.11.70. 2018-07-16 19:59:42 +02:00
Friedrich W. H. Kossebau
cd4f42b33a Remove QT definitions duplicated from KDEFrameworkCompilerSettings or dead 2018-06-29 18:42:00 +02:00
Elvis Angelaccio
7a5dbbc6c5 cmake: add warning when baloo will be disabled
Summary:
KFileMetaDataWidget is useless without nepomuk (which no one ships
anymore). Let's add at least a warning until we will get rid of
kdelibs4support (see T8720).

Test Plan: Uninstall baloo-widgets, build dolphin and check the cmake output.

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D13005
2018-05-20 18:54:53 +02:00
Nathaniel Graham
9a3d4a29ba Revert "Reverting Baloo-widgets version change in cmakelists, since this breaks the information panel"
Sorry, this was actually correct, and the rest of us were using old baloo-widgets.

Anyone experiencing issues with Information Panel content in Dolphin master should
Compile and deploy baloo-widgets from git master too.

CCMAIL: elvis.angelaccio@kde.org
CCMAIL: kde@privat.broulik.de

This reverts commit 58edb20a99.
2018-05-17 16:32:58 -06:00
Nathaniel Graham
58edb20a99 Reverting Baloo-widgets version change in cmakelists, since this breaks the information panel
Let's find another way to do this.

CCMAIL: elvis.angelaccio@kde.org
CCMAIL: kde@privat.broulik.de
2018-05-17 08:32:20 -06:00
Elvis Angelaccio
2912894d4f Fix broken build without baloo-widgets master
D11245 introduced a dependency on baloo-widgets master, but
baloo-widgets is only an optional dependency.
2018-05-12 20:54:01 +02:00
Albert Astals Cid
ffec5f17d3 GIT_SILENT Upgrade KDE Applications version to 18.07.70. 2018-03-19 23:50:00 +01:00
Elvis Angelaccio
b46d57d5fb Align minimum ECM and KF5 versions
It doesn't make sense to require 1.6.0 which is years old.
2018-03-11 17:09:11 +01:00
Roman Inflianskas
0c9343d614 Fix some compile warnings
Reviewers: markg, elvisangelaccio

Reviewed By: markg, elvisangelaccio

Subscribers: chehrlic, rkflx, elvisangelaccio, #dolphin

Differential Revision: https://phabricator.kde.org/D10995
2018-03-10 18:07:47 +03:00
Elvis Angelaccio
add821885d Bump minimum KF5 version
This should have been part of D9333.
2018-01-27 11:24:10 +01:00
Albert Astals Cid
7a4d1e6199 Needs kio >= 5.42
At least since 5f1df43b87
2018-01-10 22:26:39 +01:00
Renato Araujo Oliveira Filho
da6f8fe086 Use Kio::KPlacesModel as source model for PlacesItemModel
Summary:
Use Kio::KPlacesModel as source model for PlacesItemModel avoiding
duplicated code.

Depends on D8862
Depends on D8332
Depends on D8434
Depends on D8348
Depends on D8630

Test Plan: Unit test created

Reviewers: elvisangelaccio, emmanuelp, mlaurent, mwolff

Reviewed By: elvisangelaccio, mlaurent, mwolff

Subscribers: mwolff, mlaurent, anthonyfieroni, nicolasfella, ngraham, #dolphin

Differential Revision: https://phabricator.kde.org/D8855
2017-12-14 09:40:34 -03:00
Heiko Becker
2e6450da1c Merge remote-tracking branch 'origin/Applications/17.12' 2017-12-02 11:00:04 +01:00
Heiko Becker
cd90c04343 Use CMakePackageConfigHelpers instead of the ECM variant
Summary:
dolphin already requires cmake >= 3.0, which includes the macro.
Also make sure to include the CMakeFindDependencyMacro.

Reviewers: #dolphin

Differential Revision: https://phabricator.kde.org/D9091
2017-12-01 19:27:57 +01:00
Christoph Feck
99883ca8de GIT_SILENT Upgrade KDE Applications version to 17.11.90. 2017-11-30 22:16:12 +01:00