David Rosca
efff69b7b2
Continue with Falkon renaming
2017-08-25 17:55:52 +02:00
David Rosca
d00e769749
Initial rename to Falkon
2017-08-25 17:32:32 +02:00
srazi
a78b595569
Hide sidebar when a web element goes to full screen.
...
- Closes #2423
2017-08-23 14:02:26 +04:30
srazi
2aa25fe0b1
Windows: At first try to show native default app settings UI (>=Vista).
2017-08-22 14:19:22 +02:00
srazi
21b2685375
Windows: Remove support to set QupZilla as default FTP handler.
...
- Closes #2417
2017-08-21 21:45:32 +04:30
David Rosca
08274f5bbe
Fix build warning
2017-08-19 19:11:45 +02:00
David Rosca
5812721e48
BrowserWindow: Fix failing to enter fullscreen sometimes
2017-08-19 18:52:26 +02:00
David Rosca
aefc3eba38
Disable QWebEngineSettings::FocusOnNavigationEnabled
...
Keeping this enabled will focus views loaded in background tabs.
Closes #2352
2017-07-19 13:06:25 +02:00
David Rosca
93d4d66054
SessionManager: Add Session Manager dialog instead of menu structure
...
See #2331
2017-06-08 14:13:15 +02:00
David Rosca
f62665b9d9
SuperMenu: Move help actions to Help submenu
...
Also move Preferences action above About action
2017-06-08 11:13:22 +02:00
David Rosca
0d2b8b6b81
Change linux desktop file name to org.qupzilla.QupZilla
...
Closes #2308
2017-06-06 17:56:49 +02:00
David Rosca
49eb9a862e
Workaround Ctrl+F keypress being eaten by QtWebEngine 5.9
2017-05-29 17:21:56 +02:00
srazi
755ec16598
Session manager ( #2293 )
2017-04-07 10:02:27 +02:00
srazi
2654081912
Fix 2178 ( #2292 )
...
* CheckBoxDialog: Rewritten to inherit from QMessageBox
- QMessageBox supports showing checkbox for Qt >= 5.2
* Add option to disable warning message when closing tabs from tabbar context menu.
- Closes #2178
2017-04-05 10:27:03 +02:00
David Rosca
f961958989
Add another key shortcut for reload action
...
Closes #2290
2017-04-03 15:34:44 +02:00
srazi
ade7b9c690
Refactor some codes related to sessions. ( #2280 )
2017-03-26 11:27:04 +02:00
srazi
345d03105f
macOS: Fix global menu with multiple windows.
...
- Closes #2261
2017-03-20 11:37:33 +03:30
srazi
9af542aa03
macOS: Disable auto window tabbing ( #2261 )
2017-03-20 04:28:55 +03:30
David Rosca
076deb7cdd
Set PulseAudio property overrides to QupZilla app name and icon
...
Closes #2262
2017-03-18 17:19:57 +01:00
David Rosca
bfef9e2c03
Merge branch 'v2.1'
2017-03-15 10:53:44 +01:00
David Rosca
d18be6f8e4
ProfileManager: Fix warning when creating new profile
2017-03-15 10:48:00 +01:00
David Rosca
e150e44cc6
Replace Q_OS_MAC with Q_OS_MACOS
2017-02-10 19:00:58 +01:00
David Rosca
8fa9db9f65
Show print preview dialog when printing page
...
Print directly to QPrinter instead of using intermediate pdf file.
2017-02-06 20:40:40 +01:00
David Rosca
1b365f1e86
Bring back Print Element Background option
2017-02-06 19:52:39 +01:00
David Rosca
13cba7a069
Bump minimum Qt to 5.8
2017-02-06 18:39:59 +01:00
David Rosca
4062473e98
Version 2.1.0
2017-02-04 10:47:24 +01:00
David Rosca
c6a7935a67
Fix MainApplication::styleName()
2017-01-31 21:37:12 +01:00
David Rosca
8e55c3ad3c
Fix setting spellcheck languages
2017-01-27 22:46:30 +01:00
David Rosca
e18d2d90bd
Register also as url handler for https scheme
2017-01-27 20:59:10 +01:00
Voldracarno Draconor
4729b24c64
Added: Remove cache on close ( #2185 )
2017-01-27 13:37:56 +01:00
David Rosca
f7005f8d95
NetworkManager: Remove NetworkUrlInterceptor in shutdown
...
Fixes potential crash on close
2017-01-26 12:35:21 +01:00
Voldracarno Draconor
7738deb721
Added option to delete all cookies on exiting ( #2173 )
2017-01-22 20:43:41 +01:00
David Rosca
8b992364c4
Fix setting cache maximum size
2017-01-22 09:22:22 +01:00
David Rosca
a049f44757
Each tab now has its own SearchToolBar
...
Also disable show/hide animations.
SearchToolBar is now above Web Inspector (if visible).
2017-01-21 17:43:41 +01:00
David Rosca
67452c1bf4
Reimplement Windows jumplist with Qt Windows Extras
2017-01-20 11:14:50 +01:00
David Rosca
3a612c07bd
Fix Windows build
2017-01-20 11:14:41 +01:00
David Rosca
29bccf9984
Use Qt Windows Extras instead of custom QtWin
2017-01-20 09:58:13 +01:00
David Rosca
f15643b454
BrowserWindow: Restore window states last when leaving fullscreen
2017-01-20 09:37:00 +01:00
David Rosca
271d5f6555
Use Breeze icons as fallback icon set
2016-12-31 14:32:48 +01:00
David Rosca
3e18d17964
Remove icon from About Qt action
2016-12-28 21:35:27 +01:00
David Rosca
2b9e032ccb
Always save session on closing browser
2016-12-27 18:55:58 +01:00
David Rosca
e9b226d477
Drop support for pinned tabs without saving session
...
Pinned tabs are saved alongside normal tabs in a session file.
If user don't have session restore enabled, pinned tabs are saved
and restored from a special pinnedtabs.dat file which uses different
codepath.
It has also another problem that it only saves pinned tabs for last
browser window, which sometimes may be confusing and lead to losing
the pinned tabs.
2016-12-27 18:40:20 +01:00
David Rosca
e9d1771114
ProfileManager: Only warn when using profile from QupZilla 1.x
2016-12-27 18:05:45 +01:00
David Rosca
8cfe4c4c5e
Enable QWebEngineSettings::LocalContentCanAccessRemoteUrls
2016-12-27 14:25:08 +01:00
David Rosca
4d51b4c00c
Use WebPage::SaveJsWorld for executing scripts
...
QWebChannel must still be registered on MainWorld
2016-12-26 16:45:47 +01:00
David Rosca
c25e6a99a6
BrowserWindow: Don't focus locationbar when starting with webpage
2016-12-26 14:35:08 +01:00
David Rosca
7c329b1281
ProxyStyle: Don't disable context menu on scrollbars
2016-12-26 13:01:41 +01:00
David Rosca
b5b2bf6a0b
Automatically clear old icons and VACUUM database every 20 runs
2016-12-24 11:32:48 +01:00
David Rosca
f0c52c4a85
Fix build with latest QtWebEngine
2016-12-01 21:54:49 +01:00
David Rosca
4d9137a1d9
Add Spell Check config to Preferences
...
Spell checking now works with QtWebEngine >= 5.8
2016-10-25 23:36:53 +02:00
David Rosca
cf3fa88942
Require Qt 5.7
2016-10-24 20:11:50 +02:00
David Rosca
ce9d3983a0
Bring back Save Page action
...
Only with Qt >= 5.7
Closes #2083
2016-09-18 12:09:38 +02:00
Kevin Kofler
b9bd2338e4
Add initial printing support with QtWebEngine >= 5.7.0 ( #2068 )
...
* Add initial printing support with QtWebEngine >= 5.7.0
This works by printing to PDF first, then sending the PDF to a printer
if printing to a physical printer was requested.
On *nix (including Mac OS X), we use the lpr command, which is typically
provided by CUPS nowadays. Currently, no options beyond the printer name
are passed, there is room for improvement there. (Okular has a
FilePrinter class that handles this in a more sophisticated way.)
On Windows, we use ShellExecuteW with the "printto" verb. In that case,
the printer name is unfortunately the only thing that can be passed. The
user experience may also be suboptimal depending on the PDF viewer
installed on the system. (E.g., Adobe Reader is reported to ignore
SW_HIDE.) And if there is no PDF viewer installed at all, it will of
course not work at all. But it is the best we can do without bundling
something like GhostScript (or requiring the user to install it).
* Printing: Let lpr autoremove the temporary file instead of QTemporaryFile
Only lpr knows for sure when it is safe to delete the temporary file.
* Printing: Use the callback version of printToPdf instead of the file one
The file version is also asynchronous and does not report when it is
done.
* Printing: Use async QProcess API instead of QProcess::execute to run lpr
This also required making tempFile a QTemporaryFile * instead of a
QTemporaryFile on the stack, because QTemporaryFile is a QObject and
cannot be copied.
* Printing: Adapt the FilePrinter from Okular to pass correct lpr args
The license of those files is GPLv2+, which is compatible with
QupZilla's GPLv3+ licensing.
2016-09-14 14:07:07 +02:00
David Rosca
35657e6005
Mac: Fix opening urls from FileOpen event
2016-09-04 15:42:51 +02:00
blaze
bc47a9aba5
Show Bookmark Toolbar when Location Bar gets focus
...
Optional behaviour providing quick access to bookmarks without
wasting the vertical space
2016-08-23 08:57:11 +02:00
David Rosca
1a183e590b
Merge branch 'v2.0'
2016-08-15 14:25:26 +02:00
David Rosca
cce94944f7
Don't hide supermenu button in fullscreen
...
Also make the supermenu button as last button in toolbar
2016-08-15 14:24:53 +02:00
Vlad
9ae6c12a3c
Show navigation in new tab in fullscreen mode ( #2055 )
2016-08-15 14:24:35 +02:00
spaeps
757c6525f5
Add short command line for all options ( #2036 )
2016-08-15 14:24:11 +02:00
Vlad
8e12480dc9
Show navigation in new tab in fullscreen mode ( #2055 )
2016-08-15 13:54:54 +02:00
spaeps
cf5702260c
Add short command line for all options ( #2036 )
2016-07-25 10:24:49 +02:00
David Rosca
7ac832c689
Merge branch 'v2.0'
2016-07-10 17:26:42 +02:00
David Rosca
c12e473ab4
Use setWindowState to toggle fullscreen mode
...
Use setWindowState instead of showNormal() / showFullScreen()
as that may cause issues in some cases.
2016-07-10 17:26:07 +02:00
David Rosca
ec64be807b
Merge branch 'v2.0'
2016-06-14 12:15:48 +02:00
David Rosca
a1cf84572d
Use platformName() to check for X11 platform
2016-06-14 11:58:38 +02:00
David Rosca
521d058d71
Merge branch 'v2.0'
2016-06-08 16:25:36 +02:00
David Rosca
4832028600
Version 2.0.1
2016-06-08 16:24:44 +02:00
David Rosca
d1f266cc49
AdBlock: Apply all css rules in WebPage::cleanBlockedObjects
2016-05-27 15:58:21 +02:00
David Rosca
00df74bd64
Don't add user stylesheet script when usercss is empty
2016-05-27 15:57:40 +02:00
David Rosca
509c913cbe
AdBlock: Apply all css rules in WebPage::cleanBlockedObjects
2016-05-27 15:55:30 +02:00
David Rosca
a515d92211
Don't add user stylesheet script when usercss is empty
2016-05-27 11:03:40 +02:00
David Rosca
c004d52db1
Run js code in ApplicationWorld with QtWebEngine 5.7
2016-05-10 10:47:35 +02:00
Vlad
be72477855
Remove redundant mkdir instruction ( #1963 )
2016-05-03 16:49:09 +02:00
David Rosca
9497013197
CommandLineOptions: Don't exit on unknown option
...
Makes it possible to pass options to Chromium
2016-04-23 09:46:49 +02:00
David Rosca
9a415bf40a
Enable updates check only on Windows
2016-04-05 10:20:20 +02:00
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