Commit Graph

802 Commits

Author SHA1 Message Date
Victor Zverovich
d29e505568 Move PrintfParser from BasicWriter to the internal namespace. 2014-06-30 07:12:09 -07:00
Victor Zverovich
e63a0ff125 Deprecate c_str() and str(). 2014-06-30 06:43:53 -07:00
Victor Zverovich
90e6faffa0 Document ArgList. 2014-06-30 06:27:26 -07:00
Victor Zverovich
ba70b30d7e Move BasicArg & make_arg from BasicWriter to the internal namespace. 2014-06-30 06:19:20 -07:00
Victor Zverovich
21111cc954 MakeArg -> make_arg. Move printf out of Writer. 2014-06-29 19:52:26 -07:00
Victor Zverovich
f6d481f120 Improve example. 2014-06-29 14:22:53 -07:00
Victor Zverovich
afc760263e Update example. 2014-06-29 12:04:28 -07:00
Victor Zverovich
e882db900d Fix rendering. 2014-06-29 12:01:23 -07:00
Victor Zverovich
c673c84905 Fix rendering. 2014-06-29 12:00:14 -07:00
Victor Zverovich
5fe01fd096 Correct example. 2014-06-29 11:59:38 -07:00
Victor Zverovich
ba65bc1ec6 Update readme. 2014-06-29 11:58:21 -07:00
Victor Zverovich
7955dc479c Update readme. 2014-06-29 11:57:36 -07:00
Victor Zverovich
9d5905707a Update docs. 2014-06-29 11:51:27 -07:00
Victor Zverovich
a1264926a0 Writer::format -> Writer::write. Make fmt::format return string. 2014-06-29 11:51:10 -07:00
Victor Zverovich
d5b8196749 Update the API. 2014-06-28 21:56:40 -07:00
Victor Zverovich
856e129cc6 Don't use deprecated API. 2014-06-28 20:03:46 -07:00
Victor Zverovich
c649007ed8 Don't use deprecated API. 2014-06-28 19:59:44 -07:00
Victor Zverovich
0914c91284 Don't use deprecated API. 2014-06-28 19:53:15 -07:00
Victor Zverovich
421cb0ad18 Update test. 2014-06-28 19:47:41 -07:00
Victor Zverovich
2e03963e9e Add fmt::print. Undocument and deprecate old API. 2014-06-28 19:44:39 -07:00
Victor Zverovich
8dbfd723b6 Add another project using cppformat. 2014-06-28 19:17:13 -07:00
Victor Zverovich
ddbd50de4a Fix build. 2014-06-28 17:44:52 -07:00
Victor Zverovich
4d5b1e8a13 Update the API and tests. 2014-06-28 17:35:57 -07:00
Victor Zverovich
876a5d1f43 Update more tests. 2014-06-28 16:05:02 -07:00
Victor Zverovich
e06e9f885c Deprecate Format and update tests. 2014-06-28 15:58:02 -07:00
Victor Zverovich
09f40191f4 Fix build, take 2. 2014-06-28 14:57:06 -07:00
Victor Zverovich
c164cb6ecd Fix build. 2014-06-28 14:53:16 -07:00
Victor Zverovich
75e078748a Format -> format 2014-06-28 14:50:16 -07:00
Victor Zverovich
5edda531f6 Add fmt::format and deprecate fmt::Format. 2014-06-28 14:48:42 -07:00
Victor Zverovich
428d114766 Complete FMT_VARIADIC. 2014-06-28 13:31:44 -07:00
Victor Zverovich
9c8db26457 Fix build, take 2. 2014-06-28 13:06:49 -07:00
Victor Zverovich
3b3f76b809 Fix build. 2014-06-28 13:03:39 -07:00
Victor Zverovich
4f4e6c965f Fix MSVC build. FormatError -> FormatMessage to avoid ambiguity. 2014-06-28 12:49:51 -07:00
Victor Zverovich
5aa36285b1 Try another MSVC workaround. 2014-06-28 12:14:43 -07:00
Victor Zverovich
a0e2f52247 MSVC workaround. 2014-06-28 12:05:32 -07:00
Victor Zverovich
ce09e7e348 Simplify FMT_FOR_EACH. 2014-06-28 11:43:07 -07:00
Victor Zverovich
e4c2475318 MSVC workaround. 2014-06-28 11:36:49 -07:00
Victor Zverovich
3b18ecb24a FMT_FOR_EACH_NARG -> FMT_NARG. 2014-06-28 11:30:15 -07:00
Victor Zverovich
be7473b401 Test FMT_VARIADIC. 2014-06-28 11:20:04 -07:00
Victor Zverovich
2f6dddd6fd Simplify FMT_VARIADIC. 2014-06-28 11:07:43 -07:00
Victor Zverovich
360bfbdd50 Use 0-based indices. Test FMT_FOR_EACH*. 2014-06-28 10:32:37 -07:00
Victor Zverovich
bf25ef6455 FMT_TEMPLATE -> FMT_WRAP 2014-06-28 09:15:51 -07:00
Victor Zverovich
08e2dffa86 Add macro test. 2014-06-25 07:50:33 -07:00
Victor Zverovich
ef34eb6ec2 Emulate variadic functions on older compilers. 2014-06-25 07:50:16 -07:00
Victor Zverovich
2f752abe97 Add FMT_VARIADIC_VOID to emulate variadic functions on old compilers. 2014-06-24 19:27:26 -07:00
Victor Zverovich
8198df84f0 Suppress warnings about variadic macros. 2014-06-24 13:01:44 -07:00
Victor Zverovich
55f6640cae Fix test. 2014-06-24 11:13:18 -07:00
Victor Zverovich
a062f94ab0 Workaround a bug in VC++ variadic macro implementation. 2014-06-24 11:09:07 -07:00
Victor Zverovich
302b8f4406 Fix MSVC build, take 2. 2014-06-24 10:46:01 -07:00
Victor Zverovich
73fda2a8b1 Fix error on MSVC. 2014-06-24 10:30:37 -07:00