Commit Graph
1537 Commits
Author SHA1 Message Date
Victor Zverovich 45dc3486fe Update license 2019-08-22 08:37:36 -07:00
Victor Zverovich b2d4ca1546 Workaround an issue with std::filesystem::path being an infinitely deep range (#1268) 2019-08-21 11:22:59 -07:00
Victor Zverovich c1e97392be Fix warnings 2019-08-11 08:44:12 -07:00
Victor Zverovich e8219952c6 Restrict fmt::compile to literal strings
to make sure we don't break the API too much when making all of this
compile-time only.
2019-08-10 13:18:11 -07:00
Victor Zverovich 5360ab0b59 Fix iteration over named arguments (#1168) 2019-08-09 11:53:07 -07:00
Victor Zverovich 22a42c0b01 Cleanup compile implementation 2019-08-04 11:15:43 -07:00
Victor Zverovich 211d312406 Don't terminate on I/O errors in report_error 2019-08-04 09:38:47 -07:00
Victor Zverovich ba63ac8c18 Make format_to a non-member 2019-08-04 06:47:49 -07:00
Victor Zverovich 3fe49163bd Revert "Make format_to a non-member"
This reverts commit a5bd3ddb28.
2019-08-03 16:12:34 -07:00
Victor Zverovich a5bd3ddb28 Make format_to a non-member 2019-08-03 08:36:53 -07:00
Victor Zverovich 3df0ea34e5 Remove unnecessary overloads 2019-08-03 08:26:51 -07:00
Victor Zverovich 436acf3489 Make formatted_size & format_to_n non-members 2019-08-03 07:54:49 -07:00
Victor Zverovich 823128049b Make format a non-member 2019-08-03 06:31:24 -07:00
Charles Milette 1dfa2591b3 Make operator _a constexpr 2019-08-01 16:56:49 -07:00
Charles Milette 6f2dd30e38 Simplify udl_formatter return type 2019-08-01 16:56:49 -07:00
Charles Milette 431d0f85cf Use basic_string_view in non-template UDL 2019-08-01 16:56:49 -07:00
Charles Milette ad71f5a706 Use forwarding references in UDL template 2019-08-01 16:56:49 -07:00
Victor Zverovich eac2796ce3 Fix locale detection 2019-07-26 12:13:05 +03:00
Victor Zverovich ee36257469 Internalize format_part 2019-07-26 09:02:45 +03:00
Victor Zverovich bbf0bada33 Simplify compile 2019-07-26 07:58:19 +03:00
Victor Zverovich 3730b4f039 Cleanup compile implementation 2019-07-25 21:26:22 +03:00
Victor Zverovich 9393fe26f6 prepare -> compile 2019-07-25 19:39:41 +03:00
Victor Zverovich 3268531bc9 Workaround a broken C locale on Windows 2019-07-25 12:55:23 +03:00
Jack Andersen 8bd59ec936 Use fputws for outputting wide strings
Also adds fwide byte/wide orientation checking to verify streams are
able to receive the character type in question.

On Windows, the fwide calls are no-ops that pass through the second
arg and optimize out the if statement entirely.
2019-07-25 10:29:32 +03:00
Victor Zverovich 6bcc3fd216 Fix warnings 2019-07-19 13:27:41 +02:00
Victor Zverovich 6a497e1d06 Fix warnings 2019-07-19 06:18:46 +02:00
Victor Zverovich e9b9b0aefa clang-format 2019-07-18 06:28:53 +02:00
Victor Zverovich ec24342b2b Fix more warnings 2019-07-18 06:28:17 +02:00
Victor Zverovich 230b24944c Fix sign conversion warnings 2019-07-17 21:18:55 +02:00
Daan De Meyer cadd92d69f Fix #1232. 2019-07-17 11:52:10 +02:00
Daan De Meyer 41076d1de3 Use FMT_THROW in fmt/color.h.
This allows fmt to be compiled with `-fno-exceptions`.
2019-07-17 10:15:31 +02:00
Jack Andersen d561cb47a7 Opt-in macro to enforce use of compile-time format strings 2019-07-16 07:08:59 +02:00
Jack Andersen 699fe8e711 Remove const qualification in compile-time checks 2019-07-15 09:20:16 +02:00
Victor Zverovich af4734fd15 Fix warnings 2019-07-12 16:03:12 -07:00
Victor Zverovich dd8cc8b0ba Disallow passing views as lvalues 2019-07-09 12:18:48 -07:00
Victor Zverovich f6f0415b83 typedef -> using 2019-07-07 17:14:26 -07:00
Victor Zverovich c92dc37464 typedef -> using 2019-07-07 15:40:34 -07:00
Victor Zverovich e3f20d3e13 Remove gcc 4.4 workaround and use proper alias templates (#940) 2019-07-07 14:35:56 -07:00
Victor Zverovich b438812324 Clean up is_output_iterator 2019-07-07 12:59:55 -07:00
Victor Zverovich bc15e3700e typedef -> using 2019-07-07 10:44:06 -07:00
Victor Zverovich cf5ebf2059 Cleanup 2019-07-07 10:09:22 -07:00
Victor Zverovich 9c20e72de3 Cleanup 2019-07-07 07:58:30 -07:00
Victor Zverovich 79209598f5 core_format_specs -> sprintf_specs 2019-07-07 06:54:25 -07:00
Victor Zverovich 5488d0b53a spec -> specs 2019-07-07 06:39:20 -07:00
Victor Zverovich e4f84ee1c6 Refactor format_specs for #1109 and #940
Refactor `format_specs` and related APIs to support variable-width fill
(#1109), improve naming consistency, remove legacy setters (#940), and
optimize layout.
2019-07-06 20:57:40 -07:00
Victor Zverovich 8e0dcd20b3 Remove old deprecated functions 2019-07-06 07:55:52 -07:00
Victor Zverovich 1d3e3d8c04 Make the 'n' format specifier work with grisu disabled 2019-07-04 15:15:14 -07:00
Victor Zverovich edd13fcc1c Fix small number rounding with fixed precision in grisu 2019-07-04 07:11:40 -07:00
Victor Zverovich 6a031347e5 Remove unnecessary qualification 2019-07-03 21:14:45 -07:00
Victor Zverovich bc14c6ee20 Use the decimal point from locale 2019-07-03 17:55:00 -07:00