]> OCCT Git - occt-copy.git/log
occt-copy.git
12 years agoBuild fix 3 in CDL files. CR23610_4
abk [Tue, 5 Mar 2013 16:37:21 +0000 (20:37 +0400)]
Build fix 3 in CDL files.

12 years agoBuild fix 2 in CDL files.
abk [Tue, 5 Mar 2013 13:26:49 +0000 (17:26 +0400)]
Build fix 2 in CDL files.

12 years agoBuild fix in CDL files.
abk [Tue, 5 Mar 2013 11:55:49 +0000 (15:55 +0400)]
Build fix in CDL files.

12 years agoTolerance post Build (Perform) fix was changed for:
abk [Thu, 28 Feb 2013 08:04:18 +0000 (12:04 +0400)]
Tolerance post Build (Perform) fix was changed for:
- BRepBuilderAPI_Sewing,
- BRepFeat_MakePrism,
- BRepFilletAPI_MakeChamfer,
- BRepFilletAPI_MakeFillet,
- BRepOffsetAPI_MakePipe,
- BRepOffsetAPI_MakePipeShell
so that input shapes remain unchanged by the fix.

Tolerance post Build (Perform) fix was slightly changed for:
- BRepOffsetAPI_NormalProjection,
- ShapeFix_Shape,
- ShapeUpgrade_ShapeDivide.

Correction of tolerances in input shapes was made for tests:
- blend buildevol F9,
-       complex B6,
-               B8,
-               D5,
-               E2,
-               E4,
-               E6,
-               E9,
- sewing tol_0_01 G3,
-                 G4.

12 years agoClass BRepLib_ToleranceRule was created to work with shape tolerances by
abk [Wed, 27 Feb 2013 14:26:08 +0000 (18:26 +0400)]
Class BRepLib_ToleranceRule was created to work with shape tolerances by
tolerance rule.

Some code from BRepLib was moved to BRepLib_ToleranceRule.

12 years agoError message was changed in tests:
abk [Fri, 15 Feb 2013 09:37:04 +0000 (13:37 +0400)]
Error message was changed in tests:
- blend complex F6,
-               F8,
- bugs fclasses bug309,

Error message was changed in test data files:
- chamfer data complex B5,
-                      B7,
- heal data advanced ZD3,
-           standard R5.

12 years agoInput shapes were corrected by 'updatetolerance' in tests:
abk [Fri, 15 Feb 2013 09:29:31 +0000 (13:29 +0400)]
Input shapes were corrected by 'updatetolerance' in tests:
- bugs modalg bug697_3,
-             bug697_4,
-             bug697_7,
-             bug697_8,
-             bug697_11,
-             bug1255,
-             bug1255_1,
-             bug5729,
-             bug6181,
-             bug6182,
-             bug6272_85,
-             bug6272_86,
-             bug10842_5.

12 years agoDraw command 'EnsureTolRule' was replaced by command 'updatetolerance' in
abk [Thu, 14 Feb 2013 17:33:15 +0000 (21:33 +0400)]
Draw command 'EnsureTolRule' was replaced by command 'updatetolerance' in
tests.

Draw command 'EnsureTolRule' was removed.

12 years agoBRepBuilderAPI_MakeShape::EnsureToleranceRule was replaced by
abk [Wed, 13 Feb 2013 15:02:19 +0000 (19:02 +0400)]
BRepBuilderAPI_MakeShape::EnsureToleranceRule was replaced by
BRepLib::UpdateTolerances.

BRepBuilderAPI_MakeShape::EnsureToleranceRule was removed.

12 years agoError messages was changed in test case data file chamfer/data/complex/B9. Error...
abk [Fri, 11 Jan 2013 07:49:42 +0000 (11:49 +0400)]
Error messages was changed in test case data file chamfer/data/complex/B9. Error message was changed in test cases: - thrusection/solids/A2, - A3, - A4, - A5, - A6, - A7, - A8, - A9.

12 years agoError message was changed in test case data files: - heal/data/advanced/H5, - S7...
abk [Thu, 10 Jan 2013 13:30:26 +0000 (17:30 +0400)]
Error message was changed in test case data files: - heal/data/advanced/H5, - S7, - ZC3, - ZE6, - ZE8, - ZE9. Result shape in the tests is invalid.

