Commit graph

85 commits

Author SHA1 Message Date
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
Nathaniel Graham
bebcf035d2 Turn on Dolphin icon previews by default
Summary:
BUG: 338492
BUG: 350212

By default, turn on all preview plugins and turn on previews themselves.

Depends on D8347

Test Plan:
Tested this change in an up-to-date KDE Neon: removed the existing dolphinrc file, deployed Dolphin with the change, and observed that previews are now turned on for all file types for which a plugin exists except for text files, which are in the blacklist because they're mostly useless at nearly all icon sizes (still available in case people want them, though).

Here's how Dolphin's main window looks by default now in KDE Neon:

{F5441184}
(You may notice that there are no previews for the video files; that's because Neon doesn't ship with any plugins for them, so that would be expected at this point)

And here is how the Settings > General > Preview window looks like now by default:
{F5435391}

Reviewers: #dolphin, #vdg, markg, abetts, dfaure, aseigo, elvisangelaccio

Reviewed By: #vdg, abetts, dfaure, elvisangelaccio

Subscribers: abetts, cfeck, andreaska, emmanuelp, andreask, markg, broulik, anthonyfieroni, davidedmundson, ltoscano, dfaure, elvisangelaccio, #konqueror

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D7440
2017-11-15 19:49:05 -07:00
Albert Astals Cid
a1108e8400 GIT_SILENT Upgrade KDE Applications version to 18.03.70. 2017-11-13 08:59:39 +01:00
Albert Astals Cid
eab64f9732 GIT_SILENT Upgrade KDE Applications version to 17.11.80. 2017-11-13 01:03:00 +01:00
Gregor Mi
3749b55527
Select child folder when navigating to a parent folder
Whenever the dolphin view is initialized to show the contents of a new URL
(e.g. "/home/x/test") it will be checked if the new URL is a parent of the
previous displayed URL (e.g. "/home/x/test/documents/aaa"). If the check is
successful, then the common child (in this example: "/home/x/test/documents/")
folder item will be selected and scrolled into view.

REVIEW: 123253
BUG: 377392
CCBUG: 335616
2017-09-21 15:41:26 +02:00
Elvis Angelaccio
735b171451 Set version in project()
As discussed on release-team [1], this will enable automatically setting
product versions on bugzilla [2].

[1]: https://mail.kde.org/pipermail/release-team/2017-July/010474.html
[2]: https://community.kde.org/Guidelines_and_HOWTOs/Application_Versioning#Bugzilla_versions
2017-09-03 11:18:04 +02:00
Albert Astals Cid
ea142de633 GIT_SILENT Upgrade KDE Applications version to 17.11.70. 2017-07-17 20:28:07 +02:00
Albert Astals Cid
287e61b480 GIT_SILENT Upgrade KDE Applications version to 17.07.70. 2017-03-20 23:16:43 +01:00
Elvis Angelaccio
62b7f9228a Drop no longer used dependency
KWindowSystem is no longer used since commit 230fe13d1f.
It was only pulled for `KWindowEffects::enableBlurBehind()`, which is
now in plasma-integration (triggered by KToolTipWidget).
2017-02-06 00:07:58 +01:00
Elvis Angelaccio
230fe13d1f Port tooltips to KToolTipWidget
Use the new KToolTipWidget class (introduced by kwidgetsaddons 5.30) as backend of ToolTipManager.
FileMetaDataToolTip becomes a simple widget used as content of the tooltip.

It is now possible to actually use the metadata widget shown inside the tooltips.
Tooltips are now functional on Wayland as well.

More information about KToolTipWidget in https://git.reviewboard.kde.org/r/129648/

BUG: 352276
BUG: 371223
FIXED-IN: 17.04.0

Closes T4980
Differential Revision: D4449
2017-02-05 22:56:40 +01:00
Spencer Brown
73a6bf4e10 Fix 5 clazy warnings
This bumps the minimum Qt version to 5.5 (because of Q_ENUM usage).

