]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
5 years agoMerge branch 'release/20.08' into master
Elvis Angelaccio [Tue, 25 Aug 2020 22:49:00 +0000 (00:49 +0200)]
Merge branch 'release/20.08' into master

5 years agoFix nullptr crash on Windows
Alexander Lohnau [Tue, 25 Aug 2020 14:15:31 +0000 (16:15 +0200)]
Fix nullptr crash on Windows

5 years agoOutput of licensedigger + manual cleanup afterwards.
Elvis Angelaccio [Tue, 25 Aug 2020 17:07:38 +0000 (17:07 +0000)]
Output of licensedigger + manual cleanup afterwards.

Unfortunately licensedigger does not strip the trailing * characters.
While at it, use a common style for all source files.

5 years agoChange group spacing from 18px to 12px
Nate Graham [Mon, 24 Aug 2020 18:35:08 +0000 (12:35 -0600)]
Change group spacing from 18px to 12px

This is the value used in QML-based software, so now Dolphin's form
layout settings dialogs look consistent.

5 years agoMerge branch 'release/20.08' into master
Elvis Angelaccio [Sun, 23 Aug 2020 21:54:23 +0000 (23:54 +0200)]
Merge branch 'release/20.08' into master

5 years agoFix 'show space' setting not being re-applied
Nazar Kalinowski [Sun, 23 Aug 2020 18:10:23 +0000 (21:10 +0300)]
Fix 'show space' setting not being re-applied

BUG: 425542

5 years agoPort KRun to OpenUrlJob
Ahmad Samir [Tue, 18 Aug 2020 08:43:58 +0000 (08:43 +0000)]
Port KRun to OpenUrlJob

In DolphinMainWindow, since KRun allows running executables by default, use
setRunExecutables(true) so as not to change the behaviour.

Remove the now redundant slotHandleUrlStatFinished, that whole StatJob
logic is now handled by OpenUrlJob.

Bump KF required version to 5.73, since that's where
OpenUrlJob::setShowOpenOrExecuteDialog was introduced.

5 years agoPort away from QWheelEvent::orientation()
Elvis Angelaccio [Thu, 28 May 2020 16:53:31 +0000 (18:53 +0200)]
Port away from QWheelEvent::orientation()

We are supposed to use QWheelEvent::angleDelta() instead. Upon an
horizontal/vertical scroll event, its `x()`/`y()` method will return a
value different from zero.

5 years agoMerge branch 'release/20.08'
Yuri Chornoivan [Sat, 8 Aug 2020 12:57:02 +0000 (15:57 +0300)]
Merge branch 'release/20.08'

5 years agoFix i18n
Yuri Chornoivan [Sat, 8 Aug 2020 12:34:17 +0000 (15:34 +0300)]
Fix i18n

5 years agoMerge branch 'master' of invent.kde.org:system/dolphin
Christoph Feck [Wed, 5 Aug 2020 07:43:32 +0000 (09:43 +0200)]
Merge branch 'master' of invent.kde.org:system/dolphin

