Changesets: occt

master 0deeff45

2019-10-19 09:30:20

abv


Committer: abv Details Diff
Update version of OCCT up to 7.4.1
mod - src/Standard/Standard_Version.hxx Diff File

master 36e28f96

2019-10-18 08:40:55

kgv


Committer: apn Details Diff
0031079: Visualization - embed minimal fallback font

Font_FTFont::FindAndCreate() now loads embedded fallback font within Font_StrictLevel_Any level.
Font_FontMgr::FindFont() - fixed misprint in message, and customized message for range fallback error.
Font_FontMgr - added one more fallback Korean font for Linux.

vfont command has been extended with options to clear Font Manager content.
Affected Issues
0031079
mod - dox/overview/overview.md Diff File
mod - src/Font/FILES Diff File
add - src/Font/Font_DejavuSans_Latin_woff.pxx Diff File
mod - src/Font/Font_FontMgr.cxx Diff File
mod - src/Font/Font_FontMgr.hxx Diff File
mod - src/Font/Font_FTFont.cxx Diff File
mod - src/ViewerTest/ViewerTest_ObjectCommands.cxx Diff File
add - tests/3rdparty/fonts/C3 Diff File
rm - tests/3rdparty/parse.rules Diff File

master 565baee6

2019-10-15 23:42:33

kgv


Committer: apn Details Diff
0031070: Configuration - fix building issues when using Emscripten toolchain

Handled __EMSCRIPTEN__ macros to:
- Workaround atomics (__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 is undefined, but GCC atomics are provided).
- Suppress non-standard header <sys/signal.h> warning.
- Return OSD_LinuxREDHAT.
- Avoid inclusion of XLib headers.
- Skip fontconfig library.
- Enable EGL+GLES path (translated by Emscripten into WebGL).
- Skip eglCreatePbufferSurface() not implemented by Emscripten EGL.

Fixed Graphic3d_Vec4.hxx usage within Quantity_ColorRGBA.hxx.

OpenGl_ShaderManager::defaultGlslVersion() now prefers GLSL 300 es when WebGL 2.0 is available,
as there no any OpenGL ES greater than 3.0 emulation so far.

Shaders_Declarations.glsl - added workaround for GLSL compilation on WebGL 1.0
by defining Light properties accessors as macros instead of functions
('[]' : Index expression must be constant).

OpenGl_FrameBuffer::Init() - added workaround for initialization of GL_DEPTH24_STENCIL8
depth-stencil attachment on WebGL 1.0 + GL_WEBGL_depth_texture extension.

OpenGl_Context::Vec4FromQuantityColor() now considers myIsSRgbActive flag
to handle use case, when Immediate Layer is drawn directly into window buffer,
which is not sRGB-ready.

Added new sample - OCCT WebGL viewer.
mod - dox/FILES_HTML.txt Diff File
add - dox/overview/images/sample_webgl.png Diff File
mod - dox/overview/overview.md Diff File
add - samples/webgl/.gitignore Diff File
add - samples/webgl/CMakeLists.txt Diff File
add - samples/webgl/main.cpp Diff File
add - samples/webgl/occt-webgl-sample.html Diff File
add - samples/webgl/ReadMe.md Diff File
add - samples/webgl/WasmOcctView.cpp Diff File
add - samples/webgl/WasmOcctView.h Diff File
add - samples/webgl/WasmVKeys.h Diff File
mod - src/Aspect/Aspect_DisplayConnection.cxx Diff File
mod - src/Aspect/Aspect_DisplayConnection.hxx Diff File
mod - src/Aspect/Aspect_FBConfig.hxx Diff File
mod - src/Aspect/Aspect_XWD.hxx Diff File
mod - src/Font/Font_FontMgr.cxx Diff File
mod - src/InterfaceGraphic/InterfaceGraphic.hxx Diff File
mod - src/OpenGl/OpenGl_Context.cxx Diff File
mod - src/OpenGl/OpenGl_Context.hxx Diff File
mod - src/OpenGl/OpenGl_FrameBuffer.cxx Diff File
mod - src/OpenGl/OpenGl_GlFunctions.hxx Diff File
mod - src/OpenGl/OpenGl_GraphicDriver.cxx Diff File
mod - src/OpenGl/OpenGl_GraphicDriver.hxx Diff File
mod - src/OpenGl/OpenGl_ShaderManager.cxx Diff File
mod - src/OpenGl/OpenGl_Window.cxx Diff File
mod - src/OSD/OSD_Chronometer.cxx Diff File
mod - src/OSD/OSD_MemInfo.cxx Diff File
mod - src/OSD/OSD_Path.cxx Diff File
mod - src/OSD/OSD_signal.cxx Diff File
mod - src/Quantity/Quantity_ColorRGBA.cxx Diff File
mod - src/Shaders/Declarations.glsl Diff File
mod - src/Shaders/DeclarationsImpl.glsl Diff File
mod - src/Shaders/Shaders_DeclarationsImpl_glsl.pxx Diff File
mod - src/Shaders/Shaders_Declarations_glsl.pxx Diff File
mod - src/Standard/Standard_Atomic.hxx Diff File
mod - src/Xw/Xw_Window.cxx Diff File
mod - src/Xw/Xw_Window.hxx Diff File

