occt.git
11 years ago0022898: IGES import fails in german environment
abv [Fri, 1 Feb 2013 14:41:16 +0000 (18:41 +0400)]
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

11 years agoAdding test cases from chl grid
apn [Fri, 1 Feb 2013 13:32:08 +0000 (17:32 +0400)]
Adding test cases from chl grid

11 years ago0023436: BRepOffsetAPI_ThruSections crashes when lofting through identical profiles
jgv [Fri, 1 Feb 2013 13:22:26 +0000 (17:22 +0400)]
0023436: BRepOffsetAPI_ThruSections crashes when lofting through identical profiles
Adding of test case

11 years ago0023711: Incorrect result done by fuse operation
pkv [Fri, 1 Feb 2013 13:19:18 +0000 (17:19 +0400)]
0023711: Incorrect result done by fuse operation

Correction of misprint
Adding of test case

11 years ago0023732: Exception raised during intersection between two surfaces
pkv [Fri, 1 Feb 2013 13:06:03 +0000 (17:06 +0400)]
0023732: Exception raised during intersection between two surfaces

Adding of test case

11 years ago0023310: No IsEqual function for Handles
omy [Fri, 1 Feb 2013 12:47:50 +0000 (16:47 +0400)]
0023310: No IsEqual function for Handles

IsEqual function for Handle(Standard_Transient) was added to global scope.
Getting rid of compilation errors (removed additional IsEqual functions)

11 years ago0023730: Statement has no effect in DNaming_RevolutionDriver.cxx
kgv [Sat, 26 Jan 2013 19:55:37 +0000 (23:55 +0400)]
0023730: Statement has no effect in DNaming_RevolutionDriver.cxx

11 years ago0023725: C++11 compatibility issues in Image_Color.hxx
kgv [Sat, 26 Jan 2013 18:48:12 +0000 (22:48 +0400)]
0023725: C++11 compatibility issues in Image_Color.hxx

Fixed warning emited by g++ 4.7.2

11 years ago0023728: Unused variables "Tolu" and "Tolv" in Select3D
kgv [Sat, 26 Jan 2013 19:39:56 +0000 (23:39 +0400)]
0023728: Unused variables "Tolu" and "Tolv" in Select3D

11 years ago0023729: Statement has no effect in BinMDataStd_NamedDataDriver::Paste()
kgv [Sat, 26 Jan 2013 19:49:45 +0000 (23:49 +0400)]
0023729: Statement has no effect in BinMDataStd_NamedDataDriver::Paste()

11 years ago0023664: Eliminate linker warnings on import of local symbol
abv [Sun, 23 Dec 2012 06:08:16 +0000 (10:08 +0400)]
0023664: Eliminate linker warnings on import of local symbol

Standard_IMPORT removed or replaced by 'export' where it applies to a symbol defined in the same toolkit

11 years ago0023267: cppcheck warning: Using 'memcpy' on class that contains a virtual method
omy [Fri, 1 Feb 2013 11:39:38 +0000 (15:39 +0400)]
0023267: cppcheck warning: Using 'memcpy' on class that contains a virtual method

Removed class _BaseElement, thus _Element's functions are not virtual now.
Removed redundant Msg() function from _Element class.

11 years ago0023726: Wrong usage of NCollection_StdAllocator<void> in QANColStdAllocator2
kgv [Sat, 26 Jan 2013 18:53:49 +0000 (22:53 +0400)]
0023726: Wrong usage of NCollection_StdAllocator<void> in QANColStdAllocator2

Fixed compilation error within g++ 4.7.2

11 years agoUpdate of testing cases
omy [Mon, 28 Jan 2013 13:02:50 +0000 (17:02 +0400)]
Update of testing cases

11 years agoAdjusting testing cases for current state of OCCT
omy [Mon, 28 Jan 2013 10:00:50 +0000 (14:00 +0400)]
Adjusting testing cases for current state of OCCT

11 years ago0023716: Boolean Fuse between two faces fails
pkv [Mon, 28 Jan 2013 07:51:58 +0000 (11:51 +0400)]
0023716: Boolean Fuse between two faces fails

11 years ago0023699: Exception reaised during intersection between two surfaces
pkv [Mon, 28 Jan 2013 07:42:33 +0000 (11:42 +0400)]
0023699: Exception reaised during intersection between two surfaces

11 years ago0023704: The program hang-up during intersection of two edges.
pkv [Wed, 16 Jan 2013 03:09:59 +0000 (07:09 +0400)]
0023704: The program hang-up during intersection of two edges.

