]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
13 years agoShow MTP devices in case support for it is installed
Alex Fiestas [Tue, 23 Oct 2012 23:21:02 +0000 (01:21 +0200)]
Show MTP devices in case support for it is installed

Basically adds a conditional that in case that mtp kioslave is installed
devices with MTP are added to the predicated.
REVIEW: 106651

13 years agoFix race condition and deadlock in the version plugin
Simeon Bird [Sat, 20 Oct 2012 01:04:55 +0000 (21:04 -0400)]
Fix race condition and deadlock in the version plugin
when listing directories is slow.

BUG: 302264
FIXED-IN: 4.9.3

13 years agouse better icon for timeline:/ in places
Weng Xuetian [Tue, 16 Oct 2012 11:53:31 +0000 (07:53 -0400)]
use better icon for timeline:/ in places

REVIEW: 106874

13 years agolook also for soprano
Pino Toscano [Tue, 16 Oct 2012 08:14:56 +0000 (10:14 +0200)]
look also for soprano

13 years agoPort Dolphin from Nepomuk to Nepomuk2 according to the Nepomuk2Port mini guide on...
Emmanuel Pescosta [Mon, 15 Oct 2012 19:46:59 +0000 (21:46 +0200)]
Port Dolphin from Nepomuk to Nepomuk2 according to the Nepomuk2Port mini guide on techbase - http://techbase.kde.org/Projects/Nepomuk/Nepomuk2Port

REVIEW: 106825

13 years agoMerge remote-tracking branch 'origin/KDE/4.9'
Pino Toscano [Sat, 13 Oct 2012 07:27:54 +0000 (09:27 +0200)]
Merge remote-tracking branch 'origin/KDE/4.9'

13 years agoUse not only Alt+Return, but also Alt+Enter as shortcut for "Properties"
Amol Godbole [Sun, 7 Oct 2012 17:37:32 +0000 (19:37 +0200)]
Use not only Alt+Return, but also Alt+Enter as shortcut for "Properties"

BUG: 307603
REVIEW: 106753
FIXED-IN: 4.9.3

13 years agoMerge branch '4.9'
Dawit Alemayehu [Wed, 3 Oct 2012 19:09:58 +0000 (15:09 -0400)]
Merge branch '4.9'

13 years agoFix the hidden "EnlargeSmallPreviews" option
Frank Reininghaus [Wed, 3 Oct 2012 08:14:20 +0000 (10:14 +0200)]
Fix the hidden "EnlargeSmallPreviews" option

This option, introduced in 99e4eb0f3a58c53277b099114a5fd8945937fb9a, did
not work any more since 2069c200211c93e401c3d19850f41eade09d64be.

CCBUG: 307522

13 years agoFind out the main window by calling the parent widget's window() member
Frank Reininghaus [Sat, 29 Sep 2012 17:47:00 +0000 (19:47 +0200)]
Find out the main window by calling the parent widget's window() member

KFileItemModel calls the dir lister's setMainWindow() method to make
sure that the dir lister caches authentication data. However, the method
used to determine the main window (qApp->activeWindow()) is not
guaranteed to yield the DolphinMainWindow or the KonqMainWindow. In
particular, if "Split View" is enabled in Dolphin's settings dialog, the
active window is the dialog, and when it is closed, any later access to
the stored pointer leads to a crash.

A better method is to verify that the model's parent is a QWidget and
then use this widget's window(). I had to make a small modification in
DolphinMainWindow to make sure that it also works correctly when the
view is split (the new view container had been created with a 0 parent
previously).

I tested it in Dolphin and Konqueror and verified that the "main window"
passed to the dir lister is really the application's main window.

BUG: 306459
FIXED-IN: 4.9.3

13 years agoRedo the fix for CTRL+Tab not working when using Dolphin's filemanagement part
Dawit Alemayehu [Fri, 28 Sep 2012 17:56:51 +0000 (13:56 -0400)]
Redo the fix for CTRL+Tab not working when using Dolphin's filemanagement part
in Konqueror. The original fix, commit 4f7ed2b, prevents drag and drop from
working correctly.

CCBUG: 302329
REVIEW: 106569

13 years agoMerge branch '4.9'
Dawit Alemayehu [Thu, 27 Sep 2012 21:48:56 +0000 (17:48 -0400)]
Merge branch '4.9'

13 years agoDolphin Places: Only show file results in Nepomuk Queries
Vishesh Handa [Thu, 30 Aug 2012 11:01:34 +0000 (16:31 +0530)]
Dolphin Places: Only show file results in Nepomuk Queries

Dolphin is a file manager, and shouldn't be concerned with non-file
resources like notes, contacts and other stuff.

Use FileQuery instead of Query.

This also results in a faster queries. With File Queries Nepomuk can
perform some internal optimizations.

BUG: 306029
REVIEW: 106274

Cherry-picked from 6892d39d292d4f64d808e64c58ef20fa081f0259

