Commit graph

8881 commits

Author SHA1 Message Date
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
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
Pino Toscano
59eee05a15 Merge remote-tracking branch 'origin/KDE/4.9' 2012-10-13 09:27:54 +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
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
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
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
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
Script Kiddy
15c66cafb7 SVN_SILENT made messages (.desktop file) 2012-09-29 11:32:51 +02: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
Dawit Alemayehu
e9dc612501 Do not crash when the apply/ok button is pressed after the defaults button when site specific policies present 2012-09-26 10:28:11 -04:00
Dawit Alemayehu
22dc473663 When user requests to open bookmark urls in a new window or tab, filter the
URLs before opening them.

BUG: 145873
FIXED-IN: 4.9.2
2012-09-23 12:02:15 -04:00
Script Kiddy
05fc2edf54 SVN_SILENT made messages (.desktop file) 2012-09-22 17:32:41 +02:00
Script Kiddy
7a0705a549 SVN_SILENT made messages (.desktop file) 2012-09-07 17:36:27 +02:00
Script Kiddy
860879a925 SVN_SILENT made messages (.desktop file) 2012-09-07 10:37:04 +02:00
Dawit Alemayehu
49031a03c8 Fix commit a2ae800335. :(
Do not attempt to change focus when the active view is not the current one.
Fixes location bar address being changed when opening URLs in a background tab.

(cherry picked from commit 5fa3dbc49f)
2012-09-05 03:24:27 -04:00
Dawit Alemayehu
5fa3dbc49f Fix commit a2ae800335. :(
Do not attempt to change focus when the active view is not the current one.
Fixes location bar address being changed when opening URLs in a background tab.
2012-09-05 03:20:49 -04:00
David Faure
b7be6c1fd1 Fix crash when a part misbehaves and doesn't create a widget.
E.g. I just got this
KonqFrame::attach: The part KWDocument(0x28f5100, name = "document_0") didn't create a widget!
Testcase: konqueror <some .doc document on http>
(possibly with a broken koffice/calligra installation...)
(cherry picked from commit 637c39ae98)
2012-08-28 14:22:15 +02:00
David Faure
637c39ae98 Fix crash when a part misbehaves and doesn't create a widget.
E.g. I just got this
KonqFrame::attach: The part KWDocument(0x28f5100, name = "document_0") didn't create a widget!
Testcase: konqueror <some .doc document on http>
(possibly with a broken koffice/calligra installation...)
2012-08-28 14:21:47 +02:00
Dawit Alemayehu
297b5a183c Avoid unnecessary call to emitActivePartChanged in showTab. The call to
KonqFrameTabs::setCurrentIndex already takes care of that for us.
2012-08-26 19:46:47 -04:00
Dawit Alemayehu
a2ae800335 Fix for the issue where the focus goes to the location bar when opening a link
in new foreground tab.

BUG: 304865
BUG: 304933
FIXED-IN: 4.9.1
REVIEW: 105984
2012-08-26 19:46:47 -04:00
Dawit Alemayehu
ba9f98d622 Avoid unnecessary call to emitActivePartChanged in showTab. The call to
KonqFrameTabs::setCurrentIndex already takes care of that for us.
2012-08-26 19:44:17 -04:00
Dawit Alemayehu
55c0f6baf9 Fix for the issue where the focus goes to the location bar when opening a link
in new foreground tab.

BUG: 304865
BUG: 304933
FIXED-IN: 4.9.1
REVIEW: 105984
2012-08-26 19:44:17 -04:00
Martin Koller
265b1a5118 elide completion entries in the middle
The completion list did show the URLs as right-elided entries,
which is not optimal.
For filenames and man pages at least middle-elide is much more sensible.
BUG: 111821
FIXED-IN: 4.9.1
REVIEW: 106183
2012-08-26 12:23:38 +02:00
Martin Koller
dffa8b2aee elide completion entries in the middle
The completion list did show the URLs as right-elided entries,
which is not optimal.
For filenames and man pages at least middle-elide is much more sensible.
BUG: 111821
FIXED-IN: 4.9.1
REVIEW: 106183
2012-08-26 12:21:39 +02:00
Martin Koller
4a6e5ee19b strip line breaking characters from URL on text input
This patch removes line-breaking chars when an URL is entered.
Very handy if you paste URLs from e.g. an email which shows
the complete URL broken into multiple lines.
BUG: 159002
FIXED-IN: 4.9.1
REVIEW: 106184
2012-08-26 12:18:56 +02:00
Martin Koller
38fda3bf75 strip line breaking characters from URL on text input
This patch removes line-breaking chars when an URL is entered.
Very handy if you paste URLs from e.g. an email which shows
the complete URL broken into multiple lines.
BUG: 159002
FIXED-IN: 4.9.1
REVIEW: 106184
2012-08-26 12:15:49 +02:00
Script Kiddy
60d386dc75 SVN_SILENT made messages (.desktop file) 2012-08-23 15:39:18 +02:00
Script Kiddy
9e8ed7af1e SVN_SILENT made messages (.desktop file) 2012-08-23 03:12:24 +02:00
Martin Koller
d340e07534 avoid duplicate entries in konqueror address completion list
history list is added to completion list giving duplicates.
Avoid this by removing duplicates

BUG: 144751
FIXED-IN: 4.9.1
2012-08-17 21:10:00 +02:00
Martin Koller
7d1f76d3d7 avoid duplicate entries in konqueror address completion list
history list is added to completion list giving duplicates.
Avoid this by removing duplicates

BUG: 144751
FIXED-IN: 4.9.1
2012-08-17 21:02:23 +02:00
Dawit Alemayehu
cf5d5ace49 Fix a long standing security issue with the hiding of Konqueror's location (address)
bar through javascript.

This commit changes how a request to create a new window with all its toolbars hidden
is handled. Namely, the toolbar that contains the address input widget will no longer
be hidden by default. The user can explicitly enable the ability to hide the location
bar by adding the following config option to Konqueror's config file (konquerorrc):

[DisableWindowOpenFeatures]
LocationBar=false

REVIEW: 105749
2012-08-11 11:50:25 -04:00
Dawit Alemayehu
97457b5fb6 Fixed the display of the security sheild icon for SSL sites.
REVIEW: 105805
2012-08-11 11:50:24 -04:00
Script Kiddy
ba94adb39c SVN_SILENT made messages (.desktop file) 2012-08-10 17:24:32 +02:00
Script Kiddy
49664470eb SVN_SILENT made messages (.desktop file) 2012-08-10 12:09:12 +02:00
Script Kiddy
344a215690 SVN_SILENT made messages (.desktop file) 2012-08-07 18:26:07 +02:00
Dawit Alemayehu
5caef5d84f Fix a long standing security issue with the hiding of Konqueror's location (address)
bar through javascript.

This commit changes how a request to create a new window with all its toolbars hidden
is handled. Namely, the toolbar that contains the address input widget will no longer
be hidden by default. The user can explicitly enable the ability to hide the location
bar by adding the following config option to Konqueror's config file (konquerorrc):

[DisableWindowOpenFeatures]
LocationBar=false

REVIEW: 105749
2012-08-03 14:03:41 -04:00
Dawit Alemayehu
89b1c2deec Fixed the display of the security sheild icon for SSL sites.
REVIEW: 105805
2012-08-03 14:03:34 -04:00
Script Kiddy
603b764da9 SVN_SILENT made messages (.desktop file) 2012-08-03 11:36:00 +02:00