master 89073268

2019-10-15 17:46:57

kgv


Committer: apn Details Diff
0031021: Coding Rules - Deprecation warnings on OSX within Draw_Window_1.mm

Use new renamed enumeration values instead of deprecated ones.
Affected Issues
0031021
mod - src/Draw/Draw_Window_1.mm Diff File

master 63da0df9

2019-10-14 13:54:13

jgv


Committer: apn Details Diff
0031066: Infinite loop in ShapeUpgrade_UnifySameDomain

Modification in local static method TransformPCurves - compute real U And V bounds of a face and use them in further computations.
mod - src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx Diff File
add - tests/bugs/modalg_7/bug31066 Diff File

master d7992a77

2019-10-14 13:51:52

ifv


Committer: apn Details Diff
0031029: BRepLib::SameParameter regression in OCCT 7.4 from OCCT 7.3

1. BRepLib.cxx: calculation of 2d tolerance is changed in method BRepLib::SameParameter(Edge..)
2. Geom2dConvert.cxx: incorrect comparing
"SquareDistance < tolerance"
is replaced by
"SquareDistance < tolerance*tolerance"
because tolerance is linear value.
Affected Issues
0031029
mod - src/BRepLib/BRepLib.cxx Diff File
mod - src/Geom2dConvert/Geom2dConvert.cxx Diff File
add - tests/bugs/modalg_7/bug31029 Diff File

master 00cdefc7

2019-10-14 07:29:54

vro


Committer: bugmaster Details Diff
0030101: Application Framework - A mistake reading a RealArray attribute with too small value

A case of reading of a very small value was skipped, for example: 2.1219957909652723e-314.
Fixed in XmlMDataStd_RealArrayDriver.cxx and XmlMDataStd_RealListDriver.cxx

// A test file bug29452.xml is extended to check this skipped case.
mod - src/XmlMDataStd/XmlMDataStd_RealArrayDriver.cxx Diff File
mod - src/XmlMDataStd/XmlMDataStd_RealListDriver.cxx Diff File
mod - tests/bugs/caf/bug29452 Diff File

master 1bd04b5a

2019-10-11 19:04:02

abv


Committer: abv Details Diff
0031060: Configuration - Support building with CLang compiler under VS 2019

Build tools are updated to support building with Visual Studion 2019 toolset ClangCL (LLVM clang-cl):
- In CMake builds, use of unsupported option "-std=c++0x" is avoided
- Tool genconf recognizes availability of ClangCL toolset and proposes it in the list
- Tool genproj recognizes new compiler specification VCVER=vclang and generates VS 2019 projects for it

Note that vclang configuration puts binaries to folder "vc14" as it is compatible with vc14 CRT.