13 years agoSome speed improvements in KFileItemModelRolesUpdater:
Emmanuel Pescosta [Thu, 27 Sep 2012 16:47:55 +0000 (18:47 +0200)]
Some speed improvements in KFileItemModelRolesUpdater:
- Use QSet.erase() instead of QSet.remove() => no expensive Rehashing
- Get rid of += in sortAndResolvePendingRoles()
- Some other small changes

REVIEW: 106577

13 years agoAdd a new config option for the icon size in the Places Panel
Frank Reininghaus [Thu, 27 Sep 2012 06:11:53 +0000 (08:11 +0200)]
Add a new config option for the icon size in the Places Panel

To change the icon size in the Places Panel to, e.g., 60 pixels, add
the following lines to $KDEHOME/share/config/dolphinrc :

[PlacesPanel]
IconSize=60

A value of -1 means that the standard "Small" size should be used
(which has been the default before this commit).

It is planned to add an "Icon Size" submenu to the context menu of the
Places Panel in KDE 4.10, but we cannot do this in the 4.9 branch
because of the string freeze.

FIXED-IN: 4.9.2
BUG: 301959

13 years agoFix a Bug in KFileItemModelRolesUpdate::setEnabledPlugins.
Emmanuel Pescosta [Wed, 26 Sep 2012 15:36:51 +0000 (17:36 +0200)]
Fix a Bug in KFileItemModelRolesUpdate::setEnabledPlugins.
Changes were never overtaken because of a wrong comparison.

FIXED-IN: 4.9.2

13 years agoFixed CTRL+Tab not working when using Dolphin's filemanagement part in Konqueror.
Dawit Alemayehu [Tue, 25 Sep 2012 07:40:50 +0000 (03:40 -0400)]
Fixed CTRL+Tab not working when using Dolphin's filemanagement part in Konqueror.

BUG: 302329
FIXED-IN: 4.9.2
REVIEW: 106569

13 years agoAdding license header in kitemlistviewaccessible
Amandeep Singh [Tue, 25 Sep 2012 23:06:31 +0000 (04:36 +0530)]
Adding license header in kitemlistviewaccessible

Added the license header in kitemlistviewaccessible.*
Accessibility headers not included when QT_NO_ACCESSIBILITY defined
Removed unnecessary debug statement

13 years agoFix coding style and unnecessary complexity in KItemListViewAccessible
Frank Reininghaus [Tue, 25 Sep 2012 20:01:03 +0000 (22:01 +0200)]
Fix coding style and unnecessary complexity in KItemListViewAccessible

CCMAIL: aman.dedman@gmail.com
CCMAIL: gladhorn@kde.org

13 years agoFixes Bug 305783 - dragging a file over a directory #c4
Emmanuel Pescosta [Wed, 12 Sep 2012 17:33:28 +0000 (19:33 +0200)]
Fixes Bug 305783 - dragging a file over a directory #c4
     does not expand the dir => Bug discovered: When you drag a
     item onto a folder-view-item and then move it away
     instantly before the autoactivation event is triggered
     (After 750ms), the folder will be opened anyway.

BUG: 305783
REVIEW: 106381
FIXED-IN: 4.9.2
(cherry picked from commit 9ab8bcd6aa3ce5d96ee380d5f22d77c2f0a38881)

13 years agoDo not include role name in acc name, add desc.
Frederik Gladhorn [Tue, 25 Sep 2012 10:48:59 +0000 (12:48 +0200)]
Do not include role name in acc name, add desc.

The role is already known. Including it in the
accName means a screen reader will read
"zoom slider slider".

13 years agoRemoving layouter from public, adding TableModelChanged update
Amandeep Singh [Mon, 24 Sep 2012 22:30:13 +0000 (04:00 +0530)]
Removing layouter from public, adding TableModelChanged update

REVIEW : 106555

13 years agoRevert part of 20b0cb68bf5cc1099fd6e61982817d9e2ae0130c
Frank Reininghaus [Mon, 24 Sep 2012 21:32:51 +0000 (23:32 +0200)]
Revert part of 20b0cb68bf5cc1099fd6e61982817d9e2ae0130c

That commit, which disregarded roles with empty text for the row number
calculation in Icons View, caused the problem that icons might jump
around while information was retrieved asynchronously because previously
empty roles could get a non-empty value, and the corresponding items
would need an additional row in the view.

Thanks to Hrvoje Senjan for testing this feature in master and reporting
this issue early, such that we could fix it quickly and prevent that
other users suffer from this bug!

CCBUG: 304752

13 years agoFix crash when receiving Nepomuk info for a recently deleted file.
Frank Reininghaus [Mon, 24 Sep 2012 20:59:59 +0000 (22:59 +0200)]
Fix crash when receiving Nepomuk info for a recently deleted file.

BUG: 306036
FIXED-IN: 4.9.2

13 years agoRemoving unneccessary case for Sibling in navigate
Amandeep Singh [Sat, 22 Sep 2012 19:47:01 +0000 (01:17 +0530)]
Removing unneccessary case for Sibling in navigate

13 years agoMake cell indices work.
Frederik Gladhorn [Sat, 22 Sep 2012 20:41:54 +0000 (22:41 +0200)]
Make cell indices work.

