Commit Graph

3223 Commits

Author SHA1 Message Date
Victor Zverovich
b6bc6ec246 Add default ctor and fix use of constexpr macros in text_style 2018-12-07 07:22:18 -08:00
Victor Zverovich
acfa95d4a8 Workaround a bug in MSVC's strftime (#965) 2018-12-07 07:07:21 -08:00
Victor Zverovich
628f830583 More chrono formatting 2018-12-07 06:36:08 -08:00
Victor Zverovich
aa3b5aba41 Implement locale-specific minute formatting 2018-12-06 16:12:10 -08:00
Victor Zverovich
639de21757 Workaround more MSVC bugs 2018-12-06 12:16:04 -08:00
Victor Zverovich
3242ddf7b5 Fix warnings 2018-12-06 08:16:12 -08:00
Victor Zverovich
bd1104046b Workaround a bug in MSVC 2018-12-06 08:16:01 -08:00
Nicolas
81b5c4a5fd Add experimental emphasis support (#961) 2018-12-06 07:56:01 -08:00
Victor Zverovich
7c4eb0fbeb Fix warnings in time.h 2018-12-05 14:38:08 -08:00
Victor Zverovich
2d624218bf Fix another warning 2018-12-05 10:19:53 -08:00
Victor Zverovich
b31680990e Fix a warning 2018-12-05 09:49:39 -08:00
Victor Zverovich
b10ccb83e1 Add rpclib to projects 2018-12-05 06:42:33 -08:00
Victor Zverovich
0497875ff3 Stop the orgy of casts 2018-12-05 06:27:31 -08:00
Victor Zverovich
37dc495b9d Simplify MSVC workaround 2018-12-05 06:22:18 -08:00
liuping
2ff4996d05 Fix ambiguous complier error C2666 in vs2017.The '+' opeator may cause ambiguity.Avoid implicit conversion. 2018-12-05 05:55:43 -08:00
Florin Iucha
77656c672c Fix sign-conversion warnings reported by Clang7 2018-12-03 16:22:59 -08:00
Victor Zverovich
ea5e4790bd Fix formatting 2018-12-03 08:58:48 -08:00
Victor Zverovich
86681c4bb0
Update README.rst 2018-12-03 08:04:21 -08:00
Johan J
e867768ee6 Do not override user provided compile flag 2018-12-03 07:31:19 -08:00
Victor Zverovich
0c7f5c3ca4
Update README.rst 2018-12-02 08:22:51 -08:00
Daniela Engert
e7e2ab1070 Make return type of basic_format_args::max_size() consistent.
This squashes nasty narrowing conversion warnings.
2018-12-01 17:07:21 -08:00
Victor Zverovich
29352af369
Update README.rst 2018-12-01 08:19:20 -08:00
Victor Zverovich
68214bd904 More time formatting 2018-11-30 20:12:01 -08:00
Victor Zverovich
bcf3fcd673 Clean up bit fiddling for argument packing 2018-11-30 17:04:49 -08:00
Victor Zverovich
9dcf127fa5 Workaround a bogus MSVC warning 2018-11-30 13:47:04 -08:00
Victor Zverovich
b8b06e3e10 Fix conversion warnings in Grisu 2018-11-30 10:37:40 -08:00
Victor Zverovich
322b2594e0 Implement more time specifiers 2018-11-30 09:25:18 -08:00
hotwatermorning
0835f1ba3b Use full paths for fmt.pc.in 2018-11-30 06:17:33 -08:00
Victor Zverovich
a084495d7e Add Ceph to projects 2018-11-28 17:28:27 -08:00
Victor Zverovich
fa1d4dbcfd Fix warnings 2018-11-28 16:15:15 -08:00
Victor Zverovich
2b2cfdac19 Update docs 2018-11-28 12:53:09 -08:00
Victor Zverovich
99744f8f8f Suppress unfixable warning 2018-11-28 12:52:41 -08:00
Victor Zverovich
f5fe849238 Specialize formatter for chrono durations 2018-11-28 11:39:21 -08:00
Victor Zverovich
a5a9805a91 First stub at the datetime format parser 2018-11-25 17:25:22 -08:00
Victor Zverovich
645c76a9a5 Fix dummy warnings 2018-11-25 15:33:28 -08:00
Daniela Engert
fecb2d6f0d Eliminate msvc compiler warnings (#931)
The sheer presence of 'std::gmtime' or 'std::localtime' gives rise to C4996 warnings in Microsofts compilers. Alas, the 'fallback(internal::null<>)'functions containing these library calls are never ADL-picked in the respective 'handle(internal::null<>)' selectors. Therefore hiding the fallbacks from msvc is perfectly fine.
2018-11-25 13:48:52 -08:00
Victor Zverovich
64690d3a97 Add context_base::arg() 2018-11-24 10:49:48 -08:00
Victor Zverovich
01640f44cf Fully qualify dummy_int (#941) 2018-11-24 06:22:59 -08:00
tnovotny
e37d6a9840 add make_printf_args and make_wprintf_args functions (#934)
* add make_printf_args and make_wprintf_args to printf.h
add minimal test for make_printf_args and make_wprintf_args to printf-test.cc

renamed the old printf_context template to basic_printf_context_t. the original wish was to rename it basic_printf_context, but that clashed with the name of the inner typedef. this style matches the format_context_t struct.
2018-11-22 13:57:07 -08:00
Victor Zverovich
982ee5c699 parse_context -> format_parse_context 2018-11-21 07:10:22 -08:00
Victor Zverovich
b7b8548559 thousands_sep -> thousands_sep_impl (#939) 2018-11-20 15:43:17 -08:00
Victor Zverovich
00a8cc8325 Fix formatting 2018-11-20 07:43:40 -08:00
Andreas Schönle
33fbb3a7eb Fix remaining linker errors. 2018-11-20 07:01:21 -08:00
Andreas Schönle
bd6121596f Disable fmt-impl-test in windows + shared lib. 2018-11-20 07:01:21 -08:00
Andreas Schönle
702b3d1618 Fix link error in windows with shared library. 2018-11-20 07:01:21 -08:00
Andreas Schönle
9d4ef94350 Install pdb files. 2018-11-20 07:01:21 -08:00
Victor Zverovich
6c95fb3562 Default Context to format_context 2018-11-18 07:19:25 -08:00
christinaa
16b78ee629 fix incompatibilities with c++2a mode in clang 2018-11-17 08:38:04 -08:00
Victor Zverovich
19e008876b More locale support 2018-11-14 16:25:49 -08:00
Victor Zverovich
f2ee988105 Improve locale support 2018-11-14 12:07:39 -08:00