Commit Graph

184 Commits

Author SHA1 Message Date
Victor Zverovich
ec4f5175f1 Replace Range with ParseContext in parse() 2017-09-16 17:07:03 -07:00
Victor Zverovich
8a2bc0ab1b Add nullptr support 2017-09-04 11:10:08 -07:00
Victor Zverovich
80505995d0 Allow delayed type checking 2017-09-04 09:33:22 -07:00
Victor Zverovich
47c84d7974 Move part of write API (spec factories) to a separate header 2017-08-27 09:08:44 -07:00
Victor Zverovich
20168147dd Add ptr, a helper function for pointer formatting 2017-08-27 08:41:28 -07:00
Victor Zverovich
5e0562ab51 Separate parsing and formatting 2017-08-13 13:09:02 -07:00
Victor Zverovich
1102d46508 Make format spec parsing context-independent 2017-07-30 08:58:24 -07:00
Victor Zverovich
45911770c5 Separate parsing and formatting in extension API 2017-07-29 07:50:16 -07:00
Victor Zverovich
2f4f49fd60 Switch from cstring_view to string_view 2017-07-22 08:24:37 -07:00
Victor Zverovich
12252152ac CStringRef -> cstring_view 2017-03-26 15:13:10 -07:00
Victor Zverovich
32ec13f149 Switch to C++ locale 2017-03-25 08:20:06 -07:00
Victor Zverovich
c333dca065 Follow standard naming conventions 2017-02-21 06:56:26 -08:00
Victor Zverovich
6a2ff287b2 Follow standard naming conventions 2017-02-19 08:05:41 -08:00
Victor Zverovich
eedfd07f8b internal::MemoryBuffer -> basic_memory_buffer 2017-02-18 09:13:12 -08:00
Victor Zverovich
50e716737d StringRef -> string_view, LongLong -> long_long 2017-02-18 07:34:52 -08:00
Victor Zverovich
c2f021692f Merge ArrayWriter into FixedBuffer 2017-02-17 06:09:26 -08:00
Victor Zverovich
fefaf07b6f Pass buffer instead of writer to format_value 2017-02-14 19:39:34 -05:00
Victor Zverovich
a13b96ed88 Simplify API 2017-02-05 06:54:03 -08:00
Victor Zverovich
624c58682d Simplify API 2017-02-05 06:41:39 -08:00
Victor Zverovich
296e9cada2 FrmatSpec -> format_spec 2017-01-28 12:51:35 +00:00
Victor Zverovich
984a102921 Remove IntFormatSpec and StrFormatSpec 2017-01-28 04:26:48 -08:00
Victor Zverovich
4863730eca Remove pad 2017-01-22 19:11:47 -08:00
Victor Zverovich
aea5d3ab00 Improve compatibility with older gcc and update tests 2017-01-22 11:50:52 -08:00
Victor Zverovich
ec15ef7b7b Replace operator<< with write function 2017-01-22 10:00:34 -08:00
Victor Zverovich
8428621ddc BasicWriter -> basic_writer 2016-12-30 12:26:12 -08:00
Victor Zverovich
422236af7c Don't erase writer type 2016-12-28 07:55:33 -08:00
Victor Zverovich
f05888692c Fix handling of unpacked args (#437) 2016-12-23 08:24:48 -08:00
Victor Zverovich
6cba8fe9ba Move stuff out of internal::Value 2016-12-15 07:51:40 -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
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
2bba420337 Pass writer directly to format_value (#400) 2016-10-26 17:54:11 -07:00
Victor Zverovich
b656a1c133 Make value the second argument to format_value 2016-10-25 06:19:19 -07:00
Victor Zverovich
edf98792a5 Pass writer to format_value 2016-10-25 05:55:40 -07:00
Victor Zverovich
f85d5f4dac BasicFormatter -> basic_formatter 2016-10-22 08:04:20 -07:00
Victor Zverovich
18dfa257d0 Pass correct formatters to make_format_args 2016-10-21 06:46:21 -07:00
Victor Zverovich
dafbec7553 Fix type safety when using custom formatters (#394) 2016-10-07 08:37:06 -07:00
Victor Zverovich
65a8c2c343 format_arg -> format_value 2016-10-02 08:49:10 -07:00
Victor Zverovich
209a1d58bf Get rid of macros 2016-08-27 09:06:21 -07:00
Victor Zverovich
0d8aca8de3 Get rid of FMT_VARIADIC_VOID 2016-08-27 08:16:49 -07:00
Victor Zverovich
4ece95a754 Make make_format_args public 2016-08-27 07:57:48 -07:00
Victor Zverovich
0028ce57b6 Get rid of FMT_VARIADIC 2016-08-26 17:23:13 -07:00
Victor Zverovich
fc73e10620 ArgList -> format_args 2016-08-25 08:50:07 -07:00
Victor Zverovich
9bb213e920 FormatError -> format_error 2016-08-25 08:38:07 -07:00
Victor Zverovich
a79c7b4e8f Fix handling of unsigned char strings (#373) 2016-08-23 08:42:25 -07:00
Victor Zverovich
f19d8f9655 Improve error reporting (#357) 2016-08-16 07:08:53 -07:00
Victor Zverovich
1a23f9c274 Correct buffer growth when formatting time (#367) 2016-08-04 08:47:59 -07:00
Victor Zverovich
8631694021 check -> const_check to avoid a conflict with AssertMacros.h (#350) 2016-07-12 06:40:23 -07:00