Commit graph

18441 commits

Author SHA1 Message Date
Frank Reininghaus
ea6a7c09a0 Workaround for failed comparison of items in KFileItemModelRolesUpdater
The real fix is in the KDE/4.10 branch of kdelibs
(commit b8f64ca3f4b6311519c21046031d66d9d0a570c6). We work around the
problem that the KFileItem that a preview has been requested for is
different from the KFileItems in the sets m_pendingVisibleItems and
m_pendingInvisibleItems by refreshing those sets when we detect that
the bug has been triggered.

BUG: 304986
FIXED-IN: 4.9.3
2012-10-27 09:48:51 +02:00
Christoph Feck
299c8332dd Merge remote-tracking branch 'origin/KDE/4.9' 2012-10-26 01:58:50 +02:00
Christoph Feck
8c5be53892 Fix color role of tree view arrows
BUG: 307734
FIXED-IN: 4.9.3
REVIEW: 107031
2012-10-26 01:52:20 +02:00
Emmanuel Pescosta
b1cb41cf96 Use QPixmapCache for KStandardItemListWidget::pixmapForIcon(const QString& name, int size) -> Avoid KIcon loading and rescaleing
REVIEW: 107039
2012-10-25 19:53:53 +02:00
Jekyll Wu
f6cd6d1d81 Remove unused local variables (-Wunused-variable) 2012-10-24 10:27:52 +08:00
Alex Fiestas
430cbb156a 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
(cherry picked from commit a09a237950)
2012-10-24 01:22:31 +02:00
Alex Fiestas
a09a237950 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
2012-10-24 01:21:02 +02:00
Ignat Semenov
f9ec7cf53d delete m_listView in constraintsEvent()
CCBUG: 299077
2012-10-22 18:37:42 +04:00
Simeon Bird
4bdf134cbd Fix race condition and deadlock in the version plugin
when listing directories is slow.

BUG: 302264
FIXED-IN: 4.9.3
2012-10-19 21:06:49 -04:00
Simeon Bird
b4c01c00a9 Fix race condition and deadlock in the version plugin
when listing directories is slow.

BUG: 302264
FIXED-IN: 4.9.3
2012-10-19 21:05:54 -04:00
Dawit Alemayehu
9685cba808 Updated kdelibs requirement to 4.9.80. You can find the reason for this change
at http://lists.kde.org/?l=kde-core-devel&m=134946200123794&w=2.
2012-10-19 17:24:06 -04:00
Pino Toscano
277452e01b konq: include the kactivities include dir, if found 2012-10-18 20:50:04 +02:00
Ivan Čukić
ff21d2c529 Konqueror reports the open/close document events to activity manager daemon.
By knowing which window contains which documents and which one is in
focus, we can do the following:

- collect the statistics about visited pages. Further, this provides a
score for each document visited, that depends on the number of times it
was open, the time the user spent on that location, and the time passed
since the last visit.
- availability of a global/workspace applet that allows sharing the
current document via e-mail, social networks; bookmarking and rating the
link, or connecting it to the current activity. (advantage of this is a
        unified UI for sharing/rating/linking that works with any
        application)
- jump-lists (not impl. yet in plasma) to list top rated documents on a
launcher icon or in the task manager applet
- krunner can sort the documents based on the score
- more things that I haven't thought of yet

There is no need to *use* ativities to have these benefits. Activities
just serve as manual data clustering to provide more useful scores
compared to the one-activity approach.