Code is updated to build with Clang for Windows without errors and warnings:
- In BVH classes, pure virtual destructors are replaced by empty ones, to avoid bogus compiler warning
- In .lex files, pragmas are added to disable warnings in parser code
- In OSD, signature of function _osd_wnt_set_error() is corrected to avoid warning on incorrect use of va_args (undefined behavior)
- In OSD_Host, OSD_Parallel_TBB, warnings on usage of deprecated function are disabled
- In Quantity_ColorRGBA and ViewerTest_CmdParser, incorrect use of predefined macro __FUNCTION__ assuming it was a string literal is avoided
- In Standard_Macro.hxx, code is reordered to handle Clang for Windows appropriately
- In AdvApp2Var_SysBase.hxx, inclusion of obsolete (MSVC-specific) header file is replaced by Standard_TypeDef.hxx
- In Standard_ErrorHandler.hxx, empty statements added to avoid warning on unused class fields
- In IVtkDraw and ViewerTest, interface is corrected to use actual type avoiding unnecessary type casts

Off-topic: corrections of some errors (uninitialized class fields) reported by VS Code Analysis in TKernel
Affected Issues
0031060
mod - adm/cmake/occt_defs_flags.cmake Diff File
mod - adm/genconf.tcl Diff File
mod - adm/genconfdeps.tcl Diff File
mod - adm/genproj.tcl Diff File
mod - adm/templates/env.bat Diff File
mod - dox/overview/overview.md Diff File
mod - src/AdvApp2Var/AdvApp2Var_SysBase.hxx Diff File
mod - src/BinLDrivers/BinLDrivers_DocumentStorageDriver.cxx Diff File
mod - src/BVH/BVH_Object.hxx Diff File
mod - src/BVH/BVH_QueueBuilder.hxx Diff File
mod - src/BVH/BVH_Set.hxx Diff File
mod - src/ExprIntrp/ExprIntrp.lex Diff File
mod - src/ExprIntrp/lex.ExprIntrp.c Diff File
mod - src/Image/Image_Texture.cxx Diff File
mod - src/IVtkDraw/IVtkDraw.cxx Diff File
mod - src/IVtkDraw/IVtkDraw.hxx Diff File
mod - src/IVtkDraw/IVtkDraw_Interactor.cxx Diff File
mod - src/NCollection/NCollection_AccAllocator.hxx Diff File
mod - src/NCollection/NCollection_SparseArrayBase.hxx Diff File
mod - src/OSD/OSD_Directory.cxx Diff File
mod - src/OSD/OSD_DirectoryIterator.cxx Diff File
mod - src/OSD/OSD_Disk.cxx Diff File
mod - src/OSD/OSD_File.cxx Diff File
mod - src/OSD/OSD_FileIterator.cxx Diff File
mod - src/OSD/OSD_FileNode.cxx Diff File
mod - src/OSD/OSD_Host.cxx Diff File
mod - src/OSD/OSD_Parallel_TBB.cxx Diff File
mod - src/OSD/OSD_Path.cxx Diff File
mod - src/OSD/OSD_Process.cxx Diff File
mod - src/OSD/OSD_Timer.cxx Diff File
mod - src/QABugs/QABugs_11.cxx Diff File
mod - src/QABugs/QABugs_19.cxx Diff File
mod - src/Quantity/Quantity_ColorRGBA.cxx Diff File
mod - src/Standard/Standard_ErrorHandler.hxx Diff File
mod - src/Standard/Standard_Macro.hxx Diff File
mod - src/StepFile/lex.step.c Diff File
mod - src/StepFile/step.lex Diff File
mod - src/Storage/Storage_Schema.cxx Diff File
mod - src/ViewerTest/ViewerTest.hxx Diff File
mod - src/ViewerTest/ViewerTest_CmdParser.cxx Diff File
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff File

master 8ba3d978

2019-10-11 11:56:03

abv


Committer: abv Details Diff
0031048: Visualization - runtime error reported by Clang undefined behavior sanitizer in Image_AlienPixMap::Save()

Image_PixMapData - use unsigned math (uintptr_t) instead of signed math with pointers for defining negative stride.
Affected Issues
0031048
mod - src/Image/Image_PixMapData.hxx Diff File

master 420b38fd

2019-10-11 04:23:19

emv


Committer: bugmaster Details Diff
0031148: Modeling Algorithms - Offset adjacent co-planar faces with different offset values