13 years agoAccessibility: Fix cellAt
Frederik Gladhorn [Sat, 22 Sep 2012 19:39:00 +0000 (21:39 +0200)]
Accessibility: Fix cellAt

Row and column are 0 based, the cell function
uses 1 based indices.

13 years agoSet accessible name to selectHomeUrlButton
José Millán Soto [Sat, 22 Sep 2012 18:35:36 +0000 (20:35 +0200)]
Set accessible name to selectHomeUrlButton

13 years agoMerge branch for accessibility
Amandeep Singh [Sat, 22 Sep 2012 18:18:54 +0000 (23:48 +0530)]
Merge branch for accessibility

13 years agoReturning correct rowCount.
Amandeep Singh [Sat, 22 Sep 2012 18:14:42 +0000 (23:44 +0530)]
Returning correct rowCount.

13 years agoMaking code confirm to policy
Amandeep Singh [Sat, 22 Sep 2012 08:57:17 +0000 (14:27 +0530)]
Making code confirm to policy

13 years agoRemoving in-class functions and unnecessary destructor
Amandeep Singh [Wed, 15 Aug 2012 06:57:00 +0000 (12:27 +0530)]
Removing in-class functions and unnecessary destructor

13 years agoModify code according to dolphin policy
Amandeep Singh [Tue, 14 Aug 2012 17:22:21 +0000 (22:52 +0530)]
Modify code according to dolphin policy

13 years agoMerge branch 'KDE/4.9'
Luca Beltrame [Fri, 21 Sep 2012 08:55:08 +0000 (10:55 +0200)]
Merge branch 'KDE/4.9'

Conflicts:
konq-plugins/dirfilter/dirfilterplugin.cpp
konq-plugins/dirfilter/dirfilterplugin.h

13 years agoFix Bug 297355 - Dolphin leaves file preview tooltips open even when is not visible
Emmanuel Pescosta [Thu, 20 Sep 2012 15:57:10 +0000 (17:57 +0200)]
Fix Bug 297355 - Dolphin leaves file preview tooltips open even when is not visible

BUG: 297355
FIXED-IN: 4.9.2
REVIEW: 106499

13 years agoRestore old behavior: Navigating by double-clicking in folder panel (Double-Click...
Emmanuel Pescosta [Thu, 20 Sep 2012 15:56:32 +0000 (17:56 +0200)]
Restore old behavior: Navigating by double-clicking in folder panel (Double-Click - show folder content and expand folder)

BUG: 295573
REVIEW: 106497
FIXED-IN: 4.9.2

13 years agoFixes Bug 304878 - Dolphin shows "ghost" folders in places after autofs umount nfs...
Emmanuel Pescosta [Thu, 20 Sep 2012 15:56:00 +0000 (17:56 +0200)]
Fixes Bug 304878 - Dolphin shows "ghost" folders in places after autofs umount nfs shares

BUG: 304878
REVIEW: 106456
FIXED-IN: 4.9.2

13 years agoFixes Bug 293200 - Drag&drop files in dolphin doesnt preserve origin
Emmanuel Pescosta [Wed, 19 Sep 2012 17:00:52 +0000 (19:00 +0200)]
Fixes Bug 293200 - Drag&drop files in dolphin doesnt preserve origin

Patch 106381 Comment #3:
When "Open folders during drag operations" is enabled, two things happen, both in the DolphinView and in the Folders Panel:

1) When hovering a folder that can be expanded (this is the case for folders with sub-folders in the Folders Panel and in the DolphinView if in Details View mode), toggle its "expanded" state.
2) When hovering a folder that can not be expanded (i.e., a folder without sub-folders or any folder in Icons or Compact View), open this folder in the DolphinView via the KItemListController's itemActivated(int) signal.

The bug described in bug 293200 comment 3 is that 1) is always wanted, but 2) is not wanted for the Folders Panel.

BUG: 293200
FIXED-IN: 4.9.2

13 years agoPrevent unwanted URL changes when using the Terminal Panel
Frank Reininghaus [Wed, 19 Sep 2012 07:28:22 +0000 (09:28 +0200)]
Prevent unwanted URL changes when using the Terminal Panel

The root cause of the problem was that TerminalPanel's member
m_konsolePartCurrentDirectory, which is used to determine in
TerminalPanel::sendCdToTerminal(QString& dir) if the Konsole part's
directory is aleady 'dir', such that issuing the 'cd' command is not
needed, was updated too late, namely when the part's
currentDirectoryChanged(QString) signal was received, which may be up
to one second after the 'cd' command.

When changing the directory from "dir1" to "dir2" and going back to
the "dir1" in less than one second (either by using the 'Back' action
or by activating a tab which still had "dir1" open), the 'cd dir1'
command was therefore suppressed because the Terminal Panel still
thought that "dir1" was the current directory in the part. However,
the directory of the part was actually "dir2", and when the
currentDirectoryChanged(QString) signal was received from the part, the
view's URL was set to "dir2" as well.

BUG: 306349
BUG: 304838
FIXED-IN: 4.9.2

