1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-23 02:32:10 +02:00
Commit Graph

219 Commits

Author SHA1 Message Date
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
54f31237a5 Fix build 2015-10-08 11:49:22 +02:00
David Rosca
83db3c1988 WebPage: Always grant MouseLock permission in fullscreen 2015-10-06 10:58:17 +02:00
David Rosca
db058ff194 Remove use of QNetworkRequest in LoadRequest 2015-10-06 09:46:23 +02:00
David Rosca
3d8b09653f WebView: Clear icon when icon url changes 2015-10-05 22:08:31 +02:00
David Rosca
3050913d21 WebHitTestResult: Fix isContentSelected
Was returning always true on right click
2015-10-05 20:29:38 +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
9cb66878ff Port to Qt 5.6 2015-10-05 17:20:53 +02:00
David Rosca
510f521074 Downloads: Bring back option to choose path / open downloads 2015-10-04 21:00:38 +02:00
David Rosca
e161e45c41 WebPage: Add Q_UNREACHABLE to createWindow(WebBrowserWindow) 2015-10-04 19:51:39 +02:00
David Rosca
6857270057 WebInspector: Fix searching with Ctrl+F in inspector
Don't eat key events so inspector's search function can be used.
2015-10-04 19:44:25 +02:00
David Rosca
102ee62d3d WebView: Enable download link/image/media actions with Qt 5.6 2015-10-04 19:35:02 +02:00
David Rosca
e60daf072b WebPage: Remove disabled form resubmitted warning
Looks like it won't come back in QtWebEngine and it wasn't
really that much useful feature.
2015-10-04 19:22:52 +02:00
David Rosca
7a512918f8 WebView: Prevent handling input events twice
This fixes site info being opened twice when pressing Ctrl+I while
having focus in webview.

This makes the input events handling code very fragile, so let's hope
this won't break anything .. and QtWebEngine won't change the behavior
in following releases.
2015-10-04 19:04:25 +02:00
David Rosca
6ac34f74c1 WebView: Fix loading favicons that are on different hosts than site 2015-10-02 17:05:42 +02:00
David Rosca
7f101700ca WebView: Check for m_clickedUrl.isEmpty() in mouseReleaseEvent 2015-10-02 15:50:29 +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
75fe50ca48 Bring back MouseGestures plugin 2015-10-02 11:14:10 +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
5f6cfdc62a Remove WebView::guessUrlFromString and use QUrl::fromUserInput instead
This also fixes setting homepage and new tab urls in preferences.

Closes #1710
2015-10-01 18:37:45 +02:00
David Rosca
8e39135920 WebView: Clear m_clickedUrl and m_clickedPos in mousePressEvent 2015-10-01 18:16:48 +02:00
David Rosca
aab8f1ea75 WebView: Shift + Left click now opens link in new window
Also handle left clicking on links in mouse release and not click
2015-10-01 17:48:32 +02:00
David Rosca
c68789c217 WebView: Remove unused openNewTab function 2015-10-01 17:37:56 +02:00
David Rosca
5e0ca7fed8 Preferences: Bring back external download manager option 2015-09-30 18:43:58 +02:00
David Rosca
abe13dd22d Cleanups 2015-09-30 15:28:44 +02:00
David Rosca
b24303c00b WebView: Bring back media context menu 2015-09-30 15:26:52 +02:00
David Rosca
d10c47a825 WebView: Don't cache form data when adding create search engine action 2015-09-30 15:05:28 +02:00
David Rosca
6a2579a22c Cleanups
Remove PAC proxy option as it is hardly to ever be supported
in QtWebEngine.
2015-09-30 15:02:10 +02:00
David Rosca
7050ffc9e6 SearchEngines: Bring back creating search engines from forms on page 2015-09-30 14:57:41 +02:00
David Rosca
878c0f93c1 WebHitTestResult: Fix isContentEditable for readonly inputs 2015-09-30 13:38:57 +02:00
David Rosca
1115d02b37 WebView: Hide not working actions in context menu 2015-09-30 13:33:27 +02:00
David Rosca
bfad9eb0aa WebView: Bring back support for unbeforeunload when closing tab 2015-09-30 13:01:14 +02:00
David Rosca
c042d86467 WebPage: Add timeout to execJavaScript 2015-09-30 12:59:53 +02:00
David Rosca
ecfae5512a WebInspector: Fix closing inspector session when opened from popup window 2015-09-29 23:22:33 +02:00
David Rosca
9072cc65c6 WebView: Bring back context menu 2015-09-29 23:15:46 +02:00
David Rosca
4cb9beecc4 WebView: Opening links in tabs now honor user new tab settings 2015-09-29 22:00:09 +02:00
David Rosca
241d7d8e03 WebPage: Add basic support for WebHitTestResult 2015-09-29 21:53:56 +02:00
David Rosca
d4e09d8840 Hack to make input events work 2015-09-29 21:53:19 +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
b0da5ba755 Bring back NetworkManager class 2015-09-29 11:45:39 +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
b2c4064f1b Fix build with NONBLOCK_JS_DIALOGS 2015-09-29 11:30:42 +02:00
David Rosca
2582ee3562 Update expectations for popupwindows test 2015-09-29 11:21:17 +02:00
David Rosca
94bac52e1f Changed CookieManager, SiteInfo and Preferences to QWidget
For some reason, QzTools::setWmClass on SiteInfo resulted
in all webviews turning black.
2015-09-25 22:31:04 +02:00
David Rosca
daee137862 Cleanups in WebView 2015-09-25 20:44:18 +02:00
David Rosca
f0408e9c13 Bring back SiteInfo
Security and Databases tabs are removed. Image previews only
works for local images.
2015-09-25 18:31:05 +02:00
David Rosca
67b5a5337b Another cleanups
Includes enabling again SpeedDial integration in Bookmarks
star icon in locationbar.
2015-09-25 17:02:14 +02:00
David Rosca
de46aad181 Bring back support for excluding tabs when restoring after crash 2015-09-25 15:53:14 +02:00
David Rosca
fc85caff57 Add QWebPage::view() that returns WebView * 2015-09-24 23:00:27 +02:00
David Rosca
02f5e032fc Bring back qupzilla:restore page
For now, it doesn't support selecting which windows/tabs not to
restore. It is only possible to start new session or restore previous.
2015-09-24 22:46:35 +02:00
David Rosca
7e1a0d7720 Another cleanups 2015-09-08 11:24:16 +02:00
David Rosca
496c46d067 Fix saving & restoring tabs with urls hidden in locationbar
That is eg. qupzilla:speeddial
2015-09-06 10:32:47 +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
32a0db31b3 AutoFill: Initial port to QtWebEngine
There are still issues with completing forms in frames
2015-08-31 18:56:52 +02:00
David Rosca
a04efdc0be window.external: Only export speedDial on qupzilla:speeddial 2015-08-31 13:17:14 +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
e83734069b Bring back support for sending POST data
This fixes searching with engines that use POST method
2015-08-30 15:36:34 +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
eec26c9af4 Bring back support for web inspector
QtWebEngine only supports remote web inspector, so this
starts it on port 33417.
2015-08-30 14:44:59 +02:00
David Rosca
1756c51546 Remove remaining RSS code 2015-08-30 10:40:45 +02:00
David Rosca
869e1ff758 Fix QWebChannel connection after restoring history 2015-08-29 19:19:25 +02:00
David Rosca
495ebc785e Don't link to unused Qt modules 2015-08-29 18:32:57 +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
15279a3641 WebView: Don't show source on qrc: scheme 2015-08-28 17:43:44 +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