Extend the Offset operation (Join Type "Intersection", mode "Complete") to allow different offset values on adjacent co-planar faces.
The gap between adjacent faces is closed by creating artificial face perpendicular to the face.

Adding test cases.
mod - src/BRepAlgo/BRepAlgo_Image.cxx Diff File
mod - src/BRepAlgo/BRepAlgo_Image.hxx Diff File
mod - src/BRepOffset/BRepOffset_Analyse.cxx Diff File
mod - src/BRepOffset/BRepOffset_Analyse.hxx Diff File
mod - src/BRepOffset/BRepOffset_Inter2d.cxx Diff File
mod - src/BRepOffset/BRepOffset_Inter2d.hxx Diff File
mod - src/BRepOffset/BRepOffset_Inter3d.cxx Diff File
mod - src/BRepOffset/BRepOffset_MakeOffset.cxx Diff File
mod - src/BRepOffset/BRepOffset_MakeOffset.hxx Diff File
mod - src/BRepOffset/BRepOffset_MakeOffset_1.cxx Diff File
mod - src/BRepOffset/BRepOffset_Offset.cxx Diff File
mod - src/BRepOffset/BRepOffset_Tool.cxx Diff File
mod - src/BRepOffsetAPI/BRepOffsetAPI_MakeOffsetShape.cxx Diff File
mod - src/BRepOffsetAPI/BRepOffsetAPI_MakeOffsetShape.hxx Diff File
mod - src/BRepTest/BRepTest_FeatureCommands.cxx Diff File
mod - src/ChFi3d/ChFi3d.cxx Diff File
mod - tests/bugs/modalg_7/bug27912 Diff File
mod - tests/offset/begin Diff File
mod - tests/offset/grids.list Diff File
add - tests/offset/shape_type_i_c_multi/A1 Diff File
add - tests/offset/shape_type_i_c_multi/A2 Diff File
add - tests/offset/shape_type_i_c_multi/A3 Diff File
add - tests/offset/shape_type_i_c_multi/A4 Diff File
add - tests/offset/shape_type_i_c_multi/A5 Diff File
add - tests/offset/shape_type_i_c_multi/A6 Diff File
add - tests/offset/shape_type_i_c_multi/A7 Diff File
add - tests/offset/shape_type_i_c_multi/A8 Diff File
add - tests/offset/shape_type_i_c_multi/A9 Diff File
add - tests/offset/shape_type_i_c_multi/B1 Diff File
add - tests/offset/shape_type_i_c_multi/B2 Diff File
add - tests/offset/shape_type_i_c_multi/B3 Diff File
add - tests/offset/shape_type_i_c_multi/B4 Diff File
add - tests/offset/shape_type_i_c_multi/B5 Diff File
add - tests/offset/shape_type_i_c_multi/B6 Diff File
add - tests/offset/shape_type_i_c_multi/B7 Diff File
add - tests/offset/shape_type_i_c_multi/B8 Diff File
add - tests/offset/shape_type_i_c_multi/B9 Diff File
add - tests/offset/shape_type_i_c_multi/begin Diff File
add - tests/offset/shape_type_i_c_multi/C1 Diff File
add - tests/offset/shape_type_i_c_multi/C2 Diff File
add - tests/offset/shape_type_i_c_multi/C3 Diff File
add - tests/offset/shape_type_i_c_multi/C4 Diff File
add - tests/offset/shape_type_i_c_multi/C5 Diff File
add - tests/offset/shape_type_i_c_multi/XA1 Diff File
add - tests/offset/shape_type_i_c_multi/XB1 Diff File
add - tests/offset/shape_type_i_c_multi/XC1 Diff File
add - tests/offset/shape_type_i_c_multi/XC2 Diff File
add - tests/offset/shape_type_i_c_multi/XD1 Diff File
add - tests/offset/shape_type_i_c_multi/XE1 Diff File
add - tests/offset/shape_type_i_c_multi/XE2 Diff File
add - tests/offset/shape_type_i_c_multi/XE3 Diff File
add - tests/offset/shape_type_i_c_multi/XF1 Diff File
add - tests/offset/shape_type_i_c_multi/XG1 Diff File
add - tests/offset/shape_type_i_c_multi/XH1 Diff File
add - tests/offset/shape_type_i_c_multi/XI1 Diff File
add - tests/offset/shape_type_i_c_multi/XJ1 Diff File
add - tests/offset/shape_type_i_c_multi/XK1 Diff File
add - tests/offset/shape_type_i_c_multi/XL1 Diff File
add - tests/offset/shape_type_i_c_multi/XM1 Diff File
add - tests/offset/shape_type_i_c_multi/XN1 Diff File
mod - tests/offset/with_intersect_20/L3 Diff File
mod - tests/offset/with_intersect_20/L9 Diff File
mod - tests/offset/with_intersect_80/N1 Diff File

