Make myLastFoundChild field of TDF_LabelNode that can be changed during accessing to different sub-labels in different threads as atomic (only for newer versions of compilers which support this "atomic").
Added definition of Standard_ATOMIC macro to the Standard_Macro.hxx
(cherry picked from commit b84b672185)
(cherry picked from commit 938ceb32b369c81c87716054fce5426b00354a44)
(cherry picked from commit e9ad8d4d65005119a461cbd5bfa9292efa773a06)
SelectMgr_SensitiveEntitySet now stores a map of registered owners with a counter of registered entities.
SelectMgr_ViewerSelector::traverseObject() now reads the number of sensitive entities for specific owner
from SelectMgr_SensitiveEntitySet instead of re-computing it every time.
(cherry picked from commit 266877a7c3)
(cherry picked from commit 86d48bca1ae8a63ecf096845464bfd332d20d47c)
(cherry picked from commit 21351d74ac5a7c61a89c0cfe701f1d4ce1a8219f)
- add OCCT_DUMP_FIELD_VALUE_NUMERICAL_INC and OCCT_DUMP_FIELD_VALUES_DUMPED_INC - to increment key Value;
- add OCCT_DUMP_STREAM_VALUE_DUMPED - to give stream as a parameter of the DumpJson;
- correct Message_Report, Message_CompositeAlerts to increment keys;
- correct Message_AttributeMeter to have in result start and stop values united in value block: [start stop]. It's better for parsing;
- correct result of Message::MetricToString output for updated in 29451 Message_MetricType enum;
- correct Standard_Dump::AddValuesSeparator to avoid adding ',' in additional case;
- correct Standard_Dump::FormatJson to add opening/closing brace for the whole result (for valid parsing);
- correct Standard_Dump::FormatJson to ignore '\n' in value.
(cherry picked from commit 04114fd201)
(cherry picked from commit f072da554cb00e8554add714fecd037625ab305d)
(cherry picked from commit 099b980f17d0f2a735907b060d2beef38fabb207)
(cherry picked from commit 983aaaeb03)
(cherry picked from commit b9a984420b42f4d691bdfa951900b94d2212dd6c)
(cherry picked from commit d9f93fe26d2f3b88203cb8deb594543008586c12)
- do not dump document in CDM_MetaData, just pointer text;
- move ID dump in to TDF_Attribute;
- extend TDF_Attribute with other important states(obtained by methods);
- extend TDocStd_Document with other important states;
- avoid dumping of shapes in TNaming_UsedShapes (it takes much time);
- extend XCAFDoc, XCAFDimTolObjects dump to json;
- correct XCAFDoc_ColorTool, XCAFDoc_MaterialTool, XCAFDoc_LayerTool to dump only connected to the object information;
- correct XCAFDoc_Material to dump name and density value only if it exists;
- add check on correct direction in gp_Ax3.
(cherry picked from commit 39b707a6d2)
(cherry picked from commit 66f76672789556a406bc90d1e55f03a34c898c92)
(cherry picked from commit d6809290b27f442f19f5968d060d96c342522f64)
Added Message_MetricType_WallClock metric type handled by Message_AttributeMeter.
Added public OSD_Timer::GetWallClockTime() method.
(cherry picked from commit 9283bba22f)
(cherry picked from commit 1fa22f7f300aa07427d4dca79b819d6e1ee64d1a)
(cherry picked from commit 5ca5b071eaccdcc13746409c72f948e73f6732e6)
(cherry picked from commit 38b336df80)
(cherry picked from commit d71f8376058c5cb73809d849b8d41a58bd4ba51f)
(cherry picked from commit b07c8a76b9887f5736eed04ee9bf74e7235e8e91)
AIS_SelectionScheme enumeration is defined to set which selection behaviour is used in Select of context
AIS_InteractiveContext is corrected to use single Select method instead of combination of Select/ShiftSelect methods with a selection scheme parameter.
Upgrade: Select() -> SelectDetected/Rectangle/Polygon(AIS_SelectionScheme_Replace), ShiftSelect -> SelectDetected/Rectangle/Polygon(AIS_SelectionScheme_XOR)
(cherry picked from commit 75cf82505b)
(cherry picked from commit c372bb79e9aee8d740d35cc9a2ffa6fde23693a0)
(cherry picked from commit 31d98879e11c7e83ba44eb96c7dc78a3c1a50cd9)
AIS_InteractiveContext::highlightGlobal() now passed through Style argument to highlightOwners().
Added OCC31965 command for testing AIS_InteractiveContext::Hilight() behavior.
(cherry picked from commit 4268c64672)
(cherry picked from commit a4c6316eeaa5d7f49f5cd1fe15b60c0a6ec124d2)
(cherry picked from commit bf15ddfd56c2f613c5260a66408ab37d31dc2e9e)
(cherry picked from commit 1855383438db33933106aa5848ac00569731a407)
(cherry picked from commit 90187b9476)
(cherry picked from commit 83e7b17fe1c27b231ee45ce30e0cdc2b1b62fa2f)
(cherry picked from commit 61d75276ea924e0fd22de0a2a927bce1d554de99)
(cherry picked from commit fa3bd5f2e5)
(cherry picked from commit 2ab0ba846ac3ac073552997d030d51392dc82314)
(cherry picked from commit df3644aa35)
(cherry picked from commit 33ffefa2f7)
(cherry picked from commit 59433e7b4e49362dc1741dc00178ccec64c6cc5d)
(cherry picked from commit 775ee81f2e)
(cherry picked from commit b5f27165f323bd11ca0e2aec21e40e776d82780f)
(cherry picked from commit d8c0506f55)
after cherry pick, it was ported on 7.5.0 and improved
(cherry picked from commit 23f0657aa572b8f775e9035c95491822d01e04da)
- Implemented
- Swap child/father in RemoveFromGroup method of NotesTool.
(cherry picked from commit 7c0ec2e214)
(cherry picked from commit cfb3c08a2c40ab36dfa70ce8d333039e9b2859f8)
(cherry picked from commit 6131065fae)
(cherry picked from commit 713624228050b8f7db4d8b2e22c7edfd8c832471)
(cherry picked from commit b7fb7db6ae)
(cherry picked from commit 68be9e7b9c)
(cherry picked from commit 6bc54a6b6fc335b802959d612f0ed4edbb5d5c33)
(cherry picked from commit ca5e485962)
(cherry picked from commit fcc93b4f342c14aed2ee39a4cfe14bbcb6e54ad4)
(XCAFDoc/View fixes to store in the view: image, parts transparency, notes, notes positions)
(cherry picked from commit ea712b6b04)
(cherry picked from commit 52dc476c5feea48abab3fe997956348433f29a10)
Extrema_GenExtCS.cxx : added solution refinement, if solution seems to be "bad" according to special criteria.
Extrema_FuncExtCS.cxx : "cosmetic" modifications
BOPAlgo_PaveFiller_3.cxx : adding control of shape index to prevent exception in ShapeInfo
bugs/moddata_3/bug32058 : new test
Multiple changes in BRepOffset_MakeOffset algorithm:
- correct fusing vertices;
- correct building intersection edges;
- correct intersecting new edges in 2D;
- correct building wire on a new face;
- correct building history.
Construction of TCollection_ExtendedString from plain C string is fixed to consider input string as UTF-8 in several places (identified as described in notes to #31113).
Message_MsgFile is corrected to load resource file as UTF-8 (unless it has BOM indicating use of UTF-16).
Added tests for use of Unicode in some DRAW commands (bugs demo bug14673_*)
- Add support of the control directives ( "\X2\" "\X4" "\X\" "\P*\" "\S\");
- Make param "read.stepcaf.codepage" base for conversion inside StepData instead of CAF;
- Rename "read.stepcaf.codepage" to "read.step.codepage".
- Add ISO 8859-1 - 9 code pages for conversion
- Add Resource_FormatType_NoConversion format type, that indicates non-conversion behavior
- Update old test cases that contain control directives
IntTools/IntTools_BeanFaceIntersector.cxx - decreasing parameter aDeltaRestrictor in method ComputeRangeFromStartPoint(...) to avoid "jumping" across the common part boundary.
IntTools/IntTools_EdgeFace.cxx - method IsCoincident() - improving criteria of coincidence between edge and face.
Enumeration values have been renamed to use complete prefix Graphic3d_NOM_ -> Graphic3d_NameOfMaterial_
and to match string names (with old values preserved as aliases).
* Menu storage changed from json to XML (because Qt 4 does not support json)
* C++11 for(object : container) construction changed to OCCT iterators / Qt foreach
* enum type::name changed to type_name
* non used class members removed
* Qt connect functions changed to macros version
* warning 4127 disabled for Q_INIT_RESOURCE in VS2010 / Qt 4 case
* widgets parent problem on Qt 4 fixed
* QRegularExpression changed to QRegExp
Added progress indication to commands ReadStep, WriteStep, ReadIges, WriteIges, XOpen, XSave.
Draw_ProgressIndicator::Reset() now backups Tcl result string before evaluating command,
so that Draw_ProgressIndicator destructor will not eat error/result message in main command.