timsong-cpp
08ef0d0842
fix formatter<char*> ( #3432 )
2023-05-20 06:32:21 -07:00
Victor Zverovich
0a1c27281a
Detemplatize basic_printf_context
2023-05-17 09:29:20 -07:00
Victor Zverovich
3c6053c535
Cleanup basic_printf_context
2023-05-17 07:57:53 -07:00
Victor Zverovich
b14913fae5
FMT_MODULE_EXPORT -> FMT_EXPORT
2023-05-17 07:38:06 -07:00
Victor Zverovich
616a493786
Revert Char* formatter removal
2023-05-17 06:11:11 -07:00
Victor Zverovich
552c43aba9
Improve long formatters
2023-05-14 07:07:36 -07:00
Victor Zverovich
d6846f4ac8
Clarify why byte formatter is in core
2023-05-13 08:04:53 -07:00
Victor Zverovich
aeedac5884
Remove unneeded specialization
2023-05-13 07:46:47 -07:00
Victor Zverovich
697e76ba30
Don't call init_named_args unnecessarily
2023-05-12 11:53:22 -07:00
Victor Zverovich
c36dd825ba
Remove unnecessary forwarding
2023-05-12 06:45:49 -07:00
Victor Zverovich
130b8fcdb9
Reduce template instantiations
2023-05-11 20:18:34 -07:00
Victor Zverovich
a47e8419be
Cleanup the core API
2023-05-11 19:07:56 -07:00
Victor Zverovich
ea49c91cd1
Cleanup argument construction
2023-05-11 18:43:39 -07:00
Victor Zverovich
5780269d57
Improve API safety
2023-05-11 10:19:56 -07:00
Victor Zverovich
b471192160
Fix a comment
2023-05-11 09:39:53 -07:00
Victor Zverovich
8f18e72df5
Improve API safety
2023-05-11 06:32:58 -07:00
Victor Zverovich
5cf2342aa2
Bump version
2023-05-09 15:37:01 -07:00
Victor Zverovich
f61f15cc5b
Suppress a false positive in gcc
2023-05-06 06:54:30 -07:00
Daniela Engert
c039389223
export names only once ( #3392 )
...
names declared to be exported at the point of introduction into a namespace *must not* be (re-)declared as exported later in the TU, e.g. when they are redeclared, defined, or specialized. [module.export]/6
Drive-by fix found during module testing: add a missing `detail::` name qualification
2023-04-22 06:21:06 -07:00
Daniela Engert
18e7a2532b
Remove obsolete msvc workarounds ( #3388 )
...
This bug in the modules implementation is fixed since at least msvc 19.34, possibly even earlier like 19.32.
2023-04-19 17:09:51 -07:00
Daniela Engert
0489c19dcb
fix and improve module ( #3386 )
...
* export public documented API
* don't export `namespace detail`
* add `std.h` into module
* add missing namespace qualification in `xchar.h`
* fix call to `detail::get_iterator` in `xchar.h`
* fix ambiguous overload of `detail::isfinite` in `chrono.h`
2023-04-18 06:47:01 -07:00
Victor Zverovich
c98e5a08a4
Fix modular build on clang
2023-04-10 12:07:25 -07:00
Victor Zverovich
1d0257e4c0
FMT_MODULE_EXPORT_* -> FMT_EXPORT_*
2023-04-10 08:33:39 -07:00
Victor Zverovich
4613d48fd3
FMT_EXPORT -> FMT_LIB_EXPORT
2023-04-10 08:24:23 -07:00
Victor Zverovich
4a4a2a2bd6
Fix diagnostics
2023-04-09 09:30:20 -07:00
Victor Zverovich
fce74caa15
Disable problematic implicit conversions
2023-04-09 09:08:46 -07:00
Victor Zverovich
02bf4d1c1c
Disable to_string_view ADL
2023-04-09 08:49:05 -07:00
Victor Zverovich
466e0650ec
Remove problematic workaround
2023-04-09 08:04:11 -07:00
Victor Zverovich
bce8d4ed08
Remove stray comment
2023-03-27 11:04:00 -07:00
Victor Zverovich
a91c7b286d
Cleanup the core API
2023-03-26 21:07:26 -07:00
Victor Zverovich
19c074e477
Remove deprecated fallback formatter
2023-03-26 08:45:06 -07:00
Victor Zverovich
41cfc739fe
Generalize format_as
2023-03-26 07:37:51 -07:00
Victor Zverovich
6002ddf825
Remove a deprecated option
2023-03-19 12:17:43 -07:00
Victor Zverovich
6549ffde8e
Improve format_as safety
2023-03-19 12:09:54 -07:00
Alecto Irene Perez
d9bc5f1320
Fix code causing spurious Wstringop-overflow warning
...
See #2989 , #3054 , and others
2023-03-18 09:29:54 -07:00
tmartin-gh
e1720c0e51
Fix CUDA nvcc warning fmt/include/fmt/core.h(295): warning #1675-D: unrecognized GCC pragma ( #3352 )
2023-03-17 11:35:35 -07:00
Cloyce D. Spradling
3daf33837c
Enable consteval for Xcode 14.0.1 and later ( #3331 )
...
Co-authored-by: Cloyce D. Spradling <cloyce_spradling@apple.com >
2023-03-04 09:22:43 -08:00
Russell Greene
6e6eb63770
[msvc] fix warning about non-inline variable
2023-02-11 09:45:13 -08:00
Victor Zverovich
cae9bf45b9
Simplify apidoc comments
2023-01-25 09:32:03 +13:00
Shawn Zhong
87c066a35b
Implement println ( #3267 )
2023-01-24 12:30:00 -08:00
Vladislav Shchapov
9409b2e4d8
Workaround for incompatibility between libstdc++ consteval-based std::is_constant_evaluated() implementation and clang-14 ( #3281 )
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru >
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru >
2023-01-22 11:29:34 -08:00
Victor Zverovich
2622cd23e6
Simplify arg_mapper
2023-01-03 16:35:21 -08:00
Victor Zverovich
9e4a54fa6e
Disable remaining implicit conversions
2023-01-03 12:08:42 -08:00
Victor Zverovich
9ce6480676
Disble deprecated implicit enum conversions
2023-01-03 10:24:31 -08:00
Victor Zverovich
9121f9b1d3
Enable format_as for classes
2023-01-03 08:58:23 -08:00
Victor Zverovich
b7535365b2
Enable format_as for non-integral types
2023-01-02 13:37:13 -08:00
Victor Zverovich
0ec65d99aa
Merge parse_presentation_type into parse_format_specs
2023-01-02 09:19:32 -08:00
Victor Zverovich
aad546baa5
Simplify presentation type parsing
2023-01-01 16:14:17 -08:00
Victor Zverovich
14a69fcc54
Use parse_align
2023-01-01 10:44:55 -08:00
Victor Zverovich
bf34ffd33f
Refactor format string parsing
2023-01-01 10:21:47 -08:00