REVIEW: 129604
2016-12-03 15:58:39 +01:00
Albert Astals Cid
341a09fafd GIT_SILENT Upgrade KDE Applications version to 17.03.70. 2016-11-16 00:14:47 +01:00
Albert Astals Cid
b7edab2244 GIT_SILENT Upgrade KDE Applications version to 16.11.70. 2016-07-19 23:28:02 +02:00
Kai Uwe Broulik
c2c075011c Merge branch 'Applications/16.04' 2016-07-01 11:37:01 +02:00
David Faure
e615bfaed4 add_definitions(-DQT_NO_URL_CAST_FROM_STRING) + fix compilation
This fixes some URLs built from local paths without scheme.
2016-06-25 16:40:18 +02:00
Albert Astals Cid
98d77cb96a GIT_SILENT Upgrade KDE Applications version to 16.04.2. 2016-06-07 14:03:39 +02:00
David Edmundson
b7ad5fb99d Merge branch 'Applications/16.04' 2016-05-18 10:13:16 +01:00
Albert Astals Cid
d0777bc791 GIT_SILENT Upgrade KDE Applications version to 16.04.1. 2016-04-27 20:55:15 +02:00
Wolfgang Bauer
16e3d669de Merge branch 'Applications/16.04' 2016-04-26 16:17:59 +02:00
Albert Astals Cid
bea2529c4f GIT_SILENT Upgrade KDE Applications version to 16.04.0. 2016-04-13 18:49:42 +02:00
Emmanuel Pescosta
8b9811694d Selection toggle: Use emblem-remove and emblem-added icons from Breeze
This raises the minimum KF5 version to 5.21.0

BUG: 357587
FIXED-IN: 16.08.0
REVIEW: 127400
CCMAIL: kainz.a@gmail.com
2016-04-09 14:23:10 +02:00
Albert Astals Cid
b101d49bb4 GIT_SILENT Upgrade KDE Applications version to 16.03.90. 2016-04-06 19:05:04 +02:00
Albert Astals Cid
aa582d0524 GIT_SILENT Upgrade KDE Applications version to 16.03.80. 2016-03-19 17:45:11 +01:00
Emmanuel Pescosta
59811f849e Merge branch 'Applications/15.12' 2016-03-16 21:01:52 +01:00
Albert Astals Cid
14f9a4a59e GIT_SILENT Upgrade KDE Applications version to 15.12.3. 2016-03-09 21:38:21 +01:00
Frank Reininghaus
6bc4f18f60 Make KFileMetaData optional again
In 15b20cd077, I added KFileMetaData to
the required build dependencies in order to make the version increase
in 6c5930c229 effective, and ensure that
the build fails at the CMake stage if the KFileMetaData version is too
old.

However, I had missed that KFileMetaData was already an optional
dependency. This commit makes it optional again and adjusts the
required version.

Thanks to Christoph Feck for notifying me about this issue and sorry
for the stupid mistake.

CCMAIL: cfeck@kde.org
2016-02-17 22:10:54 +01:00
Albert Astals Cid
ab3afbbf22 GIT_SILENT Upgrade KDE Applications version to 15.12.2. 2016-02-12 06:10:46 +01:00
Frank Reininghaus
6c5930c229 Increase the required KF5 version
Dolphin needs version 5.19 of kfilemetadata since
2257b94e4f
2016-02-10 22:36:28 +01:00
Frank Reininghaus
15b20cd077 Detect FileMetaData framework at CMake stage becasuse Dolphin needs it 2016-02-10 22:36:28 +01:00
Aleix Pol
7c343f21dd include KDEFrameworksCompilerSettings as suggested in the documentation 2016-01-19 13:14:00 +01:00
Albert Astals Cid
caa38bd851 GIT_SILENT Upgrade KDE Applications version to 15.12.1. 2016-01-07 00:02:10 +01:00
Albert Astals Cid
a489b0c5ba GIT_SILENT Upgrade KDE Applications version to 15.12.0. 2015-12-08 16:49:30 +01:00
Albert Astals Cid
87793aecce GIT_SILENT Upgrade KDE Applications version to 15.11.90. 2015-12-02 22:10:39 +01:00
Albert Astals Cid
581ee6d0c8 GIT_SILENT Upgrade KDE Applications version to 15.11.80. 2015-11-18 00:39:00 +01:00
Andreas Cord-Landwehr
3c09528f3c Enable KCrash crash handler. 2015-11-14 22:37:40 +01:00