]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
12 years agoRemove items from m_filteredItems if their parent is deleted
Frank Reininghaus [Mon, 18 Feb 2013 22:49:33 +0000 (23:49 +0100)]
Remove items from m_filteredItems if their parent is deleted

Fixes the problem that filtered children of expanded deleted folders
reappear if the filter is cleared.

BUG: 315210
FIXED-IN: 4.10.1
REVIEW: 108976

12 years agoMerge remote-tracking branch 'origin/KDE/4.10'
Frank Reininghaus [Sun, 17 Feb 2013 11:17:01 +0000 (12:17 +0100)]
Merge remote-tracking branch 'origin/KDE/4.10'

12 years agoAnother fix for KItemListControllerTest::testMouseClickActivation()
Frank Reininghaus [Sun, 17 Feb 2013 11:12:52 +0000 (12:12 +0100)]
Another fix for KItemListControllerTest::testMouseClickActivation()

One one machine, I see that changing the global "single click" setting
fails. I don't know why that is the case, but I think we should better
just skip the test in that case and not hang forever.

12 years agoUpdate Dolphin version to 2.2.60
Frank Reininghaus [Sun, 17 Feb 2013 10:36:03 +0000 (11:36 +0100)]
Update Dolphin version to 2.2.60

12 years agoPrevent repeated re-layouting of all items while previews are generated
Frank Reininghaus [Sun, 17 Feb 2013 10:21:00 +0000 (11:21 +0100)]
Prevent repeated re-layouting of all items while previews are generated

There was some code in KStandardItemListView::itemSizeHintUpdateRequired
already that was supposed to prevent an expensive re-layouting of all
items when a preview is received. However, it didn't quite work as
intended because also the "iconOverlays" role changed.

The new approach is to only re-layout if text of a visible role changes,
because this is the only way how the space needed by an item might
change (see KStandardItemListWidgetInformant::itemSizeHint()).

BUG: 315315
FIXED-IN: 4.10.1
REVIEW: 108984

12 years agoImprove the recently added test testMouseClickActivation
Frank Reininghaus [Wed, 13 Feb 2013 16:56:03 +0000 (17:56 +0100)]
Improve the recently added test testMouseClickActivation

The method to make sure that the first item is visible turned out to be
less reliable than I thought. This could make the test hang forever.
Moreover, this commit removes some trailing whitespace that had been
added accidentally.

12 years agoMerge remote-tracking branch 'origin/KDE/4.10'
Aurélien Gâteau [Mon, 11 Feb 2013 09:53:52 +0000 (10:53 +0100)]
Merge remote-tracking branch 'origin/KDE/4.10'

12 years agoFix blinking when moving the mouse over an hidden item
Aurélien Gâteau [Fri, 8 Feb 2013 14:44:37 +0000 (15:44 +0100)]
Fix blinking when moving the mouse over an hidden item

The opacity of the unhovered pixmap must be gradually reduced while
animating otherwise the alpha channel saturates.

REVIEW: 108858
BUG: 299371
FIXED-IN: 4.10.1

12 years agoMerge remote-tracking branch 'origin/KDE/4.10'
Frank Reininghaus [Sun, 10 Feb 2013 18:27:21 +0000 (19:27 +0100)]
Merge remote-tracking branch 'origin/KDE/4.10'

12 years agoRe-organize the code that compares expanded items
Frank Reininghaus [Sun, 10 Feb 2013 17:09:07 +0000 (18:09 +0100)]
Re-organize the code that compares expanded items

The previous approach, which was based on comparing the URLs as
strings, was not only very complex, but also could lead to
inconsistencies in the model, namely, that not all children were
removed from the model when the dir lister reported the parent as
deleted. Later on, this could even lead to a crash.

BUG: 311947
FIXED-IN: 4.11
REVIEW: 108766

12 years agoAdd benchmark for adding many child items in a tree structure
Frank Reininghaus [Sun, 10 Feb 2013 17:07:55 +0000 (18:07 +0100)]
Add benchmark for adding many child items in a tree structure

12 years agoInclude parent-child relationships in KFileItemModel's consistency check
Frank Reininghaus [Sun, 10 Feb 2013 17:06:07 +0000 (18:06 +0100)]
Include parent-child relationships in KFileItemModel's consistency check

