Commit Graph

3 Commits

Author SHA1 Message Date
irisz64
fca3b644b3 Squashed 'external/fmt/' changes from 093b39ca5..353bd895a
353bd895a Add FMT_EXPORT on ranges.h customization points (#4476)
953cffa70 Replace memset with constexpr fill_n in bigint::align (#4471)
571c02d47 Add xchar support for std::byte formatter (#4480)
f4345467f Fix compilation on clang-21 / libc++-21 (#4477)
1ef834807 Properly constrain `detail::copy` optimization (#4474)
a5dccffa5 Add double and float support to scan test
4a149f513 Test non-SSO constexpr string formatting
067bc479b Avoid redundant work when processing UTF-8 strings (#4475)
730fd4d9a Remove redundant tests
5860688d7 Enable constexpr support for fmt::format (fmtlib#3403) (#4456)
46be88bc1 Cleanup FP formatting
cc8891490 Export fmt::dynamic_format_arg_store in fmt module (#4459)
fc0c76a07 Handle large precision
6332a3852 Bump ossf/scorecard-action from 2.4.0 to 2.4.2 (#4462)
02de29e00 Remove a reference to a compromised account
6d51c78c1 Cleanup FP formatting
0f4e9d0bd Cleanup FP formatting
d9d50495a Optimize the default FP formatting
befbc5fdb Fix ADL lookup for memory_buffer
8aa1d6a9f Minor cleanup
6d79757a3 Interpret precision as display width (#4443)
1ff0b7f5e Cleanup warning suppression
ea985e84f Remove some implicit conversions (#4447)
f7033da09 Avoid include locale inline if C++20 modules are enabled (#4451)
b723c021d Give useful error when misusing fmt::ptr. (#4453)
3ba3c390f Clarify that formatting of pointers is disallowed
ab161a71c Fix some typos in comments (#4448)
b5266fd3b Remove some redundant `const`s (#4445)
9b0ebd443 Cleanup base-test
7af94e559 Remove old gcc workaround
2924fcf8f Cleanup base-test
102752ad4 Update docs
a6cd72c9e Cleanup base-test
07885271a Minor cleanup
4999416e5 Fix reference_wrapper ambiguity with format_as (#4434)
55a8f6a4b Change component prefix for NSIS compatibility (#4442)
eb9a95d42 Clarify that formatting of pointers is disallowed
d5c33e4f4 Make template parameter order consistent
a2225f288 Remove unused include
b43b2f953 Cleanup standard formatters
1312b4a16 Cleanup standard formatters
4404dc05d Consolidate implementation details
7bb6fcb32 Bump version
59259a5fd Make a doc directory if it doesn't exist
542ea7c40 Clarify that Formatter parameter is deprecated
40626af88 Update version
7fdd6846b Bump version
6caff7ed9 Cleanup test
71a548387 Update changelog
448929d49 Update and apply clang-format
26d87edab Bump github/codeql-action from 3.28.13 to 3.28.16 (#4432)
505ee058f Update changelog
ccab41719 Update changelog
ec1349d34 Update changelog
0ed2a65a8 Clarify why we use __builtin_strlen instead of strlen
e22c94307 Update changelog
b252bad3c Update changelog
268083123 Cleanun string_view
8978ab09b Avoiding __builtin_strlen (#4429)
c936e2e44 Implement debug format for error_code
a7d7b894c Implement the s specifier for error_code
e98155a6f Remove redundant specializations
41b3bed4d Clarify why we don't use qualified names
67d9e4932 Update changelog
9db5e4df2 Don't specialize std::is_floating_point
906eaf2dd Make specifier order consistent
9f6c12c3d Remove deprecated localtime from docs
2d0518b5f Fix cmake error in pedantic mode (#4426)
c81cbed2b Simplify test
c7925241c Remove `core.h` from README (#4422)
c70913835 Add support for incomplete types
db405954c Remove `fmt/core.h` from docs (#4421)
0a917ee2f Minor comment tweak
969d4aef6 Update doc image
8061c7c8c Cleanup duration formatter
7b59df411 Remove redundant member
b8192d233 Fix build error with MSVC v141 (#4413)
e814b5fab Reduce template parametrization
ed0d216f7 Fix localization and formatting of timezone names
bd9554a29 Fix formatting of timezone names
f086dc0d2 Fix timezone handling in tm
f10b6dd81 Improve chrono formatting
f470b9c56 Cleanup chrono tests and set consistent TZ
b28214487 Fix handling of %Z
6d69f0c5f Improve chorno tests
da776c9a6 Test timezone
64db979e3 Added a missing FMT_STRING in fmt::println() (#4407)
5f2e61fdd Cleanup chrono detail
b3d45e1d3 Remove fmt_detail
5f6fb96df Bump github/codeql-action from 3.28.8 to 3.28.13 (#4403)
5199e0f88 Fix a flush issue on libstdc++
2f5843057 Move buffering tests to os-test
d5d32c1e8 Bazel support: Update platforms to 0.0.11 (#4400)
204661287 Improve local_time test
e1ab38336 Report an error when timezone is not available
b9e0e94a0 Enable more chrono tests on Windows
a81842428 Update changelog
f53055efe Revert "Workaround an ABI issue in spdlog"
b2dfcb2b8 Fix local_time test
7ac97cbd1 Enable some local_time tests and make them deterministic
17898794a Use fmt::local_time
443a8ef34 Deprecate fmt::localtime
3607e92dc Bump version
43e31614c Test ambiguous time
989826ce5 Update changelog
9d6e24c64 Fix handling of long with FMT_BUILTIN_TYPES=0
0843317e0 Update changelog
784eac839 Workaround an ABI issue in spdlog
6fdf225a3 Always inline value ctors in optimized gcc mode only
332da79bf Always inline value ctors
7b273fbb5 Minor cleanup
191c504b1 Cleanup build config
d13fb6092 Cleanup build config
dd780fde4 Add clang-3.4
37e647471 Fix dynamic named arg format spec handling (#4361)
77c0fc07d Switch to supported ubuntu image
9212ff6ca Apply coding conventions and use constexpr
864bdf963 Report error on duplicate named arg names (#4367)
b776cf66f Optimize `text_style` using bit packing (#4363)
bdbf957b9 Bump msys2/setup-msys2 from 2.25.0 to 2.27.0
577fd3be8 Fix TU-local entity exposition error in GCC 15
faac8b1fa Remove exports in std.h
123913715 Update version
8c1059b92 Update changelog
4e5aafbf4 Bump version
db30fb3b8 Update changelog
3401ce2be Fix ABI compatibility
7f7695524 Fix conflict with std::ignore (#4356)
251320fcb Add .vs folder to .gitignore (#4355)
94ab51cb8 Simplify implementation of `operator""_cf` (#4349)
0ca42e836 Workaround an MSVC v140 bug
ed27df576 Replace forward slashes by backslashes in BMI path for MSVC. (#4344)
d42a068db Apply coding conventions
f2cec917d Move is_compiled_string to public API (#4342)
d5b866e24 fix gcc 8.3 compile errors (#4336)
5676e408f Bump github/codeql-action from 3.27.0 to 3.28.8 (#4337)
71d24b564 Bump actions/upload-artifact from 4.4.0 to 4.6.0 (#4339)
c9267da4d Fix typo in `FMT_HAS_BUILTIN` check
373855c1b Clarify difference in FP representation
52eeeb52a Make exponent threshold depend on representation (#3649)
9cf9f38ed Update version
4946bdb72 Update changelog
01a5b56f0 Fix error of unitialized variable FMT_HEADERS
cb6fdf219 Restore constraint on map formatter (#4326)
f841ae61e Fix #4303: avoid instantiating formatter<const T> (#4325)
a3d05d70c Silence a constexpr warning when compiling with MSVC and /W4 (#4322)
41539c29f Workaround a bug in gcc 6 (#4318)
aabe63910 Tweak changelog
f90090be2 Update changelog
9ff9c695d Bump version
06ad1224e Update changelog
5f0572acd Workaround a compilation error on gcc 9.4
898d43857 Fix formatting into std::ostreambuf_iterator using a compiled format (#4312)
937b7c5c1 Add args() accessor back to fmt::format_context (#4310)
01914f038 Reduce size of basic_specs
c43da3570 Workaround an ICE when using modules with gcc 14.2 and earlier
8303d140a Update version
b0b3dc5ff Bump version
586ea06f0 Rename set_fill to copy_fill_from
5750f434f Update changelog
bfbdc2be9 Add parameter to the fallback to_sys function.
87e007267 Update changelog
d57040f94 Prefix components
21aa0956d Restore ABI compatibility
3f864a450 Address MSVC C4127 warning when formatting non unicode `tm` (#4299)

git-subtree-dir: external/fmt
git-subtree-split: 353bd895a2bf9d0b1bc5977dc002fb6e0cdb0960
2025-06-26 22:16:38 +02:00
Simone
5ff285a9ed Squashed 'external/fmt/' changes from 3b70966df..093b39ca5
093b39ca5 Update docs for meson (#4291)
2c3a5698e Simplify a copying the fill from basic_specs
fc1b0f348 Clarify use of FMT_THROW in a comment
1d066890c Resolve C4702 unreachable code warnings
dad323751 Fix a bug when copying the fill from basic_specs
880e1494d Improve xchar support for std::bitset formatter
e3ddede6c Update version
e9ec4fdc8 Bump version
feb72126b Readd FMT_NO_UNIQUE_ADDRESS
8d517e54c Update changelog
563fc74ae Update changelog
3e04222d5 Restore ABI compatibility with 11.0.2
853df39d0 Mention compile-time formatting
11742a09c Clarify that format_string should be used instead of fstring
da24fac10 Document fstring
5fa4bdd75 Define CMake components to allow docs to be installed separately (#4276)
3c8aad8df Update the release script
0e8aad961 Update version
debe784aa Update changelog
f6d112567 Update changelog
73d0d3f75 Fix github API call
08f60f1ef Update changelog
faf3f8408 Bump version
f3a41441d Replace requests with urllib
3f33cb21d Update changelog
b07a90386 Update changelog
a6fba5177 Update changelog
25e292998 Update changelog
00ab2e98b Update changelog
a3ef285ae Always inline const_check to improve debug codegen in clang
28d1abc9d Update changelog
90704b9ef Update changelog
86dae01c2 Fix compatibility with older versions of VS (#4271)
d8a79eafd Document formatting of bit-fields and fields of packed structs
7c3d0152e Use the _MSVC_STL_UPDATE macro to detect STL (#4267)
7c50da538 Allow getting size of dynamic format arg store (#4270)
873670ba3 Make parameter basic_memory_buffer<char, SIZE>& buf of to_string const
735d4cc05 Update changelog
141380172 Allow disabling <filesystem> by define FMT_CPP_LIB_FILESYSTEM=0 (#4259)
4302d7429 Update changelog
0f51ea79d Update changelog
9600fee02 Include <filesystem> only if FMT_CPP_LIB_FILESYSTEM is set (#4258)
47a66c5ec Bump msys2/setup-msys2 from 2.24.0 to 2.25.0 (#4250)
385c01dc7 Allow bit_cast to work for 80bit long double (#4246)
df249d8ad Remove an old workaround
dfad80d1c Remove an old workaround
536cabd56 Export all range join overloads (#4239)
b1a054706 Remove more MSVC 2015 workarounds and fix string_view checks
bfd95392c Remove MSVC 2015 workaround
9ced61bca Replace std::forward for clang-tidy (#4236)
75e5be6ad Sort specifiers
a169d7fa4 Fix chrono formatting syntax doc (#4235)
a6c45dfea Fix modular build
a35389b3c Corrently handle buffer flush
5a3576acc Implement fmt::join for tuple-like objects (#4230)
542600013 Suppress MSVC warnings "C4127: conditional expression is constant" by used const_check (#4233)
720da57ba Remove reference to unused intrinsic
680db66c3 Explicitly export symbols from detail
56ce41ef6 Remove initializer_list dependency
cf50e4d6a Fix const[expr] in context API
6580d7b80 Cleanup the format API
7e73566ce Minor cleanup
8523dba2d Make constexpr precede explicit consistently
e3d3b24fc Minor cleanup
1521bba70 Use consistent types for argument count
00649552a Bump github/codeql-action from 3.26.6 to 3.27.0 (#4223)
4b8e2838f More cleanup
7d4662f7a Remove FMT_BUILTIN_CTZ
27110bc47 Minor cleanup
68f315376 Fix narrowing conversion warning in struct fstring (#4210)
168df9a06 Implement fmt::format_to into std::vector<char> (#4211)
4daa3d591 Fix error: cannot use 'try' with exceptions disabled in Win LLVM Clang (#4208)
e9eaa27e5 Add std::exception to the docs
2b6a786e3 Use standard context in print
a16ff5787 Add support for code units > 0xFFFF in fill
601be1cbe Add support for code units > 0xFFFF in fill
58c185b63 Changing type of data_ to size_t to avoid compilation warnings (#4200)
a0a9ba2af Fix hashes
cc2ba8f9e Cleanup cifuzz action
a18d42b20 Simplify lint (#4197)
4046f9727 Fix -Wmissing-noreturn warning (#4194)
6bdc12a19 detail_exported -> detail
786a4b096 Cleanup fixed_string
2cb3b7c64 Update README.md
e9cba6905 Update README.md
02537548f Cleanup an example
c68c5fa7c Test FMT_BUILTIN_TYPES
22701d5f6 Address build failures when using Tip-of-Tree clang. (#4187)
e62c41ffb Conform `std::iterator_traits<fmt::appender>` to [iterator.traits]/1 (#4185)
18792893d Silencing Wextra-semi warning (#4188)
c90bc9186 Bump actions/checkout from 4.1.6 to 4.2.0 (#4182)
c95722ad6 Improve naming consistency
db06b0df8 Use countl_zero in bigint
b9ec48d9c Cleanup bigint
3faf6f181 Add min_of/max_of
d64b100a3 Relax constexpr
ff9ee0461 Fix handling FMT_BUILTIN_TYPES
1c5883bef Test nondeterministic conversion to format string
cacc3108c Don't assume repeated evaluation of string literal produce the same pointer
fade652ad Require clang >=15 for _BitInt support (#4176)
96dca569a Module linkage fixes for shared build (#4169)
891c9a73a Cleanup format API
9282222b7 Export more
e5b20ff0d Deprecate detail::locale_ref
ff9222354 Simplify locale handling
80c4d42c6 Cleanup format.h

git-subtree-dir: external/fmt
git-subtree-split: 093b39ca5eea129b111060839602bcfaf295125a
2025-01-07 15:10:49 +00:00
SimoneN64
2abfcd02f1 Squashed 'external/fmt/' changes from e1832bcf00e..3b70966df5b
3b70966df5b Add width and alignment support to error_code
05226c4bd9e Remove type_identity
c283b458a51 Cleanup format.h
fe79932c267 Fix conversion warning on chrono.h (#4170)
23fcf1942a6 Apply clang-format
3f296e3d4ad Workaround clang-format nonsense
a197a994c5a Add member format_as for std
6d43c755bc2 Fix a typo
1f87b1c58d2 Use fmt::formatter specialization for std::reference_wrapper to avoid undefined behavior (#4164)
ed8f8be70d8 More chrono padding (#4161)
55a0a9cd627 Cleanup pragma detection
5c926d9ff9a Remove FMT_UNCHECKED_ITERATOR
8b024662d4a Remove unnecessary inheritance
2f1424be90b Simplify handling of arrays
239aa6911bf Remove unwrap_named_arg
497df6db618 Remove formattable
a25e594f6ac Remove range_mapper
503dff93ecc Simplify has_formatter
3374a95b50b Simplify has_formatter
0e62e5dc7cd Simplify has_formatter
7ce013971bc Sync value ctors and type mapper
07e70151d57 format std::reference_wrapper
41977277125 Improve handling of unformattable args
527e98e3f87 Remove unformattable
8a19b2db779 arg_mapper -> type_mapper
e97df46ae1b Cleanup type mapping
39f1e0903ad Remove FMT_MAP_API
d832830f60b Cleanup type mapping
b329ff194ff Always detect encoding on Windows
2af403ce641 Simplify type mapping
b7513b1d002 Simplify type mapping
761d35f7632 Cleanup format_as handling
545dc4148a4 Add value ctor taking name_arg
3f5e45dd338 Simplify handling of _BitInt
2e3b6fbd9fe Remove redundant check
a0328e1f9fd Improve error reporting
de28ef5f867 Remove make_arg
2d5e561a6b2 Cleanup argument handling
6537fb439cb Update changelog
50aac2ac92c Add reference to iterator_traits
538d8777e56 Workaround a bug in libstdc++
0335312320e Demacrify UTF-8 check
463fe65f173 Cleanup FMT_COMPILE_STRING
1782a6eac0f Rename pragma macros
b52fb988463 Fix no locale build
b6a6ec7f1cb FMT_EXCEPTIONS -> FMT_USE_EXCEPTIONS
89999f16722 Simplify pragma
b90b4bc981e Remove FMT_STATIC_THOUSANDS_SEPARATOR in favor of FMT_USE_LOCALE
a1d6f9a9736 Minor cleanup
689ec7a087c Cleanup
28143dc99d3 Cleanup chrono
1bde49e545e Remove FMT_USE_USER_LITERALS
f924d16e478 fix: pass /utf-8 only if the compiler is MSVC at build time
ab8f9d5b080 Cleanup format API
6f62db098a3 Cleanup format API
ab44ee7521f Avoid shadowing
0d4e7e3feec Remove old workaround
8ee89546ffc Remove old workaround
a5deb96bf51 Update gcc version
61a241f03f7 Cleanup
ff82d8d2b58 Cleanup visit
0cc20f56398 Remove iterator_t
2ba6785d8fc Remove unused type
5644e7507ca Remove unnecessary forwarding
5345cfe6b32 Adjust clang-format
3e9fdb3a1fd Cleanup
3ada4aed203 Optionally exclude Unicode data
b37be85bf1e Optionally disable named arguments
70643b25111 Don't use format_error if exceptions disabled
967e2d177d6 Cleanup
02c5d637c5c Cleanup
047bf75c245 Cleanup
2d3ba32e795 Improve debug codegen
6c90b31fbd1 Improve debug codegen
9408c2ae8c2 Readd support for FMT_BUILTIN_TYPES
cc3ff1529d2 Cleanup
158893b384a Cleanup
f5a16a484bd Cleanup
cad876be4c8 Switch to vargs
debf6f82855 Switch to vargs
35f4fab4c42 Simplify value ctor
ff8f3247869 Minor cleanup
bd48715d812 Simplify make_format_args
57d6df62f7a Simplify make_format_args
8ed4a9dcc1c Improve debug codegen
f288f45e46a Prepare for arg_store unification
5bf577ca58f Backport from GoogleTest: "Work around a maybe-uninitialized warning under GCC 12" (0320f517fd)
b6de66819e1 Backport from GoogleTest: "Always initialize fields in MatcherBase constructors" (https://github.com/google/googletest/pull/3797)
6870e4b06bb Workaround for GCC regression: false positive null-dereference in vector.resize
5cdef760349 Switch to gcc-13 for C++23 tests
a2c290bc34d Suppress a bogus MSVC warning
f1e3016c13a Optimize debug codegen
106dc8fd642 Reduce usage of type_identity
c3344e21e27 Cleanup base API
5f438c967e0 Remove make_arg
2a257798d41 Reenable FMT_BUILTIN_TYPES
22d50c1a9c2 Add support formatting std::expected<void, E>
1cc10ab68f4 Make is_formattable work with const/volatile void
6aaf7f4b79e Suppress a gcc 13 warning
b4d1d7f8e67 Improve debug codegen
1e0771c70a5 Fix broken CI for shared library on macos and linux (#4151)
3df47a46771 Make is_formattable work with void
b4aea98b550 Small fixes for some issues with modules builds (#4152)
565461a0d3a Update MSVC workaround in compile-test
e2b72387078 Cleanup format string API
1e0c6cdc3ba Make symbol sizes shorter
a8bcf81f72f Minor cleanup
15694c9a84f Workaround an MSVC bug
4cae2da0d06 Workaround a clang 17 bug
79e5ae919c3 Fix locale tests on FreeBSD
894b71da853 Fix handling of _BitInt
7a6a2a79ed8 Improve debug codegen
387395fc7c6 Cleanup base API
6a88415499d Add FMT_APPLY_VARIADIC
9a2aae37d45 Cleanup base API
88037683630 Cleanup base API
4fa533c70e7 Cleanup base API
d980dd71713 Cleanup base API
4eed488c663 Cleanup base API
a6ecd25b808 Improve debug codegen
9f29345ea09 Simplify mapped_type_constant
4986b4c0efd Simplify arg_mapper
a5f4d9820ca Simplify arg_mapper
bc3af512720 Reduce the number of instantiations
60740b7c240 Cleanup base API
9ef160d3094 Cleanup base API
0b80978c271 Cleanup base API
4f39d886503 Cleanup base API
a86b1acf6af Add mapped_t
c9ef07bc4e0 Minor cleanup
8c4cfab57ad Detemplatize parse
7e3aa6d9821 Minor cleanup
7c66216008b Minor cleanup
1416edabbb0 Cleanup base API
d4aeca9922d Bump actions/upload-artifact from 4.3.3 to 4.4.0 (#4141)
eee93ddffa8 Bump github/codeql-action from 3.25.11 to 3.26.6 (#4142)
b310a0d48bc Simplify parse_format_string
985c3399d13 Make map static
4a55b0d5fdf Remove duplicate error in compile-time checks
64a6c845928 basic_format_parse_context -> parse_context
66920feeee6 Improve compile-time checks
f4dad85c3aa Improve handling of named arguments in compile-time checks
db4becabedb Reduce template instantiations
fec2cc7af10 Improve handling of named arguments
621e9c17c58 Clarify why we have TYPE in native_formatter
bca70405569 Simplify compile-time checks
8c4b17fe648 Simplify compile-time checks
516a2e20492 Cleanup FMT_STRING
6797f0c39a4 Cleanup compile-time checks
db496b47c1c Remove old gcc hack
8eda3c8e900 Cleanup compile-time check
53316903e64 Move string_literal to format.h
8a484ad5771 Minor cleanup
b446cc9e67c fwrite_fully -> fwrite_all
0204dd359d9 Fix _BitInt formatter
d8876b7787c Minor cleanup
c0fab5e2f7c Reject modernity, embrace tradition
64313e915c4 Move redundant initialization to compile time
8e3da9da2c7 Improve binary size
2a2f73f7c19 Improve binary size
6dd9194abd5 Simplify format_to_result
a017bba0624 Minor cleanup
5eb023cd568 Improve binary size
f213d83306a Disable locale more
b3ccc2d2100 Disable locale more
7477dda28dd Simplify is_utf8_enabled
e582d377c25 Simplify locale handling
cd8d01d8cd9 Minor cleanup
377cf203e34 Add opt out for built-in types
5a0a37340c0 Add support for _BitInt on clang (#4072)
bbf8b3bd017 insert else branch to avoid unreachable code warning (#4130)
a3f3f2ec9a2 Fix gcc 8.1 - 8.3 bug and compilation (#4131)
e3676ca309f Change std::copy to detail::copy in chrono to fix MSVC compile errors (#4132)
0379bf3a5d5 Workaround -Wstringop-overflow
c59ee969f3d Improve compile-time formatting (#4127)
1a79bbfa83b Cleanup chrono formatting
89af1ad77df Cleanup chrono formatting
0e741e0daa5 Minor cleanup
d1acc667c1b Minor cleanup
4fb7008c900 Cleanup duration cast
589898e28bb Fix %S doc
62382e3650b Test full exponent range
94b8bc8eae1 Add an experimental writer API
020af729ddf Simplify ostream
fb07b37c5b1 Prioritize using the header files of self (#4116)
3135421257e Minor cleanup
993f56cff6f Make sign a proper enum class
c6c830e2034 Make align a proper enum class
b906c321f06 Get rid of bit fields
f8c0c8ee783 Cleanup public API
c71d03fcb0d Make `support/python/mkdocstrings_handlers/cxx/__init__.py` PEP 8 compliant (2 of 2) (#4115)
50a8c3e9bfa Reduce format specs size
98314319ad7 Fix ambiguous overload
0ce49aeb4a5 Add a test case
bf870ae3d15 Fix back_inserter lookup for non-std containers
c98518351ef Make `support/python/mkdocstrings_handlers/cxx/__init__.py` PEP 8 compliant (1 of 2) (#4110)
9f0c0c468be Add 'n' specifier for tuple and pair (#4107)
9f269062a7b Simplify default formatter
15f939c3de4 Improve handling of dynamic specs
928a07bb045 Simplify handling of dynamic specs
7891699737d Simplify handling of dynamic specs
58aba5a3def Deprecate append instantiation
5ee14d35087 Reintroduce constexpr fmt::formatted_size for C++20 (#4103)
b9c0e4dd828 Improve spec parsing
8445327c84d Simplify spec handling
8a06cee8262 Optimize shortest float formatting
1db22749667 Use us if Unicode is disabled
34ead4b39e4 Bump msys2/setup-msys2 from 2.23.0 to 2.24.0 (#4098)
3bf26009e4d Bump ossf/scorecard-action from 2.3.3 to 2.4.0 (#4099)
d326c7298ac Fix conversion a surrogate pair (#4095)
6e462b89aa2 Get rid of std::copy
aff640c32f9 Make fmt::appender implement std::output_iterator concept (#4093)
e23fb6a8b48 Apply clang-format
16b3542f7ea Remove float_specs
29d7e580598 Remove float_format
919f7c5e7fc Reduce float_specs usage
a80d668a52a Diagnose invalid precision
707d7d923a1 Apply coding conventions
de6ed8df8b2 Test alignment
ffdc3fdbd90 Align digits table
0c028137917 Fix doc build
f8581bcecf3 Add redirect page
31b3c325f69 Mark namespace scope constexpr variable 'buffer_size' inline. (#4084)
52b32081f95 Wrap private module fragment content within conditional extern "C++", to match declarations. (#4083)
0b0b09f4017 Constrain format_uint
4173a6315a8 Improve format_decimal
4239dfe081e Simplify format_decimal
ba36a04811c Remove counting_iterator
f6b4a23b83b Unbloat chrono
42d3d703b58 Remove the commenting attempt
9fcd9c4c120 Remove all warning suppressions
7f157dca0a7 Workaround gcc stringop-overflow bug
524ca1c7154 Improve parsing
bdc45eef76c Simplify on_text
439b6d7212d Reenable print optimization
3cc32fdc8b0 Mark more formatters nonlocking
0c9fce2ffef Update version
b47d662e716 Update changelog
e84297f255d Bump version
0ad234ad131 Update changelog
de684ef776c Make appender compatible with fill
447c6cbf444 Update changelog
bc8d32e9643 Update changelog
0f87d6ffa69 Improve sign processing
808ea0191a6 Cleanup test
55e76e6c20e Update check-commits script
8757f1f8d62 Add a script to test multiple commits
9228f349a51 Inline visit
e10643add21 Add a perf-sanity test
f29a7e79703 Don't use memcpy in append
f97deb0d7de Minor cleanup
3541353512a Apply minor optimization
5ef93a9f805 Expand FMT_FORMAT_AS to include implicit conversions (#4055)
c9102619da7 Avoid extra reserve
58d792b6d33 Apply minor optimizations
25adca5666a Remove redundant overload
1408f1824d6 Simplify iterator detection
3fe4641d3a3 Add 2 more constexprs to fix compile error (#4065)
33e7ed1eb5b Improve handling of back_insert_iterator that writes into a buffer
6a192f8d34c Fix broken links in README.md (#4066)
92cdbbae06f Update api.md
13038f37e87 Support printing (const) volatile void* (#4056)
67252257504 Update changelog
e60ff504ea0 Fix usage with std::generator (#4057)
ccea338070c Update lint.yml
92227c77a4e Improve support for non-POSIX platforms more
486838f26fd Improve support for non-POSIX platforms
a43391199f7 Update changelog
7a8b54a0ef7 Don't confuse Glib::ustring with std::string
b50e685db99 Update version
e314776c2ea Fix version check
2208143accf Update changelog
a96259701e1 Improve std::complex formatter (#4050)
232c6bc4815 Update changelog
503e183b9e3 Bump version and add version validation
e50c8b6bd87 Fix disabling Unicode support
9d946a2fc42 Fix compilation errors due to `make_format_args` in gcc 14.1.1 with c++20 (#4042)
c4f6fa71357 fix: Make basic_format_arg::visit() const (#4043)
10f12fd3d27 Bump github/codeql-action from 3.25.3 to 3.25.11 (#4041)
24c1f886afc Remove double has_value check (#4040)
0041a40c135 Update version
686339f7c12 Minor cleanup
e355c116f94 Tweak wording in the changelog
707bb5b369b Fix grammar
6f68c62cb5d Ignore doxygen files
d059fe42a87 Ignore vagrant files
43c5b34749d Fix package build
e89568e6cba Update vagrant config
f5bf6f77812 Update build script
bd9af9a9f14 Update changelog
16521089054 Fix typo
84f61318259 Fix formatting of release notes
dedc17c1c95 Fix handling of tables, take 3
5d0adb6d74d Fix handling of tables, take 2
3f251fc9c98 Fix handling of tables
1930ed4bfac Fix release script
26d07e49b22 Fix formatting
949d5d17955 Fix build script
53186535d58 Bump version
602e3c3d11c Update build script
2952130cbcb Fix doc build
1e94a463edc Create build dir
a34120329a3 Update doc script
0fae326c42e Update site dir
8b1fcf5cc10 Update doc dir
ec46c3de972 Update build script
2d9d32c62b1 Update build script
4703ade76dc Update build script
52e7b25f953 Update changelog
b61c8c3d23b Change actions/github-script from e69ef54 -> 60a0d83 (#4038)
bbf44cc0005 Defines are still needed for FMT_MODULE as well (#4027)
06948fa710a Pin deps
d9899492c14 Simplify deps
ff72f553e3c Update changelog
7f951f25020 Optimize range formatter
7ae102bd664 make format_int constexpr (#4032)
edde9731260 Update test names
b1efe8516e2 Prevent silent data loss
2c0d9e9409f Add a define to force the use of fallback_file
18a9676d958 Add an experimental path
af8cd4e4042 Module purview can only contain direct preprocessor code (#4029)
514b6955d22 Suppress a bogus warning in MSVC (#4023)
ac967732305 Added missing std::declval for non-default-constructible types (#4024)
c00149f5e29 Fix a typo
71244e07deb Cleanup includes
a57b0194a60 Correct comments
febd8ed5fee Cleanup includes
0434026a954 Remove build-docs.py
0882bfef2a2 Don't deploy docs from a PR
2a2048a7855 Don't pass seconds as a double in examples
ea1187f4c8f Generate doxyxml in build
1334eedaf52 Improve docs
709169a4d8d Set the anchors
2bf1b3004ef Update changelog
8687315e86e Guard more system headers by `FMT_MODULE` (#4006)
98dd673cf82 Cleanup cmake
a245a8d4b9f Update changelog
e0b66e8f83b Remove dependency on <ranges>
794df69c8c5 Added range_format::(debug_)string formatter (#3973)
1d9df9ce1cd Remove a redundant comment
c4ea903250e Only install `FILE_SET` when needed (#4013)
3e3062c13ba Update msys2/setup-msys2 to v2.23.0 (#4012)
b998b471160 Update changelog
bff1de15e74 Fix deploy docs (#4010)
90932dd20d8 Update doc.yml
232c5e8547a Update doc.yml
26cdd1cb309 Update doc.yml
ad34d4df95f Update doc.yml
f796264449d Fix doc workflow
28673d96999 Update api.md
a5c1b5d4407 Update changelog
cc4d1245b86 README.md: update to remove "not yet release" remarks on clang-tidy
18a325f370f Disable footer
a1337aa8aad Merge literal-based API doc into the parent section
51a690ab153 Check if `.cc` exists in `fmt.cc` (#4005)
f332a81b722 Remove unnecessary build step
33a1de57af3 Deploy docs, take 3
c7252b33447 Deploy docs, take 2
3f71b606680 Deploy docs
215ce4d9795 Fix error getting config 'user.email'
89f3a810ec9 Fix error getting config 'user.name'
1f170d3fe01 Install mike
d175db8f5b5 Fix doc CI and clean workflows
a8cfc0cc2c7 Deploy dev docs
65e278b2867 Don't pollute the source directory
3620c174a61 Fix doc build
702b6f3788c Update docs
ed21034a10d Implement deployment
76d57f93db3 Remove old script
6ceef04dfe9 Merge branch 'master' of github.com:fmtlib/fmt
ab6b257a390 Implement doc building
077e4ae746c Added generator expression to /utf-8 compile option (#3995)
d4a8d26c557 Temporarily disable doc build in CI
b5c8fd783ce Fix doc build
735a613821b Build docs
a6e6e9c3c9a Fix a link
e6d4f927cc7 Improve docs
8de3e87da1f Add a CMake option to control Unicode support
46d2acb3ba3 Don't add `os.cc` to sources with FMT_MODULE (#4004)
fad0222a0c8 Export `compiled_string` so that user can customize one (#3999)
d1cab6a9aee Drop parentheses
fcb6a452d6e Improve docs
72928661edd Improve docs
d6ec6b7e273 Update docs
e845fc572e9 Ignore old changelog
2bf811b1d96 Also allow compiled format for clang >= 12 (#4001)
9653eed8e71 Don't hide the navbar
9b5d1826d42 Update changelog
fe741daaab9 Mention namespace `fmt::literals` in the document (#4002)
0f6e7165489 Fix missing includes in fmt.cc (#3994)
a3d95971be0 Update changelog
7bd11b5cdfd Remove a redundant extension to reduce divergence from std::format
21372bc0b2c Update cmake config
a0495e3eb5a Update changelog
cba5e8615a0 Update changelog
e9609dec1a4 Update changelog
6ebbaf4b4d1 Split changelog
4e31d2dc61d Update changelog
fcc0b499781 Fix `FMT_INSTALL` with `FMT_MODULE` (#3998)
0560c334fb2 Fix build with `FMT_MODULE=OFF` (#3997)
db9365a11b0 Update lint.yml
5c445bc42cb Reverting check to make shorter branch comes first
94f96d112db Fix undefined reference when compiling with FMT_STATIC_THOUSANDS_SEPARATOR and chrono.h
6abc1204f3c Check if the generator is ninja
a9b85176385 Use native c++ module support from CMake
fba06f0ee12 Update changelog
598e5180857 Remove redundant tests
0a555818d7b Usage -> Get Started
966a1b3d441 Update docs
adb8e27db0a Fix rendering of template parameters
2c84fa9ac9c Update docs
8da0240dbc4 Improve docs
83bf1423780 Update changelog
595e54919b5 Cleanup docs
c636967c5ca Improve docs
2392367efc3 Set primary color
06f8e02fb3a Remove rtd compat
c71d08fc225 github: update lint.yml to post details on formatting issue (#3988)
d9b90029bf7 Update docs
c0029b9847b Update docs
1ac9b317f2e New landing page
f68dee5351d Fix syntax highlighting
fb9ee2ed657 Simplify doxygen config
d29ceaf9155 Update .gitignore
9b12491c190 Migrate docs
ab29ef37d9b Migrate docs and cleanup
97117cbb51c Migrate to mkdocs
886237ae7b2 Emit anchors
904f2a5c207 Remove a non-pinned dependency
dab1a65d2c3 Sort out directory URI config
509d0181016 Fix a link
75ab3bc2a09 Add a script to invoke mkdocs
871538d3abc Fix install dir
250456d5a3a Migrate to mkdocs
38ba3d3993a Migrate to mkdocs
07141139742 Add macro support to api doc extraction
dd3b3f937b4 Merge branch 'master' of github.com:fmtlib/fmt
03d14c3beb4 Add support for multiple namespaces
416ac0fc7b6 Bump actions/checkout from 4.1.0 to 4.1.6 (#3986)
596add89930 Bump ossf/scorecard-action from 2.3.1 to 2.3.3 (#3984)
a10e0321488 Improve docs
febeb51bde0 Documentation improvements
f18c2b65c46 Fix rendering of aliases
e3910b8a9cd Improve apidoc rendering
34b85678f9a Render members
e5c07c8356f Improve apidoc formatting
933d8ba3527 Improve apidoc formatting
e7ba467e9b1 Improve apidoc formatting
91a859ee4a2 Switch to markdown
6180442ed8c Render template parameters
418c5d09494 Render template params
aafdde7ef8e Switch to JavaScript syntax highlighter
d2ecfcfc450 Fix rendering on github
26b249435ee Improve doc presentation
4f330567e16 Improve apidoc generation
19927462497 Convert API doc to Markdown
a4d42c44f40 Cleanup comments
ddd8a54230e Add mkdocs config
fcd3e1e19c8 is_convertible_v -> is_convertible::value (#3983)
dc401b1c285 Move handlers outside of the docs
f7c5588c46d Cleanup syntax doc
a4e40677af5 Fix markdown
3479828e1d2 Fix markdown
191b0cb486a Fix markdown
e80f4a9b724 Cleanup syntax doc
022d8efec96 Update doc.yml
ca8eeb09eed Add glibc ext for day of month and week of year (#3976)
cddb41f6332 Fix markdown
0b0a05770fa Remove old contents
caa97da1f5c Add a word joiner to prevent line break
cf9833f40b7 Cleanup apidoc comments
b6638f9c297 Convert usage to Markdown
d9034601378 Fix markdown
ba2fbf6e1f3 Fix markdown
6e49bb887ad Remove CSS
e0f3e85076b Fix markdown
4fc3fce9cbf Improve syntax markdown
d6427ae7b21 Improve syntax markdown
3d6869065b6 Improve syntax markdown
551aa8d510c Add CSS
9e07045f500 Fix links
5735048b2da Improve mkdocstrings handler
33eba1049db Minor comment fix
43ab964c47b MSVC 17.10.0 + modules cannot find definition (#3972)
728f9bc388b Added std::type_info formatter (#3978)
e721046e274 Convert index to Markdown
552842c4ffd Convert syntax to Markdown
2c38766fd56 Add a mkdocsstrings handler
c8f1b4e7442 ci: Remove macos-11 runners, add macos-14 (#3980)
529dcd11feb Fix workflow, take 2
1441c660bfe Fix workflow
ecd1559732f Improve styles
a57a63dc0f7 Fix styles
8691f21b457 Fix styles
7e4fac3f4fe Improve styles
4a368625e88 Replace less with sass
f4e1ec81e25 Cleanup html
89c0d101055 Update description
12ef9e09d1d Fix class conflict
5afa6813883 Remove redundant github button
cc13102031e Fix navbar style
8ee6c940147 Reintroduce GCC-11 C++20 into CI (#3979)
766300b3c6f Update html
4115219ede7 Fix CSS path
95076981f78 Update documentation deps
1752d7fbbbe Added formattable concept (#3974)
1768bf97140 Added FMT_EXPORT for fmt::range_format and fmt::range_format_kind (#3970)
fc723fd6c70 Fix regression in #3710 (#3968)
b81761068b5 Check range_begin is dereferenceable (#3964)
706eabd5e58 Resolved warning C4127: conditional expression is constant (#3967)
028bffa0830 Update checks for dynamic_cast usage when compiled with no rtti (#3963)
86741b3e1cf Bazel support: Add missing platform dependency (#3965)
75e892420ed Minor cleanup
0b5287f8b7d Remove unused function
a4715c48b42 Bazel support: Add utf-8 to Windows build (#3962)
8e728044f67 Fix format_as for non-const begin/end views (#3955)
1f436c646ed Cleanup locking/buffering
db1ee420e09 Cleanup unicode check more
7d6ae972b98 Cleanup unicode checks
3460b30fd5c Improve utf-8 detection
b7809f91e2c Enable Unicode support by default
1dc71f21ead Enable Unicode by default
8db8f224902 Optimize join_view
d2473b7b73c Simplify join_view formatter
328d256c605 Apply coding conventions
57593a123be Simplify map formatter
10508a30ecd Enable fmt::join for uncopyable iterators (#3946)
16cec4f5913 Make the map formatter correctly handle elements with custom formatters
77bfd8499af Split range and map formatters
3af8ac7a068 Privatize write_debug_string
ceb406d06c7 Remove range_default_formatter
19afc9c3bb1 Update README.md
6ff593b027b Update README.md
78420bedddb Update README.md
a21bc7b8694 Update doc.yml
97d0613ba99 Update doc.yml
04b0ae418b6 Update doc.yml
27dd1dcf082 Update lint.yml
3649c3954fd Update lint.yml
7650ed04a3d Fix to_nonnegative_int
9234fe83f94 Add tests to check that isnan doesn't cause FP errors
8a8f4825a3e Fix: isnan() shouldn't cause FP exceptions
17062a0c9b4 Bump actions/upload-artifact from 4.3.1 to 4.3.3 (#3950)
88d3997f5e3 Bump github/codeql-action from 3.24.9 to 3.25.3 (#3949)
48c908453d8 Fix CodeQL alert (#3945)
cf1f55f7985 Specialize `formatter` for all `std::basic_string` types (#3943)
400f6a8ee28 Dedup ADL begin/end lookup
a3e0931ea22 Update signature in the doc
51eeccd0fbf const void* is neither a fundamental nor string type
f30f1fd5141 Document formatter specializations provided by base.h
f4b256c6676 Fix warning C26439
f746a59a5c4 Cleanup FMT_ASSERT
ee0c3351a4d Fix format_to + FMT_STRING for wide character type (#3931)
99735764ea7 Fix FMT_USE_NONTYPE_TEMPLATE_ARGS define back (#3937)
aa52eb765de Resolved warning C4996: 'fileno': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _fileno. (#3930)
116a9ce4880 Added FMT_IMPORT_STD feature macro (#3928)
5eb68c0ef25 Fix mix-up of 'FMT_BEGIN_EXPORT' and 'namespace detail'. (#3924)
550437b29ec Resolved warning C4127: conditional expression is constant (#3923)
4e8640ed90a Fix: enable `FMT_NORETURN` without exception support too (#3917)
c70e7b74737 Coding conventions and minor fixes
71144eeaff2 implement year_month_day (#3913)
843e2935641 Bump github/codeql-action from 3.24.6 to 3.24.9 (#3915)
f5ec5ada2bc Update syntax.rst
3b5f3de3b57 Make CMake version message less confusing (#3907)
ca9193983bd Replace std::fill_n with fmt::detail::fill_n (#3909)
74a187288bb Implemented fmt::day, fmt::month, fmt::year and related unit tests (#3906)
88620e53a4f Range formatting documentation  (#3905)
5d63e87d235 Add a formatter for float128
aecec01b34a Initial support for extended FP types
5af88653eb9 Cleanup
45b772f85c0 Improve std::complex formatter to be compatible with P2197R0 (#3900)
53347891cf6 Make line buffering test less flaky
38881e5acfb Fix handling of the fileno macro
6c7cc6a06fe Fix group_digits for negative integers (#3901)
365c3fbd258 Bump timeout
c0dac839828 Use p2197 format for complex by default
bb882c03bc1 Simplify path formatting
12acd7988b5 Fix ambiguous call
c710bfa10ca Apply clang-format
73f2b344b20 Add std::complex formatter
9f3fc6e38b1 Add XChar support into nested_formatter
c17816cb4ab Fix invalid fmt::formatter<>::format return type (#3895)
df6e7b22f7f Fix relative path for cmake in usage doc (#3890)
c816fa67519 Fix a warning
e281749c5de Simplify range formatter
11f2f30f0b9 Simplify range formatter
13cfaa2ab03 Guard against usage of _isatty when header was not included (#3880)
0861db500f8 Support character range formatting  (#3863)
dfe5b12c08d Update os-test.cc (#3883)
09935d82390 Bump github/codeql-action from 3.23.2 to 3.24.6 (#3876)
3bc6cc1e63a Protect against locking formatters
4fcc317dc98 Bump actions/upload-artifact from 4.3.0 to 4.3.1 (#3875)
ae1e93d34de Fix warning C4702 emitted from format.h (MSVC) (#3866)
f68f452deaa Workaround an ld warning on macOS
ebea5736a26 Fix chrono locale format bug for RHEL gcc (#3859)
ddf0b7d2b54 Fix warning C4365 emitted from printf.h (#3865)
0166f455f66 std.h c++23 build fix (#3856)
8e42eef4950 Don't error on min time_point
91b30e5b4ed More API details
7a63e233d28 Readd core.h to headers
44c3fe1ebb4 Fix handling of static separator
ae181cc93d0 C++23 compatibility: basic_string_view cannot be constructed from nullptr (#3846)
3a6fb2fcafc Fix some typos. (#3843)
0879504796d Fix typo in typename. `containter_type` -> `container_type`. (#3844)
34f415b56ea Fix %S formatting for chrono durations with leading zeroes  (#3814)
e17bc67547a Make scan variadic
06311ed1ced Fix fixed rounding around zero in Dragon
e5bab8dab42 added formatter for std::expected (#3834)
9f5f39cb507 Bump actions/upload-artifact from 4.0.0 to 4.3.0 (#3837)
ea581437e57 Bump github/codeql-action from 2.22.5 to 3.23.2 (#3836)
6321a97d6bd Simplify color formatting
4b6b32f3884 Deprecate wide stream function
1b54ba4b9d9 Fix UB in format_arg_store implementation. (#3833)
71a4a8d4799 Really fix MSVC warning about <bit> only being available in C++20. (#3832)
8e62172ab67 Fix a warning
28afff363c8 Improve buffering
af44c29744e Separate buffer initialization from flush
a1e1eedbb5c Minor cleanup
ffce3632b7a Add glibc stream support
b5669512b1a Don't hang on test failure
6435b169ec7 Add support for line buffering
6f260455aa5 Add scan_data::make_args

git-subtree-dir: external/fmt
git-subtree-split: 3b70966df5b88fb9c7c6a4c620ab663723802c31
2024-09-22 15:18:54 +02:00