]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
6 years agoMerge branch 'Applications/18.12'
Nate Graham [Sun, 17 Feb 2019 21:07:49 +0000 (14:07 -0700)]
Merge branch 'Applications/18.12'

6 years agoWord-wrap KMessageWidget text
Nate Graham [Tue, 12 Feb 2019 19:21:34 +0000 (12:21 -0700)]
Word-wrap KMessageWidget text

Summary:
Word-wrap KMessageWidget text to prevent the window from being widened
when the text is very long.

CCBUG: 404232

Only `CCBUG: ` because word wrap only works where QLabel detects a word boundary;
it will not wrap a string with no spaces or other word boundaries (e.g.
"aaaaaaaaaaaaaaaaaaaa...")

Test Plan:
- Create a new text file with a 300-character name that has spaces in it
- In the KMessageWidget's error message, the file name is wrapped at the word
boundaries

Reviewers: #dolphin, #frameworks, cfeck, elvisangelaccio

Reviewed By: #dolphin, cfeck, elvisangelaccio

Subscribers: elvisangelaccio, cfeck, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D18968

6 years agoAdd new option to close the inactive split view to the docs
Yuri Chornoivan [Sun, 17 Feb 2019 09:59:34 +0000 (11:59 +0200)]
Add new option to close the inactive split view to the docs

6 years agoNew tab should be placed after the current tab
David Hallas [Tue, 12 Feb 2019 10:07:43 +0000 (11:07 +0100)]
New tab should be placed after the current tab

Summary:
When opening a new using the context menu the new tab should be placed
after the currently open tab, not at the end of the tab list.

BUG: 403690

Test Plan:
Open multiple tabs and select a different tab than the last one.
Open a new tab using the context menu and see that it opens after the currently
selected tab.
Open a tab using Ctrl+T and see that it opens at the end.

Reviewers: #dolphin, ngraham, elvisangelaccio

Reviewed By: #dolphin, ngraham, elvisangelaccio

Subscribers: elvisangelaccio, ngraham, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D18945

6 years agoAdd option to choose which view to close
Angelo Oliveira Jr [Sat, 16 Feb 2019 15:08:12 +0000 (16:08 +0100)]
Add option to choose which view to close

Summary:
This Diff make configurable which view will close when toggling off
the split view mode, if it's the active one or the inactive one.

A new checkbox was added to the Dolphin configuration window,
and defaults to the original behavior.

FEATURE: 312834
FIXED-IN: 19.03.80

Test Plan: {F6535432}

Reviewers: ngraham, #dolphin, elvisangelaccio

Reviewed By: ngraham, #dolphin

Subscribers: elvisangelaccio, cfeck, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D18040

6 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 13 Feb 2019 06:36:24 +0000 (07:36 +0100)]
GIT_SILENT made messages (after extraction)

6 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 13 Feb 2019 01:57:24 +0000 (02:57 +0100)]
GIT_SILENT made messages (after extraction)

6 years agoMerge branch 'Applications/18.12'
Kai Uwe Broulik [Fri, 8 Feb 2019 08:02:00 +0000 (09:02 +0100)]
Merge branch 'Applications/18.12'

6 years ago[DolphinView] Use correct color group
Kai Uwe Broulik [Fri, 8 Feb 2019 08:01:38 +0000 (09:01 +0100)]
[DolphinView] Use correct color group

Use the inactive color group when the window is inactive and update when window state changes.

CCBUG: 404053

Differential Revision: https://phabricator.kde.org/D18811

6 years agoMerge branch 'Applications/18.12'
Kai Uwe Broulik [Wed, 6 Feb 2019 15:24:01 +0000 (16:24 +0100)]
Merge branch 'Applications/18.12'

6 years agoSort preview plugins case-insensitively
Kai Uwe Broulik [Wed, 6 Feb 2019 15:23:19 +0000 (16:23 +0100)]
Sort preview plugins case-insensitively

"eBook thumbnails" would show up all the way at the bottom otherwise

Test Plan: 18.12 branch It now shows where it should

Differential Revision: https://phabricator.kde.org/D18787

6 years agoUse more suitable default view mode for recent documents and Downloads folder
Kai Uwe Broulik [Mon, 4 Feb 2019 08:12:35 +0000 (09:12 +0100)]
Use more suitable default view mode for recent documents and Downloads folder

Sort them descending by date as well as:
* for Recent Documents: switch to details view
* for Downloads enable grouping and disable sorting folders first

