From 9d1fc0ecd54715ebef534d24e9e91b70ed749b17 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 6 Mar 2015 07:18:44 -0800 Subject: [PATCH 1/9] Update ChangeLog.rst --- ChangeLog.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/ChangeLog.rst b/ChangeLog.rst index 718e6325..6a1c2cac 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,3 +1,24 @@ +1.1.0 - TBD +----------- + +* Added `0 A.D. `_ to the list of notable projects using + C++ Format. + +* Improved `Biicode `_ support + (`#98 `_ and + `#104 `_). Thanks to + `@MariadeAnton `_ and + `@franramirez688 `_. + +* Provided examples of using ``SystemError`` and ``WindowsError`` + (`#54 `_). + +* Fixed packaging issues (`#94 `_). + +* Fixed warnings in MSVC and Xcode + (`#95 `_ and + `#96 `_). + 1.0.0 - 2015-02-05 ------------------ From 935032808667947a8a7f53d4136006536c549234 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 6 Mar 2015 07:32:28 -0800 Subject: [PATCH 2/9] Update ChangeLog.rst --- ChangeLog.rst | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index 6a1c2cac..aecd84c8 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,8 +1,8 @@ 1.1.0 - TBD ----------- -* Added `0 A.D. `_ to the list of notable projects using - C++ Format. +* Added `0 A.D. `_ and `PenUltima Online (POL) + `_ to the list of notable projects using C++ Format. * Improved `Biicode `_ support (`#98 `_ and @@ -10,7 +10,18 @@ `@MariadeAnton `_ and `@franramirez688 `_. -* Provided examples of using ``SystemError`` and ``WindowsError`` +* Improved support for bulding with `Android NDK + `_ + (`# 107 `_). + Thanks to `@newnon `_. + + The `android-ndk-example `_ + repository provides and example of using C++ Format with Android NDK: + + .. image:: https://raw.githubusercontent.com/cppformat/android-ndk-example/ + master/screenshot.png + +* Improved documentation of ``SystemError`` and ``WindowsError`` (`#54 `_). * Fixed packaging issues (`#94 `_). From 5463a62d43c32c3ea48fad0222facfb52d3bdf71 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 6 Mar 2015 07:52:06 -0800 Subject: [PATCH 3/9] Update ChangeLog.rst --- ChangeLog.rst | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index aecd84c8..d3e905d8 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -4,6 +4,10 @@ * Added `0 A.D. `_ and `PenUltima Online (POL) `_ to the list of notable projects using C++ Format. +* C++ Format now uses MSVC intrinsic for better performance on Windows. + Previously these optimizations where only used on GCC and Clang. + Thanks to `@CarterLi `_. + * Improved `Biicode `_ support (`#98 `_ and `#104 `_). Thanks to @@ -12,7 +16,7 @@ * Improved support for bulding with `Android NDK `_ - (`# 107 `_). + (`#107 `_). Thanks to `@newnon `_. The `android-ndk-example `_ @@ -24,11 +28,21 @@ * Improved documentation of ``SystemError`` and ``WindowsError`` (`#54 `_). +* Various code improvements + (`#110 `_, + `#111 `_ + `#112 `_). + Thanks to `@CarterLi `_. + +* Fixed ``BasicWriter::write`` without formatting arguments when C++11 support + is disabled (`#109 `_). + * Fixed packaging issues (`#94 `_). -* Fixed warnings in MSVC and Xcode - (`#95 `_ and - `#96 `_). +* Fixed warnings in GCC, MSVC and Xcode/Clang + (`#95 `_, + `#96 `_ and + `#114 `_). 1.0.0 - 2015-02-05 ------------------ From 55ba812d129aa7aebee760468c71af8ad17a6748 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 6 Mar 2015 07:52:51 -0800 Subject: [PATCH 4/9] Update ChangeLog.rst --- ChangeLog.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index d3e905d8..4f2367a0 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -4,7 +4,7 @@ * Added `0 A.D. `_ and `PenUltima Online (POL) `_ to the list of notable projects using C++ Format. -* C++ Format now uses MSVC intrinsic for better performance on Windows. +* C++ Format now uses MSVC intrinsics for better formatting performance. Previously these optimizations where only used on GCC and Clang. Thanks to `@CarterLi `_. From d82b6c7e62b5493eb852f22ec2e6e73122ddd212 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 6 Mar 2015 08:03:11 -0800 Subject: [PATCH 5/9] Update ChangeLog.rst --- ChangeLog.rst | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index 4f2367a0..6b2df54b 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -4,9 +4,18 @@ * Added `0 A.D. `_ and `PenUltima Online (POL) `_ to the list of notable projects using C++ Format. -* C++ Format now uses MSVC intrinsics for better formatting performance. +* C++ Format now uses MSVC intrinsics for better formatting performance + (`#116 `_, + `#118 `_ and + `#121 `). Previously these optimizations where only used on GCC and Clang. - Thanks to `@CarterLi `_. + Thanks to `@CarterLi `_ and + `@objectx `_. + +* CMake install target (`#119 `_). + Thanks to `@TrentHouliston `_. + + You can now install C++ Format with ``make install`` command. * Improved `Biicode `_ support (`#98 `_ and @@ -34,6 +43,9 @@ `#112 `_). Thanks to `@CarterLi `_. +* Improved compile-time errors when formatting wide into narrow strings + (`#117 `_). + * Fixed ``BasicWriter::write`` without formatting arguments when C++11 support is disabled (`#109 `_). From 3252eead94c1891e58c7e9d3671d5c820a65bd36 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 6 Mar 2015 08:03:34 -0800 Subject: [PATCH 6/9] Update ChangeLog.rst --- ChangeLog.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index 6b2df54b..73820526 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -7,7 +7,7 @@ * C++ Format now uses MSVC intrinsics for better formatting performance (`#116 `_, `#118 `_ and - `#121 `). + `#121 `_). Previously these optimizations where only used on GCC and Clang. Thanks to `@CarterLi `_ and `@objectx `_. From 2d200e3caa838753aabd9f2843415b5789995958 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 6 Mar 2015 08:14:19 -0800 Subject: [PATCH 7/9] Update ChangeLog.rst --- ChangeLog.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/ChangeLog.rst b/ChangeLog.rst index 73820526..3e9ff027 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,6 +1,17 @@ 1.1.0 - TBD ----------- +* Added ``BasicArrayWriter``, a class template that provides operations for + formatting and writing data into a fixed-size array + (`#105 `_ and + `#122 `_): + + .. code:: c++ + + char buffer[100]; + fmt::ArrayWriter w(buffer); + w.write("The answer is {}", 42); + * Added `0 A.D. `_ and `PenUltima Online (POL) `_ to the list of notable projects using C++ Format. @@ -49,6 +60,9 @@ * Fixed ``BasicWriter::write`` without formatting arguments when C++11 support is disabled (`#109 `_). +* Fixed header-only build on OS X with GCC 4.9 + (`#124 `_). + * Fixed packaging issues (`#94 `_). * Fixed warnings in GCC, MSVC and Xcode/Clang @@ -56,6 +70,9 @@ `#96 `_ and `#114 `_). +* Added `changelog `_ + (`#103 `_). + 1.0.0 - 2015-02-05 ------------------ From 549b61e95867371fcc1444af07bac407ef4e12df Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 6 Mar 2015 08:15:11 -0800 Subject: [PATCH 8/9] Update ChangeLog.rst --- ChangeLog.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index 3e9ff027..70fd90b3 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -16,7 +16,8 @@ `_ to the list of notable projects using C++ Format. * C++ Format now uses MSVC intrinsics for better formatting performance - (`#116 `_, + (`#115 `_ + `#116 `_, `#118 `_ and `#121 `_). Previously these optimizations where only used on GCC and Clang. From fa5b35e539da5f8d3c1b526741488f842e002dde Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 6 Mar 2015 08:17:13 -0800 Subject: [PATCH 9/9] Update ChangeLog.rst --- ChangeLog.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index 70fd90b3..211c1ab1 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -16,7 +16,7 @@ `_ to the list of notable projects using C++ Format. * C++ Format now uses MSVC intrinsics for better formatting performance - (`#115 `_ + (`#115 `_, `#116 `_, `#118 `_ and `#121 `_).