Commit Graph

438 Commits

Author SHA1 Message Date
Victor Zverovich
656ca25177 Add example. 2014-04-20 08:46:24 -07:00
Victor Zverovich
03f68857e2 Replace BasicFormatter::Format with BasicWriter::FormatInt. 2014-04-20 08:46:09 -07:00
Victor Zverovich
cdfbd128ec Document namespace use. 2014-04-19 19:17:06 -07:00
Victor Zverovich
64005c04ac Move Portability section to the web site. 2014-04-18 08:26:23 -07:00
Victor Zverovich
395f7a9615 Update readme. 2014-04-18 07:21:39 -07:00
Victor Zverovich
aec95bcbba Add instructions on how to run the unit tests. 2014-04-17 21:28:00 -07:00
Victor Zverovich
23dd27873d Update instructions for running tests. 2014-04-17 21:25:04 -07:00
Victor Zverovich
da2a35de79 Update names and links. 2014-04-17 21:17:56 -07:00
Victor Zverovich
f4c31ccd59 Include gtest in the package and bump version. 2014-04-17 21:17:34 -07:00
Victor Zverovich
5e3e7fe7d3 Add a fused version of gtest. 2014-04-17 20:59:06 -07:00
Victor Zverovich
31f7a7479d Remove gtest submodule. 2014-04-17 20:50:21 -07:00
Victor Zverovich
107a184a81 Fix test. 2014-04-17 19:20:54 -07:00
Victor Zverovich
a07b51f7df Conditionally compile part of a test that uses C++11. 2014-04-17 19:18:11 -07:00
Victor Zverovich
7f622c118d Test example. 2014-04-17 18:28:45 -07:00
Victor Zverovich
c22c26ed3d Update project name, copyright and version. 2014-04-17 08:55:02 -07:00
Victor Zverovich
5ef5195c8f Add Google Analytics. 2014-04-16 12:24:35 -07:00
Victor Zverovich
265b40ec6e Disable GCC warning about "long long". 2014-04-16 09:19:31 -07:00
Victor Zverovich
2e8c75269a Update the package name. 2014-04-15 07:35:28 -07:00
Victor Zverovich
581947558a Change the travis config to run tests. 2014-04-14 23:28:11 -07:00
Victor Zverovich
817d98a6fe Add a build status image. 2014-04-14 23:19:38 -07:00
Victor Zverovich
100768a008 Add a travis config. 2014-04-14 23:18:58 -07:00
Victor Zverovich
17fbcd166f Change String Formatting API to C++ Format Library API as it supports more general things than string formatting, e.g. file I/O. 2014-04-14 14:42:43 -07:00
Victor Zverovich
10b2fe0f27 Implement packaging. 2014-04-14 12:54:03 -07:00
Victor Zverovich
38d723f760 Fix link. 2014-04-13 10:18:15 -07:00
Victor Zverovich
05993065a2 Update links. 2014-04-13 10:16:10 -07:00
Victor Zverovich
4b22eb38c1 Update links. 2014-04-13 10:14:05 -07:00
Victor Zverovich
8b47d578d0 Add ICC to the list of supported compilers. 2014-04-10 10:50:12 -07:00
Victor Zverovich
f2e06804c5 Workaround an issue with Intel C++ compiler. 2014-04-10 10:49:55 -07:00
Victor Zverovich
648dba0a78 Check output. 2014-04-09 08:27:51 -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
vitaut
87545b0af4 Merge pull request #28 from jdale88/vslevel4warnings
Fixed some level 4 warnings in VS2013
2014-03-12 08:05:56 -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
vitaut
7592eda492 Merge pull request #27 from jdale88/variadic-format
Added variadic versions for Format that act as a proxy for providing an initialiser list to a BasicFormatter
2014-03-07 08:03:14 -08: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
vitaut
ae96e5bfa6 Merge pull request #26 from jdale88/wstring-fix
Fixed some places in BasicFormatter where non-templated string types were being used
2014-03-06 10:54:50 -08: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
2f423d8b46 Acknowledge Ruslan Baratov's contribution. 2014-02-19 14:55:22 -08:00
Victor Zverovich
8f91cf06b6 Update README. 2014-02-19 14:40:48 -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
9bb93992b6 Fix a warning. 2014-02-19 13:05:50 -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