Commit Graph

5634 Commits

Author SHA1 Message Date
Victor Zverovich
596508a928 Cleanup 2021-08-26 20:56:28 -07:00
Victor Zverovich
043e3b3429 Remove static_assert from arg_mapper 2021-08-26 20:45:01 -07:00
Victor Zverovich
8b0cb944da Fix error reporting when mixing character types 2021-08-26 18:16:05 -07:00
Alexey Ochapov
117fc67077 CI: replace g++ C++20 build to test FP formatting at compile-time 2021-08-26 17:16:45 -07:00
Alexey Ochapov
c79a3841e8 make detail::fp and detail::bigit constexpr 2021-08-26 17:16:45 -07:00
Alexey Ochapov
5888de9f34 make detail::make_checked() constexpr 2021-08-26 17:16:45 -07:00
Alexey Ochapov
04b4b69b11 make detail::bit_cast() constexpr with C++20 2021-08-26 17:16:45 -07:00
Alexey Ochapov
fd34a3d246 make detail::basic_memory_buffer constexpr with C++20 2021-08-26 17:16:45 -07:00
Victor Zverovich
6d597e39c3 Fix overload ambiguity in arg_mapper 2021-08-26 16:54:27 -07:00
Victor Zverovich
b9ce56d936 Improve comments 2021-08-26 16:30:58 -07:00
Victor Zverovich
f889e52a15 Improve error reporting 2021-08-26 15:47:44 -07:00
Victor Zverovich
34caecd6b6 Use consistent initialization style 2021-08-23 10:10:56 -07:00
sunmy2019
a44c8f651b
reimplement formatter<tuple_join_view> (#2457)
* reimplement `formatter<tuple_join_view>`

1. completely reimplement `formatter<tuple_join_view<Char, T...>, Char>`
2. Add some tests

* use FMT_THROW
2021-08-23 09:51:19 -07:00
owent
4b8bda25c0 Fix 2462
Signed-off-by: owent <admin@owent.net>
2021-08-23 06:31:10 -07:00
Paul Dreik
6b5e6119ee set clang in one place 2021-08-22 17:52:45 -07:00
Paul Dreik
7af1dc1d27 fix UB in fuzzer common (memcpy on nullptr) 2021-08-22 17:52:45 -07:00
Paul Dreik
e77686f7a8 clang format
using clang format 11
2021-08-22 17:52:45 -07:00
Victor Zverovich
2207ea0b36 More escaping 2021-08-22 16:54:26 -07:00
Victor Zverovich
a212ff757f Escape invalid code points 2021-08-22 15:51:33 -07:00
Victor Zverovich
a76031e11d check -> is_printable 2021-08-22 13:23:38 -07:00
Victor Zverovich
a7f280765c Improve naming 2021-08-22 12:44:00 -07:00
Victor Zverovich
07d033ecb4 Fix is_printable 2021-08-22 10:37:18 -07:00
Victor Zverovich
cdb4299acb Add Unicode support to is_printable 2021-08-22 09:11:35 -07:00
Victor Zverovich
7df2c82a8a Rewrite printable.py codegen to emit C++ 2021-08-22 09:10:10 -07:00
Victor Zverovich
6cf90d7cee Add script license and fix python version 2021-08-22 08:17:58 -07:00
Victor Zverovich
2f1ad8ed3c Add printable codegen from Rust 2021-08-22 08:15:34 -07:00
Victor Zverovich
371d8e2ee0 Escape Unicode 2021-08-22 07:55:59 -07:00
Victor Zverovich
6397095ca4 More escaping 2021-08-21 16:36:25 -07:00
Victor Zverovich
f69a572538 Don't overescape wide strings 2021-08-19 17:25:16 -07:00
Victor Zverovich
11b07a56b2 We should escape 2021-08-19 14:50:59 -07:00
Victor Zverovich
b559cfd4c0 Implement basic escaping 2021-08-19 14:12:26 -07:00
Victor Zverovich
11d49491cb Handle global locale 2021-08-14 09:38:41 -07:00
Victor Zverovich
6ea6cf9464 Add decimal separator support to float 2021-08-14 09:16:26 -07:00
Victor Zverovich
9730a2af0a
Update ChangeLog.rst 2021-08-13 10:07:48 -07:00
Victor Zverovich
c2ed5f6863
Update ChangeLog.rst 2021-08-13 10:07:20 -07:00
Chris White
7b66e72e2c
Use builtin intrinsics on intel (#2450) 2021-08-11 06:22:02 -07:00
Victor Zverovich
d57b2a6525 Suppress a warning 2021-08-08 09:18:46 -07:00
Victor Zverovich
bdfbd794e3 Cleanup begin/end usage 2021-08-07 08:55:01 -07:00
Victor Zverovich
111de881fa Don't copy non-const-iterable ranges 2021-08-07 07:34:02 -07:00
Victor Zverovich
d6e882ed84 Undo the move because the doc is not a GH template 2021-08-06 11:22:33 -07:00
Cory Quammen
f488eed101 Resolve default constructor error in Xcode 7.2.1 and 8.2.1
Fix issue that produces the error 'default initialization of an object
of const type 'const detail::buffer_size' without a user-provided
default constructor'
2021-08-06 11:17:02 -07:00
Victor Zverovich
652c3653bb Move CONTRIBUTING.md to .github 2021-08-06 10:56:05 -07:00
Nikita Sobolev
fb19faa31b
Improves README with svg badge (#2446)
Looks much better now!
2021-08-05 06:50:15 -07:00
Vladislav Shchapov
07211701f4
Disable the -Wstringop-overflow warning from GCC 7 (#2442) 2021-08-02 14:20:18 -07:00
Victor Zverovich
bba0a9d962 Make flush public 2021-07-30 07:02:49 -07:00
Victor Zverovich
f1794a8853 Switch to threadsafe death test style 2021-07-29 06:56:38 -07:00
brm
0544a2279b
Exclude fallback functions when FMT_BUILTIN_CLZ(LL) is not defined (#2434) 2021-07-25 10:37:18 -07:00
Victor Zverovich
5c222f0561 Add support for nonconst formattable types 2021-07-24 09:53:53 -07:00
Spiros Tsalikis
3def950b84 Set FMT_CAN_MODULE=OFF for MSVC 19.29.30035+ 2021-07-23 09:35:09 -07:00
Spiros Tsalikis
63fe2d5bd2 Add copy constructor for dynamic_format_arg_store, and test 2021-07-23 09:35:09 -07:00