From 13d6b2d38c68a57d49dabf245367e93fed8beee3 Mon Sep 17 00:00:00 2001 From: vitaut Date: Mon, 30 Nov 2015 07:22:51 -0800 Subject: [PATCH] Update changelog --- ChangeLog.rst | 53 +++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 45 insertions(+), 8 deletions(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index cdd59b29..aae2ba44 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -175,7 +175,10 @@ (`#188 `_). * Fixed compiler warnings - (`#135 `_, + (`#95 `_, + `#96 `_, + `#114 `_, + `#135 `_, `#142 `_, `#145 `_, `#146 `_, @@ -186,8 +189,13 @@ `#191 `_, `#194 `_, `#196 `_, - `#216 `_). - Thanks to `@Naios `_, + `#216 `_, + `#233 `_, + `#234 `_). + Thanks to `@seanmiddleditch (Sean Middleditch) `_, + `@dixlorenz (Dix Lorenz) `_, + `@CarterLi (李通洲) `, + `@Naios `_, `@fmatthew5876 (Matthew Fioravante) `_, `@LevskiWeng (Levski Weng) `_, `@rpopescu `_, @@ -216,6 +224,7 @@ `#179 `_, `#180 `_, `#202 `_, + `#225 `_, `Red Hat Bugzilla Bug 1260297 `_). Thanks to `@Naios `_, `@jackyf (Eugene V. Lyubimkin) `_ and Dave Johansen. @@ -264,6 +273,39 @@ (`#215 `_). Thanks to `@dmkrepo (Dmitriy) `_. +* [Breaking] ``signed`` and ``unsigned char`` are now formatted as integers by default + (`#217 `_). + +* Pointers to C strings can now be formatted with the ``p`` specifier + (`#223 `_): + + .. code:: c++ + + fmt::print("{:p}", "test"); // prints pointer value + + Thanks to `@LarsGullik `_. + +* ``fmt::printf`` and ``fmt::sprintf`` now support formatting of ``bool`` with the + ``%s`` specifier giving textual output, ``true`` or ``false`` + (`#223 `_): + + .. code:: c++ + + fmt::printf("%s", true); // prints "true" + + Thanks to `@LarsGullik `_. + +* [Breaking] ``fmt::printf`` and ``fmt::sprintf`` now print null pointers as ``(nil)`` + and null strings as ``(null)`` for consistency with glibc + (`#226 `_). + Thanks to `@LarsGullik `_. + +* Improved compatibility with bcc32 + (`#227 `_). + +* Enums are now formatted with an overloaded ``std::ostream`` insertion operator + (``operator<<``) if available. + 1.1.0 - 2015-03-06 ------------------ @@ -332,11 +374,6 @@ * Fixed packaging issues (`#94 `_). -* Fixed warnings in GCC, MSVC and Xcode/Clang - (`#95 `_, - `#96 `_ and - `#114 `_). - * Added `changelog `_ (`#103 `_).