]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
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

11 years agoKF5::KDE4Support -> KF5::KDELibs4Support
Alex Richardson [Mon, 5 May 2014 21:11:12 +0000 (23:11 +0200)]
KF5::KDE4Support -> KF5::KDELibs4Support

11 years agoFix build of tests
Alex Richardson [Mon, 5 May 2014 21:04:42 +0000 (23:04 +0200)]
Fix build of tests

This is the last commit for review 117395

REVIEW: 117395

11 years agoAllow compiling with the frameworks branches of Baloo
Alex Richardson [Wed, 30 Apr 2014 18:35:23 +0000 (20:35 +0200)]
Allow compiling with the frameworks branches of Baloo

11 years agoKIcon -> QIcon and KMimeType::iconNameForUrl() -> KIO::iconNameForUrl()
Alex Richardson [Thu, 10 Apr 2014 22:48:52 +0000 (00:48 +0200)]
KIcon -> QIcon and KMimeType::iconNameForUrl() -> KIO::iconNameForUrl()

11 years agodolphin: convert the remaining code to Qt5 signal/slot syntax
Alex Richardson [Thu, 10 Apr 2014 14:53:41 +0000 (16:53 +0200)]
dolphin: convert the remaining code to Qt5 signal/slot syntax

Middle clicking on Forward/Backward/Home/etc. will no longer open a new
tab since the QAction triggered signal no longer tell us which mouse
button was pressed

11 years agodolphin: convert statusbar, settings and search to qt5 signals/slot syntax
Alex Richardson [Thu, 10 Apr 2014 01:02:10 +0000 (03:02 +0200)]
dolphin: convert statusbar, settings and search to qt5 signals/slot syntax

11 years agodolphin: convert views/ to qt5 signal/slot syntax
Alex Richardson [Thu, 10 Apr 2014 00:59:39 +0000 (02:59 +0200)]
dolphin: convert views/ to qt5 signal/slot syntax

Removed arguments from DolphinViewActionHandler::slotTrashActivated since
they were unused and made the connection fail.

Also fixed a bad connection in dolphinview.cpp, there is no signal
KFileItemModel::loadingCompleted

11 years agodolphin: convert panels/ and filterbar to qt signal/slot syntax
Alex Richardson [Thu, 10 Apr 2014 00:57:01 +0000 (02:57 +0200)]
dolphin: convert panels/ and filterbar to qt signal/slot syntax

TerminalPanel connections to konsole part were not converted since there
is no header available that defines these function, we have to keep the
old syntax here.

Additionally the new syntax no longer accepts QPointer arguments, we have
to explicitly call .data() there.

11 years agodolphin: convert kitemviews/ to qt5 signal slot syntax
Alex Richardson [Thu, 10 Apr 2014 14:50:43 +0000 (16:50 +0200)]
dolphin: convert kitemviews/ to qt5 signal slot syntax

This conversion was performed automatically using convert2qt5signalslot.
The only manual changes required were changing the overloaded signal
KDirLister::redirection and KDirLister::completed from KUrl to QUrl. All
other cases were no problem since these signals are not overloaded and a
static_cast for disambiguation is not necessary.

Code inside HAVE_BALOO is not converted yet, will do that once I can build
a version with Baloo.

11 years agomake FileNameSearchProtocol::listDir override the KIO::SlaveBase method
Alex Richardson [Thu, 10 Apr 2014 14:34:35 +0000 (16:34 +0200)]
make FileNameSearchProtocol::listDir override the KIO::SlaveBase method

The parameter changed from KUrl to QUrl -> we have to add this.

Found with -Woverloaded-virtual

11 years agocompletely disable QAccessible for now, since it causes assertions
Alex Richardson [Thu, 10 Apr 2014 00:18:05 +0000 (02:18 +0200)]
completely disable QAccessible for now, since it causes assertions

11 years agoKParts::ReadOnlyPart::openUrl() changed from KUrl parameter to QUrl
Alex Richardson [Thu, 10 Apr 2014 01:02:40 +0000 (03:02 +0200)]
KParts::ReadOnlyPart::openUrl() changed from KUrl parameter to QUrl

11 years agoAllow compiling Dolphin with KF5
Alex Richardson [Sun, 6 Apr 2014 01:32:55 +0000 (03:32 +0200)]
Allow compiling Dolphin with KF5

This does not work properly yet, there are probably quite a few bad signal/
slot connections due to KUrl -> QUrl. However dolphin starts without
crashing.

Accessibility is not ported since that changed quite a lot from Qt4 -> Qt5
and I have no idea how it is supposed to be used.

This is the first commit for review 117395

11 years agoUpdate the "Paste" action only if it is necessary
Frank Reininghaus [Wed, 30 Apr 2014 07:34:32 +0000 (09:34 +0200)]
Update the "Paste" action only if it is necessary

Updating this action is only required if the clipboard contents change,
or if the "is writable" state of the current location changes. In all
other cases, an update of this action should be prevented because it
can be very expensive if many files are in the clipboard.