12 years agoError message was changed in test case heal/drop_small|_edges/A4. Result shape in...
abk [Thu, 10 Jan 2013 13:06:10 +0000 (17:06 +0400)]
Error message was changed in test case heal/drop_small|_edges/A4. Result shape in the test is invalid.

12 years agoDraw function nexplode was replaced by explode in test case
abk [Thu, 10 Jan 2013 09:23:21 +0000 (13:23 +0400)]
Draw function nexplode was replaced by explode in test case
blend/complex/D4.
Calculation of gravity center was removed for degenerated edge.
It is revealed that function nexplode does not work on shapes with
degenerated edges.

Comments.
Calculation of gravity center was made by vertices data in case of
degenerated edge without representations especially for test case
blend/complex/D4. The mass of the edge was set to 1. The mass near 0 does
not satisfy the test case. As a result test case bugs/moddata/bug268
became failed. Because only the mass near 0 satisfies last test case.

12 years agoError message was changed in test case heal/drop_small_edges/A4.
abk [Wed, 9 Jan 2013 16:07:15 +0000 (20:07 +0400)]
Error message was changed in test case heal/drop_small_edges/A4.

12 years agoTest case bugs/modalg/buc60462_2 was changed: - tolerances were corrected on input...
abk [Wed, 9 Jan 2013 12:35:15 +0000 (16:35 +0400)]
Test case bugs/modalg/buc60462_2 was changed: - tolerances were corrected on input shapes by the tolerance rule; - set of error messages was changed.

12 years agoCorrection of tolerances in result shape was made for group boolean and
abk [Fri, 28 Dec 2012 16:28:09 +0000 (20:28 +0400)]
Correction of tolerances in result shape was made for group boolean and
grids:
- heal drop_small_edges,
       fix_face_size,
       fix_gaps,
       split_angle_advanced,
       surface_to_bspline.

Correction of tolerances in input shapes was made for tests:
- bugs heal bug329,
- bugs modalg buc60462_1,
              buc60463,
              bug292,
              bug317,
              bug330,
              bug452_2,
              bug452_3,
              bug625,
              bug697_1,
              bug698,
              bug774_1,
              bug776_1,
              bug776_2,
              bug80,
              bug919,
- bugs moddata buc60652_2,
               buc60652_3,
               buc60707,
               bug368,
               bug75_2,
               fra62476_2,
               ger61235,
               pro20333,
- bugs step buc60948,
- bugs step bug630,
- bugs vis buc60661,
- bugs vis bug288_1,
- bugs vis bug288_4,
- bugs xde bug859,
- bugs xde bug861,
- feat featlf B8,
       featprism L2,
                 L8,
                 M1,
                 O6,
                 O9,
                 R1,
                 S1,
                 S2,
- sewing tol_0_01 T1.

12 years agoMethod BRepGProp::LinearProperties was changed to avoid degenerated edges.
abk [Fri, 28 Dec 2012 15:53:42 +0000 (19:53 +0400)]
Method BRepGProp::LinearProperties was changed to avoid degenerated edges.

12 years agoMethod BRepBuilderAPI_MakeShape::EnsureToleranceRule was made slightly
abk [Fri, 28 Dec 2012 15:52:02 +0000 (19:52 +0400)]
Method BRepBuilderAPI_MakeShape::EnsureToleranceRule was made slightly
simpler.

Tolerance post Build (Perform) fix was made for:
- BRepAlgoAPI_BooleanOperation,
- BRepFeat_MakePrism,
- BRepOffsetAPI_MakePipeShell.

Draw command getsourcefile now returns result for:
- buildsweep,
- simulsweep,
- geompipe.

Conflicts:
src/BRepAlgoAPI/BRepAlgoAPI_BooleanOperation.cxx

12 years agoApplication of EnsureToleranceRule to ShapeFix_Shape was fixed.
abk [Wed, 26 Dec 2012 16:21:16 +0000 (20:21 +0400)]
Application of EnsureToleranceRule to ShapeFix_Shape was fixed.