master 3818aaca

2019-10-10 14:09:07

kgv


Committer: apn Details Diff
0031056: Samples - update glfw sample to use AIS_ViewController Affected Issues
0031056
mod - samples/glfw/GlfwOcctView.cpp Diff File
mod - samples/glfw/GlfwOcctView.h Diff File

master 8c787b5f

2019-10-09 15:18:14

kgv


Committer: apn Details Diff
0031050: Data Exchange - XmlXCAF persistence stores triangulation-only Faces without any geometry

BRepTools_ShapeSet now ignores myWithTriangles flag in case if triangulation is the only geometry representation.
Affected Issues
0031050
mod - src/BRepTools/BRepTools_ShapeSet.cxx Diff File
mod - tests/bugs/caf/bug27835 Diff File
add - tests/bugs/caf/bug31050 Diff File

master 44fafc47

2019-10-08 11:44:04

ifv


Committer: apn Details Diff
0031031: Incorrect result is returned from BRepPrimAPI_MakePrism::Generated()

1. src\BRepSweep\BRepSweep_NumLinearRegularSweep.cxx

Fix bug by adding result in list of generated shapes, if initial shape is vertex, edge or face.

2. src\BRepLib\BRepLib.cxx

Add protection against treatment not geometric edge in BRepLib::UpdateInnerTolerances(...)

3. Add test case for bug and correct test for bug 30346 according to new behavior of algorithm
Affected Issues
0031031
mod - src/BRepLib/BRepLib.cxx Diff File
mod - src/BRepSweep/BRepSweep_NumLinearRegularSweep.cxx Diff File
mod - tests/bugs/modalg_7/bug30346_2 Diff File
add - tests/bugs/modalg_7/bug31031 Diff File

master 6ed44b1c

2019-10-07 18:32:21

abv


Committer: apn Details Diff
0031044: Coding - Standard_NODISCARD should be placed before Standard_EXPORT

