Commit graph

6554 commits

Author SHA1 Message Date
Felix Ernst a4be53fb99 Replace custom hamburger/control menu with KHamburgerMenu 2021-04-29 13:22:10 +00:00
Alexander Lohnau ccb29c6035 kconfig_add_kcfg_files: Fix warnings about including empty moc file 2021-04-25 06:38:58 +00:00
Alexander Lohnau 844d1c0547 Remove code for dolphin < 4.14 tab restore
The old config keys haven't been written for since KDE 4 times
and has been internally marked as deprecated.
2021-04-24 17:16:27 +00:00
Méven Car 6cec386192 InformationPanel: Allow to refresh the panel when its displayed content changes
BUG: 430095
BUG: 412902
FIXED-IN: 21.08
2021-04-24 09:00:31 +00:00
l10n daemon script 020ba2c3fc 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"
2021-04-23 01:19:55 +00:00
l10n daemon script cede4fed79 GIT_SILENT made messages (after extraction) 2021-04-23 00:21:18 +00:00
Méven Car 5a0da4a9c8 When renaming files, move to next file using tab key or up/down
To rename previous file:
 Up or Shift-Tab

To rename next file:
 Down or Tab

Credit goes to msciubidlo

FEATURE: 403931
FEATURE: 269987
BUG: 334533
FIXED-IN: 21.08
2021-04-19 05:10:11 +00:00
Nate Graham a27b4c5c60 Increase default window size
The current default window size of 750x500 is quite small on today's
screens, and results in an initial user experience of a very cramped app
window. The very first action that I see from new users interacting with
Dolphin is to make the window bigger.

So let's do it for them by making the default window size a bit bigger
ourselves.
2021-04-19 02:18:53 +00:00
Méven Car 4f4e3d392c PlacesPanel: activating a place does not select its previously selected children
BUG: 421347
2021-04-17 10:44:28 +02:00
Heiko Becker 2084814781 GIT_SILENT Update Appstream for new release
(cherry picked from commit 61b2e2fd5e)
2021-04-14 17:06:44 +02:00
Méven Car 46e987d034 Remove dead variable 2021-04-09 07:43:06 +02:00
Laurent Montel e831efc3b2 Not necessary to forward class if we include file 2021-04-08 21:40:59 +02:00
Yuri Chornoivan 0562ce77fb Update screenshots and docs on the Preferences 2021-04-08 12:47:17 +03:00
Yuri Chornoivan 9ebca429ab Add the new option to the docs on the status bar configuration 2021-04-08 09:50:03 +03:00
Méven Car 522000ad8d Merge branch 'release/21.04' 2021-04-08 07:09:22 +02:00
Michael Lang ba8158e2fa Add option to hide entire status bar 2021-04-07 09:05:51 +00:00
David Faure 2200e3c06d Fix deprecated method calls when using KIO >= 5.82 2021-04-06 15:12:20 +02:00
Méven Car 0429e5330e KFileItemModel: DetailsModeSettings::directorySizeCount forces m_sortDirsFirst
Before this patch when !m_sortDirsFirst and DetailsModeSettings::directorySizeCount() == true, the ordering of folders before files would be affected by the sortOrder. I.e descending order would put the folders after the files.
2021-04-05 14:27:47 +02:00
Martin T. H. Sandsmark f334a736b9 Check the version of the plugins before trying to load them 2021-04-05 10:38:48 +00:00
Tobias Fella 30371aedc8 Port the VCS plugin system to KPluginLoader
The loader looks for the plugins in ${QT_PLUGIN_PATH}/dolphin/vcs.
The old method of loading the plugins is kept around for now, to support
external, legacy plugins.
2021-04-05 10:37:28 +00:00
Elvis Angelaccio d97782809a appstream: fix homepage url 2021-04-05 11:02:18 +02:00
Elvis Angelaccio c0e3a5afb2 appstream: fix homepage url 2021-04-05 11:01:37 +02:00
l10n daemon script b1ae7860ac GIT_SILENT made messages (after extraction) 2021-04-01 01:40:02 +00:00
l10n daemon script 69881f93b6 GIT_SILENT made messages (after extraction) 2021-04-01 00:20:15 +00:00
Nate Graham 5c3e9ac90f Merge branch 'release/21.04' 2021-03-31 10:17:58 -06:00
Nate Graham b9139c5e1c Fix crash calling openDirectories() in various cases
This can cause a crash when called with a single url and split view, or
when the last URL is not shown, because the iterator gets mutated in
the loop, so we need to make sure it hasn't gone out of bounds. This
check was erroneously removed in 1755380208
and needs to be brought back.
2021-03-31 09:19:33 -06:00
Christophe Giboudeaux b0c30bea13 Remove the KInit dependency
Amends 9e8e58147
2021-03-30 09:13:14 +02:00
Nicolas Fella 9e8e58147e Port away from KInit
KInit is planned to go away

