[Issue 12273] 'dmd -color' flag to colorize error/warning messages
https://issues.dlang.org/show_bug.cgi?id=12273 Walter Brightchanged: What|Removed |Added See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=17396 --
[Issue 12273] 'dmd -color' flag to colorize error/warning messages
https://issues.dlang.org/show_bug.cgi?id=12273 --- Comment #9 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/1bc0af1d9a8f963350ed8fb68ef9057f70cf89af Issue 12273 - Added -color[=on|off] flag Defaults to colored output if stderr is a TTY and TERM is not dumb. --
[Issue 12273] 'dmd -color' flag to colorize error/warning messages
https://issues.dlang.org/show_bug.cgi?id=12273 --- Comment #10 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dlang.org https://github.com/D-Programming-Language/dlang.org/commit/0a42dc82b1b23fee8e217924ae8f46209fbc87b7 Issue 12273 - Added documentation for -color[=on|off] flag --
[Issue 12273] 'dmd -color' flag to colorize error/warning messages
https://issues.dlang.org/show_bug.cgi?id=12273 Lionello Lunesu lio+bugzi...@lunesu.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #11 from Lionello Lunesu lio+bugzi...@lunesu.com --- Merged, https://github.com/D-Programming-Language/dmd/commit/42728388c3df73fae7d18623cda39c34561a74c1 https://github.com/D-Programming-Language/dlang.org/commit/476a6b7c2056f957545839c2ca0a394ee13b61f9 --
[Issue 12273] 'dmd -color' flag to colorize error/warning messages
https://issues.dlang.org/show_bug.cgi?id=12273 Lionello Lunesu lio+bugzi...@lunesu.com changed: What|Removed |Added Keywords||pull CC||lio+bugzi...@lunesu.com --- Comment #6 from Lionello Lunesu lio+bugzi...@lunesu.com --- https://github.com/D-Programming-Language/dmd/pull/3705 --
[Issue 12273] 'dmd -color' flag to colorize error/warning messages
https://issues.dlang.org/show_bug.cgi?id=12273 --- Comment #7 from Lionello Lunesu lio+bugzi...@lunesu.com --- The PR for dlang.org: https://github.com/D-Programming-Language/dlang.org/pull/605 --
[Issue 12273] 'dmd -color' flag to colorize error/warning messages
https://issues.dlang.org/show_bug.cgi?id=12273 --- Comment #8 from Lionello Lunesu lio+bugzi...@lunesu.com --- As long as it's a flag, the TTY detection is not so important. If someone can figure out that part, we could make it the default and do away with the flag. --
[Issue 12273] 'dmd -color' flag to colorize error/warning messages
https://d.puremagic.com/issues/show_bug.cgi?id=12273 Nick Sabalausky cbkbbej...@mailinator.com changed: What|Removed |Added CC||cbkbbej...@mailinator.com --- Comment #5 from Nick Sabalausky cbkbbej...@mailinator.com 2014-02-28 14:32:45 PST --- Instead of a flag, wouldn't it be better to just do what the unixy tools do and automatically colorize if-and-only-if it detects it's outputting to an interactive shell? (Not sure whether that's doable on Windows though.) -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12273] 'dmd -color' flag to colorize error/warning messages
https://d.puremagic.com/issues/show_bug.cgi?id=12273 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC||thecybersha...@gmail.com --- Comment #1 from Vladimir Panteleev thecybersha...@gmail.com 2014-02-27 22:28:50 EET --- I've done this for myself as a filter program: http://blog.thecybershadow.net/2013/07/27/colorize-your-compilers-output/ -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12273] 'dmd -color' flag to colorize error/warning messages
https://d.puremagic.com/issues/show_bug.cgi?id=12273 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2014-02-27 12:37:25 PST --- Seems like something that should or could be done in RDMD, especially since I've seen a few colorizing console libraries implemented in D. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12273] 'dmd -color' flag to colorize error/warning messages
https://d.puremagic.com/issues/show_bug.cgi?id=12273 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #3 from Walter Bright bugzi...@digitalmars.com 2014-02-27 13:03:22 PST --- It's a good idea. Note to implementer: You'd have to check to see if the output stream is a file or a tty, and not do the colorizing for the file. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 12273] 'dmd -color' flag to colorize error/warning messages
https://d.puremagic.com/issues/show_bug.cgi?id=12273 Timothee Cour timothee.co...@gmail.com changed: What|Removed |Added CC||timothee.co...@gmail.com --- Comment #4 from Timothee Cour timothee.co...@gmail.com 2014-02-27 13:06:33 PST --- Using a postprocessor seems fragile/ambiguous. Come to think of it probably the most flexible solution would be to have a flag to output with markup (json for example), that can later be used by tools to print as html/terminal color codes/etc. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---