]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
4 years agoAdd missing includes
Nicolas Fella [Mon, 8 Feb 2021 23:40:37 +0000 (00:40 +0100)]
Add missing includes

4 years agoPort away from deprecated KIO signals
Ahmad Samir [Sat, 6 Feb 2021 19:12:41 +0000 (21:12 +0200)]
Port away from deprecated KIO signals

Use KDirLister::listingDirCompleted(const QUrl &) instead of
completed(const QUrl &).

4 years agoAvoid KJob::exec() in DolphinView
Felix Ernst [Mon, 8 Feb 2021 21:32:10 +0000 (21:32 +0000)]
Avoid KJob::exec() in DolphinView

This commit replaces an error-prone usage of KIO::StatJob::exec() in
DolphinView with the recommended KIO::StatJob::start().

The containing method DolphinView::statusBarText() is changed to be a
method without return value: requestStatusBarText()
The new status bar text is instead returned through a new
setStatusBarText() signal that will be emitted asynchronously if
necessary.

The calling code that deals with status bar text is refactored to
correctly work despite the new asynchronicity. The helper method
calculateItemCount() is moved into requestStatusBarText() and some
other code from requestStatusBarText() is moved into a new helper
method emitStatusBarText().

The documentation of KIO::KJob::exec() explains why it should be
avoided. A reproducible crash is the reason for this commit.

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 8 Feb 2021 01:48:28 +0000 (02:48 +0100)]
GIT_SILENT made messages (after extraction)

4 years agoGIT_SILENT Update Appstream for new release
Heiko Becker [Fri, 29 Jan 2021 20:04:28 +0000 (21:04 +0100)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 0f6b39d0cd364634ffd7c8cb8a4dd6d64b662cc8)

4 years agoMerge branch 'release/20.12'
Nate Graham [Mon, 25 Jan 2021 17:25:51 +0000 (10:25 -0700)]
Merge branch 'release/20.12'

4 years agodon't crash when building without baloo
Harald Sitter [Wed, 20 Jan 2021 14:29:04 +0000 (15:29 +0100)]
don't crash when building without baloo

show_information_panel is only created when building with baloo. only
access it when built with baloo, otherwise always report the panel as
off.

this fixes a nullptr deref because action() would return a nullptr since
show_information_panel isn't a thing in all build configurations

(full disclosure: I can't reproduce the crash, nor did I build without
baloo)

BUG: 431730

4 years agoMake zoom slider and free space bar a little smaller by default
Nate Graham [Thu, 10 Dec 2020 16:28:50 +0000 (09:28 -0700)]
Make zoom slider and free space bar a little smaller by default

This makes more room for the new explanatory label for the zoom slider.
The zoom slider in particular was huge, and probably would have stood to
be reduced in width anyway even if we didn't add an explanaory label.

4 years agoAdd explanatory label to status bar's icon size slider
Nate Graham [Tue, 17 Nov 2020 19:47:20 +0000 (12:47 -0700)]
Add explanatory label to status bar's icon size slider

Right now the slider has no label. Let's add one so it's clear what it
does.

BUG: 429255
FIXED-IN: 21.04

4 years agoAutogenerate categories file
Laurent Montel [Sat, 23 Jan 2021 08:23:41 +0000 (09:23 +0100)]
Autogenerate categories file

4 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Thu, 21 Jan 2021 06:07:06 +0000 (07:07 +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"

4 years agoShow button to open knetattach inline with URL nav on remove:// view
Norbert Preining [Mon, 18 Jan 2021 21:43:14 +0000 (06:43 +0900)]
Show button to open knetattach inline with URL nav on remove:// view

This is a backport of b1cadeba939155282a9fadf7d7b025d6529c489e

  From b1cadeba939155282a9fadf7d7b025d6529c489e Mon Sep 17 00:00:00 2001
  From: Nate Graham <nate@kde.org>
  Date: Tue, 15 Dec 2020 23:03:00 -0700
  Subject: [PATCH] Show button to open knetattach inline with URL nav on
   Remote:// view

  In conjunction with
  https://invent.kde.org/frameworks/kio/-/merge_requests/260,
  the net result is to hide the knetattach launcher in the view, and show
  it inline with Dolphin's URL navigator toolbar when viewing the
  remote:// view, just like how we add an "Empty Trash" button when
  viewing trash://.

The backport ensures that even with frameworks << 5.78 only one network
button is shown.

BUG: 431626

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 18 Jan 2021 02:04:46 +0000 (03:04 +0100)]
GIT_SILENT made messages (after extraction)