13 years agoCorrected the compile fix commit, rev 965fc6b3.
Dawit Alemayehu [Wed, 12 Sep 2012 19:54:37 +0000 (15:54 -0400)]
Corrected the compile fix commit, rev 965fc6b3.
(cherry picked from commit 1e45cb9019e08ca574a997f2e41da5e3e47928b4)

13 years agoCorrected the compile fix commit, rev 965fc6b3.
Dawit Alemayehu [Wed, 12 Sep 2012 19:54:37 +0000 (15:54 -0400)]
Corrected the compile fix commit, rev 965fc6b3.

13 years agoRe-enable renaming items with the rename dialog
Frank Reininghaus [Wed, 12 Sep 2012 19:13:26 +0000 (21:13 +0200)]
Re-enable renaming items with the rename dialog

User feedback has shown that many users used the dialog for renaming
files. Since the dialog is still used when renaming multiple files, I
think there is no good reason not to use it for renaming single files
as well if the user wants.

Note that we cannot add an option in the settings dialog due to string
freeze issues. For the time being, you will have to add the line
"RenameInline=false" to the [General] section of
$KDEHOME/share/config/dolphinrc.

BUG: 304627
FIXED-IN: 4.9.2

13 years agoFixes Bug 305783 - dragging a file over a directory #c4
Emmanuel Pescosta [Wed, 12 Sep 2012 17:33:28 +0000 (19:33 +0200)]
Fixes Bug 305783 - dragging a file over a directory #c4
     does not expand the dir => Bug discovered: When you drag a
     item onto a folder-view-item and then move it away
     instantly before the autoactivation event is triggered
     (After 750ms), the folder will be opened anyway.

BUG: 305783
REVIEW: 106381

13 years agoFix compile against the minimum required kdelibs version (v4.7.97)
Dawit Alemayehu [Tue, 11 Sep 2012 20:40:32 +0000 (16:40 -0400)]
Fix compile against the minimum required kdelibs version (v4.7.97)
(cherry picked from commit f0d5e062bf0452258d337d7dcb2edd2eefa1c37b)

13 years agoFix compile against the minimum required kdelibs version (v4.7.97)
Dawit Alemayehu [Tue, 11 Sep 2012 20:40:32 +0000 (16:40 -0400)]
Fix compile against the minimum required kdelibs version (v4.7.97)

13 years agoMount unmounted devices, when a file is dropped upon it in places-panel.
Emmanuel Pescosta [Tue, 11 Sep 2012 18:17:56 +0000 (20:17 +0200)]
Mount unmounted devices, when a file is dropped upon it in places-panel.

BUG: 176277
REVIEW: 106072
FIXED-IN: 4.9.2

(cherry picked from commit 824fa6a43734cf9ad2a690778c50bdaf76a1fb0e)

13 years agoMount unmounted devices, when a file is dropped upon it in places-panel.
Emmanuel Pescosta [Tue, 11 Sep 2012 18:17:56 +0000 (20:17 +0200)]
Mount unmounted devices, when a file is dropped upon it in places-panel.

BUG: 176277
REVIEW: 106072

13 years agoFixes Bug 242007 - "Open Folder during Drag operation" cannot go into different parti...
Emmanuel Pescosta [Tue, 11 Sep 2012 18:09:01 +0000 (20:09 +0200)]
Fixes Bug 242007 - "Open Folder during Drag operation" cannot go into different partition using "Places Panel"

BUG: 242007
REVIEW: 106380

13 years agoFix possible crash when refreshing the view while renaming inline
Frank Reininghaus [Tue, 11 Sep 2012 17:43:53 +0000 (19:43 +0200)]
Fix possible crash when refreshing the view while renaming inline

It is not reproducible on every machine for me, but it seems that it can
happen that DolphinView's slot slotRoleEditingFinished() is invoked
after the items have already been removed from the model. In that case,
we have to return from the slot immediately to prevent a crash.

BUG: 306147
FIXED-IN: 4.9.2

13 years agoFix possible crash in KStandardItemListWidget::paint()
Frank Reininghaus [Tue, 11 Sep 2012 17:34:23 +0000 (19:34 +0200)]
Fix possible crash in KStandardItemListWidget::paint()

According to the backtrace in the bug report, it is possible that
KStandardItemListWidget::paint() is called if the hash m_textInfo has
not been initialised. The widget's index must be -1 in this case, see
KStandardItemListWidget::triggerCacheRefreshing(). It looks like this
can only happen if the item is about to be removed from the view, see
KItemListView::slotItemsRemoved().

I could not reproduce the crash, so I'm not sure why exactly this
happens, but this commit should at least prevent the crash.

BUG: 306167
FIXED-IN: 4.9.2

13 years agoUse a better icon for recently accessed items, part 2
Frank Reininghaus [Tue, 11 Sep 2012 17:25:20 +0000 (19:25 +0200)]
Use a better icon for recently accessed items, part 2

I had missed one places where the incorrect icon was used in my
previous commit d7e7ca53bb95c7555bbf107d92b47ac25eda1918.

BUG: 304323
FIXED-IN: 4.9.2

13 years agoSimplify boolean expression
Frank Reininghaus [Tue, 11 Sep 2012 17:17:40 +0000 (19:17 +0200)]
Simplify boolean expression