12 years agoKFileItemModel::insertItems(): reserve sufficient space for m_items
Frank Reininghaus [Wed, 6 Feb 2013 17:58:54 +0000 (18:58 +0100)]
KFileItemModel::insertItems(): reserve sufficient space for m_items

This prevents expensive and unnecessary repeated rehashing when many
items are inserted into the model.

12 years agoAdd unit test for bug 313342
Frank Reininghaus [Tue, 5 Feb 2013 19:06:49 +0000 (20:06 +0100)]
Add unit test for bug 313342

12 years agoApply changes of the KGlobalSettings::singleClick() setting immediately
Aniket Anvit [Tue, 5 Feb 2013 18:58:06 +0000 (19:58 +0100)]
Apply changes of the KGlobalSettings::singleClick() setting immediately

Fixes a regression introduced by commit
7a364cbf489af25e123d18713523151a3a53f814.

Patch reviewed and pushed by Frank Reininghaus.

BUG: 313342
FIXED-IN: 4.10.1

12 years agoTwo small optimizations in KFileItemModel::removeItems()
Frank Reininghaus [Sun, 3 Feb 2013 22:28:57 +0000 (23:28 +0100)]
Two small optimizations in KFileItemModel::removeItems()

1. It seems that it really can happen that KFileItems that we get from
   the dir lister's itemsDeleted signal are not in the model any more,
   e.g., if a folder where hidden files are shown is left and a folder
   where hidden files are not shown is entered. There is no need to
   output warnings then.
2. Remove the emptiness-check for the KFileItemList at the beginning.
   Even in the unlikely event that we do get an empty list, we return
   just a few lines later in the code.

12 years agoconst QList<int> -> const QList<int>&
Frank Reininghaus [Sun, 3 Feb 2013 22:19:58 +0000 (23:19 +0100)]
const QList<int> -> const QList<int>&

12 years agoRemove unneeded #include
Frank Reininghaus [Sun, 3 Feb 2013 22:12:55 +0000 (23:12 +0100)]
Remove unneeded #include

12 years agoMerge remote-tracking branch 'origin/KDE/4.10'
Frank Reininghaus [Wed, 30 Jan 2013 20:06:34 +0000 (21:06 +0100)]
Merge remote-tracking branch 'origin/KDE/4.10'

Conflicts:
dolphin/src/tests/kfileitemmodeltest.cpp

12 years agoAdd unit test for bug 314046
Frank Reininghaus [Wed, 30 Jan 2013 20:02:43 +0000 (21:02 +0100)]
Add unit test for bug 314046

The regression happened in the master branch only, but I think it
doesn't hurt to add the test to the stable branch.

CCBUG: 314046

12 years agoUpdate Dolphin version to 2.2 for KDE 4.10.0
Frank Reininghaus [Tue, 29 Jan 2013 18:13:49 +0000 (19:13 +0100)]
Update Dolphin version to 2.2 for KDE 4.10.0

12 years agoFix crashes in KFileItemModel::removeItems()
Frank Reininghaus [Tue, 29 Jan 2013 18:08:28 +0000 (19:08 +0100)]
Fix crashes in KFileItemModel::removeItems()

These crashes were caused by the recent commit
ff3267c6dcd0f6d0621b3a96b5462a9581a03883. It introduced two problems:

a) A logic error in the code that removes the ItemData pointers from
   m_itemData that could cause crashes if multiple item ranges are
   removed, and there were un-removed items behind the last one.
b) The implicit assumption that any call of removeItems() will actually
   result in items being removed in the model. This is incorrect if
   the model is first cleared and then the hidden-files setting is
   modified, which happens if "Save view properties for each folder" is
   enabled, and a folder where hidden files are shown is left. In that
   case, the dir lister emits itemsDeleted for the hidden items after
   they have been removed from the model due to the folder change.

I'll add a unit test covering these issues soon.

Many thanks to Romário Rios and Hrvoje Senjan for testing!

BUG: 314046

12 years agoMerge branch 'KDE/4.10'
Weng Xuetian [Sun, 27 Jan 2013 19:13:04 +0000 (14:13 -0500)]
Merge branch 'KDE/4.10'

12 years agoescape the existing text instead of set to plain text
Weng Xuetian [Fri, 25 Jan 2013 21:07:33 +0000 (16:07 -0500)]
escape the existing text instead of set to plain text

