Victor Zverovich
9237a45439
Add an alias for unsigned long long
2026-01-29 09:47:49 -08:00
Victor Zverovich
ed409c5ba9
Relax constexpr
2026-01-29 09:21:36 -08:00
Victor Zverovich
e99ef3f9f9
Relax constexpr
2026-01-29 06:34:24 -08:00
Victor Zverovich
6bbba0747c
Minor cleanup
2026-01-28 16:03:44 -08:00
Victor Zverovich
01e6f01076
Remove old assert_fail
2026-01-28 15:46:21 -08:00
Victor Zverovich
8eec491424
Early exit
2026-01-26 06:30:00 -08:00
Victor Zverovich
8ee3a56d12
Move <new> include to the implementation
2026-01-25 18:28:19 -08:00
Victor Zverovich
25df8ccd96
Fix usage of memset
2026-01-25 17:47:40 -08:00
Victor Zverovich
a6eb4a511c
Use memcpy consistently
2026-01-25 17:38:54 -08:00
Ben Deane
f09185da65
Add constexpr to argument value constructors ( #4659 )
2026-01-22 10:57:22 -08:00
Kağan Can Şit
d58e3f08d0
Use std::move ( #4656 )
2026-01-20 10:42:23 -08:00
Yat Ho
a9ea225cad
Fix C++20 concept detection ( #4653 )
2026-01-16 10:48:40 -08:00
Victor Zverovich
0e078f6ed0
Use _M_AMD64 instead of legacy _M_X64
2026-01-06 12:46:02 -08:00
Kareem Otoum
6b018edfb9
add support for positional arguments as width and precision specifiers ( #4643 )
...
* make positional arguments work as width and precision specifiers with floating-point formats too
* fix test case failing ci tests
2026-01-04 16:39:02 -08:00
Jaeheon Shim
46a45990fe
Fix missing named-arg validation for compiled format strings ( #4638 )
2026-01-03 18:27:32 -08:00
Aaron Gokaslan
605dd2a1d9
Make digits2_i noexcept to match digits2 function ( #4639 )
...
Add noexcept specifier to digits2_i too make it match 3269c1cea5
2025-12-30 11:34:08 -08:00
user202729
7ad8004d57
Speed up do_format_decimal ( #4630 )
2025-12-25 08:21:20 -08:00
user202729
2e819a11f2
Some documentation improvements ( #4631 )
2025-12-17 06:53:01 -08:00
Victor Zverovich
3269c1cea5
Minor improvement to digits2
2025-12-09 18:27:06 -08:00
marcel-behlau-elfin
789aa69e0a
fix: add missing operator ( #4627 )
2025-12-09 12:38:28 -08:00
Victor Zverovich
02d6f3d9e4
Bump version
2025-12-07 08:20:47 -08:00
Victor Zverovich
19e4d5ecd9
Fix handling of pointers in format string compilation and FMT_BUILTIN_TYPES=0
2025-12-07 08:07:09 -08:00
Victor Zverovich
a6e871e39b
Don't pull in locale dependency
2025-12-04 06:28:37 -08:00
Victor Zverovich
2d839bbc61
Fix format_to_n
2025-11-30 07:12:48 -08:00
Victor Zverovich
5bc56e24a9
Update clang-format to version 21
2025-11-28 20:05:18 -08:00
bigmoonbit
2727215c11
chore: minor improvement for docs ( #4616 )
...
Signed-off-by: bigmoonbit <bigmoonbit@outlook.com>
2025-11-28 12:55:25 -08:00
Victor Zverovich
a731c73fd5
Make FMT_USE_FULL_CACHE_DRAGONBOX depend on __OPTIMIZE_SIZE__ by default
...
Thanks to Matthias Kretz for the idea.
2025-11-23 09:03:02 -08:00
friedkeenan
9f197b22ae
Make FMT_STRING redundant when FMT_USE_CONSTEVAL is enabled ( #4612 )
2025-11-22 14:36:29 -08:00
Victor Zverovich
f20b16617e
Fix formatting
2025-11-22 13:48:03 -08:00
Victor Zverovich
14451704d5
Opt out std::complex from tuple formatting
2025-11-22 08:23:11 -08:00
Victor Zverovich
706fecea30
Apply clang-format
2025-11-22 06:45:50 -08:00
Victor Zverovich
fc17e825d9
Remove the broken fmt::say function
2025-11-12 11:06:01 -08:00
Victor Zverovich
1122268510
Make path formatting lossless with WTF-8
2025-11-05 10:59:06 -10:00
Victor Zverovich
a4c7e17133
Improve build speed, take 2
2025-11-04 10:19:39 -10:00
Victor Zverovich
bfd0129b91
Improve build speed
2025-11-04 09:33:18 -10:00
Victor Zverovich
ef7a566413
Reduce bloat-test result in debug mode from ~200k to ~85k
2025-11-03 16:21:10 -10:00
Victor Zverovich
5ac44cd128
Fix a warning
2025-11-03 13:39:29 -10:00
J. Berger
c3be070b7e
When using MSVC x86 to compile v12.0.0 or v12.1.0, conversions from __int64 to a 32bit unsigned int trigger warnings. ( #4594 )
...
This is a follow-up for PR #4572 .
2025-11-01 09:38:30 -07:00
Stéén
27bf8b47fe
Add FMT_CONSTEXPR to static_format_result members ( #4591 )
...
Co-authored-by: Robin Oger <roger@qcify.com>
2025-10-29 18:34:42 -07:00
Victor Zverovich
5987082c47
Bump version
2025-10-25 08:30:50 -07:00
Peter Hill
913507044b
Fix leaky diagnostic ignored pragma ( #4588 )
...
Ignoring the `-Wconversion` diagnostic in `make_format_args` was
leaking out of the header, resulting in that warning being ignored in
downstream code that includes `fmt/base.h`.
Instead, we should `push`/`pop` the diagnostics to ensure this is
cleaned up.
2025-10-25 08:28:24 -07:00
Victor Zverovich
ff357e9e4a
Remove extra whitespace
2025-10-25 08:10:57 -07:00
Victor Zverovich
728dfeab5b
Fix apidoc comment
2025-10-25 08:06:23 -07:00
Victor Zverovich
b95fd6132b
Avoid an ABI break for clang
2025-10-25 07:17:41 -07:00
Victor Zverovich
c0ddbacfd3
Bump version
2025-10-22 15:32:15 -07:00
Victor Zverovich
9395ef5fcb
Don't include std::locale::collate value in the symbol
2025-10-22 13:48:13 -07:00
Victor Zverovich
9721d974fc
Workaround ABI compatibility between clang and gcc
2025-10-22 12:34:47 -07:00
Fatih BAKIR
d6bdb69c62
Move FMT_API from ostream class to members ( #4584 )
...
Putting FMT_API on the class definition propagates it to the base class
detail::buffer<char>'s members. However, MSVC not emit definitions for
inline members unless it sees the symbols as FMT_API when compiling.
This fix removes the FMT_API declaration from the class itself and marks
individual non-inline members as FMT_API to address the issue.
Fixes https://github.com/fmtlib/fmt/issues/4576
2025-10-20 07:49:23 -07:00
Victor Zverovich
08d38d6e78
Make error_code formatter debug-enabled
2025-10-19 10:35:45 -07:00
Victor Zverovich
a2289b8593
Fix the build
2025-10-19 10:30:42 -07:00