1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-15 03:22:11 +01:00
Commit Graph

270 Commits

Author SHA1 Message Date
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
David Rosca
c6aefbbed3
Scripts: Element.tagName can be lowercase
Closes #2616
2018-02-22 16:21:23 +01:00
David Rosca
97a1765b6c
Emit webPageDeleted only from WebView
Closes #2582
2018-02-21 18:56:34 +01:00
David Rosca
dd30a1bc72
WebView: Disable setForceContextMenuOnMouseRelease on Windows
Windows open context menu on mouse release by default.
2018-02-21 18:55:45 +01:00
David Rosca
78cb4f6509
WebView: Immediately delete old page in setPage 2018-02-16 12:38:52 +01:00
David Rosca
ec84df81e0
WebPage: Return early from acceptNavigationRequest when closing app
QtWebEngine is calling this method from qAddPostRoutine function
and it sometimes crashes there in tests on exit.
2018-02-16 11:06:57 +01:00
Anmol Gautam
5152e514a0
Printing to PDF with the page title 2018-02-16 11:06:38 +01:00
David Rosca
9e3423ff9e
WebPage: Make the loadFinished workaround for all Qt 5.10 versions
See #2479
2018-02-16 11:05:53 +01:00
David Rosca
3333b61650
Unregister scheme handler / extra js objects by pointer not name 2018-02-11 11:50:05 +01:00
David Rosca
d8174fb079
More overrides 2018-02-07 12:04:02 +01:00
David Rosca
7bd3b3d5af
WebPage: Workaround changing webchannel world not sometimes working
Closes #2577
2018-02-07 11:23:20 +01:00
David Rosca
e28b2048df
NetworkManager: Add support for "extension://" scheme 2018-02-05 16:47:46 +01:00
David Rosca
01c5397fef
WebTab: Don't set "Loading..." tab text
Instead improve page title from url when title is empty
2018-02-04 16:58:18 +01:00
David Rosca
fa19d97dc4
WebTab: Don't add pinned tabs to tab tree 2018-01-31 21:03:11 +01:00
David Rosca
33b2f0f908
WebView: Try requestedUrl when url is empty in title() 2018-01-31 20:55:44 +01:00
David Rosca
5b7653188b
Track parent tab for WebTab when opening new tabs 2018-01-31 20:55:25 +01:00
David Rosca
f36799a8da
WebView: Correctly transfer loading signals when changing page 2018-01-29 00:21:11 +01:00
David Rosca
e719a959d4
AutoFill: completePage now returns only list of usernames 2018-01-28 15:47:10 +01:00
David Rosca
2a22f61dec
AutoFill: Make it possible to request only usernames from backend 2018-01-28 12:53:59 +01:00