12 years agoStatic public method EnsureToleranceRule(const TopoDS_Shape & theS) was
abk [Tue, 25 Dec 2012 09:15:00 +0000 (13:15 +0400)]
Static public method EnsureToleranceRule(const TopoDS_Shape & theS) was
created in class BRepBuilderAPI_MakeShape to fix all tolerances of the
shape and it's subshapes by the tolerance rule:
vertex tolerance >= edge tolerance >= face tolerance.
Edge or vertex tolerance which does not satisfy the tolerance rule will be
increased.
Draw command EnsureTolRule was created to test new functional.
Tolerance post Build (Perform) fix was made for:
- BRepBuilderAPI_Sewing,
- BRepFilletAPI_MakeChamfer,
- BRepFilletAPI_MakeFillet,
- BRepOffsetAPI_MakePipe,
- BRepOffsetAPI_NormalProjection,
- ShapeFix_Shape,
- ShapeUpgrade_ShapeDivide.

12 years ago0023610: checkshape command does not detect mismatch of the tolerance values among...
abv [Tue, 11 Dec 2012 11:51:40 +0000 (15:51 +0400)]
0023610: checkshape command does not detect mismatch of the tolerance values among the sub-shapes of the shape

In BRepCheck, added check for tolerance of face to be not greater than tolerance of edge, and tolerance of edge not greater than tolerance of its vertices

Conflicts:
src/BRepTest/BRepTest_CheckCommands.cxx

12 years ago0023694: The variable 'pBuff" is being used without being initialized
abv [Wed, 27 Feb 2013 11:25:57 +0000 (15:25 +0400)]
0023694: The variable 'pBuff" is being used without being initialized

pBuff initialized by zero

12 years agoAdjusting testing cases for current state of OCCT
bugmaster [Mon, 25 Feb 2013 14:34:25 +0000 (18:34 +0400)]
Adjusting testing cases for current state of OCCT

12 years agoAdjusting testing cases for current state of OCCT
emv [Fri, 22 Feb 2013 12:22:01 +0000 (16:22 +0400)]
Adjusting testing cases for current state of OCCT

12 years ago0023783: New Boolean Operation algorithm produces incorrect result of SECTION operati...
emv [Thu, 21 Feb 2013 08:25:34 +0000 (12:25 +0400)]
0023783: New Boolean Operation algorithm produces incorrect result of SECTION operation for the attached shapes.
Fix for the bug.
Modifications:
BOPAlgo_BOP::BuildSection():
Building a result of the SECTION operation has been based on the Face/Face intersections.
It prevents the building the result of the SECTION operation between shapes without faces.

12 years ago0023778: New Boolean Operation algorithm does not work with same arguments.
emv [Thu, 21 Feb 2013 09:35:40 +0000 (13:35 +0400)]
0023778: New Boolean Operation algorithm does not work with same arguments.
Fix for the bug.

12 years ago0023779: New Boolean Operation algorithm produces incorrect result of CUT operation...
emv [Thu, 21 Feb 2013 10:29:02 +0000 (14:29 +0400)]
0023779: New Boolean Operation algorithm produces incorrect result of CUT operation with the attached shapes.
Fix for the bug.
Modifications:
BOPAlgo_Builder::FillSameDomainFaces():
Added treatment of the case when faces have shared bounds.

12 years agoAdded testing cases from grid CHL
ski [Fri, 22 Feb 2013 10:52:42 +0000 (14:52 +0400)]
Added testing cases from grid CHL
Removing test duplicate

12 years ago0023756: VBO rendering problem (1)
kgv [Wed, 20 Feb 2013 09:58:56 +0000 (13:58 +0400)]
0023756: VBO rendering problem (1)

Fixed asymmetric VBO unbind call in OpenGl_Text::drawText().

12 years ago0023727: Variable 'A' set but not used in Graphic3d_ArrayOfPrimitives::VertexColor
kgv [Sat, 26 Jan 2013 19:35:13 +0000 (23:35 +0400)]
0023727: Variable 'A' set but not used in Graphic3d_ArrayOfPrimitives::VertexColor

12 years ago0023735: Linkage error after patch 23663 on non-Windows platforms
dbv [Fri, 22 Feb 2013 10:22:35 +0000 (14:22 +0400)]
0023735: Linkage error after patch 23663 on non-Windows platforms
Linkage error fix
Description fix

