occt: master 91322f44
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
abv | master | 2013-02-01 14:41:16 | master 3bea4c16 | |
Affected Issues | 0022898: IGES import fails in german environment | |||
Changeset | 0022898: IGES import fails in german environment Added DRAW command dlocale to set and query current locale of the C subsystem Equivalents of C functions working with conversions of strings to/from reals added in Standard_CString, providing locale-independent behavior (using always "C" locale) In DRAW packages, calls to atof() and atoi() are replaced by direct calls to Draw::Atof() and Draw::Atoi(), respectively, instead of substituting by #define Use of atof(), strtod(), and *scanf() involving floating point conversions in OCCT code replaced by locale-independent Atof() and Strtod() Calls to sprintf() involving floating point in OCCT code are replaced by call to locale-independent Sprintf(), except a few places where converted strings are used immediately for display in the 3d viewer Changes of global locale are eliminated throughout OCCT code Proposed correction for GNU libC where v*printf_l functions are absent Added test case (bugs xde bug22898) for data exchange operations with non-standard locale Use xlocale on Mac OS X and within glibc Corrected strtod_l wrapper Generate error rather than warning Introduce Standard_CLocaleSentry replacement for removed OSD_Localizer Standard_CLocaleSentry - copy locale string Standard_CLocaleSentry - use _configthreadlocale on Windows Standard_CLocaleSentry::GetCLocale() - return locale_t rather than void* Corrected misprint in ~Standard_CLocaleSentry() Use French locale in bug22898 test case Mark test case as skipped if locale is unavailable on tested system. Use fr_FR locale for tests on Mac OS X |
|||
mod - src/Approx/Approx_SameParameter.cxx | Diff File | |||
mod - src/BOPTest/BOPTest_BOPCommands.cxx | Diff File | |||
mod - src/BOPTest/BOPTest_CurveCommands.cxx | Diff File | |||
mod - src/BOPTest/BOPTest_EFCommands.cxx | Diff File | |||
mod - src/BOPTest/BOPTest_LowCommands.cxx | Diff File | |||
mod - src/BOPTest/BOPTest_MTestCommands.cxx | Diff File | |||
mod - src/BOPTest/BOPTest_TolerCommands.cxx | Diff File | |||
mod - src/BOPTools/BOPTools_Checker.cxx | Diff File | |||
mod - src/BRepTest/BRepTest_BasicCommands.cxx | Diff File | |||
mod - src/BRepTest/BRepTest_ChamferCommands.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_ExtremaCommands.cxx | Diff File | |||
mod - src/BRepTest/BRepTest_FeatureCommands.cxx | Diff File | |||
mod - src/BRepTest/BRepTest_Fillet2DCommands.cxx | Diff File | |||
mod - src/BRepTest/BRepTest_FilletCommands.cxx | Diff File | |||
mod - src/BRepTest/BRepTest_FillingCommands.cxx | Diff File | |||
mod - src/BRepTest/BRepTest_GPropCommands.cxx | Diff File | |||
mod - src/BRepTest/BRepTest_OtherCommands.cxx | Diff File | |||
mod - src/BRepTest/BRepTest_PrimitiveCommands.cxx | Diff File | |||
mod - src/BRepTest/BRepTest_ProjectionCommands.cxx | Diff File | |||
mod - src/BRepTest/BRepTest_SurfaceCommands.cxx | Diff File | |||
mod - src/BRepTest/BRepTest_SweepCommands.cxx | Diff File | |||
mod - src/BRepTest/BRepTest_TopologyCommands.cxx | Diff File | |||
mod - src/DBRep/DBRep.cxx | Diff File | |||
mod - src/DDataStd/DDataStd_BasicCommands.cxx | Diff File | |||
mod - src/DDataStd/DDataStd_ConstraintCommands.cxx | Diff File | |||
mod - src/DDataStd/DDataStd_DatumCommands.cxx | Diff File | |||
mod - src/DDataStd/DDataStd_DrawDisplayCommands.cxx | Diff File | |||
mod - src/DDataStd/DDataStd_TreeCommands.cxx | Diff File | |||
mod - src/DDF/DDF_BrowserCommands.cxx | Diff File | |||
mod - src/DDF/DDF_IOStream.cxx | Diff File | |||
mod - src/DDF/DDF_TransactionCommands.cxx | Diff File | |||
mod - src/DDocStd/DDocStd_DocumentCommands.cxx | Diff File | |||
mod - src/DDocStd/DDocStd_MTMCommands.cxx | Diff File | |||
mod - src/DNaming/DNaming_BasicCommands.cxx | Diff File | |||
mod - src/DNaming/DNaming_ModelingCommands.cxx | Diff File | |||
mod - src/DNaming/DNaming_SelectionCommands.cxx | Diff File | |||
mod - src/DPrsStd/DPrsStd_AISPresentationCommands.cxx | Diff File | |||
mod - src/Draw/Draw.cdl | Diff File | |||
mod - src/Draw/Draw.cxx | Diff File | |||
mod - src/Draw/Draw_Appli.hxx | Diff File | |||
mod - src/Draw/Draw_BasicCommands.cxx | Diff File | |||
mod - src/Draw/Draw_GraphicCommands.cxx | Diff File | |||
mod - src/Draw/Draw_Interpretor.cxx | Diff File | |||
mod - src/Draw/Draw_ProgressIndicator.cxx | Diff File | |||
mod - src/Draw/Draw_UnitCommands.cxx | Diff File | |||
mod - src/Draw/Draw_VariableCommands.cxx | Diff File | |||
mod - src/DrawDim/DrawDim_PlanarDimensionCommands.cxx | Diff File | |||
mod - src/DrawTrSurf/DrawTrSurf.cxx | Diff File | |||
mod - src/DrawTrSurf/DrawTrSurf_Triangulation.cxx | Diff File | |||
mod - src/Dynamic/Dynamic_FuzzyDefinitionsDictionary.cxx | Diff File | |||
mod - src/Dynamic/Dynamic_MethodDefinitionsDictionary.cxx | Diff File | |||
mod - src/Expr/Expr_NumericValue.cxx | Diff File | |||
mod - src/ExprIntrp/ExprIntrp_yaccintrf.cxx | Diff File | |||
mod - src/FSD/FSD_CmpFile.cdl | Diff File | |||
mod - src/FSD/FSD_CmpFile.cxx | Diff File | |||
mod - src/FSD/FSD_File.cxx | Diff File | |||
mod - src/GeometryTest/GeometryTest_API2dCommands.cxx | Diff File | |||
mod - src/GeometryTest/GeometryTest_APICommands.cxx | Diff File | |||
mod - src/GeometryTest/GeometryTest_ConstraintCommands.cxx | Diff File | |||
mod - src/GeometryTest/GeometryTest_ContinuityCommands.cxx | Diff File | |||
mod - src/GeometryTest/GeometryTest_CurveCommands.cxx | Diff File | |||
mod - src/GeometryTest/GeometryTest_FairCurveCommands.cxx | Diff File | |||
mod - src/GeometryTest/GeometryTest_PolyCommands.cxx | Diff File | |||
mod - src/GeometryTest/GeometryTest_SurfaceCommands.cxx | Diff File | |||
mod - src/GeometryTest/GeometryTest_TestProjCommands.cxx | Diff File | |||
mod - src/GeomliteTest/GeomliteTest_API2dCommands.cxx | Diff File | |||
mod - src/GeomliteTest/GeomliteTest_ApproxCommands.cxx | Diff File | |||
mod - src/GeomliteTest/GeomliteTest_CurveCommands.cxx | Diff File | |||
mod - src/GeomliteTest/GeomliteTest_ModificationCommands.cxx | Diff File | |||
mod - src/GeomliteTest/GeomliteTest_SurfaceCommands.cxx | Diff File | |||
mod - src/GeomProjLib/GeomProjLib.cxx | Diff File | |||
mod - src/HLRTest/HLRTest.cxx | Diff File | |||
mod - src/IGESData/IGESData_GlobalSection.cxx | Diff File | |||
mod - src/IGESData/IGESData_ParamReader.cxx | Diff File | |||
mod - src/IGESGeom/IGESGeom_ToolCircularArc.cxx | Diff File | |||
mod - src/IGESGeom/IGESGeom_ToolConicArc.cxx | Diff File | |||
mod - src/IGESGeom/IGESGeom_ToolPlane.cxx | Diff File | |||
mod - src/IGESSelect/IGESSelect_Activator.cxx | Diff File | |||
mod - src/IGESSelect/IGESSelect_Dumper.cxx | Diff File | |||
mod - src/IGESSelect/IGESSelect_FloatFormat.cxx | Diff File | |||
mod - src/IGESToBRep/IGESToBRep_Reader.cxx | Diff File | |||
mod - src/Interface/Interface_FileReaderData.cxx | Diff File | |||
mod - src/Interface/Interface_FloatWriter.cxx | Diff File | |||
mod - src/Interface/Interface_Static.cxx | Diff File | |||
mod - src/Materials/Materials_MaterialDefinition.cxx | Diff File | |||
mod - src/Materials/Materials_MaterialsDictionary.cxx | Diff File | |||
mod - src/MeshTest/MeshTest.cxx | Diff File | |||
mod - src/MeshTest/MeshTest_PluginCommands.cxx | Diff File | |||
mod - src/Message/Message.cxx | Diff File | |||
mod - src/Message/Message_Msg.cxx | Diff File | |||
mod - src/MoniTool/MoniTool_Timer.cxx | Diff File | |||
mod - src/MoniTool/MoniTool_TypedValue.cxx | Diff File | |||
mod - src/OpenGl/OpenGl_GraphicDriver_Export.cxx | Diff File | |||
mod - src/OSD/FILES | Diff File | |||
mod - src/OSD/OSD.cdl | Diff File | |||
mod - src/OSD/OSD.cxx | Diff File | |||
rm - src/OSD/OSD_Localizer.cdl | Diff File | |||
rm - src/OSD/OSD_Localizer.cxx | Diff File | |||
rm - src/OSD/OSD_Real2String.cdl | Diff File | |||
rm - src/OSD/OSD_Real2String.cxx | Diff File | |||
mod - src/PCDM/PCDM_RetrievalDriver.cxx | Diff File | |||
mod - src/PCDM/PCDM_StorageDriver.cxx | Diff File | |||
mod - src/PCollection/PCollection_HAsciiString.cxx | Diff File | |||
mod - src/Poly/Poly_CoherentNode.cxx | Diff File | |||
mod - src/QABugs/QABugs_1.cxx | Diff File | |||
mod - src/QABugs/QABugs_10.cxx | Diff File | |||
mod - src/QABugs/QABugs_11.cxx | Diff File | |||
mod - src/QABugs/QABugs_12.cxx | Diff File | |||
mod - src/QABugs/QABugs_13.cxx | Diff File | |||
mod - src/QABugs/QABugs_14.cxx | Diff File | |||
mod - src/QABugs/QABugs_15.cxx | Diff File | |||
mod - src/QABugs/QABugs_16.cxx | Diff File | |||
mod - src/QABugs/QABugs_17.cxx | Diff File | |||
mod - src/QABugs/QABugs_18.cxx | Diff File | |||
mod - src/QABugs/QABugs_2.cxx | Diff File | |||
mod - src/QABugs/QABugs_3.cxx | Diff File | |||
mod - src/QABugs/QABugs_4.cxx | Diff File | |||
mod - src/QABugs/QABugs_5.cxx | Diff File | |||
mod - src/QABugs/QABugs_6.cxx | Diff File | |||
mod - src/QABugs/QABugs_8.cxx | Diff File | |||
mod - src/QABugs/QABugs_9.cxx | Diff File | |||
mod - src/QADNaming/QADNaming.cxx | Diff File | |||
mod - src/QADNaming/QADNaming_BasicCommands.cxx | Diff File | |||
mod - src/QADNaming/QADNaming_BuilderCommands.cxx | Diff File | |||
mod - src/QADNaming/QADNaming_IteratorsCommands.cxx | Diff File | |||
mod - src/QADNaming/QADNaming_SelectionCommands.cxx | Diff File | |||
mod - src/QADraw/QADraw.cxx | Diff File | |||
mod - src/QANCollection/QANCollection2.cxx | Diff File | |||
mod - src/QANCollection/QANCollection3.cxx | Diff File | |||
mod - src/QANewDBRepNaming/QANewDBRepNaming.cxx | Diff File | |||
mod - src/QANewDBRepNaming/QANewDBRepNaming_FeatureCommands.cxx | Diff File | |||
mod - src/QANewDBRepNaming/QANewDBRepNaming_PrimitiveCommands.cxx | Diff File | |||
mod - src/RWStl/RWStl.cxx | Diff File | |||
mod - src/Standard/FILES | Diff File | |||
mod - src/Standard/Standard.cxx | Diff File | |||
add - src/Standard/Standard_CLocaleSentry.cxx | Diff File | |||
add - src/Standard/Standard_CLocaleSentry.hxx | Diff File | |||
mod - src/Standard/Standard_CString.cxx | Diff File | |||
mod - src/StepSelect/StepSelect_Activator.cxx | Diff File | |||
mod - src/StepSelect/StepSelect_FloatFormat.cxx | Diff File | |||
mod - src/Storage/Storage_Schema.cxx | Diff File | |||
mod - src/SWDRAW/SWDRAW.cxx | Diff File | |||
mod - src/SWDRAW/SWDRAW_ShapeAnalysis.cxx | Diff File | |||
mod - src/SWDRAW/SWDRAW_ShapeCustom.cxx | Diff File | |||
mod - src/SWDRAW/SWDRAW_ShapeFix.cxx | Diff File | |||
mod - src/SWDRAW/SWDRAW_ShapeTool.cxx | Diff File | |||
mod - src/SWDRAW/SWDRAW_ShapeUpgrade.cxx | Diff File | |||
mod - src/TCollection/TCollection_AsciiString.cxx | Diff File | |||
mod - src/TCollection/TCollection_ExtendedString.cxx | Diff File | |||
mod - src/TestTopOpe/TestTopOpe_BOOP.cxx | Diff File | |||
mod - src/TestTopOpe/TestTopOpe_BOOPCommands.cxx | Diff File | |||
mod - src/TestTopOpe/TestTopOpe_CORCommands.cxx | Diff File | |||
mod - src/TestTopOpe/TestTopOpe_HDSCommands.cxx | Diff File | |||
mod - src/TestTopOpe/TestTopOpe_MesureCommands.cxx | Diff File | |||
mod - src/TestTopOpe/TestTopOpe_OtherCommands.cxx | Diff File | |||
mod - src/TestTopOpeDraw/TestTopOpeDraw_OtherCommands.cxx | Diff File | |||
mod - src/TestTopOpeTools/TestTopOpeTools_TraceCommands.cxx | Diff File | |||
mod - src/TObjDRAW/TObjDRAW.cxx | Diff File | |||
mod - src/TopOpeBRep/TopOpeBRep_traceALWL.cxx | Diff File | |||
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_Griddump.cxx | Diff File | |||
mod - src/TopTools/TopTools_ShapeSet.cxx | Diff File | |||
mod - src/Units/Units_UnitsDictionary.cxx | Diff File | |||
mod - src/ViewerTest/ViewerTest.cxx | Diff File | |||
mod - src/ViewerTest/ViewerTest_FilletCommands.cxx | Diff File | |||
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx | Diff File | |||
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx | Diff File | |||
mod - src/Voxel/Voxel_Reader.cxx | Diff File | |||
mod - src/VrmlData/VrmlData_Geometry.cxx | Diff File | |||
mod - src/VrmlData/VrmlData_Group.cxx | Diff File | |||
mod - src/VrmlData/VrmlData_IndexedFaceSet.cxx | Diff File | |||
mod - src/VrmlData/VrmlData_Material.cxx | Diff File | |||
mod - src/VrmlData/VrmlData_Scene.cxx | Diff File | |||
mod - src/VrmlData/VrmlData_WorldInfo.cxx | Diff File | |||
mod - src/WNT/WNT_GraphicDevice.cxx | Diff File | |||
mod - src/XDEDRAW/XDEDRAW.cxx | Diff File | |||
mod - src/XDEDRAW/XDEDRAW_Colors.cxx | Diff File | |||
mod - src/XDEDRAW/XDEDRAW_Common.cxx | Diff File | |||
mod - src/XDEDRAW/XDEDRAW_Layers.cxx | Diff File | |||
mod - src/XDEDRAW/XDEDRAW_Props.cxx | Diff File | |||
mod - src/XDEDRAW/XDEDRAW_Shapes.cxx | Diff File | |||
mod - src/XmlLDrivers/XmlLDrivers.cxx | Diff File | |||
mod - src/XmlLDrivers/XmlLDrivers_DocumentRetrievalDriver.cxx | Diff File | |||
mod - src/XmlLDrivers/XmlLDrivers_DocumentStorageDriver.cxx | Diff File | |||
mod - src/XmlMDataStd/XmlMDataStd_NamedDataDriver.cxx | Diff File | |||
mod - src/XmlMDataStd/XmlMDataStd_RealArrayDriver.cxx | Diff File | |||
mod - src/XmlMDataStd/XmlMDataStd_RealDriver.cxx | Diff File | |||
mod - src/XmlMNaming/XmlMNaming_Shape1.cxx | Diff File | |||
mod - src/XmlMPrsStd/XmlMPrsStd_PositionDriver.cxx | Diff File | |||
mod - src/XmlMXCAFDoc/XmlMXCAFDoc_CentroidDriver.cxx | Diff File | |||
mod - src/XmlMXCAFDoc/XmlMXCAFDoc_DimTolDriver.cxx | Diff File | |||
mod - src/XmlObjMgt/XmlObjMgt.cxx | Diff File | |||
mod - src/XmlObjMgt/XmlObjMgt_GP.cxx | Diff File | |||
mod - src/XSDRAW/XSDRAW.cxx | Diff File | |||
mod - src/XSDRAWIGES/XSDRAWIGES.cxx | Diff File | |||
mod - src/XSDRAWSTEP/XSDRAWSTEP.cxx | Diff File | |||
mod - src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx | Diff File | |||
mod - tests/bugs/begin | Diff File | |||
mod - tests/bugs/parse.rules | Diff File | |||
add - tests/bugs/xde/bug22898 | Diff File |