Peter Penz [Sun, 4 Apr 2010 20:45:09 +0000 (20:45 +0000)]
Invert default behavior regarding loading of version control plugins: Only load plugins that have been explicitly enabled by the user instead of loading all plugins per default.
Most users won't use version control plugins at all and there is no need in wasting memory and performance. A user interface has been added in the "Services" settings for version control plugins. The user interface is only shown, if at least one plugin is available on the system.
Peter Penz [Sat, 3 Apr 2010 08:48:35 +0000 (08:48 +0000)]
Cleanup of statusbar widgets:
- Provide proper size hints instead of hiding extensions on small widths
- Provide context menu, which allows to enable/disable the zoom level extension and the space info extension. Also copying the status bar text is possible (useful e. g. for error messages).
Peter Penz [Tue, 30 Mar 2010 20:19:32 +0000 (20:19 +0000)]
Split the class DolphinController into the two classes DolphinViewController and ViewModeController.
The ViewModeController offers a defined interface to control view mode implementations like icons view, details view and column view. The DolphinViewController allows those view mode implementations to control the parent DolphinView in a limited way.
Peter Penz [Wed, 24 Mar 2010 22:41:06 +0000 (22:41 +0000)]
Renamed methods and improved documentation, as in the previous patch the wrong mutex has been used accidently because of the confusing naming of the methods.
Peter Penz [Wed, 24 Mar 2010 22:21:09 +0000 (22:21 +0000)]
Version control: Move the maintainance of pending threads into a custom class. Also the UpdateItemStatesThread differs now between protecting the globally shared plugin and the locally shared data.
Peter Penz [Mon, 22 Mar 2010 18:48:12 +0000 (18:48 +0000)]
Use the default keyboard shortcuts for next-tab/previous-tab as primary key, but use the commonly used shortcuts Ctrl+Tab/Ctrl+Shift+Tab as secondary keys.
Of course it is still possible that the user defines custom shortcuts.
Get back names, and use "using" keyword to keep GCC silent on "method foo on base class hidden y method foo on derived class". Thanks to André for pointing out this trick.
Peter Penz [Sun, 14 Mar 2010 16:21:35 +0000 (16:21 +0000)]
Fix issue that the current terminal line does not get cleared before sending a cd command.
The terminal interface does not provide an API for this, so as workaround backspaces are send. Not nice, but as the issue can lead to data loss, this solution is better than having nothing.
Peter Penz [Tue, 9 Mar 2010 07:13:51 +0000 (07:13 +0000)]
Port patch 1098976 for Konqueror by David Faure to Dolphin: When the user 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
Peter Penz [Thu, 4 Mar 2010 16:24:20 +0000 (16:24 +0000)]
Rename NfoTranslator to KNfoTranslator, so that KMetaDataWidget can be moved to kdelibs for KDE SC 4.5 (some interfaces of KMetaDataWidget need to be cleaned up first).
KNfoTranslator is marked as private class, as it is not clear yet whether it should be used by other classes like KFileMetaInfo.
Peter Penz [Fri, 26 Feb 2010 22:03:32 +0000 (22:03 +0000)]
Meta data configuration cleanups:
- Use RDF labels internally.
- Provide better default settings, which meta data are hidden.
- Allow to configure which meta data is shown also if Nepomuk is turned off.
Peter Penz [Fri, 26 Feb 2010 14:42:47 +0000 (14:42 +0000)]
The number of fixed meta-info items may vary dependent on whether Nepomuk is enabled or not. Avoid the nasty hack to hardcode the value within the slotLoadingFinished() method.
Peter Penz [Thu, 25 Feb 2010 20:54:02 +0000 (20:54 +0000)]
Request the activation of the view, even if the column is marked as active already: The activation state of a column is independent from from the activation state of the view.
This fixes the regression that items for inactive views containing columns get triggered.
Peter Penz [Thu, 25 Feb 2010 19:36:36 +0000 (19:36 +0000)]
Forward port of SVN commit 1096089: Fix regression that columns stay empty when switching between URLs that differ by more than one sub directory. Thanks to Frank Reininghaus for the analysis.
Remove all code that is related to DolphinController's
requestUrlChange signal. This signal was removed in r1080351, so the
code isn't needed any more.
Peter Penz [Sun, 21 Feb 2010 13:29:32 +0000 (13:29 +0000)]
Forward port of SVN commit 1093803: Assure that the changed selection model is reconnected when changing columns. This fixes the regression that some operations have been disabled on sub columns. Thanks to Frank Reininghaus for the analyses.
Make sure that DolphinView's m_expanderActive member is handled
correctly, and emit DolphinDetailsViewExpander's completed() signal
only if the folder loading is really finished. This fixes possible
problems when restoring the current item and scroll position of the
view if these require a preceding folder expansion.
David Faure [Mon, 8 Feb 2010 14:27:58 +0000 (14:27 +0000)]
Separate the parent object (for the knewfilemenu instance) and the parent widget
(for dialogs it might pop up) so that we can use a non-widget parent.
BUG: 218743
Peter Penz [Fri, 5 Feb 2010 13:30:08 +0000 (13:30 +0000)]
Be more clear that selecting the checkbox means, that the shown view properties should be used as default (that only "new folders" are affected, is incorrect).
David Faure [Wed, 27 Jan 2010 23:55:55 +0000 (23:55 +0000)]
Implement the --select option in konqueror again, using Peter's nice work in Dolphin.
While at it, I reworked the handling of command-line options in main completely,
to factorize code and make --select do the right thing even in case of multiple args
(wasn't supported in kde3).
Reorganise some code in DolphinView and DolphinViewContainer. This
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).
David Faure [Tue, 26 Jan 2010 12:04:56 +0000 (12:04 +0000)]
Deprecated KNewMenu and make it derive from KNewFileMenu (BIC, but SC; the only way to avoid duplicating code until kde5)
Port all of kdebase' use of KNewMenu to KNewFileMenu.
Also port from KonqNameAndUrlInputDialog to KNameAndUrlInputDialog,
and from KonqMenuActions to KFileItemActions in dolphincontextmenu.cpp
Sebastian Trueg [Tue, 26 Jan 2010 09:25:22 +0000 (09:25 +0000)]
* Do not hide the parent folder since we can now browse into it by simply clicking the link.
* Fixed index bug which caused the last information item to be deleted.
* Why make merge-sort more complicated than it is? ;)
Peter Penz [Tue, 26 Jan 2010 08:27:42 +0000 (08:27 +0000)]
* Assure that the URL navigator is synchronized with the active column.
* Removed obsolete triggerUrlChangeRequest() method + signal in the DolphinController. This is not needed anymore because of the refactored column view.
Laurent Montel [Mon, 25 Jan 2010 13:14:39 +0000 (13:14 +0000)]
Implement todo (create a dialog box when ok is enable/disable when text is empty or not)
(and fix restore size, in old version we didn't save size before to delete element)
Peter Penz [Mon, 25 Jan 2010 07:58:24 +0000 (07:58 +0000)]
* Adjust code to use the improved KUrlNavigator API.
* Open a new tab if the URL navigator requests it.
* Get rid of a cyclic dependency between DolphinViewContainer and DolphinMainWindow.