Commit Graph

5703 Commits

Author SHA1 Message Date
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
Victor Zverovich
eab2ea9fc2 Replace an assert with an exception 2021-12-26 07:05:45 -08:00
Victor Zverovich
21ed92a6e9 Update changelog 2021-12-24 07:25:23 -08:00
Vladislav Shchapov
04111dd1e4
Fix issue #2670 (#2671) 2021-12-23 12:38:48 -08:00
Alexey Ochapov
817788fbf0
remove incorrect C++20 check from test/CMakeLists.txt (#2663)
It disables entire branch of tests declaration unconditionally because CXX_STANDARD
is not defined there. But even we use CMAKE_CXX_STANDARD here, these tests should
not be disabled with standard >= C++20.
2021-12-23 12:32:03 -08:00
Victor Zverovich
4511030af2 Minor code style tweaks for consistency 2021-12-23 11:55:58 -08:00
lucpelletier
7812813a32
Don't explicitly delete copy ctor of dynamic_format_arg_store (#2664)
* Don't explicitly delete copy ctor of dynamic_format_arg_store

Explicitly deleting the copy ctor causes the move constructor to not be
implicitly generated. This behaviour is different than what was in
v8.0.1 and causes code that relied on the move ctor of
dynamic_format_arg_store to break.

* Add test for dynamic_format_arg_store's move ctor

* include <memory>, don't use make_unique
2021-12-23 11:34:16 -08:00
Victor Zverovich
664cd6067d Remove std-format-test 2021-12-23 10:58:02 -08:00
Victor Zverovich
784e2a7b42 Fix an overflow when formatting very large durations 2021-12-23 10:34:32 -08:00
Stefan Weil
fc2a376d8e Remove two expressions which had no effect (reported by LGTM)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-12-22 16:29:16 -08:00
Alexey Ochapov
c5aafd8f90 expose headers as SYSTEM depending on special configuration option 2021-12-19 08:29:51 -08:00
Victor Zverovich
eaddd1e3cd Fix handling of byte 2021-12-19 06:46:24 -08:00
Victor Zverovich
2d44577586 Try fixing byte regression 2021-12-18 08:51:21 -08:00
Alexey Ochapov
e46392ea2c deprecate _format UDL in code using FMT_DEPRECATED 2021-12-18 08:33:20 -08:00
Victor Zverovich
c882790a2e Add a set formatter 2021-12-18 07:35:40 -08:00
Victor Zverovich
121002d700 Add a map formatter 2021-12-18 07:12:53 -08:00
Victor Zverovich
be51ee1ceb Disable broken copy ctor of dynamic_format_arg_store 2021-12-17 17:18:18 -08:00