Differential Revision: https://phabricator.kde.org/D18697

6 years agoGIT_SILENT Upgrade KDE Applications version to 18.12.2.
Christoph Feck [Sun, 3 Feb 2019 04:46:38 +0000 (05:46 +0100)]
GIT_SILENT Upgrade KDE Applications version to 18.12.2.

6 years agoMerge branch 'Applications/18.12'
Elvis Angelaccio [Sat, 2 Feb 2019 20:37:06 +0000 (21:37 +0100)]
Merge branch 'Applications/18.12'

6 years agoFix member initialization
Anthony Fieroni [Sat, 2 Feb 2019 17:48:09 +0000 (19:48 +0200)]
Fix member initialization

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
6 years ago[versioncontrolobserver] Update working directory on tab activation
Anthony Fieroni [Sat, 2 Feb 2019 17:38:37 +0000 (19:38 +0200)]
[versioncontrolobserver] Update working directory on tab activation

Differential Revision: https://phabricator.kde.org/D18605

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
6 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 30 Jan 2019 06:19:49 +0000 (07:19 +0100)]
GIT_SILENT made messages (after extraction)

6 years ago[versioncontrolobserver] Do not use static plugin objects
Anthony Fieroni [Tue, 29 Jan 2019 18:28:07 +0000 (20:28 +0200)]
[versioncontrolobserver] Do not use static plugin objects

Differential Revision: https://phabricator.kde.org/D17640

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
6 years agoAfter opening and switching to a new tab, always focus the view
Nate Graham [Tue, 29 Jan 2019 13:31:46 +0000 (06:31 -0700)]
After opening and switching to a new tab, always focus the view

Summary:
When Dolphin opens a new tab and immediately switches to it, the URL navigator gets focus if it's editable. If it's not, the breadcrumbs bar gets keyboard focus, which is not very useful since it's not really intended for keyboard navigation.

This patch changes that behavior so that the view always gets focus, which seems more useful and more consistent.

BUG: 401899
FIXED-IN: 19.04.0

Test Plan:
1. Put the URL navigator into breadcrumbs mode
2. Open a new tab
3. Observe that the view gets keyboard focus
4. Put the URL navigator into editable mode
5. Open a new tab
6. Observe that the view still gets keyboard focus

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: emateli, elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D17635

6 years agoIntroduce HAVE_TERMINAL
Elvis Angelaccio [Mon, 28 Jan 2019 21:38:21 +0000 (22:38 +0100)]
Introduce HAVE_TERMINAL

Source code should check for features detected during configure-time,
rather than checking for a specific OS.

See also commit 87e8d0ba5f.

6 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 28 Jan 2019 07:29:51 +0000 (08:29 +0100)]
SVN_SILENT made messages (.desktop file) - always resolve ours

In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"

6 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 28 Jan 2019 04:21:42 +0000 (05:21 +0100)]
SVN_SILENT made messages (.desktop file) - always resolve ours

In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"

6 years agoAsk for confirmation when Closing Dolphin windows with a terminal panel running a...
Nate Graham [Sat, 19 Jan 2019 15:11:26 +0000 (08:11 -0700)]
Ask for confirmation when Closing Dolphin windows with a terminal panel running a program

Summary:
Ask for confirmation when Closing Dolphin windows with a terminal panel running a program.

FEATURE: 304816
FIXED-IN: 19.04.0

Test Plan:
# Open terminal panel
# Run `watch ls`
# Close Dolphin
# Observe confirmation
# Disable confirmation
# Repeat, observe no confirmation
# Enable confirmation in the settings
# Repeat, observe a confirmation

Reviewers: #dolphin, markg, elvisangelaccio, rominf

Reviewed By: #dolphin, elvisangelaccio

Subscribers: kfm-devel, elvisangelaccio, markg, ngraham, rkflx, broulik, #dolphin

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D10960

6 years agoAbort updateWindowTitle and activeViewChanged if not changed.
Chris Rizzitello [Mon, 14 Jan 2019 01:55:07 +0000 (20:55 -0500)]
Abort updateWindowTitle and activeViewChanged if not changed.

Summary:
 - Prevent activeViewChanged from updating the window if the view is the same view (happens at least once when starting up)
 - Stop updateWindowTitle from updating the title if its not changed.

Reviewers: #dolphin, elvisangelaccio, broulik

Reviewed By: #dolphin, elvisangelaccio, broulik

