Commit graph

18665 commits

Author SHA1 Message Date
Frank Reininghaus
7e532911f5 Reduce KFileItemModel memory usage by making use of implicit sharing
The idea is based on
http://milianw.de/blog/katekdevelop-sprint-vienna-2012-take-1

REVIEW: 110686
2013-06-05 23:18:26 +02:00
Weng Xuetian
08eae43abd move focus to another view upon drop
When user drag and drop to another splitted view, the view will be activated,
thus if user close the split view, the view will be closed, while this is
usually the case when user copy file to remote/removable media.

REVIEW: 110167
CCBUG: 312834
2013-06-05 17:07:31 -04:00
l10n daemon script
22959cf7dd SVN_SILENT made messages (.desktop file) 2013-06-05 04:48:53 +00:00
Emmanuel Pescosta
afcf8961f6 Bug 196035 - middle clicking on archive files in dolphin does not open them in a new tab
When 'browse through archives' is enabled, open archive files
like folders on middle clicking, context menu -> new tab action
and context menu -> new window action.

BUG: 196035
REVIEW: 110487
2013-06-04 15:27:45 +02:00
David Faure
8ad0650bea Merge remote-tracking branch 'origin/KDE/4.10' 2013-06-04 00:32:19 +02:00
David Faure
3e5da0b813 Fix assert when restoring session (and unselecting some windows).
The KConfigGroups cannot be const, we'll call writeEntry on them.
2013-06-04 00:31:42 +02:00
Hrvoje Senjan
28281d7741 Merge remote-tracking branch 'origin/KDE/4.10' 2013-06-03 17:28:35 +02:00
Hrvoje Senjan
66691b0528 Use dialog svg instead of tooltip for folderview's popupview
Fixes popup rendering when tooltip != dialog background
Also fixed compiler warning
REVIEW: 110786
CCBUG: 320265
2013-06-03 17:18:18 +02:00
David Palser
555a5390bd Improve KFind docs 2013-06-01 23:01:33 +03:00
Burkhard Lück
b041c20fd1 start dolphin docbook update, add a lotof FIXME's to work on 2013-06-01 19:02:41 +02:00
Burkhard Lück
e8ba397a74 start konqueror docbooks update 2013-06-01 19:00:54 +02:00
Eike Hein
c0d0eadd0c Don't throw away icon positions when changing the text color.
CCBUG:182712
2013-05-31 21:34:10 +02:00
Eike Hein
c4a4efae68 Don't throw away icon positions when changing the text color.
CCBUG:182712
2013-05-31 21:33:18 +02:00
Frank Reininghaus
49f7a0b69e Update required kdelibs version
Since b1aebb44d6, we require the current
master branch of kdelibs.
2013-05-30 00:24:06 +02:00
Burkhard Lück
b8cb68d54e proofread+update to 4.11 2013-05-29 21:40:10 +02:00
Vishesh Handa
85ea7bda39 Dolphin Search: Do not use Nepomuk for hidden folders
Nepomuk does not index hidden folders

BUG: 318442
REVIEW: 110697
FIXED-IN: 4.11.0
2013-05-29 20:13:10 +05:30
Frank Reininghaus
b1aebb44d6 Hide context menu plugins unless enabled by default or by the user
REVIEW: 110685
2013-05-29 07:48:11 +02:00
Vishesh Handa
2b700c5099 PlacesModel: Only allow folders to be pinned
It makes no sense to pin files. Plus the old
PlacesModel from kdelibs had the same behaviour.

REVIEW: 110347
2013-05-28 21:52:01 +05:30
Vishesh Handa
2755391492 PlacesPanel: Do not allow drop events into timeline or search folder
They are read only. You cannot modify them, so it makes no point showing
the "Move/Copy Into" context menu.

REVIEW: 110348
2013-05-28 21:21:27 +05:30
Eike Hein
c4b133f50e Merge branch 'KDE/4.10' 2013-05-27 16:22:10 +02:00
Eike Hein
ce159c94b6 Don't accumulate 'Open with <File Manager>' actions in the context menu. 2013-05-27 16:21:47 +02:00
Thomas Lübking
71be3439b4 set KItemListView palette from scenes first view
REVIEW: 110505
2013-05-25 14:20:43 +02:00
David Palser
6332b78c2d Improve Konqueror docs 2013-05-24 19:09:48 +03:00
Eike Hein
da9cf52bf2 Fix build. 2013-05-23 10:06:55 +02:00
Eike Hein
1cef3607f6 Merge branch 'KDE/4.10' 2013-05-23 10:04:44 +02:00
Eike Hein
378c4476ab Cleanup.
Abusing the saved positions system to cope with theme changes
is no longer necessary now that updateGridSize() no longer
throws out position data.
2013-05-23 10:04:05 +02:00
Emmanuel Pescosta
05d9210e29 Added the "Open in new Tabs" action to the Dolphin Context menu.
BUG: 312296
REVIEW: 110371
FIXED-IN: 4.11.0
2013-05-22 21:47:14 +02:00
Stuart Citrin
dfdb631b55 Filter bar: add a button that prevents clearing if the URL changes
FEATURE: 256651
FIXED-IN: 4.11.0
REVIEW: 107392
2013-05-22 18:48:00 +02:00
Frank Reininghaus
9152a36291 Merge remote-tracking branch 'origin/KDE/4.10' 2013-05-22 18:34:25 +02:00
Frank Reininghaus
fba053e984 KFileItemModel::insertItems(): guarantee O(N) run time complexity
This commit prevents repeated insertions of single items into the list
m_itemData, which shift all following items by one position and result
in O(N^2) worst case complexity for the entire function.