11 years ago0023644: Intersection between coaxial cones produces exception
pkv [Mon, 28 Jan 2013 07:33:22 +0000 (11:33 +0400)]
0023644: Intersection between coaxial cones produces exception

Small correction: one more tolerance variable has been added.
Test case for this fix
Small correction of test case

11 years ago0023530: Error in Draw command "checkshape": invalid face is not recognized
nbv [Mon, 28 Jan 2013 07:30:17 +0000 (11:30 +0400)]
0023530: Error in Draw command "checkshape": invalid face is not recognized

Add function for determinate closure in 2D and 3D
Change ChoixUV(...) function
Small correction of test case

11 years ago0023663: Removing 2D viewer library
aba [Fri, 25 Jan 2013 14:11:16 +0000 (18:11 +0400)]
0023663: Removing 2D viewer library

Deleted TKV2d toolkit and CGM, MFT,FontMFT, PlotMgt, PS packages. Deleted 2d test cases.
Deleted WNT_WDriver and Xw_Driver, edited Aspect_Driver.
Deleted trailing spaces, removed WNT_FontMapEntry, WNT_FontTable, WNT_HFontTable
Deleting tests for 2D viewer

11 years ago0023510: Integration of test grid "vis" into the new testing system
ski [Fri, 25 Jan 2013 08:23:15 +0000 (12:23 +0400)]
0023510: Integration of test grid "vis" into the new testing system

11 years agoAdded test cases to folders /bugs/modalg and /bugs/moddata from chl grid.
apn [Fri, 25 Jan 2013 12:22:41 +0000 (16:22 +0400)]
Added test cases to folders /bugs/modalg and /bugs/moddata from chl grid.

Modified TODO in some offset cases.
Deleted the same test cases bug697_* in /bugs/modalg
Deleted test cases which is based on v2d commands
Added test cases to folder bugs

11 years ago0023483: Use appropriate type for handling integer time
omy [Thu, 24 Jan 2013 07:27:45 +0000 (11:27 +0400)]
0023483: Use appropriate type for handling integer time

Introduced new cdl-friendly Standard_Time alias to time_t type.

11 years ago0023720: Call of malloc.h include absence in Image_PixMap.cxx
bugmaster [Thu, 24 Jan 2013 08:44:55 +0000 (12:44 +0400)]
0023720: Call of malloc.h include absence in Image_PixMap.cxx

11 years ago0023715: Generated cmake files should link against Cocoa on Mac OS X
kgv [Tue, 22 Jan 2013 07:42:43 +0000 (11:42 +0400)]
0023715: Generated cmake files should link against Cocoa on Mac OS X

Replace inclusion of GL/glu.h header with OpenGl_GlCore11.hxx wrapper
GL/glu.h doesn't exists on Mac OS X without XQuartz 3rd-party library

11 years ago0023668: OCCT automated testing: Using Mesa3d for 3D visualization on virtual Windows...
kgv [Thu, 24 Jan 2013 10:42:36 +0000 (14:42 +0400)]
0023668: OCCT automated testing: Using Mesa3d for 3D visualization on virtual Windows machines

Added advanced Draw Harness environment variable CSF_UserDllPath
to prepend DLL search path for system libraries like "opengl32.dll".

Added new Draw Harness command vglinfo to print OpenGL self info.

11 years ago0023525: Disappearing of highlight in screenshot
kgv [Fri, 25 Jan 2013 10:52:59 +0000 (14:52 +0400)]
0023525: Disappearing of highlight in screenshot

OpenGl immediate mode - get rid from GL display lists

Visual3d_TransientManager, Graphic3d_GraphicDriver:
removed outdated unused methods to draw primitives in immediate mode.
New Draw Harness command to swith rendering mode in immediate mode.

When set to false scene will be always redrawn in back buffer.
V3d_View::ToPixMap - temporarily switch immediate mode to draw into back buffer

Make happy immediate mode dump on OpenGL without FBO (like ms software implementation).
OpenGl_Workspace::RedrawImmediatMode - invalidate back buffer when immediate mode drawn into it
Added more detailed description for Graphic3d_GraphicDriver::SetImmediateModeDrawToFront method

Adding of test case

11 years ago0023062: Incorrect display of edge in draw axo viewer
ika [Fri, 25 Jan 2013 10:49:08 +0000 (14:49 +0400)]
0023062: Incorrect display of edge in draw axo viewer

Update first and last parameters of intervals, because they should be at same period like other values.

11 years ago0023701: Add Cocoa support to Qt samples
dbv [Fri, 25 Jan 2013 10:41:33 +0000 (14:41 +0400)]
0023701: Add Cocoa support to Qt samples
Adapted Qt samples for using Cocoa on Mac OS X

