8 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.

8 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

8 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.

8 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

8 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

8 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

8 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

8 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()

8 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

8 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

8 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.

8 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

8 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

8 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.

8 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

8 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

8 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

8 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

8 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

8 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

8 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.

8 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

8 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

8 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

8 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

8 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

8 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

8 years agoCR23589: performance improvements in curve-curve intersection
Roman Lygin [Wed, 28 Nov 2012 08:35:10 +0000 (12:35 +0400)]
CR23589: performance improvements in curve-curve intersection

8 years ago0023601: Member fields of BRepTools_ReShape made protected
Roman Lygin [Wed, 28 Nov 2012 20:18:39 +0000 (00:18 +0400)]
0023601: Member fields of BRepTools_ReShape made protected

8 years ago0023596: Extending XCAFPrs_AISObject to enable customization of default color
Roman Lygin [Wed, 28 Nov 2012 09:50:28 +0000 (13:50 +0400)]
0023596: Extending XCAFPrs_AISObject to enable customization of default color

8 years ago0023594: XCAFDoc_LayerTool extended to work with layer defined by its label, not...
Roman Lygin [Wed, 28 Nov 2012 09:19:04 +0000 (13:19 +0400)]
0023594: XCAFDoc_LayerTool extended to work with layer defined by its label, not string

8 years ago0023593: XCAFDoc_DocumentTool label must be removed from internal map upon closing...
Roman Lygin [Wed, 28 Nov 2012 09:07:44 +0000 (13:07 +0400)]
0023593: XCAFDoc_DocumentTool label must be removed from internal map upon closing the XDE document

8 years ago0023592: Enabling TBB allocator by default for OCC built with -DHAVE_TBB
Roman Lygin [Fri, 7 Dec 2012 08:08:09 +0000 (12:08 +0400)]
0023592: Enabling TBB allocator by default for OCC built with -DHAVE_TBB
Implementation updated based on discussion with OCC team

8 years agoCR23590: IGESCAFControl_Writer extended to accept TDF_LabelSequence
Roman Lygin [Wed, 28 Nov 2012 08:45:59 +0000 (12:45 +0400)]
CR23590: IGESCAFControl_Writer extended to accept TDF_LabelSequence

8 years agoReorganization of bugs testing group
bugmaster [Wed, 5 Dec 2012 13:17:05 +0000 (17:17 +0400)]
Reorganization of bugs testing group

8 years agoAdjusting testing cases
bugmaster [Tue, 4 Dec 2012 12:10:52 +0000 (16:10 +0400)]
Adjusting testing cases

8 years agoAdjusting testing cases for current state of OCCT
apn [Tue, 4 Dec 2012 07:17:20 +0000 (11:17 +0400)]
Adjusting testing cases for current state of OCCT

8 years agoIntegration part of tests of grid chl
apn [Fri, 30 Nov 2012 12:37:32 +0000 (16:37 +0400)]
Integration part of tests of grid chl

8 years ago0023237: OSD_PerfMeter reports wrong (zero) times
omy [Fri, 30 Nov 2012 12:17:28 +0000 (16:17 +0400)]
0023237: OSD_PerfMeter reports wrong (zero) times

Commit details:
1) in OSD_PerfMeter, use static functions of OSD_Chronometer class for time measurements instead of specific code to avoid incorrect results on CentOS (due to wrong valus of CLK_TCK);
2) changed definition of OSD_PerfMeter from .c to .cxx to avoid problems with C-functions;
3) fixed OSD_PerfMeter.h for building on Unix systems;
4) removed platform-specific #defines;
5) added test case for OSD_PerfMeter as bugs fclasses bug23237;
6) Removed DebugTools package (duplicates OSD_PerfMeter)
7) Avoid compiler (GCC) error casting BRepPrimAPI_Make* instances to TopoDS_Shape

8 years ago0023569: Adding NCollection_StdAllocator
Roman Lygin [Fri, 30 Nov 2012 12:06:46 +0000 (16:06 +0400)]
0023569: Adding NCollection_StdAllocator

Adding NCollection_StdAllocator
Adding NCollection_StdAllocator (correcting previous commit)
- addressed code review comment by kgv with using 2 (vs 4) spaces and amending max_size()

Add new draw-commands
Adding test case for this bug

8 years ago0023241: DRAWEXE crash on startup in Mac OS X
kgv [Fri, 30 Nov 2012 12:01:48 +0000 (16:01 +0400)]
0023241: DRAWEXE crash on startup in Mac OS X

