Victor Zverovich
|
f0328f8e36
|
Use char_traits::length in string_view ctor (#914)
|
2018-10-24 15:21:21 -07:00 |
|
Victor Zverovich
|
20c708bf6d
|
Fix build on gcc 4.4
|
2018-10-24 10:52:02 -07:00 |
|
Victor Zverovich
|
2d2326a76d
|
Fix compilation with older gcc
|
2018-10-23 07:31:24 -07:00 |
|
Victor Zverovich
|
1ec0272303
|
Get rid of FMT_UNION
|
2018-10-22 20:19:31 -07:00 |
|
Daniela Engert
|
2c81c851b2
|
Adapt any string-like type to be used by {fmt} just like the standard string types already supported. The adaption is totally non-intrusive.
Signed-off-by: Daniela Engert <dani@ngrt.de>
|
2018-10-22 18:25:52 -07:00 |
|
Victor Zverovich
|
13d472bd8c
|
Compute output size for grisu
|
2018-10-18 17:16:50 -07:00 |
|
Victor Zverovich
|
b71d3fe7ab
|
Remove use_grisu
|
2018-10-17 17:01:45 -07:00 |
|
Victor Zverovich
|
847abb6f8f
|
Fix test
|
2018-10-17 11:57:06 -07:00 |
|
Victor Zverovich
|
dda47c9466
|
Merge min_digits and max_digits
|
2018-10-17 10:49:30 -07:00 |
|
Victor Zverovich
|
2924622157
|
Fix naming of basic_format_specs members
|
2018-10-17 10:13:10 -07:00 |
|
Victor Zverovich
|
bda5f9a556
|
Replace grisu2_specs with core_format_specs
|
2018-10-17 08:55:45 -07:00 |
|
Victor Zverovich
|
b1ca608bac
|
Remove unused empty_spec
|
2018-10-17 08:39:58 -07:00 |
|
Victor Zverovich
|
e8efdef8de
|
Avoid extra copy
|
2018-10-17 08:19:46 -07:00 |
|
Victor Zverovich
|
98f1c1fe87
|
Remove unused code
|
2018-10-14 15:36:45 -07:00 |
|
Victor Zverovich
|
50b18a3c10
|
Integrate Grisu
|
2018-10-14 14:33:25 -07:00 |
|
Victor Zverovich
|
699297520a
|
Implement Grisu rounding
|
2018-10-13 11:18:54 -07:00 |
|
Victor Zverovich
|
4bb76ef0c7
|
Remove redundant definition of print
|
2018-10-13 11:15:46 -07:00 |
|
Victor Zverovich
|
ddd7caf38e
|
Fix locale-dependent formatting (#905)
|
2018-10-13 11:15:41 -07:00 |
|
Victor Zverovich
|
08a65c2282
|
Workaround broken constexpr in MSVC2017
|
2018-10-11 06:38:25 -07:00 |
|
Victor Zverovich
|
57983423c3
|
Remove signbit workaround
|
2018-10-10 09:41:46 -07:00 |
|
superfunc
|
939fbe5567
|
Remove basic_fixed_buffer.
Issue #873 indicates that this class is no longer required,
as it has been superseded by a new API.
Fixes #873
|
2018-10-09 06:51:01 -07:00 |
|
Daniela Engert
|
f27defc639
|
Parameterize printf functions on the type of the format string.
Signed-off-by: Daniela Engert <dani@ngrt.de>
|
2018-10-08 06:22:04 -07:00 |
|
Daniela Engert
|
6a685571df
|
Make 'std::*::basic_string_view' a valid argument type for 'format_str' parameters.
Signed-off-by: Daniela Engert <dani@ngrt.de>
|
2018-10-08 06:12:02 -07:00 |
|
Victor Zverovich
|
87a0408c64
|
Fix ostream.h build
|
2018-10-07 12:58:20 -07:00 |
|
Victor Zverovich
|
2b5acad4a9
|
Remove redundant size argument to write_padded
|
2018-10-07 12:45:34 -07:00 |
|
Victor Zverovich
|
655ce53383
|
is_format_string -> is_string
|
2018-10-07 12:45:22 -07:00 |
|
Daniela Engert
|
fea712abb1
|
Parameterize ostream functions on the type of the format string.
Signed-off-by: Daniela Engert <dani@ngrt.de>
|
2018-10-07 09:21:14 -07:00 |
|
Daniela Engert
|
f16a118e88
|
Fix non-matching char types.
Signed-off-by: Daniela Engert <dani@ngrt.de>
|
2018-10-07 05:56:21 -07:00 |
|
Victor Zverovich
|
041bf83d9b
|
Improve fmt::format readability
|
2018-10-05 18:42:02 -07:00 |
|
Victor Zverovich
|
f5480635c0
|
visit -> visit_format_arg
|
2018-10-05 07:15:41 -07:00 |
|
Victor Zverovich
|
cdf3fa08dc
|
Put related code together in fmt/core.h
|
2018-10-04 19:44:09 -07:00 |
|
Victor Zverovich
|
38325248e5
|
Count width in code points (#628)
|
2018-10-03 20:09:46 -07:00 |
|
Daniela Engert
|
deb901b9e4
|
Parameterize core functions on the type of the format string.
Take #2 of n
Signed-off-by: Daniela Engert <dani@ngrt.de>
|
2018-10-03 14:19:08 -07:00 |
|
Victor Zverovich
|
0f98de3011
|
Update docs
|
2018-10-03 12:07:55 -07:00 |
|
Victor Zverovich
|
c797708fcc
|
Workaround strlen being non-constexpr in ARM toolchain
|
2018-10-03 09:23:49 -07:00 |
|
Victor Zverovich
|
63a87beba4
|
Add to_string_view
|
2018-10-01 18:48:18 -07:00 |
|
Victor Zverovich
|
4e0c314654
|
checked_format_args -> checked_args
|
2018-10-01 07:14:59 -07:00 |
|
Victor Zverovich
|
c3538a1eee
|
Simplify variadic functions further
|
2018-09-30 22:19:32 -07:00 |
|
Victor Zverovich
|
2d7d0835d7
|
Simplify variadic functions
|
2018-09-30 21:52:47 -07:00 |
|
Victor Zverovich
|
3f4cfa6c60
|
Implement UTF-8 string support
|
2018-09-30 15:45:58 -07:00 |
|
Victor Zverovich
|
f8027414f5
|
Impelement char8_t support
|
2018-09-30 12:31:25 -07:00 |
|
Victor Zverovich
|
76a47d41c8
|
Cleanup the use of FMT_CHAR
|
2018-09-30 08:45:57 -07:00 |
|
Daniela Engert
|
267fdc7a1b
|
Parameterize core functions on the type of the format string.
Take #1 of n
Signed-off-by: Daniela Engert <dani@ngrt.de>
|
2018-09-30 08:40:58 -07:00 |
|
Victor Zverovich
|
5bced12421
|
Parameterize more functions on string type
|
2018-09-30 08:02:19 -07:00 |
|
Steven Hoving
|
674999c527
|
fix vs2017 warning fmt::v5::localtime 'not all control paths return a value'.
|
2018-09-30 07:23:35 -07:00 |
|
Victor Zverovich
|
e4fea22d15
|
Make char8_t a strongly-typed enum
|
2018-09-30 07:11:37 -07:00 |
|
Victor Zverovich
|
66992e90d2
|
Clarify that writing to memory_buffer appends (#877)
|
2018-09-28 06:22:12 -07:00 |
|
Guillaume Fraux
|
e864acfdbd
|
Fix compilation with intel compilers (ICC/ICPC) v14.0
|
2018-09-27 07:11:23 -07:00 |
|
Daniela Engert
|
4cf21f58b2
|
constrain templated format_to on proper format string type.
Signed-off-by: Daniela Engert <dani@ngrt.de>
|
2018-09-26 21:05:47 -07:00 |
|
Victor Zverovich
|
d7f17613f5
|
Fix compilation on platforms with exotic double (#878)
|
2018-09-26 08:45:34 -07:00 |
|