]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
16 years ago- fix focus issue in column-view
Peter Penz [Sat, 29 Aug 2009 19:35:59 +0000 (19:35 +0000)]
- fix focus issue in column-view
- minor interface corrections

svn path=/trunk/KDE/kdebase/apps/; revision=1017162

16 years agocentralize namefilter handling
Peter Penz [Sat, 29 Aug 2009 18:35:57 +0000 (18:35 +0000)]
centralize namefilter handling

svn path=/trunk/KDE/kdebase/apps/; revision=1017117

16 years agorestore sorting functionality in a generic way which also works for the column view
Peter Penz [Sat, 29 Aug 2009 18:15:37 +0000 (18:15 +0000)]
restore sorting functionality in a generic way which also works for the column view

svn path=/trunk/KDE/kdebase/apps/; revision=1017106

16 years agoRestore "show hidden files" functionality in a generic way which works also for the...
Peter Penz [Sat, 29 Aug 2009 17:36:02 +0000 (17:36 +0000)]
Restore "show hidden files" functionality in a generic way which works also for the column view.

svn path=/trunk/KDE/kdebase/apps/; revision=1017091

16 years agoAs KFilePreviewGenerator takes care for refreshing the directory lister automatically...
Peter Penz [Sat, 29 Aug 2009 13:49:56 +0000 (13:49 +0000)]
As KFilePreviewGenerator takes care for refreshing the directory lister automatically now, there is no need to reload the directory in Dolphin.

svn path=/trunk/KDE/kdebase/apps/; revision=1016976

16 years agoSVN_SILENT compile
Christoph Feck [Sat, 29 Aug 2009 13:03:01 +0000 (13:03 +0000)]
SVN_SILENT compile

svn path=/trunk/KDE/kdebase/apps/; revision=1016959

16 years ago- restore functionality that selections are kept when changing the view mode
Peter Penz [Sat, 29 Aug 2009 12:51:04 +0000 (12:51 +0000)]
- restore functionality that selections are kept when changing the view mode
- some minor cleanups

svn path=/trunk/KDE/kdebase/apps/; revision=1016955

16 years agomove the DolphinFileItemDelegate creation into ViewExtensionsFactory
Peter Penz [Sat, 29 Aug 2009 12:16:02 +0000 (12:16 +0000)]
move the DolphinFileItemDelegate creation into ViewExtensionsFactory

svn path=/trunk/KDE/kdebase/apps/; revision=1016949

16 years agomove handling of SelectionManager and AutoScroller to ViewExtensionsFactory
Peter Penz [Sat, 29 Aug 2009 11:36:22 +0000 (11:36 +0000)]
move handling of SelectionManager and AutoScroller to ViewExtensionsFactory

svn path=/trunk/KDE/kdebase/apps/; revision=1016927

16 years ago- The view implementations don't need to keep the Extensions Factory as member.
Peter Penz [Sat, 29 Aug 2009 09:51:02 +0000 (09:51 +0000)]
- The view implementations don't need to keep the Extensions Factory as member.
- Created basic documentation for Extensions Factory.

svn path=/trunk/KDE/kdebase/apps/; revision=1016898

16 years agoMove code for initializing and handling view extensions to the new class ViewExtensio...
Peter Penz [Sat, 29 Aug 2009 09:42:21 +0000 (09:42 +0000)]
Move code for initializing and handling view extensions to the new class ViewExtensionsFactory. Beside making DolphinView less complex this will allow the column view to share the view extension code instead of (partly) duplicating it as it has been done before.

Currently only the tooltips- and filepreview-handling have been moved into ViewExtensionsFactory, a further cleanup will be done later.

svn path=/trunk/KDE/kdebase/apps/; revision=1016893

16 years agoRestore filtering of items. The DolphinView just tells the controller about the filte...
Peter Penz [Fri, 28 Aug 2009 21:53:18 +0000 (21:53 +0000)]
Restore filtering of items. The DolphinView just tells the controller about the filter, the views (1:1 iconView + detailView, 1:n columnView) connect to the filter-changed signal and apply it to their proxy model.

svn path=/trunk/KDE/kdebase/apps/; revision=1016782

16 years agoRemove the class DolphinColumnWidget. Due to the refactoring the column view classes...
Peter Penz [Fri, 28 Aug 2009 21:15:58 +0000 (21:15 +0000)]
Remove the class DolphinColumnWidget. Due to the refactoring the column view classes are now represented by DolphinColumnViewContainer and DolphinColumnView.

