Changesets: occt

master b6a0525b

2017-11-07 14:23:29

kgv


Committer: bugmaster Details Diff
0029299: Foundation Classes, NCollection - define explicit empty constructor for map classes

Ambiguous constructors have been marked with explicit keyword for classes
NCollection_DataMap, NCollection_DoubleMap, NCollection_IndexedDataMap, NCollection_IndexedMap,
NCollection_List, NCollection_LocalArray, NCollection_Map, NCollection_Sequence,
NCollection_SparseArray, NCollection_UBTree,
Affected Issues
0029299
mod - src/NCollection/NCollection_DataMap.hxx Diff File
mod - src/NCollection/NCollection_DoubleMap.hxx Diff File
mod - src/NCollection/NCollection_IndexedDataMap.hxx Diff File
mod - src/NCollection/NCollection_IndexedMap.hxx Diff File
mod - src/NCollection/NCollection_List.hxx Diff File
mod - src/NCollection/NCollection_LocalArray.hxx Diff File
mod - src/NCollection/NCollection_Map.hxx Diff File
mod - src/NCollection/NCollection_Sequence.hxx Diff File
mod - src/NCollection/NCollection_SparseArray.hxx Diff File
mod - src/NCollection/NCollection_UBTree.hxx Diff File

master a89a630e

2017-11-06 13:43:34

abv


Committer: bugmaster Details Diff
0029297: [Regression] Configuration - Mingw-w64 build fails for TKOpenGl due to missing link to OpenGl

The order of external libraries is corrected in TKOpenGl/EXTERNLIB so that more higher-level libs are mentioned earlier than low-level libs on which the former depend (e.g. Gl2Ps before OpenGl) to ensure that GCC linker is able to resolve dependencies.
mod - src/TKOpenGl/EXTERNLIB Diff File

master 4ecf34cc

2017-11-05 15:07:25

kgv


Committer: bugmaster Details Diff
0029295: Visualization, TKOpenGl - provide distance culling option

Graphic3d_ZLayerSettings::CullingDistance() and ::CullingSize() - added
new properties configuring culling of small and distant objects, disabled by default.
OpenGl_BVHTreeSelector now handles size culling and distance culling in addition to frustom culling.
mod - src/Graphic3d/Graphic3d_ZLayerSettings.hxx Diff File
mod - src/OpenGl/OpenGl_BVHTreeSelector.cxx Diff File
mod - src/OpenGl/OpenGl_BVHTreeSelector.hxx Diff File
mod - src/OpenGl/OpenGl_Layer.cxx Diff File
mod - src/OpenGl/OpenGl_Layer.hxx Diff File
mod - src/OpenGl/OpenGl_View_Redraw.cxx Diff File
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff File
add - tests/v3d/glsl/culldist Diff File
add - tests/v3d/glsl/cullsize Diff File

master 93964cc2

2017-11-03 09:12:34

emv


Committer: bugmaster Details Diff
0029293: Boolean Operations algorithm does not preserve the orientations of the faces

While building splits of faces (BOPAlgo_Builder::FillImagesFaces()) make sure that the orientation of the input face will be passed to its splits.

Extend draw command "normals" with new key "[-print]" which allows printing values of the normal vector.
mod - src/BOPAlgo/BOPAlgo_Builder_2.cxx Diff File
mod - src/DBRep/DBRep.cxx Diff File
add - tests/bugs/modalg_7/bug29293_1 Diff File
add - tests/bugs/modalg_7/bug29293_2 Diff File

master 21b2385f

2017-11-02 13:29:17

kgv


Committer: bugmaster Details Diff
0029292: Coding Rules - remove Graphic3d_Vector duplicating gp_XYZ