@info indicates it's rich text and will be added <html> tag by kdelibs,
so just escape the text that will be set to label for KDE/4.10

REVIEW: 108584
BUG: 313992

12 years agoMerge remote-tracking branch 'origin/KDE/4.10'
Frank Reininghaus [Sun, 27 Jan 2013 14:25:47 +0000 (15:25 +0100)]
Merge remote-tracking branch 'origin/KDE/4.10'

Conflicts:
dolphin/src/tests/kfileitemmodeltest.cpp

12 years agoMove the consistency check for KFileItemModel from the test to the class
Frank Reininghaus [Sun, 27 Jan 2013 14:19:39 +0000 (15:19 +0100)]
Move the consistency check for KFileItemModel from the test to the class

This makes it possible to check the model's consistency also in other
places, e.g., in KFileItemModel's benchmark.

12 years agoAdd a unit test for a recently fixed crash
Frank Reininghaus [Sun, 27 Jan 2013 13:09:39 +0000 (14:09 +0100)]
Add a unit test for a recently fixed crash

Before commit 90c7fd400c34e6d4d583c54c04631856c387d359, adding a
KFileItem with an empty path caused a crash in
KFileItemModel::expandedParentsCountCompare().

12 years agoPerformance improvements in KFileItemModel::removeItems()
Frank Reininghaus [Sun, 27 Jan 2013 12:07:46 +0000 (13:07 +0100)]
Performance improvements in KFileItemModel::removeItems()

The performance of this method is improved by:
a) Not removing items one by one, but doing it in a way that minimizes
   the number of moves to prevent O(N^2) worst-case complexity.
b) Not sorting the removed items using the potentially extremely slow
   KFileItemModel::lessThan. We can get the indexes of the removed items
   very easily from the hash m_items, and sorting ints is a lot faster.
c) Preventing repeated rehashing of m_items when removing the deleted
   URLs by replacing remove() by erase().

REVIEW: 108540

12 years agoAdd some benchmarks for KFileItemModel
Frank Reininghaus [Sun, 27 Jan 2013 11:55:37 +0000 (12:55 +0100)]
Add some benchmarks for KFileItemModel

The benchmark executable must be run manually. It is not run
automatically with the other unit tests to prevent waste of CPU cycles
in the not-so-uncommon situation that only test failures attract
attention.

12 years agoMerge remote-tracking branch 'origin/KDE/4.10'
Luca Beltrame [Thu, 24 Jan 2013 22:49:59 +0000 (23:49 +0100)]
Merge remote-tracking branch 'origin/KDE/4.10'

12 years agoKFileItemModelRolesUpdater: Avoid multiple updates for Nepomuk data
Vishesh Handa [Tue, 22 Jan 2013 11:48:48 +0000 (17:18 +0530)]
KFileItemModelRolesUpdater: Avoid multiple updates for Nepomuk data

The Nepomuk ResourceWatcher emits 3 signals - propertyChanged,
propertyAdded and propertyRemoved. We should only listen to either the
propertyChanged signal or the propertyAdded + Removed signals. There is
no point in listening to all 3 signals. That will just result in
unnecessary updates.

Additionally, we do not need to listen to the resourceCreated signal.
That is only emitted when we are watching for a specific types, which we
are not.

REVIEW: 108543

12 years agoMerge remote-tracking branch 'origin/KDE/4.10'
Frank Reininghaus [Thu, 24 Jan 2013 08:39:33 +0000 (09:39 +0100)]
Merge remote-tracking branch 'origin/KDE/4.10'

12 years agoMake the "A folder cannot be dropped into itself" message less intrusive
Frank Reininghaus [Tue, 22 Jan 2013 06:13:34 +0000 (07:13 +0100)]
Make the "A folder cannot be dropped into itself" message less intrusive

Showing this message in the KMessageWidget above the view, which means
that the view contents are moved down, can be extremely annoying
according to user feedback. Just showing the message in the status bar
is probably enough.

BUG: 313466
REVIEW: 108483
FIXED-IN: 4.10.0

12 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 18 Jan 2013 07:05:47 +0000 (08:05 +0100)]
SVN_SILENT made messages (.desktop file)

