Commit Graph
3354 Commits
Author SHA1 Message Date
Victor Zverovich da776c9a66 Test timezone 2025-04-12 07:53:58 -07:00
Mattes D 64db979e38 Added a missing FMT_STRING in fmt::println() (#4407) 2025-04-07 15:35:55 -07:00
Victor Zverovich 5f2e61fdd5 Cleanup chrono detail 2025-04-06 09:54:47 -07:00
Victor Zverovich b3d45e1d3f Remove fmt_detail 2025-04-06 09:24:20 -07:00
Victor Zverovich 5199e0f885 Fix a flush issue on libstdc++ 2025-03-30 10:54:14 -07:00
Victor Zverovich e1ab383361 Report an error when timezone is not available 2025-03-29 09:10:00 -07:00
Victor Zverovich f53055efe0 Revert "Workaround an ABI issue in spdlog"
This reverts commit 784eac839d.
2025-03-29 07:48:20 -07:00
Victor Zverovich 443a8ef342 Deprecate fmt::localtime 2025-03-23 10:46:02 -07:00
Victor Zverovich 3607e92dc9 Bump version 2025-03-23 10:44:46 -07:00
Victor Zverovich 43e31614cc Test ambiguous time 2025-03-23 10:34:37 -07:00
Victor Zverovich 9d6e24c64e Fix handling of long with FMT_BUILTIN_TYPES=0 2025-03-22 07:52:54 -07:00
Victor Zverovich 784eac839d Workaround an ABI issue in spdlog 2025-03-22 07:01:45 -07:00
Victor Zverovich 6fdf225a32 Always inline value ctors in optimized gcc mode only
This reverts commit 332da79bf3.
2025-03-16 10:03:53 -07:00
Victor Zverovich 332da79bf3 Always inline value ctors 2025-03-16 09:31:52 -07:00
Victor Zverovich 7b273fbb54 Minor cleanup 2025-03-16 08:58:44 -07:00
Victor Zverovich dd780fde44 Add clang-3.4 2025-03-15 12:22:10 -07:00
Dean Glazeski 37e6474718 Fix dynamic named arg format spec handling (#4361)
When dealing with dynamic named format args, need to account for
nested named args when skipping the content of the replacement.

Fixes #4360
2025-03-15 09:34:11 -07:00
Victor Zverovich 9212ff6ca1 Apply coding conventions and use constexpr 2025-03-02 09:03:06 -08:00
Dean Glazeski 864bdf9638 Report error on duplicate named arg names (#4367) 2025-03-02 07:47:03 -08:00
Victor Chernyakin b776cf66fc Optimize text_style using bit packing (#4363) 2025-03-01 11:18:19 -08:00
Thomas Khyn 577fd3be88 Fix TU-local entity exposition error in GCC 15 2025-02-26 11:14:15 -08:00
Thomas Khyn faac8b1fa9 Remove exports in std.h
This fixes 'declaration of partial specialization in unbraced export-declaration' errors in GCC 15
2025-02-26 11:14:15 -08:00
Victor Zverovich 4e5aafbf43 Bump version 2025-02-25 17:20:47 -08:00
Victor Zverovich 3401ce2be2 Fix ABI compatibility 2025-02-25 13:32:24 -08:00
Dean 7f7695524a Fix conflict with std::ignore (#4356)
In situations where `using namespace std;` is used, compiler warnings
can be generated because of local variables named `ignore`. This renames
those variables to something else to address the name conflict.
2025-02-19 23:08:21 -08:00
Victor Chernyakin 94ab51cb8c Simplify implementation of operator""_cf (#4349) 2025-02-14 02:02:09 -08:00
Victor Zverovich 0ca42e836e Workaround an MSVC v140 bug 2025-02-13 14:12:16 +01:00
Markus Kitsinger f2cec917da Move is_compiled_string to public API (#4342) 2025-02-04 16:20:27 -08:00
Sergiu Deitsch d5b866e242 fix gcc 8.3 compile errors (#4336) 2025-02-03 08:51:58 -08:00
LocalSpook c9267da4df Fix typo in FMT_HAS_BUILTIN check 2025-01-31 08:42:19 -08:00
Victor Zverovich 52eeeb52a6 Make exponent threshold depend on representation (#3649) 2025-01-26 12:10:48 -08:00
timsong-cpp cb6fdf2191 Restore constraint on map formatter (#4326)
* Restore constraint on map formatter
* Remove unnecessary double parens
2025-01-25 08:31:07 -08:00
timsong-cpp f841ae61e2 Fix #4303: avoid instantiating formatter<const T> (#4325) 2025-01-24 10:53:10 -08:00
Matt a3d05d70ce Silence a constexpr warning when compiling with MSVC and /W4 (#4322) 2025-01-23 12:11:23 -08:00
Victor Zverovich 41539c29f3 Workaround a bug in gcc 6 (#4318) 2025-01-22 11:12:41 -08:00
Victor Zverovich 9ff9c695db Bump version 2025-01-18 10:28:46 -08:00
Victor Zverovich 5f0572acdc Workaround a compilation error on gcc 9.4 2025-01-18 09:01:00 -08:00
Vladislav Shchapov 898d438571 Fix formatting into std::ostreambuf_iterator using a compiled format (#4312)
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2025-01-18 07:16:06 -08:00
Aaron Bishop 937b7c5c10 Add args() accessor back to fmt::format_context (#4310)
Add args() accessor back to fmt::format_context
Add test that would fail to compile if you can't create a fmt::format_context from another fmt::format_context
2025-01-17 10:28:34 -08:00
Victor Zverovich 01914f0389 Reduce size of basic_specs 2025-01-12 09:18:11 -08:00
Victor Zverovich c43da35701 Workaround an ICE when using modules with gcc 14.2 and earlier 2025-01-12 08:57:43 -08:00
Victor Zverovich b0b3dc5ff9 Bump version 2025-01-12 08:13:56 -08:00
Victor Zverovich 586ea06f02 Rename set_fill to copy_fill_from 2025-01-11 09:22:15 -08:00
Marcel Breyer bfbdc2be9a Add parameter to the fallback to_sys function. 2025-01-11 08:48:20 -08:00
Victor Zverovich 21aa0956d4 Restore ABI compatibility 2025-01-10 17:36:09 -08:00
Edoardo Lolletti 3f864a4505 Address MSVC C4127 warning when formatting non unicode tm (#4299)
Use `const_check` to silence visual studio's W4 level diagnostic regarding conditional expressions being constants, addresses https://github.com/fmtlib/fmt/issues/4294
2025-01-08 14:21:48 -08:00
Vladislav Shchapov 2c3a5698ef Simplify a copying the fill from basic_specs
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2025-01-05 09:33:05 -08:00
Victor Zverovich fc1b0f3486 Clarify use of FMT_THROW in a comment 2025-01-05 07:31:19 -10:00
GamesTrap 1d066890c7 Resolve C4702 unreachable code warnings 2025-01-03 16:39:11 -08:00
Vladislav Shchapov dad3237514 Fix a bug when copying the fill from basic_specs
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2025-01-03 09:16:21 -08:00