From f0110e8125bf9e3ce482e895d1ebc35806de1513 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 4 Jul 2018 16:00:06 -0700 Subject: [PATCH] Update changelog and CI --- ChangeLog.rst | 97 ++++++++++++++++++++++++++++++++++++++++---- README.rst | 2 +- support/appveyor.yml | 4 -- 3 files changed, 90 insertions(+), 13 deletions(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index eb5c5b5d..bcac1cc9 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,3 +1,84 @@ +5.1.0 - TBD +----------- + +* Added experimental support for RGB color output enabled with + the ``FMT_EXTENDED_COLORS`` macro: + + .. code:: c++ + + #define FMT_EXTENDED_COLORS + #define FMT_HEADER_ONLY // or compile fmt with FMT_EXTENDED_COLORS defined + #include + + fmt::print(fmt::color::steel_blue, "Some beautiful text"); + + The old API (the ``print_colored`` and ``vprint_colored`` functions and the + ``color`` enum) is now deprecated. + (`#762 `_ + `#767 `_). + Thanks `@Remotion (Remo) `_. + +* Added quotes to strings in ranges and tuples + (`#766 `_). + Thanks `@Remotion (Remo) `_. + +* Made ``format_to`` work with ``basic_memory_buffer`` + (`#776 `_). + +* Added ``vformat_to_n`` and ``wchar_t`` overload of ``format_to_n`` + (`#764 `_, + `#769 `_). + +* Made ``is_range`` and ``is_tuple_like`` part of public (experimental) API + to allow specialization for user-defined types + (`#751 `_, + `#759 `_). + Thanks `@drrlvn (Dror Levin) `_. + +* Added more compilers to continuous integration and increased ``FMT_PEDANTIC`` + warning levels + (`#736 `_). + Thanks `@eliaskosunen (Elias Kosunen) `_. + +* Fixed compilation with MSVC 2013. + +* Fixed handling of user-defined types in ``format_to`` + (`#793 `_). + +* Forced linking of inline ``vformat`` functions into the library + (`#795 `_). + +* Fixed incorrect call to on_align in ``'{:}='`` + (`#750 `_). + +* Fixed floating-point formatting to a non-back_insert_iterator with sign & + numeric alignment specified + (`#756 `_). + +* Fixed formatting to an array with ``format_to_n`` + (`#778 `_). + +* Fixed formatting of more than 15 named arguments + (`#754 `_). + +* Fixed handling of compile-time strings when including ``fmt/ostream.h``. + (`#768 `_). + +* Fixed various compiler warnings and errors + (`#742 `_, + `#748 `_, + `#752 `_, + `#770 `_, + `#775 `_, + `#779 `_, + `#780 `_, + `#790 `_, + `#792 `_). + Thanks `@Remotion (Remo) `_, + `@gabime (Gabi Melman) `_, + `@foonathan (Jonathan Müller) `_ and + `@Dark-Passenger (Dhruv Paranjape) `_. + 5.0.0 - 2018-05-21 ------------------ @@ -134,8 +215,8 @@ vreport_error(format, fmt::make_format_args(args...)); } -* Added the ``make_printf_args`` function for capturing ``printf`` arguments ( - `#687 `_, +* Added the ``make_printf_args`` function for capturing ``printf`` arguments + (`#687 `_, `#694 `_). Thanks `@Kronuz (Germán Méndez Bravo) `_. @@ -207,8 +288,8 @@ * Disallowed formatting of multibyte strings into a wide character target (`#606 `_). -* Improved documentation ( - `#515 `_, +* Improved documentation + (`#515 `_, `#614 `_, `#617 `_, `#661 `_, @@ -257,8 +338,8 @@ (`#626 `_). Thanks `@aroig (Abdó Roig-Maranges) `_. -* Fixed various compiler warnings ( - `#640 `_, +* Fixed various compiler warnings + (`#640 `_, `#656 `_, `#679 `_, `#681 `_, @@ -1184,8 +1265,8 @@ Fixes `@Jopie64 (Johan) `_. * Fixed portability issues (mostly causing test failures) on ARM, ppc64, ppc64le, - s390x and SunOS 5.11 i386 ( - `#138 `_, + s390x and SunOS 5.11 i386 + (`#138 `_, `#179 `_, `#180 `_, `#202 `_, diff --git a/README.rst b/README.rst index f412c759..9f54fbf9 100644 --- a/README.rst +++ b/README.rst @@ -81,7 +81,7 @@ Format strings can be checked at compile time: // test.cc #include - std::string s = fmt::format(fmt("{2}"), 42); + std::string s = format(fmt("{2}"), 42); .. code:: diff --git a/support/appveyor.yml b/support/appveyor.yml index a2830588..af298cf7 100644 --- a/support/appveyor.yml +++ b/support/appveyor.yml @@ -18,10 +18,6 @@ environment: MSVC_DEFAULT_OPTIONS: ON BUILD: msvc -matrix: - allow_failures: - - image: Visual Studio 2013 - before_build: - mkdir build - cd build