4 years ago[DolphinView] Fix "Folder is empty" label showing prematurely
Kai Uwe Broulik [Fri, 15 Jan 2021 16:51:33 +0000 (17:51 +0100)]
[DolphinView] Fix "Folder is empty" label showing prematurely

Don't show the label while still loading. Since there is no property in
`KDirLister` a dedicated `m_loading` is added for this purpose.

Also, I removed the explicit update on `urlChanged` as the view
probably won't change until the lister starts loading.

BUG: 430085

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 17 Jan 2021 01:49:13 +0000 (02:49 +0100)]
GIT_SILENT made messages (after extraction)

4 years agoMerge branch 'release/20.12'
Elvis Angelaccio [Sat, 16 Jan 2021 18:28:59 +0000 (19:28 +0100)]
Merge branch 'release/20.12'

4 years agofix folder size calculation on FUSE and network file systems
Ilia Kats [Tue, 12 Jan 2021 18:24:31 +0000 (19:24 +0100)]
fix folder size calculation on FUSE and network file systems

KFileItem::isSlow uses hardcoded logic that returns true if the
filesystem is Smb or Nfs. However,
KFileSystemType::determineFileSystemTypeImpl on Linux returns Nfs also
if the file system in question is a FUSE file system, which includes
NTFS, sshfs, and others.

BUG: 430778
BUG: 431106

4 years agoChange copy location shortcut in dolphin so as to not conflict with Konsole panel
The Imp [Wed, 13 Jan 2021 09:28:58 +0000 (09:28 +0000)]
Change copy location shortcut in dolphin so as to not conflict with Konsole panel

BUG: 426461
FIXED-IN: 20.12.2

4 years agofix folder size calculation on FUSE and network file systems
Ilia Kats [Tue, 12 Jan 2021 18:24:31 +0000 (19:24 +0100)]
fix folder size calculation on FUSE and network file systems

KFileItem::isSlow uses hardcoded logic that returns true if the
filesystem is Smb or Nfs. However,
KFileSystemType::determineFileSystemTypeImpl on Linux returns Nfs also
if the file system in question is a FUSE file system, which includes
NTFS, sshfs, and others.

BUG: 430778
BUG: 431106

4 years agoDon't show "Add network folder" button if knetattach is not available
Antonio Rojas [Fri, 15 Jan 2021 17:02:03 +0000 (18:02 +0100)]
Don't show "Add network folder" button if knetattach is not available

knetattach is part of plasma-desktop, so it doesn't necessarily have to be installed.
In that case, instead of showing a button that doesn't do anything, don't show it at all.

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 15 Jan 2021 01:57:54 +0000 (02:57 +0100)]
GIT_SILENT made messages (after extraction)

4 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Thu, 14 Jan 2021 06:07:18 +0000 (07:07 +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"

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Tue, 12 Jan 2021 01:59:22 +0000 (02:59 +0100)]
GIT_SILENT made messages (after extraction)

4 years ago[BalooRolesProvider] Use Property IDs instead of string matching
Stefan Brüns [Mon, 28 Dec 2020 02:23:23 +0000 (03:23 +0100)]
[BalooRolesProvider] Use Property IDs instead of string matching

Instantiating KFileMetaDataInfo for each file and property, even when
the role is not used, is somewhat expensive and unnecessary. Use the
numeric Property ID to map it to a role, and only instantiate the used
PropertyInfo's.

Remove the properties provided by KFM::UserMetaData from the map, as
these will newer match.

4 years ago[BalooRolesProvider] Reduce number of XAttr reads
Stefan Brüns [Mon, 28 Dec 2020 00:07:52 +0000 (01:07 +0100)]
[BalooRolesProvider] Reduce number of XAttr reads

Typically most of the extended attributes are not set for a file. Instead
of trying to fetch each attribute individually check which attributes
exist first.

