Commit Graph

307 Commits

Author SHA1 Message Date
Victor Zverovich
4f3ae78adb Fix formatting. 2013-11-16 21:15:37 -08:00
Victor Zverovich
18d07093a0 Test that "#X" adds prefix "0X" (issue https://github.com/vitaut/format/issues/5) 2013-11-16 21:11:42 -08:00
Victor Zverovich
93ca4c98fe Document the 'B' type and the difference between 'b' & 'B'. Addresses part of issue https://github.com/vitaut/format/issues/5 2013-11-16 21:09:46 -08:00
Victor Zverovich
0563aca180 Document that "#x" adds prefix "0x" and "#X" adds "0X". Addresses part of issue https://github.com/vitaut/format/issues/5 2013-11-16 21:06:07 -08:00
Victor Zverovich
2aa4cd9827 Fix gcc version check for noexcept. 2013-11-16 07:19:59 -08:00
Victor Zverovich
d49845510e Check gcc version for diagnostic once. 2013-11-16 07:19:41 -08:00
vitaut
16cb991fd8 Merge pull request #6 from gcflymoto/master
add support for older GCC versions
2013-11-16 07:15:18 -08:00
Gregory Czajkowski
7b22272fbf add support for older GCC versions 2013-11-15 16:00:09 -08:00
Victor Zverovich
b697a7d6f9 Only use GTest's own tuple on clang. 2013-11-15 14:21:55 -08:00
Victor Zverovich
cd882b547e Fix clang build. 2013-11-15 14:16:42 -08:00
Victor Zverovich
9d97bb7cd0 Add Boost to include directories. 2013-11-15 14:13:29 -08:00
Victor Zverovich
eca62c6ffd Don't use uint64_t in tests. 2013-11-15 14:09:37 -08:00
Victor Zverovich
f782c2b1a8 Fix build on Mac. 2013-11-15 14:02:14 -08:00
Victor Zverovich
4c3044771a Acknowledge gcflymoto's contribution. 2013-11-14 08:57:19 -08:00
Victor Zverovich
5e7f59b563 Remove unsigned long long tests for now. Add more tests for binary specifier. 2013-11-14 08:45:50 -08:00
Victor Zverovich
52b55e1791 Always use noexcept for gcc >= 4.8 because dtors are implicitly noexcept there. Remove binu and 'B' specifier. 2013-11-14 08:45:20 -08:00
Victor Zverovich
43fa564e9b Remove unused typedef. 2013-11-14 08:44:05 -08:00
vitaut
e0afc418b3 Merge pull request #4 from gcflymoto/master
Added support for binary modifier
2013-11-14 07:57:16 -08:00
Gregory Czajkowski
9cc24166b5 revert back changes and to create a single pull request for bin mode 2013-11-12 14:12:17 -08:00
Gregory Czajkowski
c5695691c1 add support for bin formatter 2013-11-12 14:06:43 -08:00
Gregory Czajkowski
631f407f99 add better support for different GCC and 64bit longs 2013-11-08 17:06:54 -08:00
Victor Zverovich
006a4619f3 Replace WIN32 win _WIN32. 2013-11-08 09:56:34 -07:00
Victor Zverovich
d3ec9a1316 Add support for StringRef in BasicFormatter. 2013-11-08 09:53:50 -07:00
Victor Zverovich
00c9fcf1fe Replace CharWriteChecker and WCharWriteChecker with a single WriteChecker template. 2013-11-08 09:48:45 -07:00
Gregory Czajkowski
0a95f7c2fa subproject commit 2013-10-23 20:07:27 -07:00
Gregory Czajkowski
e4ffc06875 add support for binary type and test long longs more 2013-10-23 20:04:32 -07:00
Victor Zverovich
eded10cf31 Fix FormatInt. 2013-09-10 09:28:04 -07:00
Victor Zverovich
2951f8b3d8 API docs. 2013-09-10 09:26:11 -07:00
Victor Zverovich
b605b3980c Disallow writing a wide string to a char stream and vice versa, because there is no good way to implement these function without knowing the encodings and what std::ostream doesn't make any sense. 2013-09-09 22:21:40 -07:00
Victor Zverovich
1733198bf5 Guard gcc pragmas from -dumb compilers- MSVC. 2013-09-09 15:47:09 -07:00
Victor Zverovich
4523ed7887 Disable -Wlong-long on gcc. 2013-09-09 15:38:43 -07:00
Victor Zverovich
e1a02c5141 Fix formatting of long long. 2013-09-09 15:23:05 -07:00
Victor Zverovich
8308da46e6 Fix compilation of tests on Windows. 2013-09-09 15:17:38 -07:00
Victor Zverovich
aefb3bb918 Simplify tests. Add support for long long in Writer. 2013-09-09 15:12:51 -07:00
Victor Zverovich
ad1be3c17a Add a missing header. 2013-09-09 10:42:33 -07:00
Victor Zverovich
922391d6da Update benchmarks. 2013-09-09 07:41:00 -07:00
Victor Zverovich
65d47e5e09 Add FormatInt for fast stand-alone integer formatting. 2013-09-09 06:51:03 -07:00
Victor Zverovich
75daf81895 Update benchmarks. 2013-09-08 21:52:37 -07:00
Victor Zverovich
bcef11c0d1 Add support for long double in Writer. 2013-09-08 16:27:12 -07:00
Victor Zverovich
1e724a9d33 Write docs. 2013-09-08 15:37:14 -07:00
Victor Zverovich
06dda99d7a Check for boost. 2013-09-08 14:39:34 -07:00
Victor Zverovich
c62c475291 Fix a warning. 2013-09-08 14:25:22 -07:00
Victor Zverovich
2a9f358d7e Add support for long and unsigned long in Writer. 2013-09-08 14:18:08 -07:00
Victor Zverovich
e89c60d63e Minor corrections. 2013-09-08 13:47:38 -07:00
Victor Zverovich
563a575c0c Fix more warnings. 2013-09-08 13:47:06 -07:00
Victor Zverovich
88972f487b Fix warnings. 2013-09-08 13:30:14 -07:00
Victor Zverovich
93e4125248 Move DIGITS to the implementation. Widen fill_ to support both char and wchar_t. 2013-09-08 13:07:04 -07:00
Victor Zverovich
f060db0261 Update benchmarks. 2013-09-07 18:44:13 -07:00
Victor Zverovich
54c3ed92b6 Add -std=c++11 flag only if supported by compiler. 2013-09-07 14:54:26 -07:00
Victor Zverovich
3937644a8d Enable C++11 if possible. 2013-09-07 13:04:45 -07:00