Source-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.0.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df357ce31d5b
branches:  trunk
changeset: 438693:df357ce31d5b
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Sep 08 13:46:58 2020 +0000

description:
fmtlib: updated to 7.0.3

7.0.3:
* Worked around broken ``numeric_limits`` for 128-bit integers
* Added error reporting on missing named arguments
* Stopped using 128-bit integers with clang-cl
* Fixed issues in locale-specific integer formatting

7.0.2:
* Worked around broken ``numeric_limits`` for 128-bit integers
* Fixed compatibility with CMake 3.4
* Fixed handling of digit separators in locale-specific formatting

7.0.1:
* Updated the inline version namespace name.
* Worked around a gcc bug in mangling of alias templates
* Fixed a linkage error on Windows
* Fixed minor issues with the documentation.

7.0.0:
* Reduced the library size. For example, on macOS a stripped test binary
  statically linked with {fmt} `shrank from ~368k to less than 100k
* Added a simpler and more efficient `format string compilation API
* Optimized integer formatting: ``format_to`` with format string compilation
  and a stack-allocated buffer is now `faster than to_chars on both
  libc++ and libstdc++
* Optimized handling of small format strings.
* Applied extern templates to improve compile times when using the core API
  and ``fmt/format.h``
  For example, on macOS with clang the compile time of a test translation unit
  dropped from 2.3s to 0.3s with ``-O2`` and from 0.6s to 0.3s with the default
  settings (``-O0``).
* Named arguments are now stored on stack (no dynamic memory allocations) and
  the compiled code is more compact and efficient.
* Implemented compile-time checks for dynamic width and precision
* Added sentinel support to ``fmt::join``
* Added support for named args, ``clear`` and ``reserve`` to
  ``dynamic_format_arg_store``
* Added support for the ``'c'`` format specifier to integral types for
  compatibility with ``std::format``
* Replaced the ``'n'`` format specifier with ``'L'`` for compatibility with
  ``std::format``
  The ``'n'`` specifier can be enabled via the ``FMT_DEPRECATED_N_SPECIFIER``
  macro.
* The ``'='`` format specifier is now disabled by default for compatibility with
  ``std::format``. It can be enabled via the ``FMT_DEPRECATED_NUMERIC_ALIGN``
  macro.
* Removed the following deprecated APIs:
  * ``FMT_STRING_ALIAS`` and ``fmt`` macros - replaced by ``FMT_STRING``
  * ``fmt::basic_string_view::char_type`` - replaced by
    ``fmt::basic_string_view::value_type``
  * ``convert_to_int``
  * ``format_arg_store::types``
  * ``*parse_context`` - replaced by ``*format_parse_context``
  * ``FMT_DEPRECATED_INCLUDE_OS``
  * ``FMT_DEPRECATED_PERCENT`` - incompatible with ``std::format``
  * ``*writer`` - replaced by compiled format API
* Renamed the ``internal`` namespace to ``detail``
* Improved compatibility between ``fmt::printf`` with the standard specs
* Fixed handling of ``operator<<`` overloads that use ``copyfmt``
* Added the ``FMT_OS`` CMake option to control inclusion of OS-specific APIs
  in the fmt target. This can be useful for embedded platforms
* Replaced ``FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION`` with the ``FMT_FUZZ``
  macro to prevent interferring with fuzzing of projects using {fmt}
* Fixed compatibility with emscripten
* Improved documentation
* Implemented various build configuration fixes and improvements
* Fixed various warnings and compilation issues

diffstat:

 textproc/fmtlib/Makefile |   4 ++--
 textproc/fmtlib/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 3f004597679b -r df357ce31d5b textproc/fmtlib/Makefile
--- a/textproc/fmtlib/Makefile  Tue Sep 08 13:25:56 2020 +0000
+++ b/textproc/fmtlib/Makefile  Tue Sep 08 13:46:58 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2020/05/13 15:25:40 adam Exp $
+# $NetBSD: Makefile,v 1.8 2020/09/08 13:46:58 adam Exp $
 
-DISTNAME=      fmt-6.2.1
+DISTNAME=      fmt-7.0.3
 PKGNAME=       ${DISTNAME:S/fmt/fmtlib/}
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=fmtlib/}
diff -r 3f004597679b -r df357ce31d5b textproc/fmtlib/distinfo
--- a/textproc/fmtlib/distinfo  Tue Sep 08 13:25:56 2020 +0000
+++ b/textproc/fmtlib/distinfo  Tue Sep 08 13:46:58 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2020/05/13 15:25:40 adam Exp $
+$NetBSD: distinfo,v 1.9 2020/09/08 13:46:58 adam Exp $
 
-SHA1 (fmt-6.2.1.tar.gz) = 39a90270631fc11e7431dff0a055f1898b0487f1
-RMD160 (fmt-6.2.1.tar.gz) = b8c79b5201d9dc044051fe0312c3570fb6a991f1
-SHA512 (fmt-6.2.1.tar.gz) = 520ef3addfecd9796253c347e0ecf4c18ef2f86d3b1b6b714f7834741f4737f1b7ed8365d3be46c9186617898911b23680cad2ae3cb7aadaf641ab32e327b0dc
-Size (fmt-6.2.1.tar.gz) = 733646 bytes
+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



Home | Main Index | Thread Index | Old Index