4 years ago[BalooRolesProvider] Remove explicit default constructor calls
Stefan Brüns [Sun, 27 Dec 2020 23:56:26 +0000 (00:56 +0100)]
[BalooRolesProvider] Remove explicit default constructor calls

4 years ago[BalooRolesProvider] Remove unused roleForProperty method
Stefan Brüns [Sun, 27 Dec 2020 23:55:28 +0000 (00:55 +0100)]
[BalooRolesProvider] Remove unused roleForProperty method

4 years ago[BalooRolesProvider] Simplify single tag case
Stefan Brüns [Mon, 28 Dec 2020 02:29:06 +0000 (03:29 +0100)]
[BalooRolesProvider] Simplify single tag case

When the list contains just one value, return it instead of trying to
sort the list with a QCollator.

4 years ago[BalooRolesProvider] Move static tagsFromValues to anonymous namespace
Stefan Brüns [Sun, 27 Dec 2020 23:51:23 +0000 (00:51 +0100)]
[BalooRolesProvider] Move static tagsFromValues to anonymous namespace

4 years ago[BalooRolesProvider] Remove unused includes
Stefan Brüns [Sun, 27 Dec 2020 23:53:24 +0000 (00:53 +0100)]
[BalooRolesProvider] Remove unused includes

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 11 Jan 2021 01:57:22 +0000 (02:57 +0100)]
GIT_SILENT made messages (after extraction)

4 years agoOpen new tab placement option
Anthony Fieroni [Sat, 12 Dec 2020 13:17:23 +0000 (15:17 +0200)]
Open new tab placement option

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
4 years agoEmit "itemMiddleClicked" when Ctrl-clicking a view in single selection mode
Kai Uwe Broulik [Wed, 6 Jan 2021 19:16:31 +0000 (20:16 +0100)]
Emit "itemMiddleClicked" when Ctrl-clicking a view in single selection mode

When Ctrl can't cause a change in selection, so instead emit `itemMiddleClicked`.
This way one can Ctrl-click a Place or folder in Folders panel to open it in
a new tab, similar to what web browsers.

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 10 Jan 2021 01:57:47 +0000 (02:57 +0100)]
GIT_SILENT made messages (after extraction)

4 years agoShow button to open knetattach inline with URL nav on Remote:// view
Nate Graham [Wed, 16 Dec 2020 06:03:00 +0000 (23:03 -0700)]
Show button to open knetattach inline with URL nav on Remote:// view

In conjunction with
https://invent.kde.org/frameworks/kio/-/merge_requests/260,
the net result is to hide the knetattach launcher in the view, and show
it inline with Dolphin's URL navigator toolbar when viewing the
remote:// view, just like how we add an "Empty Trash" button when
viewing trash://.

CCBUG: 430211

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sat, 9 Jan 2021 01:59:47 +0000 (02:59 +0100)]
GIT_SILENT made messages (after extraction)

4 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 8 Jan 2021 02:00:30 +0000 (03:00 +0100)]
GIT_SILENT made messages (after extraction)

5 years agoFix location bar being wrongly aligned on first startup
Felix Ernst [Wed, 6 Jan 2021 01:38:45 +0000 (01:38 +0000)]
Fix location bar being wrongly aligned on first startup

When starting Dolphin the very first time, the spacing in front of the
location bar is wrong. This commit fixes this by completely updating
all cached geometry every time adjustSpacing() is called. Because this
happens once on a timer 100 ms after every url change, it will happen
once shortly after the window is shown. At that point all geometry is
where it should be and spacing calculation works as expected.

The ViewContainer geometry retrieval is refactored into a small nested
helper class in DolphinNavigatorsWidgetAction by the name
ViewGeometriesHelper.

Previously the logic of that class was divided between DolphinTabPage
and DolphinNavigatorsWidgetAction.

BUG: 429447
FIXED-IN: 21.04.0