Graphic3d_Vector has been replaced by gp_Pnt/gp_XYZ/gp_Dir depending on context.
StdSelect_ViewerSelector3d::ToPixMap() - fixed unsafe float math causing out-of-range color results.
Affected Issues
0029292
mod - src/DsgPrs/DsgPrs.cxx Diff File
mod - src/DsgPrs/DsgPrs_SymmetricPresentation.cxx Diff File
mod - src/Graphic3d/FILES Diff File
mod - src/Graphic3d/Graphic3d_Structure.cxx Diff File
mod - src/Graphic3d/Graphic3d_Structure.hxx Diff File
rm - src/Graphic3d/Graphic3d_Vector.cxx Diff File
rm - src/Graphic3d/Graphic3d_Vector.hxx Diff File
rm - src/Graphic3d/Graphic3d_VectorError.hxx Diff File
mod - src/OpenGl/OpenGl_GraphicDriver.hxx Diff File
mod - src/QABugs/QABugs_11.cxx Diff File
mod - src/StdSelect/StdSelect_ViewerSelector3d.cxx Diff File
mod - src/V3d/V3d.cxx Diff File
mod - src/V3d/V3d.hxx Diff File
mod - src/V3d/V3d_CircularGrid.cxx Diff File
mod - src/V3d/V3d_DirectionalLight.cxx Diff File
mod - src/V3d/V3d_DirectionalLight.hxx Diff File
mod - src/V3d/V3d_Light.cxx Diff File
mod - src/V3d/V3d_Light.hxx Diff File
mod - src/V3d/V3d_PositionalLight.cxx Diff File
mod - src/V3d/V3d_PositionalLight.hxx Diff File
mod - src/V3d/V3d_PositionLight.cxx Diff File
mod - src/V3d/V3d_PositionLight.hxx Diff File
mod - src/V3d/V3d_SpotLight.cxx Diff File
mod - src/V3d/V3d_SpotLight.hxx Diff File
mod - src/V3d/V3d_View.cxx Diff File
mod - src/V3d/V3d_View.hxx Diff File
mod - src/V3d/V3d_View_2.cxx Diff File
mod - src/V3d/V3d_View_3.cxx Diff File
mod - src/V3d/V3d_View_4.cxx Diff File
rm - tests/bugs/vis/bug22762 Diff File

master 992ed6b3

2017-11-02 12:36:20

kgv

Details Diff
0029290: Visualization, TKOpenGl - allow defining Light source per ZLayer

Graphic3d_CLight is now defined as a class inheriting Standard_Transient,
so that it's fields now should be accessed through methods.
Graphic3d_CLight::IsEnabled() - new property allowing to disable light source everywhere.
Confusing alias OpenGl_Light has been removed.

Graphic3d_CLight::SetAttenuation() - the upper limit 1.0 of attenuation factors has been removed
since it contradicts to OpenGL specs and does not make sense.

Graphic3d_ZLayerSettings::Lights() - light sources list is now property of ZLayer.
When defined, it overrides light sources defined for View/Viewer.
New class Graphic3d_LightSet has been defined to define a set of light sources.

