Commit Graph

5623 Commits

Author SHA1 Message Date
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
Victor Zverovich
8c1b22ba6d Workaround a gcc 9.1 bug (#2334) 2021-06-01 06:43:30 -07:00
Victor Zverovich
2dba1cfac1 Update changelog 2021-05-31 19:19:09 -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
Victor Zverovich
bf9904ee4d Workaround msvc bugs 2021-05-31 08:25:05 -07:00
Victor Zverovich
577bce9029 Apply clang-format 2021-05-31 08:09:10 -07:00
Daniela Engert
ba4c7f193b
Swap parameter order to match #2327 (#2329) 2021-05-31 07:44:33 -07:00
Victor Zverovich
e9e89b355b
Update ChangeLog.rst 2021-05-31 07:43:29 -07:00
Victor Zverovich
9bb406d78d Update changelog 2021-05-31 07:37:10 -07:00
Victor Zverovich
11a14db286 Update format_to taking a buffer and remove undocumented vformat_to overload 2021-05-30 07:57:51 -07:00
Victor Zverovich
832ec098fc Fix argument order in locale overload of vformat_to (#2327) 2021-05-30 06:42:09 -07:00
Victor Zverovich
486a80e8ef Move wchar_t overloads to xchar.h 2021-05-30 06:41:39 -07:00
Victor Zverovich
19d45f4b31 Update changelog 2021-05-29 16:56:33 -07:00
Victor Zverovich
5a2b88f6e9 Reduce binary size 2021-05-29 16:45:43 -07:00
Daniela Engert
00a39ad5f8
Enable Char types other than char (#2323) 2021-05-29 11:42:16 -07:00
Victor Zverovich
ff37e41625 wchar.h -> xchar.h because it handles other code unit types too 2021-05-29 09:37:17 -07:00
Victor Zverovich
0901176fe4 arg_join -> join_view 2021-05-29 08:47:16 -07:00
Victor Zverovich
a9a9018191 Move wmemory_buffer to wchar.h 2021-05-29 08:26:04 -07:00
Victor Zverovich
4a7801c3ec Update changelog 2021-05-29 08:14:25 -07:00
Victor Zverovich
517578f80e Update changelog 2021-05-29 07:48:59 -07:00
Victor Zverovich
85442ed045 Update changelog 2021-05-29 07:43:21 -07:00
Victor Zverovich
6a12b13a85 Update changelog 2021-05-29 07:39:35 -07:00
Victor Zverovich
1cfe3c7382
Update ChangeLog.rst 2021-05-29 07:30:47 -07:00
Victor Zverovich
c06014792b Update changelog 2021-05-29 07:30:07 -07:00
Victor Zverovich
6fe04871f4 Update changelog 2021-05-29 07:20:29 -07:00
Victor Zverovich
9d67988aed FMT_DEPRECATED_WCHAR -> FMT_DEPRECATED_INCLUDE_WCHAR 2021-05-29 06:41:07 -07:00
Victor Zverovich
765b451edd Update changelog 2021-05-29 06:15:49 -07:00
Jose Miguel Pérez
17c993c753
Fixed compilation with CMake < 3.7 (#2321) 2021-05-28 20:24:31 -07:00
Victor Zverovich
dde6937319 Update changelog 2021-05-28 16:20:46 -07:00
Daniela Engert
272b0f36b3
More module tests (#2309)
core.h, format.h, args.h, chrono.h, color.h, printf.h, os.h
2021-05-28 15:49:39 -07:00
Daniela Engert
126c8cb46b
Export os.h API, too (#2318) 2021-05-28 09:27:45 -07:00
Matthias Liedtke
98b9ff47a1
Align hex floats right as default (#2317) 2021-05-28 09:21:01 -07:00
Victor Zverovich
ece4b4b33a Update changelog 2021-05-28 06:53:33 -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
7612f18dc8 Update changelog 2021-05-27 07:06:13 -07:00
Victor Zverovich
b9f2c27661 Update changelog 2021-05-26 21:12:03 -07:00
Victor Zverovich
4e21baff43 Simplify get_units 2021-05-26 18:26:00 -07:00
Victor Zverovich
683ef11ab9 Update changelog 2021-05-26 18:25:21 -07:00
John Melas
ca466374bd
qualify make_format_args (#2315)
Co-authored-by: John Melas <john@jmelas.gr>
2021-05-26 06:42:02 -07:00
Victor Zverovich
5a2a185682 Make buffers non-movable 2021-05-25 17:30:17 -07:00
Alexey Ochapov
ee52a6dc40
add fmt::print() overload to support compiled format (#2304) 2021-05-25 14:54:56 -07:00
sven-herrmann
82607efb57
Fixed int conversion warning (#2313)
* Fixed int conversion warning

Compiler warns about conversion from int to size_t, thus added explicit cast.

* now using detail::to_unsigned for the cast
2021-05-25 08:13:39 -07:00
Victor Zverovich
35a2c2a743 Refactor chrono formatting 2021-05-25 06:57:47 -07:00
Victor Zverovich
b955e7a6b2 Refactor chrono formatting 2021-05-24 15:33:33 -07:00
Victor Zverovich
883d9595c5 Support alternative locale names in tests 2021-05-24 14:09:19 -07:00
Mark de Wever
1f308a3cea Update integer presentation types documentation.
Documents that the 'c' type is a valid type for integer types. Since
boolean uses the same types as integer its documentation is
automatically updated.
2021-05-24 10:55:08 -07:00
Victor Zverovich
1cd9899cf3 Add initial support for weekday formatting 2021-05-24 10:21:34 -07:00
Victor Zverovich
069131dc25 Add unicode-test 2021-05-24 06:20:51 -07:00