David Rosca
4a1d807fec
Remove QzRegExp
...
Port directly to QRegularExpression everywhere
2018-02-11 10:54:59 +01:00
David Rosca
fd759ded62
PluginProxy: Set MainApplication as parent
2018-02-07 11:24:29 +01:00
David Rosca
ae4d971d1a
BrowserWindow: Add aboutToClose signal
2018-02-04 17:18:35 +01:00
David Rosca
723aee6a33
MainApplication: Load private.css style from theme in private browsing
...
Closes #2575
2018-01-28 12:52:21 +01:00
David Rosca
0af95e3b1f
MainApplication: Add support for starting in test mode
2018-01-27 10:56:02 +01:00
David Rosca
19bb93a4c5
MainApplication: Load UserAgentManager settings before NetworkManager
...
NetworkManager depends on UserAgentManager being loaded.
Fixes user agent settings not being applied on startup.
2018-01-24 20:34:34 +01:00
David Rosca
6f20d5e511
Move build config options to config.h
...
Also remove NO_SYSTEM_DATAPATH and DISABLE_UPDATES_CHECK
2018-01-24 14:26:13 +01:00
David Rosca
d1502ba68e
Use lowercase f in reverse domain name
2018-01-24 11:56:25 +01:00
David Rosca
4f0c30c5c7
Add support for window.print()
...
Closes #2509
2018-01-13 16:42:03 +01:00
David Rosca
e0e62c6e81
SearchEngines: Add back support for window.external.AddSearchProvider
2018-01-11 19:57:10 +01:00
David Rosca
4bf85ee3cb
WebPage: Register QWebChannel on isolated ApplicationWorld
...
This way scripts on pages don't have access to it.
Exception is qupzilla: scheme as internal pages requires the bridge.
GreaseMonkey userscripts now runs on ApplicationWorld too. This fixes
userscript that depend on script world being isolated from main page world.
Tested with 4ChanX + OneeChan.
2018-01-11 19:55:01 +01:00
David Rosca
f16580dc05
AdBlockPlugin: Change into real internal plugin
2018-01-11 19:51:47 +01:00
David Rosca
bfc3b0bf4a
Load userChrome.css Qt style sheet from profile directory
...
Allows to fine-tune interface without directly modifying themes.
2018-01-11 19:49:07 +01:00
David Rosca
ad3780e8df
MainApplication: Sync settings after writing isRunning value
...
Fixes correctly detecting crashes during session restore.
2018-01-11 19:40:38 +01:00
David Rosca
e41b0edf0a
Make qupzilla:restore working also with disabled JavaScript
...
Instead of temporarily enabling JavaScript, make the page functional
without it.
2018-01-11 19:40:31 +01:00
David Rosca
ff1171abf0
AdBlock: Make it as self-contained as possible
...
It could be easy now to turn it into real loadable plugin.
2018-01-11 19:36:32 +01:00
David Rosca
fa4fba5f49
BrowserWindow: Add tabCount() method
2018-01-11 19:23:43 +01:00
David Rosca
5cc41d219e
Always open new window when restoring session after crash
...
Also remove special handling for qupzilla:restore tabs.
2018-01-11 19:23:36 +01:00
David Rosca
3f60c554ee
ClosedWindowsManager: Save closed windows into session file
2018-01-11 19:21:59 +01:00
David Rosca
0b6c555c62
Only show restore page when crashing during session restore
...
If app crashes during one minute after restoring crashed session,
show the restore page with options to the user next time instead
of showing restore page after every crash.
2018-01-11 19:21:54 +01:00
David Rosca
c85d33e92a
MainApplication: Completely remove isRestoring state
...
Restoring session should not be any different from simply opening
regular session.
2018-01-11 19:21:47 +01:00
David Rosca
f2002892aa
Save previous crashed session that were not restored to session file
...
Closes #2331
2018-01-11 19:21:17 +01:00
David Rosca
482f446712
RestoreManager: Make RestoreData into a struct with stream operators
...
This makes it possible to extend it while keeping backwards compatibility.
2018-01-11 19:09:44 +01:00
David Rosca
ee62ad0215
Use correct web settings in private browsing mode
...
Closes #2427
2018-01-02 22:59:17 +01:00
David Rosca
72c6a73e29
MainApplication: Fix opening session with SelectSession after launch action
2018-01-02 22:56:49 +01:00
David Rosca
1de32182c1
BrowserWindow: Don't restore first app window from postLaunch slot
...
Instead restore it immediately after creation from MainApplication
as all other window types.
2018-01-02 22:55:58 +01:00
David Rosca
ef06ed567a
Add ClosedWindowsManager allowing to restore closed windows
...
Closes #2306
2018-01-02 15:03:11 +01:00
David Rosca
b3bd08c5e4
BrowserWindow: Add SavedWindow struct and use it for saving/restoring
2018-01-02 15:01:16 +01:00
David Rosca
5ecf3d8b98
Remove leftover references to no longer used pinnedtabs.dat file
2017-12-30 18:06:06 +01:00
David Rosca
397e2f714e
Set default button for all CheckBoxDialogs
...
Default button is now focused instead of checkbox.
2017-12-30 18:05:47 +01:00
David Rosca
53f6ef91ac
Temporarily enable JavaScript when loading qupzilla:restore page
2017-12-30 18:04:43 +01:00
David Rosca
736e3121bc
BrowserWindow: Show window before creating web views
...
Otherwise QWebEngineView first creates its underlying view with very
small size which then gets resized to correct size on first show event.
Also remove all calls to setUpdatesEnabled on window during session restore,
it doesn't seem to have any effect anymore.
2017-12-30 18:04:11 +01:00
David Rosca
fba7b3d9fc
Fix saving window state when closing app with Ctrl+Q shortcut
...
Closes #2444
2017-12-05 13:51:29 +01:00
David Rosca
b03c5f3cb0
MainApplication: Don't call processEvents when restoring session
...
It seems to help with QtWebEngine crashes during session restore
2017-12-03 19:10:18 +01:00
David Rosca
b6288358ef
Don't create temporary dir in $HOME
...
BUG: 386235
2017-10-27 14:22:39 +02:00
Harald Sitter
2b3b95ae36
change qapp applicationName to lower case
...
Summary:
NB: this changes the standard config name of default constructed QSettings
(a quick grep seems to suggest there is no default constructed QSettings
though, so this should be fine).
Aligning the applicationName with the spelling in the installation paths
on case sensitive systems allows us to use QStandardPaths' built-in
handling for application-specific paths instead of having to manually
append /falkon to various paths.
Test Plan: still seems to be working on linux
Reviewers: drosca
Reviewed By: drosca
Differential Revision: https://phabricator.kde.org/D7721
2017-09-11 14:13:47 +02:00
David Rosca
d00e769749
Initial rename to Falkon
2017-08-25 17:32:32 +02:00
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
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
0d2b8b6b81
Change linux desktop file name to org.qupzilla.QupZilla
...
Closes #2308
2017-06-06 17:56:49 +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
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
e150e44cc6
Replace Q_OS_MAC with Q_OS_MACOS
2017-02-10 19:00:58 +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