David Rosca
679268dbd1
ClosedTabsManager: Move check for saving restore tab from TabWidget
8 years ago
David Rosca
3f60c554ee
ClosedWindowsManager: Save closed windows into session file
8 years ago
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.
8 years ago
David Rosca
c85d33e92a
MainApplication: Completely remove isRestoring state
...
Restoring session should not be any different from simply opening
regular session.
8 years ago
David Rosca
f2002892aa
Save previous crashed session that were not restored to session file
...
Closes #2331
8 years ago
David Rosca
d1becc23e9
And fix build on all platforms ...
8 years ago
David Rosca
e512cc7433
Fix build on Windows - export ExternalJsObject
8 years ago
David Rosca
139a8dc8f1
LocationCompleter: Only allow to delete bookmarks and history items
8 years ago
David Rosca
89aa7259f9
LocationCompleter: Only update original text when first item is selected
...
Fixes issue where search/visit item would be incorrectly updated after
deleting item from completions.
8 years ago
David Rosca
c97d077f67
TabBar: Make updatePinnedTabCloseButton private
...
It is no longer needed to call it after changing tab pinned state.
8 years ago
David Rosca
ebed38e1c4
GreaseMonkey: Don't export wrappedJSObject
...
It seems to confuse some userscripts thinking that this is Firefox.
This, along with recent values changes should fix compatibility issues
with large portion of userscripts.
Tested with 4chanX as one of the very complex userscript.
8 years ago
David Rosca
30bad61eea
GreaseMonkey: Rewrite values bridge to pass values as QString
...
Passing QVariant/QJsonValue is broken in QWebChannel (QtWebEngine?)
8 years ago
David Rosca
b8f9c7e15d
KWalletPasswords: Pass window id to Wallet::openWallet
...
Closes #2441
8 years ago
David Rosca
8a6547b39c
Use window._qupzilla_external property to check if web channel is connected
...
Instead of checking for window.external as that is now defined with
at least QtWebEngine 5.10.
8 years ago
David Rosca
7ce93354c8
GreaseMonkey: Add support for GreaseMonkey 4.0 API
...
Properly implement values functions in 4.0 API version.
Closes #2355
8 years ago
David Rosca
6a5b7d30e3
ExternalJsObject: Add support for registering extra objects
...
Extra objects will be available as window.external.extra.objectName
8 years ago
David Rosca
87527762f8
IconProvider: Use encodeUrl also when searching for existing icon
...
As suggested by @srazi
8 years ago
David Rosca
482f446712
RestoreManager: Make RestoreData into a struct with stream operators
...
This makes it possible to extend it while keeping backwards compatibility.
8 years ago
David Rosca
150c576661
Bookmarks: Don't try to write to file if open failed
8 years ago
David Rosca
0141a2e621
SessionManager: Fix fallback to default session if session file is invalid
...
Creating available sessions metadata is now also faster as it doesn't
need to parse the entire session file, only check for validity.
See #2331
8 years ago
Luís Pereira
0096801556
Don't call non-const member functions on temporaries
...
They can detach if the container is shared. Even if they are not shared,
using const method when possible is good practice.
Differential Revision: https://phabricator.kde.org/D9730
8 years ago
l10n daemon script
26307bd387
GIT_SILENT made messages (after extraction)
8 years ago
l10n daemon script
ae3bd573cc
GIT_SILENT made messages (after extraction)
8 years ago
l10n daemon script
7615773a43
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
8 years ago
l10n daemon script
30e3f98878
GIT_SILENT made messages (after extraction)
8 years ago
l10n daemon script
362740bbfd
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
8 years ago
David Rosca
ee62ad0215
Use correct web settings in private browsing mode
...
Closes #2427
8 years ago
David Rosca
4e0e4b0d35
ClosedWindowsManager: Fix crash when saving window without any tabs
8 years ago
David Rosca
5013053811
TabBar: Reject drags from other app instances
8 years ago
David Rosca
a8763bee06
SessionManager: Use relative paths for session files in settings
...
See #2331
8 years ago
David Rosca
da3e16d7c4
Preferences: Enable "Don't load tabs until selected" also for Select session
8 years ago
David Rosca
72c6a73e29
MainApplication: Fix opening session with SelectSession after launch action
8 years ago
David Rosca
1aa4b41151
BrowserWindow: Save sidebar for each window
...
Allows to have different sidebar on each window.
8 years ago
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.
8 years ago
David Rosca
6b08e17dcd
BrowserWindow: Save ui state separately for each window
8 years ago
David Rosca
423e06c7d6
BrowserWindow: Always save/restore window geometry
8 years ago
David Rosca
ed39aefdad
Change structure of session file + also save window geometry
...
Bump session file version to 4.
Added support for old version to RestoreManager to prevent losing
old saved sessions.
8 years ago
David Rosca
25b1583770
Fix merge issues
8 years ago
David Rosca
a578314e8e
MainMenu: Remove all aboutToHide menu handling
...
Instead create conflicting shortcuts with Qt::WidgetShortcut context.
8 years ago
David Rosca
f80d827e59
QzTools: Use correct screen for widget in centerWidgetOnScreen
...
BUG: 384543
8 years ago
David Rosca
7b6b69c35f
TabBar: Fix dropping text/url to tabs
8 years ago
David Rosca
ef06ed567a
Add ClosedWindowsManager allowing to restore closed windows
...
Closes #2306
8 years ago
David Rosca
b3bd08c5e4
BrowserWindow: Add SavedWindow struct and use it for saving/restoring
8 years ago
David Rosca
16fcae4202
ClosedTabsManager: Rewrite to use WebTab::SavedTab
8 years ago
David Rosca
200e602d01
DownloadManager: Add app name to download finished notification
...
BUG: 386376
8 years ago
David Rosca
8749c05854
WebView: Search using default engine instead of active in actions
...
BUG: 386377
8 years ago
David Rosca
90153e280e
Fix build
8 years ago
David Rosca
f3b7be2b5e
LocationBar: Fix correctly loading "localhost" instead of launching search
...
Closes #2028
8 years ago
David Rosca
f0488c33c3
WebTab: Correctly remove itself from TabWidget
8 years ago
David Rosca
8817493c68
Tabs: Allow to detach tab from window with only one tab
...
Window will be closed after detaching this tab.
8 years ago