]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
8 years agoMerge branch 'Applications/17.08'
Elvis Angelaccio [Fri, 28 Jul 2017 12:08:33 +0000 (14:08 +0200)]
Merge branch 'Applications/17.08'

8 years agoFix loading of dolphinui.rc
Elvis Angelaccio [Fri, 28 Jul 2017 11:35:50 +0000 (13:35 +0200)]
Fix loading of dolphinui.rc

dolphin.qrc is compiled into a static library, which means we need to
force its loading with the Q_INIT_RESOURCE macro.

See http://doc.qt.io/qt-5/resources.html#using-resources-in-a-library

BUG: 382848
FIXED-IN: 17.07.90

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

8 years agoMerge branch 'Applications/17.08'
David Edmundson [Fri, 28 Jul 2017 11:35:28 +0000 (12:35 +0100)]
Merge branch 'Applications/17.08'

8 years agoUse https for knsrc providers
David Edmundson [Fri, 28 Jul 2017 11:34:42 +0000 (12:34 +0100)]
Use https for knsrc providers

CCBUG: 382820

8 years agoPort to KStandardAction::MoveToTrash
Elvis Angelaccio [Tue, 18 Jul 2017 22:00:37 +0000 (00:00 +0200)]
Port to KStandardAction::MoveToTrash

It was introduced in kconfig(widgets) 5.25. Using the standard action
results in less code and no need to hardcode the Del shortcut.

Test Plan:
- Change shortcut in System Settings -> Shortcuts -> Standard Shortcuts
- Make sure the new shortcut is used by dolphin.

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

8 years agoMerge branch 'Applications/17.08'
Elvis Angelaccio [Thu, 27 Jul 2017 14:05:18 +0000 (16:05 +0200)]
Merge branch 'Applications/17.08'

8 years agoFix drop menu position with urlnavigator drops
Elvis Angelaccio [Wed, 12 Jul 2017 08:40:15 +0000 (10:40 +0200)]
Fix drop menu position with urlnavigator drops

Commit 1e251d2f6a in kio broke drop menus when dropping on the URL
navigator (menus show up in the DolphinView rather than the URL bar).
This happens because in DolphinView::dropUrls() we set `this` as the
widget passed to KJobWidgets::setWindow() (in DragAndDropHelper::dropUrls()).

We need to replace `this` with the actual widget that received the QDropEvent
and that can mapToGlobal() the relative pos of the drop event.
Unfortunately this widget is not KUrlNavigator itself, but one of its
KUrlNavigatorButton children (private class, not exported). So
unfortunately we need a new API in KIO that exposes this child widget.

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

8 years agoBundle the XMLGUI files into qrc resources.
David Faure [Tue, 25 Jul 2017 09:39:57 +0000 (11:39 +0200)]
Bundle the XMLGUI files into qrc resources.

This is a step towards being able to run applications uninstalled,
and it simplifies deployment on non-linux.

8 years agoDon't add null widget to layout
Elvis Angelaccio [Fri, 21 Jul 2017 10:52:10 +0000 (12:52 +0200)]
Don't add null widget to layout

m_expandableFolders is created only in DetailsMode. This fixes a QLayout
runtime warning.

8 years agoFix layout warning
Elvis Angelaccio [Fri, 21 Jul 2017 10:09:17 +0000 (12:09 +0200)]
Fix layout warning

This fixes the following warning:

    QLayout: Attempting to add QLayout "" to PreviewsSettingsPage "", which already has a layout

`topLayout->addLayout(fileSizeBoxLayout)` takes ownership of
`fileSizeBoxLayout`, so there is no reason to use `this` as parent.

8 years agoMerge remote-tracking branch 'origin/Applications/17.08'
Luigi Toscano [Tue, 18 Jul 2017 17:00:04 +0000 (19:00 +0200)]
Merge remote-tracking branch 'origin/Applications/17.08'

8 years agoAdd role for file creation time.
Tobias C. Berner [Fri, 16 Jun 2017 18:00:45 +0000 (20:00 +0200)]
Add role for file creation time.

Summary: At least on FreeBSD UFS and ZFS support birthtimes of files.

Reviewers: #freebsd, #dolphin

Subscribers: #konqueror

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

