]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
11 years agoMerge branch 'master' into frameworks
Luca Beltrame [Sun, 3 Aug 2014 16:49:43 +0000 (18:49 +0200)]
Merge branch 'master' into frameworks

Conflicts:
dolphin/src/panels/places/placesitemmodel.cpp
kdepasswd/kcm/CMakeLists.txt [deleted in frameworks]
kdepasswd/kcm/main.cpp [deleted in frameworks]

11 years agoMerge branch 'KDE/4.14'
Frank Reininghaus [Sun, 3 Aug 2014 08:55:58 +0000 (10:55 +0200)]
Merge branch 'KDE/4.14'

11 years agoFix warning on launch "QPixmap::scaled: Pixmap is a null pixmap"
Michael Reeves [Sun, 3 Aug 2014 08:48:21 +0000 (10:48 +0200)]
Fix warning on launch "QPixmap::scaled: Pixmap is a null pixmap"

If Dolphin is launched with the information panel on and set to display
previews, PixmapViewer::paintEvent is called three times before any
pixmap is set. Each time the above warning message is output.

REVIEW: 119553
FIXED-IN: 4.14.0

11 years agoSVN_SILENT made messages (.desktop file)
l10n daemon script [Sun, 3 Aug 2014 07:30:09 +0000 (07:30 +0000)]
SVN_SILENT made messages (.desktop file)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sun, 3 Aug 2014 05:46:42 +0000 (05:46 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (.desktop file)
l10n daemon script [Sun, 3 Aug 2014 04:28:42 +0000 (04:28 +0000)]
SVN_SILENT made messages (.desktop file)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sun, 3 Aug 2014 01:38:10 +0000 (01:38 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sat, 2 Aug 2014 05:39:42 +0000 (05:39 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sat, 2 Aug 2014 01:34:38 +0000 (01:34 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoActually the include was unused, remove it
Luca Beltrame [Fri, 1 Aug 2014 09:26:51 +0000 (11:26 +0200)]
Actually the include was unused, remove it

11 years agoAttempt to fix build (try 2)
Luca Beltrame [Fri, 1 Aug 2014 09:22:17 +0000 (11:22 +0200)]
Attempt to fix build (try 2)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Fri, 1 Aug 2014 01:49:50 +0000 (01:49 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoClean up KAction leftovers.
Arnold Dumas [Thu, 31 Jul 2014 18:06:17 +0000 (20:06 +0200)]
Clean up KAction leftovers.

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Thu, 31 Jul 2014 05:55:50 +0000 (05:55 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Thu, 31 Jul 2014 01:40:02 +0000 (01:40 +0000)]
SVN_SILENT made messages (after extraction)

11 years agos/kcmshell4/kcmshell5
Lukáš Tinkl [Thu, 31 Jul 2014 00:51:27 +0000 (02:51 +0200)]
s/kcmshell4/kcmshell5

11 years agoPrevent multiple connections between sender and receiver
Arjun AK [Wed, 30 Jul 2014 12:56:39 +0000 (18:26 +0530)]
Prevent multiple connections between sender and receiver

Use a Qt::uniqueConnection so that only one connection exists between the sender and receiver.

REVIEW: 119532

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sun, 27 Jul 2014 05:45:07 +0000 (05:45 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (.desktop file)
l10n daemon script [Fri, 25 Jul 2014 05:22:21 +0000 (05:22 +0000)]
SVN_SILENT made messages (.desktop file)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Fri, 25 Jul 2014 01:49:32 +0000 (01:49 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (.desktop file)
l10n daemon script [Thu, 24 Jul 2014 04:37:28 +0000 (04:37 +0000)]
SVN_SILENT made messages (.desktop file)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Thu, 24 Jul 2014 01:34:11 +0000 (01:34 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoFix build
Luca Beltrame [Tue, 22 Jul 2014 14:15:25 +0000 (16:15 +0200)]
Fix build

11 years agoMerge branch 'master' into frameworks
Luca Beltrame [Tue, 22 Jul 2014 13:58:03 +0000 (15:58 +0200)]
Merge branch 'master' into frameworks

11 years agomake CTRL+SHIFT+T reopen last closed tab
Arjun AK [Tue, 22 Jul 2014 12:01:49 +0000 (17:31 +0530)]
make CTRL+SHIFT+T reopen last closed tab

BUG: 336818
FEATURE: 118994

11 years agoMerge branch 'master' into frameworks
Luca Beltrame [Mon, 21 Jul 2014 19:20:05 +0000 (21:20 +0200)]
Merge branch 'master' into frameworks

11 years agoMerge remote-tracking branch 'origin/KDE/4.14'
Christoph Feck [Mon, 21 Jul 2014 19:12:52 +0000 (21:12 +0200)]
Merge remote-tracking branch 'origin/KDE/4.14'

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Mon, 21 Jul 2014 05:43:56 +0000 (05:43 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sat, 19 Jul 2014 01:34:04 +0000 (01:34 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoinstall rc file to KXMLGUI_INSTALL_DIR
Montel Laurent [Fri, 18 Jul 2014 07:26:12 +0000 (09:26 +0200)]
install rc file to KXMLGUI_INSTALL_DIR

11 years agoUse xi18n when text has markup
Montel Laurent [Wed, 16 Jul 2014 11:26:38 +0000 (13:26 +0200)]
Use xi18n when text has markup

11 years agoSVN_SILENT made messages (.desktop file)
l10n daemon script [Wed, 16 Jul 2014 08:22:33 +0000 (08:22 +0000)]
SVN_SILENT made messages (.desktop file)

11 years agoMerge branch 'master' into frameworks
Luca Beltrame [Wed, 16 Jul 2014 08:13:57 +0000 (10:13 +0200)]
Merge branch 'master' into frameworks

Conflicts:
kdepasswd/kcm/kcm_useraccount.desktop [deleted in frameworks branch]
plasma/applets/folderview/plasma-applet-folderview.desktop [deleted in frameworks branch]

11 years agoMerge branch 'KDE/4.14'
Frank Reininghaus [Wed, 16 Jul 2014 07:16:24 +0000 (09:16 +0200)]
Merge branch 'KDE/4.14'

11 years agoFix regression concerning the "Places" selector in the location bar
Frank Reininghaus [Wed, 16 Jul 2014 07:12:16 +0000 (09:12 +0200)]
Fix regression concerning the "Places" selector in the location bar

This commit ensures that the selector is visible in all location bars
if and only if the Places Panel is hidden. It fixes a regression caused
by commit 6a98d83312ff2b14ab878e1427bbace3b683eacc.

BUG: 337389
FIXED-IN: 4.14.0
REVIEW: 119238

11 years agoSVN_SILENT made messages (.desktop file)
l10n daemon script [Wed, 16 Jul 2014 04:52:24 +0000 (04:52 +0000)]
SVN_SILENT made messages (.desktop file)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Wed, 16 Jul 2014 01:50:43 +0000 (01:50 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoMerge branch 'master' into frameworks
Emmanuel Pescosta [Thu, 10 Jul 2014 20:49:05 +0000 (22:49 +0200)]
Merge branch 'master' into frameworks

Conflicts:
dolphin/src/dolphinmainwindow.cpp
dolphin/src/dolphinviewcontainer.cpp

11 years agoImplemented (QTabBar based) DolphinTabBar class to encapsulate the tab bar handling...
Emmanuel Pescosta [Tue, 8 Jul 2014 17:38:18 +0000 (19:38 +0200)]
Implemented (QTabBar based) DolphinTabBar class to encapsulate the tab bar handling from DolphinMainWindow.

REVIEW: 118969

11 years agoAvoid opening unused tabs which are closed again after startup has finished (when...
Emmanuel Pescosta [Tue, 8 Jul 2014 17:16:17 +0000 (19:16 +0200)]
Avoid opening unused tabs which are closed again after startup has finished (when directory/file urls are given)

Instead of always opening a new tab with the home url and closing it again when directory/file urls are passed on,
we now use the given directories/files directly to open new tabs on startup.

Makes the code easier and we can reuse openDirectories/openFiles in future (if needed).

REVIEW: 118966

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sun, 6 Jul 2014 01:33:37 +0000 (01:33 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sat, 5 Jul 2014 01:36:55 +0000 (01:36 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoImplemented DolphinTabPage class to encapsulate the split view handling from DolphinM...
Emmanuel Pescosta [Wed, 2 Jul 2014 13:30:37 +0000 (15:30 +0200)]
Implemented DolphinTabPage class to encapsulate the split view handling from DolphinMainWindow.

The signal activeViewUrlChanged in DolphinTabPage is currently unused, but we need it later when
we implement the tab widget and tab bar.

DolphinTabPage has saveState/restoreState which are using a QByteArray instead of the KConfigGroup to
be more generic.

REVIEW: 118964

11 years agoMerge branch 'master' into frameworks
Luca Beltrame [Fri, 4 Jul 2014 05:22:29 +0000 (07:22 +0200)]
Merge branch 'master' into frameworks

11 years agoImprove drawing selected items in Compact/Details View and Places Panel
Frank Reininghaus [Thu, 3 Jul 2014 22:49:31 +0000 (00:49 +0200)]
Improve drawing selected items in Compact/Details View and Places Panel

This commit removes the icon tinting for the selected item in Compact
and Details View, and extends the selection rectangle such that it
includes the icon area as well. The icon tinting can be disturbing, and
having a selection rectangle that only includes the text can look a bit
strange, especially in the Places Panel.

BUG: 304643
REVIEW: 119018
FIXED-IN: 4.14.0

11 years agoRemove current item highlighting in the Places Panel
Frank Reininghaus [Fri, 27 Jun 2014 11:02:12 +0000 (13:02 +0200)]
Remove current item highlighting in the Places Panel

In the Places Panel, there is always exactly one selected item, which is
equal to the current item. Since the selected item is highlighted by
drawing its background in a different color, it is not really necessary
to highlight additionally that it is the current item.

This is achieved by removing the calls to
KItemListWidget::setCurrent(true) from KItemListView. The "current"
information in the widget is only used for deciding if the "current item
highlighting", like an underline in Oxygen, should be drawn.

The motivation for this change is that I have seem some complaints about
the "current item" highlighting, which can be even more distracting with
non-Oxygen styles.

REVIEW: 119019

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Thu, 3 Jul 2014 01:30:12 +0000 (01:30 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoFix typo: chnage -> change
Arjun AK [Wed, 2 Jul 2014 10:47:18 +0000 (16:17 +0530)]
Fix typo: chnage -> change

REVIEW: 119084
GIT_SILENT

11 years agoAdd support for high-precision touchpad scrolling
Kai Uwe Broulik [Mon, 30 Jun 2014 11:56:45 +0000 (13:56 +0200)]
Add support for high-precision touchpad scrolling

REVIEW: 119001

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Mon, 30 Jun 2014 01:42:40 +0000 (01:42 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoKFileItemModelBenchmark is a manual test
Christophe Giboudeaux [Sun, 29 Jun 2014 19:36:55 +0000 (21:36 +0200)]
KFileItemModelBenchmark is a manual test

11 years agoMerge remote-tracking branch 'origin/master' into frameworks
Frank Reininghaus [Sun, 29 Jun 2014 18:26:17 +0000 (20:26 +0200)]
Merge remote-tracking branch 'origin/master' into frameworks

Conflicts:
dolphin/src/dolphinmainwindow.cpp
dolphin/src/dolphinmainwindow.h

11 years agoMove docs.
Christophe Giboudeaux [Sun, 29 Jun 2014 15:51:48 +0000 (17:51 +0200)]
Move docs.

11 years agoRemove the automoc noise
Christophe Giboudeaux [Sun, 29 Jun 2014 08:36:32 +0000 (10:36 +0200)]
Remove the automoc noise

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sun, 29 Jun 2014 01:36:02 +0000 (01:36 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoReenable tests.
Christophe Giboudeaux [Sun, 29 Jun 2014 00:07:41 +0000 (02:07 +0200)]
Reenable tests.

11 years agoKF5ify Dolphin.
Christophe Giboudeaux [Sat, 28 Jun 2014 22:49:11 +0000 (00:49 +0200)]
KF5ify Dolphin.

11 years agoCreate KF5::Konq
Christophe Giboudeaux [Sat, 28 Jun 2014 20:17:55 +0000 (22:17 +0200)]
Create KF5::Konq

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sat, 28 Jun 2014 01:32:56 +0000 (01:32 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoRevert "Fix build"
Christophe Giboudeaux [Fri, 27 Jun 2014 16:05:36 +0000 (18:05 +0200)]
Revert "Fix build"

This reverts commit 780e76f35bca0ced37a691a50367cf705388cc38.

Update your kfilemetadata/baloo/baloo-widgets builds instead.

11 years agoFix build
Rohan Garg [Fri, 27 Jun 2014 14:58:29 +0000 (16:58 +0200)]
Fix build

11 years agoFix build.
Christophe Giboudeaux [Fri, 27 Jun 2014 08:34:57 +0000 (10:34 +0200)]
Fix build.

11 years agoRename the Baloo modules.
Christophe Giboudeaux [Fri, 27 Jun 2014 08:08:24 +0000 (10:08 +0200)]
Rename the Baloo modules.

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Fri, 27 Jun 2014 01:41:26 +0000 (01:41 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoprevent goBack, goForward, goHome and goUp from being called twice
Arjun AK [Wed, 25 Jun 2014 13:23:05 +0000 (18:53 +0530)]
prevent goBack, goForward, goHome and goUp from being called twice

REVIEW: 118782

11 years agoAdd AppStream meta data file (imported from https://github.com/ximion/kde-appstream...
Emmanuel Pescosta [Thu, 12 Jun 2014 19:25:17 +0000 (21:25 +0200)]
Add AppStream meta data file (imported from https://github.com/ximion/kde-appstream-metadata-templates/blob/master/apps/dolphin.appdata.xml)

Thanks to Matthias Klumpp for providing this file!

REVIEW: 118701

11 years agoKde-baseapps frameworks - replace generic soversion.
Scarlett Clark [Fri, 20 Jun 2014 20:08:48 +0000 (13:08 -0700)]
Kde-baseapps frameworks - replace generic soversion.

Review:118851

11 years agoi18n fixes
Lukáš Tinkl [Fri, 20 Jun 2014 19:12:34 +0000 (21:12 +0200)]
i18n fixes

11 years agokde-baseapps frameworks dolphin with snapshot frameworks branch baloo/baloo-widgets...
Scarlett Clark [Fri, 20 Jun 2014 11:18:58 +0000 (04:18 -0700)]
kde-baseapps frameworks dolphin with snapshot frameworks branch baloo/baloo-widgets path fixes.

11 years agoImplemented DolphinRecentTabsMenu to encapsulate the recent
Emmanuel Pescosta [Thu, 19 Jun 2014 20:04:36 +0000 (22:04 +0200)]
Implemented DolphinRecentTabsMenu to encapsulate the recent
tabs menu related code from DolphinMainWindow in a new class.

The DolphinRecentTabsMenu remembers the tab configuration if a
tab has been closed.

REVIEW: 118805

11 years agoImplement TODO concerning changed roles
Frank Reininghaus [Thu, 19 Jun 2014 18:35:22 +0000 (20:35 +0200)]
Implement TODO concerning changed roles

When emitting the itemsChanged signal in KFileItemModel::setRoles,
use the changed roles in the argument of the signal.

A warning message which was related to this issue was removed in
7a83252e0d919d8408e0808ccbd7b401d57444d3

REVIEW: 118815

11 years agoMerge branch 'KDE/4.13'
Frank Reininghaus [Thu, 19 Jun 2014 18:32:30 +0000 (20:32 +0200)]
Merge branch 'KDE/4.13'

11 years agoRemove confusing warning message
Frank Reininghaus [Thu, 19 Jun 2014 18:27:58 +0000 (20:27 +0200)]
Remove confusing warning message

The message
"TODO: Emitting itemsChanged() with no information what has changed!"
is not helpful for the user.

The implementation of the TODO will be done in master, see
https://git.reviewboard.kde.org/r/118815/

CCBUG: 336174

11 years agoMerge remote-tracking branch 'origin/master' into frameworks
Frank Reininghaus [Thu, 12 Jun 2014 06:51:50 +0000 (08:51 +0200)]
Merge remote-tracking branch 'origin/master' into frameworks

Conflicts:
dolphin/src/dolphincontextmenu.cpp
dolphin/src/panels/folders/treeviewcontextmenu.cpp

11 years agoDo not crash if QApplication::clipboard()->mimeData() is a null pointer
Frank Reininghaus [Thu, 12 Jun 2014 06:37:11 +0000 (08:37 +0200)]
Do not crash if QApplication::clipboard()->mimeData() is a null pointer

This removes the remaining unchecked accesses to the clipboard mime
data after commit 7828b057da0491f1b08bfaec681067e195d7b6ca. According
to a bug report, it can be a null pointer on Wayland.

BUG: 335053
REVIEW: 118649

11 years agoSVN_SILENT made messages (.desktop file)
l10n daemon script [Mon, 9 Jun 2014 04:33:35 +0000 (04:33 +0000)]
SVN_SILENT made messages (.desktop file)

11 years agoMake the settings dialog work in the frameworks branch
Frank Reininghaus [Thu, 5 Jun 2014 22:51:15 +0000 (00:51 +0200)]
Make the settings dialog work in the frameworks branch

The KF5 version of KPageDialog has no virtual slot
"slotButtonClicked(int button)". Its kdelibs 4.x counterpart had such
a slot, which was connected automatically to the corresponding signal.

This slot was overriden by

DolphinSettingsDialog::slotButtonClicked(int button)

which was responsible for applying the changed setting and restoring
the default values if the corresponding button was clicked.

The lack of the buttonClicked(int) signal and the corresponding slot
caused the problem that clicking a button in the settings dialog had no
effect.

This patch makes the functions applySettings() and restoreDefaults()
functions slots, and connects them directly to the "clicked" signal of
the corresponding buttons.

BUG: 335709
REVIEW: 118576

11 years agoMerge remote-tracking branch 'origin/master' into frameworks
Frank Reininghaus [Thu, 5 Jun 2014 06:57:31 +0000 (08:57 +0200)]
Merge remote-tracking branch 'origin/master' into frameworks

11 years agoMerge remote-tracking branch 'origin/KDE/4.13'
Frank Reininghaus [Thu, 5 Jun 2014 06:54:06 +0000 (08:54 +0200)]
Merge remote-tracking branch 'origin/KDE/4.13'

11 years agoSeparate width and height info in the layouting code
Frank Reininghaus [Thu, 5 Jun 2014 06:50:52 +0000 (08:50 +0200)]
Separate width and height info in the layouting code

By separating the width and height info, we can save some unnecessary
overhead in terms of memory and CPU cycles, and make the calculation of
the height of a row (or the width of a column in Compact View) a bit
simpler.

To achieve this, this patch extends the concept of "logical rows"
(which are actually columns in Compact View) to "logical width" and
"logical height" (which is the actual height and width, respectively, in
 Compact View). The distinction between rows/columns and "logical"
rows/columns may be a bit confusing, but the confusion is already in the
current code, and I hope that it will be mitigated a bit by prefixing
the corresponding variables with "logical".

REVIEW: 118454

11 years agoChange the Dolphin version in frameworks to 4.60
Frank Reininghaus [Wed, 4 Jun 2014 20:03:08 +0000 (22:03 +0200)]
Change the Dolphin version in frameworks to 4.60

Since the KF5 libraries and the applications will not have a
synchronized release schedule any more, it does not make sense to
continue using KDE_VERSION_STRING as the Dolphin version.

11 years agoMake Dolphin windows with multiple tabs closable
Frank Reininghaus [Wed, 4 Jun 2014 19:56:36 +0000 (21:56 +0200)]
Make Dolphin windows with multiple tabs closable

The return type and return values of KMessageBox::createKMessageBox()
have changed in KF5. We have to adjust the code
in DolphinMainWindow::closeEvent(QCloseEvent* event) in order to make
windows with multiple tabs closable.

BUG: 335732
REVIEW: 118508

11 years agoFix possible crash if a kioslave adds multiple items with the same URL
Frank Reininghaus [Wed, 4 Jun 2014 19:48:19 +0000 (21:48 +0200)]
Fix possible crash if a kioslave adds multiple items with the same URL

When opening the URL "man:", there are multiple items with the same
name (for example, _exit is shown twice here). When opening a new tab,
the kioslave reports some items as deleted (I have not quite understood
why). The problem is that it reports some of the duplicate items twice
in the list of deleted items. This confused KFileItemModel and
corrupted the internal data structures, and finally, caused a crash.

The fix is to remove all duplicates from
KItemRangeList::fromSortedContainer(const Container& container).

New unit tests included.

BUG: 335672
REVIEW: 118507
FIXED-IN: 4.13.2

11 years agoMerge remote-tracking branch 'origin/master' into frameworks
Frank Reininghaus [Sun, 1 Jun 2014 12:52:56 +0000 (14:52 +0200)]
Merge remote-tracking branch 'origin/master' into frameworks

Conflicts:
lib/konq/konq_operations.cpp

11 years agoMerge remote-tracking branch 'origin/KDE/4.13'
Frank Reininghaus [Sun, 1 Jun 2014 12:48:30 +0000 (14:48 +0200)]
Merge remote-tracking branch 'origin/KDE/4.13'

11 years agoFix Bug 334696 - File/directory icons/names move to the right when opening/refreshing...
Emmanuel Pescosta [Sun, 25 May 2014 16:30:37 +0000 (18:30 +0200)]
Fix Bug 334696 - File/directory icons/names move to the right when opening/refreshing contents of Dolphin

Take the scrollbar spacing into account.

BUG: 334696
REVIEW: 118319
FIXED-IN: 4.13.2

11 years agoUse "selectionToggleRect().contains(pos)" instead
Emmanuel Pescosta [Sun, 25 May 2014 16:55:56 +0000 (18:55 +0200)]
Use "selectionToggleRect().contains(pos)" instead
of "m_selectionToggle->contains(pos)" in
KItemListWidget::setHoverPosition(const QPointF& pos).

This wrong check was accidentally introduced by
commit 24326d447358f0dbfc18963743207d4a3d4f1c9e

BUG: 299328
REVIEW: 118320
FIXED-IN: 4.13.2

11 years agoMerge branch 'master' into frameworks
Emmanuel Pescosta [Sun, 25 May 2014 12:43:18 +0000 (14:43 +0200)]
Merge branch 'master' into frameworks

Conflicts:
dolphin/src/statusbar/statusbarspaceinfo.cpp

11 years agoKeep the "free space" information updated in all visible views
Frank Reininghaus [Thu, 22 May 2014 16:42:17 +0000 (18:42 +0200)]
Keep the "free space" information updated in all visible views

The old code would watch the free space on a mount point, i.e.,
determine the free space again, in 10-second intervals, only until the
view became invisible once (even if it was invisible only for a very
short moment, i.e., while splitting the view).

This commit ensures that the mount point is watched again as soon as
the corresponding view becomes visible again.

Moreover, the object that watches the free space for a mount point is
shared among all views that show URLs that belong to this mount point.
To achieve this, there is a central cache which can be used to obtain
an existing MountPointObserver for a certain path. If necessary, a new
MountPointObserver is created and added to the cache.

The MountPointObserver is removed from the cache and destroyed only if
no views use it any more, and no new users appear until the next update
(which happens every 10 seconds). This prevents that the free space is
measured repeatedly when changing the current directory on the same
mount point.

Many thanks to Emmanuel Pescosta for the initial ideas to factor out
the "free space" code and to establish a central storage for the
"observer" objects, and for providing many good suggestions how to
improve the code!

BUG: 327708
REVIEW: 118208
FIXED-IN: 4.14.0

11 years agoMerge remote-tracking branch 'origin/master' into frameworks
Frank Reininghaus [Wed, 21 May 2014 20:49:40 +0000 (22:49 +0200)]
Merge remote-tracking branch 'origin/master' into frameworks

Conflicts:
dolphin/src/search/filenamesearchprotocol.cpp

11 years agoMerge remote-tracking branch 'origin/KDE/4.13'
Frank Reininghaus [Wed, 21 May 2014 20:44:48 +0000 (22:44 +0200)]
Merge remote-tracking branch 'origin/KDE/4.13'

11 years agoRemove debug output
Frank Reininghaus [Tue, 20 May 2014 06:39:56 +0000 (08:39 +0200)]
Remove debug output

This debug output was pushed accidentally in commit
c52ba9446b05e6bc7f890daac406659a9c37c562

11 years agoDo not lose translation of Places items if a Dolphin window is closed
Frank Reininghaus [Tue, 20 May 2014 06:31:31 +0000 (08:31 +0200)]
Do not lose translation of Places items if a Dolphin window is closed

If the "Places" are updated outside the current Dolphin process,
PlacesItemModel::updateBookmarks() is called, which invokes
PlacesItem::setBookmark(const KBookmark& bookmark) for each item. This
commit ensures that the correct translation is used for system
bookmarks like "Root", "Network", etc.

Without this patch, all Places entries in the remaining Dolphin windows
would switch to US English if one of multiple windows is closed.

See http://lists.kde.org/?t=139660468400004&r=1&w=2 for details.

BUG: 334999
REVIEW: 118207
FIXED-IN: 4.13.2

11 years agoFix build when baloo is found
Hrvoje Senjan [Wed, 14 May 2014 16:05:28 +0000 (18:05 +0200)]
Fix build when baloo is found

11 years agoAdjust to changes in KAboutData
Hrvoje Senjan [Wed, 14 May 2014 16:04:38 +0000 (18:04 +0200)]
Adjust to changes in KAboutData

11 years agoMerge branch 'KDE/4.13'
Frank Reininghaus [Tue, 13 May 2014 17:14:25 +0000 (19:14 +0200)]
Merge branch 'KDE/4.13'

11 years agoStop listing children of collapsed folders
Frank Reininghaus [Tue, 13 May 2014 17:06:42 +0000 (19:06 +0200)]
Stop listing children of collapsed folders

Before this patch, KDirLister would continue listing any children of
collapsed folders, even though the children themselves were removed
from the model. This could lead to new items being inserted as
top-level items at some later point, because no parent could be found
for them. This inconsistent model state could lead to a crash later on.

Many thanks to Martin Koller for helping to debug this problem!

BUG: 332102
REVIEW: 118055
FIXED-IN: 4.13.2

11 years agoEnsure that all children of a collapsed folder are removed
Frank Reininghaus [Tue, 13 May 2014 17:04:09 +0000 (19:04 +0200)]
Ensure that all children of a collapsed folder are removed

Before this patch, any (direct or indirect) children that might have
been in m_pendingItemsToInsert, i.e., that were not inserted into the
model yet because KDirLister had not finished listing the directory
yet, would be added to the model later without a proper parent. This
could cause a crash later on.

CCBUG: 332102
FIXED-IN: 4.13.2

11 years agoAllow the widget in the "Additional Information" dialog to resize
Uzair Shamim [Tue, 13 May 2014 16:56:28 +0000 (18:56 +0200)]
Allow the widget in the "Additional Information" dialog to resize

BUG: 334355
REVIEW: 118088
FIXED-IN: 4.13.2

11 years agoMerge remote-tracking branch 'origin/master' into frameworks
Frank Reininghaus [Tue, 13 May 2014 16:42:05 +0000 (18:42 +0200)]
Merge remote-tracking branch 'origin/master' into frameworks

Since the master branch had never been merged into frameworks since the
creation of the frameworks branch, I had to fix a couple of merge
conflicts and make another change in order to make it build - I hope I
did not get anything wrong.

We should probably merge master into frameworks on a regular basis from
now on.

CCMAIL:kfm-devel@kde.org

Conflicts:
dolphin/src/dolphinmainwindow.cpp
dolphin/src/search/dolphinfacetswidget.cpp
dolphin/src/statusbar/dolphinstatusbar.cpp
dolphin/src/views/dolphinview.cpp