Subscribers: anthonyfieroni, broulik, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D17882

6 years agoFix required version for baloo and kfilemetadata
Elvis Angelaccio [Tue, 15 Jan 2019 17:53:45 +0000 (18:53 +0100)]
Fix required version for baloo and kfilemetadata

6 years agoUse stable version as required version for baloo-widgets
Elvis Angelaccio [Tue, 15 Jan 2019 17:52:02 +0000 (18:52 +0100)]
Use stable version as required version for baloo-widgets

6 years agoDrop unused includes
Elvis Angelaccio [Tue, 15 Jan 2019 17:50:33 +0000 (18:50 +0100)]
Drop unused includes

GIT_SILENT

6 years agoDrop unused config-X11.h.cmake
Elvis Angelaccio [Tue, 15 Jan 2019 17:30:16 +0000 (18:30 +0100)]
Drop unused config-X11.h.cmake

Unused since de84f223d4408dc1eaf6f15ebeed2e8acf49ad4c

6 years agoFix include style
Elvis Angelaccio [Tue, 15 Jan 2019 17:11:09 +0000 (18:11 +0100)]
Fix include style

GIT_SILENT

6 years agoConsti'fy
Laurent Montel [Fri, 11 Jan 2019 06:03:26 +0000 (07:03 +0100)]
Consti'fy

6 years agoMerge branch 'Applications/18.12'
Alexander Stippich [Mon, 7 Jan 2019 20:56:40 +0000 (21:56 +0100)]
Merge branch 'Applications/18.12'

6 years agofix display of image orientation
Alexander Stippich [Mon, 7 Jan 2019 20:44:50 +0000 (21:44 +0100)]
fix display of image orientation

Summary:
The name of the orientation property
for baloo/kfilemetadata was false, leading to
an always empty image orientation field.

Test Plan:
Look at an image in Dolphin details view
which has the exiv orientation tag set. Orientation
column is not empty.

Reviewers: #dolphin, ngraham

Reviewed By: #dolphin, ngraham

Subscribers: ngraham, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D18008

7 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 6 Jan 2019 07:35:14 +0000 (08:35 +0100)]
SVN_SILENT made messages (.desktop file) - always resolve ours

In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"

7 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 6 Jan 2019 04:25:48 +0000 (05:25 +0100)]
SVN_SILENT made messages (.desktop file) - always resolve ours

In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"

7 years agoFix title update when changing active split view
Elvis Angelaccio [Sat, 5 Jan 2019 16:29:34 +0000 (17:29 +0100)]
Fix title update when changing active split view

Summary:
The DolphinTabPage::activeViewUrlChanged signal triggers the title
update in DolphinMainWindow, which sets the new title from the
`m_activeViewContainer` instance.

This means we need to notify the main window that the active view
changed before telling it that the current url changed.

BUG: 402641
FIXED-IN: 18.12.1

Reviewers: #dolphin, rizzitello, ngraham

Reviewed By: #dolphin, rizzitello, ngraham

Subscribers: rizzitello, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D17881

7 years agoMerge branch 'Applications/18.12'
Friedrich W. H. Kossebau [Fri, 4 Jan 2019 21:23:49 +0000 (22:23 +0100)]
Merge branch 'Applications/18.12'

7 years agoUse https over http for homepage url
Friedrich W. H. Kossebau [Fri, 4 Jan 2019 21:22:07 +0000 (22:22 +0100)]
Use https over http for homepage url

7 years agoGIT_SILENT Upgrade KDE Applications version to 18.12.1.
Christoph Feck [Thu, 3 Jan 2019 21:47:46 +0000 (22:47 +0100)]
GIT_SILENT Upgrade KDE Applications version to 18.12.1.

7 years agoAdd failing test case for bug #402641
Elvis Angelaccio [Sun, 30 Dec 2018 23:21:25 +0000 (00:21 +0100)]
Add failing test case for bug #402641

CCBUG: 402641

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 28 Dec 2018 01:42:41 +0000 (02:42 +0100)]
GIT_SILENT made messages (after extraction)

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 26 Dec 2018 01:48:09 +0000 (02:48 +0100)]
GIT_SILENT made messages (after extraction)

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 24 Dec 2018 01:46:19 +0000 (02:46 +0100)]
GIT_SILENT made messages (after extraction)

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 23 Dec 2018 05:55:00 +0000 (06:55 +0100)]
GIT_SILENT made messages (after extraction)

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 21 Dec 2018 01:51:21 +0000 (02:51 +0100)]
GIT_SILENT made messages (after extraction)