12 years ago0023721: Missing usage hints for vselmode command
aba [Fri, 22 Feb 2013 10:16:58 +0000 (14:16 +0400)]
0023721: Missing usage hints for vselmode command

vselmode help string was modified.
Changed error case message.

12 years ago0022610: The algorithm GeomAPI_ProjectPointOnSurf produces wrong results
skv [Fri, 22 Feb 2013 10:13:06 +0000 (14:13 +0400)]
0022610: The algorithm GeomAPI_ProjectPointOnSurf produces wrong results

12 years ago0023739: Execution of Draw Harness command "test" failed
kgv [Sat, 2 Feb 2013 06:32:07 +0000 (10:32 +0400)]
0023739: Execution of Draw Harness command "test" failed

12 years ago0022323: MakeThickSolid raises Construction exception on cylinder.
omy [Fri, 22 Feb 2013 09:56:00 +0000 (13:56 +0400)]
0022323: MakeThickSolid raises Construction exception on cylinder.

Removed BRepTest/BRepTest_ShellCommands.cxx from OCCT.
Added test case for bug 22323. It is placed in bugs/modalg.

12 years ago0023712: Remove dependency on Aspect_GraphicDevice from Aspect_Window
dbv [Mon, 18 Feb 2013 07:59:36 +0000 (11:59 +0400)]
0023712: Remove dependency on Aspect_GraphicDevice from Aspect_Window

12 years agoCorrection of unstable testing cases
dbv [Sat, 16 Feb 2013 09:55:09 +0000 (13:55 +0400)]
Correction of unstable testing cases

12 years ago0023752: Integration of test grid "vpr" into the new testing system
ski [Tue, 12 Feb 2013 11:24:16 +0000 (15:24 +0400)]
0023752: Integration of test grid "vpr" into the new testing system

12 years ago0023703: Projection algorithm produces incomplete 2D-Curve
nbv [Fri, 15 Feb 2013 13:04:16 +0000 (17:04 +0400)]
0023703: Projection algorithm produces incomplete 2D-Curve

Change compare algorithm.
Adding test case for this fix

12 years ago0023761: Removing FTGL defines from OpenGl_CMPLRS.edl
ibs [Fri, 15 Feb 2013 09:06:00 +0000 (13:06 +0400)]
0023761: Removing FTGL defines from OpenGl_CMPLRS.edl

12 years ago0023733: PCurve for edge on face creation failure
skv [Fri, 15 Feb 2013 12:55:25 +0000 (16:55 +0400)]
0023733: PCurve for edge on face creation failure
Adding test case for this fix

12 years ago0023743: AIS_Triangulation crashes if Poly_Triangulation has no normals
vro [Fri, 15 Feb 2013 12:52:07 +0000 (16:52 +0400)]
0023743: AIS_Triangulation crashes if Poly_Triangulation has no normals
A crash on absent normals is avoided.
AIS_Triangulation::Compute() is corrected so that it is much faster,
Adding test case for this fix

12 years ago0023749: Tests cases boolean bsection M9 N4 work incorrect with new Boolean Operation...
emv [Fri, 15 Feb 2013 12:49:54 +0000 (16:49 +0400)]
0023749: Tests cases boolean bsection M9 N4 work incorrect with new Boolean Operation Algorithm.
Fix for the cases.
Small correction test cases

12 years ago0023751: Test case bugs modalg bug6334 does not work with new Boolean Operation Algor...
emv [Fri, 15 Feb 2013 12:48:17 +0000 (16:48 +0400)]
0023751: Test case bugs modalg bug6334 does not work with new Boolean Operation Algorithm.
Fix for the bug.
Added simple condition:
If the map myShapes (map of the parts of the tool that should be in result shape) is not filled then boolean operation of the given type will be performed.
Modified test case bugs/modalg_4/bug6334.
Small correction test cases

12 years agoAdjusting testing cases for current state of OCCT
ski [Mon, 11 Feb 2013 13:27:02 +0000 (17:27 +0400)]
Adjusting testing cases for current state of OCCT

