Commit Graph

5634 Commits

Author SHA1 Message Date
Victor Zverovich
ff0d5d1771 Fix more warnings on older GCC. 2014-02-15 10:17:10 -08:00
Victor Zverovich
0c3a2f5dcb Fix warnings about constants being too large. 2014-02-15 10:08:19 -08:00
Victor Zverovich
7561ff27e5 Fix warnings about unsigned long long as well. 2014-02-15 10:02:02 -08:00
Victor Zverovich
7325ebc965 Fix the warning about long long on older gcc. 2014-02-15 09:58:33 -08:00
Victor Zverovich
245faa745b ConvertWChar -> ConvertChar. 2014-02-15 09:39:49 -08:00
Victor Zverovich
eadd2ee421 Add FormatInt::data() and document members. 2014-02-15 09:39:06 -08:00
Victor Zverovich
f43de4a469 Only append terminating '\0' when necessary. 2014-02-15 09:24:31 -08:00
Victor Zverovich
430c45d618 Too much Python 🐍 2014-02-14 14:06:39 -08:00
Victor Zverovich
6f0387fc22 Expose in-place decimal integer formatting via FormatDec. Improve performance of CountDigits based on the results from https://github.com/localvoid/cxx-benchmark-count-digits. 2014-02-14 10:36:17 -08:00
Victor Zverovich
d473a79581 Add FormatInt::size, and support for long and long long. 2014-02-13 09:59:49 -08:00
Victor Zverovich
2a3e010340 Fix grammar. 2014-02-13 09:54:10 -08:00
Victor Zverovich
d1369d4bed Upate readme. 2014-02-13 09:53:01 -08:00
Victor Zverovich
affa794794 Add "Projects using this library" section. 2014-01-30 11:16:27 -08:00
Victor Zverovich
bfedba5a0a Add support for int64_t in FormatInt. 2014-01-30 08:02:06 -08:00
Victor Zverovich
c3f5dce8d5 Fixed bug https://github.com/vitaut/format/issues/16 . Thanks to https://github.com/fil222 ! 2014-01-28 12:49:36 -08:00
Victor Zverovich
ea5dce3957 Simplify format specs. 2014-01-28 12:47:37 -08:00
Victor Zverovich
a1bd3358bb Produce a compile error when using wide fill character on a narrow stream. 2014-01-08 08:17:38 -08:00
Victor Zverovich
fa3efb1330 Add a compile error test. 2014-01-08 08:16:00 -08:00
Victor Zverovich
f380dc3daa Fix error reporting. 2014-01-07 17:04:39 -08:00
Victor Zverovich
9fad54a821 Fix CMake warning. 2014-01-07 17:04:30 -08:00
Victor Zverovich
482472ebc5 Fix a typo. 2014-01-07 11:34:32 -08:00
Victor Zverovich
be17d14544 Simplify compile tests. 2014-01-07 09:50:36 -08:00
Victor Zverovich
ec7006fb99 Test if a narrow string padding with wide char doesn't compile. 2014-01-07 08:57:37 -08:00
Victor Zverovich
1f17447fac Simplify pad. 2014-01-07 08:44:15 -08:00
Victor Zverovich
6abfb84808 Simplify compile error tests. 2014-01-07 08:43:53 -08:00
Victor Zverovich
8efc8ac075 Fixed https://github.com/vitaut/format/issues/15 . Thanks! 2014-01-06 17:49:27 -08:00
Victor Zverovich
24fcd6e97f Fix compilation with clang. 2014-01-02 12:29:53 -08:00
Victor Zverovich
d5c82bc717 Add a comment. 2014-01-02 11:34:58 -08:00
Victor Zverovich
47758a87a0 Ignore generated files and dirs. 2014-01-02 11:33:12 -08:00
Victor Zverovich
9bf11d057c Add compile error tests. 2014-01-02 11:31:53 -08:00
Victor Zverovich
6038c85231 format_test -> format-test. Add support for wide char to BasicWriter. 2014-01-02 11:30:28 -08:00
Victor Zverovich
1cc61329ae Break long lines. 2014-01-01 10:02:15 -08:00
Victor Zverovich
342b76d278 Implement pad for wide strings. 2014-01-01 10:00:55 -08:00
Victor Zverovich
136ee89bb4 IntFormatter -> IntformatSpec in tests. 2014-01-01 10:00:33 -08:00
Victor Zverovich
09f98854bf StrFormatter -> StrFormatSpec. 2014-01-01 09:22:55 -08:00
Victor Zverovich
ba6c5fe522 IntFormatter -> IntFormatSpec. 2014-01-01 09:20:16 -08:00
Victor Zverovich
fec6bc04f5 Spec -> EmptySpec. Improve comments. 2014-01-01 09:06:25 -08:00
Victor Zverovich
59c5612e87 Add comments. 2013-12-31 10:15:16 -08:00
Victor Zverovich
641df95491 Implement string padding. 2013-12-31 09:43:32 -08:00
Victor Zverovich
fb7b11ead0 Add a missing include. 2013-12-27 10:22:55 -08:00
Victor Zverovich
a684d0cebf Fix https://github.com/vitaut/format/issues/14 2013-12-27 08:00:10 -08:00
Victor Zverovich
d052bdae02 Simplify the WriteDoubleAtBufferBoundary test. 2013-12-27 07:46:02 -08:00
Victor Zverovich
b6f383907b Add a test case from https://github.com/vitaut/format/issues/14 2013-12-27 07:26:55 -08:00
Victor Zverovich
1106004e88 Find Google profiler. 2013-12-21 10:31:06 -08:00
Victor Zverovich
64f113c060 Update format-benchmark. 2013-12-21 10:20:04 -08:00
Victor Zverovich
bab5e98889 Add profiling support. 2013-12-21 09:36:15 -08:00
Victor Zverovich
fbed12ac58 Fix warnings. 2013-12-13 15:13:14 -08:00
Victor Zverovich
be69339bc8 Bump version 2013-12-10 08:50:46 -08:00
Victor Zverovich
2d485d1916 Improve support for C++98 compilers that require a copy ctor when binding a reference to a temporary. 2013-12-10 08:08:41 -08:00
Victor Zverovich
dd32508ce6 Fix grammar. 2013-12-10 08:01:30 -08:00