12 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Thu, 17 Jan 2013 11:48:56 +0000 (12:48 +0100)]
SVN_SILENT made messages (.desktop file)

12 years agoMerge remote-tracking branch 'origin/KDE/4.10'
Luca Beltrame [Wed, 16 Jan 2013 22:42:25 +0000 (23:42 +0100)]
Merge remote-tracking branch 'origin/KDE/4.10'

12 years agoAllow Timeline-URLs as homepage
Andrea Scarpino [Wed, 16 Jan 2013 22:05:47 +0000 (23:04 +0059)]
Allow Timeline-URLs as homepage

FEATURE: 313151
REVIEW: 108428

12 years agoAllow Timeline-URLs as homepage
Andrea Scarpino [Wed, 16 Jan 2013 22:05:47 +0000 (23:04 +0059)]
Allow Timeline-URLs as homepage

FEATURE: 313151
REVIEW: 108428

12 years agoUse proper IconSize for PlacesItemEditDialog's KIconButton
Kai Uwe Broulik [Wed, 16 Jan 2013 21:54:32 +0000 (22:54 +0100)]
Use proper IconSize for PlacesItemEditDialog's KIconButton

REVIEW: 108443

12 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Wed, 16 Jan 2013 11:34:10 +0000 (12:34 +0100)]
SVN_SILENT made messages (.desktop file)

12 years agoRemove incorrect comments about the sorting functions
Frank Reininghaus [Tue, 15 Jan 2013 18:07:36 +0000 (19:07 +0100)]
Remove incorrect comments about the sorting functions

In fact, we could use the sorting functions provided by Qt or the STL.
The reason why we have our own is that we want to support parallel
sorting because sorting many items naturally by name can be expensive.

12 years agoUpdate Dolphin version to 2.1.98 for KDE 4.10 RC 3
Frank Reininghaus [Tue, 15 Jan 2013 17:56:14 +0000 (18:56 +0100)]
Update Dolphin version to 2.1.98 for KDE 4.10 RC 3

12 years agoRe-organise the sorting code
Frank Reininghaus [Tue, 15 Jan 2013 17:50:21 +0000 (18:50 +0100)]
Re-organise the sorting code

The KFileItemModel-specific parts are now separated from the generic
ones, like the parallel sorting implementation.

REVIEW: 108386

12 years agoChange the sort and merge functions to a more generic form.
Frank Reininghaus [Tue, 15 Jan 2013 17:47:00 +0000 (18:47 +0100)]
Change the sort and merge functions to a more generic form.

This might make it easier to reuse the parallel sorting code. Moreover,
some the upperBound/lowerBound functions have been removed because
equivalents are provided by the STL.

12 years agoUse std::rotate, rather than reversing three times
Frank Reininghaus [Tue, 15 Jan 2013 17:44:00 +0000 (18:44 +0100)]
Use std::rotate, rather than reversing three times

We need less code now, and moreover, the STL implementation of rotate
should be more efficient than three reverse() calls.

12 years agoThe locking around the plugin access in actions doesn't seem to be
Simeon Bird [Sat, 12 Jan 2013 15:37:57 +0000 (10:37 -0500)]
The locking around the plugin access in actions doesn't seem to be
necessary, as actions is only called from the main thread.

Also it wasn't checked consistently; if the lock could not be taken, the
plugin was accessed anyway.

12 years agoWe don't need the mutex guarding m_itemStates in the
Simeon Bird [Sat, 12 Jan 2013 15:37:26 +0000 (10:37 -0500)]
We don't need the mutex guarding m_itemStates in the
UpdateItemStatesThread, because m_itemStates is only accessed by the
when the thread is done, and set before the thread starts.

Also combine the setData function with the constructor.

12 years agoMerge branch 'KDE/4.10'
Simeon Bird [Tue, 15 Jan 2013 16:11:11 +0000 (11:11 -0500)]
Merge branch 'KDE/4.10'

12 years agoA crash occurs if updateItemStates runs between the
Simeon Bird [Sun, 13 Jan 2013 18:49:21 +0000 (13:49 -0500)]
A crash occurs if updateItemStates runs between the
UpdateItemStatesThread finishing and the finished() signal being
delivered.

In this case, a new thread was not created, because the old thread
still existed. However, pendingItemStatesUpdate was not set, because the
thread was not running. Instead, the old thread was restarted.