Fixing problem with Draw starting
Added problem description into the sources.
Cosmetic fix. Replaced tabs with spaces.

8 years ago0023584: Tests in group geometry generate gif images instead of png
abv [Mon, 26 Nov 2012 11:21:20 +0000 (15:21 +0400)]
0023584: Tests in group geometry generate gif images instead of png

File end in group geometry modified to produce PNG images instead of GIF

8 years ago23563: Introduce support of MS Visual Studio 2012
bugmaster [Fri, 30 Nov 2012 11:43:13 +0000 (15:43 +0400)]
23563: Introduce support of MS Visual Studio 2012

unused Mapiwi.h commented
Update of OCCT samples for vc11
Update of target folders for vc11
Update of generation-vc-projects.bat files

8 years ago0023418: Crash on the object displaying when running DRAW on remote station. OpenGL...
aba [Fri, 30 Nov 2012 11:40:17 +0000 (15:40 +0400)]
0023418: Crash on the object displaying when running DRAW on remote station. OpenGL version determination was corrected

Small style changes
Comments were corrected

8 years ago0023532: Mismatching allocation and deallocation: anAsciiString, CDM_COutMessageDrive...
Pawel [Fri, 30 Nov 2012 11:35:12 +0000 (15:35 +0400)]
0023532: Mismatching allocation and deallocation: anAsciiString, CDM_COutMessageDriver.cxx

Replaced 'delete' with 'delete []' when deallocating array.

8 years ago0023498: Comparison always true in Units_Lexicon::Creates()
abv [Fri, 30 Nov 2012 11:31:27 +0000 (15:31 +0400)]
0023498: Comparison always true in Units_Lexicon::Creates()

Method Units_Lexicon::Creates refactored
Further refactoring of Units_Lexicon::Creates() and Units_UnitsDictionary::Creates()

8 years agoAdjusting testing cases for current state of OCCT
bugmaster [Tue, 27 Nov 2012 09:47:01 +0000 (13:47 +0400)]
Adjusting testing cases for current state of OCCT

8 years ago0023556: Identical sub-expressions to the left and to the right of the '||' operator
Pawel [Fri, 23 Nov 2012 11:57:25 +0000 (15:57 +0400)]
0023556: Identical sub-expressions to the left and to the right of the '||' operator

The second condition changed to: (allMovePenToY->Lower() != 1 || allMovePenToY->Length() != Len)

8 years ago0023560: Redundant copying in Geom_OffsetCurve::Geom_OffsetCurve constructor
abk [Mon, 19 Nov 2012 07:47:45 +0000 (11:47 +0400)]
0023560: Redundant copying in Geom_OffsetCurve::Geom_OffsetCurve constructor

Eliminating redundant copying of 'C' in Geom_OffsetCurve::Geom_OffsetCurve
  const Handle(Curve)& C,
  const Standard_Real Offset,
  const Dir & V) constructor was removed.

8 years ago0023567: Wrong STEP unit is returned by STEPControl_Reader.FileUnits() function
vsr [Fri, 23 Nov 2012 11:44:47 +0000 (15:44 +0400)]
0023567: Wrong STEP unit is returned by STEPControl_Reader.FileUnits() function

Fix bug with using of uninitialized variable.
New version of patch: pass unit object to the getSiName() function directly.
Test case for this bug

8 years ago0023132: Suspicious code snippets
omy [Fri, 16 Nov 2012 09:30:31 +0000 (13:30 +0400)]
0023132: Suspicious code snippets

1) Warning in Aspect.cxx couldn't be reproduced
2) Description of changes: added 'return' statements into ReadStep(...) functions of RWStepBasic_* classes.
3) BRepFill_OffsetWire.cxx - removed dead code;
4) IFSelect_WorkSession.cxx - swapped arguments;
5) TopOpeBRep_ShapeIntersector2d.cxx - removed 'brake' statement and changed loop to if-statement because of
     void TopOpeBRep_ShapeIntersector2d::FindFFIntersection() function's call features.
6) V2d_RectangularGraphicGrid.cxx - left constants instead of functions beacuse of faster perfomance.
7) Commented unreachable code in files GeomFill_LocationGuide.cxx and TopOpeBRepTool_mkTondgE.cxx