5 years agofix crashing on launch
Martin T. H. Sandsmark [Mon, 4 Jan 2021 18:33:58 +0000 (19:33 +0100)]
fix crashing on launch

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Tue, 5 Jan 2021 05:38:36 +0000 (06:38 +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"

5 years agoSVN_SILENT made messages (.desktop file) - always resolve ours
l10n daemon script [Mon, 4 Jan 2021 05:42:11 +0000 (06:42 +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"

5 years agoRevert "ContextMenu: Allow plugins submenus to react to Shift modifiers"
Elvis Angelaccio [Sat, 2 Jan 2021 18:22:10 +0000 (19:22 +0100)]
Revert "ContextMenu: Allow plugins submenus to react to Shift modifiers"

This reverts commit ce3c2435250f5eb8a3c9322359b25c46d2b6fb96.

The apidox of setParentWidget says:

    Set the parent widget for any dialogs being shown.
    This should normally be your mainwindow, not a popup menu, so that it still exists even after the popup is closed
    (e.g. error message from KRun) and so that QAction::setStatusTip can find a statusbar, too.

CCBUG: 425997

5 years agoAnimate split view mode toggling
Felix Ernst [Sat, 2 Jan 2021 17:48:52 +0000 (17:48 +0000)]
Animate split view mode toggling

Have the secondary ViewContainer slide into/out of view when split view mode is switched on or off by the user.

This should help users understand what split view mode is about. Without the animation it might seem like the only thing the button does is creating a weird vertical line in the middle of the view or something. With the animation it should be clear that the second view is a separate entity that was added. The closing animation will help users understand which of the ViewContainers was just closed.

5 years agoGIT_SILENT Update Appstream for new release
Christoph Feck [Sat, 2 Jan 2021 13:42:54 +0000 (14:42 +0100)]
GIT_SILENT Update Appstream for new release

5 years agoGIT_SILENT Update Appstream for new release
Christoph Feck [Sat, 2 Jan 2021 13:42:54 +0000 (14:42 +0100)]
GIT_SILENT Update Appstream for new release

(cherry picked from commit 35104c052fd2e4490126f91dff34bfed26ddc986)

5 years agoGIT_SILENT Upgrade release service version to 20.12.1.
Christoph Feck [Sat, 2 Jan 2021 13:13:04 +0000 (14:13 +0100)]
GIT_SILENT Upgrade release service version to 20.12.1.

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sat, 2 Jan 2021 08:05:17 +0000 (09:05 +0100)]
GIT_SILENT made messages (after extraction)

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sat, 2 Jan 2021 01:46:01 +0000 (02:46 +0100)]
GIT_SILENT made messages (after extraction)

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Fri, 1 Jan 2021 01:49:09 +0000 (02:49 +0100)]
GIT_SILENT made messages (after extraction)

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Thu, 31 Dec 2020 07:27:23 +0000 (08:27 +0100)]
GIT_SILENT made messages (after extraction)

5 years agouse 'compass' instead of 'bookmarks' icon in Show Places Panel button
Piotr Henryk Dabrowski [Tue, 29 Dec 2020 14:22:57 +0000 (15:22 +0100)]
use 'compass' instead of 'bookmarks' icon in Show Places Panel button

'bookmark' icon is already used for Bookmarks Menu

5 years agoupdate KParts' ReadOnlyPart::localFilePath in DolphinPart::openUrl()
Piotr Henryk Dabrowski [Tue, 10 Mar 2020 16:11:49 +0000 (17:11 +0100)]
update KParts' ReadOnlyPart::localFilePath in DolphinPart::openUrl()

5 years agoFollowing renaming the 'Services' page in the code + Nepomuk -> Baloo (screenshots...
Yuri Chornoivan [Tue, 29 Dec 2020 08:09:23 +0000 (10:09 +0200)]
Following renaming the 'Services' page in the code + Nepomuk -> Baloo (screenshots should be updated later)

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Tue, 29 Dec 2020 01:37:52 +0000 (02:37 +0100)]
GIT_SILENT made messages (after extraction)

5 years agoAdd const
Duong Do Minh Chau [Mon, 28 Dec 2020 07:32:32 +0000 (14:32 +0700)]
Add const

5 years agoApply Elvis suggestions
Chau Duong [Sun, 27 Dec 2020 17:51:16 +0000 (17:51 +0000)]
Apply Elvis suggestions

5 years agoShare actions with main window to avoid duplicating icon name and text
Duong Do Minh Chau [Sat, 26 Dec 2020 15:16:06 +0000 (22:16 +0700)]
Share actions with main window to avoid duplicating icon name and text