This meant that the finished() signal from the first run could be delivered
while the thread was running for a second time, causing the thread to be
deleted while still running and thus a crash.

Solution: set pendingItemStatesUpdate if the thread is non-null,
even if it is not running, knowing that slotThreadFinished has not yet run,
and will call updateItemStates itself.

BUG: 302264
FIXED-IN: 4.10
REVIEW: 107656

12 years agoSelect right item as current item (first item after the deletion) after deleting...
Emmanuel Pescosta [Mon, 14 Jan 2013 19:01:03 +0000 (20:01 +0100)]
Select right item as current item (first item after the deletion) after deleting files

BUG: 290736
REVIEW: 108356
FIXED-IN: 4.10

12 years agoDon't delay popup menus of "Create New" and "Recently Closed Tabs" toolbar buttons
Kai Uwe Broulik [Mon, 14 Jan 2013 09:42:03 +0000 (10:42 +0100)]
Don't delay popup menus of "Create New" and "Recently Closed Tabs" toolbar buttons

REVIEW: 108397

12 years agoUpdate Dolphin's About dialog
Frank Reininghaus [Sun, 13 Jan 2013 13:12:32 +0000 (14:12 +0100)]
Update Dolphin's About dialog

Emmanuel has contributed a lot of useful patches to Dolphin. Thank you
very much for that! The Dolphin community is looking forward to further
contributions from you.

CCMAIL: emmanuelpescosta099@gmail.com

12 years agoMerge remote-tracking branch 'origin/KDE/4.10'
Luca Beltrame [Sat, 12 Jan 2013 09:19:44 +0000 (10:19 +0100)]
Merge remote-tracking branch 'origin/KDE/4.10'

12 years agoShow the file name as plain text in the file-metadata-tooltip
Emmanuel Pescosta [Fri, 11 Jan 2013 16:27:53 +0000 (17:27 +0100)]
Show the file name as plain text in the file-metadata-tooltip

FIXED-IN: 4.10
BUG: 262464
REVIEW: 108336

12 years agoMerge remote-tracking branch 'origin/KDE/4.10'
Frank Reininghaus [Fri, 11 Jan 2013 16:24:05 +0000 (17:24 +0100)]
Merge remote-tracking branch 'origin/KDE/4.10'

12 years agoSlightly reduce the tinting for selected icons and previews
Frank Reininghaus [Fri, 11 Jan 2013 16:12:34 +0000 (17:12 +0100)]
Slightly reduce the tinting for selected icons and previews

The intention of the tinting was to make it more obvious in icons view
which icons are selected. However, some icons and previews look quite
ugly with the current tinting value of 1.0 (i.e., the value passed to
KIconEffect::colorize). A slight reduction of this value to 0.8 makes
this a little less ugly. However, the real fix is to remove the tinting
altogether and find something better to indicate which items are
selected.

CCBUG: 309722

12 years agoOnly use parallel sorting when sorting by name
Frank Reininghaus [Fri, 11 Jan 2013 15:57:43 +0000 (16:57 +0100)]
Only use parallel sorting when sorting by name

The reentrant natural comparison of strings is the only really
expensive operation. Other comparison functions are much cheaper and
might not be reentrant at all. Therefore, we disable parallel sorting
when not sorting by name to prevent crashes and other unpleasant
behaviour.

BUG: 312679
FIXED-IN: 4.10
REVIEW: 108309

13 years agoFix information panel interpreting html tags
Kai Uwe Broulik [Wed, 9 Jan 2013 21:10:04 +0000 (22:10 +0100)]
Fix information panel interpreting html tags
Only fixes the most obvious file name, the other entries in the table
probably have to be fixed in the FileMetaDataWidget.
REVIEW: 108307
BUG: 262464
(cherry picked from commit 3d7d900d2830c71255ff8c02f5f7439224cd4122)

13 years agoFix information panel interpreting html tags
Kai Uwe Broulik [Wed, 9 Jan 2013 21:10:04 +0000 (22:10 +0100)]
Fix information panel interpreting html tags
Only fixes the most obvious file name, the other entries in the table
probably have to be fixed in the FileMetaDataWidget.
REVIEW: 108307
BUG: 262464

