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
dad94c64a1
Call QtWebEngine::initialize() in main
2015-08-31 21:24:59 +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
fa2779e6b9
Bring back AutoScroll plugin
2015-08-30 21:15:18 +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
44de2b48a0
MsgHandler: Ignore message about starting inspector server
2015-08-30 14:54:43 +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
adea1139b9
StatusBarIcons: Update NetworkIcon to work with QNetworkProxy
...
This should make it work with proxy config in Qt 5.6
2015-08-28 10:58:54 +02:00
David Rosca
43a15ff547
Fix creating new config directory
2015-08-18 10:13:44 +02:00
David Rosca
6a16cff13e
msghandler: Output log context only when not null
2015-08-18 10:12:01 +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
878ed65753
GreaseMonkey: Show script dialog when creating new user script
2015-05-28 10:08:58 +02:00
David Rosca
146fdc953f
GreaseMonkey: Allow userscripts with empty body (just metadata header)
2015-05-28 10:06:41 +02:00
David Rosca
26f0912845
GM_Settings: Add button to create new user script
2015-05-28 10:03:33 +02:00
David Rosca
1c6e9fd036
GM_Script: Parse @updateURL metadata entry
2015-05-28 08:44:16 +02:00
David Rosca
fc606e2019
GreaseMonkey: Don't parse pattern in GM_UrlMatcher
...
Url matching is now done by QtWebEngine
2015-05-28 08:39:33 +02:00
David Rosca
9c7bfb1c94
GreaseMonkey: Fix removing/updating userscripts
2015-05-27 19:48:40 +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
ad86572fff
Bump GreaseMonkey version number
...
GreaseMonkey now works the same (or even better) as with QtWebKit.
The only difference is that GM_setClipboard is not implemented
and GM_value functions are saving only to localStorage.
2015-05-25 11:48:38 +02:00
David Rosca
038e4f5014
GreaseMonkey: Implement GM_ functions for userscripts
2015-05-25 11:47:32 +02:00
David Rosca
f95d46953f
GreaseMonkey: Disable building JSObject
2015-05-25 10:46:30 +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
1387dbef64
Bring back TestPlugin
2015-05-24 21:55:06 +02:00
David Rosca
8f353d7c21
Bring back TabManager plugin
2015-05-24 21:53:12 +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
4bd92d1403
Port StatusBarIcons plugin to QtWebEngine
...
Network icon is disabled.
2015-05-22 18:24:09 +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
David Rosca
deb7251231
KWalletPasswords: Fix KF5 KWallet includes
2015-05-22 17:55:35 +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