(cherry picked from commit d8061b4d9e04ec940ee33feae5f60f26bffc97b1)

8 years agoAdd role for file creation time.
Tobias C. Berner [Fri, 16 Jun 2017 18:00:45 +0000 (20:00 +0200)]
Add role for file creation time.

Summary: At least on FreeBSD UFS and ZFS support birthtimes of files.

Reviewers: #freebsd, #dolphin

Subscribers: #konqueror

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

8 years agoGIT_SILENT Upgrade KDE Applications version to 17.07.80.
Albert Astals Cid [Mon, 17 Jul 2017 20:10:37 +0000 (22:10 +0200)]
GIT_SILENT Upgrade KDE Applications version to 17.07.80.

8 years agoGIT_SILENT Upgrade KDE Applications version to 17.11.70.
Albert Astals Cid [Mon, 17 Jul 2017 18:28:07 +0000 (20:28 +0200)]
GIT_SILENT Upgrade KDE Applications version to 17.11.70.

8 years agoMerge remote-tracking branch 'origin/Applications/17.04'
Luigi Toscano [Sat, 15 Jul 2017 12:40:03 +0000 (14:40 +0200)]
Merge remote-tracking branch 'origin/Applications/17.04'

8 years agoFix knewstuff popup menu position on wayland
Elvis Angelaccio [Wed, 12 Jul 2017 10:33:54 +0000 (12:33 +0200)]
Fix knewstuff popup menu position on wayland

On Wayland we need to pass a parent to popup menus.
See https://community.kde.org/Guidelines_and_HOWTOs/Wayland_Porting_Notes#Popup_Menus

So we use the new setParentWidget() method from KNewStuff (introduced in
Frameworks 5.37).

8 years agoAdd missing emit keywords
Elvis Angelaccio [Thu, 13 Jul 2017 15:07:37 +0000 (17:07 +0200)]
Add missing emit keywords

GIT_SILENT

8 years agoGIT_SILENT Upgrade KDE Applications version to 17.04.3.
Albert Astals Cid [Sun, 9 Jul 2017 22:33:40 +0000 (00:33 +0200)]
GIT_SILENT Upgrade KDE Applications version to 17.04.3.

8 years ago[Places Panel] Disallow editing devices
Kai Uwe Broulik [Tue, 27 Jun 2017 12:03:31 +0000 (14:03 +0200)]
[Places Panel] Disallow editing devices

I introduced this bug when I changed the layout of the menu.
While it would be nice if one could edit devices, it is currently not possible
and would require significant re-engineering effort in Solid.

While the "Edit" menu works just fine, changes are not persisted.

Reviewed-By: emmanuelp
Differential Revision: https://phabricator.kde.org/D6294

8 years agoSupport "Deletion Time" role in Trash
Kai Uwe Broulik [Tue, 20 Jun 2017 09:32:29 +0000 (11:32 +0200)]
Support "Deletion Time" role in Trash

This allows to sort by and show (both as additional data in icon view and column in column
view) deletion date of files in Trash.

CHANGELOG: It is now possible to view and sort by "Deletion Time" in Trash

BUG: 153492
FIXED-IN: 17.08.0

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

8 years agoMerge branch 'Applications/17.04'
Elvis Angelaccio [Sun, 11 Jun 2017 17:33:36 +0000 (19:33 +0200)]
Merge branch 'Applications/17.04'

* Applications/17.04:
  Change in "Open in new tab" feature in Dolphin
  Ignore drops-onto-items from invalid places items
  Revert "Increase smooth scrolling animation duration from 100 to 300 ms and set easing curve to InOutQuart"

8 years agoChange in "Open in new tab" feature in Dolphin
Emirald Mateli [Sun, 11 Jun 2017 17:26:52 +0000 (19:26 +0200)]
Change in "Open in new tab" feature in Dolphin

Summary:
This patch proposes a change to the "open in new tab" feature.

The "open in new tab" feature will try to open selected items (files or folders) in a new tab, however, if there are no valid items to be opened in a new tab then nothing will happen, making it look like a bug. This patch adds the functionality that when there are no valid items(files or folders) to be opened in a new tab the current folder will be opened.

Test Plan:
1. Select a file(pdf, text, image etc) in Dolphin
2. Click on the "Open in new tab" toolbar button

