From c63624ed4531bf06032754f789c4968ba7d1eba5 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 4 Aug 2019 10:38:33 -0700 Subject: [PATCH] Update changelog --- ChangeLog.rst | 55 ++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 44 insertions(+), 11 deletions(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index 095fca92..966d704e 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -35,8 +35,8 @@ auto s = fmt::format("{}", 4.2); // formats 4.2 using Grisu - With Grisu enabled, {fmt} is 13x faster than ``std::ostringstream`` and - 10x faster than ``sprintf`` on the `dtoa-benchmark + With Grisu enabled, {fmt} is 13x faster than ``std::ostringstream`` (libc++) + and 10x faster than ``sprintf`` on the `dtoa-benchmark `_ floating-point formatting benchmark: @@ -143,6 +143,19 @@ Thanks `@Naios (Denis Blank) `_. +* Made ``std::unique_ptr`` and ``std::shared_ptr`` formattable as pointers via + ``fmt::ptr``: + + .. code:: c++ + + std::unique_ptr p = ...; + fmt::print("{}", fmt::ptr(p)); // prints p as a pointer + +* Made ``print`` and ``vprint`` report I/O errors + (`#1098 `_, + `#1099 `_). + Thanks `@BillyDonahue (Billy Donahue) `_. + * Separated formatting and parsing contexts, removing the undocumented ``basic_format_context::parse_context()`` function. @@ -156,23 +169,34 @@ * Moved SFINAE to template parameters to reduce symbol sizes. +* Added support for exotic platforms without ``uintptr_t`` such as IBM i + (AS/400) with 128-bit pointers and only 64-bit integers + (`#1059 `_). + * Stopped setting ``CMAKE_BUILD_TYPE`` if {fmt} is a subproject (`#1081 `_). -* Various build improvements - (`#1039 `_, - `#1078 `_). - Thanks `@luncliff (Park DongHa) `_, - `@jasonszang (Jason Shuo Zang) `_. - * Added `Sublime Text syntax highlighting config `_ (`#1037 `_). Thanks `@Kronuz (Germán Méndez Bravo) `_. +* Various build improvements + (`#1039 `_, + `#1078 `_, + `#1091 `_, + `#1103 `_). + Thanks `@luncliff (Park DongHa) `_, + `@jasonszang (Jason Shuo Zang) `_, + `@olafhering (Olaf Hering) `_, + `@Lecetem `_. + * Improved documentation - (`#1051 `_). + (`#1051 `_, + `#1113 `_ + `#1114 `_). Thanks `@mikelui (Michael Lui) `_, + `@BillyDonahue (Billy Donahue) `_. * Various warning and bug fixes (`#980 `_, @@ -198,7 +222,15 @@ `#1075 `_, `#1086 `_, `#1088 `_, - `#1089 `_). + `#1089 `_, + `#1102 `_, + `#1105 `_, + `#1107 `_, + `#1115 `_, + `#1117 `_, + `#1120 `_, + `#1127 `_, + `#1132 `_). Thanks `@DanielaE (Daniela Engert) `_, `@mwinterb `_, `@eliaskosunen (Elias Kosunen) `_, @@ -206,7 +238,8 @@ `@ricco19 (Brian Ricciardelli) `_, `@abolz (Alexander Bolz) `_, `@waywardmonkeys (Bruce Mitchener) `_, - `@chronoxor (Ivan Shynkarenka) `_. + `@chronoxor (Ivan Shynkarenka) `_, + `@remyabel `_. 5.3.0 - 2018-12-28 ------------------