Commit Graph

7923 Commits

Author SHA1 Message Date
Victor Zverovich 840a5b4190 Update changelog 2026-06-02 08:31:36 -07:00
Jiami Lin a90ad5d6fd Fix formatting std::tm with null tm_zone (#4790) 2026-06-01 18:16:49 -07:00
Victor Zverovich f53c0408a3 Remove Python license attribution
The syntax documentation no longer derives from Python's string
module documentation, so the PSF license no longer applies.
2026-06-01 15:45:52 -07:00
Victor Zverovich b6248c5bc0 Fix doc deploy condition for main branch 2026-06-01 15:22:36 -07:00
Victor Zverovich ab92191553 Rewrite syntax.md from scratch
Only reuse the BNF syntax.
2026-06-01 14:51:45 -07:00
Victor Zverovich 6b2d7f9726 Rename CIFuzz workflow to fuzz
Match the naming convention used by the other workflows: lowercase,
single-word names that describe what the workflow does rather than the
tool it uses. Also rename the job from Fuzzing to fuzz for consistency.
2026-06-01 12:03:52 -07:00
Victor Zverovich 2538c89e71 Scope CodeQL write permissions to the analyze job 2026-06-01 10:53:29 -07:00
Victor Zverovich b18919cb38 Clean up supply-chain workflow 2026-06-01 10:22:33 -07:00
Victor Zverovich 3046d2ca7e Add CodeQL workflow 2026-06-01 09:31:01 -07:00
Victor Zverovich 95390170a9 Rename scorecard workflow to supply-chain 2026-06-01 08:54:54 -07:00
Victor Zverovich 1c98a69c66 Move security policy from README to .github/SECURITY.md 2026-06-01 06:51:41 -07:00
Victor Zverovich ed5d7ec5a3 Add CODEOWNERS 2026-05-31 21:45:33 -07:00
Victor Zverovich 1f0533a923 Pin clang-20 install
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-31 21:23:21 -07:00
Victor Zverovich e48f8a9070 Pin clang-format install
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-31 20:56:33 -07:00
Victor Zverovich 6a1d56c425 Pin doc deps 2026-05-31 20:14:10 -07:00
Victor Zverovich 49780cabbe Pin deps 2026-05-31 19:10:01 -07:00
Victor Zverovich a9e889e161 Build release artifacts and SLSA provenance in CI
Adds .github/workflows/release.yml, triggered on `release: created`, which:
  - checks out the release's target_commitish,
  - builds the source zip via CMake/CPack (`package_source`),
  - uploads the zip to the draft release,
  - calls slsa-framework/slsa-github-generator to produce a
    SLSA v1.0 *.intoto.jsonl provenance file and attach it to the
    same draft release.

After CI completes, the draft has both the zip and the provenance attached,
and the maintainer reviews and publishes as before.

Updates support/release.py to stop building and uploading the zip locally;
that work has moved to CI so the SLSA provenance attests to the actual
build environment that produced the artifact, not to a hash observed
after the fact. The script still builds docs locally because the
subsequent mkdocs deploy step depends on them.
2026-05-31 18:16:07 -07:00
Victor Zverovich d079860923 Remove a temporary workflow 2026-05-31 18:15:24 -07:00
Victor Zverovich da081318af Add workflow_dispatch trigger to scorecard.yml 2026-05-31 15:01:24 -07:00
Victor Zverovich e743e0f7ea Merge Documentation License into License 2026-05-31 11:31:24 -07:00
Victor Zverovich cc4cee596e Update README.md 2026-05-31 10:38:48 -07:00
Victor Zverovich 60c3384234 Move support link to badge 2026-05-31 10:14:06 -07:00
Victor Zverovich 2a24d1ae2e Add a temporary workflow to backfill SLSA provenance for existing releases 2026-05-31 09:16:32 -07:00
Victor Zverovich 46cf422f54 Unify copyright notices 2026-05-31 08:54:06 -07:00
Victor Zverovich a823ba0699 Deconstexprify exception formatter 2026-05-31 08:24:38 -07:00
j4niwzis 029d543768 Fix compile time format for ranges, style, and std (#4759) 2026-05-31 08:21:35 -07:00
ahoarau 0acf106c52 Add println functions for formatted output with color support (#4782) 2026-05-25 08:30:36 -07:00
Victor Zverovich 93e26fa578 Cleanup is_contiguous 2026-05-22 08:04:50 -07:00
Vladislav Shchapov a30cf7d1ad Provide reasonable default definition for is_contiguous (#4770)
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2026-05-21 07:19:19 -07:00
theflashwin 2f18a88e68 fix GCC PCH Breakage Triggered by fmt Scoped #pragma GCC optimize(0g) 2026-05-11 07:20:40 -07:00
Vladislav Shchapov 9cb8c0f92b Fix ambiguous formatter<std::optional<T>> between fmt/std.h and fmt/ranges.h on C++26 (P3168R2) (#4761)
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2026-05-03 07:37:46 -07:00
Victor Zverovich 5a9a184448 Apply clang-format 2026-05-03 07:33:53 -07:00
Victor Zverovich 7aabdcf0ba Workaround apt-add-repository timeouts 2026-05-03 07:25:47 -07:00
Victor Zverovich 8f20ee6191 Correct image link in README 2026-04-30 08:00:41 -07:00
Victor Zverovich 522b5091e5 Fix badge links in README 2026-04-30 07:57:20 -07:00
Kağan Can Şit d0e3d20af8 chore(IWYU):Remove redundant includes (#4758) 2026-04-29 20:50:56 -07:00
Victor Zverovich 432fda7bfa Fix false positive in tsan (fixes #4755) 2026-04-29 17:16:36 -07:00
user202729 eeff8680ed Avoid dropping null byte in format string (#4732)
* Avoid dropping null byte in format string

* Add a test for null byte in format string
2026-04-23 09:34:27 -07:00
st0rmbtw 4b50ad7944 Replace try and catch with the FMT_TRY and FMT_CATCH macros (#4751) 2026-04-20 10:29:42 -07:00
Powerbyte7 2cb3983213 Update link anchor (#4748) 2026-04-16 08:42:35 -07:00
Victor Zverovich 382609a920 Cleanup module test and CI config 2026-04-14 12:30:21 -07:00
Mathew Benson 8783c3c2d4 enable fmt_module tests by updating module-test.cc (#4702)
- Update g++ module testing to use g++ version 15 instead of 14.
  The module support in version 14 isn't very stable and the module
  testing was not working due to unresolved locale symbols.
- Update CI for linux and macos to add verbosity so its consistent with
  windows.
- Refactor test/CMakeLists.txt to enable testing for modules
- The tests in `module-test.cc` seem to not have been updated in some
  time despite changes in the main library.
- Wide String versions of several tests appear to be deprecated so have
  been removed.
- Refactored tests related to `fmt::format_args` that now requires lvalue
  references as opposed to direct values.
- Remove the none-working code identified in the `module-test.cc` file
  while updating.
2026-04-12 10:07:16 -07:00
Victor Zverovich 27d0c03c4d Minor cleanup 2026-04-12 09:50:12 -07:00
Cazadorro 03cfb8645e Workaround a CUDA issue in handing UTF-32 literals (#4719) 2026-04-10 16:28:52 -07:00
Raúl Marín 4ccf1d4faf Fix out-of-bounds read in vprintf with trailing '%' (#4742) 2026-04-10 12:23:57 -07:00
Mike Vastola be98ea8add Fix bug re: return type of f(un)lockfile wrappers for Windows (#4739)
Just a tiny bugfix I spotted: The `f(un)lockfile` wrappers in
`format-inl.h` that wrap Windows's `_(un)lock_file` methods are
defined with a trailing return type derived by using decltype on a
hypothetical call to the underlying functions.

The wrappers don't contain a `return` in their bodies, however, so if
the return type of the underlying functions were to ever change from
`void`, there would be a compile error. This just adds `return` to each.
2026-04-10 08:01:13 -07:00
Kağan Can Şit 9396f77fe4 Remove unused header includes in test files (#4729) 2026-04-05 18:40:48 -07:00
Victor Zverovich d2a159fbe7 Apply clang-format 2026-04-03 17:35:28 -07:00
mccakit 3febdca556 clang compilation failiure fix (#4718) 2026-04-02 16:51:38 -07:00
Victor Zverovich 907f002f8e Cleanup CI 2026-04-02 16:30:52 -07:00