V3d_Light - removed obsolete interface for debug drawing lights sources.
V3d_Light is now an alias to Graphic3d_CLight.
V3d_TypeOfLight is now defined as a typedef to Graphic3d_TypeOfLightSource.
mod - dox/dev_guides/upgrade/upgrade.md Diff File
mod - samples/mfc/occtdemo/Textures/Textures_Presentation.cpp Diff File
mod - samples/mfc/occtdemo/TexturesExt/TexturesExt_Presentation.cpp Diff File
mod - samples/mfc/standard/04_Viewer3d/src/TexturesExt_Presentation.cpp Diff File
mod - samples/mfc/standard/04_Viewer3d/src/Viewer3dView.cpp Diff File
mod - samples/tcl/materials.tcl Diff File
mod - src/Graphic3d/FILES Diff File
add - src/Graphic3d/Graphic3d_CLight.cxx Diff File
mod - src/Graphic3d/Graphic3d_CLight.hxx Diff File
mod - src/Graphic3d/Graphic3d_CView.hxx Diff File
add - src/Graphic3d/Graphic3d_LightSet.cxx Diff File
add - src/Graphic3d/Graphic3d_LightSet.hxx Diff File
mod - src/Graphic3d/Graphic3d_TypeOfLightSource.hxx Diff File
mod - src/Graphic3d/Graphic3d_TypeOfShadingModel.hxx Diff File
mod - src/Graphic3d/Graphic3d_ZLayerSettings.hxx Diff File
mod - src/OpenGl/FILES Diff File
mod - src/OpenGl/OpenGl_Layer.cxx Diff File
mod - src/OpenGl/OpenGl_LayerList.cxx Diff File
rm - src/OpenGl/OpenGl_Light.hxx Diff File
mod - src/OpenGl/OpenGl_SceneGeometry.cxx Diff File
mod - src/OpenGl/OpenGl_ShaderManager.cxx Diff File
mod - src/OpenGl/OpenGl_ShaderManager.hxx Diff File
mod - src/OpenGl/OpenGl_ShaderStates.cxx Diff File
mod - src/OpenGl/OpenGl_ShaderStates.hxx Diff File
mod - src/OpenGl/OpenGl_View.cxx Diff File
mod - src/OpenGl/OpenGl_View.hxx Diff File
mod - src/OpenGl/OpenGl_View_Raytrace.cxx Diff File
mod - src/OpenGl/OpenGl_View_Redraw.cxx Diff File
mod - src/StdPrs/StdPrs_Plane.cxx Diff File
mod - src/V3d/FILES Diff File
mod - src/V3d/V3d.cxx Diff File
mod - src/V3d/V3d.hxx Diff File
mod - src/V3d/V3d_AmbientLight.cxx Diff File
mod - src/V3d/V3d_AmbientLight.hxx Diff File
mod - src/V3d/V3d_DirectionalLight.cxx Diff File
mod - src/V3d/V3d_DirectionalLight.hxx Diff File
rm - src/V3d/V3d_Light.cxx Diff File
mod - src/V3d/V3d_Light.hxx Diff File
mod - src/V3d/V3d_ListOfLight.hxx Diff File
mod - src/V3d/V3d_PositionalLight.cxx Diff File
mod - src/V3d/V3d_PositionalLight.hxx Diff File
mod - src/V3d/V3d_PositionLight.cxx Diff File
mod - src/V3d/V3d_PositionLight.hxx Diff File
mod - src/V3d/V3d_SpotLight.cxx Diff File
mod - src/V3d/V3d_SpotLight.hxx Diff File
mod - src/V3d/V3d_TypeOfLight.hxx Diff File
mod - src/V3d/V3d_View.cxx Diff File
mod - src/V3d/V3d_View.hxx Diff File
mod - src/V3d/V3d_Viewer.cxx Diff File
mod - src/V3d/V3d_Viewer.hxx Diff File
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff File
mod - tests/v3d/glsl/phong_pos1 Diff File
add - tests/v3d/glsl/phong_pos3 Diff File
add - tests/v3d/glsl/phong_pos4 Diff File
mod - tests/v3d/materials/bug24855 Diff File
mod - tests/v3d/raytrace/bug24130 Diff File
mod - tests/v3d/raytrace/bug24819 Diff File
mod - tests/v3d/raytrace/bug25201 Diff File
mod - tests/v3d/raytrace/bug26617 Diff File
mod - tests/v3d/raytrace/refraction Diff File
mod - tests/v3d/raytrace/textures Diff File

master 90f0fdad

2017-11-02 09:08:18

aml


Committer: bugmaster Details Diff
0025104: Prism from BSpline curve can not be chamfered

Protection from zero-length vectors has been added.
Affected Issues
0025104
mod - src/IntCurveSurface/IntCurveSurface_Inter.gxx Diff File
mod - src/IntTools/IntTools_EdgeEdge.cxx Diff File
mod - tests/bugs/modalg_7/bug25104 Diff File
mod - tests/bugs/moddata_3/bug25693_1 Diff File
mod - tests/bugs/moddata_3/bug25693_2 Diff File

master dd1ae9df

2017-11-02 07:28:01

kgv


Committer: bugmaster Details Diff
0029286: Visualization, TKOpenGl - do not update FFP state when OpenGl_Caps::ffpEnable is disabled Affected Issues
0029286
mod - src/OpenGl/OpenGl_PrimitiveArray.cxx Diff File
mod - src/OpenGl/OpenGl_Text.cxx Diff File
mod - src/OpenGl/OpenGl_View_Redraw.cxx Diff File
mod - src/OpenGl/OpenGl_Workspace.cxx Diff File

