Commit Graph

34 Commits

Author SHA1 Message Date
AgCaliva
52c55f59a8 Implementing agnostic version of ParameterGrp for reading XML, replacing XMLReader from src/Base/reader.cpp with new class DocumentReader 2023-06-16 15:36:43 -03:00
AgCaliva
8db6ab544a Handling errors 2023-05-21 01:41:10 -03:00
berniev
58cb977c3b remove xcerces2 2022-09-09 08:02:35 +02:00
wmayer
58a719e207 Base: move ILogger sub-classes to their own source files in order to reduce including stream classes in client code 2022-03-06 10:13:47 +01:00
wmayer
2465840791 Base: fix warnings from code analysers:
* replace some C-style casts with static_cast
* remove unneeded destructors
* define default copy-constructor and assignment operator
2022-03-05 19:03:21 +01:00
Uwe
7b14b3b02e [Base] Reader and Writer: remove unused includes 2022-02-27 23:54:00 +01:00
wmayer
4d87039635 Base: modernize C++11
* remove redundant void-arg
* use nullptr
* replace deprecated headers
2022-01-25 20:21:30 +01:00
luz paz
d5f6c096b8 Base: Fix header uniformity, whitespace, and doxygen
[skip ci]
2020-11-22 18:12:16 +01:00
wmayer
767b2787c1 LGTM: [skip ci] remove some obsolete FIXME comments from source code 2020-07-28 09:49:20 +02:00
wmayer
b0e92abcb5 Base: [skip ci] in XMLReader class replace assert(0) calls with throwing an XMLAttributeError exception 2020-06-07 14:24:46 +02:00
luz.paz
6f11ed298a src/Base: [skip ci] fix header uniformity
This PR fixes header uniformity across all `src/Base` files
2019-12-25 11:38:58 +01:00
wmayer
10cd535ceb use shared_ptr to avoid possible memory leaks and improve exception-safety 2019-09-03 17:21:13 +02:00
Jean-Marie Verdun
85198f08a7 Destroy XMLReader object attached to Reader one when this one is gone as to avoid
potential memory leaks.
2019-09-03 17:21:08 +02:00
Jean-Marie Verdun
27e7b9913a Add initial version of the Cloud workbench 2019-09-03 17:21:05 +02:00
Zheng, Lei
aa3e81f4fc Base::Reader: support reading child element with the same name as parent
Future GuiDocument.xml will save recursive tree item expansion status
using child element with the same name as the parent.
2019-08-17 14:52:11 +02:00
wmayer
ddb20468ad some additions to pR 1794:
add a special XMLAttributeError class to indicate an error when accessing a missing attribute
in PropertyContainer::Restore make error handling more flexible
2018-11-19 19:07:56 +01:00
Abdullah Tahiri
9a34a93db1 Extension of XMLReader to facilitate partial restores 2018-11-19 11:31:10 +01:00
wmayer
6a14bb7451 fix for mixing up SchemeVersion and FileVersion 2017-07-06 17:59:01 +02:00
wmayer
1673ab801e use specialized exception classes 2017-04-28 18:49:11 +02:00
wmayer
464a8f3860 Coverity issues:
129643
129654
129689
129714
2016-08-16 14:05:52 +02:00
jrheinlaender
b7fe543ca9 Fix compile error after rebase 2016-04-12 18:11:49 +02:00
wmayer
32367b1744 + save Brep in binary format for recovery files 2015-09-16 22:58:47 +02:00
wmayer
1811795e41 + fix build failure for zipios++ from Fedora 2015-04-29 10:31:10 +02:00
wmayer
c62319d2d9 + make XML parser more robust against unexpected structure 2015-04-11 13:11:12 +02:00
wmayer
7c789a1bf7 + allow to suppress verbose mode of XMLReader 2015-01-13 21:57:18 +01:00
wmayer
365099a2bd + Keep trailing digits when loading project file 2013-12-30 12:54:45 +01:00
wmayer
5062080a26 + Fix gcc build errors/improve whitespaces 2013-09-26 15:39:25 +02:00
jriegel
30b189c1da Merge branch 'refs/heads/double-precision-werner'
Conflicts:
	src/App/Document.cpp
	src/App/PropertyGeo.cpp
	src/App/PropertyStandard.cpp
	src/Base/Reader.cpp
	src/Base/Reader.h
	src/Gui/propertyeditor/PropertyItem.cpp
	src/Mod/Fem/Gui/ViewProviderFemMesh.cpp
	src/Mod/Inspection/Gui/ViewProviderInspection.cpp
	src/Mod/Mesh/App/MeshProperties.cpp
	src/Mod/Part/App/TopoShapeFacePyImp.cpp
	src/Mod/PartDesign/App/FeatureRevolution.cpp
2013-09-26 00:05:05 +02:00
jriegel
68078487c7 Add SchemaVersion to RestoreDocFile to distinquish double from float binary 2013-09-24 11:01:09 +02:00
wmayer
b24f0efbc1 Remove FileVersion from RestoreDocFile, convert point data back to floats 2013-03-29 15:23:51 +01:00
jrheinlaender
fdc3e50811 Added FileVersion attribute to XML format to distinguish legacy float binary files from new double binary files 2013-03-27 11:47:18 +04:30
wmayer
cf499792e6 0000827: Sketch copy deletes all constraints 2012-11-20 13:16:15 +01:00
wmayer
ef24e4d2e6 Implement CDATA reader, fix bugs in Writer::insertBinFile 2012-05-31 11:50:25 +02:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00