0028478: Scope Names Are Swallowed in Message_ProgressSentry Constructors
authorabv <abv@opencascade.com>
Fri, 18 Aug 2017 12:05:34 +0000 (15:05 +0300)
committerbugmaster <bugmaster@opencascade.com>
Wed, 30 Aug 2017 10:52:33 +0000 (13:52 +0300)
commit6b55f8e398e36a909d406060858c6508b5fc1a44
tree3905965964450a214d1c4cd49c4a8146a16e0fcf
parent7d3225b51abd63b092d151fc13ad04b169490a74
0028478: Scope Names Are Swallowed in Message_ProgressSentry Constructors

Tests are added to control output and performance of progress indicator (bugs fclasses bug28478 and perf fclasses progress, respectively).

Implementation of class Draw_ProgressIndicator is improved to update indicator basing on achieved total progress (1% by default) instead of elapsed time since last update.

Method OSD_Chronometer::Restart() is fixed to actually reset the counter.

DRAW command readstl is improved to show progress indicator if configured (by command XProgress).

Description of class Message_ProgressIndicator is updated; code example is added in description of Message_ProgressSentry.
src/Draw/Draw_ProgressIndicator.cxx
src/Draw/Draw_ProgressIndicator.hxx
src/Message/Message_ProgressIndicator.hxx
src/Message/Message_ProgressSentry.hxx
src/OSD/OSD_Chronometer.cxx
src/QABugs/QABugs_11.cxx
src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx
tests/bugs/fclasses/bug28478 [new file with mode: 0644]
tests/perf/fclasses/progress [new file with mode: 0644]