master 761d8807

2017-11-02 07:04:39

kgv


Committer: bugmaster Details Diff
0029285: Visualization, V3d_View::UpdateLights() - eliminate implicit redraw Affected Issues
0029285
mod - src/V3d/V3d_View.cxx Diff File
mod - src/V3d/V3d_View.hxx Diff File
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff File

master 944768d2

2017-11-01 08:30:30

emv


Committer: bugmaster Details Diff
0029312: Using OBB to speed up Boolean Operations

1. Implementation of the user-defined option for usage of Oriented Bounding Boxes (OBB) in Boolean Operations for additional filtering (rejection) of selected for intersection pairs of sub-shapes.

By default the usage of OBB is turned off.
To enable/disable its usage the method SetUseOBB(flag) should be used. This method is available for all operations in Boolean Component.
To enable/disable it in draw the command "buseobb 0/1" should be used. Note, that this will affect all subsequent operations.

The OBB for the shapes are built by first necessity and stored into operation context (IntTools_Context).

2. Usage of the OBB in some test cases.
mod - dox/user_guides/boolean_operations/boolean_operations.md Diff File
mod - src/BOPAlgo/BOPAlgo_BOP.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_Builder.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_CheckerSI.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_MakerVolume.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_Options.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_Options.hxx Diff File
mod - src/BOPAlgo/BOPAlgo_PaveFiller.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_Splitter.cxx Diff File
mod - src/BOPDS/BOPDS_Iterator.cxx Diff File
mod - src/BOPDS/BOPDS_Iterator.hxx Diff File
mod - src/BOPDS/BOPDS_IteratorSI.cxx Diff File
mod - src/BOPDS/BOPDS_IteratorSI.hxx Diff File
mod - src/BOPTest/BOPTest_APICommands.cxx Diff File
mod - src/BOPTest/BOPTest_BOPCommands.cxx Diff File
mod - src/BOPTest/BOPTest_CellsCommands.cxx Diff File
mod - src/BOPTest/BOPTest_DebugCommands.cxx Diff File
mod - src/BOPTest/BOPTest_Objects.cxx Diff File
mod - src/BOPTest/BOPTest_Objects.hxx Diff File
mod - src/BOPTest/BOPTest_OptionCommands.cxx Diff File
mod - src/BOPTest/BOPTest_PartitionCommands.cxx Diff File
mod - src/BRepAlgoAPI/BRepAlgoAPI_Algo.hxx Diff File
mod - src/BRepAlgoAPI/BRepAlgoAPI_BooleanOperation.cxx Diff File
mod - src/BRepAlgoAPI/BRepAlgoAPI_BuilderAlgo.cxx Diff File
mod - src/BRepAlgoAPI/BRepAlgoAPI_Splitter.cxx Diff File
mod - src/IntTools/IntTools_Context.cxx Diff File
mod - src/IntTools/IntTools_Context.hxx Diff File
mod - tests/perf/modalg/bug24751_1 Diff File
mod - tests/perf/modalg/bug24751_2 Diff File
mod - tests/perf/modalg/bug24751_3 Diff File
mod - tests/perf/modalg/bug24751_4 Diff File
mod - tests/perf/modalg/bug24751_5 Diff File
mod - tests/perf/modalg/bug29237_2 Diff File
mod - tests/perf/modalg/bug29237_3 Diff File

master daf73ab7

2017-10-31 17:02:13

kgv


Committer: bugmaster Details Diff
0029283: Visualization - allow defining more than 8 light sources

OpenGl_ShaderManager now overrides THE_MAX_LIGHTS within built-in shading programs
so that maximum number of lights is now limited only by OpenGL hardware
(e.g. length of GLSL program, number of defined uniforms, result performance, etc.).
THE_MAX_CLIP_PLANES is now also defined by OpenGl_ShaderManager,
so that unused lights and clipping planes do not reserve extra uniforms in GLSL programs.

