1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 17:42:10 +01:00
Commit Graph

37 Commits

Author SHA1 Message Date
David Rosca
3ec6ffa5c9 WebPage: Remove no longer used m_adjustingScheduled 2017-05-29 17:05:28 +02:00
David Rosca
f20d421113 Merge branch 'v2.1' 2017-03-15 13:29:24 +01:00
David Rosca
486b8f4c7d Workaround QWebEnginePage not scrolling to anchors when opened in background tab
Closes #2242
2017-03-15 13:11:27 +01:00
David Rosca
8a942e2e73 WebView: Remove QWebChannel resetting workaround
It was fixed while ago in Qt
2017-02-06 20:45:28 +01:00
David Rosca
5f0f520a45 WebPage: Remove now unused scheduleAdjustPage 2017-02-06 20:44:27 +01:00
David Rosca
6b39dc9cf0 WebPage: Remove no longer needed copies of runJavaScript functions 2017-02-06 20:43:40 +01:00
David Rosca
8fa9db9f65 Show print preview dialog when printing page
Print directly to QPrinter instead of using intermediate pdf file.
2017-02-06 20:40:40 +01:00
David Rosca
0ca133bfaf Always use QPointF for positions on webpage
Also take zoom into account when setting scroll position
2016-12-27 11:58:29 +01:00
David Rosca
4d51b4c00c Use WebPage::SaveJsWorld for executing scripts
QWebChannel must still be registered on MainWorld
2016-12-26 16:45:47 +01:00
David Rosca
64b48f6899 Use native scrollbars for main scrollbars
Use native widgets to render main scrollbars (scrollbars of the
main webview widget, not iframes etc).

It makes the scrollbars on body element invisible and instead draws
native widgets on the space for scrollbars.

Comes with possibility to disable it, enabled by default.
2016-12-26 12:39:36 +01:00
David Rosca
cf3fa88942 Require Qt 5.7 2016-10-24 20:11:50 +02:00
David Rosca
f0e2b938ba Don't use QWebEngineScript::ApplicationWorld with Qt 5.7
It doesn't work because js on qupzilla: pages runs in MainWorld.

Closes #2015
2016-06-27 12:58:26 +02:00
David Rosca
c004d52db1 Run js code in ApplicationWorld with QtWebEngine 5.7 2016-05-10 10:47:35 +02:00
David Rosca
d8682ff51d WebHitTestResult: Map position to page viewport coords
Closes #1927
2016-04-06 17:22:44 +02:00
David Rosca
9ed3554835 Fix build with latest Qt 5.6 2015-12-08 11:27:06 +01:00
David Rosca
de20021f10 Fix build with latest QtWebEngine 5.6 2015-10-22 14:44:41 +02:00
David Rosca
0fade63d86 WebPage: Add page to display when render process crashes 2015-10-14 16:19:54 +02:00
David Rosca
03399c7b2c Use acceptNavigationRequest to handle abp: urls
QtWebEngine now sends external urls through acceptNavigationRequest
so it is no longer needed to install scheme handler.
2015-10-08 22:39:27 +02:00
David Rosca
150252aea9 Don't store blocked entries in WebPage
It is not possible in this way with QtWebEngine
2015-10-05 20:23:10 +02:00
David Rosca
949faa5856 Add support for HTML FullScreen
Esc is used to leave fullscreen
2015-10-05 18:08:14 +02:00
David Rosca
4d5808d915 Bring back AutoScroll plugin
This time implemented in C++ and not with userscript. There
is also no support for scrolling inside frames.
2015-10-02 15:36:07 +02:00
David Rosca
800cc14dcd Bring back support for searching one-word terms from locationbar 2015-10-01 19:25:55 +02:00
David Rosca
abe13dd22d Cleanups 2015-09-30 15:28:44 +02:00
David Rosca
c042d86467 WebPage: Add timeout to execJavaScript 2015-09-30 12:59:53 +02:00
David Rosca
241d7d8e03 WebPage: Add basic support for WebHitTestResult 2015-09-29 21:53:56 +02:00
David Rosca
ab75170f85 Move authentication + cert error functionality to NetworkManager
Certificate exceptions only works per-session.
2015-09-29 16:19:11 +02:00
David Rosca
f3fda02820 WebPage: Remove unusued QSslCert functionality
Also bring back indication of secured pages.
2015-09-29 11:37:17 +02:00
David Rosca
fc85caff57 Add QWebPage::view() that returns WebView * 2015-09-24 23:00:27 +02:00
David Rosca
ff28f1f211 Another cleanup
- bring back support for Speed Dial Ctrl shortcuts
 - bring back support for one key shortcuts
2015-08-31 22:14:45 +02:00
David Rosca
758fd6c687 Fix all build warnings 2015-08-30 17:42:58 +02:00
David Rosca
1683d5aaaf Fix crash when creating window from PopupWindow 2015-08-30 16:53:51 +02:00
David Rosca
b53bf49f75 Old code cleanup 2015-08-30 15:52:15 +02:00
David Rosca
32ea932654 WebPage: Don't write JS console messages to standard output
There is now support for web inspector, so this is not needed
anymore.
2015-08-30 14:46:23 +02:00
David Rosca
869e1ff758 Fix QWebChannel connection after restoring history 2015-08-29 19:19:25 +02:00
David Rosca
fc204b3b46 SpeedDial: Fix to work with QWebChannel
Page thumbnails are not yet implemented, otherwise it more or less
works.
2015-08-28 19:25:45 +02:00
David Rosca
a672771cef WebPage: Remove isPointerSafeToUse hack
Pointers are no longer stored as void* in network requests
2015-08-28 16:18:05 +02:00
David Rosca
b9d5851ef5 Renamed src/webkit -> src/webengine 2015-08-28 16:17:29 +02:00