5 years agoGIT_SILENT Update Appstream for new release
Christoph Feck [Wed, 5 Aug 2020 07:42:51 +0000 (09:42 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit a499df21bcf6b636a0396aeb0d911dd1b8d2229d)

5 years agoGIT_SILENT Update Appstream for new release
Christoph Feck [Wed, 5 Aug 2020 07:42:51 +0000 (09:42 +0200)]
GIT_SILENT Update Appstream for new release

5 years agoGIT_SILENT Upgrade release service version to 20.08.0.
Christoph Feck [Wed, 5 Aug 2020 07:14:52 +0000 (09:14 +0200)]
GIT_SILENT Upgrade release service version to 20.08.0.

5 years agoMerge branch 'release/20.08'
Ismael Asensio [Tue, 4 Aug 2020 20:39:11 +0000 (22:39 +0200)]
Merge branch 'release/20.08'

5 years ago[search] Close tags menu after click when there is only one tag
Ismael Asensio [Fri, 31 Jul 2020 21:59:21 +0000 (23:59 +0200)]
[search] Close tags menu after click when there is only one tag

It stays open otherwise to allow checking/unchecking several tags at a time

BUG: 424873
FIXED-IN: 20.08

5 years agoMerge branch 'release/20.08' into master
Antonio Rojas [Sun, 2 Aug 2020 16:51:03 +0000 (18:51 +0200)]
Merge branch 'release/20.08' into master

5 years agoRemove MaximumSize entry from kdeglobals when settings the preview file size limit...
Antonio Rojas [Sat, 1 Aug 2020 16:42:36 +0000 (18:42 +0200)]
Remove MaximumSize entry from kdeglobals when settings the preview file size limit to "No limit"

Instead of setting it to 0, which KIO's PreviewJob interprets as "No previews", breaking previews in konsole and Plasma desktop

BUG: 424403

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 2 Aug 2020 05:59:53 +0000 (07:59 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 2 Aug 2020 00:29:12 +0000 (02:29 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoGIT_SILENT Upgrade release service version to 20.07.90.
Christoph Feck [Fri, 31 Jul 2020 21:07:44 +0000 (23:07 +0200)]
GIT_SILENT Upgrade release service version to 20.07.90.

5 years agoIcon: Update with latest breeze icon
Timothée Ravier [Sat, 11 Jul 2020 11:01:30 +0000 (13:01 +0200)]
Icon: Update with latest breeze icon

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Thu, 23 Jul 2020 00:35:24 +0000 (02:35 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoMerge branch 'release/20.08'
Nate Graham [Sun, 19 Jul 2020 18:23:25 +0000 (12:23 -0600)]
Merge branch 'release/20.08'

5 years agoFix "Show folders, tabs, and window state from last time" feature
Antonio Rojas [Sun, 19 Jul 2020 14:02:02 +0000 (08:02 -0600)]
Fix "Show folders, tabs, and window state from last time" feature

We were using the DBus interface before declaring it, oops.

BUG: 422300
FIXED-IN: 20.08.0

5 years agoFix deprecated knsrc file location
Alexander Lohnau [Fri, 17 Jul 2020 17:31:03 +0000 (19:31 +0200)]
Fix deprecated knsrc file location

This fixes the `kf.newstuff.core: Using a deprecated location for the knsrc file "servicemenu.knsrc"` warning.

5 years agoFix deprecated knsrc file location
Alexander Lohnau [Fri, 17 Jul 2020 17:31:03 +0000 (19:31 +0200)]
Fix deprecated knsrc file location

This fixes the `kf.newstuff.core: Using a deprecated location for the knsrc file "servicemenu.knsrc"` warning.

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Wed, 15 Jul 2020 03:52:19 +0000 (05:52 +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"

5 years agoUse camelcase includes (scripted)
Laurent Montel [Mon, 13 Jul 2020 12:02:48 +0000 (14:02 +0200)]
Use camelcase includes (scripted)

5 years agoFix selection rect after porting from QFontMetrics::width()
Ismael Asensio [Sun, 12 Jul 2020 21:28:02 +0000 (21:28 +0000)]
Fix selection rect after porting from QFontMetrics::width()

After porting from QFontMetrics::width() to QFontMetrics::boundigRect().width() in system/dolphin!10 we have a visual bug on selection rects, that can be seen on details and compact modes.

While from https://kdepepo.wordpress.com/2019/08/05/about-deprecation-of-qfontmetricswidth/ the use of `boundingRect()` would seem the right option to use (and I struggle to get the difference between the two methods when applied to a whole string and not a single char), in this case the `horizontalAdvance()` seems to return the value we need.

BUG: 421973
FIXED-IN: 20.07.70

5 years agoFix selection rect after porting from QFontMetrics::width()
Ismael Asensio [Sun, 12 Jul 2020 21:28:02 +0000 (21:28 +0000)]
Fix selection rect after porting from QFontMetrics::width()

After porting from QFontMetrics::width() to QFontMetrics::boundigRect().width() in system/dolphin!10 we have a visual bug on selection rects, that can be seen on details and compact modes.

While from https://kdepepo.wordpress.com/2019/08/05/about-deprecation-of-qfontmetricswidth/ the use of `boundingRect()` would seem the right option to use (and I struggle to get the difference between the two methods when applied to a whole string and not a single char), in this case the `horizontalAdvance()` seems to return the value we need.

BUG: 421973
FIXED-IN: 20.07.70

5 years agoAdd support to tags: scheme in DolphinQuery
Ismael Asensio [Sun, 14 Jun 2020 11:41:29 +0000 (13:41 +0200)]
Add support to tags: scheme in DolphinQuery

It allows to start a search from a `tags:/mytag/` view.
The use case is to refine a search on additional terms (another tags,
ratings, etc)

5 years agoGIT_SILENT Upgrade release service version to 20.11.70.
Albert Astals Cid [Sat, 11 Jul 2020 10:20:59 +0000 (12:20 +0200)]
GIT_SILENT Upgrade release service version to 20.11.70.

5 years agoGIT_SILENT Upgrade release service version to 20.07.80.
Albert Astals Cid [Sat, 11 Jul 2020 09:48:48 +0000 (11:48 +0200)]
GIT_SILENT Upgrade release service version to 20.07.80.

5 years agoPort away from QLinkedList
Elvis Angelaccio [Sun, 5 Jul 2020 16:21:20 +0000 (18:21 +0200)]
Port away from QLinkedList

`QLinkedList` has been deprecated and should not be used in new code. Port
to `std::list` instead.

5 years ago[search] Fix corner cases when using quotes in filenames
Ismael Asensio [Sat, 4 Jul 2020 14:23:24 +0000 (16:23 +0200)]
[search] Fix corner cases when using quotes in filenames

The `filename` term in a search query is enclosed into quotes.
As the user can have additional quotes in the search term, there were several
corner cases where the parsing would fail to correctly split the terms

New test cases have been added to cover this possibility
Previous tests still passes to avoid regressions

BEFORE:
```
(filename/quoted) Compared values are not the same
Actual   (query.text()): "xyz\"\""
Expected (expectedText): "\"abc xyz\""

(filename/mixed) Compared values are not the same
Actual   (query.text()): "xyz\" tuv\""
Expected (expectedText): "\"abc xyz\" tuv"

(content+filename/quoted) Compared values are not the same
Actual   (query.text()): "abc xyz xyz\"\""
Expected (expectedText): "abc xyz filename:\"\"abc xyz\"\""
```

5 years ago[search] Do not update text input when it has focus
Ismael Asensio [Sat, 4 Jul 2020 13:42:55 +0000 (15:42 +0200)]
[search] Do not update text input when it has focus

When the user is entering a search term, a delayed search will be
emmited after a few seconds. This means updating the search URL, which
in turn gets parsed and reflected back on the search input.

To avoid interrupting the user input flow and unexpectedly move the
cursor to the end, let's update the input search box only when it
doesn't have the focus.

It's still updated on other interactions such as changing the search
options or clicking a saved search on the places panel.

BUG: 423328
FIXED-IN: 20.08

5 years agoMerge branch 'release/20.04'
Elvis Angelaccio [Sun, 5 Jul 2020 15:26:52 +0000 (17:26 +0200)]
Merge branch 'release/20.04'

5 years agoWrite correct value for "Open in application" script execution setting
Wolfgang Bauer [Tue, 30 Jun 2020 18:01:39 +0000 (18:01 +0000)]
Write correct value for "Open in application" script execution setting

KIO actually uses "alwaysAsk", "execute", and "open" as possible values.

When reading the setting, map unknown values to "open" like KIO does.
That also provides compatibility with older dolphin versions.

BUG: 421294
FIXED-IN: 20.04.3

5 years agoGIT_SILENT Update Appstream for new release
Christoph Feck [Fri, 3 Jul 2020 20:53:42 +0000 (22:53 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit a91d1db06293f00382b88150a29594642d5217c8)

5 years agoGIT_SILENT Update Appstream for new release
Christoph Feck [Fri, 3 Jul 2020 20:53:42 +0000 (22:53 +0200)]
GIT_SILENT Update Appstream for new release

5 years agoGIT_SILENT Upgrade release service version to 20.04.3.
Christoph Feck [Fri, 3 Jul 2020 20:29:05 +0000 (22:29 +0200)]
GIT_SILENT Upgrade release service version to 20.04.3.

5 years ago## Summary
Yann Holme-Nielsen [Mon, 29 Jun 2020 22:27:33 +0000 (22:27 +0000)]
## Summary
* Adds a "Copy location" item, after the "Copy" Context item and Edit Menu, which will attempt to copy the path of the fist item into clipboard.

## Reasoning
Most File Managers have this option through one or another way.
Also using the default Copy option often results in different behaviour depending on the target software, Konsole will take the path. Other Programs will use the URI. Which ultimately could lead to non optimal User Experience.

## Notes
* Should the target file **not** be on a local hard drive, this fallback to using the remote URL, feedback is wanted on that matter.

FEATURE: 407004

5 years agoMerge branch 'release/20.04'
Alexander Lohnau [Tue, 23 Jun 2020 15:42:06 +0000 (17:42 +0200)]
Merge branch 'release/20.04'

5 years agoFix file preview for desktop files with absolute icon paths
Alexander Lohnau [Tue, 23 Jun 2020 06:22:42 +0000 (08:22 +0200)]
Fix file preview for desktop files with absolute icon paths

BUG: 423326

5 years agoExpand DolphinQuery to support different Url schemes
Ismael Asensio [Mon, 22 Jun 2020 12:33:29 +0000 (12:33 +0000)]
Expand DolphinQuery to support different Url schemes

5 years agoGeneralize Player protocol support
Kai Uwe Broulik [Mon, 8 Jun 2020 20:45:27 +0000 (22:45 +0200)]
Generalize Player protocol support

In preparation for AFC support in KFilePlacesModel.
This needs to go into stable since otherwise once Solid announces
AFC devices Dolphin would see them but try to open them as MTP URL

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Thu, 18 Jun 2020 06:34:48 +0000 (08:34 +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"

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Thu, 18 Jun 2020 05:20:24 +0000 (07:20 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Thu, 18 Jun 2020 03:48:38 +0000 (05:48 +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"

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Thu, 18 Jun 2020 00:28:52 +0000 (02:28 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Wed, 17 Jun 2020 14:57:19 +0000 (16:57 +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"

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 17 Jun 2020 13:40:57 +0000 (15:40 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Wed, 17 Jun 2020 12:16:01 +0000 (14:16 +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"

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 17 Jun 2020 09:41:34 +0000 (11:41 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoPlaces: Use Solid::Device::DisplayName for DisplayRole
Méven Car [Tue, 16 Jun 2020 17:37:08 +0000 (19:37 +0200)]
Places: Use Solid::Device::DisplayName for DisplayRole

Summary:
BUG: 415281
FIXED-IN: 20.08
Counter-part of D26113

Test Plan:
Before:
{F8215025}
After:
{F8215027}

Reviewers: ngraham, #dolphin

Reviewed By: ngraham, #dolphin

Subscribers: broulik, kfm-devel

Tags: #dolphin

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

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Sat, 13 Jun 2020 03:34:06 +0000 (05:34 +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"

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sat, 13 Jun 2020 00:21:10 +0000 (02:21 +0200)]
GIT_SILENT made messages (after extraction)

5 years agodoc: Document 'Skip local previews' option
Yuri Chornoivan [Wed, 10 Jun 2020 05:50:08 +0000 (08:50 +0300)]
doc: Document 'Skip local previews' option

5 years agoProvide ability to configure size cut-off for local file previews
Gastón Haro [Tue, 9 Jun 2020 17:03:30 +0000 (11:03 -0600)]
Provide ability to configure size cut-off for local file previews

Summary:
FileWidgets read from kdeglobals the property "MaximumSize" under "PreviewSettings" to decide if a preview will be generated for that file.
There is no current GUI to change that file size limit. On the other hand Dolphin ignores it.

This patch aims to fix that by adding new configuration options to Dolphin. That is a new spinbox in Dolphin settings under General -> Previews tab.

Test Plan:
1 - Set up a local folder with 2 jpg images of less and more than 1 MB respectively.
2 - Go to Dolphin Preferences. General -> Previews and check "JPEG Images" from
    the list. And set "Skip previews for files above:" to 1MB.
3 - Navigate to the afore mentioned folder. Only the image of size less than 1 MB should
    show a preview.

BUG: 331240

Reviewers: ngraham, #dolphin, meven, elvisangelaccio

Reviewed By: ngraham, #dolphin, meven, elvisangelaccio

Subscribers: cfeck, kfm-devel

Tags: #dolphin

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

5 years agoGIT_SILENT Update Appstream for new release
Christoph Feck [Mon, 8 Jun 2020 17:47:51 +0000 (19:47 +0200)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 9e3c8a06ee2f30ae68c36c018f817ce2e481cbb9)

5 years agoGIT_SILENT Update Appstream for new release
Christoph Feck [Mon, 8 Jun 2020 17:47:51 +0000 (19:47 +0200)]
GIT_SILENT Update Appstream for new release

5 years agoGIT_SILENT Upgrade release service version to 20.04.2.
Christoph Feck [Mon, 8 Jun 2020 17:25:55 +0000 (19:25 +0200)]
GIT_SILENT Upgrade release service version to 20.04.2.

5 years agoStatus bar: Hide the space free bar when size is unknown
Méven Car [Tue, 12 May 2020 06:26:11 +0000 (08:26 +0200)]
Status bar: Hide the space free bar when size is unknown

Summary:
BUG: 420027
BUG: 422226
FIXED-IN: 20.08

Test Plan: {F8312398}

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

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

Subscribers: elvisangelaccio, kfm-devel

Tags: #dolphin

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

5 years agoDetect animated format using mimeType instead of file path
Ismael Asensio [Sat, 6 Jun 2020 16:40:03 +0000 (18:40 +0200)]
Detect animated format using mimeType instead of file path

This allows to extend the functionality to non-local files and avoids a warning
on such files (`QFSFileEngine::open: No file name specified`)

5 years agoMerge branch 'release/20.04'
Nate Graham [Wed, 3 Jun 2020 17:51:01 +0000 (11:51 -0600)]
Merge branch 'release/20.04'

5 years agoShow progress when duplicating items
Nate Graham [Mon, 1 Jun 2020 15:58:25 +0000 (09:58 -0600)]
Show progress when duplicating items

For unknown reasons, when I implemented this feature, I turned off
progress notifications. I don't think this makes any sense, and we just
got a bug report about it.

Accordingly, this patches turns on progress notifications.

BUG: 422335
FIXED-IN: 20.04.2

5 years agoFix FIFO usage
Elvis Angelaccio [Sun, 31 May 2020 21:43:46 +0000 (23:43 +0200)]
Fix FIFO usage

`m_propriorityQueue` and `m_queue` are used as FIFO queues, so we need
to use `takeFirst()` instead of `takeLast()` when removing elements
from the queue.

While at it, add a comment so that we will remember these are FIFO
queues.

5 years ago[DolphinStatusBar] Fix free space info height with bigger fonts
Ahmad Samir [Sun, 31 May 2020 07:04:07 +0000 (09:04 +0200)]
[DolphinStatusBar] Fix free space info height with bigger fonts

When the font height is more than the zoom slider height, use the former
to set the fixed height of the free space widget on the status bar.
Otherwise the text is cut-off.

This works with Breeze, Oxygen and Fusion styles.

5 years agoPrevents warnings
Méven Car [Fri, 29 May 2020 17:35:02 +0000 (19:35 +0200)]
Prevents warnings

Warnings such as :
kf5.kio.core: Invalid URL: QUrl("")

It happened for instance with recentlyused:/ ioslave

5 years agoPrevents showing StatJob Progress info
Méven Car [Sat, 30 May 2020 11:54:44 +0000 (13:54 +0200)]
Prevents showing StatJob Progress info

BUG: 422121
Was introduced in ac234a9c55aed509b385ef03835a6d0f563e6a22

5 years agoPort away from deprecated QFontMetrics::width()
Elvis Angelaccio [Thu, 28 May 2020 20:40:57 +0000 (22:40 +0200)]
Port away from deprecated QFontMetrics::width()

While the documention says to port to QFontMetrics::horizontalAdvance(),
what we actually need is not the horizontal advance, but the width of
the text. So we need to port to QFontMetrics::boundingRect().width().

Quoting from https://kdepepo.wordpress.com/2019/08/05/about-deprecation-of-qfontmetricswidth/:

"Since it was not clear from the confusingly named function QFontMetrics::width()
that it actually returned the horizontal advance, instead of the bounding width,
this method is now obsolete.
You must port to either QFontMetrics::horizontalAdvance() or QFontMetrics::boundingRect().width().

Please make sure you are aware of the difference, and do not port
blindly. I am pretty sure that in most cases
QFontMetrics::boundingRect() is what you want, unless you are writing
custom text shaping/layouting code. Using the wrong function can cause
clipped text or text that suddenly wraps to the next line despite
calculating the width that it needs."

5 years agoNon-functional change: consistent indentation
Adriaan de Groot [Thu, 28 May 2020 21:42:23 +0000 (23:42 +0200)]
Non-functional change: consistent indentation

Use 4-space indents consistently, rather than a mix of 2- and 4-.

5 years agoMake ruby, and Gem:test-unit, optional
Adriaan de Groot [Thu, 28 May 2020 21:39:52 +0000 (23:39 +0200)]
Make ruby, and Gem:test-unit, optional

While this reduces test-coverage in cases where the user doesn't have
Ruby or the testing gem installed, it at least allows us to get
through configure and build without disabling **all** testing.

5 years agoPort to non-deprecated variant of QPixmapCache::find()
Elvis Angelaccio [Thu, 28 May 2020 21:04:04 +0000 (23:04 +0200)]
Port to non-deprecated variant of QPixmapCache::find()

We need to pass the pixmap by address, not by reference.

5 years agoAdd some missing const qualifiers
Elvis Angelaccio [Thu, 28 May 2020 20:42:40 +0000 (22:42 +0200)]
Add some missing const qualifiers

5 years agoDrop incorrect emit keywork
Elvis Angelaccio [Thu, 28 May 2020 20:09:03 +0000 (22:09 +0200)]
Drop incorrect emit keywork

This is not a signal.

5 years agoFix clazy-range-loop warning
Elvis Angelaccio [Thu, 28 May 2020 20:02:03 +0000 (22:02 +0200)]
Fix clazy-range-loop warning

5 years agoPort away from deprecated qrand()
Elvis Angelaccio [Thu, 28 May 2020 19:59:39 +0000 (21:59 +0200)]
Port away from deprecated qrand()

5 years agoUpdate README.md: fixed typo in subheading (upper case)
hormet yiltiz [Wed, 27 May 2020 05:04:55 +0000 (05:04 +0000)]
Update README.md: fixed typo in subheading (upper case)

5 years agoKDirectoryContentsCounter: scan first path not in cache
Méven Car [Mon, 25 May 2020 15:31:51 +0000 (15:31 +0000)]
KDirectoryContentsCounter: scan first path not in cache

Use a secondary QLinkedList to store the priority path.

5 years agoMerge branch 'release/20.04'
Nate Graham [Sun, 24 May 2020 14:26:34 +0000 (08:26 -0600)]
Merge branch 'release/20.04'

5 years agouse KSycoca for updating OpenPreferredSearchTool action
Piotr Henryk Dabrowski [Sun, 24 May 2020 14:25:14 +0000 (08:25 -0600)]
use KSycoca for updating OpenPreferredSearchTool action

Summary:
Remove all random updates of OpenPreferredSearchTool action, and
use KSycoca for updating it as discussed in https://phabricator.kde.org/D22594#663847

Enhancement for D29441 for bug #420911 caused by D22594.
The bug was fixed by D29442.

CCBUG: 420911

Test Plan:
```
$ cd ${KDE_INSTALL_DIR}/usr/share/applications

$ sudo mv org.kde.kfind.desktop org.kde.kfind.desktop_
$ kbuildsycoca5

$ sudo mv org.kde.kfind.desktop_ org.kde.kfind.desktop
$ kbuildsycoca5
```

Reviewers: broulik, elvisangelaccio, ngraham, #dolphin

Reviewed By: elvisangelaccio, #dolphin

Subscribers: anthonyfieroni, kfm-devel

Tags: #dolphin

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

5 years agoRevert "GIT_SILENT: we don't use phabricator now"
Elvis Angelaccio [Sat, 23 May 2020 21:35:22 +0000 (23:35 +0200)]
Revert "GIT_SILENT: we don't use phabricator now"

This reverts commit eee6b15865c76798264dae5a29a7e9ee405844c6.

We still need this to review open phabricator patches.

5 years agoKDirectoryContentsCounter: don't schedule scanning a folder already in the Queue
Méven Car [Tue, 19 May 2020 05:52:26 +0000 (07:52 +0200)]
KDirectoryContentsCounter: don't schedule scanning a folder already in the Queue

Use a QLinkedList to check for presence in the queue.

merge request !2

5 years agoChange README to README.md for Markdown parsing
Julian Schraner [Tue, 19 May 2020 16:10:37 +0000 (16:10 +0000)]
Change README to README.md for Markdown parsing

5 years agoAdd Dolphin icon as repository logo
Ilya Bizyaev [Tue, 19 May 2020 07:14:04 +0000 (10:14 +0300)]
Add Dolphin icon as repository logo

5 years agoDolphinView: rename new methods to copy/move urls
Elvis Angelaccio [Mon, 18 May 2020 22:22:26 +0000 (00:22 +0200)]
DolphinView: rename new methods to copy/move urls

DolphinView doesn't know anything about split views and it shouldn't.
Rename these new methods to what they actually do (just copy or move to a
given QUrl).

5 years agoMove search and filter bar close buttons to the right
Nate Graham [Tue, 12 May 2020 20:17:51 +0000 (14:17 -0600)]
Move search and filter bar close buttons to the right

Summary:
Close buttons for windows, tabs, and pretty much everything else in KDE are on the right,
not the left. This patch makes Dolphin's search and filter bars follow that.

BUG: 421372
FIXED-IN: 20.08.0

Test Plan: {F8314176}

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

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

Subscribers: kfm-devel

Tags: #dolphin

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

5 years agoMerge branch 'release/20.04'
Méven Car [Mon, 18 May 2020 06:17:01 +0000 (08:17 +0200)]
Merge branch 'release/20.04'

5 years agoLeft-elide file/folders while keeping their extension visible
Méven Car [Sat, 16 May 2020 07:59:54 +0000 (09:59 +0200)]
Left-elide file/folders while keeping their extension visible

Summary:
Tweak behavior introduced in D19471.

BUG: 404955

Test Plan:
Before:
{F8325282}
After:
{F8325283}
{F8325284}

Reviewers: ngraham, #dolphin, elvisangelaccio, #vdg

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

Subscribers: kfm-devel

Tags: #dolphin

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

5 years agoGIT_SILENT: we don't use phabricator now
Laurent Montel [Sun, 17 May 2020 16:55:49 +0000 (18:55 +0200)]
GIT_SILENT: we don't use phabricator now

5 years agoAdded VCS plugins signals connections for outOfVersionControl() actions.
Nikolai Krasheninnikov [Wed, 6 May 2020 17:31:05 +0000 (20:31 +0300)]
Added VCS plugins signals connections for outOfVersionControl() actions.

Summary:
Plugins can now do out of version control actions (D29041), so we need them to inform of their state.
This change connects every plugin signal to Dolphin on plugin instantiation.

Test Plan:
1. Try SVN Update of inaccessible repository: see SVN error message shows up.
2. Try pull inaccessible git repository: see GIT error message shows up.
3. Try SVN Commit: see SVN message.

Reviewers: #dolphin, meven, elvisangelaccio

Reviewed By: #dolphin, meven

Subscribers: kfm-devel

Tags: #dolphin

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

5 years agoAllow to copy or move selection to the other split view
Antonio Prcela [Thu, 14 May 2020 22:17:31 +0000 (16:17 -0600)]
Allow to copy or move selection to the other split view

Summary:
FEATURE: 276167

Default keyboard shortcuts set to `SHIFT+F5` for `copy`, `SHIFT+F6` for `move`

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

Reviewed By: #dolphin, elvisangelaccio, ngraham, meven, dfaure

Subscribers: yurchor, kde-doc-english, dfaure, meven, kfm-devel

Tags: #dolphin, #documentation

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

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 13 May 2020 07:20:03 +0000 (09:20 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 13 May 2020 00:40:37 +0000 (02:40 +0200)]
GIT_SILENT made messages (after extraction)

5 years agoGIT_SILENT Update Appstream for new release
Christoph Feck [Mon, 11 May 2020 21:07:46 +0000 (23:07 +0200)]
GIT_SILENT Update Appstream for new release

5 years agoDolphinView: rename cutSelectedItems to cutSelectedItemsToClipboard
Elvis Angelaccio [Mon, 11 May 2020 20:53:08 +0000 (22:53 +0200)]
DolphinView: rename cutSelectedItems to cutSelectedItemsToClipboard

For consistency with d1a70c0b629b.

5 years agoGIT_SILENT Upgrade release service version to 20.04.1.
Christoph Feck [Mon, 11 May 2020 20:20:17 +0000 (22:20 +0200)]
GIT_SILENT Upgrade release service version to 20.04.1.

5 years agoDolphin: Cleanup service settings page
Alexander Lohnau [Mon, 11 May 2020 17:58:26 +0000 (19:58 +0200)]
Dolphin: Cleanup service settings page

Summary:
Just some little things :-)
- Refactor foreach
- Fix minor formatting issues
- Use auto keyword where appropiate

Test Plan: Compiles

Reviewers: #dolphin, ngraham, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: elvisangelaccio, kfm-devel

Tags: #dolphin

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