┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewcontainer.cpp
AgeCommit message (Collapse)Author
2010-03-09Port patch 1098976 for Konqueror by David Faure to Dolphin: When the user ↵Peter Penz
clicks on a Type=Link desktop files that point to a directory, let's open that directory in the current view, rather than starting a new Konqueror. As requested by LukasLT for http://forum.kde.org/viewtopic.php?f=14&t=66660 svn path=/trunk/KDE/kdebase/apps/; revision=1101071
2010-01-26Reorganise some code in DolphinView and DolphinViewContainer. ThisFrank Reininghaus
makes it possible to restore the expanded folders in the Details View when navigating in history (based on r1056438 and r1079843). Also remove DolphinView::activateItem(const KUrl&) and DolphinView's m_loadingDirectory member (they are not needed any more). This will be in KDE 4.5. BUG: 169886 svn path=/trunk/KDE/kdebase/apps/; revision=1080549
2010-01-26* Assure that the URL navigator is synchronized with the active column.Peter Penz
* Removed obsolete triggerUrlChangeRequest() method + signal in the DolphinController. This is not needed anymore because of the refactored column view. svn path=/trunk/KDE/kdebase/apps/; revision=1080351
2010-01-25* Adjust code to use the improved KUrlNavigator API.Peter Penz
* Open a new tab if the URL navigator requests it. * Get rid of a cyclic dependency between DolphinViewContainer and DolphinMainWindow. BUG: 181223 svn path=/trunk/KDE/kdebase/apps/; revision=1079843
2010-01-06If an operation has been completed (e. g. a rename operation), the default ↵Peter Penz
status bar text must be updated too. Otherwise the statusbar would show a cached version after the "operation completed" message is not shown anymore. BUG: 212797 svn path=/trunk/KDE/kdebase/apps/; revision=1070800
2009-11-19Provide clickable resources for the Information Panel. Thanks to Sebastian ↵Peter Penz
Trüg für the patch! CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=1051553
2009-11-14When navigating back/forward in the DolphinPart inside Konqueror, rememberFrank Reininghaus
1. the current item, 2. the scroll position of the view, and 3. the expansion state of the details view. Before 3. can be implemented in Dolphin itself, some changes in KUrlNavigator are required. This fix will be in KDE 4.4. BUG: 193549 BUG: 198073 BUG: 213137 svn path=/trunk/KDE/kdebase/apps/; revision=1049164
2009-11-13Implemented initialization of value-widgets. This allows e.g. to apply dates ↵Peter Penz
like "today", "last week", ... to the date-value-widgets just by specifying a search criterion. svn path=/trunk/KDE/kdebase/apps/; revision=1048771
2009-11-13search finetuning:Peter Penz
* trigger progress information when starting a search * let the information panel hide the meta data for the search string * get the search string from the configurator svn path=/trunk/KDE/kdebase/apps/; revision=1048721
2009-11-12Show a progress information when doing a Nepomuk search. As "sideeffect" ↵Peter Penz
some KDE3 relicts for the progress bar code have been removed too... svn path=/trunk/KDE/kdebase/apps/; revision=1048225
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