106 Commits

Author SHA1 Message Date
Victor Zverovich
a017bba062 Minor cleanup 2024-08-29 18:22:09 -07:00
Victor Zverovich
f213d83306 Disable locale more 2024-08-29 16:35:15 -07:00
Victor Zverovich
7477dda28d Simplify is_utf8_enabled 2024-08-29 14:39:26 -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
Justin Riddell
a3f3f2ec9a
Fix gcc 8.1 - 8.3 bug and compilation (#4131)
Fixes issue #4129
2024-08-28 11:25:39 -07:00
Victor Zverovich
94b8bc8eae Add an experimental writer API 2024-08-17 09:54:09 -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
Victor Zverovich
50a8c3e9bf Reduce format specs size 2024-08-10 09:34:35 -07:00
Victor Zverovich
bf870ae3d1 Fix back_inserter lookup for non-std containers 2024-08-09 07:10:15 -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
e23fb6a8b4 Apply clang-format 2024-07-29 08:20:58 -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
ba36a04811 Remove counting_iterator 2024-07-22 16:24:13 -07:00
Victor Zverovich
524ca1c715 Improve parsing 2024-07-21 09:57:18 -07:00
Victor Zverovich
3cc32fdc8b Mark more formatters nonlocking 2024-07-21 08:00:34 -07:00
Victor Zverovich
e84297f255 Bump version 2024-07-20 07:00:12 -07:00
Victor Zverovich
9228f349a5 Inline visit 2024-07-14 15:34:53 -07:00
Victor Zverovich
f29a7e7970 Don't use memcpy in append 2024-07-14 13:02:21 -07:00
Victor Zverovich
58d792b6d3 Apply minor optimizations 2024-07-14 07:05:18 -07:00
Victor Zverovich
25adca5666 Remove redundant overload 2024-07-13 13:07:57 -07:00
Victor Zverovich
1408f1824d Simplify iterator detection 2024-07-13 11:11:47 -07:00
Tor Shepherd
3fe4641d3a
Add 2 more constexprs to fix compile error (#4065) 2024-07-13 08:23:49 -07:00
Victor Zverovich
33e7ed1eb5 Improve handling of back_insert_iterator that writes into a buffer 2024-07-13 07:56:11 -07:00
Justin Riddell
13038f37e8
Support printing (const) volatile void* (#4056)
Fixes #4049
2024-07-10 08:35:06 -07:00
Victor Zverovich
7a8b54a0ef Don't confuse Glib::ustring with std::string 2024-07-06 13:27:06 -07:00
Victor Zverovich
503e183b9e Bump version and add version validation 2024-07-04 07:49:58 -07:00
Nebojša Cvetković
c4f6fa7135
fix: Make basic_format_arg::visit() const (#4043) 2024-07-01 14:43:52 -07:00
Victor Zverovich
686339f7c1 Minor cleanup 2024-06-30 10:29:50 -07:00
Victor Zverovich
53186535d5 Bump version 2024-06-29 08:54:52 -07:00
Victor Zverovich
b1efe8516e Prevent silent data loss 2024-06-22 07:46:16 -07:00
Victor Zverovich
2a2048a785 Don't pass seconds as a double in examples 2024-06-15 09:26:49 -07:00
LoveSy
8687315e86
Guard more system headers by FMT_MODULE (#4006)
* Guard more system headers by `FMT_MODULE`

* Merge FMT_MODULE and FMT_IMPORT_STD
2024-06-14 10:53:51 -07:00
Victor Zverovich
1d9df9ce1c Remove a redundant comment 2024-06-13 15:41:35 -07:00
LoveSy
2bf811b1d9
Also allow compiled format for clang >= 12 (#4001) 2024-06-09 06:43:39 -07:00
LoveSy
0f6e716548
Fix missing includes in fmt.cc (#3994)
This causes duplicated std definitions in the fmt module
2024-06-08 13:50:29 -07:00
Victor Zverovich
ab29ef37d9 Migrate docs and cleanup 2024-06-02 13:17:04 -07:00
Victor Zverovich
38ba3d3993 Migrate to mkdocs 2024-06-02 08:26:56 -07:00
Victor Zverovich
03d14c3beb Add support for multiple namespaces 2024-06-02 07:01:40 -07:00
Victor Zverovich
febeb51bde Documentation improvements 2024-06-01 17:45:06 -07:00
Victor Zverovich
933d8ba352 Improve apidoc formatting 2024-06-01 09:24:32 -07:00
Victor Zverovich
91a859ee4a Switch to markdown 2024-06-01 08:56:26 -07:00