┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-07-12Just change the text color for revisioned files instead of using a ↵Peter Penz
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
2009-07-12The information whether an item is a file or a directory is already known by ↵Peter Penz
Dolphin and might be useful for revision control plugins. svn path=/trunk/KDE/kdebase/apps/; revision=995365
2009-07-12Enable Dolphin to show the revision states of files that are under revision ↵Peter Penz
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 [email protected] 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
2009-07-12Same change as in r995015, but for usage in konq: Don't connect to ↵David Faure
KDirLister::itemDeleted(const KFileItem&), but KDirLister::itemsDeleted(const KFileItemList&). svn path=/trunk/KDE/kdebase/apps/; revision=995123
2009-07-11Don't open folders on a single-click in the column view when the mouse ↵Peter Penz
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
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-07-10Fix regression introduced by an obviously untested "krazy fix" (r973284). ↵David Faure
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
2009-07-10- adding missing constPeter Penz
- minor adjustment of name - use same declaration order as other private methods CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=994089
2009-07-09Fixed the annoying bug (for me) that dealt with having a very long folder ↵Shaun Reich
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
2009-07-08Performance improvement when selecting pasted/dropped items.Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=993585
2009-07-08Fixed regression when refactoring the Information Panel: Don't forget to ↵Peter Penz
give a visual indication if the generation of the preview takes long. svn path=/trunk/KDE/kdebase/apps/; revision=993584
2009-07-07SVN_SILENT made messages (.desktop file)Script Kiddy
svn path=/trunk/KDE/kdebase/apps/; revision=992648
2009-07-05The complexity of the class InformationPanel has grown a lot from KDE 4.0 to ↵Peter Penz
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
2009-07-05Improve performance of Dolphin:Peter Penz
- 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
2009-07-05Wrap the cursor on the right/left side to have a similar keyboard behavior ↵Peter Penz
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: [email protected] CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=991780
2009-07-03SVN_SILENT made messages (.desktop file)Script Kiddy
svn path=/trunk/KDE/kdebase/apps/; revision=990943
2009-07-01Pass the "Yesterday (%B, %Y)" string to modifiedTime.toString(), suchFrank Reininghaus
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
2009-06-30Use KIntSpinBox instead of QSpinBox for better integration with KDE. As a ↵Andrius Štikonas
bonus this allows to use plural suffix in spinboxes since KDE 4.3 if necessary. svn path=/trunk/KDE/kdebase/apps/; revision=989742
2009-06-29Fixed issue that the scroll position is reset if the focus of the itemview ↵Peter Penz
changes. BUG: 197951 svn path=/trunk/KDE/kdebase/apps/; revision=989236
2009-06-28SVN_SILENT made messages (.desktop file)Script Kiddy
svn path=/trunk/KDE/kdebase/apps/; revision=988696
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-25SVN_SILENT made messages (.desktop file)Script Kiddy
svn path=/trunk/KDE/kdebase/apps/; revision=987253
2009-06-24updated version numberPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=986664
2009-06-24SVN_SILENT made messages (.desktop file)Script Kiddy
svn path=/trunk/KDE/kdebase/apps/; revision=986478
2009-06-23SVN_SILENT made messages (.desktop file)Script Kiddy
svn path=/trunk/KDE/kdebase/apps/; revision=985817
2009-06-22Count selected items, not QItemSelectionRanges inFrank Reininghaus
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
2009-06-22SVN_SILENT made messages (.desktop file)Script Kiddy
svn path=/trunk/KDE/kdebase/apps/; revision=985256
2009-06-21SVN_SILENT made messages (.desktop file)Script Kiddy
svn path=/trunk/KDE/kdebase/apps/; revision=984807
2009-06-21Use the name of the property instead of the label, otherwise the stored keys ↵Peter Penz
would get invalid as soon as we get translated labels. svn path=/trunk/KDE/kdebase/apps/; revision=984677
2009-06-21fixed issue the label texts with spaces might overlap with other labelsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=984673
2009-06-21The file ktooltip.h contained the three public classes KToolTip, ↵Peter Penz
KToolTipDelegate and KToolTipItem. Use one separate file for each class. svn path=/trunk/KDE/kdebase/apps/; revision=984646
2009-06-21disable Nepomuk legacy code to eliminate deprecated-warningsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=984621
2009-06-21Simplify how Nepomuk comments can be edited by the user:Peter Penz
- don't provide any mode for editing, just let the user directly manipulate the comment inside the text widget - automatically save changes, no explicit confirmation required svn path=/trunk/KDE/kdebase/apps/; revision=984592
2009-06-20Disable additional properties per default as discussed with Sebastian Trüg.Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=984493
2009-06-20Simplify the handling of previews: Create the tooltip as early as possible ↵Peter Penz
even if the preview has not been finished yet. Previously an empty area has been shown instead of a default icon, but also in this case the size of the tooltip will change as soon as the preview is received -> just show the default icon as early as possible. svn path=/trunk/KDE/kdebase/apps/; revision=984441
2009-06-20don't use empty dummy images if the preview takes a while to get generated, ↵Peter Penz
show the file icon instead svn path=/trunk/KDE/kdebase/apps/; revision=984413
2009-06-20- Don't keep pointers to objects that are obtained and deleted by other objects.Peter Penz
- Simplify the API so that it is assured that no memory leaks are given. svn path=/trunk/KDE/kdebase/apps/; revision=984375
2009-06-20Preview generators might send a null image, so show the default icon as ↵Peter Penz
fallback. BUG: 196277 svn path=/trunk/KDE/kdebase/apps/; revision=984359
2009-06-20SVN_SILENT made messages (.desktop file)Script Kiddy
svn path=/trunk/KDE/kdebase/apps/; revision=984344
2009-06-20Tooltip interface cleanup: Don't use const-pointers as parameters if the ↵Peter Penz
implementation cannot handle 0-pointers. Use a const-reference instead. svn path=/trunk/KDE/kdebase/apps/; revision=984342
2009-06-20use a style dependend border instead of a black boxPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=984301
2009-06-20SVN_SILENT: minor coding style fixesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=984194
2009-06-20We won't get translated labels for Nepomuk literals in KDE 4.3.0... At least ↵Peter Penz
assure that camelcase labels like "fileLocation:" are replaced by "File location:" (thanks to Sebastian Trüg for the code) svn path=/trunk/KDE/kdebase/apps/; revision=984190
2009-06-20clear the selection before renaming multiple itemsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=984159
2009-06-19Fix bottleneck when renaming several hundrets of items (the expensive update ↵Peter Penz
of m_selection is not required). svn path=/trunk/KDE/kdebase/apps/; revision=984020
2009-06-19SVN_SILENT made messages (.desktop file)Script Kiddy
svn path=/trunk/KDE/kdebase/apps/; revision=983936
2009-06-17SVN_SILENT made messages (.desktop file)Script Kiddy
svn path=/trunk/KDE/kdebase/apps/; revision=983098
2009-06-13Use qAbs() instead of fabs(). The values in question are integersFrank Reininghaus
anyway (so fabs() is not the 'right' function for them), and this change makes the Sun Studio compiler happy. Thanks to tropikhajma at gmail.com for the patch. BUG: 196265 svn path=/trunk/KDE/kdebase/apps/; revision=981325
2009-06-10don't clear the selection if a toggle has been pressedPeter Penz
BUG: 181123 svn path=/trunk/KDE/kdebase/apps/; revision=979750