8 years ago0023286: Standard_Mutex behavior depends on platform
omy [Fri, 16 Nov 2012 09:14:25 +0000 (13:14 +0400)]
0023286: Standard_Mutex behavior depends on platform

Implemented recursive POSIX mutex instead of non-recursive,
Removed SentryNested class, implemented it's features into Sentry class
Added second constructor to Sentry class

8 years ago0023130: command "maxtolerance" doesn't work on Windows
nbv [Fri, 23 Nov 2012 11:33:47 +0000 (15:33 +0400)]
0023130: command "maxtolerance" doesn't work on Windows

maxtol command returns incorrect values of variables nbFaces, nbEdges and nbVtx.
Test case for this bug

8 years ago0023487: Remove obsolete BRepTools::OuterShell() function
ilv [Fri, 23 Nov 2012 11:01:28 +0000 (15:01 +0400)]
0023487: Remove obsolete BRepTools::OuterShell() function

All corresponding calls to BRepTools::OuterShell() replaced by function BRepClass3d::OuterShell()
Changed function BRepClass3d::OuterShell

8 years ago0023379: Exporting single point into STEP produces a compound with two points
ika [Fri, 23 Nov 2012 10:57:23 +0000 (14:57 +0400)]
0023379: Exporting single point into STEP produces a compound with two points

Adding single vertex for second time was removed.
Adding single vertex in first time was removed, but for second time was returned.
Duplication of vertex compound in STEPControl_GeometricCurveSet mode was removed.
Some cosmetic changes
Test case for this bug

8 years ago0023120: Transform persistence is not restored
san [Fri, 23 Nov 2012 10:47:11 +0000 (14:47 +0400)]
0023120: Transform persistence is not restored

Updating myTransPers field in any case in OpenGl_View::BeginTransformPersistence()
Test case for this bug

8 years ago0023572: Wrong line endings in *.yacc and *.lex files on Linux
bugmaster [Thu, 22 Nov 2012 14:20:49 +0000 (18:20 +0400)]
0023572: Wrong line endings in *.yacc and *.lex files on Linux

8 years agoAdjusting testing cases for current state of OCCT
bugmaster [Fri, 16 Nov 2012 08:48:24 +0000 (12:48 +0400)]
Adjusting testing cases for current state of OCCT

8 years ago0023473: Top face of imported STEP part is missing
epa [Thu, 15 Nov 2012 12:37:23 +0000 (16:37 +0400)]
0023473: Top face of imported STEP part is missing

Fix for constraints for case of complex internal wires
Test case for this bug

8 years ago0023548: Boolean operation between two faces fails
pkv [Tue, 13 Nov 2012 06:49:13 +0000 (10:49 +0400)]
0023548: Boolean operation between two faces fails

8 years ago0023290: IntCurve_IntPolyPolyGen.gxx, suspicious if/for
ika [Thu, 8 Nov 2012 13:27:01 +0000 (17:27 +0400)]
0023290: IntCurve_IntPolyPolyGen.gxx, suspicious if/for
unnecessary code was deleted

8 years ago0022835: IncrementalMesh generates FLT exceptions when running in parallel mode
apn [Wed, 7 Nov 2012 12:28:00 +0000 (16:28 +0400)]
0022835: IncrementalMesh generates FLT exceptions when running in parallel mode

Adding test case

8 years ago0023475: Wrong result of Geom_BSpline_Surface::IsVClosed()
gka [Thu, 15 Nov 2012 11:35:03 +0000 (15:35 +0400)]
0023475: Wrong result of Geom_BSpline_Surface::IsVClosed()

Definition closure surface by U and V by distance between isolines on bounds
Comparison to isolines on identity
Implementation of short dump of surface and curves
Change order of comparison

Fix and test script for bug 0023475
Modification of script to restore surface
Modification for correction regression ( UIso and VIso were confused)
Modified test case and test surface for bug 0023475

8 years ago0022927: Regression with OCCT652 on Windows. DRAWEXE crashes during offsetcomshape.
vro [Thu, 15 Nov 2012 11:19:42 +0000 (15:19 +0400)]
0022927: Regression with OCCT652 on Windows. DRAWEXE crashes during offsetcomshape.

Check was added to avoid a crash if result is not reachable.
Modified test case

8 years ago0023291: GccAna_Circ2d3Tan_8.cxx, suspicious if
ika [Thu, 15 Nov 2012 11:14:58 +0000 (15:14 +0400)]
0023291: GccAna_Circ2d3Tan_8.cxx, suspicious if