Standard_NODISCARD is put before Standard_EXPORT in all places throughout OCCT code
Affected Issues
0031044
mod - src/Bnd/Bnd_B2d.hxx Diff File
mod - src/Bnd/Bnd_B2f.hxx Diff File
mod - src/Bnd/Bnd_B3d.hxx Diff File
mod - src/Bnd/Bnd_B3f.hxx Diff File
mod - src/Bnd/Bnd_Box.hxx Diff File
mod - src/Bnd/Bnd_Box2d.hxx Diff File
mod - src/Geom/Geom_Axis1Placement.hxx Diff File
mod - src/Geom/Geom_Curve.hxx Diff File
mod - src/Geom/Geom_Geometry.hxx Diff File
mod - src/Geom/Geom_Surface.hxx Diff File
mod - src/Geom/Geom_Transformation.hxx Diff File
mod - src/Geom/Geom_Vector.hxx Diff File
mod - src/Geom/Geom_VectorWithMagnitude.hxx Diff File
mod - src/Geom2d/Geom2d_AxisPlacement.hxx Diff File
mod - src/Geom2d/Geom2d_Curve.hxx Diff File
mod - src/Geom2d/Geom2d_Geometry.hxx Diff File
mod - src/Geom2d/Geom2d_Transformation.hxx Diff File
mod - src/Geom2d/Geom2d_Vector.hxx Diff File
mod - src/Geom2d/Geom2d_VectorWithMagnitude.hxx Diff File
mod - src/gp/gp_Ax1.hxx Diff File
mod - src/gp/gp_Ax2.hxx Diff File
mod - src/gp/gp_Ax22d.hxx Diff File
mod - src/gp/gp_Ax2d.hxx Diff File
mod - src/gp/gp_Ax3.hxx Diff File
mod - src/gp/gp_Circ.hxx Diff File
mod - src/gp/gp_Circ2d.hxx Diff File
mod - src/gp/gp_Cone.hxx Diff File
mod - src/gp/gp_Cylinder.hxx Diff File
mod - src/gp/gp_Dir.hxx Diff File
mod - src/gp/gp_Dir2d.hxx Diff File
mod - src/gp/gp_Elips.hxx Diff File
mod - src/gp/gp_Elips2d.hxx Diff File
mod - src/gp/gp_Hypr.hxx Diff File
mod - src/gp/gp_Hypr2d.hxx Diff File
mod - src/gp/gp_Lin.hxx Diff File
mod - src/gp/gp_Lin2d.hxx Diff File
mod - src/gp/gp_Parab.hxx Diff File
mod - src/gp/gp_Parab2d.hxx Diff File
mod - src/gp/gp_Pln.hxx Diff File
mod - src/gp/gp_Pnt.hxx Diff File
mod - src/gp/gp_Pnt2d.hxx Diff File
mod - src/gp/gp_Sphere.hxx Diff File
mod - src/gp/gp_Torus.hxx Diff File
mod - src/gp/gp_Vec.hxx Diff File
mod - src/gp/gp_Vec2d.hxx Diff File
mod - src/math/math_IntegerVector.hxx Diff File
mod - src/math/math_Matrix.hxx Diff File
mod - src/math/math_Vector.hxx Diff File
mod - src/TopLoc/TopLoc_Location.hxx Diff File
mod - src/Units/Units_Token.hxx Diff File

master f9797095

2019-10-06 06:33:53

abv


Committer: bugmaster Details Diff
0031038: Draw - adaptations for running tests with CLang address sanitizer

New optional environment variable CSF_CPULIMIT_FACTOR is introduced, allowing scaling the argument given to DRAW command cpulimit by specified factor.

Command testgrid is extended by two new options:
- -skipped: to re-run tests skipped in specified log
- -skip: to skip specified number of tests in the beginning of test sequence

Temporary Tcl scripts generated by test system are now removed from the test log directories immediately after the test execution, to save disk space.

Advises on use of CLang sanitizers are added in guide "Debugging hints and tips".
Affected Issues
0031038
mod - dox/dev_guides/debug/debug.md Diff File
mod - src/Draw/Draw_BasicCommands.cxx Diff File
mod - src/DrawResources/TestCommands.tcl Diff File
rm - tests/demo/begin Diff File

master a6a66c3a

2019-10-05 20:34:35

kgv


Committer: apn Details Diff
0031037: Foundation Classes - add class Message_PrinterSystemLog for printing messages into system log

Added new class Message_PrinterSystemLog that can be used for logging messages into system log for debugging application in restricted environment.
Affected Issues
0031037
mod - adm/cmake/occt_csf.cmake Diff File
mod - adm/genproj.tcl Diff File
mod - src/Message/FILES Diff File
add - src/Message/Message_PrinterSystemLog.cxx Diff File
add - src/Message/Message_PrinterSystemLog.hxx Diff File
mod - src/TKernel/EXTERNLIB Diff File

master e1d039d5

2019-10-05 19:01:09

kgv


Committer: apn Details Diff
0031036: Foundation Classes, Message_PrinterOStream - add option printing colored text into console

New property Message_PrinterOStream::ToColorize() can be set to colorize text output into console.
The new option is disabled by default.
Affected Issues
0031036
mod - src/Message/FILES Diff File
add - src/Message/Message_ConsoleColor.hxx Diff File
mod - src/Message/Message_PrinterOStream.cxx Diff File
mod - src/Message/Message_PrinterOStream.hxx Diff File

master 2724a0b3

2019-10-04 18:14:17

abv


Committer: abv Details Diff
0031034: Visualization - stack-use-after-scope reported by Clang address sanitizer in AIS_FixRelation::Compute()