Thanks to André Wöbbeking for noticing that this was unnecessarily
complex!

13 years agoImplemented the new KParts extension, KParts::ListingiNotificationExtension.
Dawit Alemayehu [Wed, 5 Sep 2012 02:26:28 +0000 (22:26 -0400)]
Implemented the new KParts extension, KParts::ListingiNotificationExtension.

REVIEW: 106333
(cherry picked from commit acef4b1c287a315b42550c27fc18ac4b9f49746c)

13 years agoImplemented the new KParts extension, KParts::ListingiNotificationExtension.
Dawit Alemayehu [Wed, 5 Sep 2012 02:26:28 +0000 (22:26 -0400)]
Implemented the new KParts extension, KParts::ListingiNotificationExtension.

REVIEW: 106333

13 years agoMake the button that enables additional search options more obvious
Frank Reininghaus [Thu, 6 Sep 2012 06:03:56 +0000 (08:03 +0200)]
Make the button that enables additional search options more obvious

This is achieved by adding some descriptive text and by using a more
appropriate icon.

Thanks to Panos Kanavos for the patch!

BUG: 300248
FIXED-IN: 4.10.0
REVIEW: 106325

13 years agoDo not show '-' for additional info which is not available for an item
Frank Reininghaus [Thu, 6 Sep 2012 05:51:22 +0000 (07:51 +0200)]
Do not show '-' for additional info which is not available for an item

I'm only backporting the removal of the '-', not the update for the
line number calculation in Icons View, because this is the safest part
of the patch and also the one that fixes the most annoying part of the
bug.

Thanks to Todd Jennings for the patch!
BUG: 304752
REVIEW: 106304
(cherry picked from commit 20b0cb68bf5cc1099fd6e61982817d9e2ae0130c)

13 years agoDo not show '-' for additional info which is not available for an item
Frank Reininghaus [Thu, 6 Sep 2012 05:51:22 +0000 (07:51 +0200)]
Do not show '-' for additional info which is not available for an item

Thanks to Todd Jennings for the patch!
CCBUG: 304752
REVIEW: 106304

13 years agoImplemented the new KParts' listing filter extension, KParts::ListingFilterExtension.
Dawit Alemayehu [Mon, 3 Sep 2012 21:53:03 +0000 (17:53 -0400)]
Implemented the new KParts' listing filter extension, KParts::ListingFilterExtension.

REVIEW: 106289
(cherry picked from commit cb79ee6a881e2b4418bccc22480e3e269e5b0af9)

13 years agoImplemented the new KParts' listing filter extension, KParts::ListingFilterExtension.
Dawit Alemayehu [Mon, 3 Sep 2012 21:53:03 +0000 (17:53 -0400)]
Implemented the new KParts' listing filter extension, KParts::ListingFilterExtension.

REVIEW: 106289

13 years agoDolphin Places: Only show file results in Nepomuk Queries
Vishesh Handa [Thu, 30 Aug 2012 11:01:34 +0000 (16:31 +0530)]
Dolphin Places: Only show file results in Nepomuk Queries

Dolphin is a file manager, and shouldn't be concerned with non-file
resources like notes, contacts and other stuff.

Use FileQuery instead of Query.

This also results in a faster queries. With File Queries Nepomuk can
perform some internal optimizations.

BUG: 306029
REVIEW: 106274

13 years agofix missing enum
Weng Xuetian [Wed, 29 Aug 2012 11:43:03 +0000 (07:43 -0400)]
fix missing enum

REVIEW: 106239

13 years agofix missing enum
Weng Xuetian [Wed, 29 Aug 2012 11:43:03 +0000 (07:43 -0400)]
fix missing enum

REVIEW: 106239

13 years agoMake --select can automatically scroll to the selected file.
Weng Xuetian [Mon, 27 Aug 2012 17:55:17 +0000 (13:55 -0400)]
Make --select can automatically scroll to the selected file.

REVIEW: 106209

13 years agoMake --select can automatically scroll to the selected file.
Weng Xuetian [Mon, 27 Aug 2012 17:55:17 +0000 (13:55 -0400)]
Make --select can automatically scroll to the selected file.

REVIEW: 106209

13 years agoMerge branch 'KDE/4.9'
Raphael Kubo da Costa [Sun, 26 Aug 2012 04:30:51 +0000 (01:30 -0300)]
Merge branch 'KDE/4.9'

`git merge -s recursive --log --edit KDE/4.9' was run first, and it looked
like the only conflicts were in some docbooks. I then aborted the merge and
ran `git merge' with `-Xours' to use this branch's version of the
conflicting files.

Even though a lot of changes are listed below, all but the last two are
already present in master because they were cherry-picked from one branch to
another.

Hopefully this sets a trend and people start using git as it was intended to
be used.