12 years ago0023705: Isoline in the AIS viewer is not trimmed
skv [Fri, 8 Feb 2013 13:53:02 +0000 (17:53 +0400)]
0023705: Isoline in the AIS viewer is not trimmed

12 years ago0021762: Integration of new Boolean Operation algorithm to OCCT.
emv [Fri, 8 Feb 2013 13:42:05 +0000 (17:42 +0400)]
0021762: Integration of new Boolean Operation algorithm to OCCT.

Modifications:
- BRepOffset/BRepOffset_Tool.cxx, Features and Fillets algorithms have been ported on new BO algorithm.
- Old BO algorithm, that was implemented in BOP, BooleanOperations and BOPTools packages, has - been deleted.
- Porting SALOME algorithms to new BOP algorithm.
- Fixing regressions. Rebased on current master.
- Corrections in post treatment of section edges;
- Corrections in the accordance with the bug 0023293;
- Small corrections in the bopcheck and bopargcheck commands.
- NCollection maps have been replaced by NCollection indexed maps to guarantee the constant order of sub-shapes in the result of boolean operation.
- Test case feat featprism M9 has been fixed.
- Test cases chl 902 E3 H3 have been fixed (corrections in the treatment of section edges).
- Test cases caf driver B6 B7, caf named_shape F6 F7 have been modified according to the new order of sub-shapes in the result of boolean operation.
- Test cases blend buildevol G1, blend simple K4, bcommon_complex C7, feat featprism L6 have been modified as they are improvements.
- Test case boolean bsection A3 has been modified according to the new syntax of the bsection command.
- Test cases boolean bfuse_complex J1 P9 have been fixed (the function IsInternalFace has been modified to use the function GetFaceOff);
- Test case chl 902 H3 has been fixed (changes in the treatment of section edges);
- Test case boolean bsection D8 has been modified (removed TODO statement);
- Test case boolean bsection A3 has been modified (as the shapes have been changed).
- Added correction of the tolerance values of the shapes according to the bug 0023610.
- test cases:
    boolean bcommon_complex C3,
    boolean bcut_complex F2 O7,
    boolean bfuse_complex C4 C5 E4,
    boolean bsection B6 M8 M9 N4 N5 N7,
    boolean bfuse_simple ZP6,
    draft angle G8,
    feat featprism S2
have been marked as invalid according to the bug 0022033;
- New value of result has been set in the test cases :
    boolean bopsection D4
    boolean bsection R8
as it is correct.
- test case bugs modalg bug23472 has been rewritten according to the new format of bsection command.
- The classes IntTools_Context and IntTools_ShrunkRange have been replaced by BOPInt_Context and BOPInt_ShrunkRange accordingly.
- The new class BRepAlgoAPI_Check has been added according to the bug 0023648.
- Some regressions have been fixed.
- The following test cases have been marked as invalid or rewritten
    bugs modalg buc60462_2, 60531_2, 60776_1, bug472_1, bug472_2, bug472_3, bug497_3, bug62
    bugs moddata bug26_1, bug26_2,
- The test case bugs modalg buc60533 has been rewritten to use the general fuse algorithm for building the result.
- The new value of the result has been set in the test case bugs modalg 60776_2.
- The following test cases have been rewritten according to the new format of the bsection command
    bugs modlag fra62369, pro18892
    bugs moddata bug75_1, bug75_2
- Corrected BRepAlgoAPI_Check.
- Removed package BOPTColStd.
- Rewritten test cases caf named_shape F8 F9.
- Removed unnecessary comments.
- Corrected the following test scripts :
    boolean bcut_complex(012) O3 O4 O5 O6 O8
    boolean bfuse_complex(013) O5 O6 P8
    boolean bopcommon_complex(021) D8 D9
    boolean bopfuse_complex(022) H1 J6
    boolean boptuc_complex(024) D5
    bugs modalg(006) bug399 bug497_1
    feat featprism(003) C4
- Corrections in the treatment of section edges (putting paves on the curves);
- Corrections in BRepOffset_Tool;
- The following test cases have been rewritten according to the new format of the bsection command
   bugs modalg bug6502, bug6554, bug6766_1, bug6766_3
- The new value of the result has been set in the following test cases
   bugs modalg bug1255, bug1255_1