Methods of classes Geom_ElementarySurface, Geom_Conic, and Geom2d_Conic setting or returning values of fields are made inline and return const& to avoid copying
Affected Issues
0031034
mod - src/Geom/Geom_Conic.cxx Diff File
mod - src/Geom/Geom_Conic.hxx Diff File
mod - src/Geom/Geom_ElementarySurface.cxx Diff File
mod - src/Geom/Geom_ElementarySurface.hxx Diff File
mod - src/Geom/Geom_Surface.hxx Diff File
mod - src/Geom2d/Geom2d_Conic.cxx Diff File
mod - src/Geom2d/Geom2d_Conic.hxx Diff File

master c2bcd983

2019-10-03 03:49:59

abv


Committer: abv Details Diff
0031024: Coding - invalid left shift in BVH_RadixSorter::Perform() using -fsanitize=undefined

Standard_Integer has been replaced by unsigned int for bit operations.
Affected Issues
0031024
mod - src/BVH/BVH_LinearBuilder.hxx Diff File
mod - src/BVH/BVH_RadixSorter.hxx Diff File

master 746cb7c3

2019-10-01 20:06:35

msv


Committer: apn Details Diff
0031020: Coding - invalid inline usage in BRepBlend_AppSurface

BRepBlend_AppSurface and some other classes have been corrected to avoid inlining member functions in .cxx code.
Affected Issues
0031020
mod - src/BRepBlend/BRepBlend_AppSurface.cxx Diff File
mod - src/BRepMesh/BRepMesh_Delaun.cxx Diff File
mod - src/MeshVS/MeshVS_DummySensitiveEntity.cxx Diff File
mod - src/NCollection/NCollection_BaseSequence.cxx Diff File
mod - src/NCollection/NCollection_BaseSequence.hxx Diff File
mod - src/ShapeFix/ShapeFix_Edge.cxx Diff File

master 780fbc28

2019-10-01 05:36:21

vro


Committer: apn Details Diff
0031013: Application Framework - Storage status is wrong after a failure

CDF_StoreList.cxx::Store() was amended
mod - src/CDF/CDF_StoreList.cxx Diff File

master 14a356b1

2019-10-01 05:27:57

kgv


Committer: bugmaster Details Diff
0031015: Visualization, TKOpenGl - OpenGl_WorldViewState does not cache inverted matrix

Implementation has been fixed to proprely set myInverseNeedUpdate flag.
Affected Issues
0031015
mod - src/OpenGl/OpenGl_ShaderStates.cxx Diff File
mod - src/OpenGl/OpenGl_ShaderStates.hxx Diff File

master 9e3045da

2019-10-01 05:23:26

abv


Committer: abv Details Diff
0030992: Foundation Classes - heap-buffer-overflow reported by Clang address sanitizer in BSplCLib::BuildKnots()

Inconsistent code for guessing bspline span index is removed in Geom_OsculatingSurface::BuildOsculatingSurface().
Affected Issues
0030992
mod - src/Geom/Geom_OsculatingSurface.cxx Diff File
mod - tests/bugs/moddata_3/bug24621 Diff File

master 683b72c3

2019-09-30 18:37:55

abv


Committer: abv Details Diff
0031010: Foundation Classes - heap-buffer-overflow reported by Clang address sanitizer in OSD_Path::IsUncExtendedPath()

Use of memcmp is replaced by strncmp to avoid possible read access out of string buffer size
Affected Issues
0031010
mod - src/OSD/OSD_Path.hxx Diff File

master 3358ed64

2019-09-30 11:12:35

abv


Committer: abv Details Diff
0031008: Application Framework - memcpy-param-overlap reported by Clang address sanitizer in LDOM_XmlReader::ReadRecord()

Use memmove instead of memcpy because of copy of the possible overlapped source and destination parts of the buffer.
Affected Issues
0031008
mod - src/LDOM/LDOM_XmlReader.cxx Diff File
 First  Prev  1 2 3 ... 30 ... 49 50 51 52 53 54 55 ... 60 ... 90 ... 120 ... 150 ... 180 ... 210 ... 240 ... 254 255 256  Next  Last