svn path=/trunk/KDE/kdebase/apps/; revision=1016780

16 years agorestore zooming functionality
Peter Penz [Fri, 28 Aug 2009 21:12:46 +0000 (21:12 +0000)]
restore zooming functionality

svn path=/trunk/KDE/kdebase/apps/; revision=1016779

16 years agoI wanted to this for KDE 4.1 already, but well...
Peter Penz [Fri, 28 Aug 2009 21:04:15 +0000 (21:04 +0000)]
I wanted to this for KDE 4.1 already, but well...

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

16 years agoallow to change the order of columns in the details view
Peter Penz [Wed, 26 Aug 2009 18:23:31 +0000 (18:23 +0000)]
allow to change the order of columns in the details view

BUG: 164696

svn path=/trunk/KDE/kdebase/apps/; revision=1015987

16 years agoforward port from 4.3 r1015507 to make the kcm's load the proper catalog
Burkhard Lück [Tue, 25 Aug 2009 17:53:22 +0000 (17:53 +0000)]
forward port from 4.3 r1015507 to make the kcm's load the proper catalog
BUG:204859

svn path=/trunk/KDE/kdebase/apps/; revision=1015509

16 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sun, 23 Aug 2009 12:06:49 +0000 (12:06 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/KDE/kdebase/apps/; revision=1014621

16 years agoUse KApplication::sessionSaving() to determine if Dolphin is closed by
Frank Reininghaus [Thu, 20 Aug 2009 15:47:38 +0000 (15:47 +0000)]
Use KApplication::sessionSaving() to determine if Dolphin is closed by
the session manager - there's no need to reinvent the wheel ;-)

Thanks to Lubos Lunak for the hint.

svn path=/trunk/KDE/kdebase/apps/; revision=1013726

16 years ago- Fixed issue that the items inside the "Other" category are sorted in a wrong manner.
Peter Penz [Fri, 14 Aug 2009 20:36:54 +0000 (20:36 +0000)]
- Fixed issue that the items inside the "Other" category are sorted in a wrong manner.

- Removed redundant code.

BUG: 173027

svn path=/trunk/KDE/kdebase/apps/; revision=1011495

16 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 14 Aug 2009 09:29:08 +0000 (09:29 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/KDE/kdebase/apps/; revision=1011290

16 years ago* Use the term "version control" instead of "revision control" to be consistent with...
Peter Penz [Thu, 13 Aug 2009 20:48:58 +0000 (20:48 +0000)]
* Use the term "version control" instead of "revision control" to be consistent with the naming in kdevplatform.

* Renamed VersionControlPlugin to KVersionControlPlugin so that the interface can be moved out of Dolphin.

svn path=/trunk/KDE/kdebase/apps/; revision=1011058

16 years agoFix possible crash when opening Dolphin with an enabled Terminal. Thanks to Dario...
Peter Penz [Thu, 13 Aug 2009 19:12:49 +0000 (19:12 +0000)]
Fix possible crash when opening Dolphin with an enabled Terminal. Thanks to Dario Andres for the analyses!

BUG: 202953

svn path=/trunk/KDE/kdebase/apps/; revision=1011008

16 years agoDo not warn the user about closing Dolphin windows with multiple tabs
Frank Reininghaus [Thu, 13 Aug 2009 18:54:16 +0000 (18:54 +0000)]
Do not warn the user about closing Dolphin windows with multiple tabs
if Dolphin is closed by the session manager, i.e., if the user logs
out. The fix is inspired by the way this issue is handled in
Konqueror.

BUG: 201803

svn path=/trunk/KDE/kdebase/apps/; revision=1011002

16 years agoFix infinite recursion if the default text is empty.
Peter Penz [Thu, 13 Aug 2009 15:38:24 +0000 (15:38 +0000)]
Fix infinite recursion if the default text is empty.

BUG: 203455

svn path=/trunk/KDE/kdebase/apps/; revision=1010911

16 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 7 Aug 2009 09:27:30 +0000 (09:27 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/KDE/kdebase/apps/; revision=1008343

16 years agoSVN_SILENT: use 'errorString' instead of requesting the string again
Peter Penz [Tue, 4 Aug 2009 05:41:44 +0000 (05:41 +0000)]
SVN_SILENT: use 'errorString' instead of requesting the string again

svn path=/trunk/KDE/kdebase/apps/; revision=1006624

16 years agoAssure that no empty error message is shown in the statusbar. This should not happen...
Peter Penz [Sat, 1 Aug 2009 21:11:29 +0000 (21:11 +0000)]
Assure that no empty error message is shown in the statusbar. This should not happen and the fix in this case should be done in the corresponding IO-slave, but let's be prepared for the "worst case".

svn path=/trunk/KDE/kdebase/apps/; revision=1005715

16 years agoAssure that non-default messages don't get hidden after a very short time by default...
Peter Penz [Sat, 1 Aug 2009 20:30:23 +0000 (20:30 +0000)]
Assure that non-default messages don't get hidden after a very short time by default messages.

svn path=/trunk/KDE/kdebase/apps/; revision=1005712

16 years agomove statusbar code into the directory "statusbar"
Peter Penz [Sat, 1 Aug 2009 20:01:51 +0000 (20:01 +0000)]
move statusbar code into the directory "statusbar"

svn path=/trunk/KDE/kdebase/apps/; revision=1005704

16 years agoAssure that the panels don't shrink when the view is split and the zoomslide and...
Peter Penz [Sat, 1 Aug 2009 19:30:52 +0000 (19:30 +0000)]
Assure that the panels don't shrink when the view is split and the zoomslide and spaceinfo is shown in the statusbar.

BUG: 202147

svn path=/trunk/KDE/kdebase/apps/; revision=1005693

16 years agoUse QTemporaryFile instead of QFile. This assures an automatic deleting of the file...
Peter Penz [Sat, 1 Aug 2009 18:33:12 +0000 (18:33 +0000)]
Use QTemporaryFile instead of QFile. This assures an automatic deleting of the file and works reliable on multiuser system. Thanks to André Wöbbeking for the hint!

svn path=/trunk/KDE/kdebase/apps/; revision=1005674

16 years agoAssure that the revision control observer receives the correct revision states of...
Peter Penz [Sat, 1 Aug 2009 16:07:42 +0000 (16:07 +0000)]
Assure that the revision control observer receives the correct revision states of subtree-items.

svn path=/trunk/KDE/kdebase/apps/; revision=1005646

16 years agoSVN_SILENT: warning--, fixed indentations
Peter Penz [Fri, 31 Jul 2009 15:29:37 +0000 (15:29 +0000)]
SVN_SILENT: warning--, fixed indentations

svn path=/trunk/KDE/kdebase/apps/; revision=1005230

16 years agoSVN_SILENT: warning--
Peter Penz [Fri, 31 Jul 2009 15:29:09 +0000 (15:29 +0000)]
SVN_SILENT: warning--

svn path=/trunk/KDE/kdebase/apps/; revision=1005229

16 years agoFix forward declaration
Laurent Montel [Fri, 31 Jul 2009 07:14:20 +0000 (07:14 +0000)]
Fix forward declaration

svn path=/trunk/KDE/kdebase/apps/; revision=1004949

16 years agoprovide texts for each revision state
Peter Penz [Thu, 30 Jul 2009 21:46:51 +0000 (21:46 +0000)]
provide texts for each revision state

svn path=/trunk/KDE/kdebase/apps/; revision=1004795

16 years agoUse "svn commit -F" instead of "svn commit -m" to provide a commit description, other...
Peter Penz [Thu, 30 Jul 2009 21:22:14 +0000 (21:22 +0000)]
Use "svn commit -F" instead of "svn commit -m" to provide a commit description, otherwise line-break, quotes etc. don't work in comments.

Tested with local SVN repository, I hope everything works now too with this official commit...

svn path=/trunk/KDE/kdebase/apps/; revision=1004788

16 years ago'Prepare
Peter Penz [Thu, 30 Jul 2009 06:30:21 +0000 (06:30 +0000)]
'Prepare

svn path=/trunk/KDE/kdebase/apps/; revision=1004416

16 years agoIf the revision states have been changed because of executing a SVN context menu...
Peter Penz [Thu, 30 Jul 2009 06:21:35 +0000 (06:21 +0000)]
If the revision states have been changed because of executing a SVN context menu action, the resulting update should be done silently without information messages.

svn path=/trunk/KDE/kdebase/apps/; revision=1004412

16 years agoterminate the thread which checks the revision state of items if the revision control...
Peter Penz [Wed, 29 Jul 2009 22:50:35 +0000 (22:50 +0000)]
terminate the thread which checks the revision state of items if the revision control observer gets deleted

svn path=/trunk/KDE/kdebase/apps/; revision=1004371

16 years agoinform the revision control observer about changed revision states
Peter Penz [Wed, 29 Jul 2009 22:03:11 +0000 (22:03 +0000)]
inform the revision control observer about changed revision states

svn path=/trunk/KDE/kdebase/apps/; revision=1004351

16 years agoAllow the revision control plugins to indicate information-, error- and operation...
Peter Penz [Wed, 29 Jul 2009 21:56:37 +0000 (21:56 +0000)]
Allow the revision control plugins to indicate information-, error- and operation-completed messages.

svn path=/trunk/KDE/kdebase/apps/; revision=1004346

16 years agoFix memory leak. QMenu::addAction(QMenu*) does not take ownership.
Michael Jansen [Wed, 29 Jul 2009 18:59:06 +0000 (18:59 +0000)]
Fix memory leak. QMenu::addAction(QMenu*) does not take ownership.

svn path=/trunk/KDE/kdebase/apps/; revision=1004276

16 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Wed, 29 Jul 2009 11:36:58 +0000 (11:36 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/KDE/kdebase/apps/; revision=1004107

16 years ago- indicate whether the server provides an updated version of a file
Peter Penz [Wed, 29 Jul 2009 07:38:57 +0000 (07:38 +0000)]
- indicate whether the server provides an updated version of a file
- QProcess::waitForReadyRead() must be invoked until it returns false. BTW: this method is invoked inside a non-GUI-thread and hence does not block Dolphin

svn path=/trunk/KDE/kdebase/apps/; revision=1004044

16 years agoUse QProcess instead of the low-level API popen(). Thanks to André Wöbbeking for...
Peter Penz [Wed, 29 Jul 2009 06:31:20 +0000 (06:31 +0000)]
Use QProcess instead of the low-level API popen(). Thanks to André Wöbbeking for the hint.

svn path=/trunk/KDE/kdebase/apps/; revision=1004024

16 years agoAdapt KCategorizedView and KCategoryDrawer changes from kdelibs
Rafael Fernández López [Tue, 28 Jul 2009 23:30:46 +0000 (23:30 +0000)]
Adapt KCategorizedView and KCategoryDrawer changes from kdelibs

svn path=/trunk/KDE/kdebase/apps/; revision=1003883

16 years agoSVN_SILENT: add m_revisionInfoKeys to the initializer list
Peter Penz [Tue, 28 Jul 2009 22:08:39 +0000 (22:08 +0000)]
SVN_SILENT: add m_revisionInfoKeys to the initializer list

svn path=/trunk/KDE/kdebase/apps/; revision=1003848

16 years agoUse the output of 'svn status' instead of doing a custom and error-prone .svn-parsing...
Peter Penz [Tue, 28 Jul 2009 22:04:00 +0000 (22:04 +0000)]
Use the output of 'svn status' instead of doing a custom and error-prone .svn-parsing. BTW: this commit is the first done within Dolphin itself :-)

svn path=/trunk/KDE/kdebase/apps/; revision=1003845

16 years agoImproved Subversion test plugin to allow committing, updating, diffing, adding and...
Peter Penz [Mon, 27 Jul 2009 05:31:48 +0000 (05:31 +0000)]
Improved Subversion test plugin to allow committing, updating, diffing, adding and removing of files. As soon as the test plugin gets moved to kdesdk, the code should be improved to use the libsvn interface.

svn path=/trunk/KDE/kdebase/apps/; revision=1002839

16 years agoThe revision control plugin must be aware on which directory the context-menu-actions...
Peter Penz [Thu, 23 Jul 2009 06:28:28 +0000 (06:28 +0000)]
The revision control plugin must be aware on which directory the context-menu-actions should get applied. Relying on the directory that has been used in beginRetrieval() does not work when having a treeview.

svn path=/trunk/KDE/kdebase/apps/; revision=1001388

16 years agoreplace list.count() > 0 by !list.isEmpty()
Peter Penz [Thu, 23 Jul 2009 06:14:57 +0000 (06:14 +0000)]
replace list.count() > 0 by !list.isEmpty()

svn path=/trunk/KDE/kdebase/apps/; revision=1001386

16 years agoalso provide revision control actions for the viewport-context-menu
Peter Penz [Thu, 23 Jul 2009 06:10:01 +0000 (06:10 +0000)]
also provide revision control actions for the viewport-context-menu

svn path=/trunk/KDE/kdebase/apps/; revision=1001385

16 years agoshow the actions of a revision control plugin in the context menu
Peter Penz [Wed, 22 Jul 2009 19:26:25 +0000 (19:26 +0000)]
show the actions of a revision control plugin in the context menu

svn path=/trunk/KDE/kdebase/apps/; revision=1001270

16 years ago- Documentation updates.
Peter Penz [Wed, 22 Jul 2009 07:07:43 +0000 (07:07 +0000)]
- Documentation updates.
- Allow the revision plugin to emit a signal which indicates a changed revision state.
- Update the revision state if the state of file items has been changed.
- Check also the content of a file if the size of a local and revisioned file is equal.

svn path=/trunk/KDE/kdebase/apps/; revision=1000831

16 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 21 Jul 2009 15:15:44 +0000 (15:15 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/KDE/kdebase/apps/; revision=1000560

16 years ago- interface cleanups
Peter Penz [Sun, 19 Jul 2009 22:29:59 +0000 (22:29 +0000)]
- interface cleanups
- the subversion test plugin is at least capable of indicating the revision state for files

svn path=/trunk/KDE/kdebase/apps/; revision=999489

16 years agono need to export this internal class
Peter Penz [Fri, 17 Jul 2009 19:41:29 +0000 (19:41 +0000)]
no need to export this internal class

svn path=/trunk/KDE/kdebase/apps/; revision=998500

16 years agoremove revision-information entries when items got deleted in the model
Peter Penz [Fri, 17 Jul 2009 19:37:47 +0000 (19:37 +0000)]
remove revision-information entries when items got deleted in the model

svn path=/trunk/KDE/kdebase/apps/; revision=998498

16 years agoThe performance of updating the revision state of items depends on the used plugin...
Peter Penz [Fri, 17 Jul 2009 19:26:46 +0000 (19:26 +0000)]
The performance of updating the revision state of items depends on the used plugin. To prevent that Dolphin gets blocked by a slow plugin, the updating is delegated to a thread.

Still open issue: Applying the revision control property to the model is a bottleneck in QListView (a detailed description of the reason is in kdelibs/kfile/kfilepreviewgenerator.cpp, class LayoutBlocker). But the approach used in KFilePreviewGenerator destroys the textlayout in this case and is temporary disabled until I could track down the reason.

svn path=/trunk/KDE/kdebase/apps/; revision=998492

16 years agoWhen pressing a key after entering a directory, QAbstractItemView::scrollTo() must...
Peter Penz [Fri, 17 Jul 2009 18:33:37 +0000 (18:33 +0000)]
When pressing a key after entering a directory, QAbstractItemView::scrollTo() must be invoked to have autoscroll behavior.

BUG: 199833

svn path=/trunk/KDE/kdebase/apps/; revision=998474

16 years agoCall MediaObject::play() on Audio files mode.
Darío Andrés Rodríguez [Fri, 17 Jul 2009 01:49:08 +0000 (01:49 +0000)]
Call MediaObject::play() on Audio files mode.
BUG: 196243

svn path=/trunk/KDE/kdebase/apps/; revision=998153

16 years agosimplify the revision control API
Peter Penz [Wed, 15 Jul 2009 06:27:53 +0000 (06:27 +0000)]
simplify the revision control API

svn path=/trunk/KDE/kdebase/apps/; revision=996886

16 years agoImprove selection behaviour concerning the new "jump to next/previous
Frank Reininghaus [Tue, 14 Jul 2009 20:47:37 +0000 (20:47 +0000)]
Improve selection behaviour concerning the new "jump to next/previous
row using right/left arrow" and "jump to next/previous column using
down/up arrow" when using the Icon View's "Rows" and "Columns"
arrangement, respectively, in the following cases:

1. In "Columns" arrangement, if the first item is selected and
Ctrl-Down is pressed repeatedly, don't deselect the first item when
jumping to the next column.

2. In "Rows" arrangement, if the first item in the second row is
active and then Left and finally Shift-Left is pressed, don't
re-select the first item in the second row unexpectedly.

3. If an item in the middle of the second row is selected, make sure
that selection with Shift-Left/Shift-Right is reversible even if the
previous/next row is reached.

svn path=/trunk/KDE/kdebase/apps/; revision=996758

16 years agoForward port for SVN commit 996129: Fix possible crash when no current item is given...
Peter Penz [Mon, 13 Jul 2009 21:28:54 +0000 (21:28 +0000)]
Forward port for SVN commit 996129: Fix possible crash when no current item is given. Thanks to Martin Koller for the patch!

CCBUG: 198805
CCBUG: 200037

svn path=/trunk/KDE/kdebase/apps/; revision=996131

16 years agoThe Oxygen team will provide revision control emblems for KDE 4.4. Adjust the code...
Peter Penz [Mon, 13 Jul 2009 20:39:44 +0000 (20:39 +0000)]
The Oxygen team will provide revision control emblems for KDE 4.4. Adjust the code to use icons instead of coloring the text... The icon position at the moment is terrible, an interface extension in KFileItemDelegate is required to get the icon boundaries.

svn path=/trunk/KDE/kdebase/apps/; revision=996101

16 years agoJust change the text color for revisioned files instead of using a completely filled...
Peter Penz [Sun, 12 Jul 2009 15:15:10 +0000 (15:15 +0000)]
Just change the text color for revisioned files instead of using a completely filled background. I'm unsure whether we should use emblems or not... The problem with emblems is that most people that work with revisioned files use the details view with very small icons. So having an emblem above an icon and additionally the selection indicator does not work. Any ideas?

svn path=/trunk/KDE/kdebase/apps/; revision=995378

16 years agoThe information whether an item is a file or a directory is already known by Dolphin...
Peter Penz [Sun, 12 Jul 2009 14:33:26 +0000 (14:33 +0000)]
The information whether an item is a file or a directory is already known by Dolphin and might be useful for revision control plugins.

svn path=/trunk/KDE/kdebase/apps/; revision=995365

16 years agoEnable Dolphin to show the revision states of files that are under revision control...
Peter Penz [Sun, 12 Jul 2009 14:00:45 +0000 (14:00 +0000)]
Enable Dolphin to show the revision states of files that are under revision control systems like SVN, Git, CVS, ... The current code is an early draft and it is planned that all plugins (SVN, Git, CVS, ...) are maintained outside Dolphin. If the API is stable enough, a discussion will be done at kfm-devel@kde.org regarding the location of the plugins (the current implementation of SubversionPlugin is only temporary located in Dolphin for testing purposes).

RevisionControlObserver is implemented in a way that no recognizable slowdown is given for directories that are not under revision control.

CCBUG: 192158

svn path=/trunk/KDE/kdebase/apps/; revision=995351

16 years agoSame change as in r995015, but for usage in konq: Don't connect to KDirLister::itemDe...
David Faure [Sun, 12 Jul 2009 01:00:14 +0000 (01:00 +0000)]
Same change as in r995015, but for usage in konq: Don't connect to KDirLister::itemDeleted(const KFileItem&), but KDirLister::itemsDeleted(const KFileItemList&).

svn path=/trunk/KDE/kdebase/apps/; revision=995123

16 years agoDon't open folders on a single-click in the column view when the mouse settings speci...
Peter Penz [Sat, 11 Jul 2009 18:56:03 +0000 (18:56 +0000)]
Don't open folders on a single-click in the column view when the mouse settings specify double-click. Originally this was meant as a kind of feature (open files on double-click, but folders still on single-click), but it has been received as bug.

BUG: 198464

svn path=/trunk/KDE/kdebase/apps/; revision=995029

16 years agoUpdate the statusbar synchronously when the directory lister has been completed....
Peter Penz [Sat, 11 Jul 2009 18:10:35 +0000 (18:10 +0000)]
Update the statusbar synchronously when the directory lister has been 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

16 years agoFixed performance issues related to selections and deleting of files:
Peter Penz [Sat, 11 Jul 2009 17:48:05 +0000 (17:48 +0000)]
Fixed performance issues related to selections and deleting of files:

- 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

16 years agoFix regression introduced by an obviously untested "krazy fix" (r973284). Setting a
David Faure [Fri, 10 Jul 2009 11:46:48 +0000 (11:46 +0000)]
Fix regression introduced by an obviously untested "krazy fix" (r973284). Setting a
QVariant to QString() is not the same as calling clear on the QVariant (which makes the variant invalid).
(BUG 194502)

svn path=/trunk/KDE/kdebase/apps/; revision=994217

16 years ago- adding missing const
Peter Penz [Fri, 10 Jul 2009 06:07:32 +0000 (06:07 +0000)]
- adding missing const
- minor adjustment of name
- use same declaration order as other private methods

CCMAIL: predator106@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=994089

16 years agoFixed the annoying bug (for me) that dealt with having a very long folder name. In...
Shaun Reich [Thu, 9 Jul 2009 04:41:53 +0000 (04:41 +0000)]
Fixed the annoying bug (for me) that dealt with having a very long folder name. In this case, the name of the tab could be many more times bigger than the tabBar itself.

Now they are ellided, so e.g. "really really long folder name...is" or something.

Few more cases left for me to fix(shortly), but those are not quite close to this section.

svn path=/trunk/KDE/kdebase/apps/; revision=993618

16 years agoPerformance improvement when selecting pasted/dropped items.
Peter Penz [Wed, 8 Jul 2009 22:34:02 +0000 (22:34 +0000)]
Performance improvement when selecting pasted/dropped items.

svn path=/trunk/KDE/kdebase/apps/; revision=993585

16 years agoFixed regression when refactoring the Information Panel: Don't forget to give a visua...
Peter Penz [Wed, 8 Jul 2009 22:31:45 +0000 (22:31 +0000)]
Fixed regression when refactoring the Information Panel: Don't forget to give a visual indication if the generation of the preview takes long.

svn path=/trunk/KDE/kdebase/apps/; revision=993584

16 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 7 Jul 2009 14:08:46 +0000 (14:08 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/KDE/kdebase/apps/; revision=992648

16 years agoThe complexity of the class InformationPanel has grown a lot from KDE 4.0 to KDE...
Peter Penz [Sun, 5 Jul 2009 22:54:37 +0000 (22:54 +0000)]
The complexity of the class InformationPanel has grown a lot from KDE 4.0 to KDE 4.3. One main reason is that a lot of things are done now asynchronously with timers to prevent a blocking UI and unnecessary expensive operations.

To keep the Information Panel maintainable and prepared for future features a cleanup has been done. The whole user interface handling has been moved into the class InformationPanelContent that offers a straight forward interface: showItem(const KFileItem& item) and showItems(const KFileItemList& items).

The class InformationPanel is responsible for calling those methods in a way that hovering items, changing directories, doing selections, rename and delete operations, ... don't result in calling showItem() 10 times per second.

This cleanup won't be backported to KDE 4.3.x

svn path=/trunk/KDE/kdebase/apps/; revision=991902

16 years agoImprove performance of Dolphin:
Peter Penz [Sun, 5 Jul 2009 19:10:20 +0000 (19:10 +0000)]
Improve performance of Dolphin:
- When changing a directory the receiving of the meta data is done now with a short delay. This gives the directory lister the chance to show the directory as fast as possible.
- Prevent that DolphinInformationPanel::reset() is invoked when changing a directory. The method only needs to get invoked if an item has been deleted or renamed.
- Cache an unknown file item. This improves the startup time of Dolphin (-> KFileItem constructor is invoked only once instead of up to 6 times).

svn path=/trunk/KDE/kdebase/apps/; revision=991840

16 years agoWrap the cursor on the right/left side to have a similar keyboard behavior like in...
Peter Penz [Sun, 5 Jul 2009 16:24:46 +0000 (16:24 +0000)]
Wrap the cursor on the right/left side to have a similar keyboard behavior like in Konqueror for KDE 3. Thanks to Tahseen Mohammad for the patch!

No backport to KDE 4.3.x is done until the patch has proven to work well under all circumstances.

BUG: 152985
CCMAIL: tahseen.mohammad@gmail.com
CCMAIL: frank78ac@googlemail.com

svn path=/trunk/KDE/kdebase/apps/; revision=991780

16 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 3 Jul 2009 14:05:35 +0000 (14:05 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/KDE/kdebase/apps/; revision=990943

16 years agoPass the "Yesterday (%B, %Y)" string to modifiedTime.toString(), such
Frank Reininghaus [Wed, 1 Jul 2009 18:51:17 +0000 (18:51 +0000)]
Pass the "Yesterday (%B, %Y)" string to modifiedTime.toString(), such
that %B and %Y actually get replaced by month and year. Today seemed
to be a good day to reproduce and fix this :-)

BUG: 179262

svn path=/trunk/KDE/kdebase/apps/; revision=990131

16 years agoUse KIntSpinBox instead of QSpinBox for better integration with KDE. As a bonus this...
Andrius Štikonas [Tue, 30 Jun 2009 20:09:04 +0000 (20:09 +0000)]
Use KIntSpinBox instead of QSpinBox for better integration with KDE. As a bonus this allows to use plural suffix in spinboxes since KDE 4.3 if necessary.

svn path=/trunk/KDE/kdebase/apps/; revision=989742

16 years agoFixed issue that the scroll position is reset if the focus of the itemview changes.
Peter Penz [Mon, 29 Jun 2009 19:32:39 +0000 (19:32 +0000)]
Fixed issue that the scroll position is reset if the focus of the itemview changes.

BUG: 197951

svn path=/trunk/KDE/kdebase/apps/; revision=989236

16 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sun, 28 Jun 2009 14:31:57 +0000 (14:31 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/KDE/kdebase/apps/; revision=988696

16 years agoSwap two lines in DolphinViewContainer::setUrl. Up to now, the "if
Frank Reininghaus [Sat, 27 Jun 2009 10:42:47 +0000 (10:42 +0000)]
Swap two lines in DolphinViewContainer::setUrl. Up to now, the "if
(...)" 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

16 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Thu, 25 Jun 2009 18:31:11 +0000 (18:31 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/KDE/kdebase/apps/; revision=987253

16 years agoupdated version number
Peter Penz [Wed, 24 Jun 2009 21:03:42 +0000 (21:03 +0000)]
updated version number

svn path=/trunk/KDE/kdebase/apps/; revision=986664

16 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Wed, 24 Jun 2009 17:22:21 +0000 (17:22 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/KDE/kdebase/apps/; revision=986478

16 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 23 Jun 2009 14:10:37 +0000 (14:10 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/KDE/kdebase/apps/; revision=985817

16 years agoCount selected items, not QItemSelectionRanges in
Frank Reininghaus [Mon, 22 Jun 2009 18:15:35 +0000 (18:15 +0000)]
Count selected items, not QItemSelectionRanges in
DolphinView::selectedItemsCount(). This fixes the problem that the
"Compare Files" action may be disabled or enabled incorrectly.

BUG: 181134

svn path=/trunk/KDE/kdebase/apps/; revision=985402

16 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Mon, 22 Jun 2009 14:13:47 +0000 (14:13 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/KDE/kdebase/apps/; revision=985256

16 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sun, 21 Jun 2009 13:45:48 +0000 (13:45 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/KDE/kdebase/apps/; revision=984807

16 years agoUse the name of the property instead of the label, otherwise the stored keys would...
Peter Penz [Sun, 21 Jun 2009 11:33:53 +0000 (11:33 +0000)]
Use the name of the property instead of the label, otherwise the stored keys would get invalid as soon as we get translated labels.

svn path=/trunk/KDE/kdebase/apps/; revision=984677

16 years agofixed issue the label texts with spaces might overlap with other labels
Peter Penz [Sun, 21 Jun 2009 11:23:25 +0000 (11:23 +0000)]
fixed issue the label texts with spaces might overlap with other labels

svn path=/trunk/KDE/kdebase/apps/; revision=984673

16 years agoThe file ktooltip.h contained the three public classes KToolTip, KToolTipDelegate...
Peter Penz [Sun, 21 Jun 2009 10:20:28 +0000 (10:20 +0000)]
The file ktooltip.h contained the three public classes KToolTip, KToolTipDelegate and KToolTipItem. Use one separate file for each class.

svn path=/trunk/KDE/kdebase/apps/; revision=984646

16 years agodisable Nepomuk legacy code to eliminate deprecated-warnings
Peter Penz [Sun, 21 Jun 2009 09:40:05 +0000 (09:40 +0000)]
disable Nepomuk legacy code to eliminate deprecated-warnings

svn path=/trunk/KDE/kdebase/apps/; revision=984621