5 years agoRemove context menu settings KCM
Duong Do Minh Chau [Thu, 10 Dec 2020 18:47:50 +0000 (01:47 +0700)]
Remove context menu settings KCM

5 years agoAdd options to hide some context menu entries
Duong Do Minh Chau [Thu, 12 Nov 2020 09:38:44 +0000 (16:38 +0700)]
Add options to hide some context menu entries

This commit add options to hide the following context menu entries:
- Add to Places
- Copy Location
- Duplicate Here
- Open in New Tab and Open in New Tabs
- Open in New Window
- Sort By
- View Mode

The Services settings page is renamed to Context Menu

ShowCopyMoveMenu option is moved from GeneralSettings to ContextMenuSettings

BUG: 314594

5 years agoUse a faster way to determine kio-stash isn't installed
Eike Hein [Mon, 28 Dec 2020 16:57:44 +0000 (17:57 +0100)]
Use a faster way to determine kio-stash isn't installed

Summary:
Dolphin needs to figure out whether or not kio-stash is installed
to set the enabled state of a UI action.

When KProtocolInfo::isKnownProtocol can't find a protocol it gets
worried its protocol cache might be out of date, so it rebuilds it
(doing plenty of disk I/O) and looks again. kio-stash is currently
not yet installed on many systems, so this means most Dolphin
startups out there.

This patch switches to using QDBusConnectionInterface::isServiceRegistered
instead to determine whether the stash notifier daemon is running,
which should be faster than doing disk I/O.

Reviewers: davidedmundson, elvisangelaccio, shortstheory

Subscribers: emmanuelp, alexeymin, ngraham, #dolphin

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

5 years agoMake it more obvious that you can connect to servers on remote:/ page
Nate Graham [Thu, 10 Dec 2020 22:16:12 +0000 (15:16 -0700)]
Make it more obvious that you can connect to servers on remote:/ page

Right now it is not super obvious how you connect to a remote server
in Dolphin when you already know the URL. Users will go to the
"Network" item in the Places panel, but from there it is not totally
clear. The "Add Network Folder" icon in the view opens a complicated
wizard and it's also a bit of an odd UX to have it living in the view as
opposed to being a toolbar button.

Old hands and developers know that the URL navigator is, well, a URL
navigator, and as such, it accepts arbitrary URLs from any view.
However this may not be obvious to other more casual users, for
two reasons:
1. The URL navigator is in breadcrumbs view nearly all of the time and
   by default, so may users may not know that it can accept text at all
2. Even when it's displaying URLs, they are almost always local paths,
   so users may not make the connection that it can accept remote URLs
   rather that just local paths

To improve the discoverability of this feature, this commit makes the
following change:

When the view is displaying the remote:/ ioslave (i.e. the "Networks"
place), the URL navigator is put into URL entry mode and given some
placeholder text that hints at what it can do. It reverts to breadcrumbs
mode when you leave.

BUG: 414670
FIXED-IN: 21.04

5 years agoApply sugestions
Méven Car [Sun, 27 Dec 2020 13:14:06 +0000 (14:14 +0100)]
Apply sugestions

5 years agoReview feedback
Méven Car [Tue, 8 Dec 2020 22:09:52 +0000 (23:09 +0100)]
Review feedback

5 years agoVersion Control plugin: allow plugins to return repository root
Méven Car [Sat, 5 Dec 2020 09:19:53 +0000 (10:19 +0100)]
Version Control plugin: allow plugins to return repository root

Currently plugins `fileName()` only return path file extension.

This changes allows plugins to return the absolute file path to their repository root.

CCBUG: 430024

5 years agoFix typo
Nate Graham [Sun, 27 Dec 2020 15:25:04 +0000 (08:25 -0700)]
Fix typo

GIT_SILENT

5 years agoAdd docs on the 'Date style' option
Yuri Chornoivan [Thu, 24 Dec 2020 08:05:46 +0000 (10:05 +0200)]
Add docs on the 'Date style' option

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Thu, 24 Dec 2020 01:40:02 +0000 (02:40 +0100)]
GIT_SILENT made messages (after extraction)

