summaryrefslogtreecommitdiff
path: root/src/WinConsoleFile.h
Commit message (Collapse)AuthorAgeFilesLines
* Do not use a virtual varargs functionNils Maier2013-03-021-1/+1
| | | | This stuff breaks in some compiler (configurations)
* Console color outputTatsuhiro Tsujikawa2012-12-081-0/+1
| | | | Log level and download result string is now colored.
* Added global::cerr. windows.h now included from common.hTatsuhiro Tsujikawa2011-08-101-1/+2
| | | | | | | 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/+58
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.