Commit Graph

7225 Commits

Author SHA1 Message Date
Victor Zverovich
fec2cc7af1 Improve handling of named arguments 2024-08-31 19:55:04 -07:00
Victor Zverovich
621e9c17c5 Clarify why we have TYPE in native_formatter 2024-08-31 17:50:21 -07:00
Victor Zverovich
bca7040556 Simplify compile-time checks 2024-08-31 15:01:25 -07:00
Victor Zverovich
8c4b17fe64 Simplify compile-time checks 2024-08-31 14:49:59 -07:00
Victor Zverovich
516a2e2049 Cleanup FMT_STRING 2024-08-31 14:13:57 -07:00
Victor Zverovich
6797f0c39a Cleanup compile-time checks 2024-08-31 11:26:27 -07:00
Victor Zverovich
db496b47c1 Remove old gcc hack 2024-08-31 09:22:49 -07:00
Victor Zverovich
8eda3c8e90 Cleanup compile-time check 2024-08-31 08:38:53 -07:00
Victor Zverovich
53316903e6 Move string_literal to format.h 2024-08-31 07:08:35 -07:00
Victor Zverovich
8a484ad577 Minor cleanup 2024-08-30 20:53:54 -07:00
Victor Zverovich
b446cc9e67 fwrite_fully -> fwrite_all 2024-08-30 18:43:56 -07:00
Victor Zverovich
0204dd359d Fix _BitInt formatter 2024-08-30 18:30:20 -07:00
Victor Zverovich
d8876b7787 Minor cleanup 2024-08-30 16:17:07 -07:00
Victor Zverovich
c0fab5e2f7 Reject modernity, embrace tradition 2024-08-30 11:26:29 -07:00
Victor Zverovich
64313e915c Move redundant initialization to compile time 2024-08-30 10:51:35 -07:00
Victor Zverovich
8e3da9da2c Improve binary size 2024-08-30 10:27:03 -07:00
Victor Zverovich
2a2f73f7c1 Improve binary size 2024-08-29 19:16:54 -07:00
Victor Zverovich
6dd9194abd Simplify format_to_result 2024-08-29 18:35:42 -07:00
Victor Zverovich
a017bba062 Minor cleanup 2024-08-29 18:22:09 -07:00
Victor Zverovich
5eb023cd56 Improve binary size 2024-08-29 17:31:30 -07:00
Victor Zverovich
f213d83306 Disable locale more 2024-08-29 16:35:15 -07:00
Victor Zverovich
b3ccc2d210 Disable locale more 2024-08-29 15:08:43 -07:00
Victor Zverovich
7477dda28d Simplify is_utf8_enabled 2024-08-29 14:39:26 -07:00
Victor Zverovich
e582d377c2 Simplify locale handling 2024-08-29 14:19:33 -07:00
Victor Zverovich
cd8d01d8cd Minor cleanup 2024-08-29 11:41:43 -07:00
Victor Zverovich
377cf203e3 Add opt out for built-in types 2024-08-29 11:21:29 -07:00
Justin Riddell
5a0a37340c
Add support for _BitInt on clang (#4072)
Issue #4007
Make _BitInt up to 128bits formattable
Note, libstdc++ is_signed doesn't work with _BitInt (so use own)
2024-08-28 18:57:52 -07:00
torsten48
bbf8b3bd01
insert else branch to avoid unreachable code warning (#4130)
at least MSC caused warning C4702: unreachable code
2024-08-28 16:43:12 -07:00
Justin Riddell
a3f3f2ec9a
Fix gcc 8.1 - 8.3 bug and compilation (#4131)
Fixes issue #4129
2024-08-28 11:25:39 -07:00
Maxwell
e3676ca309
Change std::copy to detail::copy in chrono to fix MSVC compile errors (#4132) 2024-08-28 08:25:40 -07:00
Victor Zverovich
0379bf3a5d Workaround -Wstringop-overflow 2024-08-24 07:56:09 -07:00
Anthony VH
c59ee969f3
Improve compile-time formatting (#4127) 2024-08-21 12:02:47 -07:00
Victor Zverovich
1a79bbfa83 Cleanup chrono formatting 2024-08-18 12:17:45 -07:00
Victor Zverovich
89af1ad77d Cleanup chrono formatting 2024-08-18 11:55:33 -07:00
Victor Zverovich
0e741e0daa Minor cleanup 2024-08-18 10:35:01 -07:00
Victor Zverovich
d1acc667c1 Minor cleanup 2024-08-18 09:33:29 -07:00
Victor Zverovich
4fb7008c90 Cleanup duration cast 2024-08-18 08:33:26 -07:00
Victor Zverovich
589898e28b Fix %S doc 2024-08-18 07:40:28 -07:00
Victor Zverovich
62382e3650 Test full exponent range 2024-08-18 06:47:04 -07:00
Victor Zverovich
94b8bc8eae Add an experimental writer API 2024-08-17 09:54:09 -07:00
Victor Zverovich
020af729dd Simplify ostream 2024-08-17 08:38:10 -07:00
cdzhan
fb07b37c5b
Prioritize using the header files of self (#4116) 2024-08-13 10:50:49 -07:00
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