Accepting request 943557 from home:alois:branches:devel:libraries:c_c++
- Update to version 8.1.0 * Optimized chrono formatting. + Processing of some specifiers such as %z and %Y is now up to 10-20 times faster, for example on GCC 11 with libstdc++. * Implemented subsecond formatting for chrono durations. * Fixed handling of precision 0 when formatting chrono durations. * Fixed an overflow on invalid inputs in the tm formatter. * Added fmt::group_digits that formats integers with a non-localized digit separator (comma) for groups of three digits. * Added support for faint, conceal, reverse and blink text styles. * Added experimental support for compile-time floating point formatting. * Added UDL-based named argument support to compile-time format string checks. * Implemented escaping of string range elements. * Switched to JSON-like representation of maps and sets for consistency with Python's str.format. * Extended fmt::join to support C++20-only ranges. * Optimized handling of non-const-iterable ranges and implemented initial support for non-const-formattable types. * Disabled implicit conversions of scoped enums to integers that was accidentally introduced in earlier versions. * Deprecated implicit conversion of [const] signed char* and [const] unsigned char* to C strings. * Deprecated _format, a legacy UDL-based format API. * Marked format, formatted_size and to_string as [[nodiscard]]. * Added missing diagnostic when trying to format function and member pointers as well as objects convertible to pointers which is explicitly disallowed. * Optimized writing to a contiguous buffer with format_to_n. * Optimized writing to non-char buffers. * Decimal point is now localized when using the L specifier. * Improved floating point formatter implementation. * Fixed handling of very large precision in fixed format. * Made a table of cached powers used in FP formatting static. * Resolved a lookup ambiguity with C++20 format-related functions due to ADL. * Removed unnecessary inline namespace qualification. * Implemented argument forwarding in format_to_n. * Fixed handling of implicit conversions in fmt::to_string and format string compilation. * Changed the default access mode of files created by fmt::output_file to -rw-r--r-- for consistency with fopen. * Make fmt::ostream::flush public. * Improved C++14/17 attribute detection. * Improved documentation. * Improved fuzzers and added a fuzzer for chrono timepoint formatting. * Added the FMT_SYSTEM_HEADERS CMake option setting which marks {fmt}'s headers as system. It can be used to suppress warnings. * Added the Bazel build system support. * Improved build configuration and tests. * Fixed various warnings and compilation issues. OBS-URL: https://build.opensuse.org/request/show/943557 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/fmt?expand=0&rev=42
This commit is contained in:
parent
b5d0698153
commit
e4c8f8f8cf
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b06ca3130158c625848f3fb7418f235155a4d389b2abc3a6245fb01cb0eb1e01
|
||||
size 805616
|
3
fmt-8.1.0.tar.gz
Normal file
3
fmt-8.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aa53b204afe20076f2813e71b255e52b1ef39a818dc86c4604a7f14d8ac6dc31
|
||||
size 825416
|
62
fmt.changes
62
fmt.changes
@ -1,3 +1,65 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 3 10:11:22 UTC 2022 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
- Update to version 8.1.0
|
||||
* Optimized chrono formatting.
|
||||
+ Processing of some specifiers such as %z and %Y is now up
|
||||
to 10-20 times faster, for example on GCC 11 with
|
||||
libstdc++.
|
||||
* Implemented subsecond formatting for chrono durations.
|
||||
* Fixed handling of precision 0 when formatting chrono
|
||||
durations.
|
||||
* Fixed an overflow on invalid inputs in the tm formatter.
|
||||
* Added fmt::group_digits that formats integers with a
|
||||
non-localized digit separator (comma) for groups of three
|
||||
digits.
|
||||
* Added support for faint, conceal, reverse and blink text
|
||||
styles.
|
||||
* Added experimental support for compile-time floating point
|
||||
formatting.
|
||||
* Added UDL-based named argument support to compile-time
|
||||
format string checks.
|
||||
* Implemented escaping of string range elements.
|
||||
* Switched to JSON-like representation of maps and sets for
|
||||
consistency with Python's str.format.
|
||||
* Extended fmt::join to support C++20-only ranges.
|
||||
* Optimized handling of non-const-iterable ranges and
|
||||
implemented initial support for non-const-formattable types.
|
||||
* Disabled implicit conversions of scoped enums to integers
|
||||
that was accidentally introduced in earlier versions.
|
||||
* Deprecated implicit conversion of [const] signed char* and
|
||||
[const] unsigned char* to C strings.
|
||||
* Deprecated _format, a legacy UDL-based format API.
|
||||
* Marked format, formatted_size and to_string as [[nodiscard]].
|
||||
* Added missing diagnostic when trying to format function and
|
||||
member pointers as well as objects convertible to pointers
|
||||
which is explicitly disallowed.
|
||||
* Optimized writing to a contiguous buffer with format_to_n.
|
||||
* Optimized writing to non-char buffers.
|
||||
* Decimal point is now localized when using the L specifier.
|
||||
* Improved floating point formatter implementation.
|
||||
* Fixed handling of very large precision in fixed format.
|
||||
* Made a table of cached powers used in FP formatting static.
|
||||
* Resolved a lookup ambiguity with C++20 format-related
|
||||
functions due to ADL.
|
||||
* Removed unnecessary inline namespace qualification.
|
||||
* Implemented argument forwarding in format_to_n.
|
||||
* Fixed handling of implicit conversions in fmt::to_string and
|
||||
format string compilation.
|
||||
* Changed the default access mode of files created by
|
||||
fmt::output_file to -rw-r--r-- for consistency with fopen.
|
||||
* Make fmt::ostream::flush public.
|
||||
* Improved C++14/17 attribute detection.
|
||||
* Improved documentation.
|
||||
* Improved fuzzers and added a fuzzer for chrono timepoint
|
||||
formatting.
|
||||
* Added the FMT_SYSTEM_HEADERS CMake option setting which
|
||||
marks {fmt}'s headers as system. It can be used to suppress
|
||||
warnings.
|
||||
* Added the Bazel build system support.
|
||||
* Improved build configuration and tests.
|
||||
* Fixed various warnings and compilation issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 3 05:28:37 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
|
4
fmt.spec
4
fmt.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package fmt
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
%define sover 8
|
||||
Name: fmt
|
||||
Version: 8.0.1
|
||||
Version: 8.1.0
|
||||
Release: 0
|
||||
Summary: A formatting library for C++
|
||||
License: MIT
|
||||
|
Loading…
Reference in New Issue
Block a user