┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-08-13Fixes for "krazy"Peter Penz
2011-08-13Don't enable the search panel per defaultPeter Penz
Assure that the search panel also stays disabled when updating from an older Dolphin version. BUG: 279348 FIXED-IN: 4.7.1
2011-08-13Implement selection of items using mouse clicks.Frank Reininghaus
2011-08-11Test signal emission on selection changesFrank Reininghaus
This commit adds a unit test that changes the selection in various ways, verifies the result and checks that the selection manager's selectionChanged signal has been emitted correctly. The test is data-driven, so I hope that most further testing needs can be fulfilled by adding new test data. Moreover, I changed selectedItems() such that the anchored selection is only taken into account if anchor and current item are different. The reason is that in some situation the anchor should not be selected initially (i.e., if an already selected item is Control-clicked). If the anchor should be selected from the beginning, it must be selected manually.
2011-08-11Emit KitemListSelectionManager's selectionChanged signal correctlyFrank Reininghaus
This commit makes sure that the signal is emitted with the correct current and previous selection after a selection change, and that the signal is emitted exactly once in KItemListSelectionManager::itemsInserted and KItemListSelectionManager::itemsRemoved.
2011-08-10Implement beginAnchoredSelection() and endAnchoredSelection().Frank Reininghaus
Unit test included.
2011-08-10Make sure that key presses are handled in KItemListControllerFrank Reininghaus
Key press events are forwarded from KItemListContainer to KItemListController. Right now, only the 'Home' and 'End' keys are handled (arrow keys require some more work because their action depends on the view mode). Note: 1. Before key presses are handled, the view has to be clicked with the mouse. It seems that the view does not have the keyboard focus initially. 2. The view does not scroll to the new current item yet.
2011-08-10Always use the 'Select' mode for anchored selectionsFrank Reininghaus
In Dolphin, we don't actually use the 'Deselect' and 'Toggle' modes for anchored selections, so we can just remove these modes and always use 'Select' to reduce code complexity.
2011-08-10Initial support for anchored selections in the selection managerFrank Reininghaus
2011-08-10Update the anchor item when items are added or removedFrank Reininghaus
If items are added or removed in the model, not only the current item, but also the anchor item, which is the starting point for any selections via Shift+Click or Shift+Key, needs to be updated. BUG: 262638 FIXED-IN: 4.8.0
2011-08-09Test setting the current item and anchor itemFrank Reininghaus
2011-08-09Improvements for selections, smooth scrolling, tooltips and info-panelPeter Penz
2011-08-08SVN_SILENT made messages (.desktop file)Script Kiddy
2011-08-04SVN_SILENT made messages (.desktop file)Script Kiddy
2011-08-04Underline the current item in KFileItemListViewFrank Reininghaus
It still looks a bit ugly, but at least we can see the current item now :-) It is only updated by mouse clicks at the moment.
2011-08-03Shift-clicks and Control-clicks should not open the itemFrank Reininghaus
2011-08-03Update current item and anchor item on mouse clicksFrank Reininghaus
2011-08-02Inform the selection manager about model changes.Frank Reininghaus
2011-08-02Minor cleanupsPeter Penz
- Cleanup whitespaces after signal-normalization patch - Cleanup DolphinView::Mode numbering
2011-08-02Improve performance for creating previewsPeter Penz
The overall time for creating previews is faster the more items are passed to KIO::previewJob() in parallel instead of passing e.g. only 100 items once and start several KIO::previewJobs sequentially. However in the worst case KIO::previewJob() might block the application for several seconds if the MIME-type of the passed KFileItems are unknown and e.g. 10000 items are forwarded. So KFileItemModelRolesUpdater will now take care to resolve as many MIME-types as possible until a timeout is reached and will only pass those items to KIO::previewJob(). For huge image folders, where the MIME-type can be determined very fast, this means that the overall time for creating previews will decrease without blocking the application. For "worst case" directories where resolving the MIME-type can get very expensive this approach assures no blocking of the user-interface although the overall time until all previews are generated might slightly increase.
2011-08-02Fix unwanted triggering of itemsFrank Reininghaus
An item should only be triggered after a mouse release event if the mouse press has been done at the same position.
2011-08-01Some small API docs fixes in DolphinView.Frank Reininghaus
2011-08-01Add missing separators to the "Help" sub-menu of Dolphin's menubar ↵Kai Uwe Broulik
replacement like all KDE apps have BUG: 276560
2011-07-31normalize signals/slotsMontel Laurent
2011-07-30Merged very early alpha-version of Dolphin 2.0Peter Penz
Dolphin 2.0 will get a new view-engine with the following improvements: - Better performance - Animated transitions - No clipped filenames due to dynamic item-sizes - Grouping support for all view-modes - Non-rectangular selection areas - Simplified code for better maintenance More details will be provided in a blog-entry during the next days. Please note that the code is in a very early alpha-stage and although the most tricky parts have been implemented already very basic things like drag and drop or selections have not been pushed yet. Those things are rather trivial to implement but this still will take some time.
2011-07-17Fix Dolphin session management regressionFrank Reininghaus
The commit fff7573ebb910712ad97951bf1762e6a7bb0bdc7 introduced a regression concerning restoration of saved Dolphin sessions. The main window numbers which can be passed to KMainWindow::restore() start with 1, and not with 0. CCBUG:275649 (cherry picked from commit b4091809beedf0e373ac2f497634cc0bedf77a8f)
2011-07-12SVN_SILENT made messages (.desktop file)Script Kiddy
2011-07-12Revert "Use isEmpty()" - the original code asked for a size > 1 and not >= 1...Peter Penz
This reverts commit fa73fbfb84792d16dd56ebdeca1667ca12a597bd. CCMAIL: [email protected]
2011-07-11Use isEmpty()Nicolas Lécureuil
2011-07-11SVN_SILENT made messages (.desktop file)Script Kiddy
2011-07-10PreviewSettingsPage: update JPG preview plugin settings if neededFrank Reininghaus
In KDE <= 4.6, the 'jpegrotatedthumbnail' plugin was used to provide thumbnails for JPG images which are rotated correctly. In KDE 4.7, this is done by the usual 'jpegthumbnail' plugin if it is configured accordingly. The update of the settings is done in KFilePreviewGenerator. However, if Konqueror is run in web browsing mode and the settings dialog is opened, KFilePreviewGenerator does not have a chance to do the update. To make sure that the correct plugins are shown in the settings, this commit adds a plugin update to PreviewSettingsPage. The old code that just removed the 'jpegrotatedthumbnail' plugin without enabling the 'jpegthumbnail' plugin is removed. CCBUG:277251 (cherry picked from commit 626fb3cf58dc12d4a8d219c12e7663881a1246e7)
2011-07-07Use QToolButtons instead of QPushButtons for the searchbarPeter Penz
Thanks to Hugo Pereira Da Costa for the patch. BUG: 277227 FIXED-IN: 4.7.0
2011-07-06SVN_SILENT made messages (.desktop file)Script Kiddy
2011-07-03Squeeze the filename shown in the rename dialog when it is too longDawit Alemayehu
and show the full name in a tool tip instead.
2011-06-21Show icon overlays in the Informationen Panel.Matthias Fuchs
BUG:190579 REVIEW:101573
2011-06-21SVN_SILENT made messages (.desktop file)Script Kiddy
2011-06-13Add missing actions to report bug + switch language to Help menu in dolphin ↵Burkhard Lück
whithout menubar Using Dolphin in default mode in master/4.7 whithout menubar the user has no actions to report a bug or switch language. Add these missing actions the Help menu launched from the toolbar button Configure and control Dolphin. REVIEW: 101597
2011-06-11Return the url of the view instead of the url of the url navigator.Matthias Fuchs
That way if a wrong protocol had been entered the currently watched directory will be returned. BUG:274890 REVIEW:101580
2011-06-10Fix position of toolbar-menuPeter Penz
CCBUG: 274495
2011-06-09Wait longer for the selectionChanged signalFrank Reininghaus
The timeout for the selectionChanged signal is increased in DolphinViewTest_AllViewModes::verifySelectedItemsCount(). I hope that this will fix a part of the failures seen in http://my.cdash.org/testDetails.php?test=6350150&build=196639
2011-06-09Improve stability of DolphinView testsFrank Reininghaus
1. Fix possible test failure if hidden files are shown initially. 2. Fix possible test failure if a .directory file is created in the test directory. I think that this fixes the test failure from http://my.cdash.org/testDetails.php?test=6350151&build=196639
2011-06-02Keeps the selection after showing/hiding hidden files.Matthias Fuchs
Still only files that are shown will be selected, thus selecting hidden files and then hiding hidden files will deselect those. BUG:177215 REVIEW:101487
2011-06-01Fix problems with commit 8d789f2626243dSebastian Dörner
- fix crash when Ctrl-D-ing in the terminal - don't respond to window manager actions, only when the dock itself is hidden Refers to commit 8d789f2626243ddc6c763c84e582e8e20afe7689
2011-05-31Improves 79ccd0202d106a9c16b79a20cd79831a60dc5393 by allowing "/" in file names.Matthias Fuchs
Though here "/" is not the ascii char '/' but the "unicode fraction slash" one, thus it is not taken as directory command. CCBUG:211751 REVIEW:101454
2011-05-30Fix position of Dolphin menu with multiple-screens setupPeter Penz
BUG: 274495 FIXED-IN: 4.7.0
2011-05-29Set the window on the directory lister created in ViewAccessor so that passwordDawit Alemayehu
management can be handled properly. REVIEW: 101469
2011-05-29SVN_SILENT made messages (.desktop file)Script Kiddy
2011-05-29Improved query creation. There is absolutely no point in using aSebastian Trueg
regular expression in addition to the query created by the query parser. All it does is majorly slowing down the query execution. REVIEW: 101462
2011-05-28Disallow renaming to names containing '/', names being equal to "." or "..".Matthias Fuchs
BUG:211751 REVIEW:101454
2011-05-28DolphinColumnView navigation works more intuitively.Matthias Fuchs
If no item is selected then pressing right moves to a column view with child url, instead of the first index. BUG:263110 REVIEW:101449