occt: master dde68833

Author Committer Branch Timestamp Parent
abv abv master 2016-08-25 11:58:51 master 3fe9ce0e
Affected Issues  0027772: Foundation Classes - define Standard_Boolean using C++ type "bool" instead of "unsigned int"
Changeset 0027772: Foundation Classes - define Standard_Boolean using C++ type "bool" instead of "unsigned int"

Code has been updated to remove no-op casts and implicit casts to Standard_Boolean.

Places of inproper use of Standard_Boolean instead of Standard_Integer
have been corrected:
- Bnd_Box, Bnd_Box2d
  Bit flags are now defined as private enum
- HLRAlgo_BiPoint, HLRAlgo_EdgesBlock, HLRBRep_EdgeData, HLRBRep_FaceData
  Bit flags are now defined as enum
- HLRAlgo_EdgeStatus, HLRBRep_BiPnt2D, HLRBRep_BiPoint
  Bit flags are now defined as bool fields
- HLRAlgo_PolyData
  Bit flags are now defined as Standard_Integer
- OSD_DirectoryIterator, OSD_FileIterator
  Boolean flag is now defined as Standard_Boolean
- ShapeAnalysis_Surface::SurfaceNewton()
  now returns Standard_Integer (values 0, 1 or 3)
- ChFi2d_FilletAlgo
  now uses TColStd_SequenceOfBoolean instead of TColStd_SequenceOfInteger
  for storing boolean flags

Method IFSelect_Dispatch::PacketsCount() has been dropped from interface.

ShapeFix_Solid::Status() has been fixed to decode requested status
instead of returning integer value.

TopOpeBRepBuild_Builder1 now defines map storing Standard_Boolean values
instead of Standard_Integer.

Persistence for Standard_Boolean type has been corrected
to keep backward compatibility:
- BinMDataStd, BinTools, FSD_BinaryFile

Broken Draw Harness commands vdisplaymode and verasemode have been removed.

BRepMesh_FastDiscretFace::initDataStructure() - workaround old gcc limitations