13 years agoShow the real audio file duration in additional informations
Emmanuel Pescosta [Wed, 9 Jan 2013 15:24:15 +0000 (16:24 +0100)]
Show the real audio file duration in additional informations

Big Thanks to Frank Reininghaus and Vishesh Handa!

BUG: 311794
REVIEW: 108281
FIXED-IN: 4.10

13 years agoShow the file name as plain text in the rename dialog
Emmanuel Pescosta [Wed, 9 Jan 2013 15:17:55 +0000 (16:17 +0100)]
Show the file name as plain text in the rename dialog

BUG: 312812
BUG: 262464
FIXED-IN: 4.10
REVIEW: 108291

13 years agoFix Bug 233335 - Wrong icons selected after pasting files and renaming them (because...
Emmanuel Pescosta [Wed, 9 Jan 2013 14:16:30 +0000 (15:16 +0100)]
Fix Bug 233335 - Wrong icons selected after pasting files and renaming them (because there exists items with it's  names

Fixed the "same" buggy behavior when dropping files/folders

Select also putted files (PUT operation - SimpleJob) - e.g. Paste content from clipboard

BUG: 233335
REVIEW: 107351

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 8 Jan 2013 21:33:48 +0000 (22:33 +0100)]
SVN_SILENT made messages (.desktop file)

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 8 Jan 2013 16:15:07 +0000 (17:15 +0100)]
SVN_SILENT made messages (.desktop file)

13 years agoMerge branch 'KDE/4.10'
Christophe Giboudeaux [Mon, 7 Jan 2013 17:22:28 +0000 (18:22 +0100)]
Merge branch 'KDE/4.10'

Conflicts:
dolphin/src/CMakeLists.txt

13 years agoFix build if one of the missing Nepomuk dependencies is missing
Christophe Giboudeaux [Mon, 7 Jan 2013 17:11:07 +0000 (18:11 +0100)]
Fix build if one of the missing Nepomuk dependencies is missing

13 years agoDolphin: Make Nepomuk Support Optional
Vishesh Handa [Mon, 7 Jan 2013 08:54:47 +0000 (14:24 +0530)]
Dolphin: Make Nepomuk Support Optional

Use the KFileMetadataWidget if Nepomuk is not present.

REVIEW: 108236

13 years agoautoupdate is on by default, remove unnecessary calls
David Faure [Fri, 4 Jan 2013 21:09:07 +0000 (22:09 +0100)]
autoupdate is on by default, remove unnecessary calls

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 4 Jan 2013 06:40:18 +0000 (07:40 +0100)]
SVN_SILENT made messages (.desktop file)

13 years agoFix crash when browsing bluetooth device.
Michael Jansen [Sun, 30 Dec 2012 19:56:59 +0000 (20:56 +0100)]
Fix crash when browsing bluetooth device.

When trying to browse a N900 it crashed here because pathA was empty. Which
lead to index = maxIndex beeing -1 and pathA.at(index) crashing.

Reorder the while condition to prevent that courtesy of tsdgeos.

(cherry picked from commit f0c90a47de3f59e4a98932ae6f0499921d9aa899)

13 years agoMerge branch 'KDE/4.10'
Christophe Giboudeaux [Wed, 2 Jan 2013 14:28:43 +0000 (15:28 +0100)]
Merge branch 'KDE/4.10'

Conflicts:
dolphin/src/CMakeLists.txt

13 years agoDolphin Information Panel: Use Nepomuk2::FileMetadataWidget
Vishesh Handa [Wed, 2 Jan 2013 11:04:18 +0000 (16:34 +0530)]
Dolphin Information Panel: Use Nepomuk2::FileMetadataWidget

Instead of the KFileMetadataWidget. The Nepomuk widget is just a copy of
the KFileMetadataWidget which utilizes Nepomuk2.

13 years agoFix crash when browsing bluetooth device.
Michael Jansen [Sun, 30 Dec 2012 19:56:59 +0000 (20:56 +0100)]
Fix crash when browsing bluetooth device.

When trying to browse a N900 it crashed here because pathA was empty. Which
lead to index = maxIndex beeing -1 and pathA.at(index) crashing.

Reorder the while condition to prevent that courtesy of tsdgeos.

13 years agoPort to feature_summary.
Christophe Giboudeaux [Sun, 30 Dec 2012 10:59:35 +0000 (11:59 +0100)]
Port to feature_summary.