- The following test cases have been marked as invalid or rewritten
   bugs modalg bug472_2, bug472_3, bug825_2
   bugs moddata bug10603, bug152_1, bug152_2, bug3721_1, bug3721_2, bug3721_3
- The following test cases have been rewritten as improvements
   bugs modalg bug693, bug693_1, bug817_1
   bugs moddata bug3721_5, bug3721_6, bug6862_3, bug6862_4, bug6862_6
- Test cases bugs modlag buc60787_1, buc60787_2, buc60788_2, buc60788_3 have been corrected.
- Fixed some SALOME regressions (modifications in the treatment of the section edges);
- Fixed test case bugs modalg bug23100;
- Test cases bugs modalg bug21754, bug22990 have been corrected according to the new format of the bsection command.
- Test cases bugs modalg bug13116_*, bug23711 have been fixed;
- Test cases bugs modalg bug697_2, bug697_4, bug697_7, bug697_8 have been marked as invalid according to the issue 0022033;
- Test cases bugs modalg bug22109_2, bug22109_3 have been corrected;
- Test case bugs modalg bug18186 has been corrected as it is improvement;
- Test case bugs modalg bug22802 has been deleted as there is no package BOPTColStd.

12 years agoAdding of testing cases from subgroups 937 940 and 941 of CHL group
ski [Fri, 8 Feb 2013 11:16:15 +0000 (15:16 +0400)]
Adding of testing cases from subgroups 937 940 and 941 of CHL group
Splitting of subgroups bugs/modalg and bugs/moddata to optimise time of testing
Correction of end file in group v3d
Small correction of test case

12 years ago0023457: Slow text rendering
kgv [Fri, 8 Feb 2013 11:05:16 +0000 (15:05 +0400)]
0023457: Slow text rendering

Added class Font_FTFont wrapper over FreeType face

Unify collections methods NCollection_Array1, NCollection_Sequence, NCollection_Vector:
declare Upper, Lower, First, Last, ChangeFirst, ChangeLast methods for all these collections.

Added method NCollection_DataMap::Find() with check key is bound + retrieve value within single call interface.

OpenGl_Context::ReleaseResource() method now supports lazy release of shared resources.

Added class OpenGl_Font which implements textured fonts support.
Added class OpenGl_TextFormatter for text formatting using OpenGl_Font.

OpenGl_Text was redesigned to use OpenGl_FontFormatter.

OpenGl_FontMgr class was removed.
All methods related to text rendered removed from OpenGl_Display class.

OpenGl_Trihedron and OpenGl_GraduatedTrihedron classes were redesigned
to use OpenGl_Text.

OpenGl_PrinterContext instance was moved to OpenGl_GraphicDriver fields
(eliminated usage of global instance).

Added test cases into 3rdparty/fonts grid to check different font styles
and perform FPS tests (no automated results - requires manual analysis
or snapshots comparisons).

Removed unused CSF_FTGL dependency.
OpenGl_Text::setupMatrix - do not apply floor for myWinZ

12 years ago0023722: stack overflow during reading IGES in Test Harness
ika [Fri, 8 Feb 2013 10:56:38 +0000 (14:56 +0400)]
0023722: stack overflow during reading IGES in Test Harness
Add creation a new vertex before replace.
Adding of test cases for CR23722

12 years ago0023738: Boolean Fuse between two faces fails
pkv [Fri, 8 Feb 2013 10:53:51 +0000 (14:53 +0400)]
0023738: Boolean Fuse between two faces fails

12 years ago0023736: Exeption during reading STEP file in Test Harness
ika [Fri, 8 Feb 2013 10:50:50 +0000 (14:50 +0400)]
0023736: Exeption during reading STEP file in Test Harness
Add checking for null name and null id
Adding of test cases for CR23736

12 years agoAdjusting test cases for current state of OCCT
ski [Mon, 4 Feb 2013 10:37:06 +0000 (14:37 +0400)]
Adjusting test cases for current state of OCCT

12 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

12 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

12 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

12 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

12 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

12 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)

12 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

12 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

12 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

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

12 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

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

12 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

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

12 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

12 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

12 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

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

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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

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

12 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

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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)

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

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

12 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

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

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

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