Commit Graph
6387 Commits
Author SHA1 Message Date
Victor Zverovich bbb784fb1b Fix a gcc error about partial specialization after instantiation 2023-08-19 07:22:40 -07:00
Ben Deane 6c845f57e5 Fix formatted_size with FMT_COMPILE and format specs (#3588)
Addresses issue #3586
2023-08-15 06:45:48 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> a379595c5f Bump actions/upload-artifact from 3.1.0 to 3.1.2 (#3593)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3.1.0...0b7f8abb1508181956e8e162db84b466c27e18ce)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 14:02:10 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 9dfde78714 Bump ossf/scorecard-action from 2.1.2 to 2.2.0 (#3592)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/e38b1902ae4f44df626f11ba0734b14fb91f8f86...08b4669551908b1024bb425080c797723083c031)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  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>
2023-08-14 13:43:25 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> e92a705bdc Bump github/codeql-action from 2.2.4 to 2.21.4 (#3591)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.4 to 2.21.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/17573ee1cc1b9d061760f3a006fc4aac4f944fd5...a09933a12a80f87b87005513f0abb1494c27a716)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2023-08-14 11:49:24 -07:00
Zhanwei Wang 5a866fe852 Add formatter for std::atomic (#3574) 2023-08-14 08:34:31 -07:00
Vladislav Shchapov e150ea0cc2 to_string supports types with format_as
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2023-08-13 08:39:52 -07:00
Joyce 29ce2ff8a8 Update README.rst
Signed-off-by: Joyce <joycebrum@google.com>
2023-08-13 07:32:33 -07:00
Joyce 2e1362addb Create scorecard.yml
Signed-off-by: Joyce <joycebrum@google.com>
2023-08-13 07:32:33 -07:00
Victor Zverovich e57ca2e368 Update version 2023-08-12 07:18:59 -07:00
Victor Zverovich 4c56612c67 Update changelog 2023-08-12 07:18:12 -07:00
Victor Zverovich e1acd5f4d9 Bump version 2023-08-12 06:52:15 -07:00
Victor Zverovich 6ffee2f752 Handle new rst nodes 2023-08-12 06:51:40 -07:00
Victor Zverovich ee475d6409 Update changelog 2023-08-07 15:12:34 -07:00
Victor Zverovich ecc9141259 Update changelog 2023-08-07 14:41:53 -07:00
Victor Zverovich d424862319 Fix fixed precision handling during rounding in long double 2023-08-07 13:56:53 -07:00
Victor Zverovich 3c1b3337de Update changelog 2023-08-07 11:39:30 -07:00
Victor Zverovich 35fb69ebe0 Update changelog 2023-08-07 10:30:52 -07:00
Victor Zverovich f92be35c09 Update changelog 2023-08-07 09:44:43 -07:00
Victor Zverovich 7a2f6ac210 Fix a comment 2023-08-07 09:33:45 -07:00
Victor Zverovich 744ff55549 Fix docs 2023-08-07 08:40:41 -07:00
Victor Zverovich 70ae48b005 Update changelog 2023-08-07 08:38:17 -07:00
Victor Zverovich ebb10347c4 Merge branch 'master' of github.com:fmtlib/fmt 2023-08-07 08:18:13 -07:00
Victor Zverovich 1005720169 Clarify that visit_format_arg is deprecated 2023-08-07 08:17:55 -07:00
Vladislav ShchapovandFelix aeb6ad4dd0 Added formatter for bit_reference-like types (#3570)
* Add test for std::vector<bool>::reference

Co-authored-by: Felix <felix-antoine.constantin@polymtl.ca>
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>

* Add test for std::bitset<N>::reference

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>

* Add test for const std::bitset<N>::reference and const std::vector<bool>::reference

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>

* Add bit_reference-like formatter

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>

* Use std::addressof

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>

---------

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
Co-authored-by: Felix <felix-antoine.constantin@polymtl.ca>
2023-08-06 11:36:30 -07:00
Victor Zverovich 96d1fa22d4 Update changelog 2023-08-05 10:00:27 -07:00
5chmidti 8a4bec5cf5 fix ambiguous formatter lookup for flat_set (#3561) 2023-07-31 09:26:33 -07:00
Alexandre Bouvier eacd51c249 cmake: fix FMT_PKGCONFIG_DIR path (#3563) 2023-07-31 08:11:56 -07:00
razaqq 757564f5cd add missing inline specifier (#3552) 2023-07-27 12:12:00 -07:00
Jürgen Hock f4214ae8dd Use the U literal for unsigned integer constants. (#3549)
Fix MSVC Error C2398 Element '1': conversion from 'int' to 'const uint32_t' requires a narrowing conversion.
2023-07-27 11:43:00 -07:00
Victor Zverovich aecf80d304 Update a comment 2023-07-26 15:10:12 -07:00
Martin Jeřábek 503d49286d expose detail::throw_format_error (#3551)
This enables to only #include <fmt/core.h> when defining formatters.
2023-07-26 13:21:38 -07:00
Ozomahtli 4f46cb82f3 Remove std::copy usage. (#3550) 2023-07-26 07:27:01 -07:00
Victor Zverovich 3dec65b7fd Use replacement character in path 2023-07-22 09:07:28 -07:00
Dmitry Alexeev dbabb305c3 Turn off error-producing NVCC workaround when using c++20 (#3544) 2023-07-21 11:29:15 -07:00
Victor Zverovich ac0ab8eff3 Improve path formatter 2023-07-20 17:49:12 -07:00
Victor Zverovich 40f35d6f04 Cleanup std formatters 2023-07-20 16:26:27 -07:00
Victor Zverovich 31c2c5679e Cleanup formatters 2023-07-20 15:57:43 -07:00
Victor Zverovich b2728a3170 Improve path formatter 2023-07-20 15:25:35 -07:00
Victor Zverovich 77e0b0e228 Cleanup chrono formatter 2023-07-20 15:00:59 -07:00
Victor Zverovich e475859042 Fix overspecified tests 2023-07-20 14:09:22 -07:00
Victor Zverovich 436c131d4c Optimize compiled format_to_n 2023-07-20 12:35:01 -07:00
Victor Zverovich 388bc296b7 Fix fixed formatting of small long doubles 2023-07-20 12:06:05 -07:00
Victor Zverovich 95e1ea5737 Clarify requirement on compiled formatter 2023-07-20 10:24:02 -07:00
Victor Zverovich fb97cb2318 Suppress a bogus stringop-overflow warning 2023-07-20 09:53:54 -07:00
Victor Zverovich dd5a9691f9 Clarify that data is not null-terminated 2023-07-20 07:36:30 -07:00
Kieran Clancy 72dc4491ea Fix format_string_checker initialisation order (#3542)
Linter (clang-tidy) complains about uninitialised fields in
format_string_checker since types_ is passed to context_ before being
initialised. Fixes #3541.
2023-07-20 07:30:45 -07:00
Victor Zverovich 9bea6ec04a Don't use deprecated checked_array_iterator 2023-07-20 07:12:06 -07:00
Victor Zverovich 661b23edeb Call parse on empty specs at compile time 2023-07-15 22:20:29 -07:00
Victor Zverovich 8e87d3a8be Fix include 2023-07-15 09:02:19 -07:00