V3d_View::SetLightOn() does not throw exception anymore, when the number of lights exceeds 8.
Instead, OpenGl_ShaderManager::PushLightSourceState() emits warning
in case of usage of FFP providing consistent behavior with Clipping Planes number limit.
mod - src/Graphic3d/Graphic3d_ShaderProgram.cxx Diff File
mod - src/Graphic3d/Graphic3d_ShaderProgram.hxx Diff File
mod - src/OpenGl/OpenGl_GraphicDriver.cxx Diff File
mod - src/OpenGl/OpenGl_ShaderManager.cxx Diff File
mod - src/OpenGl/OpenGl_ShaderManager.hxx Diff File
mod - src/OpenGl/OpenGl_ShaderProgram.cxx Diff File
mod - src/OpenGl/OpenGl_ShaderProgram.hxx 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/V3d/V3d_View_2.cxx Diff File
add - tests/v3d/glsl/phong_pos2 Diff File

master 5891b8ba

2017-10-31 09:07:18

ski


Committer: bugmaster Details Diff
0029277: Configuration, Cmake - remove 3rd-party libraries from INTERFACE_LINK_LIBRARIES property of installed OCCT targets

3rd-party libraries were removed from INTERFACE_LINK_LIBRARIES properties of OCCT targets.
Affected Issues
0029277
mod - adm/cmake/occt_toolkit.cmake Diff File

master 3cdf48fe

2017-10-31 03:43:57

aml


Committer: bugmaster Details Diff
0027784: Thickness fails on cylinder with draft

Incorrect calculation of intersection in 2D space is fixed.
Affected Issues
0027784
mod - src/BRepOffset/BRepOffset_Tool.cxx Diff File
mod - tests/bugs/modalg_7/bug25930 Diff File
mod - tests/bugs/modalg_7/bug27784 Diff File

master b2e3ec8d

2017-10-30 15:04:12

ika


Committer: bugmaster Details Diff
0029282: Data Exchange - UpdateAssemblies is not working for located root assemblies

Add check for located root assemblies.
Affected Issues
0029282
mod - src/XCAFDoc/XCAFDoc_ShapeTool.cxx Diff File
add - tests/bugs/xde/bug29282 Diff File

master c2e47bdd

2017-10-26 08:59:25

mkv


Committer: bugmaster Details Diff
Update of tests database

Test for 0023171: Got wrong result after stitching
Test for 0023612: BRepPrimAPI_MakeTorus
Test for 0023610: checkshape command does not detect mismatch of the tolerance values among the sub-shapes of the shape
Test for 0023660: 'bsection' produces result with gap
Test for 0024397: BRepBuilderAPI_Copy works not correct
Test for 0023927: BRepProj_Projection produces Edge with one Vertex outside from curve
Test for 0023902: Cannot build fillet
Test for 0023669: Error in Boolean operations algorithm: section between cylindrical face and prism is incomplete
Test for 0023660: 'bsection' produces result with gap
Test for 0024100: Bad pcurve is built on a face while converting the shape from STEP format.
Test for 0024319: Sewing makes a solid transparent
Test for 0024302: Section operation modifies input argument
Test for 0024397: BRepBuilderAPI_Copy works not correct
Test for 0024418: Wrong section curves when intersecting analytical surfaces
add - tests/bugs/modalg_5/bug24302 Diff File
add - tests/bugs/modalg_5/bug24397_1 Diff File
add - tests/bugs/modalg_5/bug24397_2 Diff File
add - tests/bugs/modalg_5/bug24397_3 Diff File
add - tests/bugs/modalg_7/bug23171_1 Diff File
add - tests/bugs/modalg_7/bug23171_2 Diff File
add - tests/bugs/modalg_7/bug23610 Diff File
add - tests/bugs/modalg_7/bug23612 Diff File
add - tests/bugs/modalg_7/bug23660 Diff File
add - tests/bugs/modalg_7/bug23669 Diff File
add - tests/bugs/modalg_7/bug23902 Diff File
add - tests/bugs/modalg_7/bug23927 Diff File
add - tests/bugs/modalg_7/bug24319 Diff File
add - tests/bugs/modalg_7/bug24418_1 Diff File
add - tests/bugs/modalg_7/bug24418_2 Diff File
add - tests/bugs/step/bug24100 Diff File

