David Rosca
730577c0e4
BrowserWindow: showWebInspector -> toggleWebInspector
...
Using the Web Inspector action while inspector is already visible
will close it.
2015-09-29 23:35:16 +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
f448bba885
Fix previous commit
2015-09-29 16:37:22 +02:00
David Rosca
6e6f934535
Fix emitting changed() in TabWidget
...
TabbedWebView::changed() is no longer used, connect to urlChanged directly
2015-09-29 16:31:23 +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
fcaa2b4559
EncodingMenu: Fix showing duplicate codecs in other menu
...
Also use alphanumeric sorting with QCollator
2015-09-29 11:14:20 +02:00
David Rosca
16b28a3a90
Preferences: Remove not working options
...
Also fix disabling local cache
2015-09-29 10:55:24 +02:00
David Rosca
5ba8f4dbb6
ProfileManager: Make appropriate functions static
2015-09-28 20:44:15 +02:00
David Rosca
24de161ad1
DataPaths: Use XDG paths + add Cache path
...
Also drop support for old deprecated config paths.
Closes #1411
2015-09-28 20:41:01 +02:00
David Rosca
7adc31337b
Make afterLaunch settings enum
2015-09-28 14:51:38 +02:00
David Rosca
f28da4407f
Remove pinnedtabs.dat on startup, not when saving session
2015-09-28 14:34:21 +02:00
David Rosca
6d37ab5ce4
Save pinned tabs per window if restoring session on start
...
No more pinned tabs restoring on wrong window. Also it is now possible
to have different pinned tabs on each window.
2015-09-27 18:54:19 +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
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
David Rosca
04d4555b47
Don't duplicate convertUrlToText function in WebView
2015-01-21 12:38:12 +01:00
David Rosca
b75e8a8451
Actually, this is much better solution to previous commit.
2015-01-21 12:32:41 +01:00
David Rosca
7384ed2685
Fix searching for strings with non-ascii characters from locationbar
...
Closes #1587
2015-01-21 12:21:54 +01:00
David Rosca
744a1d15be
Merge pull request #1577 from gzsombor/master
...
Add 'Block domain' button to the cookie manager
2015-01-20 23:45:14 +01:00
David Rosca
841c956262
Merge pull request #1572 from pejakm/prof_fix
...
Correct profile path. Fixes #1570
2015-01-20 23:44:29 +01:00
Zsombor Gegesy
e81cbb167a
Add 'Remove and block domain' button to the cookie manager
2015-01-20 11:00:16 +01:00
David Rosca
80dd3a8f85
Revert "Add option to completely disable SSLv3"
...
This reverts commit a640948c3b
.
QSsl::SecureProtocols is default value and it already
disables SSLv3 in Qt 5
Closes #1579
2015-01-12 21:11:12 +01:00
David Rosca
26ca447d91
Revert "Use TLS 1.2 with Qt 5 when disabling SSLv3"
...
This reverts commit 0ccc759e1f
.
2015-01-12 21:11:03 +01:00
David Rosca
509a79d987
New year 2015
2015-01-01 12:08:46 +01:00
David Rosca
42ebb227c6
BookmarksModel: Use internalPointer when passing mimedata
...
internalPointer() is the same as internalId(), which means
that it actually is not safe to use them.
But for now, this at least fixes crashes on FreeBSD and works
quite well in most cases.
Closes #1565
2014-12-31 10:19:14 +01:00
Mladen Pejaković
fbc7c73616
Update fix
2014-12-30 14:51:36 +01:00
David Rosca
dc5dafbe9a
Fix build with Qt 4
2014-12-30 14:43:37 +01:00
David Rosca
952196b2e9
BookmarksModel: Correctly store QModelIndex::internalId in data stream
...
See #1565
2014-12-30 14:25:02 +01:00
David Rosca
d864a14fa6
Merge pull request #1563 from oshi-shinobu/master
...
Added CTRL+L shortcut to clear download list
2014-12-30 13:25:11 +01:00
Nobody Really
af541a787e
Added CTRL+l shortcut to clear download list
2014-12-30 12:46:12 +01:00
David Rosca
01b0491c5b
Merge pull request #1569 from srazi/FTP-handle-text-html
...
FTP: Don't prompt to download text files,
2014-12-30 11:04:52 +01:00
S. Razi Alavizadeh
9591754027
WebPage: Download unsupported content from FTP protocol.
2014-12-29 21:59:08 +03:30
Mladen Pejaković
b86081cb66
Correct profile path. Fixes #1570
2014-12-29 18:28:14 +01:00
David Rosca
c1901cd81d
Don't try to load translations for C locale
2014-12-27 12:32:16 +01:00
S. Razi Alavizadeh
3511e0401b
RTL, dir list page: Fixed position of dir-up button in RTL layout..
...
- CLoses #1568
2014-12-25 22:07:50 +03:30
S. Razi Alavizadeh
ce38c2d4fe
FTP: Don't prompt to download text files,
...
- Also update coding style and clean up.
- Closes #1559
2014-12-25 21:51:28 +03:30
S. Razi Alavizadeh
37ce38bbf8
TabBarHelper: Fix a rare bug and compute pressed index, correctly.
2014-12-25 15:16:31 +03:30
S. Razi Alavizadeh
393009f4d1
Show navigation bar when calling openLocation() in full screen mode.
...
- Closes #1464
2014-12-25 00:10:30 +03:30
S. Razi Alavizadeh
94afd29d67
Windows,Qt5: Fixed compile issue.
...
- It fixes: error: C2308: concatenating mismatched strings Concatenating wide
- See: http://blog.qt.digia.com/blog/2014/06/13/qt-weekly-13-qstringliteral/
2014-12-24 23:38:38 +03:30
David Rosca
0ccc759e1f
Use TLS 1.2 with Qt 5 when disabling SSLv3
2014-12-24 15:08:30 +01:00
Nobody Really
240cecb230
Allow closing Download Manager and Browsing Library with CTRL+w
2014-12-21 15:10:29 +01:00
David Rosca
5cf4d0d6e0
AdBlock: Use display:block when hiding blocked iframes
...
visibility:hidden leaves empty space in page
2014-12-17 13:27:53 +01:00
David Rosca
a750858ed7
AdBlock: Fix hiding iframes that have completely blocked contents
...
Closes #1552
2014-12-17 09:51:24 +01:00
S. Razi Alavizadeh
d28154c3d2
ProxyStyle: Set tabbar alignment to left
...
Closes #1547
2014-12-16 15:18:57 +01:00
David Rosca
478cfa660d
Merge pull request #1549 from srazi/fix_1539
...
Assume "about:blank" as an empty URL.
2014-12-16 14:35:46 +01:00