pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/fmtlib fmtlib: updated to 7.1.3
details: https://anonhg.NetBSD.org/pkgsrc/rev/b63fbdd4d25c
branches: trunk
changeset: 442554:b63fbdd4d25c
user: adam <adam%pkgsrc.org@localhost>
date: Thu Nov 26 09:31:18 2020 +0000
description:
fmtlib: updated to 7.1.3
7.1.3
Fixed handling of buffer boundaries in format_to_n.
Fixed linkage errors when linking with a shared library.
Reintroduced ostream support to range formatters.
Worked around an issue with mixing std versions in gcc
7.1.2
Fixed floating point formatting with large precision.
7.1.1
Fixed ABI compatibility with 7.0.x.
Added the FMT_ARM_ABI_COMPATIBILITY macro to work around ABI incompatibility between GCC and Clang on ARM.
Worked around a SFINAE bug in GCC 8.
Fixed linkage errors when building with GCC's LTO.
Fixed a compilation error when building without __builtin_clz or equivalent.
Fixed a sign conversion warning.
7.1.0
Switched from Grisu3 to Dragonbox for the default floating-point formatting which gives the shortest decimal representation with round-trip guarantee and correct rounding.
Added an experimental unsynchronized file output API which, together with format string compilation, can give 5-9 times speed up compared to fprintf on common platforms.
Added a formatter for std::chrono::time_point<system_clock>.
Added support for ranges with non-const begin/end to fmt::join.
Added a memory_buffer::append overload that takes a range.
Improved handling of single code units in FMT_COMPILE.
Added dynamic width support to format string compilation.
Improved error reporting for unformattable types: now you'll get the type name directly in the error message instead of the note.
Added the make_args_checked function template that allows you to write formatting functions with compile-time format string checks and avoid binary code bloat.
Replaced snprintf fallback with a faster internal IEEE 754 float and double formatter for arbitrary precision.
Made format_to_n and formatted_size part of the core API.
Added fmt::format_to_n overload with format string compilation.
Added fmt::format_to overload that take text_style.
Made the # specifier emit trailing zeros in addition to the decimal point.
Changed the default floating point format to not include .0 for consistency with std::format and std::to_chars. It is possible to get the decimal point and trailing zero with the # specifier.
Fixed an issue with floating-point formatting that could result in addition of a non-significant trailing zero in rare cases e.g. 1.00e-34 instead of 1.0e-34.
Made fmt::to_string fallback on ostream insertion operator if the formatter specialization is not provided.
Added support for the append mode to the experimental file API and improved fcntl.h detection.
Fixed handling of types that have both an implicit conversion operator and an overloaded ostream insertion operator.
Fixed a slicing issue in an internal iterator type.
Fixed an issue in locale-specific integer formatting.
Fixed handling of exotic code unit types.
Improved FMT_ALWAYS_INLINE.
Removed dependency on windows.h.
Optimized counting of decimal digits on MSVC.
Improved documentation.
Added the FMT_REDUCE_INT_INSTANTIATIONS CMake option that reduces the binary code size at the cost of some integer formatting performance. This can be useful for extremely memory-constrained embedded
systems.
Added the FMT_USE_INLINE_NAMESPACES macro to control usage of inline namespaces.
Improved build configuration
diffstat:
textproc/fmtlib/Makefile | 4 ++--
textproc/fmtlib/distinfo | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (27 lines):
diff -r 1b731371adf6 -r b63fbdd4d25c textproc/fmtlib/Makefile
--- a/textproc/fmtlib/Makefile Thu Nov 26 09:15:56 2020 +0000
+++ b/textproc/fmtlib/Makefile Thu Nov 26 09:31:18 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2020/09/08 13:46:58 adam Exp $
+# $NetBSD: Makefile,v 1.9 2020/11/26 09:31:18 adam Exp $
-DISTNAME= fmt-7.0.3
+DISTNAME= fmt-7.1.3
PKGNAME= ${DISTNAME:S/fmt/fmtlib/}
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=fmtlib/}
diff -r 1b731371adf6 -r b63fbdd4d25c textproc/fmtlib/distinfo
--- a/textproc/fmtlib/distinfo Thu Nov 26 09:15:56 2020 +0000
+++ b/textproc/fmtlib/distinfo Thu Nov 26 09:31:18 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.9 2020/09/08 13:46:58 adam Exp $
+$NetBSD: distinfo,v 1.10 2020/11/26 09:31:18 adam Exp $
-SHA1 (fmt-7.0.3.tar.gz) = e5a93554711228e235774797f7bc84b0597a6de1
-RMD160 (fmt-7.0.3.tar.gz) = 8ca4ac264e005d19aab0136d3228446a67357d89
-SHA512 (fmt-7.0.3.tar.gz) = 26afe55255414e27d58c2389fcc8643b64adc04ecc3604f87024e6421706833cbad8ee4caf514dfb7e88da4162ab3e5ff8ff81b83b5f2fb66e9959e4d1bf0f9a
-Size (fmt-7.0.3.tar.gz) = 740047 bytes
+SHA1 (fmt-7.1.3.tar.gz) = 5936a766e3754fdfa4131bf892916c23d972b5ae
+RMD160 (fmt-7.1.3.tar.gz) = 018da7d9de0bd34970c3bc3e6bbae8b66422707d
+SHA512 (fmt-7.1.3.tar.gz) = cfb2431de822202f17a6f34a302b1922b9cd696d8d4c27ad50ea08add781d2af9944db987603c2eb294ee7d73054a60cc11d3a0693f7f6db61949f3041cb9517
+Size (fmt-7.1.3.tar.gz) = 770029 bytes
Home |
Main Index |
Thread Index |
Old Index