Expected: since the file is not a valid target to open in a new tab, the current directory should be opened (as is the case where selection is empty)
Actual: Nothing happens after the button is pressed

Reviewed By: #dolphin, elvisangelaccio

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

8 years agoIgnore drops-onto-items from invalid places items
Elvis Angelaccio [Fri, 21 Apr 2017 11:16:05 +0000 (13:16 +0200)]
Ignore drops-onto-items from invalid places items

If the QMimeData object created by PlacesItemModel doesn't have any url
set (e.g. when dragging unmounted devices), it is detected by the
resulting DropJob as "drop raw data" because the mimeData has one format set
(the internalMimeType() used for dragging between places items).

This results in a crash because the DropJob schedules a PasteJob, but in
the meantime the QDrag from Dolphin ends and deletes the mimeData object
that was passed to the paste job.

The fix is to prevent the DropJob in the first place. We can introduce a
new internal mimetype that we use to blacklist drops-onto-items (while
still allowing drops-between-items). This way PlacesItemModel can set
the blacklist flag if the mimeData is being created without urls.

BUG: 373005
FIXED-IN: 17.04.3

Test Plan:
Drag and drop an unmounted device to another place item or the DolphinView, doesn't crash anymore.
Dropping the unmounted device between two places item still works.

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

8 years agoDrop unnecessary method
Elvis Angelaccio [Tue, 6 Jun 2017 17:16:34 +0000 (19:16 +0200)]
Drop unnecessary method

8 years agoGIT_SILENT Upgrade KDE Applications version to 17.04.2.
Albert Astals Cid [Mon, 5 Jun 2017 18:52:31 +0000 (20:52 +0200)]
GIT_SILENT Upgrade KDE Applications version to 17.04.2.

8 years agoRevert "Increase smooth scrolling animation duration from 100 to 300 ms and set easin...
Elvis Angelaccio [Wed, 31 May 2017 12:05:37 +0000 (14:05 +0200)]
Revert "Increase smooth scrolling animation duration from 100 to 300 ms and set easing curve to InOutQuart"

This reverts commit 58c5eae1953bbdcf6d4150b21cb7ffdad07a5257.

Reasons against this change:

1. Scroll is now too fast with devices such as touchpads or trackpoints.
2. Scroll behavior is now inconsistent between Dolphin and other applications
   (e.g. the Plasma file dialog). Breeze's default animation duration is 100 ms.
3. Many people complained and this feature is currently not configurable. We
   should introduce a QStyle::SH_Widget_Animation_Duration hint that would
   allow us to not hardcode durations in Dolphin (i.e. respect whatever
   duration the users set in their QStyle).
   Proposal in https://codereview.qt-project.org/#/c/195712/

Reviewers: #vdg, #plasma, emmanuelp, davidedmundson

Reviewed By: #plasma, davidedmundson

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

8 years agoIntroduce DolphinMainWindowTest
Elvis Angelaccio [Mon, 22 May 2017 09:37:37 +0000 (11:37 +0200)]
Introduce DolphinMainWindowTest

For now it contains a test case for the crash in bug #379135

CCBUG: 379135

Reviewers: emmanuelp, dfaure

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

8 years agoMove non-exported code to a static library
Elvis Angelaccio [Sun, 21 May 2017 19:41:13 +0000 (21:41 +0200)]
Move non-exported code to a static library

This allows us to speed up the compilation because we don't need to
build twice the source files we use in the unit tests.

Test Plan: Builds, dolphin works and tests pass.

Reviewers: emmanuelp, dfaure

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

8 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Thu, 25 May 2017 02:21:54 +0000 (04:21 +0200)]
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"

8 years agoMerge branch 'Applications/17.04'
Luca Beltrame [Mon, 22 May 2017 21:32:36 +0000 (23:32 +0200)]
Merge branch 'Applications/17.04'

8 years agoCorrect searchbox, split view transitions between tabs
Anthony Fieroni [Mon, 22 May 2017 17:35:29 +0000 (20:35 +0300)]
Correct searchbox, split view transitions between tabs

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