* KDE/4.9: (50 commits)
  Adjust to Ark's drag'n'drop D-Bus interface changes.
  Adjust to Ark's drag'n'drop D-Bus interface changes.
  Fix wrong behaviour, when Dolphin is started with --split argument.
  Do not crash when finishing inline renaming in unusual ways
  Fix regression that caused "(I18N_EMPTY_MESSAGE)" sub menus in menus
  Select the correct item in places-panel, when a directory is opened.
  SVN_SILENT made messages (.desktop file)
  avoid duplicate entries in konqueror address completion list
  Fix translations not showing in the Sort by and Additional Information submenus
  Fix wrong text color in Places Group Header. Use QPalette::Window for base color and QPalette::WindowText for text color. Also changed m_roleColor color mixing to 60% (from 70%) -> Better visible color difference when base color is darker than text color. Also changed styleOption().palette.brush(group, role).color() to styleOption().palette.color(group, role) in KStandardItemListWidget -> should be more efficient.
  Fix wrong text color in places and in folders panel.
  Show icon size as tooltip when adjusting icon size
  Fix a long standing security issue with the hiding of Konqueror's location (address) bar through javascript.
  Fixed the display of the security sheild icon for SSL sites.
  SVN_SILENT made messages (.desktop file)
  Follow-up to d7e7ca53bb95c7555bbf107d92b47ac25eda1918 - use correct icon
  Use a better icon for recently accessed items in the Places Panel
  Use a saner check for multimedia files in infopanel.
  Fix the size of the rating stars in Icons View
  Stop preview jobs when closing Dolphin
  ...

13 years agoAdjust to Ark's drag'n'drop D-Bus interface changes.
Raphael Kubo da Costa [Fri, 24 Aug 2012 01:58:05 +0000 (22:58 -0300)]
Adjust to Ark's drag'n'drop D-Bus interface changes.

Ark's drag'n'drop D-Bus interface needs to be changed: so far, the object
path was always /DndExtract, but this does not work if Ark is being used as
an embedded KPart (in Konqueror or Rekonq, for example), as all tabs will
end up calling QDBusConnection::registerObject() with the same path. Only
the first call will work, and the result is that dragging and dropping from
any tab previewing an archive with Ark will extract from the first archive
being previewed.

To fix that, applications that accept the application/x-kde-dndextract
mimetype should now be adjusted to check the
application/x-kde-ark-dndextract-service and
application/x-kde-ark-dndextract-path ones instead; the former contains the
same service information that used to be passed, while the latter tells
which object path should be talked to.

This is the Dolphin part of the change, which also needs to be made to
the folderview plasmoid.

REVIEW: 106131
CCBUG: 304860

13 years agoFix wrong behaviour, when Dolphin is started with --split argument.
Emmanuel Pescosta [Fri, 24 Aug 2012 19:47:14 +0000 (21:47 +0200)]
Fix wrong behaviour, when Dolphin is started with --split argument.

Actual Results:
dolphin starts without split view

Expected Results:
dolphin starts with split view

New behaviour:
* no url given - use default url for all two views
* one url given - use given url for all two views
* two urls given - open the first url in the left view and the second url in the right view

BUG: 305538
REVIEW: 106171

(cherry picked from commit d430a1c3b3c7485149f5486e38f4188074d09c0d)

13 years agoMerge branch 'KDE/4.9' of git://anongit.kde.org/kde-baseapps into KDE/4.9
Emmanuel Pescosta [Fri, 24 Aug 2012 21:58:49 +0000 (23:58 +0200)]
Merge branch 'KDE/4.9' of git://anongit.kde.org/kde-baseapps into KDE/4.9

13 years agoFix wrong behaviour, when Dolphin is started with --split argument.
Emmanuel Pescosta [Fri, 24 Aug 2012 19:47:14 +0000 (21:47 +0200)]
Fix wrong behaviour, when Dolphin is started with --split argument.

Actual Results:
dolphin starts without split view

Expected Results:
dolphin starts with split view

New behaviour:
* no url given - use default url for all two views
* one url given - use given url for all two views
* two urls given - open the first url in the left view and the second url in the right view

BUG: 305538
REVIEW: 106171
FIXED-IN: 4.9.1

13 years agoDo not crash when finishing inline renaming in unusual ways
Frank Reininghaus [Fri, 24 Aug 2012 21:21:31 +0000 (23:21 +0200)]
Do not crash when finishing inline renaming in unusual ways

The crash was caused by a null pointer dereference when, e.g.,
minimizing Dolphin. The root cause was that
KStandardItemListWidget::closeRoleEditor() was called twice: once when
the role editor loses focus, and once again when the window is resized.
After m_roleEditor was set to 0, the second call dereferenced this null
pointer. I think the best solution is to disconnect from the role
editor's signals when the editor is not needed any more by the
KStandardItemListWidget.

CCBUG: 304524
(cherry picked from commit a9c2bdc3b53955693e716bbab58c318fe25bdc9b)

13 years agoDo not crash when finishing inline renaming in unusual ways
Frank Reininghaus [Fri, 24 Aug 2012 21:21:31 +0000 (23:21 +0200)]
Do not crash when finishing inline renaming in unusual ways

