David Rosca
055210ca0a
Hide "Inspect Element" when web inspector is not enabled
...
Closes #1905
2016-04-05 09:30:43 +02:00
ravas
effda91f7c
ensured the window geometry is remembered on OS X
...
* ensured the window geometry is remembered on OS X
It was always starting based on:
int windowWidth = desktop->availableGeometry().width() / 1.3;
int windowHeight = desktop->availableGeometry().height() / 1.3;
because quitApp isn’t called on OS X.
* ensured the window geometry is remembered on OS X (v2)
* tweaked coding style
2016-04-05 09:07:40 +02:00
David Rosca
5f84f29c4b
Also backup settings.ini when incompatible profile is detected
2016-03-30 14:10:57 +02:00
David Rosca
a66e179b40
Misc fixes
...
Correctly initialize QJsonParserError
2016-03-30 11:53:41 +02:00
David Rosca
71b6d922be
WebView: Handle create WebBrowserWindow
...
Instead of custom handling of shift + mouse click, use
QWebEngineView::createWindow. It should fix the issue with
JavaScript catching the mouse click performing some action
and QupZilla trying to open new window.
Closes #1898
2016-03-30 09:10:57 +02:00
David Rosca
91e6c2eb71
Mac: Fix crash on startup when showing incompatible profile dialog
...
QEvent::ApplicationActivate is sent when incompatible profile
warning QMessageBox is shown. We should not create new BrowserWindow
at this point as the initialization is not yet completed.
New window should really be only created when there is no
application window at all.
Closes #1890
2016-03-21 11:09:44 +01:00
trnkava1
89d565da6a
Mac: Fixed opening Main Menu from button
2016-03-19 14:04:25 +01:00
David Rosca
f46364bc55
Fix typo changeOcurred -> changeOccurred
2016-02-26 10:43:34 +01:00
David Rosca
96bc812c50
Update copyright year to 2016
2016-02-25 18:50:49 +01:00
David Rosca
be110d2d8f
Don't focus locationbar of non-empty tab when restoring session
2016-02-25 18:47:46 +01:00
David Rosca
54f3e78396
Fix grammar "Are you sure to..." -> "Are you sure you want to..."
2016-02-15 09:58:14 +01:00
David Rosca
06b2414d80
Focus locationbar on startup if url of current tab is empty
2016-01-27 13:23:28 +01:00
David Rosca
6c30379077
Enable Qt 5.6 HighDpiScaling
2016-01-27 13:05:25 +01:00
David Rosca
007d68a027
Pass only current profile when starting private browsing
...
Fix starting private browsing when qupzilla is run eg. with
qupzilla -p profile_name
2016-01-25 13:52:12 +01:00
David Rosca
a49f1e2763
DataPaths: Use QStandardPaths
2016-01-25 12:13:43 +01:00
David Rosca
59ac47b08c
Hide statusbar and menubar by default
2016-01-24 16:29:46 +01:00
David Rosca
7391a6403c
Change qupzilla.com links to https
2016-01-02 12:38:16 +01:00
David Rosca
2bda7e54c4
Remove QString include from qzcommon.h
...
Closes #1781
2015-11-24 18:11:23 +01:00
David Rosca
9f6ec040bb
QzTools: Add actionShortcut function
2015-11-12 17:00:43 +01:00
David Rosca
ac3d9b0f9b
Fix showing webview with Breeze style
...
Closes #1686
2015-11-12 16:38:39 +01:00
David Rosca
c0809dc0b3
Fix exiting HTML fullscreen with F11
2015-11-06 17:55:57 +01:00
David Rosca
97ce417798
Fix use of QList::first()
2015-10-23 12:26:27 +02:00
David Rosca
6780335dc9
Drop showing build time in version info
...
Build time was a nice idea, but it only saved build time for
qzcommon.cpp (which was builded only with clean build) and it
also breaks reproducible builds.
A variation of this patch is already used by some distros.
2015-10-22 20:56:59 +02:00
srazi
3fd23a54cb
Plugins: Added interface for extension's submenu to Tools menu,
2015-10-15 17:43:47 +02:00
srazi
ac48237eca
Fix a rare crash.
2015-10-15 17:42:27 +02:00
David Rosca
5b82102075
Don't show "WebKit version: QtWebEngine" anywhere
2015-10-15 10:34:49 +02:00
David Rosca
96cc2d41e2
Remove non-working Work Offline option
2015-10-15 10:28:03 +02:00
srazi
dd5c5db142
Windows: After showing QZ window (1s delay) try to check as default and show dialogs as child of QZ window.
...
- Closes #1632
2015-10-15 10:10:29 +02:00
David Rosca
ccabc336c0
Fix crash when application style is externally changed
...
Closes #1707
2015-10-14 17:06:03 +02:00
David Rosca
387aee12c2
SiteInfo: Only show on non-internal pages
2015-10-14 12:50:30 +02:00
David Rosca
1a068e8c7d
Use QWebEnginePage::RequestClose action to close tabs
...
It is no longer to use hacky onbeforeunload javascript handling when
closing tabs.
2015-10-12 12:07:01 +02:00
David Rosca
c3e0f39c9b
ProfileManager: Drop support for old profiles
2015-10-08 11:52:40 +02:00
David Rosca
54f31237a5
Fix build
2015-10-08 11:49:22 +02:00
David Rosca
db058ff194
Remove use of QNetworkRequest in LoadRequest
2015-10-06 09:46:23 +02:00
David Rosca
1a87d443c0
WebTab: Fix pinning tabs that are not yet restored
2015-10-05 23:39:59 +02:00
David Rosca
8778ddc2dd
Bring back support for setting AcceptLanguage header
2015-10-05 22:21:14 +02:00
David Rosca
4d05c1105a
Bring back support for managing cookies
2015-10-05 22:03:53 +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
637f38684d
Settings: Bring back support for plugins (eg. Flash)
2015-10-05 17:29:09 +02:00
David Rosca
9cb66878ff
Port to Qt 5.6
2015-10-05 17:20:53 +02:00
David Rosca
c24b0e92fd
Remove TODO comment
2015-10-04 20:02:16 +02:00
David Rosca
a1d9740caf
Allow to start more instances of the same profile with --no-remote
2015-10-04 19:54:59 +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
939ebeb2c9
Guard against null QProxyStyle::baseStyle()
...
See #1686 #1707
2015-10-01 20:25:22 +02:00
David Rosca
9f36401be9
Use QWebEngineSettings::defaultSettings instead of globalSettings
2015-10-01 18:02:36 +02:00
David Rosca
5e0ca7fed8
Preferences: Bring back external download manager option
2015-09-30 18:43:58 +02:00
David Rosca
942299e649
Remove Page Screen action from menus
...
Page screen functionality will hardly ever come back with QtWebEngine.
2015-09-30 13:28:18 +02:00
David Rosca
36929a45bf
Another cleanups
...
Removed printPage() functions + removed SslManager
2015-09-29 23:41:08 +02:00
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
b0da5ba755
Bring back NetworkManager class
2015-09-29 11:45:39 +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
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
67b5a5337b
Another cleanups
...
Includes enabling again SpeedDial integration in Bookmarks
star icon in locationbar.
2015-09-25 17:02:14 +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
cde3ed179b
Always show restore page when starting after crash
2015-09-24 19:37:40 +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
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
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
758fd6c687
Fix all build warnings
2015-08-30 17:42:58 +02:00
David Rosca
1756c51546
Remove remaining RSS code
2015-08-30 10:40:45 +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
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
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
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
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
7d9a07b379
Bring back show source support (using view-source: url)
2015-05-24 21:28:45 +02:00
David Rosca
89dedf0a0e
Bring back qupzilla: scheme pages
2015-05-24 20:41:49 +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
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
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
e4852e7d88
MainApp: Fix loading fonts settings
2015-02-08 11:32:00 +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
Mladen Pejaković
fbc7c73616
Update fix
2014-12-30 14:51:36 +01:00
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
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