BUG: 379135
BUG: 380032
FIXED-IN: 17.04.2

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
8 years agoadd few more Q_DECL_OVERRIDE
Pino Toscano [Thu, 11 May 2017 22:07:15 +0000 (00:07 +0200)]
add few more Q_DECL_OVERRIDE

8 years agoPort tests from ecm_mark_as_test to ecm_add_test
Hannah von Reth [Thu, 11 May 2017 12:04:34 +0000 (14:04 +0200)]
Port tests from ecm_mark_as_test to ecm_add_test

Summary: This enables us to run the tests on Windows.

Reviewers: elvisangelaccio, kfunk, dfaure

Reviewed By: elvisangelaccio

Subscribers: #konqueror, #dolphin

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

8 years agoFix kfileitemmodeltest
Elvis Angelaccio [Wed, 10 May 2017 10:19:12 +0000 (12:19 +0200)]
Fix kfileitemmodeltest

Commit 6dcbb8127c introduced the isHidden role, update the test
accordingly.

8 years agoRemove define to disable exports
Hannah von Reth [Thu, 11 May 2017 10:33:15 +0000 (12:33 +0200)]
Remove define to disable exports

As the tests are now correctly linked to dolphinprivate we need the
actual export macro.

8 years agoMerge branch 'Applications/17.04'
Elvis Angelaccio [Mon, 8 May 2017 14:09:15 +0000 (16:09 +0200)]
Merge branch 'Applications/17.04'

8 years agoDon't ignore tag clicks in the tooltips
Elvis Angelaccio [Sat, 29 Apr 2017 16:47:13 +0000 (18:47 +0200)]
Don't ignore tag clicks in the tooltips

Summary:
Now that we can use the metadata widgets in the tooltips, we can also
open the tags:// url if the user clicks some tag in a tooltip.

The behavior is now consistent with the metadata widget in the information panel.

Test Plan: Click a tag when the metadata tooltip shows up.

Reviewers: emmanuelp

Subscribers: #konqueror, #dolphin

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

8 years agoGIT_SILENT Upgrade KDE Applications version to 17.04.1.
Albert Astals Cid [Mon, 8 May 2017 10:55:47 +0000 (12:55 +0200)]
GIT_SILENT Upgrade KDE Applications version to 17.04.1.

8 years agoSort the tag-values alphabetically in the "Tags" column
Athanasios Kanellopoulos [Sat, 29 Apr 2017 10:59:30 +0000 (12:59 +0200)]
Sort the tag-values alphabetically in the "Tags" column

Up until now tag-values have appeared unsorted in the Tags column
when the selected View Mode is "Details".
In older versions of Dolphin (in KDE4) the tags-values were
alphabetically sorted in the Tags column, which means that back then
this was the desired behavior.
This commit restores this functionality.

BUG: 377589
FIXED-IN: 17.04.1
REVIEW: 130068

8 years agoGIT_SILENT Upgrade KDE Applications version to 17.04.0.
Albert Astals Cid [Wed, 12 Apr 2017 11:36:03 +0000 (13:36 +0200)]
GIT_SILENT Upgrade KDE Applications version to 17.04.0.

8 years agoFix some compiler warnings
Kevin Funk [Fri, 7 Apr 2017 14:13:18 +0000 (16:13 +0200)]
Fix some compiler warnings

8 years agoGIT_SILENT Upgrade KDE Applications version to 17.03.90.
Albert Astals Cid [Wed, 5 Apr 2017 19:51:09 +0000 (21:51 +0200)]
GIT_SILENT Upgrade KDE Applications version to 17.03.90.

8 years agoUpdate name of the delete action in the .rc files
Elvis Angelaccio [Wed, 29 Mar 2017 11:37:02 +0000 (13:37 +0200)]
Update name of the delete action in the .rc files

Summary:
Small regression in commit 68bb0ec22a. We need to use the new (standard)
name for the delete action, otherwise it won't be properly
enabled/disabled.

BUG: 378154
FIXED-IN: 17.03.90

Reviewers: emmanuelp

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

8 years agoMerge remote-tracking branch 'origin/Applications/17.04'
Albert Astals Cid [Mon, 27 Mar 2017 22:53:36 +0000 (00:53 +0200)]
Merge remote-tracking branch 'origin/Applications/17.04'