https://phabricator.kde.org/T14298
2021-03-28 17:11:36 +02:00
l10n daemon script 38e83eacf8 GIT_SILENT made messages (after extraction) 2021-03-28 08:45:07 +02:00
Nate Graham 6f134975ae Merge branch 'release/21.04' 2021-03-27 13:04:05 -06:00
Nate Graham 1755380208 Don't re-open already-open URLs when using session-restore feature
If Dolphin would be asked to open a location that is already open, don't
open it again in a new tab; instead switch to that view. Supports tabs
and split view.

BUG: 434911
FIXED-IN: 21.04
2021-03-26 19:38:47 -06:00
l10n daemon script fc2624960a GIT_SILENT made messages (after extraction) 2021-03-16 03:29:56 +01:00
Nate Graham 135ff05a9d Merge branch 'release/21.04' 2021-03-15 09:44:43 -06:00
Nate Graham a32373e587 Allow selecting filename in information panel
BUG: 434329
FIXED-IN: 21.04
2021-03-15 09:43:46 -06:00
l10n daemon script 8988fc01d0 GIT_SILENT made messages (after extraction) 2021-03-15 09:34:17 +01:00
Albert Astals Cid b7440b946b GIT_SILENT Upgrade release service version to 21.07.70. 2021-03-13 22:00:57 +01:00
Albert Astals Cid c5a2abef81 GIT_SILENT Upgrade release service version to 21.03.80. 2021-03-13 21:19:39 +01:00
Elvis Angelaccio ffb80cb00d Enable test mode in all test 2021-03-13 17:18:53 +01:00
Yuri Chornoivan c1cd4fdc91 Add a note about creating custom 'Create New' submenu items
BUG: 191630
2021-03-13 16:26:46 +02:00
Méven Car ae429d1674 KFileModel: Let Sort dir first affect size sorting
BUG: 433207
2021-03-07 22:45:09 +00:00
Laurent Montel a440ff1acb Remove not implement methods 2021-03-07 20:41:15 +01:00
l10n daemon script 35ec23ac1b GIT_SILENT made messages (after extraction) 2021-02-25 02:45:20 +01:00
Heiko Becker ae1aeadef7 GIT_SILENT Update Appstream for new release
(cherry picked from commit 7fbe747427)
2021-02-25 00:12:43 +01:00
Méven Car 5e5f236d00 KFileItemModelRolesUpdater: Avoid refreshing items when we receive their content count
It concerns the detail view.

It can cause multiple preview to be generated for the same file.
This is visible for directories whose icons use a random value for their inner files thumbnails.

Only the view needs to be updated for this model change.
2021-02-20 18:37:00 +00:00
David Lerch 0811bf4a2b Use only enabled preview plugins in InformationPanelContent and ToolTipManager. 2021-02-19 23:07:54 +01:00
Alexander Lohnau d691aa96f2 Do not run benchmark test automatically
Same reasoning as https://invent.kde.org/frameworks/kio/-/merge_requests/301 and
the commit series.
2021-02-18 20:08:05 +00:00
Stefan Brüns ba041233e8 Apply 1 suggestion(s) to 1 file(s) 2021-02-17 15:21:41 +00:00
Stefan Brüns 492cfb73a3 [FileItemRolesUpdater] Use STL-style iterator instead of iterating a copy
QSet<T>::erase(it) is the save way of erasing from a QSet while iterating
it. This saves creating a copy of the QSet, lookup of a node by value in
`QSet<T>::remove(item)`, and repeated rehashing caused by `remove`.
2021-02-15 17:40:17 +01:00
Stefan Brüns 7c0b5c08cc [FileItemRolesUpdater] Reserve space in two temporary lists
Reserve sufficient space to avoid reallocation later. Overallocating
actually requires less memory than growing and copying it, and it
is freed immediately after anyway.
2021-02-15 17:34:01 +01:00
Stefan Brüns 68704c2a28 [FileItemRolesUpdater] Fix reservation size
The code below always adds the visible range, up to 5 pages before and
after the visible range (each capped to ResolveAllItemsLimit/2) and
the very first and last page (each up to m_maximumVisibleItems).

Use this number to avoid growing the list later.
2021-02-15 17:24:15 +01:00