Victor Zverovich
0b8404918e
Remove get_cached_power
2023-05-27 09:19:50 -07:00
Nico Rieck
171a020c82
Pass correct Char to base format_as formatter ( #3457 )
2023-05-24 14:50:47 -07:00
Victor Zverovich
d8f04e3995
Simplify ceil
2023-05-24 11:51:34 -07:00
Vladislav Shchapov
5e988f8dfa
Remove is_constant_evaluated() check
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2023-05-24 09:07:12 -07:00
Vladislav Shchapov
19b17618a9
Make constexpr ceil
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2023-05-24 09:07:12 -07:00
Vladislav Shchapov
c684a06d51
New CI: macOS 13, Xcode 14.3, C++ 20
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2023-05-24 09:07:12 -07:00
Victor Zverovich
abdb7fdf88
Update api.rst
2023-05-24 06:30:48 -07:00
rlalik
8b09fe2a0a
Fix example for user-defined types in documentation for 10.0.0 ( #3461 )
...
* Fix example for user-defined types in documentation for 10.0.0
* Fix the fix
2023-05-24 06:25:51 -07:00
Victor Zverovich
adad18a74d
Update ChangeLog.rst
2023-05-23 12:46:26 -07:00
Victor Zverovich
858e528abd
Use dragon in constexpr
2023-05-23 06:30:09 -07:00
Gleb Mazovetskiy
a54cb108d4
CMake: Do not fail on unknown compiler features ( #3453 )
...
If CMake does not know much about a compiler, `target_compile_features` will fail. Issue a warning instead.
2023-05-22 14:17:32 -07:00
Victor Zverovich
ef55d4f52e
Suppress a bogus gcc warning
2023-05-22 11:27:20 -07:00
Kasra Hashemi
70b6a6fa44
Update README.rst ( #3454 )
...
Fixed grammar and punctuation issues.
2023-05-22 10:35:24 -07:00
Victor Zverovich
6fe895410d
Remove invalid_arg_index
2023-05-21 19:57:17 -07:00
Joyce
d0652d225f
Create dependabot.yml ( #3452 )
...
Signed-off-by: Joyce <joycebrum@google.com>
2023-05-21 06:41:30 -07:00
Victor Zverovich
de8d0171a2
Simplify FMT_FORMAT_AS
2023-05-20 18:28:01 -07:00
Joyce
7401fe046a
Hash pin Github Workflows ( #3451 )
...
* hash pin doc.yml
Signed-off-by: Joyce <joycebrum@google.com>
* hash pin linux.yml
Signed-off-by: Joyce <joycebrum@google.com>
* hash pin macos.yml
Signed-off-by: Joyce <joycebrum@google.com>
* hash pin windows.yml
Signed-off-by: Joyce <joycebrum@google.com>
* hash pin github owned cifuzz.yml
Signed-off-by: Joyce <joycebrum@google.com>
---------
Signed-off-by: Joyce <joycebrum@google.com>
2023-05-20 06:33:37 -07:00
timsong-cpp
08ef0d0842
fix formatter<char*> ( #3432 )
2023-05-20 06:32:21 -07:00
Florimond Collette
d60b907f87
Replace mod_inv_25 by explicit value ( #3450 )
2023-05-18 11:26:19 -07:00
Florimond Collette
4ce086f731
remove code duplication ( #3448 )
...
* remove code duplication
* new interface for remove_trailing_zeros(uint32_t& n, int s = 0)
---------
Co-authored-by: Florimond Collette <4939681+florimondcollette@users.noreply.github.com>
2023-05-18 08:27:57 -07:00
Victor Zverovich
821f8cdb45
Detemplatize printf more
2023-05-17 12:34:12 -07:00
Victor Zverovich
0bf6ed7e1d
Cleanup printf
2023-05-17 10:53:25 -07:00
Victor Zverovich
e40e04face
Detemplatize printf_arg_formatter
2023-05-17 10:05:46 -07:00
Victor Zverovich
0a1c27281a
Detemplatize basic_printf_context
2023-05-17 09:29:20 -07:00
Victor Zverovich
2f605cc896
Deprecate wide printf
2023-05-17 08:58:55 -07:00
Victor Zverovich
1d54499ac0
Apply coding conventions
2023-05-17 08:21:13 -07:00
Victor Zverovich
3c6053c535
Cleanup basic_printf_context
2023-05-17 07:57:53 -07:00
Victor Zverovich
4a392adaa7
Remove basic_printf_parse_context
2023-05-17 07:47:42 -07:00
Victor Zverovich
b14913fae5
FMT_MODULE_EXPORT -> FMT_EXPORT
2023-05-17 07:38:06 -07:00
Arnaud Desitter
2117df299c
format-inl.h: address implicit int to bool conversion ( #3446 )
2023-05-17 06:39:20 -07:00
Victor Zverovich
616a493786
Revert Char* formatter removal
2023-05-17 06:11:11 -07:00
Barry Revzin
9a034b0d55
Always assert in FMT_THROW ( #3439 )
2023-05-17 06:04:36 -07:00
Victor Zverovich
e0fc0e85e3
Remove unneeded FMT_API
2023-05-16 17:25:20 -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
Vladislav Shchapov
eaa6307691
Make hex float test more stable ( #3434 )
...
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
2023-05-13 06:34:33 -07:00
Victor Zverovich
e82bf41a1a
Update README.rst
2023-05-12 16:24:47 -07:00
Victor Zverovich
e077396f5a
Update docs
2023-05-12 16:10:38 -07:00
Victor Zverovich
861facad0a
Fix a typo
2023-05-12 16:08:55 -07:00
Victor Zverovich
75bfe57614
Improve docs
2023-05-12 12:57:01 -07:00
Victor Zverovich
697e76ba30
Don't call init_named_args unnecessarily
2023-05-12 11:53:22 -07:00
Victor Zverovich
a425e0ff3b
Cleanup xchar API
2023-05-12 07:05:14 -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
Patrick Geltinger
d7592ad8bf
Fix time_point formatting for durations with certain ratios ( #3430 )
...
* Fix time_point formatting
* Add timestamps_ratios tests
2023-05-11 15:25:21 -07:00
Victor Zverovich
ebfb2e6779
Remove unused alias
2023-05-11 10:51:32 -07:00
Victor Zverovich
5780269d57
Improve API safety
2023-05-11 10:19:56 -07:00