]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
11 years agoMerge branch 'master' of git://anongit.kde.org/kde-baseapps
Emmanuel Pescosta [Thu, 14 Aug 2014 15:57:44 +0000 (17:57 +0200)]
Merge branch 'master' of git://anongit.kde.org/kde-baseapps

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Thu, 14 Aug 2014 01:41:42 +0000 (01:41 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoReact on the redirection signal from DolphinView to properly update the tab and windo...
Emmanuel Pescosta [Wed, 13 Aug 2014 20:06:28 +0000 (22:06 +0200)]
React on the redirection signal from DolphinView to properly update the tab and window titles.

REVIEW: 119697
BUG: 305721

11 years agoUse DolphinTabPage saveState/restoreState to remember and re-open closed tabs.
Emmanuel Pescosta [Sun, 10 Aug 2014 18:36:44 +0000 (20:36 +0200)]
Use DolphinTabPage saveState/restoreState to remember and re-open closed tabs.

REVIEW: 118968

11 years agoPort from KonqMimeData to KIO::isClipboardDataCut/setClipboardDataCut
David Faure [Wed, 13 Aug 2014 16:27:09 +0000 (18:27 +0200)]
Port from KonqMimeData to KIO::isClipboardDataCut/setClipboardDataCut

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Wed, 13 Aug 2014 05:58:14 +0000 (05:58 +0000)]
SVN_SILENT made messages (after extraction)

11 years agoMerge branch 'KDE/4.14'
Frank Reininghaus [Tue, 12 Aug 2014 07:23:24 +0000 (09:23 +0200)]
Merge branch 'KDE/4.14'

11 years agoAlways clear DolphinView's m_currentItemUrl member in updateViewState()
Frank Reininghaus [Tue, 12 Aug 2014 07:17:41 +0000 (09:17 +0200)]
Always clear DolphinView's m_currentItemUrl member in updateViewState()

Before this patch, we still kept the URL in m_currentItemUrl if the URL
was not found in the model. This could cause problems the next time
updateViewState() was called, because the current index would then be
set to 0, which could cause other issues.

For example, all items between the first item in the view and a folder
which was expanded in Details View could be selected.

In principle, it is possible that updateViewState() is called multiple
times if many large files are being pasted in the view, but since the
item which should be made the current item (and which the view should
be scrolled to) should always be the first pasted item, this change
will most likely not cause any other problems.

BUG: 329377
REVIEW: 119703
FIXED-IN: 4.14.0

11 years agoFix crash when restoring a session stored with Dolphin 4.13 or earlier
Frank Reininghaus [Tue, 12 Aug 2014 07:08:30 +0000 (09:08 +0200)]
Fix crash when restoring a session stored with Dolphin 4.13 or earlier

Since DolphinTabPage::saveState() and
DolphinTabPage::restoreState(const QByteArray& state) save and restore
the state of each tab in a different format than DolphinMainWindow did
before the refactoring, we can run into problems: the first time a user
logs into a session that has Dolphin 4.14, Dolphin might read session
data that does not contain the QByteArray that DolphinTabPage wants to
read the data from.

In restoreState, isSplitViewEnabled will thus have the value false, and
no secondary view will be created. Later on, m_primaryViewActive will
also be set to false, but the else branch of the following
"if (m_primaryViewActive)" then tries to activate the secondary view,
which does not exist -> we get a crash.

The easiest solution is to not restore the tab state if no session data
in the new format is found.

BUG: 338187
REVIEW: 119718
FIXED-IN: 4.14.0

11 years agoPort accessibility to Qt 5
Frederik Gladhorn [Wed, 23 Jul 2014 10:08:33 +0000 (12:08 +0200)]
Port accessibility to Qt 5

REVIEW: 119428

11 years agoImplemented DolphinTabWidget class to encapsulate the tab handling from DolphinMainWi...
Emmanuel Pescosta [Sun, 10 Aug 2014 16:52:06 +0000 (18:52 +0200)]
Implemented DolphinTabWidget class to encapsulate the tab handling from DolphinMainWindow.

REVIEW: 119115

11 years agoSVN_SILENT made messages (after extraction)
l10n daemon script [Sun, 10 Aug 2014 05:48:43 +0000 (05:48 +0000)]
SVN_SILENT made messages (after extraction)

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

11 years agoFix wrong text eliding in some corner cases.
Emmanuel Pescosta [Mon, 4 Aug 2014 17:43:07 +0000 (19:43 +0200)]
Fix wrong text eliding in some corner cases.

BUG: 337104
FIXED-IN: 4.14.0
REVIEW: 119546

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