Commit Graph

590 Commits

Author SHA1 Message Date
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
Victor Zverovich
cc6af50514 Fix a warning. 2013-12-10 08:01:08 -08:00
Victor Zverovich
e652144899 Update benchmarks. 2013-12-10 07:59:51 -08:00
Victor Zverovich
61a4495971 Update benchmarks. 2013-12-10 07:53:59 -08:00
Victor Zverovich
f0ad25e3ad Update benchmarks. 2013-12-10 07:43:03 -08:00
Victor Zverovich
21f3a700c5 Fix a typo. 2013-12-09 17:51:11 -08:00
Victor Zverovich
2883163787 Test compilation with default flags. 2013-12-09 17:47:07 -08:00
Victor Zverovich
8ca31c8473 Fix compilation on GCC when -std=c++11 is not specified. 2013-12-09 17:45:27 -08:00
Victor Zverovich
3d7faaf0bd Detect the availability of initialize lists. 2013-12-09 08:31:08 -08:00
Victor Zverovich
bd5fe67eef Conditionally compile C++11 parts. 2013-12-09 08:12:33 -08:00
Victor Zverovich
185ec1d91e Fix a typo. 2013-12-09 08:12:21 -08:00
Victor Zverovich
e3b4a3f166 Disallow formatting of wchar_t when using a char formatter. 2013-12-07 08:12:03 -08:00
Victor Zverovich
206c846e12 Replace BasicFormatter.Add with args_.push_back. 2013-12-07 08:03:23 -08:00
Victor Zverovich
2d620be6ff Pre-allocate space for arguments. 2013-12-06 09:16:50 -08:00
Victor Zverovich
5789930096 Variadic version of BasicFormatter's ctor. 2013-12-06 09:08:37 -08:00
Victor Zverovich
383cc773e2 Update README 2013-12-06 07:13:04 -08:00
Victor Zverovich
f406a42baa Fix a warning about long long. 2013-12-06 07:12:38 -08:00
Victor Zverovich
39cc99e2c2 Disable MSVC warning about multiple copy ctors. 2013-12-06 07:00:06 -08:00
Victor Zverovich
383a8423ef Forbid copying from a temporary (Basic)Formatter object. 2013-12-04 22:22:25 -08:00
Victor Zverovich
e8a2bdf2d1 Add comments. 2013-12-01 06:59:14 -08:00
Victor Zverovich
56f12b737c Add support for long long and more tests for unsigned long long. https://github.com/vitaut/format/issues/9 2013-11-22 07:45:43 -08:00
Victor Zverovich
a4e72b4db2 Remove IntTraits<uint32_t> because uint32_t is a typedef, not a built-in type. Rename ULLONG to ULONG_LONG for consistency with ulong_long_value. Remove extra whitespace. 2013-11-21 09:11:58 -08:00
Gregory Czajkowski
a65542bdaf add support for unsigned long long
Want to be able to format the following without any casting

std::cout << fmt::str(fmt::Format("{:x}") << 0xAEull) << std::endl;
std::cout << fmt::str(fmt::Format("{:x}") << 0xAEul) << std::endl;
std::cout << fmt::str(fmt::Format("{:x}") << uint64_t(0xae)) <<
std::endl;
2013-11-21 08:47:55 -08:00
Victor Zverovich
75e8fea0b0 Ignore doxyxml and html directories and order .gitignore entries 2013-11-21 08:10:57 -08:00
Victor Zverovich
04c2b05340 Add fmt::bin to the docs. Separate integer type specifiers because the list of types is too long. 2013-11-19 08:57:15 -08:00
Victor Zverovich
a1bbd09548 Fix FormatInt test. 2013-11-16 22:03:53 -08:00
Victor Zverovich
4a28216e68 Fix test. 2013-11-16 21:56:28 -08:00
Victor Zverovich
f184ad0a2c Restore the 'B' type by https://github.com/gcflymoto and add tests. 2013-11-16 21:25:48 -08:00
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