BRepMesh_IncrementalMesh::clear() - avoid ambiguity
mod - dox/dev_guides/upgrade/upgrade.md Diff File
mod - samples/mfc/standard/08_HLR/src/SelectionDialog.cpp Diff File
mod - samples/mfc/standard/Common/ColoredMeshDlg.cpp Diff File
mod - samples/mfc/standard/Common/DimensionDlg.cpp Diff File
mod - samples/mfc/standard/Common/User_Cylinder.cxx Diff File
mod - src/Adaptor3d/Adaptor3d_IsoCurve.cxx Diff File
mod - src/BinLDrivers/BinLDrivers_DocumentSection.cxx Diff File
mod - src/BinMDataStd/BinMDataStd_ByteArrayDriver.cxx Diff File
mod - src/BinMDataStd/BinMDataStd_ExtStringArrayDriver.cxx Diff File
mod - src/BinMDataStd/BinMDataStd_IntegerArrayDriver.cxx Diff File
mod - src/BinMDataStd/BinMDataStd_IntPackedMapDriver.cxx Diff File
mod - src/BinMDataStd/BinMDataStd_RealArrayDriver.cxx Diff File
mod - src/BinMDataXtd/BinMDataXtd_ConstraintDriver.cxx Diff File
mod - src/BinMDataXtd/BinMDataXtd_PatternStdDriver.cxx Diff File
mod - src/BinMDataXtd/BinMDataXtd_PresentationDriver.cxx Diff File
mod - src/BinObjMgt/BinObjMgt_Persistent.lxx Diff File
mod - src/BinTools/BinTools.cxx Diff File
mod - src/Bnd/Bnd_Box.cxx Diff File
mod - src/Bnd/Bnd_Box.hxx Diff File
rm - src/Bnd/Bnd_Box.lxx Diff File
mod - src/Bnd/Bnd_Box2d.hxx Diff File
rm - src/Bnd/Bnd_Box2d.lxx Diff File
mod - src/Bnd/FILES Diff File
mod - src/BOPDS/BOPDS_IndexRange.lxx Diff File
mod - src/BOPDS/BOPDS_Interf.hxx Diff File
mod - src/BOPTest/BOPTest_OptionCommands.cxx Diff File
mod - src/BOPTools/BOPTools_AlgoTools.cxx Diff File
mod - src/BOPTools/BOPTools_AlgoTools.hxx Diff File
mod - src/BRep/BRep_TEdge.cxx Diff File
mod - src/BRepAlgo/BRepAlgo_Tool.cxx Diff File
mod - src/BRepBuilderAPI/BRepBuilderAPI_Sewing.cxx Diff File
mod - src/BRepBuilderAPI/BRepBuilderAPI_Sewing.hxx Diff File
mod - src/BRepFill/BRepFill_Sweep.cxx Diff File
mod - src/BRepFill/BRepFill_TrimShellCorner.cxx Diff File
mod - src/BRepMesh/BRepMesh_Delaun.cxx Diff File
mod - src/BRepMesh/BRepMesh_FastDiscretFace.cxx Diff File
mod - src/BRepMesh/BRepMesh_IncrementalMesh.cxx Diff File
mod - src/BRepPrim/BRepPrim_GWedge.cxx Diff File
mod - src/BRepPrim/BRepPrim_OneAxis.cxx Diff File
mod - src/BRepTest/BRepTest_CheckCommands.cxx Diff File
mod - src/BRepTest/BRepTest_CurveCommands.cxx Diff File
mod - src/BRepTest/BRepTest_DraftAngleCommands.cxx Diff File
mod - src/BRepTest/BRepTest_FeatureCommands.cxx Diff File
mod - src/BRepTest/BRepTest_FillingCommands.cxx Diff File
mod - src/BRepTest/BRepTest_SweepCommands.cxx Diff File
mod - src/BRepToIGES/BRepToIGES_BREntity.cxx Diff File
mod - src/BRepToIGESBRep/BRepToIGESBRep_Entity.cxx Diff File
mod - src/BRepTools/BRepTools_Quilt.cxx Diff File
mod - src/ChFi2d/ChFi2d_FilletAlgo.cxx Diff File
mod - src/ChFi2d/ChFi2d_FilletAlgo.hxx Diff File
mod - src/ChFi3d/ChFi3d_Builder.hxx Diff File
mod - src/ChFi3d/ChFi3d_Builder_2.cxx Diff File
mod - src/ChFi3d/ChFi3d_Builder_6.cxx Diff File
mod - src/ChFi3d/ChFi3d_Builder_C1.cxx Diff File
mod - src/ChFi3d/ChFi3d_Builder_C2.cxx Diff File
mod - src/ChFi3d/ChFi3d_ChBuilder.cxx Diff File
mod - src/ChFi3d/ChFi3d_ChBuilder.hxx Diff File
mod - src/ChFi3d/ChFi3d_ChBuilder_C3.cxx Diff File
mod - src/ChFi3d/ChFi3d_FilBuilder.cxx Diff File
mod - src/ChFi3d/ChFi3d_FilBuilder.hxx Diff File
mod - src/ChFi3d/ChFi3d_FilBuilder_C3.cxx Diff File
mod - src/ChFiDS/ChFiDS_SurfData.lxx Diff File
mod - src/DDataStd/DDataStd_BasicCommands.cxx Diff File
mod - src/DDataStd/DDataStd_TreeCommands.cxx Diff File
mod - src/DNaming/DNaming.cxx Diff File
mod - src/DNaming/DNaming_BasicCommands.cxx Diff File
mod - src/DNaming/DNaming_Line3DDriver.cxx Diff File
mod - src/DNaming/DNaming_ModelingCommands.cxx Diff File
mod - src/DNaming/DNaming_SelectionCommands.cxx Diff File
mod - src/Draw/Draw.cxx Diff File
mod - src/Draw/Draw_Interpretor.cxx Diff File
mod - src/Extrema/Extrema_Curve2dTool.lxx Diff File
mod - src/FilletSurf/FilletSurf_InternalBuilder.cxx Diff File
mod - src/FilletSurf/FilletSurf_InternalBuilder.hxx Diff File
mod - src/FSD/FSD_BinaryFile.cxx Diff File
mod - src/GeometryTest/GeometryTest_CurveCommands.cxx Diff File
mod - src/Graphic3d/Graphic3d_MarkerImage.cxx Diff File
mod - src/HLRAlgo/FILES Diff File
mod - src/HLRAlgo/HLRAlgo_BiPoint.cxx Diff File
mod - src/HLRAlgo/HLRAlgo_BiPoint.hxx Diff File
rm - src/HLRAlgo/HLRAlgo_BiPoint.lxx Diff File
mod - src/HLRAlgo/HLRAlgo_EdgesBlock.hxx Diff File
rm - src/HLRAlgo/HLRAlgo_EdgesBlock.lxx Diff File
mod - src/HLRAlgo/HLRAlgo_EdgeStatus.cxx Diff File
mod - src/HLRAlgo/HLRAlgo_EdgeStatus.hxx Diff File
rm - src/HLRAlgo/HLRAlgo_EdgeStatus.lxx Diff File
mod - src/HLRAlgo/HLRAlgo_PolyAlgo.cxx Diff File
mod - src/HLRAlgo/HLRAlgo_PolyData.cxx Diff File
mod - src/HLRAlgo/HLRAlgo_PolyData.hxx Diff File
mod - src/HLRBRep/FILES Diff File
rm - src/HLRBRep/HLRBRep_BiPnt2D.cxx Diff File
mod - src/HLRBRep/HLRBRep_BiPnt2D.hxx Diff File
rm - src/HLRBRep/HLRBRep_BiPnt2D.lxx Diff File
rm - src/HLRBRep/HLRBRep_BiPoint.cxx Diff File
mod - src/HLRBRep/HLRBRep_BiPoint.hxx Diff File
rm - src/HLRBRep/HLRBRep_BiPoint.lxx Diff File
mod - src/HLRBRep/HLRBRep_EdgeData.hxx Diff File
mod - src/HLRBRep/HLRBRep_EdgeData.lxx Diff File
mod - src/HLRBRep/HLRBRep_FaceData.hxx Diff File
mod - src/HLRBRep/HLRBRep_FaceData.lxx Diff File
mod - src/HLRBRep/HLRBRep_PolyAlgo.cxx Diff File
mod - src/HLRBRep/HLRBRep_PolyAlgo.hxx Diff File
mod - src/IFSelect/IFSelect_Dispatch.cxx Diff File
mod - src/IFSelect/IFSelect_Dispatch.hxx Diff File
mod - src/IFSelect/IFSelect_DispGlobal.cxx Diff File
mod - src/IFSelect/IFSelect_DispGlobal.hxx Diff File
mod - src/IFSelect/IFSelect_DispPerCount.cxx Diff File
mod - src/IFSelect/IFSelect_DispPerCount.hxx Diff File
mod - src/IFSelect/IFSelect_DispPerFiles.cxx Diff File
mod - src/IFSelect/IFSelect_DispPerFiles.hxx Diff File
mod - src/IFSelect/IFSelect_DispPerOne.cxx Diff File
mod - src/IFSelect/IFSelect_DispPerOne.hxx Diff File
mod - src/IFSelect/IFSelect_Functions.cxx Diff File
mod - src/IFSelect/IFSelect_SelectRootComps.cxx Diff File
mod - src/IFSelect/IFSelect_SelectRoots.cxx Diff File
mod - src/IFSelect/IFSelect_SessionPilot.cxx Diff File
mod - src/IGESData/IGESData_IGESEntity.cxx Diff File
mod - src/IGESDraw/IGESDraw_CircArraySubfigure.cxx Diff File
mod - src/IGESDraw/IGESDraw_CircArraySubfigure.hxx Diff File
mod - src/IGESDraw/IGESDraw_ConnectPoint.cxx Diff File
mod - src/IGESDraw/IGESDraw_ConnectPoint.hxx Diff File
mod - src/IGESDraw/IGESDraw_RectArraySubfigure.cxx Diff File
mod - src/IGESDraw/IGESDraw_RectArraySubfigure.hxx Diff File
mod - src/IGESSolid/IGESSolid_TopoBuilder.cxx Diff File
mod - src/IGESSolid/IGESSolid_TopoBuilder.hxx Diff File
mod - src/IGESToBRep/IGESToBRep_Actor.cxx Diff File
mod - src/IntPatch/IntPatch_RstInt.cxx Diff File
mod - src/IntTools/IntTools_EdgeEdge.cxx Diff File
mod - src/IVtkDraw/IVtkDraw.cxx Diff File
mod - src/IVtkDraw/IVtkDraw_Interactor.cxx Diff File
mod - src/IVtkOCC/IVtkOCC_ShapeMesher.cxx Diff File
mod - src/LocOpe/LocOpe_SplitShape.cxx Diff File
mod - src/LocOpe/LocOpe_WiresOnShape.cxx Diff File
mod - src/OpenGl/OpenGl_Clipping.hxx Diff File
mod - src/OSD/OSD_DirectoryIterator.cxx Diff File
mod - src/OSD/OSD_DirectoryIterator.hxx Diff File
mod - src/OSD/OSD_FileIterator.cxx Diff File
mod - src/OSD/OSD_FileIterator.hxx Diff File
mod - src/Poly/Poly_MakeLoops.hxx Diff File
mod - src/QABugs/QABugs_11.cxx Diff File
mod - src/QABugs/QABugs_19.cxx Diff File
mod - src/QADNaming/QADNaming_BasicCommands.cxx Diff File
mod - src/QANewBRepNaming/QANewBRepNaming_Loader.cxx Diff File
mod - src/QANewBRepNaming/QANewBRepNaming_LoaderParent.cxx Diff File
mod - src/QANewDBRepNaming/QANewDBRepNaming_PrimitiveCommands.cxx Diff File
mod - src/QANewModTopOpe/QANewModTopOpe_Tools.cxx Diff File
mod - src/RWStl/RWStl.cxx Diff File
mod - src/SelectMgr/SelectMgr_BaseFrustum.cxx Diff File
mod - src/SelectMgr/SelectMgr_BaseFrustum.hxx Diff File
mod - src/ShapeAnalysis/ShapeAnalysis_Surface.cxx Diff File
mod - src/ShapeAnalysis/ShapeAnalysis_Surface.hxx Diff File
mod - src/ShapeCustom/ShapeCustom_DirectModification.cxx Diff File
mod - src/ShapeFix/ShapeFix_ComposeShell.cxx Diff File
mod - src/ShapeFix/ShapeFix_Face.cxx Diff File
mod - src/ShapeFix/ShapeFix_Shape.cxx Diff File
mod - src/ShapeFix/ShapeFix_Shell.cxx Diff File
mod - src/ShapeFix/ShapeFix_Solid.cxx Diff File
mod - src/ShapeFix/ShapeFix_Wire.cxx Diff File
mod - src/ShapePersistent/ShapePersistent_BRep.cxx Diff File
mod - src/ShapePersistent/ShapePersistent_TopoDS.cxx Diff File
mod - src/ShapeProcess/ShapeProcess_Context.cxx Diff File
mod - src/ShapeProcess/ShapeProcess_OperLibrary.cxx Diff File
mod - src/Standard/Standard_Character.hxx Diff File
mod - src/Standard/Standard_Transient.cxx Diff File
mod - src/Standard/Standard_TypeDef.hxx Diff File
mod - src/StdLPersistent/StdLPersistent_Collection.cxx Diff File
mod - src/StdLPersistent/StdLPersistent_Collection.hxx Diff File
mod - src/STEPCAFControl/STEPCAFControl_Writer.cxx Diff File
mod - src/STEPControl/STEPControl_ActorRead.cxx Diff File
mod - src/STEPControl/STEPControl_ActorWrite.cxx Diff File
mod - src/STEPControl/STEPControl_Reader.cxx Diff File
mod - src/StepToTopoDS/StepToTopoDS_TranslateEdge.cxx Diff File
mod - src/SWDRAW/SWDRAW_ShapeAnalysis.cxx Diff File
mod - src/SWDRAW/SWDRAW_ShapeCustom.cxx Diff File
mod - src/SWDRAW/SWDRAW_ShapeExtend.cxx Diff File
mod - src/TColStd/TColStd_PackedMapOfInteger.hxx Diff File
mod - src/TDataStd/TDataStd_BooleanList.cxx Diff File
mod - src/TestTopOpe/TestTopOpe_BOOPCommands.cxx Diff File
mod - src/TFunction/FILES Diff File
mod - src/TFunction/TFunction_Function.hxx Diff File
rm - src/TFunction/TFunction_Function.lxx Diff File
mod - src/TObj/TObj_Object.cxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeStepEdge.cxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeStepFace.cxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeStepVertex.cxx Diff File
mod - src/TopOpeBRep/TopOpeBRep_FacesFiller.hxx Diff File
mod - src/TopOpeBRep/TopOpeBRep_FacesFiller_1.cxx Diff File
mod - src/TopOpeBRep/TopOpeBRep_FFTransitionTool.cxx Diff File
mod - src/TopOpeBRep/TopOpeBRep_traceBOOPNINT.cxx Diff File
mod - src/TopOpeBRep/TopOpeBRep_vpr.cxx Diff File
mod - src/TopOpeBRep/TopOpeBRep_vprclo.cxx Diff File
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_Builder.cxx Diff File
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_Builder1.cxx Diff File
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_Builder1.hxx Diff File
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_GTool.cxx Diff File
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_GTopo.cxx Diff File
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_GTopo.hxx Diff File
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_KPart.cxx Diff File
mod - src/TopOpeBRepDS/TopOpeBRepDS_redu.cxx Diff File
mod - src/TopOpeBRepDS/TopOpeBRepDS_repvg.cxx Diff File
mod - src/ViewerTest/ViewerTest.cxx Diff File
mod - src/ViewerTest/ViewerTest_CmdParser.cxx Diff File
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx Diff File
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff File
mod - src/XCAFDoc/XCAFDoc_Dimension.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_ByteArrayDriver.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_ExtStringArrayDriver.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_IntegerArrayDriver.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_IntPackedMapDriver.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_RealArrayDriver.cxx Diff File
mod - src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx Diff File