11 years agoAdjusting testing cases for current state of OCCT
apn [Mon, 21 Jan 2013 14:27:00 +0000 (18:27 +0400)]
Adjusting testing cases for current state of OCCT

11 years agoAdded subgroup Specific in group Pipe (chl 930-932). Small correction in boolean...
apn [Tue, 15 Jan 2013 10:56:44 +0000 (14:56 +0400)]
Added subgroup Specific in group Pipe (chl 930-932). Small correction in boolean/bopfuse_simple/ZP6

11 years ago0023682: Implement Draw_Window with Cocoa framework
dbv [Fri, 18 Jan 2013 11:04:50 +0000 (15:04 +0400)]
0023682: Implement Draw_Window with Cocoa framework

Implemented most Draw_Window functions with Cocoa. Still should be implemented: drawing rectangle when zooming, window screenshot function in QAxwd
Added workaround for drawing rectangle when zooming
Added small fixes

11 years ago0023607: Spelling corrections in OCCT tests
ysn [Fri, 18 Jan 2013 10:28:47 +0000 (14:28 +0400)]
0023607: Spelling corrections in OCCT tests

11 years ago0023539: QASelect and QAShiftSelect commands
aba [Fri, 18 Jan 2013 10:22:14 +0000 (14:22 +0400)]
0023539: QASelect and QAShiftSelect commands

Replaced QAMoveTo, QASelect and QAShiftSelect draw commands with vmoveto and vselect
Moved vselect and vmoveto draw commands to ViewerTest_ViewerCommands.cxx
Replaced  QAMoveTo and QASelect in test cases. Corrected returned error case result in vselect and vmoveto.
Added commands in ViewerTest_ViewerCommands from QADraw. Edited tests.
QACommands in tests were replaced with ViewerTest commands.
QAxwd command was removed from QADraw. Edited command wzoom and commands from ViewerTest.
Help for ViewerTest commands was edited
Small corrections. Added test cases for polygonal selection.
Small correction of test cases

11 years agoCR23684: TCollection_HExtendedString::String() returns a copy instead of const reference
Roman Lygin [Fri, 18 Jan 2013 09:50:27 +0000 (13:50 +0400)]
CR23684: TCollection_HExtendedString::String() returns a copy instead of const reference

Update TCollection_HExtendedString::String() implementation as well

11 years ago0023690: Miscellaneous minor enhancements in OCAF/XDE
Roman Lygin [Fri, 18 Jan 2013 09:47:00 +0000 (13:47 +0400)]
0023690: Miscellaneous minor enhancements in OCAF/XDE

11 years ago0023651: Exception on fillet construction between NURBS and surface of revolution
jgv [Fri, 18 Jan 2013 09:42:52 +0000 (13:42 +0400)]
0023651: Exception on fillet construction between NURBS and surface of revolution

Adding test cases for this fix

11 years ago0023552: Projection algorithm produces wrong results with default tolerance value.
pkv [Fri, 18 Jan 2013 09:39:21 +0000 (13:39 +0400)]
0023552: Projection algorithm produces wrong results with default tolerance value.
Add TKShHealing to TKFillet/EXTERNLIB
Adding test case

11 years ago0023634: Eliminate Polyline and Polygon usage in drawers
kgv [Fri, 18 Jan 2013 09:36:18 +0000 (13:36 +0400)]
0023634: Eliminate Polyline and Polygon usage in drawers

Polylines and polygons removed, now everything is based on PrimitiveArrays.
Added use of Graphic3d_ArrayOfSegments, some additional clean up in Graphic3d_Group.
Dead code elimination in AIS and V3d
Corrected compilation errors
Fixed grid presentation
Adding test case correction

11 years agoTest for 0022778: Bug in BRepMesh
abv [Mon, 3 Dec 2012 18:51:30 +0000 (22:51 +0400)]
Test for 0022778: Bug in BRepMesh

Test case bugs mesh bug22778 added.
Test case bugs mesh bug23473 moved to systematic grid (mesh standard* X5)

11 years ago0023678: Compiler warning in BRepFill_Pipe::ShareFaces()
abv [Fri, 18 Jan 2013 08:16:43 +0000 (12:16 +0400)]
0023678: Compiler warning in BRepFill_Pipe::ShareFaces()

11 years ago0023673: Static method Image_PixMap::SizePixelBytes is not exported
san [Thu, 27 Dec 2012 06:43:05 +0000 (10:43 +0400)]
0023673: Static method Image_PixMap::SizePixelBytes is not exported