7 years agoMerge branch 'Applications/18.12'
Nate Graham [Wed, 19 Dec 2018 05:04:46 +0000 (22:04 -0700)]
Merge branch 'Applications/18.12'

7 years agoUse correct icon for the "New Window" menu item
Nate Graham [Wed, 19 Dec 2018 05:03:16 +0000 (22:03 -0700)]
Use correct icon for the "New Window" menu item

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 19 Dec 2018 01:49:13 +0000 (02:49 +0100)]
GIT_SILENT made messages (after extraction)

7 years agoMake RenameDialog modal again.
Elvis Angelaccio [Mon, 17 Dec 2018 21:51:42 +0000 (22:51 +0100)]
Make RenameDialog modal again.

Summary:
The rename dialog used to be modal, but commit
828ba8902ce16819a385832b487e60eab36e54ca changed the behavior without
really explaining why.

Test Plan: disable inline renaming and rename something.

Reviewers: #vdg, ngraham

Reviewed By: #vdg, ngraham

Subscribers: ngraham, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D17621

7 years agoReturn editable URL navigator to breadcrumb mode if it has focus and everything is...
Nate Graham [Sun, 16 Dec 2018 20:49:57 +0000 (13:49 -0700)]
Return editable URL navigator to breadcrumb mode if it has focus and everything is selected and when Ctrl+L is pressed

Summary:
This patch makes an editable location bar return to breadcrumb mode when {key Ctrl L} is pressed, but only if the location bar currently has focus and everything is selected. Otherwise, it will simply return focus to it as before.

This provides a slightly easier way to make the location bar return to breadcrumbs mode

Test Plan:
- Compile and deploy and make the location bar be breadcrumbs
- Hit {key Ctrl L} twice in a row -> location field turns to being in breadcrumb mode. Focus is correctly returned to the main view.
- Hit {key Ctrl L}, move focus elsewhere, then hit {key Ctrl L} again -> Location bar is editable and focused with everything selected.
- Hit {key Ctrl L}, deselect some of the text, then hit {key Ctrl L} again -> Location bar selects everything.

Reviewers: #dolphin, elvisangelaccio, dhaumann

Reviewed By: elvisangelaccio, dhaumann

Subscribers: elvisangelaccio, dhaumann, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D16980

7 years agoDrop old krazy comments
Elvis Angelaccio [Sun, 16 Dec 2018 12:57:51 +0000 (13:57 +0100)]
Drop old krazy comments

The `qclasses` check should no longer be an issue after the KF5 port.

GIT_SILENT

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 12 Dec 2018 06:47:04 +0000 (07:47 +0100)]
GIT_SILENT made messages (after extraction)

7 years agoAdd an icon for "restore" action
Shubham Jangra [Mon, 10 Dec 2018 18:19:55 +0000 (23:49 +0530)]
Add an icon for "restore" action

Summary:
Before:
{F6469103}

After:
{F6469104}

Test Plan:
1. Go to Trash

2. Right click any item.

Reviewers: ngraham

Reviewed By: ngraham

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D17490

7 years agoRevert back
Shubham Jangra [Mon, 10 Dec 2018 18:12:11 +0000 (23:42 +0530)]
Revert back

7 years agoAdd an icon for "restore" action
Shubham Jangra [Mon, 10 Dec 2018 17:49:09 +0000 (23:19 +0530)]
Add an icon for "restore" action

Summary:
Before:
{F6469103}

After:
{F6469104}

Test Plan:
1. Go to Trash

2. Right click any item.

Reviewers: ngraham

Reviewed By: ngraham

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D17490

7 years agoRemove unused parameter warning
Shubham Jangra [Fri, 7 Dec 2018 16:58:29 +0000 (22:28 +0530)]
Remove unused parameter warning

7 years ago[context menu] Restore separator above 'Properties' that went missing
Nate Graham [Thu, 6 Dec 2018 21:10:58 +0000 (14:10 -0700)]
[context menu] Restore separator above 'Properties' that went missing

7 years agoGIT_SILENT Upgrade KDE Applications version to 18.12.0.
Christoph Feck [Tue, 4 Dec 2018 23:32:23 +0000 (00:32 +0100)]
GIT_SILENT Upgrade KDE Applications version to 18.12.0.

