┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewcontainer.cpp
AgeCommit message (Collapse)Author
2009-08-28I wanted to this for KDE 4.1 already, but well...Peter Penz
Columview refactoring: Get rid of "isColumnView()" special cases in DolphinView and the interface code duplications due to delegating non-QAbstractItemView interfaces to the column view. This reduces the code size + complexity a lot and will make future maintainance of the columnview and DolphinView a lot easier. Currently there are some regressions in the column view, but this will be fixed during the next 14 days. svn path=/trunk/KDE/kdebase/apps/; revision=1016776
2009-08-01move statusbar code into the directory "statusbar"Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1005704
2009-07-29Allow the revision control plugins to indicate information-, error- and ↵Peter Penz
operation-completed messages. svn path=/trunk/KDE/kdebase/apps/; revision=1004346
2009-07-11Update the statusbar synchronously when the directory lister has been ↵Peter Penz
completed. As no selection is given at this moment, there is no risk that updateStatusBar() is expensive. svn path=/trunk/KDE/kdebase/apps/; revision=995021
2009-07-11Fixed performance issues related to selections and deleting of files:Peter Penz
- Don't connect to KDirLister::itemDeleted(const KFileItem&), but KDirLister::itemsDeleted(const KFileItemList&). Otherwise Dolphin is informed about each single file deletion instead of getting the deleted items as a list. Thanks to David Faure for the hint! - DolphinViewContainer::updateStatusBar() can be expensive when a lot of files are selected, as the file size must get retrieved. Assure that fast calls for updateStatusBar() don't trigger a synchronous update, do the update after 300 ms where no further update has been triggered. - Dolphin provides a list of file items when emitting the selectionChanged() signal. Collecting the file items is a quite expensive operation, so use the same approach as when updating the statusbar: only emit the selection changed signal when no change has been done within 300 ms. This improves the performance when doing huge selections a lot. - Make updateStatusBar() a private method, the main window should not need to take care about updating the statusbar (this is done internally now by DolphinViewContainer). BUG: 199090 BUG: 195787 CCBUG: 199352 CCBUG: 188218 svn path=/trunk/KDE/kdebase/apps/; revision=995015
2009-06-27Swap two lines in DolphinViewContainer::setUrl. Up to now, the "ifFrank Reininghaus
(...)" check was more or less equivalent to "if (false)" here ;-) I've verified that the "Create New..." menu is still enabled correctly when switching columns in Columns view, which is what the "if" check was added for in the first place. svn path=/trunk/KDE/kdebase/apps/; revision=988119
2009-06-08Mark the last visitied directory as active when going back in history.Peter Penz
BUG: 192811 svn path=/trunk/KDE/kdebase/apps/; revision=978757
2009-04-15remove the '!' prefix, which is used for a literal commandPeter Penz
BUG: 189672 svn path=/trunk/KDE/kdebase/apps/; revision=954343
2009-04-01KonqFileItemCapabilities -> KFileItemListPropertiesDavid Faure
svn path=/trunk/KDE/kdebase/apps/; revision=948007
2009-03-02Fixed a security bug in dolphin when handling malformed http urls.Jose Carlos Norte
svn path=/trunk/KDE/kdebase/apps/; revision=933947
2009-02-20Remember the used URL completion mode of the URL navigator. Thanks to Frank ↵Peter Penz
Reininghaus for the patch! BUG: 170502 svn path=/trunk/KDE/kdebase/apps/; revision=929111
2009-02-16Applied patches to filterbar as discussed on review request 91 and 93.Sascha Peilicke
svn path=/trunk/KDE/kdebase/apps/; revision=926845
2009-02-11- allow the view implementations to attach custom actions to the context menuPeter Penz
- let the "details view" show the "[x] Expandable Folders" action in the context menu CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=924867
2009-02-10Fixed issue that the 'Create New' menu might be disabled although creating ↵Peter Penz
of files is allowed. Thanks to Frank Reininghaus for the patch! BUG: 183812 svn path=/trunk/KDE/kdebase/apps/; revision=924120
2009-01-14Group classes into folders, Dolphin is too big in the meantime for having a ↵Peter Penz
flat directory hierarchy. dolphin/src/CMakeLists.txt will be cleaned up later. svn path=/trunk/KDE/kdebase/apps/; revision=911065
2008-12-19minor improvement to last commit: only request the focus if we have a ↵Peter Penz
listable protocol; otherwise leave the focus where it was (e. g. so that the user can enter another URL) svn path=/trunk/KDE/kdebase/apps/; revision=898822
2008-12-19Don't request the focus for the view because of a completed directory ↵Peter Penz
lister, instead directly request it when we know that the user has entered a new URL. This prevents that the focus gets stolen from the Terminal when somebody types "touch foo". BUG: 178070 svn path=/trunk/KDE/kdebase/apps/; revision=898819
2008-12-17turn off the filter when closing the filterbar by CTRL+IPeter Penz
BUG: 177948 svn path=/trunk/KDE/kdebase/apps/; revision=897988
2008-12-16Assure that the view gets focused when:Peter Penz
* Enter or Ctrl+Enter is pressed in the URL navigator * when the filter bar gets closed BUG: 158232 svn path=/trunk/KDE/kdebase/apps/; revision=897739
2008-12-12The nasty "100 ms" delay is not necessary anymore, doing a queued call works ↵Peter Penz
perfectly to restore the contents position of a view. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=896237
2008-12-12If the users enters an URL that represents a file, open the file by the ↵Peter Penz
corresponding application instead of showing an error message. BUG: 165877 svn path=/trunk/KDE/kdebase/apps/; revision=896189
2008-12-12don't disable the "Create New" menu entry, when switching between columns of ↵Peter Penz
the column view BUG: 173153 svn path=/trunk/KDE/kdebase/apps/; revision=896156
2008-12-12SVN_SILENT: removed trailing spacesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=895978
2008-11-13* don't launch Konqueror when the protocol is invalidPeter Penz
* launch default browser when the protocol is http CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=883858
2008-11-12Launch Konqueror if the user enters an unsupported protocolJordi Polo
BUG:171626 svn path=/trunk/KDE/kdebase/apps/; revision=883279
2008-11-08* implement the DragAndDropHelper as singleton derived from QObject, so that ↵Peter Penz
emitting of signals is possible * show an information message in the statusbar, if items are dragged into the same directory TODO: although the signal seems to get connected correctly, the slot DolphinMainWindow::showInformationMessage() is not invoked when the signal is emitted -> will debug this later, it is important that the new string is added before the message freeze svn path=/trunk/KDE/kdebase/apps/; revision=881627
2008-10-24* Move code from DolphinDropController to DragAndDropHelper.Peter Penz
* Move code which checks whether the dragging of a MIME type is supported to DragAndDropHelper. This allows adding an improved support for dropping compressed files from Ark to Dolphin later... CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=875611
2008-10-24Assure that no reloading is done if KDirLister emits a redirection, only ↵Peter Penz
change the the URL. Thanks to David Faure and Albert Alstals Cid for the detailed analysis! BUG: 155591 svn path=/trunk/KDE/kdebase/apps/; revision=875554
2008-10-07improvement to previous commit: check whether the URL can be listed by ↵Peter Penz
asking the protocol manager (thanks to David Faure for the hint) svn path=/trunk/KDE/kdebase/apps/; revision=869022
2008-10-07If an URL cannot be listed, just let the view and the panels show the last ↵Peter Penz
listable URL. This prevents having an empty view and empty panels when typing a wrong URL. BUG: 170695 svn path=/trunk/KDE/kdebase/apps/; revision=868984
2008-10-06allow to configure whether the zoom slider and/or the space information ↵Peter Penz
should be shown in the statusbar svn path=/trunk/KDE/kdebase/apps/; revision=868596
2008-10-05Provide a zoom slider in the status bar. It is configurable whether the zoom ↵Peter Penz
slider and/or the space information is shown in the statusbar (the GUI in the settings dialog will be provided during the next week). svn path=/trunk/KDE/kdebase/apps/; revision=868272
2008-10-05update the statusbar and provide a progress information within the Dolphin ↵Peter Penz
KPart, so that Konqueror shows the same information as Dolphin (thanks to Simon St James for the patch!) CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=868210
2008-10-01* adjusted Dolphin to use KonqOperations::doDrop() instead of using a custom ↵Peter Penz
implementation * used new signals jobRecordingStarted() and jobRecordingFinished from FileUndoManager to inform the user in the statusbar when a recorded command has been finished svn path=/trunk/KDE/kdebase/apps/; revision=866777
2008-09-02don't clear the filterbar when switching between tabsPeter Penz
BUG: 169878 svn path=/trunk/KDE/kdebase/apps/; revision=856411
2008-08-03Allow to configure in the startup configuration whether the URL Navigator ↵Peter Penz
should show the full path in the breadcrumb view. svn path=/trunk/KDE/kdebase/apps/; revision=841571
2008-07-19Disable the menu 'File' -> 'Create New...' if no writing is supported.Peter Penz
BUG: 166592 svn path=/trunk/KDE/kdebase/apps/; revision=834845
2008-05-28Move the code for restoring the current item from DolphinViewContainer to ↵Peter Penz
DolphinView, as the DolphinView must be able to do this without advice from the container. Beside that this simplifies the code it also fixes a regression of having empty tabs. svn path=/trunk/KDE/kdebase/apps/; revision=813828
2008-05-20when going back in history apply the keyboard focus to the the previously ↵Peter Penz
shown directory BUG: 156550 BUG: 158590 svn path=/trunk/KDE/kdebase/apps/; revision=810493
2008-05-20remove unused methodPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=810455
2008-05-07Fixed issue the the current view does not get the focus after opening ↵Peter Penz
Dolphin. Although this fixes #161590, further improvements have to be done to minimize the number of necessary tab presses... BUG: 161590 svn path=/trunk/KDE/kdebase/apps/; revision=805206
2008-03-25Use new key in .protocol files, archiveMimetype, to know which kioslave can ↵David Faure
handle which type of archive in a generic way. Used that in dolphin and in konqueror (and in the filetypes config module, to show the right default value for those mimetypes). This way Urs can extend this mechanism with the p7zip kioslave in the future. CCMAIL: [email protected], [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=790102
2008-03-05Make Konqueror and Dolphin use the new KFileItem::targetUrl() method.Norbert Frese
svn path=/trunk/KDE/kdebase/apps/; revision=782396
2008-02-18No longer use Obsolete Member for QWidget:Bill Egert
topLevelWidget() => window() svn path=/trunk/KDE/kdebase/apps/; revision=776408
2008-02-15Fix flicker when resizing the central view area in Dolphin. Only applicable ↵Robert Knight
with Qt 4.4 with alien widgets enabled. Any widgets passed to KDirLister::setMainWindow() become native widgets because of a call to QWidget::winId() inside KIO. This fix passes the top level Dolphin window to setMainWindow() (which is already a native window) instead of the item view widget. svn path=/trunk/KDE/kdebase/apps/; revision=775396
2008-01-21forwardport 764429:David Faure
Revert the moving of the action to the DolphinView instance, this doesn't work with splitted views. (Each view would need its own action collection, but then DolphinView would have to become a KXMLGUIClient, and the GUI would flicker when switching views). Instead, use the same solution as the other shared actions: static method in DolphinView (for now), slot in the mainwindow (and for the more complex actions than this one, shared code in DolphinView) svn path=/trunk/KDE/kdebase/apps/; revision=764436
2008-01-21Make it configurable whether a browsing through archives should be done. The ↵Peter Penz
default setting is 'off'. TODO: cleanup the "General Settings" dialog and split it as "General" and "Startup". svn path=/trunk/KDE/kdebase/apps/; revision=764378
2008-01-21Cleanup: let the DolphinView be aware about the used action collection. This ↵Peter Penz
will allow us cleaning up some code in DolphinMainWindow and will make it easier sharing code with DolphinPart. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=764347
2008-01-02do a case insensitive filtering of filenamesPeter Penz
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=756066
2007-12-16Only browse through zip and tar files if they are local (otherwise a cryptic ↵Peter Penz
error message will occur). We really must make this behavior configurable in KDE 4.1 - I'd suggest that per default no browsing through zip and tar is done (with an option turning this on again) BUG: 153985 CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=749059