Static method Standard_Size SizePixelBytes (const Image_PixMap::ImgFormat thePixelFormat)
exported under Windows to prevent link error in the user code.

11 years ago0023676: Intersection between edge and a face produces extra vertex
pkv [Fri, 18 Jan 2013 08:10:48 +0000 (12:10 +0400)]
0023676: Intersection between edge and a face produces extra vertex

11 years ago0023687: Two opposite conditions. The second condition is always false in ifselect_sh...
Pawel [Fri, 4 Jan 2013 14:18:34 +0000 (15:18 +0100)]
0023687: Two opposite conditions. The second condition is always false in ifselect_shareout.cxx

Deleted if-condition that was always false.

11 years ago0023686: The call to 'Precision::Angular()' is pointless in the Release build
Pawel [Fri, 4 Jan 2013 11:04:50 +0000 (12:04 +0100)]
0023686: The call to 'Precision::Angular()' is pointless in the Release build

Calling 'Precision::Angular()' inky if 'DEB' is defined.

11 years agoAdjusting testing cases
apn [Mon, 14 Jan 2013 12:38:44 +0000 (16:38 +0400)]
Adjusting testing cases

11 years agoAdjusting bugs group for current state of OCCT
apn [Fri, 11 Jan 2013 11:30:11 +0000 (15:30 +0400)]
Adjusting bugs group for current state of OCCT

11 years ago0023652: Non zoomable text with alignment slides away when zooming view
apl [Wed, 19 Dec 2012 14:11:33 +0000 (18:11 +0400)]
0023652: Non zoomable text with alignment slides away when zooming view

Alignment is applied after zoom persistence scaling

11 years agoAdjusting testing cases
apn [Fri, 4 Jan 2013 07:41:58 +0000 (11:41 +0400)]
Adjusting testing cases

11 years agoAdding testing cases from chl group
apn [Fri, 28 Dec 2012 14:50:48 +0000 (18:50 +0400)]
Adding testing cases from chl group

Modified END file of all group bugs. Command nbshape moved to END file. Add begin with variable subgroup
Small correction in END file
Replaced test case bug726_3 from moddata to modalg

11 years ago0023657: Fails compilation with WOK after patch 22980
dbv [Fri, 28 Dec 2012 14:46:36 +0000 (18:46 +0400)]
0023657: Fails compilation with WOK after patch 22980
Key -I added to CSF_TCL_INCLUDE variable

11 years ago0023652: Non zoomable text with alignment slides away when zooming view
apl [Fri, 28 Dec 2012 14:38:00 +0000 (18:38 +0400)]
0023652: Non zoomable text with alignment slides away when zooming view
alignment is applied after zoom persistence scaling
Adding test case for this fix

11 years ago0023636: Problems initialising errorStream
abv [Fri, 21 Dec 2012 09:56:44 +0000 (13:56 +0400)]
0023636: Problems initialising errorStream
OSD_Error.cxx is protected for the case if errorStream is NULL

11 years ago0022820: OCCT IGES writer loses plane information
ika [Fri, 28 Dec 2012 14:30:58 +0000 (18:30 +0400)]
0022820: OCCT IGES writer loses plane information

added writing planes in Type 108 not like BSplines
pcurves for planes not writing
add parameter for choice between writing planes in BSplines and Planes
0022820: OCCT IGES writer loses plane information

pcurves were prohibited also for BRep mode
Adding test case for this fix

11 years ago0023632: Add support for NPOT mipmap textures in TKOpenGl
kgv [Tue, 18 Dec 2012 12:32:37 +0000 (16:32 +0400)]
0023632: Add support for NPOT mipmap textures in TKOpenGl

Use glGenerateMipmap instead of gluBuild2DMipmaps when available.

11 years ago0021357: Transform persistence bug
kgv [Fri, 28 Dec 2012 14:20:27 +0000 (18:20 +0400)]
0021357: Transform persistence bug

Resurrection of lost patch
scale depth size in zoom persistent mode to avoid z-fighting conflicts

11 years ago0023627: Standard_OutOfRange in TopOpeBRep_FacesIntersector
abv [Mon, 10 Dec 2012 20:32:11 +0000 (00:32 +0400)]
0023627: Standard_OutOfRange in TopOpeBRep_FacesIntersector

Number of iterations corrected in static function GetArc()

11 years ago0023622: IGES import produces invalid shape with parameter read.iges.bspline.continuity=0
Roman Lygin [Fri, 28 Dec 2012 14:11:58 +0000 (18:11 +0400)]
0023622: IGES import produces invalid shape with parameter read.iges.bspline.continuity=0
Adding test cases for this fix

