Victor Zverovich
|
1a75ed01cd
|
Implement dynamic precision in printf.
|
2014-06-23 07:16:46 -07:00 |
|
Victor Zverovich
|
5be9a8de3f
|
Reduce the number of integer types that need to be handled.
|
2014-06-21 09:40:04 -07:00 |
|
Victor Zverovich
|
b1bbc90919
|
Use precision from FormatSpec.
|
2014-06-21 08:32:00 -07:00 |
|
Victor Zverovich
|
879838a539
|
Implement integer precision.
|
2014-06-20 07:34:02 -07:00 |
|
Victor Zverovich
|
cb743c0249
|
Parse printf format specs.
|
2014-06-19 07:40:35 -07:00 |
|
Victor Zverovich
|
1275923a68
|
Implement dynamic width in printf.
|
2014-06-17 06:53:48 -07:00 |
|
Victor Zverovich
|
8666ea82f7
|
Merge branch 'master' of github.com:cppformat/cppformat
|
2014-06-16 07:49:37 -07:00 |
|
Victor Zverovich
|
1f19b986a0
|
Implement printf specifications.
|
2014-06-16 07:49:30 -07:00 |
|
Constantine Tarasenkov
|
6aace693db
|
Changes for MinGW compiler
|
2014-06-11 02:38:57 +04:00 |
|
Victor Zverovich
|
03776dd988
|
Add support for hexadecimal floating point format specifiers a and A.
|
2014-06-10 07:03:49 -07:00 |
|
Victor Zverovich
|
1b80148420
|
Implement '#' flag.
|
2014-06-07 08:57:55 -07:00 |
|
Victor Zverovich
|
bf790d2819
|
Ignore '0' flag for non-numeric types as printf does.
|
2014-06-07 07:31:25 -07:00 |
|
Victor Zverovich
|
80c99760fb
|
Fix warnings.
|
2014-06-07 07:11:34 -07:00 |
|
Victor Zverovich
|
533c8214d4
|
Avoid unnecessary check.
|
2014-06-06 08:54:37 -07:00 |
|
Victor Zverovich
|
438eba1402
|
Fix parsing of flags.
|
2014-06-06 08:01:48 -07:00 |
|
Victor Zverovich
|
9aba05b76a
|
Parse '0' flag.
|
2014-06-06 07:07:57 -07:00 |
|
Victor Zverovich
|
bf8b29fbe7
|
Add initial support for printf format specifications.
|
2014-06-06 06:38:37 -07:00 |
|
Victor Zverovich
|
1a2d7be3f5
|
Implement EXPECT_STDOUT and EXPECT_STDERR using pipes.
|
2014-05-03 09:48:54 -07:00 |
|
Victor Zverovich
|
9830c52816
|
Fix UTF8ToUTF16.
|
2014-05-01 07:20:38 -07:00 |
|
Victor Zverovich
|
dcd039df81
|
Define WIN32_LEAN_AND_MEAN.
|
2014-05-01 07:09:42 -07:00 |
|
Victor Zverovich
|
42764e54ae
|
Fix UTF16ToUTF8.
|
2014-05-01 07:09:08 -07:00 |
|
Victor Zverovich
|
53b4c31afb
|
Move Format*ErrorMessage to internal namespace.
|
2014-04-30 15:00:41 -07:00 |
|
Victor Zverovich
|
400812a905
|
CError -> WinError
|
2014-04-30 12:38:17 -07:00 |
|
Victor Zverovich
|
34712da2e7
|
Fix MSVC build.
|
2014-04-30 11:28:07 -07:00 |
|
Victor Zverovich
|
99e6112fda
|
Fix StrError, move Format*ErrorMessage to the implementation.
|
2014-04-30 11:20:41 -07:00 |
|
Victor Zverovich
|
25ce9e7153
|
Fix MSVC build.
|
2014-04-30 10:39:24 -07:00 |
|
Victor Zverovich
|
f79398699b
|
Add ThrowCError to throw an exception on C library errors.
|
2014-04-30 10:18:11 -07:00 |
|
Victor Zverovich
|
2c6372d790
|
Add a portable thread-safe version of strerror.
|
2014-04-30 09:42:48 -07:00 |
|
Victor Zverovich
|
ed2bdbaeaf
|
Fix Windows build.
|
2014-04-30 07:41:54 -07:00 |
|
Victor Zverovich
|
c16217bf9b
|
Test UTF8ToUTF16 and UTF16ToUTF8.
|
2014-04-30 07:38:43 -07:00 |
|
Victor Zverovich
|
da9aeab810
|
Add UTF8ToUTF16 and UTF16ToUTF8.
|
2014-04-30 07:23:43 -07:00 |
|
Victor Zverovich
|
859a4975f6
|
Throw SystemError if fwrite fails.
|
2014-04-30 06:55:21 -07:00 |
|
Victor Zverovich
|
d9db89814f
|
Refactor action classes, Action -> Sink, add comments.
|
2014-04-28 08:59:29 -07:00 |
|
Victor Zverovich
|
26277c8ab3
|
Implement move assignment operator for Array.
|
2014-04-25 08:18:07 -07:00 |
|
Victor Zverovich
|
f28645f900
|
Fix includes.
|
2014-04-24 12:37:06 -07:00 |
|
Victor Zverovich
|
cfeba45c35
|
Let the buffer grow as it pleases.
|
2014-04-23 18:37:49 -07:00 |
|
Victor Zverovich
|
33baa8f382
|
Fix the error when formatting a float with a filled buffer on MSVC.
|
2014-04-23 18:37:08 -07:00 |
|
Victor Zverovich
|
e78904b9b9
|
Move formatting functionality from BasicFormatter to BasicWriter & FormatPaser to simplify the implementation of standalone formatting methods.
|
2014-04-23 08:27:50 -07:00 |
|
Victor Zverovich
|
656a8378d1
|
Use ArgInfo instead of Arg where possible.
|
2014-04-22 08:58:54 -07:00 |
|
Victor Zverovich
|
03f68857e2
|
Replace BasicFormatter::Format with BasicWriter::FormatInt.
|
2014-04-20 08:46:09 -07:00 |
|
Victor Zverovich
|
f2e06804c5
|
Workaround an issue with Intel C++ compiler.
|
2014-04-10 10:49:55 -07:00 |
|
jdale88
|
4cabe16241
|
Should use Char not char, as Char is typedef'd to the correct type (char or wchar_t)
|
2014-03-11 19:03:26 +00:00 |
|
jdale88
|
a9862fdb22
|
Fixed some level 4 warnings in VS2013
|
2014-03-11 18:56:24 +00:00 |
|
Victor Zverovich
|
43fe100875
|
Move the implementation of ColorWriter::operator() to format.cc
|
2014-02-19 14:20:26 -08:00 |
|
Victor Zverovich
|
6968ef3bb3
|
Implement PrintColored.
Thanks https://github.com/jose55 for the idea.
|
2014-02-19 13:51:23 -08:00 |
|
Victor Zverovich
|
f1d8516467
|
Fix a warning about empty macro args.
|
2014-02-19 13:02:22 -08:00 |
|
Victor Zverovich
|
e9b2191689
|
Add a 32-bit version of CountDigits.
|
2014-02-19 12:43:55 -08:00 |
|
Victor Zverovich
|
3017fc6fb7
|
Improve 32-bit integer formatting performance by parameterizing FormatDecimal on integer type.
|
2014-02-17 09:12:24 -08:00 |
|
Victor Zverovich
|
6f6fe519e2
|
Fix more warnings.
|
2014-02-15 11:16:44 -08:00 |
|
Victor Zverovich
|
447e02c54c
|
Add a missing using declaration.
|
2014-02-15 10:48:34 -08:00 |
|