Victor Zverovich
e99809f29d
Fix ostream support in sprintf ( #1631 )
2020-04-12 07:53:17 -07:00
gabime
3cd5179f32
Fixed clang tidy warning -multiple declarations in a single statement reduces readability
2020-04-12 06:29:09 -07:00
gabime
7404e33a73
Fix clang warning about explicit ctor
2020-04-12 06:19:16 -07:00
Victor Zverovich
3aab2171ed
Clean up basic_format_args
2020-04-11 08:22:53 -07:00
Victor Zverovich
7645ca0724
Clean up printf
2020-04-11 08:01:00 -07:00
Victor Zverovich
e30d8391e4
Suppress an MSVC warning ( #1622 )
2020-04-11 07:49:00 -07:00
Victor Zverovich
8cd8ef03eb
Simplify warning suppression
2020-04-11 06:17:31 -07:00
Victor Zverovich
bbb6b357c7
Add floating-point L specifier ( #1624 )
2020-04-10 07:16:20 -07:00
Victor Zverovich
36ea32640f
Suppress a bogus MSVC warning
2020-04-10 06:44:07 -07:00
Victor Zverovich
141a00d642
Define FMT_EXTERN_TEMPLATE_API on export
2020-04-09 11:54:55 -07:00
Victor Zverovich
3860edc5d9
Bump version
2020-04-08 14:48:14 -07:00
Victor Zverovich
7d01859ef1
Fix handling of unsigned char strings in printf
2020-04-08 13:05:42 -07:00
Victor Zverovich
63b23e786a
Merge branch 'master' of github.com:fmtlib/fmt
2020-04-08 13:03:44 -07:00
Victor Zverovich
4999796c15
Fix the docs
2020-04-08 07:52:36 -07:00
Greg Sjaardema
34b3f7b7aa
Avoid windows issue with min() max() macros
...
Including the ``windows.h`` file without defining ``NOMINMAX`` will define the `min()` and `max()` macros which will result in issues compiling any C++ code that uses any variant of `max`, for example `std::numeric_limits<std::streamsize>::max()` and many others. Although max() isn't used in Fmt anywhere, it is often used in codes that include a format include file so simply upgrading to the current version of lib::fmt will break the windows build which worked prior to the update...
2020-04-07 08:34:34 -07:00
Victor Zverovich
27e3c0fe9b
Update signature in the docs
2020-04-06 07:17:41 -07:00
Victor Zverovich
9bdd1596ce
Update version
2020-04-05 06:46:41 -07:00
Victor Zverovich
d151562bdd
Fix punctuation in changelog
2020-04-04 12:49:56 -07:00
Victor Zverovich
346500e70b
Fix gcc version check
2020-04-04 11:23:40 -07:00
Victor Zverovich
a434a8f778
Update changelog
2020-04-04 06:34:23 -07:00
Victor Zverovich
9eb47d951a
Fix markup
2020-04-03 08:49:29 -07:00
Victor Zverovich
51c58a56ba
Bump version
2020-04-03 08:32:45 -07:00
Victor Zverovich
3fc33f6273
Update changelog
2020-04-03 08:29:02 -07:00
Victor Zverovich
2e32db5b99
Update changelog
2020-04-03 07:42:02 -07:00
Victor Zverovich
c1ce6e01f7
Update changelog
2020-04-02 08:18:42 -07:00
Victor Zverovich
1c3c80dc1f
Update changelog
2020-04-02 07:27:58 -07:00
Victor Zverovich
d1d653d895
Implement the L specifier
2020-04-02 06:58:38 -07:00
Victor Zverovich
73c8437485
Follow naming conventions
2020-04-01 09:30:28 -07:00
Victor Zverovich
e588b02b17
Fix posix-mock-test
2020-04-01 08:42:14 -07:00
Victor Zverovich
1a62711d01
Reduce binary size
2020-03-31 08:07:11 -07:00
Victor Zverovich
5b02881582
Merge branch 'master' of github.com:fmtlib/fmt
2020-03-28 09:46:44 -07:00
Victor Zverovich
a133187a8c
Update changelog
2020-03-28 09:44:27 -07:00
Victor Zverovich
80ce222ca6
Fix wide print overload ( #1609 )
2020-03-28 09:44:18 -07:00
Scott Ramsby
770a94edef
Use FMT_THROW macro where applicable
2020-03-27 12:17:22 -07:00
Victor Zverovich
2864e8432a
Update readme and add compatibility option
2020-03-26 07:18:27 -07:00
Victor Zverovich
21a295c272
Undo comment change
2020-03-25 08:14:31 -07:00
Victor Zverovich
96c68afe69
Fix -Wsign-conversion warnings
2020-03-25 07:46:00 -07:00
Scott Ramsby
664dd88e31
Enable FMT_STRING() use with types other than string literals
2020-03-24 12:56:21 -07:00
Victor Zverovich
69779b4ed6
Fix handling of small precision in general format
2020-03-24 09:01:57 -07:00
Scott Ramsby
01a172c969
Add .vs to .gitignore
2020-03-23 15:01:02 -07:00
Victor Zverovich
08ca40ea91
Detect /utf-8 in MSVC
2020-03-22 08:19:38 -07:00
Victor Zverovich
dd97f4920c
Improve exception safety in dynamic_format_arg_store
2020-03-21 08:58:50 -07:00
Victor Zverovich
2951169481
Move FMT_USE_FLOAT and friends to fmt/format.h
2020-03-20 07:55:43 -07:00
Alberto Aguirre
d3e668418f
Allow disabling floating point support ( #1590 )
...
* Allow disabling floating point support
Add FMT_USE_FLOAT, FMT_USE_DOUBLE and FMT_USE_LONG_DOUBLE to allow a
user of the library to configure the float types they want to allow.
This is specially useful in embedded environements where code size is
important.
* Avoid conditional macros to disable float support
* Add is_supported_floating_point constexpr function
* Fix empty-body warning
2020-03-20 06:46:31 -07:00
Victor Zverovich
52d0e1bbe3
Don't use properties when setting FMT_LIB_NAME
2020-03-19 08:35:09 -07:00
Attila M. Szilagyi
5d32ccfc31
Add back missing OUTPUT_NAME in target properties. ( #1598 )
2020-03-19 07:01:51 -07:00
Victor Zverovich
3cf619de55
Simplify dynamic_format_arg_store
2020-03-17 07:13:46 -07:00
Spirrwell
2559983e7a
Color formatting fixed for wide strings (fixes issue #1594 ) ( #1596 )
...
* Use std::char_traits::length for ansi_color_escape::begin
-Fixes issue #1594 https://github.com/fmtlib/fmt/issues/1594
2020-03-17 06:24:42 -07:00
Victor Zverovich
026f99178e
Simplify dynamic store
2020-03-16 19:10:41 -07:00
Victor Zverovich
9f70fc3e7a
Minor tweaks for dynamic_format_arg_store
2020-03-16 07:58:15 -07:00