7 years agoMerge branch 'Applications/18.12'
Elvis Angelaccio [Tue, 4 Dec 2018 21:04:41 +0000 (22:04 +0100)]
Merge branch 'Applications/18.12'

7 years agoKItemListWidget: Use initStyleOption
Anton Kreuzkamp [Mon, 3 Dec 2018 14:01:36 +0000 (15:01 +0100)]
KItemListWidget: Use initStyleOption

Instead of using QStyleOption::initFrom, let's use
QGraphicsWidget::initStyleOption, which is made for exactly the purpose
of KItemListWidget. This is especially important since, according to the
docs of QGraphicsItem::paint "The widget argument is optional. [...]
For cached painting, widget is always 0.". Even though currently no code
in dolphin does cached painting, for the sake of modularity one should
not rely on widget to be non-null. Using QStyleOption::initFrom does
assume that, though.

In fact, GammaRay asks the items to do cached painting when attaching it
to the application, causing it to crash.

7 years ago[PlacesPanel] Fix unused variable warning
Elvis Angelaccio [Sun, 2 Dec 2018 13:48:01 +0000 (14:48 +0100)]
[PlacesPanel] Fix unused variable warning

7 years ago[KItemListController] Make event-handling functions private
Elvis Angelaccio [Sun, 2 Dec 2018 13:42:41 +0000 (14:42 +0100)]
[KItemListController] Make event-handling functions private

There is no reason why these event-handling custom functions should be
public, so make them private instead.

7 years ago[KItemListController] Drop virtual keywords
Elvis Angelaccio [Sun, 2 Dec 2018 13:04:31 +0000 (14:04 +0100)]
[KItemListController] Drop virtual keywords

We are never overriding these functions, so there is no reason to declare
them virtual.

7 years ago[KItemListController] Drop unused functions
Elvis Angelaccio [Sun, 2 Dec 2018 13:02:23 +0000 (14:02 +0100)]
[KItemListController] Drop unused functions

7 years agoMerge remote-tracking branch 'origin/Applications/18.12'
Thomas Surrel [Sat, 1 Dec 2018 20:20:01 +0000 (21:20 +0100)]
Merge remote-tracking branch 'origin/Applications/18.12'

7 years agoFix selection when navigating back, with size sorting.
Thomas Surrel [Tue, 20 Nov 2018 11:10:15 +0000 (12:10 +0100)]
Fix selection when navigating back, with size sorting.

Summary:
KItemListSelectionManager::itemsMoved (called when sorting by size)
was re-activating anchor selection regardless if we actually were
doing an anchored selection. This was leading to an incorrect
selection when navigating back.

BUG: 352296

Test Plan:
In any folder, sort by size then move to a subfolder. Navigate back
to the parent folder: only the parent folder should be selected.

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: elvisangelaccio, broulik, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D17042

7 years agoDo not sort twice when changing role and order at the same time
Thomas Surrel [Thu, 22 Nov 2018 21:24:37 +0000 (22:24 +0100)]
Do not sort twice when changing role and order at the same time

Summary:
When using the list header to change the role and order, if one
changes the order to descending and then changes role, dolphin
also changes the order back to ascending. This results in sorting
the list of files twice in a row. This patch removes the first
(useless) sort.

Reviewers: #dolphin, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D17111

7 years agoUse isEmpty here too
Laurent Montel [Fri, 30 Nov 2018 06:13:53 +0000 (07:13 +0100)]
Use isEmpty here too

7 years agoUse isEmpty() here
Laurent Montel [Fri, 30 Nov 2018 05:57:48 +0000 (06:57 +0100)]
Use isEmpty() here

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Thu, 29 Nov 2018 06:07:18 +0000 (07:07 +0100)]
GIT_SILENT made messages (after extraction)

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Thu, 29 Nov 2018 01:46:54 +0000 (02:46 +0100)]
GIT_SILENT made messages (after extraction)

7 years agoGIT_SILENT Upgrade KDE Applications version to 18.11.90.
Christoph Feck [Mon, 26 Nov 2018 13:32:36 +0000 (14:32 +0100)]
GIT_SILENT Upgrade KDE Applications version to 18.11.90.

