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 6.1.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/74546e2989ad
branches:  trunk
changeset: 345246:74546e2989ad
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Dec 07 13:56:58 2019 +0000

description:
fmtlib: updated to 6.1.1

6.1.1:
Fixed shared library build on Windows.
Added a missing decimal point in exponent notation with trailing zeros.
Removed deprecated format_arg_store::TYPES.

6.1.0:
{fmt} now formats IEEE 754 float and double using the shortest decimal representation with correct rounding by default.
Made the fast binary to decimal floating-point formatter the default, simplified it and improved performance. {fmt} is now 15 times faster than libc++'s std::ostringstream, 11 times faster than 
printf and 10% faster than double-conversion on dtoa-benchmark.
{fmt} no longer converts float arguments to double. In particular this improves the default (shortest) representation of floats and makes fmt::format consistent with std::for.
Made floating-point formatting output consistent with printf/iostreams.
Added support for 128-bit integers.
The overload of print that takes text_style is now atomic, i.e. the output from different threads doesn't interleave.
Made compile time in the header-only mode ~20% faster by reducing the number of template instantiations. wchar_t overload of vprint was moved from fmt/core.h to fmt/format.h.
Added an overload of fmt::join that works with tuples.
Changed formatting of octal zero with prefix from "00" to "0.
The locale is now passed to ostream insertion (<<) operators.
Locale-specific number formatting now uses groupin.
Fixed handling of types with deleted implicit rvalue conversion to const char**.
Enums are now mapped to correct underlying types instead of int.
Enum classes are no longer implicitly converted to int.
Added basic_format_parse_context for consistency with C++20 std::format and deprecated basic_parse_context.
Fixed handling of UTF-8 in precision.
{fmt} can now be installed on Linux, macOS and Windows with Conda using its conda-forge package.
Added a CUDA test.

diffstat:

 textproc/fmtlib/Makefile |   4 ++--
 textproc/fmtlib/PLIST    |   3 +--
 textproc/fmtlib/distinfo |  10 +++++-----
 3 files changed, 8 insertions(+), 9 deletions(-)

diffs (44 lines):

diff -r 2323e68ad551 -r 74546e2989ad textproc/fmtlib/Makefile
--- a/textproc/fmtlib/Makefile  Sat Dec 07 13:27:58 2019 +0000
+++ b/textproc/fmtlib/Makefile  Sat Dec 07 13:56:58 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2019/10/06 16:36:27 adam Exp $
+# $NetBSD: Makefile,v 1.4 2019/12/07 13:56:58 adam Exp $
 
-DISTNAME=      fmt-6.0.0
+DISTNAME=      fmt-6.1.1
 PKGNAME=       ${DISTNAME:S/fmt/fmtlib/}
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=fmtlib/}
diff -r 2323e68ad551 -r 74546e2989ad textproc/fmtlib/PLIST
--- a/textproc/fmtlib/PLIST     Sat Dec 07 13:27:58 2019 +0000
+++ b/textproc/fmtlib/PLIST     Sat Dec 07 13:56:58 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2019/10/06 16:36:27 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/12/07 13:56:58 adam Exp $
 include/fmt/chrono.h
 include/fmt/color.h
 include/fmt/compile.h
@@ -10,7 +10,6 @@
 include/fmt/posix.h
 include/fmt/printf.h
 include/fmt/ranges.h
-include/fmt/safe-duration-cast.h
 lib/cmake/fmt/fmt-config-version.cmake
 lib/cmake/fmt/fmt-config.cmake
 lib/cmake/fmt/fmt-targets-release.cmake
diff -r 2323e68ad551 -r 74546e2989ad textproc/fmtlib/distinfo
--- a/textproc/fmtlib/distinfo  Sat Dec 07 13:27:58 2019 +0000
+++ b/textproc/fmtlib/distinfo  Sat Dec 07 13:56:58 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2019/10/06 16:36:27 adam Exp $
+$NetBSD: distinfo,v 1.5 2019/12/07 13:56:58 adam Exp $
 
-SHA1 (fmt-6.0.0.tar.gz) = 40635ee94d24cb9856422293c04150017a8911df
-RMD160 (fmt-6.0.0.tar.gz) = 4a60315dc2e914b3f174055deca8c3cf8f3268b1
-SHA512 (fmt-6.0.0.tar.gz) = 7deb5bd843ae6b9d4b58dca9c68c1cfe7b55a41040f358247f5309655188d1ae194ff414437c068f74367f078faa214b5883e8c9e634c7623dcda50850e24766
-Size (fmt-6.0.0.tar.gz) = 708425 bytes
+SHA1 (fmt-6.1.1.tar.gz) = 55912c57acdd7cf10c0e614a47de0e8336a9696a
+RMD160 (fmt-6.1.1.tar.gz) = d4a18da2e24bdb9fbf03bbb3f309d45031edb17d
+SHA512 (fmt-6.1.1.tar.gz) = 8018bec519ce788331c8be8d51a19d4eaceb6a2f33d6618ebe78d953fbef28a70d5b61f0db1c051cbe1e0ee26f3c09197caac196a4c20d1b6abd7f86619f5fef
+Size (fmt-6.1.1.tar.gz) = 722236 bytes



Home | Main Index | Thread Index | Old Index