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
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
bc628f8d49
Fix EXPECT_DEBUG_DEATH_IF_SUPPORTED ( #1214 )
2019-07-04 07:55:36 -07:00
Victor Zverovich
edd13fcc1c
Fix small number rounding with fixed precision in grisu
2019-07-04 07:11:40 -07:00