┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-19Use only enabled preview plugins in InformationPanelContent and ToolTipManager.David Lerch
2021-02-18Do not run benchmark test automaticallyAlexander Lohnau
Same reasoning as https://invent.kde.org/frameworks/kio/-/merge_requests/301 and the commit series.
2021-02-17Apply 1 suggestion(s) to 1 file(s)Stefan Brüns
2021-02-15[FileItemRolesUpdater] Use STL-style iterator instead of iterating a copyStefan Brüns
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[FileItemRolesUpdater] Reserve space in two temporary listsStefan Brüns
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[FileItemRolesUpdater] Fix reservation sizeStefan Brüns
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[FileItemRolesUpdater] Fix calculation of requested indexesStefan Brüns
In case the last and/or first page (a page being n=m_maximumVisibleItems items) overlapped the already inserted items, one item for each range would be inserted a second time, e.g. for the first page and last page: `beginExtendedVisibleRange == 0` => `endFirstPage := 0` => `0 <= 0` is inserted again. `count == 100; endExtendedVisibleRange == 99; m_maximumVisibleItems == 20` => `beginLastPage := 99` => `99 < 100` is inserted again.
2021-02-14[Status Bar] Hide zoomLabel also in menu handlerKai Uwe Broulik
2021-02-14Remove a missing emit KEYWORDMéven Car
NO_CHANGELOG
2021-02-11GIT_SILENT made messages (after extraction)l10n daemon script
2021-02-10Port away from deprecated KToolInvocation::invokeTerminalNicolas Fella
2021-02-10Remove item move animation on view resizeFelix Ernst
This commit removes an animation that happens when the view is resized. Before this commit, whenever the geometry of the view changed, the items in the view drifted towards their new position in the layout after a 300 ms delay. It would look like the items are slow to find their position. This commit simply moves them to their new position in an instant which will abort any ongoing move animations.
2021-02-09Build with QT_NO_KEYWORDSNicolas Fella
2021-02-09Require C++17Nicolas Fella
Not only does C++17 bring many nice things, it also will be required with Qt6. Many KDE projects already require 17 without issues.
2021-02-09Port to QRecursiveMutexNicolas Fella
QMutex::Recursive is deprecated
2021-02-09Add missing includesNicolas Fella
2021-02-08Port away from deprecated KIO signalsAhmad Samir
Use KDirLister::listingDirCompleted(const QUrl &) instead of completed(const QUrl &).
2021-02-08Avoid KJob::exec() in DolphinViewFelix Ernst
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.
2021-02-08GIT_SILENT made messages (after extraction)l10n daemon script
2021-01-29GIT_SILENT Update Appstream for new releaseHeiko Becker
(cherry picked from commit 0f6b39d0cd364634ffd7c8cb8a4dd6d64b662cc8)
2021-01-25Merge branch 'release/20.12'Nate Graham
2021-01-25don't crash when building without balooHarald Sitter
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
2021-01-23Make zoom slider and free space bar a little smaller by defaultNate Graham
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.
2021-01-23Add explanatory label to status bar's icon size sliderNate Graham
Right now the slider has no label. Let's add one so it's clear what it does. BUG: 429255 FIXED-IN: 21.04
2021-01-23Autogenerate categories fileLaurent Montel
2021-01-21SVN_SILENT made messages (.desktop file) - always resolve oursl10n daemon script
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-01-19Show button to open knetattach inline with URL nav on remove:// viewNorbert Preining
This is a backport of b1cadeba939155282a9fadf7d7b025d6529c489e From b1cadeba939155282a9fadf7d7b025d6529c489e Mon Sep 17 00:00:00 2001 From: Nate Graham <[email protected]> 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
2021-01-18GIT_SILENT made messages (after extraction)l10n daemon script
2021-01-17[DolphinView] Fix "Folder is empty" label showing prematurelyKai Uwe Broulik
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
2021-01-17GIT_SILENT made messages (after extraction)l10n daemon script
2021-01-16Merge branch 'release/20.12'Elvis Angelaccio
2021-01-16fix folder size calculation on FUSE and network file systemsIlia Kats
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
2021-01-16Change copy location shortcut in dolphin so as to not conflict with Konsole ↵The Imp
panel BUG: 426461 FIXED-IN: 20.12.2
2021-01-15fix folder size calculation on FUSE and network file systemsIlia Kats
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
2021-01-15Don't show "Add network folder" button if knetattach is not availableAntonio Rojas
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.
2021-01-15GIT_SILENT made messages (after extraction)l10n daemon script
2021-01-14SVN_SILENT made messages (.desktop file) - always resolve oursl10n daemon script
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-01-12GIT_SILENT made messages (after extraction)l10n daemon script
2021-01-11[BalooRolesProvider] Use Property IDs instead of string matchingStefan Brüns
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.
2021-01-11[BalooRolesProvider] Reduce number of XAttr readsStefan Brüns
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.
2021-01-11[BalooRolesProvider] Remove explicit default constructor callsStefan Brüns
2021-01-11[BalooRolesProvider] Remove unused roleForProperty methodStefan Brüns
2021-01-11[BalooRolesProvider] Simplify single tag caseStefan Brüns
When the list contains just one value, return it instead of trying to sort the list with a QCollator.
2021-01-11[BalooRolesProvider] Move static tagsFromValues to anonymous namespaceStefan Brüns
2021-01-11[BalooRolesProvider] Remove unused includesStefan Brüns
2021-01-11GIT_SILENT made messages (after extraction)l10n daemon script
2021-01-10Open new tab placement optionAnthony Fieroni
Signed-off-by: Anthony Fieroni <[email protected]>
2021-01-10Emit "itemMiddleClicked" when Ctrl-clicking a view in single selection modeKai Uwe Broulik
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.
2021-01-10GIT_SILENT made messages (after extraction)l10n daemon script
2021-01-09Show button to open knetattach inline with URL nav on Remote:// viewNate Graham
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