Victor Zverovich
|
99e6112fda
|
Fix StrError, move Format*ErrorMessage to the implementation.
|
2014-04-30 11:20:41 -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
|
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
|
4e33311597
|
Get rid of FormatterProxy.
|
2014-04-29 09:32:25 -07:00 |
|
Victor Zverovich
|
063d0077b3
|
Test FileSink. Simplify tests.
|
2014-04-29 08:39:37 -07:00 |
|
Victor Zverovich
|
c1f947f4fb
|
Add comments.
|
2014-04-29 06:54:46 -07:00 |
|
Victor Zverovich
|
7e6dd376b1
|
Improve doc.
|
2014-04-28 19:27:29 -07:00 |
|
Victor Zverovich
|
46e26191f4
|
Remove unnecessary const refs.
|
2014-04-28 19:27:19 -07:00 |
|
Victor Zverovich
|
d9db89814f
|
Refactor action classes, Action -> Sink, add comments.
|
2014-04-28 08:59:29 -07:00 |
|
Victor Zverovich
|
d2bf073334
|
Format.
|
2014-04-27 09:47:07 -07:00 |
|
Victor Zverovich
|
83a7b79c2d
|
Add a macro to disallow the copy constructor and operator= functions.
|
2014-04-27 09:46:56 -07:00 |
|
Victor Zverovich
|
f153f6f4b5
|
Implement move assignment in BasicWriter.
|
2014-04-26 07:10:21 -07:00 |
|
Victor Zverovich
|
3bb9941e37
|
Fix warning.
|
2014-04-26 06:47:25 -07:00 |
|
Victor Zverovich
|
26277c8ab3
|
Implement move assignment operator for Array.
|
2014-04-25 08:18:07 -07:00 |
|
Victor Zverovich
|
08b0741fa7
|
Add move ctor to BasicWriter.
|
2014-04-25 07:40:37 -07:00 |
|
Victor Zverovich
|
259a307daf
|
Fix version check, take 2.
|
2014-04-24 15:39:20 -07:00 |
|
Victor Zverovich
|
daaa314aac
|
Fix version check.
|
2014-04-24 14:55:18 -07:00 |
|
Victor Zverovich
|
b61bb5d635
|
Don't use rvalue references when compiling with clang and an old libstdc++ as the latter doesn't provide std::move.
|
2014-04-24 14:18:37 -07:00 |
|
Victor Zverovich
|
f28645f900
|
Fix includes.
|
2014-04-24 12:37:06 -07:00 |
|
Victor Zverovich
|
71a5b7a126
|
Return Writer instead of std::string in variadic overloads of Format for performance & consistency with non-variadic versions.
|
2014-04-24 07:32:01 -07:00 |
|
Victor Zverovich
|
bc2cab2efe
|
Format.
|
2014-04-24 07:30:47 -07:00 |
|
Victor Zverovich
|
b22493ce7e
|
Add a move ctor to Array.
|
2014-04-24 07:30:39 -07:00 |
|
Victor Zverovich
|
81217a2cc0
|
Add a comment.
|
2014-04-24 07:30:06 -07:00 |
|
Victor Zverovich
|
f04cb531db
|
Remove unused code.
|
2014-04-23 19:41:25 -07:00 |
|
Victor Zverovich
|
f2e0391800
|
Simplify.
|
2014-04-23 17:34:32 -07:00 |
|
Victor Zverovich
|
9bde82689f
|
Use prefix FMT_ for all macros.
|
2014-04-23 17:33:50 -07:00 |
|
Victor Zverovich
|
01ab792f60
|
Decouple the action perform on argument's destruction from the argument.
|
2014-04-23 09:13:03 -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
|
1104e73242
|
Don't use initializer lists.
|
2014-04-22 19:42:25 -07:00 |
|
Victor Zverovich
|
656a8378d1
|
Use ArgInfo instead of Arg where possible.
|
2014-04-22 08:58:54 -07:00 |
|
Victor Zverovich
|
5b8126f84d
|
Factor POD part of Arg into ArgInfo to be able to store it in Array.
|
2014-04-22 08:19:10 -07:00 |
|
Victor Zverovich
|
03f68857e2
|
Replace BasicFormatter::Format with BasicWriter::FormatInt.
|
2014-04-20 08:46:09 -07:00 |
|
Victor Zverovich
|
265b40ec6e
|
Disable GCC warning about "long long".
|
2014-04-16 09:19:31 -07:00 |
|
Victor Zverovich
|
5f9574c3c1
|
Add a test case for writing a double to a filled buffer.
|
2014-04-09 08:05:23 -07:00 |
|
jdale88
|
a9862fdb22
|
Fixed some level 4 warnings in VS2013
|
2014-03-11 18:56:24 +00:00 |
|
jdale88
|
17d621f86f
|
Added variadic versions for Format that act as a proxy for providing an initialiser list to a BasicFormatter.
Updated the Variadic test to use these new functions and verified that the tests passed.
See https://github.com/vitaut/format/issues/25
|
2014-03-06 20:06:44 +00:00 |
|
jdale88
|
45b56c1c62
|
Fixed some places in BasicFormatter where non-templated string types were being used.
See https://github.com/vitaut/format/issues/24
|
2014-02-27 01:28:17 +00:00 |
|
Victor Zverovich
|
86574285cc
|
Don't use CountDigits for 1-2 digit numbers.
|
2014-02-20 21:05:46 -08:00 |
|
Victor Zverovich
|
7abd6443ac
|
Fix more warnings.
|
2014-02-20 08:02:32 -08:00 |
|
Victor Zverovich
|
8c4425a00f
|
Fix warnings.
|
2014-02-20 07:53:50 -08:00 |
|
Victor Zverovich
|
04b3432238
|
Simplify IntTraits.
|
2014-02-20 07:43:37 -08:00 |
|
Victor Zverovich
|
90d0c50eb3
|
Fix formatting of integer types smaller than int in FormatDec.
|
2014-02-20 07:04:54 -08: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
|
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
|
fb2be485d7
|
Fix non-gcc builds.
|
2014-02-15 10:41:00 -08:00 |
|