8 years agobehavior change -> New Window opens with same URL
Don Nguyen [Mon, 27 Mar 2017 22:52:29 +0000 (00:52 +0200)]
behavior change -> New Window opens with same URL

This patch will cause a "New Window" command to open a new window with
the URL from the active view.  Opening a new instance via launcher will
still open a new window with the URL specified in Startup settings.
This is the behavior in Windows 10 file explorer.  The advantage is this
gives the user a way to open a new window with the current URL(New
Window) as well as a new window with URL specified in Startup
settings(new instance) whereas currently, there isn't an easy way to
open a new window with the current URL.  You'd have to either open a new
window and copy and paste the URL, or open a new tab(which opens with
the same URL) and detach it.  I'd much rather have the new window open
with the current URL and if what I wanted was the Startup URL I could
easily get there as it's already bookmarked.

REVIEW: 129973

8 years agoGIT_SILENT Upgrade KDE Applications version to 17.03.80.
Albert Astals Cid [Mon, 20 Mar 2017 22:42:30 +0000 (23:42 +0100)]
GIT_SILENT Upgrade KDE Applications version to 17.03.80.

8 years agoGIT_SILENT Upgrade KDE Applications version to 17.07.70.
Albert Astals Cid [Mon, 20 Mar 2017 22:16:43 +0000 (23:16 +0100)]
GIT_SILENT Upgrade KDE Applications version to 17.07.70.

8 years ago[PlacesItemModel] Use QDir::homePath() instead of KUser().homeDir()
Kai Uwe Broulik [Wed, 15 Mar 2017 14:38:53 +0000 (15:38 +0100)]
[PlacesItemModel] Use QDir::homePath() instead of KUser().homeDir()

KUser does quite a lot of stuff under the hood and also calls getpwuid which might block with network login.

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

8 years agoCleanup Places Panel context menus
Kai Uwe Broulik [Tue, 14 Mar 2017 21:42:07 +0000 (22:42 +0100)]
Cleanup Places Panel context menus

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

8 years agomake services GHNS work with store.kde.org
Marco Martin [Tue, 14 Mar 2017 11:02:44 +0000 (12:02 +0100)]
make services GHNS work with store.kde.org

Summary:
point the knsrc providers file to the new kde store,
and port the servicemenuinstallation/servicemenudeinstallation
scripts to kf5 (they still were based on kde4-config)
BUG:376922

Test Plan:
downloaded some service menus (send to telegram, convert svg)
by the knewstuff ui available in the services page of config dialog
they get installed in the proper folder and work, uninstall works

Reviewers: #dolphin, emmanuelp

Reviewed By: #dolphin, emmanuelp

Subscribers: elvisangelaccio

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

8 years agoPort to KStandardAction::DeleteFile
Elvis Angelaccio [Fri, 10 Mar 2017 18:31:33 +0000 (19:31 +0100)]
Port to KStandardAction::DeleteFile

Summary:
It was introduced in kconfig 5.25 and it properly handles the shift+del
shortcut (together with kxmlgui >= 5.30). This allows us to drop the
custom delete shortcut as well as the shift+del workaround in
DolphinMainWindow.

Test Plan: Shift+Del still deletes files, without the 'ambiguous shortcut' warning dialog.

Reviewers: emmanuelp

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

8 years agoRevert "Make "show filter bar" a toggle action"
Sergey Kalinichev [Sat, 11 Mar 2017 17:33:41 +0000 (20:33 +0300)]
Revert "Make "show filter bar" a toggle action"

This reverts commit edf8e5737316204e4a96e5edf4cba4cdec1c71ef.

See https://git.reviewboard.kde.org/r/129662 for discussion

8 years agoShow pointing hand cursor when hovering spaceinfo bar
Elvis Angelaccio [Wed, 1 Mar 2017 16:49:48 +0000 (17:49 +0100)]
Show pointing hand cursor when hovering spaceinfo bar

Summary:
This improves the discoverability of the diskspace menu, a feature
otherwise almost impossible to find.

Reviewers: gregormi, emmanuelp

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

8 years agoPass application name and icon to KRun
Kai Uwe Broulik [Wed, 8 Mar 2017 15:52:15 +0000 (16:52 +0100)]
Pass application name and icon to KRun