The crash was caused by a null pointer dereference when, e.g.,
minimizing Dolphin. The root cause was that
KStandardItemListWidget::closeRoleEditor() was called twice: once when
the role editor loses focus, and once again when the window is resized.
After m_roleEditor was set to 0, the second call dereferenced this null
pointer. I think the best solution is to disconnect from the role
editor's signals when the editor is not needed any more by the
KStandardItemListWidget.

BUG: 304524
FIXED-IN: 4.9.1

13 years agoFix regression that caused "(I18N_EMPTY_MESSAGE)" sub menus in menus
Frank Reininghaus [Fri, 24 Aug 2012 16:51:27 +0000 (18:51 +0200)]
Fix regression that caused "(I18N_EMPTY_MESSAGE)" sub menus in menus

For top-level roles like "Name" and "Size", the group translation is 0.
In that case, the "group" member of the corresponding RoleInfo struct
must be an empty string. This is expected by the code which generates
Dolphin's menus, which group the top-level roles into a sub menu with
the name "(I18N_EMPTY_MESSAGE)" otherwise. This is a recent regression
caused by 199fabbaa8d8a12fb49e4c9922c38ec8b033923c.

Thanks to Christoph Feck for investigating this issue!

CCBUG: 305228
(cherry picked from commit 168d0511c754008cc679589566d961beb9f6cc10)

13 years agoFix regression that caused "(I18N_EMPTY_MESSAGE)" sub menus in menus
Frank Reininghaus [Fri, 24 Aug 2012 16:51:27 +0000 (18:51 +0200)]
Fix regression that caused "(I18N_EMPTY_MESSAGE)" sub menus in menus

For top-level roles like "Name" and "Size", the group translation is 0.
In that case, the "group" member of the corresponding RoleInfo struct
must be an empty string. This is expected by the code which generates
Dolphin's menus, which group the top-level roles into a sub menu with
the name "(I18N_EMPTY_MESSAGE)" otherwise. This is a recent regression
caused by 199fabbaa8d8a12fb49e4c9922c38ec8b033923c.

Thanks to Christoph Feck for investigating this issue!

CCBUG: 305228

13 years agoFix includes
Christophe Giboudeaux [Fri, 24 Aug 2012 11:38:43 +0000 (13:38 +0200)]
Fix includes

13 years agoSelect the correct item in places-panel, when a directory is opened.
Emmanuel Pescosta [Sat, 18 Aug 2012 13:11:53 +0000 (15:11 +0200)]
Select the correct item in places-panel, when a directory is opened.

BUG: 304541
REVIEW: 106074
FIXED-IN: 4.9.1
(cherry picked from commit 1ec8de2c619006e3fe997fbf6074035d65dea6c5)

13 years agoSelect the correct item in places-panel, when a directory is opened.
Emmanuel Pescosta [Sat, 18 Aug 2012 13:11:53 +0000 (15:11 +0200)]
Select the correct item in places-panel, when a directory is opened.

BUG: 304541
REVIEW: 106074

13 years agoChanged the behaviour when middle clicking folders in places- and folders-dockwidget...
Emmanuel Pescosta [Sat, 18 Aug 2012 09:14:09 +0000 (11:14 +0200)]
Changed the behaviour when middle clicking folders in places- and folders-dockwidget. Now it opens the folders in a new background tab (General behaviour of Dolphin)

BUG: 196263
REVIEW: 106069

13 years agoRemove one unneeded #include
Jekyll Wu [Fri, 17 Aug 2012 07:47:09 +0000 (15:47 +0800)]
Remove one unneeded #include

13 years agoFix translations not showing in the Sort by and Additional Information submenus
Albert Astals Cid [Thu, 16 Aug 2012 20:27:12 +0000 (22:27 +0200)]
Fix translations not showing in the Sort by and Additional Information submenus

Acked by Frank
REVIEW: 106049
BUGS: 305228
FIXED-IN: 4.9.1
(cherry picked from commit 199fabbaa8d8a12fb49e4c9922c38ec8b033923c)

13 years agoFix translations not showing in the Sort by and Additional Information submenus
Albert Astals Cid [Thu, 16 Aug 2012 20:27:12 +0000 (22:27 +0200)]
Fix translations not showing in the Sort by and Additional Information submenus

Acked by Frank
REVIEW: 106049
BUGS: 305228
FIXED-IN: 4.9.1

13 years agoFix wrong text color in Places Group Header. Use QPalette::Window for base color...
Emmanuel Pescosta [Tue, 14 Aug 2012 20:02:24 +0000 (22:02 +0200)]
Fix wrong text color in Places Group Header. Use QPalette::Window for base color and QPalette::WindowText for text color. Also changed m_roleColor color mixing to 60% (from 70%) -> Better visible color difference when base color is darker than text color. Also changed styleOption().palette.brush(group, role).color() to styleOption().palette.color(group, role) in KStandardItemListWidget -> should be more efficient.

BUG: 303133
FIXED-IN: 4.9.1
(cherry picked from commit b3c3da985159a9627c079ad615cd77fc5f7bb72a)

13 years agoMerge branch 'master' of git://anongit.kde.org/kde-baseapps
Emmanuel Pescosta [Wed, 15 Aug 2012 13:00:51 +0000 (15:00 +0200)]
Merge branch 'master' of git://anongit.kde.org/kde-baseapps