In particular, the update when the selection changes could make
changing the current item in the view very slow.

BUG: 333903
REVIEW: 117782
FIXED-IN: 4.13.1

11 years agoChange the icon text for Previous and Next toolbar buttons
Renato Atilio [Tue, 29 Apr 2014 19:54:33 +0000 (21:54 +0200)]
Change the icon text for Previous and Next toolbar buttons

In addition to the current long text for previous and next toolbar
buttons ("Activate Previous/Next Tab"), this commit adds shorter icon
texts for them to be used only on the toolbar ("Previous/Next Tab").

BUG: 332629
REVIEW: 117794
FIXED-IN: 4.14.0

11 years agoMerge branch 'KDE/4.13'
Frank Reininghaus [Tue, 29 Apr 2014 19:44:46 +0000 (21:44 +0200)]
Merge branch 'KDE/4.13'

11 years agoMerge branch 'KDE/4.13' of git://anongit.kde.org/kde-baseapps into KDE/4.13
Emmanuel Pescosta [Sat, 26 Apr 2014 11:08:31 +0000 (13:08 +0200)]
Merge branch 'KDE/4.13' of git://anongit.kde.org/kde-baseapps into KDE/4.13

11 years agoMount partitions when you open them in a new tab.
Emmanuel Pescosta [Thu, 24 Apr 2014 19:44:28 +0000 (21:44 +0200)]
Mount partitions when you open them in a new tab.

Instead of just emitting the slotItemMiddleClicked signal in
PlacesPanel::slotItemContextMenuRequested we now use triggerItem with
Qt::MiddleButton, which does set up the storage first and emit
the slotItemMiddleClicked signal afterwards.

BUG: 311226
FIXED-IN: 4.13.1
REVIEW: 117755

11 years agoDo not change the selection when re-sorting the view
Frank Reininghaus [Sat, 26 Apr 2014 10:29:36 +0000 (12:29 +0200)]
Do not change the selection when re-sorting the view

If a range of items has been selected by Shift-clicking or by pressing
Shift+Arrow, then each of them is added individually to the selection
before the items are re-sorted.

Before this commit, the first and the last item in the range were
moved, and all items between them were selected, even though these were
not necessarily the items which had been selected before the
re-sorting.

BUG: 333457
REVIEW: 117603
FIXED-IN: 4.13.1

11 years agoEnable the previous and next tab toolbar buttons
Renato Atilio [Sat, 26 Apr 2014 10:28:42 +0000 (12:28 +0200)]
Enable the previous and next tab toolbar buttons
when multiple tabs are opened. Disable them again
when there is only one remaining tab.

Additionally set the default state to disabled.

BUG: 332628
FIXED-IN: 4.13.1
REVIEW: 117778

11 years agoFix memory leak with Dropbox version control plugin.
Emmanuel Pescosta [Thu, 24 Apr 2014 18:57:18 +0000 (20:57 +0200)]
Fix memory leak with Dropbox version control plugin.

In the current version we only call endRetrieval when
beginRetrieval was successfully in UpdateItemStatesThread::run().
This causes some problems with version control plugins (like Dropbox plugin),
which have to do cleanups in endRetrieval.

Now we always call endRetrieval after beginRetrieval when updating the version states.

FIXED-IN: 4.13.1
REVIEW: 117753

11 years agoScroll to the right position when going back and show hidden files is enabled.
Emmanuel Pescosta [Thu, 24 Apr 2014 18:16:30 +0000 (20:16 +0200)]
Scroll to the right position when going back and show hidden files is enabled.

Instead of emitting the directoryLoadingCompleted signal (via slotCompleted) in
KFileItemModel::setShowHiddenFiles directly, we now call
dispatchPendingItemsToInsert instead.

@Frank: Thanks for your help!

FIXED-IN: 4.13.1
BUG: 332159
REVIEW: 117021

11 years agoMerge branch 'KDE/4.12' into KDE/4.13
Frank Reininghaus [Mon, 14 Apr 2014 21:11:00 +0000 (23:11 +0200)]
Merge branch 'KDE/4.12' into KDE/4.13

11 years agoUpdate the "is cut" state of items if necessary
Frank Reininghaus [Mon, 14 Apr 2014 20:46:38 +0000 (22:46 +0200)]
Update the "is cut" state of items if necessary

The icons of items which are "cut" are shown faded in the view. The
"is cut" state of the widget representing an item is updated if the
clipboard contents change. Before this commit, if the sort order was
changed however, then each widget kept the "is cut" state of the item
which had been shown previously at its position.

The solution is to update the "is cut" state also if any of the
widget's data change.

BUG: 332792
REVIEW: 117451
FIXED-IN: 4.12.5

11 years agoTranslate bookmark text on update.
Marco Nelles [Fri, 4 Apr 2014 09:41:28 +0000 (11:41 +0200)]
Translate bookmark text on update.