pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/fmtlib



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Dec 29 16:49:52 UTC 2024

Modified Files:
        pkgsrc/textproc/fmtlib: Makefile distinfo

Log Message:
fmtlib: updated to 11.1.1

11.1.1

Fixed ABI compatibility with earlier 11.x versions
Defined CMake components (core and doc) to allow docs to be installed separately

11.1.0

Improved C++20 module support

Reduced debug (unoptimized) binary code size and the number of template instantiations when passing formatting arguments. For example, unoptimized binary code size for fmt::print("{}", 42) was 
reduced by ~40% on GCC and ~60% on clang (x86-64).

GCC:

Before: 161 instructions of which 105 are in reusable functions (godbolt).
After: 116 instructions of which 60 are in reusable functions (godbolt).

Clang:

Before: 310 instructions of which 251 are in reusable functions (godbolt).
After: 194 instructions of which 135 are in reusable functions (godbolt).

Added an experimental fmt::writer API that can be used for writing to different destinations such as files or strings
Added width and alignment support to the formatter of std::error_code.
Made std::expected<void, E> formattable.
Made fmt::is_formattable<void> SFINAE-friendly
Added support for _BitInt formatting when using clang
Added the n specifier for tuples and pairs
Added support for tuple-like types to fmt::join
Made more types formattable at compile time
Implemented a more efficient compile-time fmt::formatted_size
Fixed compile-time formatting of some string types
Made compiled version of fmt::format_to work with std::back_insert_iterator<std::vector<char>>
Added a formatter for std::reference_wrapper
Added experimental padding support (glibc strftime extension) to %m, %j and %Y
Made microseconds formatted as us instead of µs if the Unicode support is disabled
Fixed an unreleased regression in transcoding of surrogate pairs
Made fmt::appender satisfy std::output_iterator concept
Made std::iterator_traits<fmt::appender> standard-conforming
Made it easier to reuse fmt::formatter<std::string_view> for types with an implicit conversion to std::string_view
Made it possible to disable <filesystem> use via FMT_CPP_LIB_FILESYSTEM for compatibility with some video game console SDKs, e.g. Nintendo Switch SDK
Fixed compatibility with platforms that use 80-bit long double
Added support for UTF-32 code units greater than 0xFFFF in fill
Fixed handling of legacy encodings on Windows with GCC
Made fmt::to_string take fmt::basic_memory_buffer by const reference
Added fmt::dynamic_format_arg_store::size
Removed the ability to control locale usage via an undocumented FMT_STATIC_THOUSANDS_SEPARATOR in favor of FMT_USE_LOCALE.
Renamed FMT_EXCEPTIONS to FMT_USE_EXCEPTIONS for consistency with other similar macros.
Improved include directory ordering to reduce the chance of including incorrect headers when using multiple versions of {fmt}
Made it possible to compile a subset of {fmt} without the C++ runtime.
Improved documentation and README
Improved the documentation generator
Improved CI
Fixed various warnings and compilation issues


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/textproc/fmtlib/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/textproc/fmtlib/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/fmtlib/Makefile
diff -u pkgsrc/textproc/fmtlib/Makefile:1.20 pkgsrc/textproc/fmtlib/Makefile:1.21
--- pkgsrc/textproc/fmtlib/Makefile:1.20        Sun Aug 25 06:19:15 2024
+++ pkgsrc/textproc/fmtlib/Makefile     Sun Dec 29 16:49:52 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2024/08/25 06:19:15 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2024/12/29 16:49:52 adam Exp $
 
-DISTNAME=      fmt-11.0.2
+DISTNAME=      fmt-11.1.1
 PKGNAME=       ${DISTNAME:S/fmt/fmtlib/}
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=fmtlib/}

Index: pkgsrc/textproc/fmtlib/distinfo
diff -u pkgsrc/textproc/fmtlib/distinfo:1.21 pkgsrc/textproc/fmtlib/distinfo:1.22
--- pkgsrc/textproc/fmtlib/distinfo:1.21        Sat Jul 20 18:52:16 2024
+++ pkgsrc/textproc/fmtlib/distinfo     Sun Dec 29 16:49:52 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.21 2024/07/20 18:52:16 adam Exp $
+$NetBSD: distinfo,v 1.22 2024/12/29 16:49:52 adam Exp $
 
-BLAKE2s (fmt-11.0.2.tar.gz) = 77a8241bddf0b4ffa0f89c5f4970decb365dae49db84eea77be15984c1c9e1fe
-SHA512 (fmt-11.0.2.tar.gz) = 47ff6d289dcc22681eea6da465b0348172921e7cafff8fd57a1540d3232cc6b53250a4625c954ee0944c87963b17680ecbc3ea123e43c2c822efe0dc6fa6cef3
-Size (fmt-11.0.2.tar.gz) = 700956 bytes
+BLAKE2s (fmt-11.1.1.tar.gz) = 5d79a0562898e6b8ffeb0fce4d1708e9725138ac8078e9a02c9e2ef673da9157
+SHA512 (fmt-11.1.1.tar.gz) = d6b0a28cd72328cf324b9e4e14a23e6c35c6e4f0f2724a85427853fc50850578ebffd256d49743ffcad2eb8b422291d0f0c72d0ef0ca2da5d62200a63ba65b27
+Size (fmt-11.1.1.tar.gz) = 701999 bytes



Home | Main Index | Thread Index | Old Index