mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 10:10:56 +08:00
1. Unification of usage of a storage version of an OCAF document by XML and binary file formats.
2. A new format version enumeration in TDocStd package: TDocStd_FormatVersion.
3. Removal of unnecessary methods for storage version like XmlLDrivers::StorageVersion() and BinLDrivers::StorageVersion().
4. Support of old documents (storage version <= 9) in binary file format (came from ESA).
New files:
- TDocStd_FormatVersion.hxx: a new storage format version enumeration for an OCAF document.
Modified files:
- CDM_Document.hxx and cxx: removal of storage format version property (moved to TDocStd_Document).
- TDocStd_Document.hxx and cxx: a storage format version property (moved from CDM_Document).
- BinLDrivers_DocumentSection.hxx and cxx: support of old document storage version in binary file format.
- BinDrivers_DocumentStorageDriver.hxx and cxx,
- BinLDrivers_DocumentStorageDriver.hxx and cxx,
- BinLDrivers_DocumentRetrievalDriver.cxx,
- XmlLDrivers_DocumentRetrievalDriver.cxx,
- XmlLDrivers_DocumentStorageDriver.cxx: usage of document storage version from TDocStd_Document in storage and retrieval drivers.
- DDocStd_ApplicationCommands.cxx: draw-command name StorageVersion is replaced by StorageFormatVersion (to be the same everywhere). A corresponding script is corrected too.
New test:
- bugs caf bug29217: a test case for old document storage version in binary file format. It checks several attributes saved by the version TDocStd_FormatVersion_VERSION_7 (old) and the latest version.
Modified test:
- caf presentation M1: the test used a file in the current folder, not in {imagedir} like all other tests.
- bugs caf bug28691
Documentation:
- dox/upgrade/upgrade.md
// All remarks are fixed.
41 lines
982 B
Plaintext
41 lines
982 B
Plaintext
TDocStd.cxx
|
|
TDocStd.hxx
|
|
TDocStd_Application.cxx
|
|
TDocStd_Application.hxx
|
|
TDocStd_ApplicationDelta.cxx
|
|
TDocStd_ApplicationDelta.hxx
|
|
TDocStd_ApplicationDelta.lxx
|
|
TDocStd_CompoundDelta.cxx
|
|
TDocStd_CompoundDelta.hxx
|
|
TDocStd_Context.cxx
|
|
TDocStd_Context.hxx
|
|
TDocStd_DataMapIteratorOfLabelIDMapDataMap.hxx
|
|
TDocStd_Document.cxx
|
|
TDocStd_Document.hxx
|
|
TDocStd_Document.lxx
|
|
TDocStd_LabelIDMapDataMap.hxx
|
|
TDocStd_Modified.cxx
|
|
TDocStd_Modified.hxx
|
|
TDocStd_MultiTransactionManager.cxx
|
|
TDocStd_MultiTransactionManager.hxx
|
|
TDocStd_MultiTransactionManager.lxx
|
|
TDocStd_Owner.cxx
|
|
TDocStd_Owner.hxx
|
|
TDocStd_PathParser.cxx
|
|
TDocStd_PathParser.hxx
|
|
TDocStd_SequenceOfApplicationDelta.hxx
|
|
TDocStd_SequenceOfDocument.hxx
|
|
TDocStd_XLink.cxx
|
|
TDocStd_XLink.hxx
|
|
TDocStd_XLink.lxx
|
|
TDocStd_XLinkIterator.cxx
|
|
TDocStd_XLinkIterator.hxx
|
|
TDocStd_XLinkIterator.lxx
|
|
TDocStd_XLinkPtr.hxx
|
|
TDocStd_XLinkRoot.cxx
|
|
TDocStd_XLinkRoot.hxx
|
|
TDocStd_XLinkRoot.lxx
|
|
TDocStd_XLinkTool.cxx
|
|
TDocStd_XLinkTool.hxx
|
|
TDocStd_FormatVersion.hxx
|