Otherwise this results in the generic executable icon as bouncy cursor.

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

8 years agoHonor KFileItem isHidden() in view
Kai Uwe Broulik [Wed, 8 Mar 2017 13:38:46 +0000 (14:38 +0100)]
Honor KFileItem isHidden() in view

Instead of just assuming hidden files always start with a "."
The items were already filtered out but when showing hidden files they weren't painted at reduced opacity.

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

8 years agoIncrease smooth scrolling animation duration from 100 to 300 ms and set easing curve...
Vishal Rao [Sun, 26 Feb 2017 22:44:12 +0000 (23:44 +0100)]
Increase smooth scrolling animation duration from 100 to 300 ms and set easing curve to InOutQuart

Summary:
The current animation duration for smooth scrolling is 100 ms which feels as if there is no smooth scroll animation in the first place. Bumping this up to something like 300 ms seems to make the scrolling actually appear smooth.

Also, based on diff comments the easing curve is set to InOutQuart.

Test Plan: Built this change locally and tried scrolling a folder with many items both single step mouse wheel and also larger steps of the mouse wheel.

Reviewers: elvisangelaccio, emmanuelp

Reviewed By: emmanuelp

Subscribers: htietze, colomar, andreask, emmanuelp, elvisangelaccio

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

8 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 24 Feb 2017 02:49:52 +0000 (03:49 +0100)]
GIT_SILENT made messages (after extraction)

8 years agoWork round missing right click event after dismissing a context menu
David Edmundson [Mon, 20 Feb 2017 12:22:06 +0000 (12:22 +0000)]
Work round missing right click event after dismissing a context menu

There is a bug that can happen in the following situation:
- user right clicks to open a menu

- that context menu grabs input

- the QGrabphicsView also notes the mouse was pressed, but not that the
mouse was released because it doesn't have mouse events any more

- when a user clicks to dismiss the menu and then without moving clicks
quickly again to send, we don't get another press event because the
QGraphicsScene still thinks the mouse is pressed from the first time the
context menu was shown and
QGraphicsScenePrivate::lastMouseGrabberItemHasImplicitMouseGrab still
points to the old object.

This is a known bug in QGraphicsView and you can see
QGraphicsScenePrivate::sendMouseEvent has a workaround to reset the
lastMouseGrabberItemHasImplicitMouseGrab on mouse moves, with the
comment: "This is a temporary fix for until we get proper mouse
grab events."

Realistically this isn't going to happen in QGraphicsView now.

We do get a double click event though. By checking for double click
events we can grab those missed clicks. It doesn't cause any other side
effects because normally the context menu will fire after the first
click and this rarely gets processed.

REVIEW: 129960

8 years agoDisallow executing Dolphin as root on Linux
Emmanuel Pescosta [Sun, 19 Feb 2017 01:32:48 +0000 (02:32 +0100)]
Disallow executing Dolphin as root on Linux

Basically a copy of commit kate/9adcebd3c2e476c8a32e9b455cc99f46b0e12a7e which was
written by Martin Grässlin.

8 years agoAdded .kdev4 to gitignore
Emmanuel Pescosta [Sat, 18 Feb 2017 22:00:48 +0000 (23:00 +0100)]
Added .kdev4 to gitignore

8 years agoAdd a gitignore file
Don Nguyen [Sat, 18 Feb 2017 21:58:29 +0000 (22:58 +0100)]
Add a gitignore file

The entries in this patch are very minimal and are as follows:
apidocs - user generated doc
doxygen.log - log from generating doc
CMakeLists.txt.user - from Qt Creator
.directory - created by dolphin

REVIEW: 129865

8 years agoMake "show filter bar" a toggle action
Don Nguyen [Sat, 18 Feb 2017 21:55:38 +0000 (22:55 +0100)]
Make "show filter bar" a toggle action

REVIEW: 129662

8 years agoApply the file preview shadow frame to most previews instead of only image file previews
Diego Soenens [Sat, 18 Feb 2017 21:43:01 +0000 (22:43 +0100)]
Apply the file preview shadow frame to most previews instead of only image file previews

The patch applies the shadow to all previews except for folders, fonts and
Win32 exe/dll previews, similar to how Windows and MacOS handles it.