13 years agoMerge branch 'ivan/dolphin-activities'
Ivan Čukić [Wed, 15 Aug 2012 06:24:17 +0000 (08:24 +0200)]
Merge branch 'ivan/dolphin-activities'
REVIEW:105973

13 years agoDolphin reporting opened locations to activity manager
Ivan Čukić [Fri, 10 Aug 2012 15:49:39 +0000 (17:49 +0200)]
Dolphin reporting opened locations to activity manager

13 years agoFix wrong text color in Places Group Header. Use QPalette::Window for base color...
Emmanuel Pescosta [Tue, 14 Aug 2012 20:02:24 +0000 (22:02 +0200)]
Fix wrong text color in Places Group Header. Use QPalette::Window for base color and QPalette::WindowText for text color. Also changed m_roleColor color mixing to 60% (from 70%) -> Better visible color difference when base color is darker than text color. Also changed styleOption().palette.brush(group, role).color() to styleOption().palette.color(group, role) in KStandardItemListWidget -> should be more efficient.

BUG: 303133

13 years agoCorrecting code according to KDE Policy
Amandeep Singh [Tue, 14 Aug 2012 14:57:35 +0000 (20:27 +0530)]
Correcting code according to KDE Policy

13 years agoFix compiler warning, which spotted a real bug.
David Faure [Fri, 20 Jul 2012 10:11:45 +0000 (12:11 +0200)]
Fix compiler warning, which spotted a real bug.

ItemLayout is an enum, not a flag, so == is even more correct than '&'.

13 years agoFix bug 303375 - Dots in directory names treated as file extension.
David Faure [Fri, 20 Jul 2012 10:09:04 +0000 (12:09 +0200)]
Fix bug 303375 - Dots in directory names treated as file extension.

Patch by Emmanuel Pescosta <emmanuelpescosta099@gmail.com>

BUG: 303375
REVIEW: 105575
FIXED-IN: 4.9.0

13 years agoFix open-in-new-window to work with remote URLs
David Faure [Wed, 18 Jul 2012 18:40:56 +0000 (20:40 +0200)]
Fix open-in-new-window to work with remote URLs

FIXED-IN: 4.9.0
BUGS: 274655, 292822

13 years agoReverting KListSelectionManager, removing unneccessary a11y factories
Amandeep Singh [Mon, 13 Aug 2012 18:02:50 +0000 (23:32 +0530)]
Reverting KListSelectionManager, removing unneccessary a11y factories

13 years agoRemove unneccessary dependency and polish the Accessibility Interfaces
Amandeep Singh [Mon, 13 Aug 2012 05:41:26 +0000 (11:11 +0530)]
Remove unneccessary dependency and polish the Accessibility Interfaces

13 years agoEnclose accessibility code within QT_NO_ACCESSIBILITY
Amandeep Singh [Fri, 10 Aug 2012 15:42:29 +0000 (21:12 +0530)]
Enclose accessibility code within QT_NO_ACCESSIBILITY

13 years agoAdding calls to updateAccessibility
Amandeep Singh [Fri, 10 Aug 2012 15:01:06 +0000 (20:31 +0530)]
Adding calls to updateAccessibility

Items location changes when scrollbar is moved in dolphin.
Accordingly calls to updateAccessibility should be made.

13 years agoMinor fixes to accessible interfaces
Amandeep Singh [Fri, 10 Aug 2012 05:10:47 +0000 (10:40 +0530)]
Minor fixes to accessible interfaces

13 years agoFocus-tracking for widgets in Dolphin View now works.
Amandeep Singh [Wed, 8 Aug 2012 12:55:21 +0000 (18:25 +0530)]
Focus-tracking for widgets in Dolphin View now works.

Added the calls to updateAccessibility, for DragDrop & Focus scenarios

13 years agoImproving Accessibility implementation
Amandeep Singh [Tue, 7 Aug 2012 18:40:20 +0000 (00:10 +0530)]
Improving Accessibility implementation

13 years agoAccessibility: Implement rect for cells and view.
Frederik Gladhorn [Tue, 7 Aug 2012 18:31:01 +0000 (20:31 +0200)]
Accessibility: Implement rect for cells and view.

Remove comparison of QAccessibleInterfaces - these are pointers that get
instantiated again and again, so they cannot be compared. Use the object()
function in QAI instead for comparison.

13 years agoRenaming the a11y classes and adding implementation
Amandeep Singh [Tue, 7 Aug 2012 14:12:50 +0000 (19:42 +0530)]
Renaming the a11y classes and adding implementation

13 years agoDo not claim HasInvokeExtension.
Frederik Gladhorn [Mon, 6 Aug 2012 16:32:58 +0000 (18:32 +0200)]
Do not claim HasInvokeExtension.

This leads to crashes since it implies that
casting to QAccessible2Interface is valid.

13 years agoRemove some dubious code for now (crash less)
Frederik Gladhorn [Mon, 6 Aug 2012 16:08:43 +0000 (18:08 +0200)]
Remove some dubious code for now (crash less)