one of the duplicate conditions has been removed
Code was changed to be more obvious.
Unite if blocks into one block
Small correction of coding style

8 years ago0022506: Wrong factor for elapsed time mesaured with GetTickCount() in OSD_Timer
omy [Fri, 2 Nov 2012 09:48:15 +0000 (13:48 +0400)]
0022506: Wrong factor for elapsed time mesaured with GetTickCount() in OSD_Timer

Commit details: set the proper factor value.

8 years ago0022522: Small BUG in DRAWEXE - vtrihedron command
aba [Thu, 15 Nov 2012 10:35:21 +0000 (14:35 +0400)]
0022522: Small BUG in DRAWEXE - vtrihedron command

Add condition to check if shape name is already bound
Used VDisplayAISObject() to display an object
vtrihedron - fixed parsing of arguments with Z direction definition

8 years ago0023329: Edit comment of function Epsilon (Standard_Real.hxx)
ilv [Mon, 29 Oct 2012 05:57:21 +0000 (09:57 +0400)]
0023329: Edit comment of function Epsilon (Standard_Real.hxx)

8 years ago0022970: Incorrect array use in Graphic3d_StructureManager.cxx
aba [Thu, 25 Oct 2012 10:07:11 +0000 (14:07 +0400)]
0022970: Incorrect array use in Graphic3d_StructureManager.cxx

Corrected bounds of loops and initialisation error message.

8 years ago0022832: Not documented limitation of Graphic3d_StructureManager
aba [Wed, 24 Oct 2012 11:12:38 +0000 (15:12 +0400)]
0022832: Not documented limitation of Graphic3d_StructureManager

Added information about viewers count limitation in CDL documentation.

8 years ago0023432: Connected Interactive Objects computed without Interactive Context
kgv [Thu, 15 Nov 2012 09:27:18 +0000 (13:27 +0400)]
0023432: Connected Interactive Objects computed without Interactive Context

Setup interactive context for reference(s) in Compute() method of classes AIS_ConnectedInteractive and AIS_MultipleConnectedInteractive
Extend vconnectsh and vconnect to process several input objects, added displaying color for result object
Fixed errors in QAGetPixelColor DRAW command
Edit QAGetPixelColor command and test case
ViewerTest::GetColorFromName() - fixed iteration bounds
QAAISGetPixelColor() - removed redundant conversions
Turn back QAGetPixelColor output syntax in case of 3 arguments
Integration of test script to new test system

8 years ago0023361: Bug in gp_Trsf::Multiply
ilv [Thu, 15 Nov 2012 09:23:11 +0000 (13:23 +0400)]
0023361: Bug in gp_Trsf::Multiply

Bug in gp_Trsf::Multiply fixed.
If we multiply 2 gp_Trsf objects (shape == gp_Rotation), for example, t1 * t2, and t2.loc = 0
(t2.loc.x == 0 and t2.loc.y == 0 and t2.loc.z == 0)
then t1.loc will not change (you can verify it from the matrix multiplication)
Adding test case

8 years ago0023292:The variable 'k' is being used for this loop and for the outer loop.
aba [Wed, 10 Oct 2012 07:30:33 +0000 (11:30 +0400)]
0023292:The variable 'k' is being used for this loop and for the outer loop.

New variable 'm' was defined for the inner loop in line 212 of gccana_circ2d3tan_2.cxx.

Rebased on current master.

8 years ago0022545: Improved exception handling
Roman Lygin [Thu, 15 Nov 2012 09:17:30 +0000 (13:17 +0400)]
0022545: Improved exception handling

8 years ago0023141: Suspicious if (2)
aba [Tue, 16 Oct 2012 11:11:33 +0000 (15:11 +0400)]
0023141: Suspicious if (2)

Fixed condition which was always true

8 years ago0023144: Suspicious if (3)
omy [Thu, 15 Nov 2012 09:01:32 +0000 (13:01 +0400)]
0023144: Suspicious if (3)

Fixed mistake in Standard_Boolean IntCoCo ( ... ) function of IntPatch_ImpImpIntersection_5.gxx file.
Fixed this condition because of the opposite parametrisation direction of the intersection line.

8 years ago0023143: Suspicious else
omy [Thu, 15 Nov 2012 08:59:23 +0000 (12:59 +0400)]
0023143: Suspicious else

