MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0031036Open CASCADE[OCCT] OCCT:Foundation Classespublic2019-10-05 21:532019-10-11 03:43
Reporterkgv 
Assigned Tobugmaster 
PrioritynormalSeverityfeature 
StatusreviewedResolutionopen 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.5.0*Fixed in Version 
Summary0031036: Foundation Classes, Message_PrinterOStream - add option printing colored text into console
DescriptionColored output would make messages with different gravity more distinguishable.
Therefore, it is proposed adding appropriate option to Message_PrinterOStream.
Steps To ReproduceN/A
TagsNo tags attached.
Test case number
Attached Filespng file icon draw_colored.png (18,511 bytes) 2019-10-05 21:53
png file icon console_colors_linux.png (56,870 bytes) 2019-10-05 22:30

- Relationships
related to 0030697assignedmzernova Draw Harness - Draw_Printer should not be set to Message::DefaultMessenger() by default 

-  Notes
(0087865)
git (administrator)
2019-10-05 22:03

Branch CR31036 has been created by kgv.

SHA-1: e635593a60a4f45d88003bb4a4769eec34f2e365


Detailed log of new commits:

Author: kgv
Date: Sat Oct 5 22:01:09 2019 +0300

    0031036: Foundation Classes, Message_PrinterOStream - add option printing colored text into console
    
    New property Message_PrinterOStream::ToColorize() can be set to colorize text output into console.
    The new option is disabled by default.
(0087866)
abv (manager)
2019-10-05 22:17

Cool!
(0087869)
git (administrator)
2019-10-05 22:31

Branch CR31036 has been updated forcibly by kgv.

SHA-1: 49fdcbf839111cc8e1b72e96bbaa75fa711dd01a
(0087871)
kgv (developer)
2019-10-05 22:35

Patch is ready for review.

Note that without 0030697 this is useless for Draw Harness.

It might be also considered enabled by default
(but disabled within "testgrid" to avoid special codes in test logs redirected from std::cout).
(0087934)
abv (manager)
2019-10-08 07:53

In Message_PrinterOStream, please make names of getter and setter methods coherent: either ToColorize() and SetToColorize(), or Colorize() and SetColorize()
(0087938)
git (administrator)
2019-10-08 10:37

Branch CR31036 has been updated forcibly by kgv.

SHA-1: eb2e8d2693ae6887763112b4289dcc831737e5a5
(0087939)
kgv (developer)
2019-10-08 10:37

Renamed.
(0088030)
abv (manager)
2019-10-11 03:43

Reviewed, please integrate

- Issue History
Date Modified Username Field Change
2019-10-05 21:53 kgv New Issue
2019-10-05 21:53 kgv Assigned To => abv
2019-10-05 21:53 kgv File Added: draw_colored.png
2019-10-05 22:03 git Note Added: 0087865
2019-10-05 22:16 kgv Relationship added related to 0030697
2019-10-05 22:17 abv Note Added: 0087866
2019-10-05 22:30 kgv File Added: console_colors_linux.png
2019-10-05 22:31 git Note Added: 0087869
2019-10-05 22:35 kgv Note Added: 0087871
2019-10-05 22:35 kgv Status new => resolved
2019-10-08 07:53 abv Note Added: 0087934
2019-10-08 07:53 abv Assigned To abv => kgv
2019-10-08 07:53 abv Status resolved => assigned
2019-10-08 10:37 git Note Added: 0087938
2019-10-08 10:37 kgv Note Added: 0087939
2019-10-08 10:37 kgv Assigned To kgv => abv
2019-10-08 10:37 kgv Status assigned => resolved
2019-10-11 03:43 abv Note Added: 0088030
2019-10-11 03:43 abv Assigned To abv => bugmaster
2019-10-11 03:43 abv Status resolved => reviewed


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker