]> SALOME platform Git repositories - modules/shaper.git/commit
Salome HOME
[bos#35161][EDF](2023-T1) Automatic backup - initial commit
authormbs <martin.bernhard@opencascade.com>
Sat, 9 Dec 2023 22:09:53 +0000 (22:09 +0000)
committermbs <martin.bernhard@opencascade.com>
Mon, 19 Feb 2024 17:05:37 +0000 (17:05 +0000)
commitdf11907a94bd87d4ee1b1faaf05ceeb1ef2ce877
tree996c45f65f9e78158a11bd7aea465334dec5a288
parent3692e4ddfe1d709b235b6f1a8b96218ead1a45c5
[bos#35161][EDF](2023-T1) Automatic backup - initial commit

Added temporary debug files. To be removed again when task is finished.

updated location of test scripts

ensure the old backup folder gets removed

fixed creation of backup folder preference

check the output of the check_validity.py script

code refactoring and bug fixing
* backupDoc returns now an error code instead of bool
* added check of dumped python script
* show warning on error
* refactored test and validation scripts

removed DEBUG macros
21 files changed:
CMakeLists.txt
check_validity.py [new file with mode: 0755]
src/Model/Model_Document.cpp
src/Model/Model_Document.h
src/Model/Model_Session.cpp
src/Model/Model_Session.h
src/ModelAPI/ModelAPI_Session.h
src/ModuleBase/ModuleBase_Preferences.cpp
src/SHAPERGUI/CMakeLists.txt
src/SHAPERGUI/SHAPERGUI.cpp
src/SHAPERGUI/SHAPERGUI.h
src/SHAPERGUI/SHAPERGUI_CheckBackup.cpp [new file with mode: 0644]
src/SHAPERGUI/SHAPERGUI_CheckBackup.h [new file with mode: 0644]
src/SHAPERGUI/SHAPERGUI_DataModel.cpp
src/SHAPERGUI/SHAPERGUI_DataModel.h
src/SHAPERGUI/SHAPERGUI_msg_fr.ts
src/XGUI/MBDebug.h [new file with mode: 0644]
src/XGUI/XGUI_Workshop.cpp
src/XGUI/XGUI_Workshop.h
test.hdfs/testme.py
test_backup.py [new file with mode: 0755]