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

1723 Commits

Author SHA1 Message Date
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
748e6ce020 Ported all X11 specific code to xcb
It now also runtime checks for X11 platform, so it should
work on Wayland without recompilation;
2015-09-25 22:08:09 +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
a115d91564 Remove Caret Browsing option
No longer available with QtWebEngine
2015-09-25 17:45:47 +02:00
David Rosca
ced9c8553c SearchEngines: Bring back support to add engine from page 2015-09-25 17:41:46 +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
f4fb888529 QzTools: Add pixmapToDataUrl() 2015-09-25 16:04:12 +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
a9d0e79eeb RecoveryJsObject: Use safer method to get BrowserWindow from WebPage 2015-09-24 23:08:55 +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
8a6d083114 SearchToolBar: Don't make shortcuts translatable 2015-09-24 19:43:31 +02:00
David Rosca
cde3ed179b Always show restore page when starting after crash 2015-09-24 19:37:40 +02:00
David Rosca
37cd709b7f Fix typo 2015-09-24 19:37:15 +02:00
David Rosca
5467f9643e SpeedDial: Fix updating options values in settings 2015-09-24 18:32:10 +02:00
David Rosca
ca6c20497f SpeedDial: Fix center speed dials option 2015-09-24 17:58:25 +02:00
Philipp Wiesemann
3849fed838 Fix not closing files from /proc/ on read errors
The cmdline files opened from /proc/ were not closed if reading the data
from them failed (e.g. because the file was empty). This leaked the file
descriptor which could lead to failures trying to open more files later.
2015-09-11 22:00:51 +02:00
David Rosca
8521b782bd CommandLineOptions: Port to QCommandLineParser
This comes with removing all 2-chars short options,
only long options are now available.
That means there are no longer both "-nw, --new-window" options,
only "--new-window".
2015-09-09 23:37:43 +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
7c4d44aa54 SpeedDial: Fix saving settings without changing dials
Closes #1689
Closes #1680
2015-09-05 21:12:54 +02:00
David Rosca
328ab40304 SpeedDial: Fix setting background image 2015-09-05 21:08:44 +02:00
David Rosca
50b9dd9023 Bookmarks: Fix bookmarksSelected signal
Regression from recent commits
2015-08-31 22:26:13 +02:00
David Rosca
5b161b74be SearchToolbar: Add Ctrl+G and Ctrl+Shift+G shortcuts
Closes #1688
2015-08-31 22:21:20 +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
86a4f3d724 Remove support for transparent background 2015-08-31 21:40:08 +02:00
David Rosca
9d3769c8e6 AutoFill: Save credentials from dynamically created forms
Closes #999
2015-08-31 20:49:49 +02:00
David Rosca
2e6b9b7fce Scripts: Use document.createEvent instead of new Event 2015-08-31 19:58:42 +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
19f1ed6bfb Scripts: Register window.external to all frames
It seems that only one QWebChannel connection per page
is supported, so we need to forward window.external to
all subframes.
2015-08-31 12:44:08 +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
bdd5dee361 SearchToolBar: Fix updating search when changing case sensitivity 2015-08-30 10:57:08 +02:00
David Rosca
2466f790bc SearchToolBar: Don't select text when searching on page 2015-08-30 10:56:58 +02:00
David Rosca
1756c51546 Remove remaining RSS code 2015-08-30 10:40:45 +02:00
David Rosca
20c7b3f57b PageThumbnailer: Delay creating thumbnail by 1 sec after loaded 2015-08-30 10:33:10 +02:00
David Rosca
db888e2b2f SpeedDial: Minor design fixes 2015-08-29 19:40:49 +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
ef71be2a0e Scripts: Only emit created Event when external is not null 2015-08-29 18:22:45 +02:00
David Rosca
832bd37114 SpeedDial: Implement loading page thumbnails
QWebEngineView must be visible in order to grab page contents, so
loading thumbnails is creating a new background window that is loading
the page.
2015-08-28 20:55:10 +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
David Rosca
43a15ff547 Fix creating new config directory 2015-08-18 10:13:44 +02:00
David Rosca
f35f17fa96 Link explicitly to x11extras 2015-08-18 09:56:17 +02:00
David Rosca
e5ec3cea90 Revert [AdBlock] Add Malware Domain List and Malware domains subscription
This reverts commits 7c66b3176c and
2f2d2850cd
2015-08-01 18:10:09 +02:00
Peter Dave Hello
2f2d2850cd [AdBlock] Add "Malware domains" subscription 2015-07-11 21:16:10 +08:00
Peter Dave Hello
7c66b3176c [AdBlock] Add "Malware Domain List" subscription 2015-07-11 21:16:05 +08:00
Peter Dave Hello
cc58aa49f8 [AdBlock] Add "Anti-Adblock Killer" subscription 2015-07-11 21:14:51 +08:00
David Rosca
a745e4776f Fix build with Qt 5.5rc 2015-06-24 10:46:57 +02:00
David Rosca
f747ce3e9d Use better fallback for styleName() when proxy style is null 2015-06-11 21:11:10 +02:00
David Rosca
a0b84a5cd3 TabBar: Don't use ProxyStyle directly 2015-06-11 21:10:47 +02:00
David Rosca
0723deb2fc SearchToolbar: Remove "Highlight" option
It is no longer available with QWebEngine.
Also rewrite callback to use lambda instead of invoke wrapper.
2015-06-10 11:08:32 +02:00
David Rosca
406f522c61 WebPage: Implement certificateError 2015-06-09 18:36:57 +02:00
David Rosca
b30b25b254 WebPage: Implement chooseFiles 2015-06-09 18:10:22 +02:00
David Rosca
2d6ba21c03 AdBlockIcon: Set minimum size
See #1655
2015-05-28 11:15:51 +02:00
David Rosca
458c131170 AdBlockRule: Disable copy
Closes #1654
2015-05-28 11:15:43 +02:00
David Rosca
431610215d AdBlock: Bring back domain specific element hiding rules 2015-05-27 19:17:29 +02:00
David Rosca
c75eb32367 Bring back support for user style sheet
This also means that AdBlock global hiding rules are
working again.
2015-05-27 18:48:45 +02:00
David Rosca
bb995d7984 Fix some warnings 2015-05-25 10:39:39 +02:00
David Rosca
e825f0268b Bring back GreaseMonkey
Everything seems to work just fine. The only thing that doesn't
work now are GM_setValue and GM_getValue functions.
2015-05-24 23:16:01 +02:00
David Rosca
b83c845bab PluginInterface: Replace createRequest with acceptNavigationRequest 2015-05-24 21:41:09 +02:00
David Rosca
7d9a07b379 Bring back show source support (using view-source: url) 2015-05-24 21:28:45 +02:00
David Rosca
b6fcfba09a SpeedDial: First try to port it to QtWebEngine
It now just loads the page, but it does not even correctly
shows all the dials.
2015-05-24 20:49:50 +02:00
David Rosca
89dedf0a0e Bring back qupzilla: scheme pages 2015-05-24 20:41:49 +02:00
David Rosca
406e0f670a Downloader: Drop code for FTP downloads
FTP listing and downloading is now supported by QtWebEngine itself
2015-05-24 19:27:53 +02:00
David Rosca
278b725571 Bring back support for downloading files
All files are now automatically downloaded to the specified
directory. Due to QtWebEngine API changes, it is not possible
to ask user where to save the file.
2015-05-24 19:22:32 +02:00
David Rosca
6da67fc53d Correctly create off-the-record profile for private browsing 2015-05-24 17:29:41 +02:00
David Rosca
f90a40836c PopupWindows: Port to QtWebEngine
It now correctly detects when to open tabs and when to open
popup windows.
Support for opening new browser windows is not yet implemented.
2015-05-22 23:57:24 +02:00
David Rosca
e854afb5d3 TabbedWebView: Bring back showing hovered link url in statusbar 2015-05-22 23:30:51 +02:00
David Rosca
286c714593 WebPage: Bring back windowCloseRequested support 2015-05-22 23:30:26 +02:00
David Rosca
014d0d50ab WebPage: Port feature permission notifications to QtWebEngine
Currently there are missing icons for new permission types
2015-05-22 23:18:25 +02:00
David Rosca
bbc7628de0 Implement changing custom user agent
Per-domain user agent is however not working
2015-05-22 22:00:06 +02:00
David Rosca
c08a584333 Set correct paths for cache and persistent data
Also disable persistent data storage when in private mode
2015-05-22 21:49:00 +02:00
David Rosca
05fcc35658 Fix build with Qt 5.5
Also enable plugins: FlashCookieManager, Gnome and KWallet passwords.
2015-05-22 18:14:16 +02:00
Jonathan Hooverman
610dd28ae1 Removed outdated AdBlock Fanboy subscription, closes #1637 2015-04-23 20:23:07 +02:00
Javier Llorente
3a8b0a1d86 change wording from 'on this site' to 'for this site' 2015-04-17 16:36:20 +02:00
David Rosca
8d34cbc02e SuperMenu: Fix enabling Select All and Find actions 2015-04-09 20:07:56 +02:00
Javier Llorente
44af6ef806 fix for bug #1625 2015-03-19 23:22:05 +01:00
David Rosca
8d7cfb0e2a Remove some Qt 4 specific code 2015-02-26 12:17:47 +01:00
David Rosca
7f27f95a1a Fix build 2015-02-08 11:52:09 +01:00
David Rosca
e3deb6cfd5 More cleanups + remove now unusued WebHistoryInterface 2015-02-08 11:51:19 +01:00
David Rosca
226c721d57 BrowserWindow: Remove static WEBKITVERSION 2015-02-08 11:45:15 +01:00
David Rosca
f366dbd11f Encoding: Make character encoding menu working again 2015-02-08 11:42:01 +01:00
David Rosca
8c068b1f87 Preferences: Fix font settings 2015-02-08 11:38:38 +01:00
David Rosca
e4852e7d88 MainApp: Fix loading fonts settings 2015-02-08 11:32:00 +01:00
David Rosca
b94135ead5 WebView: Implement icon loading 2015-02-08 11:13:12 +01:00
David Rosca
41d9c418e9 lib: Enable C++11 2015-02-08 11:09:53 +01:00
David Rosca
f67348fac8 TabWidget: Don't try to load empty url when adding a tab
Fixes showing titles of other tabs when restoring session
2015-02-08 10:10:36 +01:00
David Rosca
72438755a2 AboutDialog: Show QtWebEngine version
For now, it will only show version of Qt
2015-02-08 09:55:11 +01:00
David Rosca
81639ea923 Port settings to use QWebEngineSettings 2015-01-27 12:15:00 +01:00
David Rosca
60b2386a6e Initial port to QtWebEngine
This is first quick port to QtWebEngine, most of advanced features
are not working yet. Please read README.

For now, it will use separate profile directory as well as browser
session, that means you can use both QtWebEngine and QtWebKit versions
at the same time.
2015-01-27 11:01:52 +01:00