master 6194ee76

2017-10-25 14:27:23

kgv


Committer: bugmaster Details Diff
0029262: Visualization - AIS_InteractiveContext::Load() does not register Object in the Viewer

AIS_InteractiveContext::Load() now loads the object regardless specified selection mode and decomposition flag.
AIS_InteractiveContext::Load() and ::KeepTemporary() now register object in the Viewer
in the same way as ::Display() does.

Draw Harness command vdisplay has been extended with new flag -erased to load object into context in erased state.
mod - src/AIS/AIS_InteractiveContext.cxx Diff File
mod - src/AIS/AIS_InteractiveContext.hxx Diff File
mod - src/ViewerTest/ViewerTest.cxx Diff File
add - tests/bugs/vis/bug29262 Diff File

master ab8566c9

2017-10-24 10:55:48

kgv


Committer: bugmaster Details Diff
0029255: Configuration, .gitignore - do not track generated files with extensions VC.db, VC.opendb Affected Issues
0029255
mod - .gitignore Diff File

master 777ca20a

2017-10-24 08:21:03

kgv


Committer: bugmaster Details Diff
0029249: Configuration - Standard_Failure compilation fails on VS2013 + Intel Compiler due to unavailability of thread_local

Check __INTEL_COMPILER version in combination with _MSC_VER on Windows.
Affected Issues
0029249
mod - src/Standard/Standard_Failure.cxx Diff File

master 4f26118e

2017-10-24 08:00:54

apn


Committer: bugmaster Details Diff
0029250: Configuration, TKIVtk - build failure with VTK 6.3+ due to vtkRenderingFreeTypeOpenGL being removed

Remove vtkRenderingFreeTypeOpenGL from EXTERNLIB if used vtk version is 6.3.0 and above
Affected Issues
0029250
mod - adm/cmake/occt_toolkit.cmake Diff File

master 65ada1f1

2017-10-21 18:17:14

kgv


Committer: bugmaster Details Diff
0029252: Coding rules - eliminate GCC compiler warnings -Wformat-overflow

OSD_DirectoryIterator and OSD_FileIterator now uses TCollection_AsciiString instead of unsafe sprintf.
Affected Issues
0029252
mod - src/OSD/OSD_DirectoryIterator.cxx Diff File
mod - src/OSD/OSD_FileIterator.cxx Diff File

master 59e353b7

2017-10-21 17:46:59

kgv


Committer: bugmaster Details Diff
0029251: Configuration - problem compiling OCCT 7.2 with glibc 2.26

Standard_CLocaleSentry does not include xlocale.h when using glibc anymore.
HAVE_XLOCALE_H has been renamed to OCCT_CLOCALE_POSIX2008 to avoid confusion.

Renamed macros OCC_CHECK_BASE_CLASS -> OCCT_CHECK_BASE_CLASS.
mod - src/Standard/Standard_CLocaleSentry.cxx Diff File
mod - src/Standard/Standard_CLocaleSentry.hxx Diff File
mod - src/Standard/Standard_CString.cxx Diff File
mod - src/Standard/Standard_Type.hxx Diff File

master 977ad983

2017-10-20 15:59:01

msv


Committer: msv Details Diff
0029234: BRepOffsetAPI_NormalProjection produces INTERNAL edges and vertices

Make the algorithm BRepOffsetAPI_NormalProjection use section operation instead of common to get the edge-result of projection to be in face restrictions.

Correct Boolean operation algorithm to produce correctly oriented result in the case of common between face and edge.

The algorithm ShapeUpgrade_UnifySameDomain has been patched to correctly gather same domain faces in a compound.

The TCL script snowflake.tcl has been corrected to get rid of dependence on the order of edges in the result of Boolean operation.
mod - samples/tcl/snowflake.tcl Diff File
mod - src/BOPAlgo/BOPAlgo_BOP.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_Builder_3.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_MakerVolume.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_Tools.cxx Diff File
mod - src/BOPAlgo/BOPAlgo_Tools.hxx Diff File
mod - src/BRepAlgo/BRepAlgo_NormalProjection.cxx Diff File
mod - src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx Diff File
mod - src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.hxx Diff File
add - tests/bugs/modalg_7/bug29234 Diff File

