Commit Graph
7530 Commits
Author SHA1 Message Date
Victor Zverovich 5750f434fa Update changelog 2025-01-11 09:06:00 -08:00
Marcel Breyer bfbdc2be9a Add parameter to the fallback to_sys function. 2025-01-11 08:48:20 -08:00
Victor Zverovich 87e0072673 Update changelog 2025-01-11 07:21:28 -08:00
Victor Zverovich d57040f949 Prefix components 2025-01-10 19:51:55 -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
Trim21 093b39ca5e Update docs for meson (#4291) 2025-01-06 10:52:57 -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
Vladislav Shchapov 880e1494dc Improve xchar support for std::bitset formatter
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2025-01-03 09:16:21 -08:00
Victor Zverovich e3ddede6c4 Update version 2024-12-27 08:41:16 -08:00
Victor Zverovich e9ec4fdc88 Bump version 2024-12-27 08:41:06 -08:00
Victor Zverovich feb72126b4 Readd FMT_NO_UNIQUE_ADDRESS 2024-12-26 13:54:06 -08:00
Victor Zverovich 8d517e54c9 Update changelog 2024-12-26 13:50:13 -08:00
Victor Zverovich 563fc74ae4 Update changelog 2024-12-26 10:59:56 -08:00
Victor Zverovich 3e04222d53 Restore ABI compatibility with 11.0.2 2024-12-26 10:45:15 -08:00
Victor Zverovich 853df39d0a Mention compile-time formatting 2024-12-26 09:48:10 -08:00
Victor Zverovich 11742a09c7 Clarify that format_string should be used instead of fstring 2024-12-26 09:39:01 -08:00
Victor Zverovich da24fac101 Document fstring 2024-12-26 09:19:31 -08:00
Carl Smedstad 5fa4bdd758 Define CMake components to allow docs to be installed separately (#4276)
Define two components, core and doc, which can be installed separately.
This facilitates packagers who want to package docs in a separate
package.

After this change it's possible to install only core files with:

     cmake --install build --component core

And only install documentation with:

     cmake --install build --component doc

When no component is specified, the behaviour is unchanged, i.e. if
documentation was built, it will be installed.
2024-12-26 07:13:01 -08:00
Victor Zverovich 3c8aad8df7 Update the release script 2024-12-26 07:03:15 -08:00
Victor Zverovich 0e8aad961d Update version 2024-12-25 08:46:43 -08:00
Victor Zverovich debe784aab Update changelog 2024-12-25 08:44:54 -08:00
Victor Zverovich f6d1125676 Update changelog 2024-12-25 08:40:19 -08:00
Victor Zverovich 73d0d3f75d Fix github API call 2024-12-25 08:27:59 -08:00
Victor Zverovich 08f60f1efc Update changelog 2024-12-25 08:27:33 -08:00
Victor Zverovich faf3f84085 Bump version 2024-12-25 08:18:51 -08:00
Victor Zverovich f3a41441df Replace requests with urllib 2024-12-25 08:16:09 -08:00
Victor Zverovich 3f33cb21d2 Update changelog 2024-12-25 07:54:45 -08:00
Victor Zverovich b07a90386e Update changelog 2024-12-25 07:52:52 -08:00
Victor Zverovich a6fba51773 Update changelog 2024-12-25 07:49:56 -08:00
Victor Zverovich 25e2929988 Update changelog 2024-12-25 07:44:58 -08:00
Victor Zverovich 00ab2e98b5 Update changelog 2024-12-25 07:38:42 -08:00
Victor Zverovich a3ef285aec Always inline const_check to improve debug codegen in clang 2024-12-24 12:54:44 -08:00
Victor Zverovich 28d1abc9d2 Update changelog 2024-12-24 09:12:32 -08:00
Victor Zverovich 90704b9efd Update changelog 2024-12-23 14:55:33 -08:00
YexuanXiao 86dae01c23 Fix compatibility with older versions of VS (#4271) 2024-12-23 07:26:11 -08:00
Victor Zverovich d8a79eafdc Document formatting of bit-fields and fields of packed structs 2024-12-21 11:06:11 -08:00
YexuanXiao 7c3d0152e5 Use the _MSVC_STL_UPDATE macro to detect STL (#4267) 2024-12-19 06:47:13 -08:00
Hannes Harnisch 7c50da5385 Allow getting size of dynamic format arg store (#4270) 2024-12-18 19:54:35 -08:00
Sascha Hestermann 873670ba3f Make parameter basic_memory_buffer<char, SIZE>& buf of to_string const 2024-12-11 12:19:20 -08:00
Victor Zverovich 735d4cc05e Update changelog 2024-12-11 12:17:40 -08:00
Vladislav Shchapov 141380172f Allow disabling <filesystem> by define FMT_CPP_LIB_FILESYSTEM=0 (#4259)
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2024-12-09 07:13:24 -08:00
Victor Zverovich 4302d74293 Update changelog 2024-12-08 07:20:31 -08:00
Victor Zverovich 0f51ea79d3 Update changelog 2024-12-07 11:05:40 -08:00
Alex Hirsch 9600fee020 Include <filesystem> only if FMT_CPP_LIB_FILESYSTEM is set (#4258)
This change results out of necessity since the Nintendo Switch console
SDK does not support `std::filesystem`. The SDK still provides the
`<filesystem>` header, but with an `#error` directive, effectively
breaking any build that includes `<filesystem>`

Because `<filesystem>` is present, `FMT_HAS_INCLUDE` is insufficient
here. With this change and `FMT_CPP_LIB_FILESYSTEM` in place, one can
define `FMT_CPP_LIB_FILESYSTEM=0` to work around this issue.

This assumes that `<filesystem>` can be included (without warnings) if
`FMT_CPP_LIB_FILESYSTEM` is set. If this is not the case, fmt would be
broken even before this change as `std::filesystem::path` is used
without the accompanying header.
2024-12-07 06:45:54 -08:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 47a66c5ecc Bump msys2/setup-msys2 from 2.24.0 to 2.25.0 (#4250)
Bumps [msys2/setup-msys2](https://github.com/msys2/setup-msys2) from 2.24.0 to 2.25.0.
- [Release notes](https://github.com/msys2/setup-msys2/releases)
- [Changelog](https://github.com/msys2/setup-msys2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/msys2/setup-msys2/compare/5df0ca6cbf14efcd08f8d5bd5e049a3cc8e07fd2...c52d1fa9c7492275e60fe763540fb601f5f232a1)

---
updated-dependencies:
- dependency-name: msys2/setup-msys2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-02 09:24:57 -08:00
jsirpoma 385c01dc7b Allow bit_cast to work for 80bit long double (#4246) 2024-11-29 01:25:21 -08:00