13 years agoAutomatically set url location bar to non-editable when focus out
Weng Xuetian [Sat, 29 Dec 2012 17:49:51 +0000 (12:49 -0500)]
Automatically set url location bar to non-editable when focus out

BUG: 157593
REVIEW: 107748

13 years agoMerge remote-tracking branch 'origin/KDE/4.10'
Frank Reininghaus [Thu, 27 Dec 2012 21:21:45 +0000 (22:21 +0100)]
Merge remote-tracking branch 'origin/KDE/4.10'

13 years agoIncrease Dolphin version to 2.1.97 for the 2nd release candidate
Frank Reininghaus [Thu, 27 Dec 2012 21:20:03 +0000 (22:20 +0100)]
Increase Dolphin version to 2.1.97 for the 2nd release candidate

13 years agoMerge remote-tracking branch 'origin/KDE/4.9' into KDE/4.10
Frank Reininghaus [Thu, 27 Dec 2012 21:08:16 +0000 (22:08 +0100)]
Merge remote-tracking branch 'origin/KDE/4.9' into KDE/4.10

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Mon, 24 Dec 2012 07:54:15 +0000 (08:54 +0100)]
SVN_SILENT made messages (.desktop file)

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sun, 23 Dec 2012 06:50:02 +0000 (07:50 +0100)]
SVN_SILENT made messages (.desktop file)

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sat, 22 Dec 2012 11:09:08 +0000 (12:09 +0100)]
SVN_SILENT made messages (.desktop file)

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sat, 22 Dec 2012 07:05:56 +0000 (08:05 +0100)]
SVN_SILENT made messages (.desktop file)

13 years agoKIO::SlaveConfig::configData -> KProtocolManager::charsetFor for KF5.
Dawit Alemayehu [Thu, 22 Nov 2012 16:07:58 +0000 (11:07 -0500)]
KIO::SlaveConfig::configData -> KProtocolManager::charsetFor for KF5.

13 years agoFix Bug 311782 - Directory loading has been cancelled sometimes falsly triggered...
Emmanuel Pescosta [Wed, 19 Dec 2012 16:31:08 +0000 (17:31 +0100)]
Fix Bug 311782 - Directory loading has been cancelled sometimes falsly triggered which was introduced by commit 9dbc24fd647e0457d50ec901d33100c33967be68

BUG: 311782
REVIEW: 107787
FIXED-IN: 4.10

13 years agoFix Bug 311782 - Directory loading has been cancelled sometimes falsly triggered...
Emmanuel Pescosta [Wed, 19 Dec 2012 13:03:59 +0000 (14:03 +0100)]
Fix Bug 311782 - Directory loading has been cancelled sometimes falsly triggered which was introduced by commit 9dbc24fd647e0457d50ec901d33100c33967be68

BUG: 311782
REVIEW: 107787
FIXED-IN: 4.10

13 years agoFix Bug 287829 - inline rename multiple files does not honour
Emmanuel Pescosta [Mon, 17 Dec 2012 13:02:22 +0000 (14:02 +0100)]
Fix Bug 287829 - inline rename multiple files does not honour
 sort order

BUG: 287829
FIXED-IN: 4.9.5
REVIEW: 107718

13 years agoFix Bug 304299 - Dolphin launches multiple instances of a program when multiple files...
Emmanuel Pescosta [Thu, 13 Dec 2012 21:54:09 +0000 (22:54 +0100)]
Fix Bug 304299 - Dolphin launches multiple instances of a program when multiple files are selected

BUG: 304299
REVIEW: 107305

13 years agoMerge remote-tracking branch 'origin/KDE/4.9'
Frank Reininghaus [Thu, 13 Dec 2012 21:34:38 +0000 (22:34 +0100)]
Merge remote-tracking branch 'origin/KDE/4.9'

13 years agoAdd i18 call to untranslated string
Frank Reininghaus [Thu, 13 Dec 2012 21:24:34 +0000 (22:24 +0100)]
Add i18 call to untranslated string

The string was added in ecb2715ead30c2b9d483748074524322e5ecedcf.
According to the soft message freeze policy on techbase, it's OK to fix
previously untranslated strings. Translators, please tell me if I'm
wrong, then I'll remove the string and the surrounding code and re-add
it to master later for KDE 4.11. Sorry for the trouble.

