David Rosca
b87ccf714c
Fix all override warnings
2019-03-01 17:08:50 +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
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
e6601baf1f
WebPage: Add supportedSchemes()
2018-03-16 15:31:07 +01:00
David Rosca
d3ebe40e8f
Replace signals/slots with Q_SIGNALS/Q_SLOTS
2018-02-25 13:33:07 +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
2a22f61dec
AutoFill: Make it possible to request only usernames from backend
2018-01-28 12:53:59 +01:00
David Rosca
b0117c799b
WebPage: Add navigationRequestAccepted signal
2018-01-24 15:14:13 +01:00
David Rosca
4f0c30c5c7
Add support for window.print()
...
Closes #2509
2018-01-13 16:42:03 +01:00
David Rosca
e73bf22aa9
WebView: Call acceptNavigationRequest before loading urls
...
Closes #2544
2018-01-13 10:15:30 +01:00
David Rosca
4bf85ee3cb
WebPage: Register QWebChannel on isolated ApplicationWorld
...
This way scripts on pages don't have access to it.
Exception is qupzilla: scheme as internal pages requires the bridge.
GreaseMonkey userscripts now runs on ApplicationWorld too. This fixes
userscript that depend on script world being isolated from main page world.
Tested with 4ChanX + OneeChan.
2018-01-11 19:55:01 +01:00
David Rosca
287631d37b
WebPage: Remove setJavaScriptEnabled method
2018-01-11 19:50:13 +01:00
David Rosca
642d835d55
WebPage: Disable writing JavaScript warnings on stderr
...
Can be enabled with QUPZILLA_ENABLE_JS_OUTPUT environment variable.
2018-01-11 19:40:43 +01:00
David Rosca
ff1171abf0
AdBlock: Make it as self-contained as possible
...
It could be easy now to turn it into real loadable plugin.
2018-01-11 19:36:32 +01:00
David Rosca
d00e769749
Initial rename to Falkon
2017-08-25 17:32:32 +02:00
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