Commit Graph

3302 Commits

Author SHA1 Message Date
Victor Zverovich
8428621ddc BasicWriter -> basic_writer 2016-12-30 12:26:12 -08:00
Jean-Charles Lefebvre
e1689cb985 Custom FormatSpec (#439) (#444)
* A custom FormatSpec type can be passed as a template argument to the ArgFormatter chain (#439)

* Corrected nested-name-specifier error

* Spec template argument defaulted to FormatSpec

* Forward declaration of FormatSpec

* Style

* Style (part 2)

* Style (part 3)
2016-12-30 11:29:40 -08:00
Victor Zverovich
939aff2936 Remove unnecessary template arg from basic_format_args 2016-12-30 10:19:38 -08:00
Victor Zverovich
f69786a715 Remove Not 2016-12-30 09:29:41 -08:00
Victor Zverovich
b2a0d8914a Merge value and MakeValue 2016-12-30 09:25:01 -08:00
Victor Zverovich
acd1811c50 Value -> value 2016-12-30 08:05:26 -08:00
Victor Zverovich
42a319074c Parameterize Value on context 2016-12-29 18:07:05 -08:00
Victor Zverovich
a4d6cb32d1 Clean up basic_format_arg 2016-12-29 17:17:18 -08:00
Eric Fiselier
b9aaa507fc Don't export the -std=c++11 flag from the fmt target 2016-12-29 16:04:16 -08:00
Victor Zverovich
d705d51671 Parameterize basic_format_arg on context (#442) 2016-12-29 15:25:22 -08:00
Victor Zverovich
02553d13a0 Use https to fetch dependencies from github 2016-12-29 10:44:02 -08:00
Victor Zverovich
422236af7c Don't erase writer type 2016-12-28 07:55:33 -08:00
Victor Zverovich
abb6996f36 MakeArg -> make_arg 2016-12-27 07:55:44 -08:00
Victor Zverovich
ee1651ce07 Handle empty format_arg state 2016-12-27 07:43:25 -08:00
Victor Zverovich
3bbc5799b6 Fix MinGW build 2016-12-26 12:20:49 -08:00
Victor Zverovich
63fcfc5798 Fix build on older gcc 2016-12-26 10:55:30 -08:00
Andrey Glebov
db780cb119 Add std::basic_string allocator support to StringRef, StringBuffer and relatives (#441)
* - added basic_string allocator support to BasicStringRef, BasicCStringRef, BasicWriter::str, StringBuffer and BasicStringWriter

* - removed templated str() and to_string() function
- code style fixes
2016-12-26 08:36:56 -08:00
Victor Zverovich
d86e51e9c1 Don't inherit basic_format_arg from internal::Value 2016-12-24 07:46:50 -08:00
Victor Zverovich
f05888692c Fix handling of unpacked args (#437) 2016-12-23 08:24:48 -08:00
Victor Zverovich
1183621867 Add support for exotic character types 2016-12-15 08:36:18 -08:00
Victor Zverovich
763ca9780f Parameterize Value on character type 2016-12-15 08:26:10 -08:00
Victor Zverovich
6cba8fe9ba Move stuff out of internal::Value 2016-12-15 07:51:40 -08:00
Victor Zverovich
fac5546321 Fix test compilation for FreeBSD (#433) 2016-12-14 06:28:41 -08:00
Victor Zverovich
e1ee5bf0ba Replace StringValue with StringRef 2016-12-11 21:13:54 -08:00
Victor Zverovich
0854f8c3bf Parameterize formatting argument on char type. 2016-12-11 15:43:11 -08:00
Victor Zverovich
9cf6c8fdc6 Get rid of fmt::internal::Arg 2016-11-26 10:21:31 -08:00
Victor Zverovich
5f022ae081 Remove FMT_DISPATCH 2016-11-20 10:14:23 -08:00
Victor Zverovich
41d4bcf0cc Ingore Xcode files 2016-11-20 10:13:16 -08:00
Victor Zverovich
284297019f Merge BasicArgFormatter and ArgFormatter 2016-11-20 09:36:27 -08:00
Victor Zverovich
d4084ac5b1 Get rid of ArgVisitor 2016-11-20 09:11:13 -08:00
Victor Zverovich
d58cc8a4a8 Merge BasicPrintfArgFormatter and PrintfArgFormatter 2016-11-20 07:42:38 -08:00
Victor Zverovich
796beaaddb Fix collision with global convert function (#425) 2016-11-19 12:05:49 -08:00
Victor Zverovich
e2dfd39c75 Update arg visitors 2016-11-19 09:29:09 -08:00
Victor Zverovich
751ff64bdb Update ArgConverter to the new visitor API 2016-11-19 08:40:24 -08:00
Victor Zverovich
c9dc41ab3f Replace ArgVisitor::visit with a free visit function 2016-11-19 07:59:54 -08:00
Victor Zverovich
caa60b9c99 Update comment 2016-11-19 07:41:28 -08:00
Victor Zverovich
95a53e1f62 Refactor argument visitor API (#422) 2016-11-19 07:39:07 -08:00
Victor Zverovich
def687462c Fix signbit detection (#423) 2016-11-14 20:14:52 -08:00
Victor Zverovich
6d24116763 Improve visitor API 2016-11-13 09:42:17 -08:00
alabuzhev
25f8ad13dd Correction of 418 (#420) 2016-11-11 18:27:39 +01:00
alabuzhev
1d2049b53e Issue #418 - Minimal supported library subset (#419) 2016-11-10 20:29:12 +01:00
Victor Zverovich
f5b1c16e2c Add version macro FMT_VERSION (#411) 2016-11-07 19:04:44 -08:00
Victor Zverovich
a1dd524b6f format_arg -> do_format_arg 2016-11-07 18:22:21 -08:00
Victor Zverovich
55a1ac5035 Fix test 2016-11-07 08:55:40 -08:00
Victor Zverovich
85793a18cd Simplify API 2016-11-06 19:27:14 -08:00
Victor Zverovich
9998f66f8c Replace formatter with context 2016-11-06 18:59:17 -08:00
Victor Zverovich
cfd00af37a Fix warnings on C++98 2016-11-06 12:58:49 -08:00
Victor Zverovich
6274401919 Fix warnings 2016-11-06 12:37:31 -08:00
Victor Zverovich
2fa4655af6 Fix warning in FMT_STATIC_ASSERT on older GCC (#414) 2016-11-06 11:48:01 -08:00
Jonathan Müller
8cef95f7c3 Create pull_request_template 2016-11-06 20:22:43 +01:00