Daniel Scharrer
|
07fa25f2d9
|
[coverity] Correctly restore std::cout fmtflags
Also, only set std::boolalpha for debug output.
|
12 years ago |
Daniel Scharrer
|
a219427868
|
[coverity] Fix undefined behavior in left shift
|
12 years ago |
Daniel Scharrer
|
c91bb026b4
|
.travis.yml: Include CMake version in build log
|
12 years ago |
Daniel Scharrer
|
98d5b90032
|
Add comments describing each source file's purpose
Implements task #27.
|
12 years ago |
Daniel Scharrer
|
d3e0a6fc9c
|
Remove obsolete #include
|
12 years ago |
Daniel Scharrer
|
4124549598
|
Move exe filters into the stream namespace
|
12 years ago |
Daniel Scharrer
|
8de9846a75
|
Use boost::{begin,end}() over manual calculations
|
12 years ago |
Daniel Scharrer
|
e40c11496b
|
Remove erroneous assignment
|
12 years ago |
Daniel Scharrer
|
c7641cd6ca
|
Declare support for Inno Setup 5.5.5
Format didn't change, data version is still 5.5.0.
|
12 years ago |
Daniel Scharrer
|
c4e8edc126
|
Fix handling of spaces in the --data-dir option
|
12 years ago |
Daniel Scharrer
|
83e925e481
|
Disable colors on command-line parse errors
|
12 years ago |
Daniel Scharrer
|
09387e0100
|
Reduce scope of variable
|
12 years ago |
Daniel Scharrer
|
bcf6c21d8b
|
Doxygen: Add a customized index page
|
12 years ago |
Daniel Scharrer
|
45e38204ba
|
Doxygen: Fix broken \ref
|
12 years ago |
Daniel Scharrer
|
6fe52fb331
|
Doxygen: Remove invalid \ref
|
12 years ago |
Daniel Scharrer
|
24a1922bb0
|
Make conversion explicit
|
12 years ago |
Daniel Scharrer
|
456928f4cb
|
Fix style issues
|
12 years ago |
Daniel Scharrer
|
c6a3606bf4
|
Windows: Correctly restore console state on exit
|
12 years ago |
Daniel Scharrer
|
4dac48b36d
|
Put Windows helper functions into util namespace
|
12 years ago |
Daniel Scharrer
|
b690d71433
|
Stylistic tweaks in charset conversion code
|
12 years ago |
Daniel Scharrer
|
bbf3635ff6
|
Fix incorrect CSI command name in debug output
|
12 years ago |
Daniel Scharrer
|
a36ee427e8
|
Fix parsing of ansi color codes that span flushes
|
12 years ago |
Daniel Scharrer
|
6f1ad26944
|
Add changelog entry for 1.4-windows-r2
|
12 years ago |
Daniel Scharrer
|
89258fdd64
|
Add support for building without iconv anywhere
Most of the time only Windows-1252 or UTF-16LE conversions are needed,
so just bundle conversion routines for those.
|
12 years ago |
Daniel Scharrer
|
52717725c5
|
Remove dead condition
|
12 years ago |
Daniel Scharrer
|
93361f8a1a
|
Add support for building without iconv on Windows
Implements: issue #33
|
12 years ago |
Daniel Scharrer
|
22ddada291
|
Move to_utf8() and helpers to their own source file
|
12 years ago |
Daniel Scharrer
|
6e1f739306
|
Add the Clang -Wheader-guard compile option
|
12 years ago |
Daniel Scharrer
|
9fb7089358
|
Hard-code MSVC versions for some C++11 support checks
|
12 years ago |
Daniel Scharrer
|
6f2205d263
|
CMake: Disable check_link_library() with MSVC
|
12 years ago |
Daniel Scharrer
|
67a54fae21
|
Fix MSVC 'performance' warning
|
12 years ago |
Daniel Scharrer
|
be55d23baf
|
Add optimization flags for MSVC
Optimize for size, enable link-time optimization.
|
12 years ago |
Daniel Scharrer
|
edfb219c95
|
style: Check for space between 'template' and '<'
|
12 years ago |
Daniel Scharrer
|
7a3a9f2f24
|
Always use a space between 'template' and '<'
|
12 years ago |
Daniel Scharrer
|
3b881b75bd
|
Use \file in Doxygen file documentation
|
12 years ago |
Daniel Scharrer
|
f114d468a8
|
Move remaining Windows console code to windows.cpp
|
12 years ago |
Daniel Scharrer
|
580e3946e6
|
Remove the now obsolete special Windows clear code
|
12 years ago |
Daniel Scharrer
|
8293944368
|
Dont use Windows-specific _isatty()
It's broken (only checks if the fd is a character device).
Instead, add our own isatty() implementation for stdin/stdout/stderr.
|
12 years ago |
Daniel Scharrer
|
a4f328f819
|
Remove the now obsolete special Windows color code
|
12 years ago |
Daniel Scharrer
|
cecc5fd5fe
|
Wrap cout/cerr on Windows to convert UTF-8->UTF-16
Also parses ANSI escape sequences and calls the appropriate console
functions.
|
12 years ago |
Daniel Scharrer
|
aadb503e60
|
Add the color detection algorithm to the man page
|
12 years ago |
Daniel Scharrer
|
46eb7348ad
|
Only auto-enable colors if $TERM is not dumb
This is the same algorithm as used by `git` to detect a color capable
terminal.
|
12 years ago |
Daniel Scharrer
|
5222b70bc5
|
Use shorter ANSI escape sequences where possible
|
12 years ago |
Daniel Scharrer
|
8e57652b25
|
Avoid unneeded local variables in Windows main()
|
12 years ago |
Daniel Scharrer
|
2846e70c84
|
Add a parser for ANSI escape sequences
|
12 years ago |
Daniel Scharrer
|
b41d36cc74
|
CMake: Print DEBUG setting in the config summary
|
12 years ago |
Daniel Scharrer
|
cfa27c4730
|
CMake: Don't use option() for DEBUG setting
option() would prevent the DEBUG setting from being adjusted when
changing CMAKE_BUILD_TYPE, even if the user never manually set -DDEBUG.
|
12 years ago |
Daniel Scharrer
|
47f7fbde08
|
Close log lines on the correct stream
Also avoid std::endl.
|
12 years ago |
Daniel Scharrer
|
7b8d37c1c9
|
Move to_unsigned() to util/load.{hpp,cpp}
|
12 years ago |
Daniel Scharrer
|
548387f1ac
|
Bump copyright year in LICENSE
|
12 years ago |