David Rosca
6985a8567a
RestoreManager: Validate all elements in session file
...
Session file can be corrupted or have data from unsupported version
inside the file.
2018-02-04 17:20:10 +01:00
David Rosca
81d7917ade
SessionManager: Use completeBaseName for session names
2018-01-24 15:14:06 +01:00
David Rosca
a8dcf176cf
Fix merge issues
2018-01-11 20:51:34 +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
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
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
2018-01-11 19:08:18 +01:00
David Rosca
a8763bee06
SessionManager: Use relative paths for session files in settings
...
See #2331
2018-01-02 22:57:19 +01:00
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.
2018-01-02 22:55:09 +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
d00e769749
Initial rename to Falkon
2017-08-25 17:32:32 +02:00
David Rosca
9b933c1fb7
SessionManager: Show only session name in message box when deleting session
2017-06-08 15:00:03 +02:00
David Rosca
26eb3753c0
SessionManager: Make it possible to restore backups again
2017-06-08 14:56:52 +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
1a818e5b6c
SessionManager: Use QSaveFile for writing session to file
...
See #2331
2017-06-08 10:04:45 +02:00
srazi
0148b7aaff
RestoreManager: Don't append WindowData with empty tabsState to restore data
2017-04-08 13:36:46 +04:30
srazi
755ec16598
Session manager ( #2293 )
2017-04-07 10:02:27 +02:00
srazi
ade7b9c690
Refactor some codes related to sessions. ( #2280 )
2017-03-26 11:27:04 +02:00
David Rosca
c0e4264540
RestoreSession: Use generic webpage icon when tab icon is empty
2017-01-01 13:06:19 +01:00
David Rosca
47b2bf30ad
RestoreSession: Indicate pinned tabs and current tab in window
2016-12-27 20:03:11 +01:00
David Rosca
d39e4cc381
Fix restoring correct tabs from restore page
...
Closes #2104
2016-12-27 19:45:51 +01:00
David Rosca
4fd8aa76d1
RestoreSession: Show tab url in tooltip
2016-12-27 19:16:22 +01:00
David Rosca
5298dc9857
RecoveryPage: Fix displaying list of windows and tabs
2016-12-01 23:11:07 +01: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
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
nowrep
16ff847a8b
[Session] Use the same session with both Qt4 & Qt5
...
The issue with incompatible session were only with first alpha
releases of QtWebKit 2.3
2014-03-14 14:08:38 +01:00
nowrep
2e9ce1ba90
[CodeCleanup] Major cleanup in MainApplication class
2014-03-10 00:47:07 +01:00
nowrep
969f262cf8
[DataPaths] Don't add trailing slash to paths
...
Qt API is not adding trailing slashes to dir paths either.
2014-03-09 22:17:13 +01:00
nowrep
214279e3bb
[DataPaths] Added new class DataPaths
...
This class holds all paths now (instead of MainApplication)
Renamed ProfileUpdater -> ProfileManager
ProfileManager is now responsible for all operations with profiles
2014-03-09 21:51:42 +01:00
nowrep
5e4f703ef2
[Code] Renamed qz_namespace.h to qzcommon.h
2014-02-26 20:03:20 +01:00
nowrep
afae00e4a2
[Cleanup] Rename export macro to just QUPZILLA_EXPORT
2014-02-19 22:12:32 +01:00
nowrep
404fa68a1b
[Cleanup] Renamed QupZilla class to BrowserWindow
2014-02-19 22:07:21 +01:00
Javier Llorente
49d9889fcd
make 'Windows and Tabs' a translatable string
2014-02-12 17:46:11 +01:00
Jonathan Hooverman
d917f43cf0
Updated copyright year to 2014
2014-01-11 16:11:42 +01:00
Jonathan Hooverman
4848def230
Modified copyright year
2013-07-11 16:21:57 +02:00
nowrep
650f474113
[SessionRestore] Fixed saving some tab icons in session file.
...
Saving directly QPixmap instead of QIcon fixes issue when some
icons don't save correctly for some reason (eg. oxygen hdd icon).
2013-05-03 00:35:14 +02:00
nowrep
d885444501
[Code] Use QVector instead of QList for elements bigger than pointer.
2013-02-26 12:56:11 +01:00
nowrep
0a9f2ec4d6
Coding style.
2013-02-08 12:10:12 +01:00
nowrep
c43ca265f6
RecoveryWidget: Switch positions of buttons.
...
Buttons now match Firefox.
Start new session is first and then Restore.
2013-01-17 19:44:57 +01:00
nowrep
151bba6293
Small changes in JsOptionsDialog
2013-01-09 13:52:12 +01:00
S. Razi Alavizadeh
2ad3d828da
RecoveryWidget: doesn't disable child item when root item is unchecked, just uncheck it!
2012-12-29 21:18:59 +03:30
nowrep
64355e2a3d
Qt4: Fixed broken session restoring.
...
Adding Qt version into sessionVersion number
only when using Qt 5.
Closes #689
2012-12-25 16:56:23 +01:00
nowrep
365c0d5efd
Qt5: Added info about Qt version into session files.
...
It will break restoring sessions from Qt4 into Qt5.
QupZilla can now run with Qt5.
(there are still some issues to be resolved)
2012-12-20 15:22:14 +01:00
nowrep
884c152c39
Fixed crash when opening qupzilla:restore in multiple tabs.
...
closes #567
2012-09-12 14:03:26 +02:00
nowrep
2acc6021aa
Regression: Fixed restoring sessions with pinned tabs.
...
- it was opening & restoring tabs in new window
2012-08-24 19:24:48 +02:00