7 years ago[PlacesPanel] Port to KFilePlaceEditDialog
Elvis Angelaccio [Sun, 11 Nov 2018 12:41:18 +0000 (13:41 +0100)]
[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

7 years agoAvoid warning when translatedtext is null
Laurent Montel [Wed, 21 Nov 2018 08:01:01 +0000 (09:01 +0100)]
Avoid warning when translatedtext is null

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 21 Nov 2018 06:17:05 +0000 (07:17 +0100)]
GIT_SILENT made messages (after extraction)

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 21 Nov 2018 01:51:03 +0000 (02:51 +0100)]
GIT_SILENT made messages (after extraction)

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Tue, 20 Nov 2018 06:09:58 +0000 (07:09 +0100)]
GIT_SILENT made messages (after extraction)

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Tue, 20 Nov 2018 01:49:53 +0000 (02:49 +0100)]
GIT_SILENT made messages (after extraction)

7 years agoShow the Delete context menu entry even when disabled
Thomas Surrel [Mon, 19 Nov 2018 13:08:19 +0000 (14:08 +0100)]
Show the Delete context menu entry even when disabled

Summary:
This is consistent with the HIG, and the 'Rename' entry in
the context menu already behaves like that.

Test Plan:
Right click on /home. The context menu should contained
the 'Delete' entry, but it should be disabled.

Reviewers: #dolphin, #vdg, ngraham

Reviewed By: #dolphin, #vdg, ngraham

Subscribers: ngraham, romangg, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D17012

7 years agoMerge remote-tracking branch 'origin/Applications/18.12'
Thomas Surrel [Sat, 17 Nov 2018 13:44:02 +0000 (14:44 +0100)]
Merge remote-tracking branch 'origin/Applications/18.12'

7 years agoDo not disconnect all StorageAccess signals when unmounting
Thomas Surrel [Tue, 13 Nov 2018 10:05:16 +0000 (11:05 +0100)]
Do not disconnect all StorageAccess signals when unmounting

Summary:
The problem is caused by the fact device interfaces returned by
Solid (e.g. item->device().as<Solid::StorageAccess>()) are not
full objects, but only references/pointers to a per-device-object,
i.e. requesting the same interface for a device will return the same
address every time.

If the interface is used used in multiple places, calling disconnect
on the interface address disconnects the signals for all users.

BUG: 400992

Test Plan:
In Dolphin, mount a local partition (e.g. a Windows partition)
then unmount it (right click on it in Places, then Unmount).
Try to access it again by clicking on it in Places, we should
get access to it correctly.

Reviewers: #dolphin, #frameworks, bruns, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D16857

7 years agoMerge remote-tracking branch 'origin/Applications/18.12'
Chris Rizzitello [Sat, 17 Nov 2018 13:39:38 +0000 (08:39 -0500)]
Merge remote-tracking branch 'origin/Applications/18.12'

7 years agoImprove Ux for the places panel's hidden items
Chris Rizzitello [Sun, 11 Nov 2018 21:02:08 +0000 (16:02 -0500)]
Improve Ux for the places panel's hidden items

Summary:
BUG: 400860
FIXED-IN: 18.12.0

Clean up the context menu for the places panel.
 - Change Text "Show All Entries" -> "Show Hidden Places"
 - Use State dependent icon (like hidden files)
 - Disable instead of hide if not places are hidden.
 - Toggle to unchecked if last item of group is unhidden.

Create a copy of this "Show Hidden Places" entry in the main dolphin menu View->Places.

Test Plan:
With Hidden Places
{F6398756}
{F6398759}
Context Menu:
{F6398762}
{F6398761}

Without Hidden Places.
{F6414694}
{F6414696}

Reviewers: #dolphin, #vdg, elvisangelaccio, ngraham

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

Subscribers: cfeck, elvisangelaccio, veqz, davidc, ngraham, kfm-devel

Tags: #dolphin

Maniphest Tasks: T8349

Differential Revision: https://phabricator.kde.org/D16767

7 years agoMerge branch 'Applications/18.12'
Harald Sitter [Sat, 17 Nov 2018 11:25:21 +0000 (12:25 +0100)]
Merge branch 'Applications/18.12'

7 years agomove kcrash link to dolphin app (which is the effective user)
Harald Sitter [Thu, 15 Nov 2018 13:43:57 +0000 (14:43 +0100)]
move kcrash link to dolphin app (which is the effective user)

Summary:
to successfully use kcrash when linking with as-needed (which is a default
flag on many linux distros) one also needs to call KCrash::initialize.
this call happens in the app's main.cpp. as such the kcrash link target
on the dolphinprivate library doesn't do anything for dolphinprivate but
only kicks into action for dolphin itself.
to avoid confusion and make it clear that kcrash is only initialized in the
application scope the KF5::Crash link target is now on the application
target, not the library target.

