David Rosca
5e6f92f7bc
OcsSupport: Add initial support for downloading themes/extensions
2019-04-18 16:25:27 +02:00
Anmol Gautam
a154ef5480
fix context menu on falkon:speeddial
...
Summary: Function addSpeedDial and others are not in scope so they didn't worked when called via javascript. So, I have removed the anonymous function which is wrapping those functions.
Reviewers: drosca
Reviewed By: drosca
Subscribers: falkon
Tags: #falkon
Differential Revision: https://phabricator.kde.org/D19564
2019-03-06 21:40:39 +05:30
David Rosca
b87ccf714c
Fix all override warnings
2019-03-01 17:08:50 +01:00
David Rosca
bf9b7667f7
Fix build with QtWebEngine < 5.11
2019-03-01 16:26:16 +01:00
David Rosca
b508ed2260
WebHitTestResult: Expect null href attribute
...
Patch by Eugene Shalygin
BUG: 404320
2019-02-14 08:44:42 +01:00
David Rosca
db9d506cf5
Add support for Navigator.registerProtocolHandler()
...
It is now possible to eg. register webmail to handle mailto:
links.
If a site asks to register protocol handler, it will be available
in site info widget (right click on web icon in location bar).
Requires QtWebEngine >= 5.11
BUG: 403183
FIXED-IN: 3.1.0
2019-01-28 17:54:43 +01:00
David Rosca
b9c4a92aef
Fix coding style
2019-01-26 13:53:41 +01:00
David Rosca
6678a98d91
WebHitTestResult: Trim value of src/href attributes
...
BUG: 403619
FIXED-IN: 3.1.0
2019-01-26 12:29:57 +01:00
David Rosca
0bb78c8501
WebView: Use Qt::Back/ForwardButton instead of XButton1/2
2019-01-26 10:38:23 +01:00
David Rosca
ab43af9958
WebView: Fix detecting rwhvqt change with QtWebEngine 5.12
...
BUG: 402805
FIXED-IN: 3.1.0
2019-01-26 10:38:23 +01:00
David Rosca
25a6008e6d
WebPage: Fix scroll to anchor workaround to also look for element ids
...
BUG: 402836
FIXED-IN: 3.1.0
2019-01-24 15:36:02 +01:00
Laurent Montel
4de3e4c703
Fix some clazy warnings
2019-01-08 13:28:02 +01:00
David Rosca
7429d1d8ef
WebPage: Add basic support for client certificates
...
It will now always selects first available client certificate.
Requires QtWebEngine 5.12
2018-12-25 11:52:38 +01:00
David Rosca
38ea9974b4
Revert "Change minimum Qt version to 5.10"
...
This reverts commit 19cce0c838
.
2018-12-25 11:21:06 +01:00
David Rosca
5fd9cb92ee
Use QWebEnginePage::printRequested with QtWebEngine 5.12
2018-12-25 11:02:13 +01:00
David Rosca
19cce0c838
Change minimum Qt version to 5.10
2018-12-25 10:43:05 +01:00
David Rosca
cba7f32666
WebTab: Fix size of web inspector in splitter
...
BUG: 397596
FIXED-IN: 3.1.0
2018-12-24 20:58:05 +01:00
David Rosca
d25c34901c
Use QTWEBENGINEWIDGETS_VERSION for determining QtWebEngine version
2018-12-12 18:57:56 +01:00
David Rosca
7b2ff16004
Merge branch 'Falkon/3.0'
2018-06-12 09:14:26 +02:00
David Rosca
9f0f688ee8
Use QTWEBENGINE_VERSION instead of QT_VERSION
...
Fixes build against separate QtWebEngine releases.
2018-06-12 09:10:02 +02:00
David Rosca
0f1c46d0e7
Merge branch 'Falkon/3.0'
2018-05-26 20:13:17 +02:00
David Rosca
42f70c5252
Add missing config.h include for HAVE_QTWEBENGINE_5_10 define
2018-05-26 20:09:39 +02:00
David Rosca
148d2d94c1
Use QTWEBENGINE_VERSION instead of QT_VERSION
...
Allows to build against separate QtWebEngine releases.
2018-05-14 13:53:05 +02:00
David Rosca
e01024942f
Merge branch 'Falkon/3.0'
2018-05-14 13:32:58 +02:00
Kevin Kofler
d06a0d60e0
Fix the fix for #391300 to require only QtWebEngine 5.10, not Qt 5.10
...
QtWebEngine can be newer than the rest of Qt (e.g., on Fedora 27).
This fixes the version check in WebView::savePageAs to use a macro
defined in config.h.cmake based on the version of QtWebEngineWidgets
rather than relying on QT_VERSION, which is the version of QtCore.
Reviewed By: drosca
Differential Revision: https://phabricator.kde.org/D12833
CCBUG: 391300
2018-05-12 13:29:39 +02:00
David Rosca
94eb3161af
Merge branch 'Falkon/3.0'
2018-05-01 13:10:31 +02:00
David Rosca
3787a606d3
Rewrite internal sites to use user scripts instead of embedded code
...
It is no longer needed to setup web channel on unsafe js world
for internal pages, and thus it fixes issue where registering web
channel could fail in some cases.
BUG: 391875
FIXED-IN: 3.0.1
2018-05-01 13:02:46 +02:00
David Rosca
a5ba6df966
Merge branch 'Falkon/3.0'
2018-04-22 18:55:29 +02:00
David Rosca
ad2466f2fa
WebView: Fix finding correct rwhvqt
...
Focus proxy is actually set only after adding it to the layout, so without
the timer it would pick old rwhvqt.
BUG: 393398
2018-04-22 18:53:49 +02:00
David Rosca
1290354f14
Use QOverload::of instead of qOverload
...
Fixes build with MSVC
BUG: 393395
2018-04-22 16:51:05 +02:00
David Rosca
f61a957ca0
Merge branch 'Falkon/3.0'
2018-04-22 15:52:34 +02:00
David Rosca
9f0817ca71
WebView: Fix finding rwhvqt with QtWebEngine 5.11
2018-04-22 15:51:58 +02:00
David Rosca
1d74b41420
WebView: Don't prevent tabbing out of webview with QtWebEngine 5.11
...
QTBUG-67043 which caused losing focus is now fixed.
2018-04-22 15:33:43 +02:00
David Rosca
751ef3988d
Merge branch 'Falkon/3.0'
2018-04-11 18:34:00 +02:00
David Rosca
17d45d718c
WebPage: Use load finished workaround unconditionally
...
It seems to be broken, again, with QtWebEngine 5.11.
BUG: 392885
FIXED-IN: 3.0.1
2018-04-11 18:32:12 +02:00
David Rosca
b0b4b2b268
Merge branch 'Falkon/3.0'
2018-03-31 12:18:23 +02:00
David Rosca
93af3896ee
WebView: Use direct url download when contents is not web page
...
Directly download file when contents is not a web page, eg. image,
text file, video, ...
Requires building against QtWebEngine 5.10.
CCBUG: 391300
2018-03-31 12:17:41 +02:00
David Rosca
d7dc9ba9f6
WebView: Don't show "Show image" action when showing image
2018-03-31 11:06:28 +02:00
David Rosca
954cfeefd6
WebView: Only show source code action on supported schemes
2018-03-16 15:34:27 +01:00
David Rosca
e6601baf1f
WebPage: Add supportedSchemes()
2018-03-16 15:31:07 +01:00
David Rosca
d58029363b
Merge branch 'Falkon/3.0'
2018-03-13 18:44:51 +01:00
David Rosca
674a0e78f6
WebView: Workaround QtWebEngine issue where webview loses focus
2018-03-13 18:44:28 +01:00
David Rosca
89dd68f1dd
Remove ButtonBox, Widget and ResizableFrame classes
2018-03-01 19:37:42 +01:00
David Rosca
48ca42d645
WebInspector: Don't require remote debugging with QtWebEngine 5.11
2018-03-01 15:53:02 +01:00
Jonathan Riddell
05acda3da3
Merge branch 'Falkon/3.0'
2018-02-28 17:00:08 +00:00
David Rosca
84dd402de5
WebView: Don't clear history when navigatin from speed dial
...
QWebEngineView loses focus when clearing history, so when opening
new tab with speed dial and navigating to other page from location bar
it would give focus back to location bar.
BUG: 391228
FIXED-IN: 3.0.1
2018-02-28 16:04:04 +01:00
David Rosca
5d4333a3e4
WebView: Remove translate, dictionary and validate actions
...
They should be moved into extension instead.
BUG: 391204
FIXED-IN: 3.1.0
2018-02-28 10:41:25 +01:00
David Rosca
4d2f02ac45
Remove option to change language on per-profile basis
...
System locale is now always used.
2018-02-26 21:52:39 +01:00
David Rosca
d3ebe40e8f
Replace signals/slots with Q_SIGNALS/Q_SLOTS
2018-02-25 13:33:07 +01:00
David Rosca
a89a9a8ddc
WebView: Add support for changing default background color
...
BUG: 390316
2018-02-24 18:00:53 +01:00