Commit Graph

5769 Commits

Author SHA1 Message Date
Victor Zverovich
a126b4d888 Check if right shift is arithmetic 2022-01-11 08:23:30 -08:00
Victor Zverovich
9ff91b18cd Simplify write_fractional_seconds 2022-01-09 15:08:46 -08:00
Victor Zverovich
d9f045fba1 Fix a UB in chrono 2022-01-09 14:06:13 -08:00
Barry Revzin
c06bef7273
Adding comments for range formatting. (#2706)
* Adding comments for range formatting.

* Adding missing quotes
2022-01-08 16:37:21 -08:00
Victor Zverovich
3c98f1a4cd Comment style 2022-01-08 09:52:39 -08:00
Barry Revzin
6e0f1399d7
Supporting nested format specs for ranges. (#2673)
* Supporting nested format specs for ranges.

* I dedicate this commit to Eric Niebler.

* clang-format

* PR comments.

* throw -> FMT_THROW

* Need to map every element too.

* Clarifying uncvref_type

* Trying to add a workaround for MSVC.
2022-01-08 09:48:26 -08:00
Alex Guteniev
0102101acc
Make colored print handle UTF-8 (#2701)
* Fix #2681 - Make detail::print handle UTF-8

* Okay, let's do this Windows-only

* drop extra \0

* yay we can throw!
2022-01-06 16:10:53 -08:00
Victor Zverovich
4ac5269b4f
Update ChangeLog.rst 2022-01-06 15:03:01 -08:00
Victor Zverovich
b6f4ceaed0 Update version 2022-01-06 14:35:15 -08:00
Victor Zverovich
15f812dae8 Update changelog 2022-01-06 14:13:01 -08:00
Victor Zverovich
6884aab49b Update changelog 2022-01-06 12:38:33 -08:00
Victor Zverovich
88ec4e7061 Bump version 2022-01-06 12:32:43 -08:00
Victor Zverovich
dd3d2490ed Update changelog 2022-01-06 12:07:13 -08:00
Victor Zverovich
739055ae7b Fix apidocs 2022-01-06 11:06:39 -08:00
Victor Zverovich
dbbd711f46 Suppress a warning 2022-01-05 09:41:35 -08:00
Victor Zverovich
98cbb6a43c Fix ABI compatiblity issue 2022-01-05 08:08:38 -08:00
Vladislav Shchapov
214cf13f17
Fix endianness bug in write_digit2_separated (#2699)
* Fix endianness bug in write_digit2_separated

* Move endianness check to compile time if it possible

* Turn 8 into a constant
2022-01-04 14:23:42 -08:00
Julian Rüth
17a5c808da
Restore FMT_API on error_handler::on_error() (#2696)
this fixes a breaking ABI change that was introduce in the upgrade from
8.0.1 to 8.1.0.

Fixes #2695.
2022-01-04 10:53:44 -08:00
Richard Berger
fc1783fcc6
Avoid undefined symbols with mingw-w64 (#2692)
Fixes issue #2691
2022-01-03 15:29:29 -08:00
Victor Zverovich
1b193e7b37 Deprecate more 2022-01-03 11:13:09 -08:00
Victor Zverovich
8e59744b8d Switch to new github auth mechanism 2022-01-02 09:29:42 -08:00
Victor Zverovich
7081a6aa34 Update version 2022-01-02 09:01:32 -08:00
Victor Zverovich
64dc8fbada Bump version 2022-01-02 08:34:01 -08:00
Victor Zverovich
fc8e3de7db Fix manage.py script 2022-01-02 08:22:25 -08:00
Victor Zverovich
57bee9fcdd Fix formating 2022-01-02 08:09:55 -08:00
Victor Zverovich
dce52e491e Update changelog 2022-01-02 08:02:45 -08:00
Victor Zverovich
9405a47245 Update changelog 2022-01-02 07:57:36 -08:00
Victor Zverovich
495b8bf12e Update changelog 2022-01-01 13:56:31 -08:00
Victor Zverovich
e221166fab Update changelog 2022-01-01 11:34:04 -08:00
Victor Zverovich
035cab8da3 Update changelog 2022-01-01 09:36:40 -08:00
Victor Zverovich
89c6ed12bf Clarify in comments (for now) deprecated map functions 2022-01-01 09:29:50 -08:00
Björn Schäpers
e462da828d
Add some noexcept (#2684)
I got warnings from -Wnoexcept, fixed them.
2022-01-01 08:44:00 -08:00
Victor Zverovich
79c66d66bd Update changelog 2021-12-29 15:33:30 -08:00
Victor Zverovich
5d37f705f4 Update changelog 2021-12-29 15:31:03 -08:00
Victor Zverovich
6bb370cec1 Update changelog 2021-12-29 15:26:11 -08:00
Victor Zverovich
bb69201578 Fix tuple join 2021-12-29 14:46:45 -08:00
Victor Zverovich
4fac7daaef Cleanup bit_cast 2021-12-29 12:14:51 -08:00
Victor Zverovich
3617c2795a Update changelog 2021-12-29 08:25:12 -08:00
Victor Zverovich
9c0c1bcdbd Simplify tuple formatting 2021-12-29 08:03:12 -08:00
Victor Zverovich
187e8db1be Update changelog 2021-12-28 08:11:03 -08:00
Alexey Ochapov
c7f88180f6 add tests for format string compile-time checks 2021-12-27 20:55:06 -08:00
Alexey Ochapov
8a2c3fb88f add reverse tests to compile-error-test
to make sure that error tests do not fail because they become outdated
2021-12-27 20:55:06 -08:00
Alexey Ochapov
1164eda5af disable compile-error-test on Windows
since it takes too much time to complete, similar to other tests with additional
CMake invocation
2021-12-27 20:55:06 -08:00
Alexey Ochapov
4482f6f1f0 rewrite compile-error-test to use non-header-only library 2021-12-27 20:55:06 -08:00
Victor Zverovich
796662a612 Escape range items convertible to std::string_view 2021-12-27 09:38:06 -08:00
Vladislav Shchapov
33ee4cc516 Improve noexception test 2021-12-26 16:28:41 -08:00
Vladislav Shchapov
3bbf2c673c Fix throw with exceptions disabled 2021-12-26 16:28:41 -08:00
Victor Zverovich
074c9c52ef Update changelog 2021-12-26 08:36:29 -08:00
Victor Zverovich
3110ec5a23 Update changelog 2021-12-26 08:19:32 -08:00
Victor Zverovich
3014b3d770 Clarify that C strings must be null-terminated 2021-12-26 07:23:43 -08:00