Moreover, the hash m_items is updated only for the items starting from
the first inserted/removed item to save some superfluous calculations
of hash values.

REVIEW: 110355
2013-05-22 18:27:44 +02:00
Frank Reininghaus
a79c3a391c Do not reset the 'isExpanded' state when an expanded folder is refreshed
If an item is moved out of an expanded folder, the model receives the
dir lister's refreshItems signal for the folder. The method
retrieveData() then updates the folder's properties. This commit makes
sure that the 'isExpanded' state is not touched by retrieveData(). A
side-effect is that the 'isExpanded' role is not initialized to 'false',
but this does not matter because trying to read a non-existing role from
the QHash<QByteArray, QVariant> yields a default-constructed QVariant,
which evaluates to 'false'.

BUG: 299675
FIXED-IN: 4.10.4
REVIEW: 110401
2013-05-22 18:14:38 +02:00
Frank Reininghaus
56cf52db90 KFileItemModelRolesUpdater: only update the size for changed folders
When using inotify, we also receive signals for modified files, even if
we only ask KDirWatch to watch the directory containing them. In that
case, we must not set the size to -1 (which means "unknown number of
items" for folders) temporarily, or we end up with an apparent file size
of 2^64 - 1 bytes.

BUG: 309740
FIXED-IN: 4.10.4
REVIEW: 110428
2013-05-22 18:09:42 +02:00
David Palser
aea63beaf7 Improve Konqueror docs 2013-05-22 18:37:04 +03:00
l10n daemon script
78239c1ff7 SVN_SILENT made messages (.desktop file) 2013-05-22 03:31:12 +00:00
Eike Hein
360d8c703f Merge branch 'KDE/4.10' 2013-05-22 03:35:32 +02:00
Eike Hein
f86bf88770 Preserve relative positions when changing icon size in containment case.
Icon positions are preserved by scaling the top-left coordinate pair
by the difference between the old and new grid sizes, or by recreating
the same logical column/row coordinate pair in the newly-calculated
grid if the align-to-grid option is enabled.

Icons that run out of bounds (or exceed the maximum column or row)
accumulate at the relevant screen edges. There is a precedent for
this behavior in the general align-to-grid code.

The left-to-right or right-to-left flow is taken into account when
scaling.

Smarter behaviors can be imagined as an optimization (e.g. identi-
fying groups of icons along screen edges and preserving their edge
alignment regardless of overall layout flow), but this simple scaling
implementation certainly beats throwing positions away altogether.

However, positions do still get thrown away in the non-containment
case - as the regular widget is capable of handling overflow via a
scrollbar, relayouting to exploit that felt better in practice.

CCBUG:182712
2013-05-22 03:35:00 +02:00
Josef Weidendorfer
d3470ef4fb Merge branch 'KDE/4.10' 2013-05-21 18:56:38 +02:00
Josef Weidendorfer
accd263635 fsview: fix for bug 318706 2013-05-21 18:51:05 +02:00
Eike Hein
03f308af8c Merge branch 'KDE/4.10' 2013-05-20 03:09:15 +02:00
Eike Hein
ff68ed3e6a Preserve icon positions across theme changes. 2013-05-20 03:07:47 +02:00
Script Kiddy
9c821f47d3 SVN_SILENT made messages (.desktop file) 2013-05-18 10:15:39 +02:00
Script Kiddy
48145668a8 SVN_SILENT made messages (.desktop file) 2013-05-17 14:30:44 +02:00
Eike Hein
da6c1903b0 Merge branch 'KDE/4.10' 2013-05-16 19:57:03 +02:00
Eike Hein
e14314d5c0 Fix non-square icon scaling when items are selected. 2013-05-16 19:56:42 +02:00
Script Kiddy
ef10e25ebd SVN_SILENT made messages (.desktop file) 2013-05-14 22:27:26 +02:00
Yuri Chornoivan
253c5f5294 Add David Palser to credits 2013-05-14 20:19:36 +03:00
David Palser
a1bcb35685 Improve Konqueror docs 2013-05-14 20:05:35 +03:00
Script Kiddy
d46c2d4b2d SVN_SILENT made messages (.desktop file) 2013-05-14 17:28:24 +02:00
Dawit Alemayehu
8e023ae9e5 - Factored out the Delete/Move To Trash action into own class.
- Updated both the Dolphin KPart and context menu to use the new
  DolphinRemoveAction class to manage "Delete/Move to Trash" actions.

See also https://git.reviewboard.kde.org/r/107509/.

REVIEW: 108802
2013-05-14 08:37:21 -04:00
Dawit Alemayehu
2102017a61 Merge remote-tracking branch 'origin/KDE/4.10' 2013-05-14 08:36:11 -04:00