Commit Graph

14 Commits

Author SHA1 Message Date
asapelkin
875a463923 Used single quotes for single character in string::find algorithm, more efficient 2019-11-21 18:59:43 +01:00
Zheng, Lei
35534149a4 Gui: AutoSaver and recovery changes
* Fix AutoSaver inconsistent BinaryBrep setting

* Use temperary name when auto saving, so that it won't overwrite the
  original file, which may cause corruption when crashing in the middel
  of auto saving, especially if auto saving in a separate thread.

* Support auto recovery document containing external links

* Do not mark success after auto recover, in case the program crash
  again before the user remember to save the just recovered file. Only
  mark when user saves the document.
2019-08-17 14:52:11 +02:00
wmayer
55916175d3 + fix typo 2015-09-19 17:03:38 +02:00
wmayer
ef203bc260 + fixes #0001238: Preferences: set temp files directory 2015-09-19 16:07:33 +02:00
wmayer
718b766737 + for file-based recovery write the data files in worker threads 2015-09-19 13:12:59 +02:00
wmayer
9a45718d9e + implement file based auto-save & recovery mechanism 2015-09-19 01:13:33 +02:00
wmayer
193abe75da + make RecoveryWriter more robust 2015-09-18 15:32:33 +02:00
wmayer
698f964aa3 + implement FileWriter class based on files and a specialized sub-class for recovery purposes 2015-09-17 21:37:47 +02:00
wmayer
22b7fb660c + save Brep in binary format for recovery files 2015-09-16 22:58:47 +02:00
wmayer
65a526ef46 + fix possible loss of data with recovery function, show auto-save message in status bar 2015-09-09 18:49:45 +02:00
wmayer
984608aaaa + issue #0000175: Auto save function 2015-09-04 17:53:22 +02:00
wmayer
5cfbde93da + issue #0000175: Auto save function 2015-09-04 15:08:12 +02:00
wmayer
7dc1b5ad6a + implement GUI to enable/disable auto-save and its timeout 2015-09-04 00:48:26 +02:00
wmayer
2d8c5b7870 + implement auto-save function for documents 2015-09-03 19:09:03 +02:00