Commit Graph

3856 Commits

Author SHA1 Message Date
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
544b537334 Update changelog 2019-08-10 10:01:23 -07:00
Victor Zverovich
83c13a1fe3 Update changelog 2019-08-10 09:56:13 -07:00
Victor Zverovich
2546dafece Update changelog 2019-08-10 09:25:16 -07:00
Victor Zverovich
02c04b1736 Update changelog 2019-08-10 07:59:33 -07:00
Victor Zverovich
5360ab0b59 Fix iteration over named arguments (#1168) 2019-08-09 11:53:07 -07:00
Victor Zverovich
b615eca964 Update changelog 2019-08-05 05:37:44 -07:00
Victor Zverovich
22a42c0b01 Cleanup compile implementation 2019-08-04 11:15:43 -07:00
Victor Zverovich
c63624ed45 Update changelog 2019-08-04 10:38:33 -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
ef55e74e08 Update changelog 2019-08-04 09:20:49 -07:00
Victor Zverovich
612669d343 Update changelog 2019-08-04 07:28:48 -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
Kais Ben Salah
d0f2f3b816 Update usage.rst 2019-07-27 20:25:40 +03: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
25ff2efc0a Update changelog 2019-07-25 19:59:59 +03:00
Victor Zverovich
9393fe26f6 prepare -> compile 2019-07-25 19:39:41 +03:00
Victor Zverovich
b48ffc14a4 Update changelog 2019-07-25 18:44:40 +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
Jonathan Wakely
1235f0a24a Fix typo in usage.rst 2019-07-24 15:54:02 +02:00
Victor Zverovich
4fb73d1145
Update README.rst 2019-07-21 15:28:48 +02:00
Victor Zverovich
f9ceefb0fe Fix a warning and is_negative usage 2019-07-19 14:18:10 +02: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
da2d33f1f1 Update changelog 2019-07-12 16:21:13 -07:00
Victor Zverovich
af4734fd15 Fix warnings 2019-07-12 16:03:12 -07:00
Victor Zverovich
a3a74672a0 Update signatures 2019-07-09 17:05:34 -07:00
Victor Zverovich
c11e68305f Update signatures 2019-07-09 17:01:13 -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