2019-12-11 19:43:34 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
fmtlib: updated to 6.1.2
6.1.2:
Fixed ABI compatibility with libfmt.so.6.0.0.
Fixed handling types convertible to std::string_view.
Made CUDA test an opt-in enabled via the FMT_CUDA_TEST CMake option.
Fixed sign conversion warnings.
|
2019-12-07 14:56:58 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
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.
|
2019-10-06 18:36:28 by Adam Ciarcinski | Files touched by this commit (5) | |
Log message:
fmtlib: updated to 6.0.0
6.0.0:
Switched to the MIT license with an optional exception that allows distributing \
binary code without attribution.
Floating-point formatting is now locale-independent by default.
Added an experimental Grisu floating-point formatting algorithm implementation \
(disabled by default). To enable it compile with the FMT_USE_GRISU macro defined \
to 1.
Separated formatting and parsing contexts for consistency with C++20 \
std::format, removing the undocumented basic_format_context::parse_context() \
function.
Added oss-fuzz support.
formatter specializations now always take precedence over operator<<.
Introduced the experimental fmt::compile function that does format string \
compilation.
Added the % format specifier that formats floating-point values as percentages.
Implemented precision for floating-point durations.
Implemented chrono format specifiers %Q and %q that give the value and the unit \
respectively .
Fixed handling of dynamic width in chrono formatter.
Removed deprecated fmt/time.h. Use fmt/chrono.h instead.
Added fmt::format and fmt::vformat overloads that take text_style.
Removed the deprecated color API (print_colored). Use the new API, namely print \
overloads that take text_style instead.
Made std::unique_ptr and std::shared_ptr formattable as pointers via fmt::ptr.
Made print and vprint report I/O errors.
Marked deprecated APIs with the [[deprecated]] attribute and removed internal \
uses of deprecated APIs.
Modernized the codebase using more C++11 features and removing workarounds. Most \
importantly, buffer_context is now an alias template, so use \
buffer_context<T> instead of buffer_context<T>::type. These features \
require GCC 4.8 or later.
formatter specializations now always take precedence over implicit conversions \
to int and the undocumented convert_to_int trait is now deprecated.
Moved the undocumented basic_writer, writer, and wwriter types to the internal \
namespace.
Removed deprecated basic_format_context::begin(). Use out() instead.
Disallowed passing the result of join as an lvalue to prevent misuse.
Refactored the undocumented structs that represent parsed format specifiers to \
simplify the API and allow multibyte fill.
Moved SFINAE to template parameters to reduce symbol sizes.
Switched to fputws for writing wide strings so that it's no longer required to \
call _setmode on Windows.
|
2019-02-26 11:58:25 by Adam Ciarcinski | Files touched by this commit (4) | |
Log message:
fmtlib: updated to 5.3.0
5.3.0:
* Introduced experimental chrono formatting support
* Added experimental support for emphasis (bold, italic, underline, \
strikethrough), colored output to a file stream, and improved colored formatting \
API
* Added support for 4-bit terminal colors
* Parameterized formatting functions on the type of the format string. Any \
object of type S that has an overloaded to_string_view(const S&) returning \
fmt::string_view can be used as a format string
* Made std::string_view work as a format string
* Added wide string support to compile-time format string checks
* Made colored print functions work with wide strings
* Introduced experimental Unicode support
* Improved locale support
* Constrained formatting functions on proper iterator types
* Added make_printf_args and make_wprintf_args functions
* Deprecated fmt::visit, parse_context, and wparse_context. Use \
fmt::visit_format_arg, format_parse_context, and wformat_parse_context instead.
* Removed undocumented basic_fixed_buffer which has been superseded by the \
iterator-based API
* Disallowed repeated leading zeros in an argument ID
* Reintroduced support for gcc 4.4
* Fixed compilation on platforms with exotic double
* Improved documentation
* Added pkgconfig support which makes it easier to consume the library from \
meson and other build systems
|
2018-12-04 11:05:22 by Jonathan Perkin | Files touched by this commit (2) |
Log message:
fmtlib: Avoid strtod_l on SunOS.
|
2018-12-02 18:12:18 by Adam Ciarcinski | Files touched by this commit (5) |
Log message:
fmtlib: added version 5.2.1
fmt (formerly cppformat) is an open-source formatting library. It can be used
as a fast and safe alternative to printf and IOStreams.
|