11 years ago0023628: Snapshots have wrong dimension when OCCT is built by VC++ 11
kgv [Mon, 17 Dec 2012 08:44:37 +0000 (12:44 +0400)]
0023628: Snapshots have wrong dimension when OCCT is built by VC++ 11

Use AdjustWindowRect() function to adjust window rectangle instead of
manual GetSystemMetrics().

11 years ago0023595: XCAFDoc_ShapeTool extended with two methods - SetAutoNaming() and AutoNaming()
Roman Lygin [Fri, 28 Dec 2012 14:02:51 +0000 (18:02 +0400)]
0023595: XCAFDoc_ShapeTool extended with two methods - SetAutoNaming() and AutoNaming()
Adding new draw command
Adding test case for this fix
Small correction
Small correction

11 years ago0022715: Incorrect faces of the filleted cube after import from iges file
ika [Fri, 28 Dec 2012 13:59:09 +0000 (17:59 +0400)]
0022715: Incorrect faces of the filleted cube after import from iges file

Writing and reading tabulated cylinders in IGES were changed in accordance of Type 122 (parametrization [0,1]x[0,1]

some cosmetic changes
Adding test cases for this fix

11 years ago0023562: nbshapes command works incorrect with the attached shapes
emv [Fri, 28 Dec 2012 13:55:30 +0000 (17:55 +0400)]
0023562: nbshapes command works incorrect with the attached shapes
This option allows to see the number of sub-shapes counting the same sub-shapes with different location as different sub-shapes.
Adding test cases for this fix

11 years agoPrepared branch for raising to master
apn [Mon, 24 Dec 2012 13:16:41 +0000 (17:16 +0400)]
Prepared branch for raising to master

11 years ago0023243: Adapt OpenGL viewer for using in Cocoa applications on Mac OS X
bugmaster [Mon, 24 Dec 2012 13:46:07 +0000 (17:46 +0400)]
0023243: Adapt OpenGL viewer for using in Cocoa applications on Mac OS X

Cocoa_Window draft
OpenGl_Context and OpenGl_Window - added support for Cocoa OpenGL context
TKV3d - accept Cocoa_Window
Draft version of ViewerInit method for Mac OS X
Added ViewerTest_CocoaEventManagerView
ViewerTest - attach events to Cocoa window
Cocoa_Window - disable autorelease on close
Fix for OpenGl_Context::Init method
Cocoa_Window - convert top-left coordinates to bottom-left
Added selection with rubber band (rubber band drawing still should be implemented)
Fixed OpenGl_Display initialization on Mac OS X
Fixed OpenGl includes

11 years agoAdding test cases for chl grid
apn [Fri, 21 Dec 2012 12:39:38 +0000 (16:39 +0400)]
Adding test cases for chl grid

Test case tests/bugs/modalg/dxf906 was renamed to bug889
Adding test cases to tests/bugs/moddata
Modified expressions puts [checkshape result]. Added command vzfit in end file in folder bugs. Unlocked command coordload in QABugs_3.cxx
Modified test case bugs vis buc60738
Added test cases to modalg and moddata
Added test cases to caf and fclasses
Added test cases to group heal

11 years ago0023576: Intersection algorithm produces trimmed circle with illegal parametric range.
pkv [Fri, 21 Dec 2012 12:35:19 +0000 (16:35 +0400)]
0023576: Intersection algorithm produces trimmed circle with illegal parametric range.

11 years ago0023603: Boolean operation between two edges fails
pkv [Fri, 21 Dec 2012 12:25:15 +0000 (16:25 +0400)]
0023603: Boolean operation between two edges fails

11 years ago0023606: Invalid result of pipe operation
skv [Fri, 21 Dec 2012 12:16:21 +0000 (16:16 +0400)]
0023606: Invalid result of pipe operation

11 years ago0023643: Intersection algorithm produces B-Spline curve in case of coaxial cones
pkv [Fri, 21 Dec 2012 12:05:58 +0000 (16:05 +0400)]
0023643: Intersection algorithm produces B-Spline curve in case of coaxial cones

11 years ago0023203: STEP import produces wrong surface of revolution on ellipse
bugmaster [Fri, 21 Dec 2012 12:01:04 +0000 (16:01 +0400)]
0023203: STEP import produces wrong surface of revolution on ellipse

Checking of XAsis for ellipses was added.
Adding test case for this fix

11 years ago0023529: Uninitialized variable: aSurfType - AIS_DiameterDimension.cxx , line 339
Pawel [Fri, 9 Nov 2012 09:24:50 +0000 (10:24 +0100)]
0023529: Uninitialized variable: aSurfType - AIS_DiameterDimension.cxx , line 339

Initialized the variable 'aSurfType'.

11 years ago0022980: Fixed Standard_Atomic.hxx
Roman Lygin [Tue, 18 Dec 2012 18:35:43 +0000 (22:35 +0400)]
0022980: Fixed Standard_Atomic.hxx

Standard_Atomic, prefer gcc built-ins rather than WinAPI calls (revert previous change of order)
Raise compiler error if no implementation found for atomic operations.
Add new draw command for testing this bug
Fix for compilation with TBB disabled
Adding CSF_TBB_INCLUDES macro in edl files
Correction of *.edl files
Update of EXTERNLIB files with CSF_TBB
Adding EXTERNLIB file

11 years agoRestoring test cases removed by last commit.
abv [Mon, 10 Dec 2012 15:53:29 +0000 (19:53 +0400)]
Restoring test cases removed by last commit.
Enabling command QAAIAGetColor2d on Windows in order to allow relevant tests to pass.

11 years agoAdjusting code and testing cases for current state of OCCT
abv [Mon, 17 Dec 2012 16:01:09 +0000 (20:01 +0400)]
Adjusting code and testing cases for current state of OCCT

11 years ago0023618: Some tests get killed just because of wrong cpulimit setting
abv [Fri, 14 Dec 2012 13:30:40 +0000 (17:30 +0400)]
0023618: Some tests get killed just because of wrong cpulimit setting

Cpulimit increased in tests bugs moddata bug54 and boolean bsection N4 for tests to pass on slower systems.
Cpulimit command now should print a dying message when it kills process.

11 years ago0023591: IGES Boundary Entity containing Composite Curve fails to translate
Roman Lygin [Wed, 28 Nov 2012 08:52:57 +0000 (12:52 +0400)]
0023591: IGES Boundary Entity containing Composite Curve fails to translate

11 years agoAdding new testing cases for chl grid
apn [Fri, 14 Dec 2012 12:56:11 +0000 (16:56 +0400)]
Adding new testing cases for chl grid

Adding procedures checkcolor and checkpoint.
Modified test cases which are used QAGetPixelColor or QAAISGetPixelColor2d
Allow using command QAAISGetPixelColor2d on WNT
Rename test case tests/bugs/vis/bug19619 to pro19619
Added test cases to modalg and moddata

11 years ago0023452: Couldn't catch results produced by commands "data" and "tpstat"
mkv [Fri, 14 Dec 2012 12:51:39 +0000 (16:51 +0400)]
0023452: Couldn't catch results produced by commands "data" and "tpstat"
Add new printer
Improving of duplication of command's output
Simplification of removing duplication of command's output
Removing of brackets
improved version
Test correction

11 years ago0023580: [Regression] BRepMesh 6.5.4 produces visually incorrect view
apn [Fri, 14 Dec 2012 07:26:10 +0000 (11:26 +0400)]
0023580: [Regression] BRepMesh 6.5.4 produces visually incorrect view

Added test case and modified end file in /bugs/mesh

11 years ago0023630: Incorrect NULL check in OpenGl_Workspace::EnableTexture()
kgv [Tue, 11 Dec 2012 13:57:50 +0000 (17:57 +0400)]
0023630: Incorrect NULL check in OpenGl_Workspace::EnableTexture()

11 years ago0023587: Operation "2dintersect "in TestHarness can not find intersection point of...
gka [Fri, 14 Dec 2012 12:38:05 +0000 (16:38 +0400)]
0023587: Operation "2dintersect "in TestHarness can not find intersection point of two intersecting 2d curves.

Modified DRAW command "2dintersect" added optional parameter "tolerance for intersection".
Test case for bug 0023587 : Check intersections of four 2d curves
Adding test cases for this fix
Deleting temporary test case

11 years ago0023523: In session DRAW it is impossible to close document having name already once...
gka [Fri, 14 Dec 2012 12:17:11 +0000 (16:17 +0400)]
0023523: In session DRAW it is impossible to close document having name already once closed document.

Added destructor for TDocStd_Document which performs destruction of document in logical order in order to avoid exception when Undo and Redo fields are destructed after THF_Data field.
Added removing name of closed document from tcl variables in the DRAW in order to avoid exception during use the same name for new document.
Modification to avoid compilation error class ViewerTest
Minor correction in test caf basic G3

11 years ago0023604: Uninitialized variables in debug mode
abv [Mon, 10 Dec 2012 12:53:05 +0000 (16:53 +0400)]
0023604: Uninitialized variables in debug mode

Removed #ifndef DEB ... #else ... #endif directives where the variables were being initialized only in release mode.
Removed unused part of code.

11 years ago0023323: Duplicate if-clause in Visual3d_View.cxx
aba [Fri, 14 Dec 2012 12:08:27 +0000 (16:08 +0400)]
0023323: Duplicate if-clause in Visual3d_View.cxx

Changed an outer condition.
Deleted MyMatOfOriIsModified and MyMatOfMapIsModified flags.Deleted all modification flags from ViewOrientationReset() and SetViewOrientation() functions.
Checkings of view modifications in SetViewOrientation() and ViewOrientationReset() methods were returned
CustomIsModified flag was replaced by ScaleIsModified flag in modification checking.
Added 'IsInitialized' flag to check if orientation matrix was set

11 years agoAdjusting testing cases for current state of OCCT
abv [Mon, 10 Dec 2012 13:03:37 +0000 (17:03 +0400)]
Adjusting testing cases for current state of OCCT

11 years agoCorrections for tests after integration of 2012-12-07
abv [Sun, 9 Dec 2012 15:03:08 +0000 (19:03 +0400)]
Corrections for tests after integration of 2012-12-07

1. Fixed tests bugs caf bug350 and bug352 failing in Debug mode due to errors in QA code (removing items from the map during iteration).
2. Debug output messages are ignored in parse.rules in heal and bugs group to avoid false failures in Debug mode after changes made for #23609 and last integration of new tests.
3. Test bugs moddata buc60654 removed as duplicate of bug143.
4. Test bugs moddata bug143 fixed to compare real values properly. New command checkreal added for comparing reals with tolerance.
6. Test bugs caf bug114 is fixed to avoid use of OS-specific commands (command meminfo is used instead). Command checktrend is used to check for possible memory leak.

11 years agoAdding test cases from grid chl
abv [Fri, 7 Dec 2012 12:29:17 +0000 (16:29 +0400)]
Adding test cases from grid chl

11 years ago0023586: The test execution process should correctly stop on user demand
abv [Fri, 7 Dec 2012 12:12:01 +0000 (16:12 +0400)]
0023586: The test execution process should correctly stop on user demand

Possibility to break DRAW commands by user break (Control-C) is implemented as follows:

- Treatment of Control-C (SIGINT signal) on UNIX in OSD::SetSignal() is made coherent with Windows implementation: instead of attempt to raise exception (simulated by longjump, does not work anyway), signal handler just sets a flag which can be later checked by OSD::ControlBreak()

- Call to OSD::ControlBreak() is added to common entry point for OCCT DRAW commands; this causes command interruption if Control-C has been pressed before its start.

- Command "dbreak" added allowing to check Control-Break status from Tcl script (raises Tcl exception if break was signaled)

- Command "dversion" added printing information on OCCT version, used build options, compiler, etc.

- Test system modified to properly handle and report user breaks and add version info in the summary log

Fix compiler error on Linux

11 years ago0021985: Vista/WIndows 7 compatibility issues reported by the community
aba [Fri, 7 Dec 2012 10:21:46 +0000 (14:21 +0400)]
0021985: Vista/WIndows 7 compatibility issues reported by the community

WNT_Window::Dump method calls were replaced with V3dView::Dump calls
Type casts were removed
Added supported image formats in file filters of Export methods, edited documentation for Image_AlienPixMap  class
Supported image formats filter for 2dsample was extended

11 years ago0023546: Test report failure in Debug mode due to debug messages
abv [Tue, 13 Nov 2012 02:46:11 +0000 (06:46 +0400)]
0023546: Test report failure in Debug mode due to debug messages

Adding IGNORE for debug output messages in test groups heal, pipe, mesh, offset, xcaf

11 years ago0023535: Exception in BSplCLib::BuildCache()
nbv [Fri, 7 Dec 2012 10:12:54 +0000 (14:12 +0400)]
0023535: Exception in BSplCLib::BuildCache()

Preliminary result. It was tested with spl_2.brep file only.
Add "const"
Adding test cases for this fix

11 years ago0023599: Some MFC samples are crached during launching
abv [Fri, 7 Dec 2012 06:31:38 +0000 (10:31 +0400)]
0023599: Some MFC samples are crached during launching

Fixing compiler warnings in MFC samples (MSVC compiler)
File .gitignore modified to ignore files generated by VS 2012

11 years ago0023544: Texture management in TKOpenGl should be redesigned
kgv [Fri, 7 Dec 2012 09:58:30 +0000 (13:58 +0400)]
0023544: Texture management in TKOpenGl should be redesigned

Structures Graphic3d_CView, Graphic3d_CStructure, Graphic3d_CGroup become classes and their definitions moved from InterfaceGraphic to Graphic3d.
Introduced new class OpenGl_Texture as replacement for OpenGl_ResourceTexture class and static functions in OpenGl_TextureBox.
Graphic3d_TextureRoot now no more communicate within Graphic3d_GraphicalDriver.
Instead class returns image through GetImage() method.
OpenGl_AspectFace - avoid possible NULL-dereference
OpenGl_Texture::Init() - check gluBuild2DMipmaps() return value
OpenGl_Texture - check GL_BGRA_EXT for compatibility
OpenGl_Texture - scale NPOT image when required
Added more description to Graphic3d_TextureRoot class
OpenGl_Texture - added missing break statement for ImgBGR32 case
OpenGl_Workspace::setTextureParams() - fixed local variable aFilterMin overrides visibility of early declared variable
OpenGl_Workspace::DisableTexture() - reset texture matrix
FTGL do not reset texture matrix and corrupt text could be rendered if custom texture has not identity texture matrix.

11 years ago0023546: Test report failure in Debug mode due to debug messages
abv [Tue, 13 Nov 2012 02:46:11 +0000 (06:46 +0400)]
0023546: Test report failure in Debug mode due to debug messages

Adding IGNORE for debug output messages in test groups heal, pipe, mesh, offset

11 years ago0023561: stepwrite and brepiges dont work with big path (over 150 simbols) of writing...
abv [Fri, 7 Dec 2012 09:50:06 +0000 (13:50 +0400)]
0023561: stepwrite and brepiges dont work with big path (over 150 simbols) of writing file

DRAW commands stepwrite and brepiges modified to never ask for interactive input of file name or write mode; the behavior is completely defined by input arguments. String buffers causing access violation due to overflow are eliminated.

Test case bugs xde bug23561 added for this issue; TODO 23651 in related test cases removed.

Compiler warning (unrelated) is fixed in QABugs_11.cxx

11 years ago0023550: Variable imagedir is not defined in interactive run of tests
abv [Fri, 7 Dec 2012 09:44:58 +0000 (13:44 +0400)]
0023550: Variable imagedir is not defined in interactive run of tests

When test is run interactively, imagedir is set to temporary directory (search order: environment variables TempDir, Temp, Tmp, upper and lower case, in  this order, then $HOME/tmp)
Update testing case with imagedir variable

11 years ago0023415: OSD_FontMgr can't idenify aspect for fonts with names dependant on system...
dbv [Fri, 7 Dec 2012 09:42:37 +0000 (13:42 +0400)]
0023415: OSD_FontMgr can't idenify aspect for fonts with names dependant on system locale.

Added function DetectFontsAspects to Font_FontMgr class. This function uses workaround from OpenGl_FontMgr with FreeType for detecting font aspect.
Removed font name parsing from Font_FontMgr::InitFontDataBase(). Now the font name and font style we get through the FreeType.
Fixed Unix part of Font_FontMgr::InitFontDataBase() method. Font name and font style now detected through the FreeType.
Remarks fix. Added recursive default font directories scanning .
Fixed adding fonts folders recursively from configuration files.
Moved fonts aliases map from OpenGl_Display_1 to Font_FontMgr.
Moved fonts name definition from Graphic3d_NameOfFont.hxx to Font_NameOfFont.hxx.
Added new methods to Font_FontMgr: GetAvailableFontsNames, GetFont and FindFont.
Modified Font_SystemFont creation from XLFD. Added method IsEqual to Font_SystemFont.
Modified methods OpenGl_Display::FindFont, OpenGl_FontMgr::request_font in accordance to the new functionality of the Font_FontMgr.
OpenGl_FontMgr now stores only generated fonts instead of duplication of available fonts list.
Removed method OpenGl_FontMgr::requestFontList. Its function now performs Font_FontMgr::GetAvailableFontsNames.
Documentation was fixed
Adjusting testing cases for current state of OCCT

11 years ago0023609: Tests should handle output containing word error as failure regardless of...
abv [Mon, 3 Dec 2012 01:48:24 +0000 (05:48 +0400)]
0023609: Tests should handle output containing word error as failure regardless of case

File parse.rules modified to handle word "error" case insensitive

11 years ago0023597: Failed to export ellipse into STEP with units other than mm
Roman Lygin [Fri, 7 Dec 2012 08:47:03 +0000 (12:47 +0400)]
0023597: Failed to export ellipse into STEP with units other than mm
Test case for this bug