master cf0786da

2017-10-19 14:12:05

abv


Committer: bugmaster Details Diff
0024574: ICC compiler warnings on Windows

NCollection_UtfString and NCollection_UtfIterator classes are refactored to use methods overloading instead of switches to dispatch implementation depending on character (Unicode code unit) size.

ICC-specific preprocessor directives are added to avoid warnings.
Unused local functions and variables, class methods, unreachable statements, and extra throw() declarations reported by ICC are removed.
Usage of "expl" for name of local variable is avoided as it conflicts with standard C function "expl" defined in math.h as preprocessor macro.

Non-standard (MS-specific) argument envp is removed in definition of main() function on Windows.
Functions _main_ and _WinMain_ are renamed to Draw_Main and Draw_WinMain, respectively, to avoid using names reserved in C++.

Doxygen warning is fixed in XDE User's Guide.
Affected Issues
0024574
mod - dox/user_guides/xde/xde.md Diff File
mod - src/BRepBuilderAPI/BRepBuilderAPI_Copy.cxx Diff File
mod - src/BRepTest/BRepTest_Fillet2DCommands.cxx Diff File
mod - src/DNaming/DNaming.cxx Diff File
mod - src/Draft/Draft_Modification_1.cxx Diff File
mod - src/Draw/Draw_Main.cxx Diff File
mod - src/Draw/Draw_Main.hxx Diff File
mod - src/Draw/MainWindow.cxx Diff File
mod - src/GeomAdaptor/GeomAdaptor_Curve.cxx Diff File
mod - src/Image/Image_Diff.cxx Diff File
mod - src/NCollection/NCollection_StdAllocator.hxx Diff File
mod - src/NCollection/NCollection_UtfIterator.hxx Diff File
mod - src/NCollection/NCollection_UtfIterator.lxx Diff File
mod - src/NCollection/NCollection_UtfString.hxx Diff File
mod - src/NCollection/NCollection_UtfString.lxx Diff File
mod - src/OSD/OSD_Host.cxx Diff File
mod - src/QABugs/QABugs_11.cxx Diff File
mod - src/QANCollection/QANCollection_Handle.cxx Diff File
mod - src/ShapeExtend/ShapeExtend_Explorer.cxx Diff File
mod - src/Standard/Standard_Atomic.hxx Diff File
mod - src/TopOpeBRepBuild/TopOpeBRepBuild_VertexInfo.cxx Diff File
mod - src/XSControl/XSControl_Utils.cxx Diff File

master 72bcf3c7

2017-10-19 09:08:05

apn


Committer: bugmaster Details Diff
0029247: Tests, CheckCommands.tcl - Tcl exception "expected integer but got 3dviewer" in test cases on macOS

Test cases on macOS (using native tcl from /usr/lib) fail when $lst starts with numeral, because upvar guesses that its first parameter is level rather than otherVar.
The fix is to explicitly supply level to 1 (default value if uplevel is omitted) to avoid tcl exception "expected integer but got 3dviewer".
Affected Issues
0029247
mod - src/DrawResources/CheckCommands.tcl Diff File

master 6da5b300

2017-10-18 16:20:30

msv


Committer: bugmaster Details Diff
0029157: Modeling - suspicious pass-through of case labels in switch statements

Suspicious passes through case labels have been resolved either by using Standard_FALLTHROUGH macro or by redesigning the code.
Affected Issues
0029157
mod - src/GeomFill/GeomFill_Frenet.cxx Diff File
mod - src/IntCurveSurface/IntCurveSurface_Inter.gxx Diff File
mod - src/IntWalk/IntWalk_PWalking.cxx Diff File
 First  Prev  1 2 3 ... 30 ... 60 ... 82 83 84 85 86 87 88 ... 90 ... 120 ... 150 ... 180 ... 210 ... 240 ... 254 255 256  Next  Last