summaryrefslogtreecommitdiff
path: root/src/console.h
Commit message (Collapse)AuthorAgeFilesLines
* Suppress console output for none-standalone modeTatsuhiro Tsujikawa2013-05-021-10/+6
|
* New help messages. Added suggestion for unknown/ambiguous options.Tatsuhiro Tsujikawa2011-12-031-9/+6
| | | | | | | The help messages shown when argument error were redesigned and less verbose now. When unknown or ambiguous option is given, show suggestions like "Did you mean...". Some constant values related to levenstein distance are borrowed from git help.c.
* global cout and cerr is now retrieved using global::cout() and global::cerr()Tatsuhiro Tsujikawa2011-08-101-6/+4
| | | | | This is necessary to avoid global variable initialization order problem.
* Added global::cerr. windows.h now included from common.hTatsuhiro Tsujikawa2011-08-101-0/+6
| | | | | | | We replaced most of std::cerr with global::cerr. windows.h is now included from common.h. Before including it, we define WINVER. We renamed some variable name because some macros in windows.h collide with them.
* Use global::cout to output string to stdout.Tatsuhiro Tsujikawa2011-08-091-0/+62
In MinGW32 build, global::cout is WinConsoleFile. When outputing to console, it uses WriteConsoleW, so Unicode characters are written. Fixed memory leak in WChar<->MultiByte conversion functions. The portion of code which uses std::cout is rewritten to use global::cout.