Commit Graph

1808 Commits

Author SHA1 Message Date
vitaut
40681e6037 Fix compilation of posix-test on MinGW 2015-05-06 07:29:58 -07:00
vitaut
ca2cadb1c6 Fix compilation when fileno is a macro
This can happen on broken versions of MinGW.
2015-05-06 07:19:42 -07:00
vitaut
11464343a9 Fix handling of exactly MAX_PACKED_ARGS arguments 2015-05-05 10:00:11 -07:00
vitaut
3c388185c0 Remove old TODO 2015-05-05 07:25:42 -07:00
vitaut
f5b3c9cbec Simplify construction of ArgList objects 2015-05-05 07:23:32 -07:00
vitaut
de994a27a7 Remove internal::NonZero 2015-05-01 07:58:32 -07:00
vitaut
e515e5f14e Simplify construction of argument lists 2015-05-01 07:35:28 -07:00
vitaut
87cb2935f8 Test and fix handling of exactly MAX_PACKED_ARGS arguments 2015-05-01 06:55:26 -07:00
vitaut
969d1cdbdc Break long line 2015-04-30 08:41:17 -07:00
vitaut
67ce394256 Undefine Windows min/max macros (#152)
because they break std::min/max. This only affects non-default
header-only configuration and can be disabled by defining
FMT_WIN_MINMAX.
2015-04-30 07:48:36 -07:00
vitaut
f44666aac6 Remove extra parentheses 2015-04-30 07:35:04 -07:00
Victor Zverovich
001054c8a0 Update README.rst 2015-04-27 07:02:15 -07:00
vitaut
926b7680ea Cleanup 2015-04-21 07:17:00 -07:00
Victor Zverovich
8af48bbaf1 Merge pull request #149 from cppformat/compact-arglist
Compact arglist
2015-04-21 07:05:54 -07:00
vitaut
8d2559bd96 Reduce compiled code size
If the number of arguments is less than MAX_PACKED_ARGS, pass
the arguments as a Value array rather than Arg array.
2015-04-20 10:02:41 -07:00
vitaut
62c483c940 Test EnableIf 2015-04-20 08:08:02 -07:00
vitaut
88f4be3d19 Merge branch 'master' of github.com:cppformat/cppformat 2015-04-18 19:16:16 -07:00
vitaut
c3ebcce89d Make library install dir configurable via FMT_LIB_DIR CMake var 2015-04-18 19:15:36 -07:00
vitaut
0963fd0a4d Workaround a bug in implementation of variadic templates in MSVC11 2015-04-12 14:33:11 -07:00
vitaut
cea64132a2 Detect tuple 2015-04-12 07:02:49 -07:00
vitaut
f6823221d3 Workaround broken tuple in MSVC11 2015-04-12 06:45:40 -07:00
vitaut
f35a220536 Remove .gitmodules 2015-04-10 08:44:53 -07:00
vitaut
8c24a42395 Make documentation builds more reproducible by using virtualenv 2015-04-10 08:39:09 -07:00
vitaut
dc3039a40d Merge branch 'master' of github.com:cppformat/cppformat 2015-04-09 07:22:19 -07:00
vitaut
d2ada77ccc Install documentation 2015-04-09 07:21:42 -07:00
Victor Zverovich
3a0624ab2e Update README.rst 2015-04-08 09:11:25 -07:00
vitaut
fb362ef880 Set .so version for libformat 2015-04-08 07:13:06 -07:00
vitaut
fd53bb6fb8 Fix bogus "conditional expression is constant" MSVC warnings 2015-04-05 11:27:07 -07:00
vitaut
aab64b55a4 Update README.rst
Compile code size is actually two times smaller compared to IOStreams
2015-04-02 08:49:28 -07:00
vitaut
d2387999ec Try fixing a bogus MSVC warning about buffer overrun (#145) 2015-03-28 17:52:17 -07:00
vitaut
60405cf693 Use /W4 in format-test and only if FMT_EXTRA_TESTS is set
as (1) we don't want to force /W4 on users of the library and (2) some of
the warnings only show up when the formatting functions are used.
2015-03-28 17:29:12 -07:00
vitaut
9c75d0ccf7 Compile with /W4 in MSVC 2015-03-28 13:21:49 -07:00
vitaut
3a5573ac6e Revert commit 3c3ae4e319 2015-03-27 07:36:26 -07:00
vitaut
d4ea2d7fcb Add ArgVisitor::report_unhandled_arg
and get rid of FMT_RETURN_AFTER_THROW.
2015-03-26 08:55:20 -07:00
vitaut
d618f8baac Fix NonZero 2015-03-25 09:29:40 -07:00
vitaut
885d1a1c64 Simplify NonZero 2015-03-25 08:50:48 -07:00
vitaut
2ba3988da3 Reduce compiled code size when using variadic templates 2015-03-25 08:29:55 -07:00
vitaut
66915785dd Get rid of FMT_NORETURN because it breaks when FMT_EXCEPTIONS=0 2015-03-25 07:24:26 -07:00
vitaut
3c3ae4e319 MakeValue -> MakeArg 2015-03-25 07:04:16 -07:00
vitaut
00df5c91f3 Merge Value into Arg 2015-03-25 06:48:21 -07:00
vitaut
cf04d98d06 Pass as many types as possible in a single integer to reduce code bloat 2015-03-24 08:55:40 -07:00
vitaut
1addec97bc Rename _ERR to ERROR_STR
Identifiers beginning with an underscore and an uppercase letter are
reserved [17.4.3.2.1].
2015-03-21 20:16:36 -07:00
vitaut
da052ae821 Fix bogus warnings 2015-03-21 07:53:39 -07:00
Victor Zverovich
72aae04adf Merge pull request #141 from Shauren/master
Support formatting more than 16 arguments with printf API when using variadic templates
2015-03-21 06:29:53 -07:00
Shauren
a445e727c2 Added support to format more than 16 arguments with printf API when using variadic templates 2015-03-20 21:31:10 +01:00
vitaut
45bba4f129 Document protected members of Buffer 2015-03-20 06:46:39 -07:00
vitaut
73ea170966 Document the Buffer class 2015-03-20 06:42:55 -07:00
vitaut
906432161b Make Buffer part of the public API 2015-03-20 06:31:24 -07:00
vitaut
b9f4668855 Add missing pragma diagnostic push for clang
Thanks to @ido
2015-03-19 08:04:31 -07:00
vitaut
ba81f04bfa Turn verbose output off in travis 2015-03-19 08:03:20 -07:00