Commit Graph
644 Commits
Author SHA1 Message Date
Roman-Koshelev 8029bf955c Fix copy_str performance (#2477) 2021-09-02 07:25:26 -07:00
Max 2520f410c8 Workaround for #2478 (#2482)
_MSC_VER 1911 (Visual Studio 2017 15.3)
2021-09-02 07:13:30 -07:00
Vladislav Shchapov ee63f5f04e Workaround to MSVC bug (#2474) (#2476) 2021-08-31 07:54:42 -07:00
Victor Zverovich 1aaf72fb6d Add an example to fmt::runtime 2021-08-29 12:10:40 -07:00
Victor Zverovich c1313c2057 Clarify that format_to[_n] do not append a terminating null 2021-08-29 12:07:35 -07:00
Victor Zverovich 71677e5204 Improve docs 2021-08-29 11:21:38 -07:00
Victor Zverovich 419ba86a91 Improve docs 2021-08-28 16:54:58 -07:00
Victor Zverovich 6a5b4d5faf Document format_string 2021-08-28 16:51:48 -07:00
Victor Zverovich 74c1118964 Apply force inline 2021-08-26 21:17:35 -07:00
Victor Zverovich 596508a928 Cleanup 2021-08-26 20:56:28 -07:00
Victor Zverovich 043e3b3429 Remove static_assert from arg_mapper 2021-08-26 20:45:01 -07:00
Victor Zverovich 8b0cb944da Fix error reporting when mixing character types 2021-08-26 18:16:05 -07:00
Alexey Ochapov fd34a3d246 make detail::basic_memory_buffer constexpr with C++20 2021-08-26 17:16:45 -07:00
Victor Zverovich 6d597e39c3 Fix overload ambiguity in arg_mapper 2021-08-26 16:54:27 -07:00
Victor Zverovich b9ce56d936 Improve comments 2021-08-26 16:30:58 -07:00
Victor Zverovich f889e52a15 Improve error reporting 2021-08-26 15:47:44 -07:00
owent 4b8bda25c0 Fix 2462
Signed-off-by: owent <admin@owent.net>
2021-08-23 06:31:10 -07:00
Victor Zverovich 5c222f0561 Add support for nonconst formattable types 2021-07-24 09:53:53 -07:00
Victor Zverovich 8465869d7b Move ignore_unused to detail 2021-07-09 08:24:11 -07:00
Victor Zverovich cfc05e05f0 Bump version 2021-07-02 14:43:31 -07:00
Victor Zverovich e461f3dbbe Minor consitency and comment tweaks 2021-07-02 13:56:37 -07:00
Mattias Ljungström 54014e42e3 silence warning C4100 on MSVC 2019 when exceptions are disabled (#2397) 2021-07-02 13:51:49 -07:00
Victor Zverovich 3e7a29cc92 Workaround clang/gcc incompatibility 2021-07-02 13:29:22 -07:00
Victor Zverovich 1d7384530e Add missing presentation type checks for std::string (#2402) 2021-07-02 07:51:04 -07:00
Victor Zverovich 5f8473914c Remove outdated apidoc 2021-07-01 07:56:53 -07:00
Victor Zverovich 785908ee37 Fix warnings 2021-06-30 06:42:29 -07:00
Greg Sjaardema fbb70eec5c suppress unused variable warnings (#2381)
* suppress unused variable warnings

An arguably better method for suppressing unused variable warnings.   The `(void)var` method does not work on many intel compiilers.
This is from Herb Sutter's blog post https://herbsutter.com/2009/10/18/mailbag-shutting-up-compiler-warnings/

* Format to eliminate long lines

* Run clang-format
2021-06-30 06:33:30 -07:00
Marek Kurdej a3f762c5aa [doc] Minor: fix `code`. 2021-06-29 06:21:15 -07:00
Aidan Sun f85fb9fdff Adjust definition for FMT_HAS_INCLUDE
Adjust definition for FMT_HAS_INCLUDE

Remove check for `!FMT_MSC_VER`
2021-06-27 07:08:29 -07:00
Greg Sjaardema 3bd806f12f Eliminate intel compiler warning
The intel compiler defines `__GNUC__`, but does not support the gcc `_Pragma`.  This PR filters out the intel compiler to avoid warnings about an unrecognized function.
2021-06-26 06:16:12 -07:00
Daniela Engert 5221242f6e Instruct msvc to report the _true_ value in __cplusplus and force _full_ C++ conformance
* do this  in _some_ tests to improve test coverage and catch possible problems due to that
 * fix invalid export of `static constexpr` constant
 * fix msvc warnings about unreachable code in high warning levels
2021-06-24 09:10:08 -07:00
Victor Zverovich 31a5f0d399 Bump version in inline namespace 2021-06-22 14:47:59 -07:00
Victor Zverovich 102a4d492a Bump version in inline namespace 2021-06-22 07:04:02 -07:00
Victor Zverovich 92fec0f050 Bump version 2021-06-21 05:57:50 -07:00
Victor Zverovich 427b534054 Add no_value state to value 2021-06-15 07:53:28 -07:00
Victor Zverovich e421d52713 Simplify error handling in parse_nonnegative_int 2021-06-14 16:05:37 -07:00
Victor Zverovich 3c8fad126c Optimize parse_nonnegative_int 2021-06-13 19:20:44 -07:00
Victor Zverovich 2039dce75f Detect consteval 2021-06-07 06:57:43 -07:00
Victor Zverovich d551b88a6d Move is_char specializations to xchar.h 2021-06-06 15:32:30 -07:00
Victor Zverovich 206000a017 Workaround pathological conversion (#2343) 2021-06-06 07:18:44 -07:00
Victor Zverovich 11addaa16e Update docs 2021-06-03 06:24:17 -07:00
Владислав Щапов f286139d22 Fix "undefined reference to `fmt::v7::detail::basic_data<void>::digits'"
Remove unused FMT_EXTERN_TEMPLATE_API
2021-06-02 14:33:17 -07:00
Victor Zverovich a04e3a2dc8 Comment 2021-06-01 20:47:16 -07:00
Victor Zverovich ad97258915 Merge branch 'master' of github.com:fmtlib/fmt 2021-06-01 13:38:26 -07:00
Victor Zverovich ed2a6377e7 Workaround msvc constexpr issues 2021-06-01 13:32:44 -07:00
Alexey Ochapov 9976869549 fix custom types formatting at compile-time, add test 2021-06-01 11:16:05 -07:00
Daniela Engert d7ba6c3ea8 Use qualified name-lookup in module. (#2324)
Allow lookup of non-exported names from local classes in function templates.
2021-05-31 09:11:24 -07:00
Liedtke a70a4ae053 Ignore zero-padding for non-finite floating points (#2310)
* Ignore zero-padding for non-finite floating points

* keep width for non-finite formatting with 0-padding

* clang-format

* preserve alignment

* align code-style
2021-05-27 14:13:05 -07:00
Victor Zverovich 5a2a185682 Make buffers non-movable 2021-05-25 17:30:17 -07:00
Victor Zverovich 5d59dcf66e Remove deprecated aliases / undeprecate has_formatter 2021-05-22 06:53:34 -07:00