Changes description:
In src\IntPatch\IntPatch_ImpPrmIntersection.cxx , in ForcedPurgePoints function changed
ParametersOnS2() to ParametersOnS1() in cases of
Standard_Boolean IsReversed == false in lines 1522 & 1540
Got rid from duplicated code in function static void ForcedPurgePoints(...)

8 years ago0022591: Migration to FreeImage: texture management
kgv [Thu, 15 Nov 2012 08:52:57 +0000 (12:52 +0400)]
0022591: Migration to FreeImage: texture management

Graphic3d_TextureRoot - migrate to Image_AlienPixMap
OpenGl_View::CreateBackgroundTexture() - migrate to Image_AlienPixMap
Fixed Graphic3d_TextureRoot::LoadTexture() method.

8 years ago0023142: GccAna : suspicious else
ika [Thu, 11 Oct 2012 12:40:05 +0000 (16:40 +0400)]
0023142: GccAna : suspicious else

the else should be signe = +1

8 years ago0023281: Removed unused OpenGl_ImageBox
kgv [Thu, 18 Oct 2012 16:44:39 +0000 (20:44 +0400)]
0023281: Removed unused OpenGl_ImageBox

8 years ago0023312: Suspicious for loop in BiTgte_Blend.cxx
aba [Tue, 16 Oct 2012 14:06:05 +0000 (18:06 +0400)]
0023312: Suspicious for loop in BiTgte_Blend.cxx

Deleted line 'NbS=0;' to allow next loop be executable

8 years ago0023161: Select publicly accessible data files for OCCT tests V6_5_4
abv [Sat, 10 Nov 2012 13:03:30 +0000 (17:03 +0400)]
0023161: Select publicly accessible data files for OCCT tests

Duplicated data files are removed.
New command testfile added for automation of analysis of the new data files before adding to the data base.

8 years ago0023500: MFC texture example is crashed when view closed
ibs [Tue, 13 Nov 2012 09:40:43 +0000 (13:40 +0400)]
0023500: MFC texture example is crashed when view closed

x64 sample build directory has been changed to win64

8 years agoUpdate version for OCCT 6.5.4 official release
bugmaster [Tue, 13 Nov 2012 06:31:17 +0000 (10:31 +0400)]
Update version for OCCT 6.5.4 official release

8 years ago0023489: Memory leak in TNaming_NamedShape
Roman Lygin [Fri, 9 Nov 2012 12:55:48 +0000 (16:55 +0400)]
0023489: Memory leak in TNaming_NamedShape

Added test for memory leak (bugs/ocaf/bug23489)
Missing return added in QANewBRepNaming_BooleanOperationFeat::IsWRCase2()
Adding test case and general procedure for trend checking for detection of memory leaks

8 years ago0023372: "diffimage" using in tests commands
abv [Fri, 9 Nov 2012 12:41:36 +0000 (16:41 +0400)]
0023372: "diffimage" using in tests commands

Comparison of images is implemented in testdiff command; output in HTML form generated
Add measurement of memory (working set) delta in test case execution
Add memory statistics to output of testdiff command
Treatment of parameter -outdir of command testgrid corrected.
Function locate_data_file and code to run tests in parallel revised to be usable with Tcl 8.4.
Added function testsummarize: regenerate summary log of tests from test case logs
Command testdiff is protected against exception raised by diffimage if images have different formats

8 years ago0023193: Some triangles are inverted when writing an STL file
apn [Wed, 7 Nov 2012 10:12:03 +0000 (14:12 +0400)]
0023193: Some triangles are inverted when writing an STL file

Adding test case

8 years ago0004894: Problems with shading in vdisplay
apn [Wed, 7 Nov 2012 09:58:13 +0000 (13:58 +0400)]
0004894: Problems with shading in vdisplay

Adding test case

8 years ago0023289: IntCurve_IntPolyPolyGen.gxx, suspicious else
aba [Fri, 9 Nov 2012 11:47:10 +0000 (15:47 +0400)]
0023289: IntCurve_IntPolyPolyGen.gxx, suspicious else

if-else blocks in lines 805 and 822 were removed.
Corrected initialization of 'nbsamples' variable

8 years ago0023468: Include current branch name into default name of directory for test results
abv [Fri, 9 Nov 2012 11:41:29 +0000 (15:41 +0400)]
0023468: Include current branch name into default name of directory for test results