REVIEW:106908
2012-10-18 12:54:45 +02:00
Weng Xuetian
47901c38e8 use better icon for timeline:/ in places
REVIEW: 106874
2012-10-16 07:55:00 -04:00
Pino Toscano
c74ea8e065 look also for soprano 2012-10-16 10:14:56 +02:00
Dawit Alemayehu
a469cd9847 Merge remote-tracking branch 'origin/KDE/4.9' 2012-10-16 00:38:13 -04:00
Dawit Alemayehu
04c8abf5bb Changed #ifdef to #if in previous commit, rf8309be. 2012-10-16 00:02:11 -04:00
Emmanuel Pescosta
fb344e1d03 Port Dolphin from Nepomuk to Nepomuk2 according to the Nepomuk2Port mini guide on techbase - http://techbase.kde.org/Projects/Nepomuk/Nepomuk2Port
REVIEW: 106825
2012-10-15 21:46:59 +02:00
Luigi Toscano
3c7db47a72 docs: add missing id, avoid duplications 2012-10-13 21:37:08 +02:00
Ivan Čukić
600d2d33d1 Searching for a KActivities version >6.1.0 2012-10-13 19:56:21 +02:00
David Faure
9e601b04c1 Fix compilation with strict iterators
(don't compare const and non-const iterators)
2012-10-13 18:42:12 +02:00
Ignat Semenov
9888a438d8 check the "paste" action pointer in PopupView::showContextMenu 2012-10-13 18:43:58 +04:00
Pino Toscano
59eee05a15 Merge remote-tracking branch 'origin/KDE/4.9' 2012-10-13 09:27:54 +02:00
Pino Toscano
b65a026e91 docs: remove comflicting id's 2012-10-13 09:26:57 +02:00
Luigi Toscano
831663a092 docs: fix <bookinfo>s and <articleinfo>s 2012-10-13 01:55:06 +02:00
Dawit Alemayehu
f8309bec73 If the "Middle click on tab to close" option is checked, do not select the
tab when the MMB is clicked on it. Instead simply close the tab.

BUG: 264058
FIXED-IN: 4.9.3
REVIEW: 106615
2012-10-12 17:55:39 -04:00
Ignat Semenov
fe8b9eafcb check if the model index list is empty in PopupView::contextMenuRequest
TODO: Context menu code is duplicated between FolderView and PopupView, and needs to
be factored out.

BUG:292127
FIXED-IN:4.9.3
2012-10-13 00:59:28 +04:00
Ignat Semenov
30ae111f75 check if the model index list is empty in PopupView::contextMenuRequest
TODO: Context menu code is duplicated between FolderView and PopupView, and needs to
be factored out.

BUG:292127
FIXED-IN:4.9.3
2012-10-13 00:56:11 +04:00
Pino Toscano
ac70302ee0 Revert "In the session restore dialog, allow the user to select which sessions should"
Not meant for 4.9.
CCBUG: 260282

This reverts commit a78c6a50dc.
2012-10-12 13:12:28 +02:00
Dawit Alemayehu
a78c6a50dc In the session restore dialog, allow the user to select which sessions should
be restored.

BUG: 260282
FIXED-IN: 4.10
REVIEW: 106503
GUI: new strings
DIGEST: Ability to select the session(s) to be restored in Konqueror.
(cherry picked from commit 0142a8ca11)
2012-10-11 22:08:29 -04:00
T.C. Hollingsworth
bc465e4e8e docs: add id attribute to <book> and <article> elements
this commit was automated; please revert if it causes trouble
for details see http://lists.kde.org/?l=kde-doc-english&m=134965352825792&w=2

SVN_SILENT
2012-10-11 22:08:29 -04:00
Dawit Alemayehu
0142a8ca11 In the session restore dialog, allow the user to select which sessions should
be restored.

BUG: 260282
FIXED-IN: 4.10
REVIEW: 106503
GUI: new strings
DIGEST: Ability to select the session(s) to be restored in Konqueror.
2012-10-09 19:02:17 -04:00
Amol Godbole
6497837b2d Use not only Alt+Return, but also Alt+Enter as shortcut for "Properties"
BUG: 307603
REVIEW: 106753
FIXED-IN: 4.9.3
2012-10-07 19:39:59 +02:00
Dawit Alemayehu
a6d9370e01 Removed Q_ASSERT because apparently item can be null.
BUG: 307890
FIXED-IN: 4.10
2012-10-05 09:07:31 -04:00
Dawit Alemayehu
2e6aa88630 Make it compile 2012-10-04 22:22:00 -04:00
Dawit Alemayehu
61d0fe391b - Renamed a button text from "Change Policy" to "Configure Policy" because it
allows you to either add or modify a new policy from the management dialog.

- Enable/disable the policy domain edit and ok button as needed. The user will
  no longer be allowed to change the domain of existing policies.

- Renamed a couple of UI variable name to refelect their actual purpose.
2012-10-04 20:18:37 -04:00
Dawit Alemayehu
a791edd3d4 Do not crash when global policy is changed and the Apply button is pressed.
BUG: 307831
FIXED-IN: 4.10
2012-10-04 20:18:37 -04:00
Christoph Feck
66ddefe615 SVN_SILENT compile
Thanks for the fast fixes, had to correct this one, please check.
CCMAIL: adawit@kde.org
2012-10-05 01:58:09 +02:00
Dawit Alemayehu
f1ef7f10cd Make the per domain cookie policy configuration dialog refelect any current policy
set for the selected domain.

BUG: 307835
FIXED-IN: 4.10
2012-10-04 18:15:00 -04:00
Dawit Alemayehu
643a84000f Enable change policy button only when the domain entry is clicked.
BUG: 307834
FIXED-IN:4.10
2012-10-04 18:14:59 -04:00
Dawit Alemayehu
d5ec286aa0 Merge branch '4.9' 2012-10-03 15:09:58 -04:00
Frank Reininghaus
0b72170cd5 Fix the hidden "EnlargeSmallPreviews" option
This option, introduced in 99e4eb0f3a, did
not work any more since 2069c20021.

CCBUG: 307522
2012-10-03 10:14:20 +02:00
Gregor Tätzner
1465967cac Use folder-blue instead of user-folder as iconName for unkown icons. 2012-10-02 13:11:20 +02:00
Dawit Alemayehu
930e19b9a7 Added configuration option for accepting cookies until end of session per
globally (default) or per domain. This is the configuration part of the change
that was made to the cookiejar with the following commit:

http://commits.kde.org/kdelibs/ef269fdee33113354776693089c26f73093658a5

BUG:54300
FIXED-IN:4.10
REVIEW:106619
2012-09-30 13:20:29 -04:00
Frank Reininghaus
4dc8ea34c2 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
2012-09-29 19:53:14 +02:00
Script Kiddy
15c66cafb7 SVN_SILENT made messages (.desktop file) 2012-09-29 11:32:51 +02:00
Dawit Alemayehu
b378935733 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
2012-09-28 14:01:21 -04:00
Dawit Alemayehu
bf9448c422 Make the reset button work 2012-09-28 00:55:43 -04:00
Dawit Alemayehu
3eabe8703f Merge branch '4.9' 2012-09-27 17:48:56 -04:00
Vishesh Handa
41007b8873 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 6892d39d29
2012-09-28 02:37:35 +05:30