REVIEW: 129918

8 years agoStart an anchored selection when restoring the selected items to make it possible
Emmanuel Pescosta [Sat, 18 Feb 2017 21:00:22 +0000 (22:00 +0100)]
Start an anchored selection when restoring the selected items to make it possible
that the selection can be changed after reloading of the current view.

Otherwise it is not possible to alter the selection without restarting a new
one.

Bug found by Martin Tobias Holmedahl Sandsmark
See also RR 128563

8 years agoRemove the preserving of the selected items in reload(), this is already covered
Emmanuel Pescosta [Sat, 18 Feb 2017 20:34:57 +0000 (21:34 +0100)]
Remove the preserving of the selected items in reload(), this is already covered
by saveState/restoreState.

8 years agoPreserve selected items when changing folders
Emmanuel Pescosta [Sat, 18 Feb 2017 19:48:49 +0000 (20:48 +0100)]
Preserve selected items when changing folders

Based on the idea of Martin Tobias Holmedahl Sandsmark

8 years agoRestore the view state after the URL of the DolphinView has been changed,
Emmanuel Pescosta [Sat, 18 Feb 2017 19:34:02 +0000 (20:34 +0100)]
Restore the view state after the URL of the DolphinView has been changed,
as stated in the documentation of KUrlNavigator::saveLocationState.

The historyChanged signal of the KUrlNavigator is emitted before the urlChanged
signal and so the view state restoring happens before the view URL has been
changed. This makes it impossible to save and restore the selected URLs, because
DolphinView::setUrl clears the list of selected items (which has been restored
right before). This changes removes the history changed slot and restores the
view state after the setUrl call.

8 years agoMerge branch 'stashAction'
arnav dhamija [Mon, 13 Feb 2017 16:54:01 +0000 (22:24 +0530)]
Merge branch 'stashAction'

This adds the support for the Stash action which will be helpful for the upcoming stash:/ ioslave

8 years agoMerge branch 'master' of git.kde.org:dolphin
arnav dhamija [Mon, 13 Feb 2017 16:53:41 +0000 (22:23 +0530)]
Merge branch 'master' of git.kde.org:dolphin

8 years agoWhitespace?
arnav dhamija [Mon, 13 Feb 2017 16:50:59 +0000 (22:20 +0530)]
Whitespace?

8 years agoWhitespace?
arnav dhamija [Mon, 13 Feb 2017 16:47:00 +0000 (22:17 +0530)]
Whitespace?

8 years agoWhitespace?
arnav dhamija [Mon, 13 Feb 2017 16:46:56 +0000 (22:16 +0530)]
Whitespace?

8 years agoDon't add trashSettingsPage to m_pages if null
Kai Uwe Broulik [Mon, 13 Feb 2017 12:51:05 +0000 (13:51 +0100)]
Don't add trashSettingsPage to m_pages if null

Otherwise we might crash in applySettings() or restoreDefaults()

8 years agoClose tab on mouse release rather than on mouse press
Kai Uwe Broulik [Mon, 13 Feb 2017 12:20:07 +0000 (13:20 +0100)]
Close tab on mouse release rather than on mouse press

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

8 years agofixed arg
arnav dhamija [Mon, 13 Feb 2017 11:38:10 +0000 (17:08 +0530)]
fixed arg

8 years agoImproved the patch
arnav dhamija [Mon, 13 Feb 2017 10:09:01 +0000 (15:39 +0530)]
Improved the patch

8 years agoRename FileMetaDataToolTip to DolphinFileMetaDataWidget
Elvis Angelaccio [Thu, 9 Feb 2017 18:36:11 +0000 (19:36 +0100)]
Rename FileMetaDataToolTip to DolphinFileMetaDataWidget

Since commit 230fe13d1f this class is not a "tooltip" anymore, but just a
simple widget. Rename it to avoid future confusion.

Reviewers: emmanuelp

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

8 years ago[Settings Dialog] Show Trash settings only if authorized
Kai Uwe Broulik [Wed, 8 Feb 2017 15:07:19 +0000 (16:07 +0100)]
[Settings Dialog] Show Trash settings only if authorized

If this KCM is disabled through KIOSK restriction opening it would result in an error message.
Hide the entry altogether in this case.

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

