998e8dda938cfef0146f1bfc4e8973a0e12d7d35 |
|
02-Nov-2015 |
Chun-wei Fan <fanchunwei@src.gnome.org> |
util: Fix build on Visual Studio Use the fallback implementation for lround() only on pre-2013 Visual Studio, and ensure we are clear about the types of the parameters for lround() and scalbnf(), since Visual Studio can be quite picky on ambiguous parameter types. Also, use g_ascii_strcasecmp() rather than strcasecmp() as we are already using GLib for this code and we are assured that g_ascii_strcasemp() is available. For scalbnf() on pre-2013 Visaul Studio, a fallback implementation is needed, but use another forced-included header for those compilers, which will be added later. Also use (char)27 on Visual Studio builds as '\e' is not a recognized escape sequence, which will do the same thing.
/external/harfbuzz_ng/util/ansi-print.cc
|
ff0f210519bcb0e44d4b986f7eef2004383cd344 |
|
18-May-2015 |
Behdad Esfahbod <behdad@behdad.org> |
[util] Minor
/external/harfbuzz_ng/util/ansi-print.cc
|
7235f33f9e5e031622a00a84f4b2e98f16803579 |
|
10-Jun-2013 |
Behdad Esfahbod <behdad@behdad.org> |
Fix misc warnings reported by cppcheck https://bugs.freedesktop.org/show_bug.cgi?id=65544
/external/harfbuzz_ng/util/ansi-print.cc
|
b4c5c52944a44ba863a22a53035ff561af7318ca |
|
03-Jun-2013 |
Chun-wei Fan <fanchunwei@src.gnome.org> |
util/ansi-print.cc: Use fallback implementation for lround on MSVC Unfortuately Visual Studio (still) does not support the C99 function lround, so provide a fallback implementation for it.
/external/harfbuzz_ng/util/ansi-print.cc
|
7ec83051c05777c0e6e2eea6ef6c71effede9527 |
|
07-Jun-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Fix warnings
/external/harfbuzz_ng/util/ansi-print.cc
|
8caf5dcd66550351c6038b9ae7ecc5254eed64ff |
|
13-May-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Minor
/external/harfbuzz_ng/util/ansi-print.cc
|
50f630c17ced1bd59b4da4f27728dcfbb876400a |
|
13-May-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Remove ioctl checks Ended up not using terminal size after all.
/external/harfbuzz_ng/util/ansi-print.cc
|
db0de7cd616e1e9d6fde6659e52a541477fb0148 |
|
13-May-2012 |
Behdad Esfahbod <behdad@behdad.org> |
[util] Set ansi color only on color change
/external/harfbuzz_ng/util/ansi-print.cc
|
52e7b1424a3613122e9ca30879298df42733acda |
|
13-May-2012 |
Behdad Esfahbod <behdad@behdad.org> |
[util] Make hb-view print out Unicode art if stdout is a terminal
/external/harfbuzz_ng/util/ansi-print.cc
|