Default name for results directory is generated as "results_<branch>_<timestamp>".

In the HTML log of test execution references to script files are made HTML links to relevant files

Aded possibility to put data file for use by test script into subdirectory data of the script folder (function locate_data_file is extended to find such files).

Test demo/testsystem/A1 renamed to locate_data_file and corrected to account for the recent changes.

Default value of CSF_TestDataPath is defined pointing to $CASROOT/data

File psrse.rules corrected in accordance with changed message on missing data file

Interface of command testgrid changed:
- output directory (formerly required argument) is now defined by optional parameter -outdir
- by default tests are run in parallel mode with number of processes equal to number of system CPUs
- check for input arguments is made more strict
Treatment of parameter -outdir of command testgrid corrected.
Function locate_data_file and code to run tests in parallel revised to be usable with Tcl 8.4.
Adjusting testing case demo draw getsource for current state of master

8 years ago0023500: MFC samples are crached on 3D visualisation
ibs [Fri, 9 Nov 2012 08:11:20 +0000 (12:11 +0400)]
0023500: MFC samples are crached on 3D visualisation

void FreeTexture() in OpenGl_TextureBox.cxx - avoid possible NULL-pointer dereference

after debug x64 compilation the executable viewer3d had been moved to the bin folder. now executable viewer3d located in bind folder.

8 years ago0023139: BRepFilletAPI_MakeFillet algorithm builds edges with wrong first and last...
vsr [Thu, 8 Nov 2012 12:45:25 +0000 (15:45 +0300)]
0023139: BRepFilletAPI_MakeFillet algorithm builds edges with wrong first and last parameters: out of pcurve

- Revert previous integration

8 years ago0023275: restore command set name of result variable incorrectly if absolute path...
abv [Thu, 1 Nov 2012 12:14:06 +0000 (16:14 +0400)]
0023275: restore command set name of result variable incorrectly if absolute path is used

Command restore corrected to set default name of the shape equal to filename without extension
Test case added (demo draw restore)

8 years ago0022779: Pixel format should be chosen to support stencil buffer
aba [Fri, 2 Nov 2012 12:05:16 +0000 (16:05 +0400)]
0022779: Pixel format should be chosen to support stencil buffer

Missing code in find_pixel_format() function was restored.
Coding rules applied
Added changes in GLX part

8 years ago0023383: Bugs in CDL documentation of visualization classes
aba [Fri, 2 Nov 2012 12:02:19 +0000 (16:02 +0400)]
0023383: Bugs in CDL documentation of visualization classes

Added lines in CDL documentation for SetDisplayPriority and SetViewingVolume.

8 years ago0023488: Make video recording functionality (OpenGl_AVIWriter) optional
kgv [Fri, 2 Nov 2012 11:56:36 +0000 (15:56 +0400)]
0023488: Make video recording functionality (OpenGl_AVIWriter) optional

CSF_AviLibs missing in EXTERNLIB of TKOpenGl toolkit. This cause incorrect project generation.
HAVE_VIDEOCAPTURE now should be defined to enable video recording capabilities on Windows.

8 years ago0023116: Add Standard_EXPORT declaration to method Poly_MakeLoops::GetHangingLinks
ilv [Thu, 25 Oct 2012 10:08:25 +0000 (14:08 +0400)]
0023116: Add Standard_EXPORT declaration to method Poly_MakeLoops::GetHangingLinks

8 years ago0022754: Add forgotten include to BRepBlend_BlendTool.lxx
ilv [Thu, 25 Oct 2012 10:01:41 +0000 (14:01 +0400)]
0022754: Add forgotten include to BRepBlend_BlendTool.lxx

8 years ago0023147: Suspicious if (5)
omy [Fri, 2 Nov 2012 11:18:21 +0000 (15:18 +0400)]
0023147: Suspicious if (5)

Removed non-executed parts of code because

   Standard_Boolean s1Point = Standard_False;
   Standard_Boolean s2Point = Standard_False;
   Standard_Boolean vClosed = Standard_False;

and never changed thus some parts of code are non-reachable.
Fixed mistake with 'else' without corresponding 'if'.
Commented unreachable code part.

8 years ago0023140: Suspicious if
aba [Wed, 17 Oct 2012 06:38:08 +0000 (10:38 +0400)]
0023140: Suspicious if

Condition that is always true was replaced on assigning a variable 'Tol' to Precision::Confusion.