5 years agoDetails View: display dates as relative Short dates
Méven Car [Thu, 24 Dec 2020 00:11:21 +0000 (00:11 +0000)]
Details View: display dates as relative Short dates

CCBUG: 340982

5 years agoMerge branch 'release/20.12'
Nate Graham [Wed, 23 Dec 2020 18:40:09 +0000 (11:40 -0700)]
Merge branch 'release/20.12'

5 years agoFix vertical scroll with horizontal component not being recognized properly
Eduard Manta [Tue, 22 Dec 2020 22:16:52 +0000 (22:16 +0000)]
Fix vertical scroll with horizontal component not being recognized properly

BUG: 430532

a scroll that includes an horizontal component != 0 might still be a vertical scroll

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Wed, 23 Dec 2020 01:43:39 +0000 (02:43 +0100)]
GIT_SILENT made messages (after extraction)

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Tue, 22 Dec 2020 01:41:00 +0000 (02:41 +0100)]
GIT_SILENT made messages (after extraction)

5 years agoAllow non-local startup location
Derek Christ [Mon, 21 Dec 2020 12:08:12 +0000 (13:08 +0100)]
Allow non-local startup location

Only local directories were supported to be set as the starting location
of Dolphin. This commit fixes this by using an KIO::StatJob to determine
if the path is actually pointing to a directory or a file regardless if
it is a local or a remote path.

Additionaly a hard-coded exception for urls with the scheme "timeline"
was removed because with the new fix it is now obsolete.

BUG: 428885

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Mon, 21 Dec 2020 01:47:25 +0000 (02:47 +0100)]
GIT_SILENT made messages (after extraction)

5 years agoDolphinContextMenu: drop wrong assert
Elvis Angelaccio [Tue, 15 Dec 2020 21:56:06 +0000 (22:56 +0100)]
DolphinContextMenu: drop wrong assert

`m_context` can also be `SearchContext` or `TimelineContext`, so this
assert has been wrong since 8b0c12a59ccb23f.

5 years agoImprove AppStream description
Carl Schwan [Tue, 6 Oct 2020 15:33:40 +0000 (17:33 +0200)]
Improve AppStream description

5 years agoMerge branch 'release/20.12'
Nate Graham [Fri, 18 Dec 2020 19:22:21 +0000 (12:22 -0700)]
Merge branch 'release/20.12'

5 years agoFix crash when device with capacitybar is dragged
Chris Holland [Fri, 18 Dec 2020 00:10:40 +0000 (19:10 -0500)]
Fix crash when device with capacitybar is dragged

BUG: 430441

5 years agofix display of folder sizes for empty folders
Ilia Kats [Tue, 15 Dec 2020 21:20:51 +0000 (22:20 +0100)]
fix display of folder sizes for empty folders

also fixes 1 byte error in size calculation for all folders

5 years agoMerge branch 'release/20.12'
Ahmad Samir [Wed, 16 Dec 2020 21:53:57 +0000 (23:53 +0200)]
Merge branch 'release/20.12'

5 years agoUse setShowOpenOrExecuteDialog(true) with OpenUrlJob
Ahmad Samir [Mon, 14 Dec 2020 22:40:12 +0000 (00:40 +0200)]
Use setShowOpenOrExecuteDialog(true) with OpenUrlJob

It makes more sense for a file manager to always ask the user:
 - whether to execute binaries
 - whether to open an executable script as text or execute it

The openOrExecute dialog from KIOWidgets has a "don't ask again" checkbox,
and that setting is also accessible from Dolphin's settings dialog.

See the discussion at https://bugs.kde.org/show_bug.cgi?id=429839#c10

5 years agoMerge branch 'release/20.12'
Elvis Angelaccio [Tue, 15 Dec 2020 22:28:15 +0000 (23:28 +0100)]
Merge branch 'release/20.12'

5 years agoDolphinContextMenu: drop wrong assert
Elvis Angelaccio [Tue, 15 Dec 2020 21:56:06 +0000 (22:56 +0100)]
DolphinContextMenu: drop wrong assert

`m_context` can also be `SearchContext` or `TimelineContext`, so this
assert has been wrong since 8b0c12a59ccb23f.