8 years agoMerge branch 'Applications/16.12'
Kai Uwe Broulik [Mon, 6 Feb 2017 18:14:08 +0000 (19:14 +0100)]
Merge branch 'Applications/16.12'

8 years ago[KStandardItemListWidget] Update icon when palette changes
Kai Uwe Broulik [Mon, 6 Feb 2017 18:12:48 +0000 (19:12 +0100)]
[KStandardItemListWidget] Update icon when palette changes

We can colorize icons based on the user's palette, so clear the pixmap cache when it changes.

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

8 years agoDrop no longer used dependency
Elvis Angelaccio [Sun, 5 Feb 2017 23:07:58 +0000 (00:07 +0100)]
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).

8 years agoDrop unused include
Elvis Angelaccio [Sun, 5 Feb 2017 22:55:37 +0000 (23:55 +0100)]
Drop unused include

This is no longer needed since commit 230fe13d1f

8 years agoDrop another obsolete version check
Elvis Angelaccio [Sun, 5 Feb 2017 22:38:32 +0000 (23:38 +0100)]
Drop another obsolete version check

We now require Frameworks >= 5.30

8 years agoDrop no longer needed version check
Elvis Angelaccio [Sun, 5 Feb 2017 22:02:38 +0000 (23:02 +0100)]
Drop no longer needed version check

Frameworks 5.30 is now the minimum version required.

8 years agoRemove deprecated K_EXPORT_PLUGIN macros
Elvis Angelaccio [Sun, 5 Feb 2017 21:58:36 +0000 (22:58 +0100)]
Remove deprecated K_EXPORT_PLUGIN macros

They do nothing, other than generate annoying compiler warnings.

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

8 years agoPort tooltips to KToolTipWidget
Elvis Angelaccio [Sun, 5 Feb 2017 21:53:50 +0000 (22:53 +0100)]
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

8 years agoAdd .arcconfig file for phabricator
Elvis Angelaccio [Sun, 5 Feb 2017 10:09:21 +0000 (11:09 +0100)]
Add .arcconfig file for phabricator

8 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 5 Feb 2017 05:54:55 +0000 (06:54 +0100)]
GIT_SILENT made messages (after extraction)

8 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sun, 5 Feb 2017 04:58:09 +0000 (05:58 +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"

8 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 5 Feb 2017 02:46:09 +0000 (03:46 +0100)]
GIT_SILENT made messages (after extraction)

8 years agoGIT_SILENT Upgrade KDE Applications version to 16.12.2.
Albert Astals Cid [Fri, 3 Feb 2017 22:40:36 +0000 (23:40 +0100)]
GIT_SILENT Upgrade KDE Applications version to 16.12.2.

8 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 3 Feb 2017 06:02:22 +0000 (07:02 +0100)]
GIT_SILENT made messages (after extraction)

8 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 3 Feb 2017 02:56:59 +0000 (03:56 +0100)]
GIT_SILENT made messages (after extraction)

8 years agoAdded a comment
arnav dhamija [Thu, 2 Feb 2017 16:18:58 +0000 (21:48 +0530)]
Added a comment

8 years agoAdded a comment
arnav dhamija [Thu, 2 Feb 2017 16:18:51 +0000 (21:48 +0530)]
Added a comment

8 years agoMore happy with this patch
arnav dhamija [Thu, 2 Feb 2017 16:16:54 +0000 (21:46 +0530)]
More happy with this patch

8 years agoMerge branch 'Applications/16.12'
Kai Uwe Broulik [Tue, 31 Jan 2017 19:52:28 +0000 (20:52 +0100)]
Merge branch 'Applications/16.12'

8 years agoHide progress info for rename jobs in rename dialog
Kai Uwe Broulik [Tue, 31 Jan 2017 19:50:47 +0000 (20:50 +0100)]
Hide progress info for rename jobs in rename dialog

When mass-renaming files, you could end up with a a gazillion notifications of a finished move job.
This fixes this. Ideally we would have one job which had the rename jobs as subjobs to still get
progress info for the overall task.

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

8 years agoMade more changes
arnav dhamija [Sun, 29 Jan 2017 18:01:43 +0000 (23:31 +0530)]
Made more changes