Connor McLaughlin
642f8041e9
Common/Log: Fix compilation on Android
2021-07-30 17:01:07 +10:00
Connor McLaughlin
77eb8e4b72
Common/Log: Rewrite for better unicode handling
2021-07-29 13:45:38 +10:00
Connor McLaughlin
26a8f8d9e7
Common/Log: Restore old console behavior
2021-07-29 13:45:11 +10:00
Connor McLaughlin
3b7c6c7bbd
Common/Log: Fix Unix escape sequences on preexisting consoles
2021-07-23 18:07:03 +10:00
Connor McLaughlin
911e9a37f1
WIN32 macro -> _WIN32
2021-06-30 14:38:07 +10:00
Connor McLaughlin
9d7f4523b0
Log: Close C file handles on free (win32)
...
Fixes toggling console not hiding the window.
2021-01-09 01:52:48 +10:00
Connor McLaughlin
9951921a6d
Log: Enable virtual terminal processing on Win32
...
This way we don't need to set the registry value.
2021-01-09 00:39:32 +10:00
Jake Stine
f26b094cf7
Console: Use ANSI escape codes and remove entirely Win32's legacy WriteConsoleA code.
...
Also fixes android build failure (missing unistd.h)
2021-01-07 07:05:33 -08:00
Jake Stine
c9b8dc13fd
Console: Fix problems when using CLI from MSYS2/GitBash/ConEmu
...
- Fix issue where console output is lost when running from MSYS2/GitBash CLI
- Fix issue where pipe redirections would be overridden and otuput would always go to the attached console (this affected windows cmd prompt as well as other shell CLIs)
- Simplify some logic regarding registering of the standard output writer
2021-01-05 07:35:11 -08:00
Connor McLaughlin
98766a490f
Log: Change success to verbose and move down in ordering
2020-12-09 01:03:32 +10:00
Connor McLaughlin
eb7da791ea
CommonHostInterface: Fix command line help not printing on Windows
2020-07-21 20:09:54 +10:00
Connor McLaughlin
c2ab611097
Common/Log: Properly release console when disabling
2020-05-01 00:58:24 +10:00
Connor McLaughlin
4702110474
Common/Log: Add file output
2020-05-01 00:58:02 +10:00
Connor McLaughlin
b11a7a106f
Common/Log: Fix corrupted output/UB with va_copy
...
Fixes crashes on GCC9+ (#9 ), maybe others.
2020-02-01 11:04:46 +10:00
Connor McLaughlin
71c1e243fe
Remove YBaseLib dependency
2020-01-10 13:40:53 +10:00