5 years agoFix access url navigator while creating new tab in filename search view
Anthony Fieroni [Sat, 12 Dec 2020 10:36:23 +0000 (12:36 +0200)]
Fix access url navigator while creating new tab in filename search view
BUG: 429628
BUG: 430434

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
5 years agoMerge remote-tracking branch 'origin/release/20.12'
David Faure [Tue, 15 Dec 2020 17:48:11 +0000 (18:48 +0100)]
Merge remote-tracking branch 'origin/release/20.12'

5 years agoFix KIO warning when URL is empty
David Faure [Tue, 15 Dec 2020 17:45:20 +0000 (18:45 +0100)]
Fix KIO warning when URL is empty

5 years agoDo not create instance of GeneralSettings just to access static members
Alexander Lohnau [Fri, 11 Dec 2020 19:05:15 +0000 (20:05 +0100)]
Do not create instance of GeneralSettings just to access static members

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Thu, 10 Dec 2020 01:44:34 +0000 (02:44 +0100)]
GIT_SILENT made messages (after extraction)

5 years agooperator+/- is disabled for QFlags in qt6
Laurent Montel [Wed, 9 Dec 2020 06:55:44 +0000 (07:55 +0100)]
operator+/- is disabled for QFlags in qt6

5 years agoContextMenu: Allow plugins submenus to react to Shift modifiers
Méven Car [Fri, 4 Dec 2020 15:53:24 +0000 (16:53 +0100)]
ContextMenu: Allow plugins submenus to react to Shift modifiers

In 9e4642d435085f27134ed6c8431734dcacf65834 support was added for the
NewFileMenu.
This adds support for the Plugins submenu provided they relay their
parentWidget to their own menus.

BUG: 425997

5 years agoservicemenuinstaller: Remove file if it already exists
Alexander Lohnau [Wed, 2 Dec 2020 21:20:29 +0000 (22:20 +0100)]
servicemenuinstaller: Remove file if it already exists

This is the case when you update an entry.

5 years agodolphinpart: fix broken part icon name
Friedrich W. H. Kossebau [Sat, 28 Nov 2020 10:27:27 +0000 (11:27 +0100)]
dolphinpart: fix broken part icon name

5 years agodolphinpart: port to new KPluginMetaData-based KParts API
Friedrich W. H. Kossebau [Sat, 28 Nov 2020 10:24:29 +0000 (11:24 +0100)]
dolphinpart: port to new KPluginMetaData-based KParts API

5 years agodolphinpart: add JSON metadata to plugin, install into kf5/parts subdir
Friedrich W. H. Kossebau [Sat, 28 Nov 2020 09:47:39 +0000 (10:47 +0100)]
dolphinpart: add JSON metadata to plugin, install into kf5/parts subdir

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 6 Dec 2020 07:14:05 +0000 (08:14 +0100)]
GIT_SILENT made messages (after extraction)

5 years agoGIT_SILENT made messages (after extraction)
l10n daemon script [Sun, 6 Dec 2020 01:38:12 +0000 (02:38 +0100)]
GIT_SILENT made messages (after extraction)

5 years agoMerge branch 'release/20.12'
Elvis Angelaccio [Sat, 5 Dec 2020 18:24:56 +0000 (19:24 +0100)]
Merge branch 'release/20.12'

5 years agoFix PlacesItemModelTest, 2nd try
Elvis Angelaccio [Sat, 5 Dec 2020 18:15:51 +0000 (19:15 +0100)]
Fix PlacesItemModelTest, 2nd try

This partly reverts 15a5189b1193cc7305ad2c556d67ec79bdb6e38a

The KDE CI does not have KDE_FULL_SESSION set, which means that KIO
doesn't add the recentlyused:// urls to the model, but defaults to the
old timeline:// urls instead.

In both cases KIO adds 2 places, so it is safe to always assume that the
expected model count is 14.

5 years agoDrop obsolete KF5 version check
Elvis Angelaccio [Sat, 5 Dec 2020 17:39:42 +0000 (18:39 +0100)]
Drop obsolete KF5 version check

We depend on 5.77 now.

5 years agoAdd missing const
Elvis Angelaccio [Sat, 5 Dec 2020 15:58:04 +0000 (16:58 +0100)]
Add missing const