Commit Graph
7083 Commits
Author SHA1 Message Date
Victor Zverovich 3135421257 Minor cleanup 2024-08-12 07:59:42 -07:00
Victor Zverovich 993f56cff6 Make sign a proper enum class 2024-08-11 13:49:57 -07:00
Victor Zverovich c6c830e203 Make align a proper enum class 2024-08-11 11:07:18 -07:00
Victor Zverovich b906c321f0 Get rid of bit fields 2024-08-11 10:28:09 -07:00
Victor Zverovich f8c0c8ee78 Cleanup public API 2024-08-11 07:29:17 -07:00
Roberto Turrado Camblor c71d03fcb0 Make support/python/mkdocstrings_handlers/cxx/__init__.py PEP 8 compliant (2 of 2) (#4115)
* Change indents to 4 spaces.

* Run isort.

* Remove one extra space on the left hand side of each assignment at p.communicate's input.

* Remove 'from __future__ import annotations'.
This requires changing a 'list[]' into a 'List[]'.

We had previously added this import because the code was making use of operator '|'.
But that is no longer true, so the import shouldn't be needed.
2024-08-11 07:24:50 -07:00
Victor Zverovich 50a8c3e9bf Reduce format specs size 2024-08-10 09:34:35 -07:00
Victor Zverovich 98314319ad Fix ambiguous overload 2024-08-09 15:01:40 -07:00
Victor Zverovich 0ce49aeb4a Add a test case 2024-08-09 10:18:11 -07:00
Victor Zverovich bf870ae3d1 Fix back_inserter lookup for non-std containers 2024-08-09 07:10:15 -07:00
Roberto Turrado Camblor c98518351e Make support/python/mkdocstrings_handlers/cxx/__init__.py PEP 8 compliant (1 of 2) (#4110)
* Make support/python/mkdocstrings_handlers/cxx/__init__.py PEP compliant.

* Rollback minor change in __init__ signature.

* Rollback minor change in __init__ signature.

* Fix previous commit.

* Add 'from __future__ import annotations' to fix Python 3.8 error when using operator '|'.

* Change doxyxml2html([n]) to doxyxml2html(list(n)) as suggested by Victor.
Change convert_type return type to Optional[str].
2024-08-08 15:22:41 -07:00
Hugo Sales 9f0c0c468b Add 'n' specifier for tuple and pair (#4107) 2024-08-05 14:56:44 -07:00
Victor Zverovich 9f269062a7 Simplify default formatter 2024-08-05 14:24:07 -07:00
Victor Zverovich 15f939c3de Improve handling of dynamic specs 2024-08-04 09:25:50 -07:00
Victor Zverovich 928a07bb04 Simplify handling of dynamic specs 2024-08-04 09:09:01 -07:00
Victor Zverovich 7891699737 Simplify handling of dynamic specs 2024-08-04 08:47:07 -07:00
Victor Zverovich 58aba5a3de Deprecate append instantiation 2024-08-03 11:55:25 -07:00
Vladislav Shchapov 5ee14d3508 Reintroduce constexpr fmt::formatted_size for C++20 (#4103)
* Reintroduce constexpr fmt::formatted_size for C++20

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

* Disable constexpr fmt::formatted_size on Visual Studio 2019

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

---------

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2024-08-03 07:13:32 -07:00
Victor Zverovich b9c0e4dd82 Improve spec parsing 2024-08-02 11:57:02 -07:00
Victor Zverovich 8445327c84 Simplify spec handling 2024-08-01 19:59:21 -07:00
Victor Zverovich 8a06cee826 Optimize shortest float formatting 2024-08-01 18:54:56 -07:00
Victor Zverovich 1db2274966 Use us if Unicode is disabled 2024-08-01 10:24:43 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 34ead4b39e Bump msys2/setup-msys2 from 2.23.0 to 2.24.0 (#4098)
Bumps [msys2/setup-msys2](https://github.com/msys2/setup-msys2) from 2.23.0 to 2.24.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/d0e80f58dffbc64f6a3a1f43527d469b4fc7b6c8...5df0ca6cbf14efcd08f8d5bd5e049a3cc8e07fd2)

---
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-08-01 08:32:46 -07:00
dependabot[bot]anddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 3bf26009e4 Bump ossf/scorecard-action from 2.3.3 to 2.4.0 (#4099)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.3 to 2.4.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/dc50aa9510b46c811795eb24b2f1ba02a914e534...62b2cac7ed8198b15735ed49ab1e5cf35480ba46)

---
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>
2024-08-01 08:32:20 -07:00
Vladislav Shchapov d326c7298a Fix conversion a surrogate pair (#4095)
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2024-07-30 07:27:11 -07:00
Victor Zverovich 6e462b89aa Get rid of std::copy 2024-07-29 15:58:05 -07:00
Vladislav Shchapov aff640c32f Make fmt::appender implement std::output_iterator concept (#4093)
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2024-07-29 09:18:20 -07:00
Victor Zverovich e23fb6a8b4 Apply clang-format 2024-07-29 08:20:58 -07:00
Victor Zverovich 16b3542f7e Remove float_specs 2024-07-27 12:28:21 -07:00
Victor Zverovich 29d7e58059 Remove float_format 2024-07-27 12:07:19 -07:00
Victor Zverovich 919f7c5e7f Reduce float_specs usage 2024-07-27 11:38:55 -07:00
Victor Zverovich a80d668a52 Diagnose invalid precision 2024-07-27 10:41:54 -07:00
Victor Zverovich 707d7d923a Apply coding conventions 2024-07-27 09:00:25 -07:00
Victor Zverovich de6ed8df8b Test alignment 2024-07-26 12:09:47 -07:00
Victor Zverovich ffdc3fdbd9 Align digits table 2024-07-24 18:43:37 -07:00
Victor Zverovich 0c02813791 Fix doc build 2024-07-24 13:40:54 -07:00
Victor Zverovich f8581bcecf Add redirect page 2024-07-24 12:21:44 -07:00
Cameron Angus 31b3c325f6 Mark namespace scope constexpr variable 'buffer_size' inline. (#4084)
* Mark namespace scope constexpr variable 'buffer_size' inline.

* Use provided macro for inline variable.
2024-07-24 09:58:38 -07:00
Cameron Angus 52b32081f9 Wrap private module fragment content within conditional extern "C++", to match declarations. (#4083) 2024-07-24 06:25:23 -07:00
Victor Zverovich 0b0b09f401 Constrain format_uint 2024-07-23 06:30:35 -07:00
Victor Zverovich 4173a6315a Improve format_decimal 2024-07-22 17:24:56 -07:00
Victor Zverovich 4239dfe081 Simplify format_decimal 2024-07-22 17:00:16 -07:00
Victor Zverovich ba36a04811 Remove counting_iterator 2024-07-22 16:24:13 -07:00
Victor Zverovich f6b4a23b83 Unbloat chrono 2024-07-22 15:46:58 -07:00
Victor Zverovich 42d3d703b5 Remove the commenting attempt 2024-07-22 13:48:56 -07:00
Victor Zverovich 9fcd9c4c12 Remove all warning suppressions 2024-07-22 12:41:12 -07:00
Victor Zverovich 7f157dca0a Workaround gcc stringop-overflow bug 2024-07-22 11:31:35 -07:00
Victor Zverovich 524ca1c715 Improve parsing 2024-07-21 09:57:18 -07:00
Victor Zverovich bdc45eef76 Simplify on_text 2024-07-21 08:31:03 -07:00
Victor Zverovich 439b6d7212 Reenable print optimization 2024-07-21 08:05:07 -07:00