(this makes no difference in the output, kcrash was still correctly linked
 via dolphinprivate; but only for kdeinit_dolphin, dolphinprivate did
 not get linked to it with as-needed)

Test Plan: builds; links as expected

Reviewers: elvisangelaccio, #dolphin

Reviewed By: elvisangelaccio, #dolphin

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D16896

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 16 Nov 2018 05:50:05 +0000 (06:50 +0100)]
GIT_SILENT made messages (after extraction)

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 16 Nov 2018 02:37:49 +0000 (03:37 +0100)]
GIT_SILENT made messages (after extraction)

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 14 Nov 2018 02:45:20 +0000 (03:45 +0100)]
GIT_SILENT made messages (after extraction)

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Tue, 13 Nov 2018 02:48:54 +0000 (03:48 +0100)]
GIT_SILENT made messages (after extraction)

7 years ago[PlacesItem] Add support for OnlyInApp metadata for bookmarks
Elvis Angelaccio [Sun, 11 Nov 2018 17:29:36 +0000 (18:29 +0100)]
[PlacesItem] Add support for OnlyInApp metadata for bookmarks

This will allow to edit an existing place to make it application-local
or visible from all applications.

CCBUG: 376619

7 years ago[PlacesItemModel] Match KFilePlacesModel addPlaces() API
Elvis Angelaccio [Sun, 11 Nov 2018 16:35:13 +0000 (17:35 +0100)]
[PlacesItemModel] Match KFilePlacesModel addPlaces() API

This will allow to create a place visible only from Dolphin, by passing
an `appName` to the KFilePlacesModel.

CCBUG: 376619

7 years agoMerge branch 'Applications/18.12'
Elvis Angelaccio [Sun, 11 Nov 2018 18:02:34 +0000 (19:02 +0100)]
Merge branch 'Applications/18.12'

7 years agoUpdate copyright year in KAboutData
Elvis Angelaccio [Sun, 11 Nov 2018 18:00:24 +0000 (19:00 +0100)]
Update copyright year in KAboutData

GIT_SILENT

7 years agoGIT_SILENT Upgrade KDE Applications version to 19.03.70.
Albert Astals Cid [Sat, 10 Nov 2018 07:37:42 +0000 (08:37 +0100)]
GIT_SILENT Upgrade KDE Applications version to 19.03.70.

7 years agoGIT_SILENT Upgrade KDE Applications version to 18.03.70.
Albert Astals Cid [Fri, 9 Nov 2018 22:35:44 +0000 (23:35 +0100)]
GIT_SILENT Upgrade KDE Applications version to 18.03.70.

7 years agoGIT_SILENT Upgrade KDE Applications version to 18.11.80.
Albert Astals Cid [Fri, 9 Nov 2018 22:17:57 +0000 (23:17 +0100)]
GIT_SILENT Upgrade KDE Applications version to 18.11.80.

7 years agoWarn user before renaming the file/folder to start with a ' . '
Shubham Jangra [Thu, 8 Nov 2018 08:48:36 +0000 (14:18 +0530)]
Warn user before renaming the file/folder to start with a ' . '

Summary: For normal "casual" linux users, renaming the file/folder starting with dot may get irritating, they will be wondering their file is deleted.

Test Plan:
1. Make new file/folder.
2. Rename it to .foo
3. Question dialog appears.

Reviewers: elvisangelaccio, ngraham, pino

Reviewed By: elvisangelaccio, ngraham

Subscribers: cfeck, emateli, elvisangelaccio, pino, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D15980

7 years agoAdd donation url to appdata
Albert Astals Cid [Wed, 7 Nov 2018 23:12:53 +0000 (00:12 +0100)]
Add donation url to appdata

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 5 Nov 2018 02:32:41 +0000 (03:32 +0100)]
GIT_SILENT made messages (after extraction)

7 years agoUpdate maintainership in KAboutData
Elvis Angelaccio [Sun, 4 Nov 2018 20:21:19 +0000 (21:21 +0100)]
Update maintainership in KAboutData

As discussed on kfm-devel and agreed upon with Emmanuel.

7 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 4 Nov 2018 02:42:18 +0000 (03:42 +0100)]
GIT_SILENT made messages (after extraction)