Thanks to David Faure for pointing out this mistake!

CCMAIL: kde-i18n-doc@kde.org

13 years agoFix Bug 240820 - [Usability Bug] Handling Bad Filenames, dolphin gives unclear error...
Emmanuel Pescosta [Wed, 12 Dec 2012 21:57:20 +0000 (22:57 +0100)]
Fix Bug 240820 - [Usability Bug] Handling Bad Filenames, dolphin gives unclear error message
Fix Bug 308597 - Regression: Renaming a file/folder to something that contains a "/" will result in several message boxes

Uses the same solution as Dolphin-Rename-Dialog does. (KIO::encodeFileName)

BUG: 240820
BUG: 308597
REVIEW: 107681
FIXED-IN: 4.9.5

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Mon, 10 Dec 2012 10:27:21 +0000 (11:27 +0100)]
SVN_SILENT made messages (.desktop file)

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Mon, 10 Dec 2012 06:32:47 +0000 (07:32 +0100)]
SVN_SILENT made messages (.desktop file)

13 years agoCorrect value for autostart setting of Service-nepomukfileindexer, part2
Frank Reininghaus [Fri, 7 Dec 2012 21:38:57 +0000 (22:38 +0100)]
Correct value for autostart setting of Service-nepomukfileindexer, part2

After 530c743a89bb5366ff9b6f8be1d7a37f23b46880, this fixes the other
places where the incorrect default value 'false' was used.

Thanks to Luc Menut for noticing this problem!

CCBUG: lmenut@free.fr

13 years agoMerge remote-tracking branch 'origin/KDE/4.9'
Frank Reininghaus [Fri, 7 Dec 2012 21:31:24 +0000 (22:31 +0100)]
Merge remote-tracking branch 'origin/KDE/4.9'

13 years agoUpdate Dolphin version to 2.1.95 for KDE 4.10 RC 1
Frank Reininghaus [Fri, 7 Dec 2012 21:30:22 +0000 (22:30 +0100)]
Update Dolphin version to 2.1.95 for KDE 4.10 RC 1

13 years agoFix keyboard focus handling after renaming items inline
Frank Reininghaus [Fri, 7 Dec 2012 21:15:32 +0000 (22:15 +0100)]
Fix keyboard focus handling after renaming items inline

This reverts 951cb9c35d7a9ef814b3de5b359915968da9b881 and
3143acc084d54d43df469b54762bfa10a7050a9f, and fixes the crash caused by
nested event loops by delaying the deletion of the KItemListRoleEditor
until the next item is renamed inline.

BUG: 311206
FIXED-IN: 4.9.5
REVIEW: 107606

13 years agoFix incorrect usage of list iterators
Frank Reininghaus [Thu, 6 Dec 2012 18:43:11 +0000 (19:43 +0100)]
Fix incorrect usage of list iterators

The problem was that we erased an iterator from the list and then
incremented it. This can lead to problems (namely, random crashes) if
the iterator pointed to the last list element.

Thanks to Sandro Mani for testing the patch!

BUG: 311246
FIXED-IN: 4.9.5

13 years agoAdded curly brackets around DolphinApplication creation and execution, to make sure...
Hugo Pereira Da Costa [Wed, 5 Dec 2012 20:44:06 +0000 (21:44 +0100)]
Added curly brackets around DolphinApplication creation and execution, to make sure it is deleted before "return 0;" is
called. This might prevent random crashes due to the de-allocation chain in Qt at exit.
CCBUG: 311092

13 years agoMerge remote-tracking branch 'origin/KDE/4.9'
David Faure [Wed, 28 Nov 2012 15:40:07 +0000 (16:40 +0100)]
Merge remote-tracking branch 'origin/KDE/4.9'

13 years agoUse correct value for autostart setting of Service-nepomukfileindexer
Luc Menut [Tue, 27 Nov 2012 16:32:00 +0000 (17:32 +0100)]
Use correct value for autostart setting of Service-nepomukfileindexer

Fixes the problem that the "Recently accessed" entries in the Places
Panel might not be shown when using the default setup.

BUG: 310770
FIXED-IN: 4.10 Beta 2
REVIEW: 107464