From 5fd775296b0a598cd970db9b26f3e9db6011c4c4 Mon Sep 17 00:00:00 2001 From: Alexander Date: Mon, 2 Apr 2018 17:10:51 +0300 Subject: [PATCH 1/6] Fix _i2f compilation on some GCC versions --- src/libImaging/ImagingUtils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libImaging/ImagingUtils.h b/src/libImaging/ImagingUtils.h index b040fc303..a2f2aa8e2 100644 --- a/src/libImaging/ImagingUtils.h +++ b/src/libImaging/ImagingUtils.h @@ -37,7 +37,7 @@ ! defined(__clang__) && defined(GCC_VERSION) && (GCC_VERSION < 40900) static float __attribute__((always_inline)) inline _i2f(int v) { float x; - __asm__("xorps %0, %0; cvtsi2ss %1, %0" : "=X"(x) : "r"(v) ); + __asm__("xorps %0, %0; cvtsi2ss %1, %0" : "=x"(x) : "r"(v) ); return x; } #else From 7c44774a6f84e163add7aa7c6b64958e9c4b2971 Mon Sep 17 00:00:00 2001 From: Hugo Date: Thu, 12 Apr 2018 14:01:33 +0300 Subject: [PATCH 2/6] Update CHANGES.rst [CI skip] --- CHANGES.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index c9986b8a5..78e5b1506 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2,6 +2,15 @@ Changelog (Pillow) ================== +5.1.1 (2018-04-12) +------------------ + +- Fix _i2f compilation on some GCC versions #3067 + [homm] + +- Build macOS wheels with Xcode 6.4, supporting older macOS versions #3068 + [wiredfool] + 5.1.0 (2018-04-02) ------------------ From 8ccd9ba6e03979b85a582e03ee1b53e32554b6a1 Mon Sep 17 00:00:00 2001 From: Hugo Date: Thu, 12 Apr 2018 14:39:31 +0300 Subject: [PATCH 3/6] Release notes for 5.1.1 --- docs/releasenotes/5.1.1.rst | 18 ++++++++++++++++++ docs/releasenotes/index.rst | 1 + 2 files changed, 19 insertions(+) create mode 100644 docs/releasenotes/5.1.1.rst diff --git a/docs/releasenotes/5.1.1.rst b/docs/releasenotes/5.1.1.rst new file mode 100644 index 000000000..76295a42e --- /dev/null +++ b/docs/releasenotes/5.1.1.rst @@ -0,0 +1,18 @@ +5.1.1 +----- + +Build macOS wheels with Xcode 6.4, supporting older macOS versions +================================================================== + +The macOS wheels for Pillow 5.1.0 were built with Xcode 9.2, meaning 10.12 +Sierra was the lowest supported version. + +Prior to Pillow 5.1.0, Xcode 8 was used, supporting El Capitan 10.11. + +Instead, Pillow 5.1.1 is built with the oldest available Xcode 6.4 to support +at least 10.10 Yosemite. + +Fix _i2f compilation on some GCC versions +========================================= + +For example, this allows compilation on GCC 4.8. diff --git a/docs/releasenotes/index.rst b/docs/releasenotes/index.rst index ab7b09785..e6899857c 100644 --- a/docs/releasenotes/index.rst +++ b/docs/releasenotes/index.rst @@ -6,6 +6,7 @@ Release Notes .. toctree:: :maxdepth: 2 + 5.1.1 5.1.0 5.0.0 4.3.0 From 5f94a9410bd144c5c12aacf609388f86164a9915 Mon Sep 17 00:00:00 2001 From: Hugo Date: Thu, 12 Apr 2018 14:39:45 +0300 Subject: [PATCH 4/6] 5.1.1 version bump --- src/PIL/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/version.py b/src/PIL/version.py index 4f3f70309..b947b3168 100644 --- a/src/PIL/version.py +++ b/src/PIL/version.py @@ -1,2 +1,2 @@ # Master version for Pillow -__version__ = '5.1.0' +__version__ = '5.1.1' From cddb5b221c6769377737de6ef23d49d34543a282 Mon Sep 17 00:00:00 2001 From: Hugo Date: Fri, 13 Apr 2018 00:15:23 +0300 Subject: [PATCH 5/6] Update 5.1.1.rst --- docs/releasenotes/5.1.1.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/releasenotes/5.1.1.rst b/docs/releasenotes/5.1.1.rst index 76295a42e..0a5eb1fdb 100644 --- a/docs/releasenotes/5.1.1.rst +++ b/docs/releasenotes/5.1.1.rst @@ -12,7 +12,7 @@ Prior to Pillow 5.1.0, Xcode 8 was used, supporting El Capitan 10.11. Instead, Pillow 5.1.1 is built with the oldest available Xcode 6.4 to support at least 10.10 Yosemite. -Fix _i2f compilation on some GCC versions -========================================= +Fix _i2f compilation with some GCC versions +=========================================== -For example, this allows compilation on GCC 4.8. +For example, this allows compilation with GCC 4.8 on NetBSD. From 03cd0a0a836e6c61cfa540f11bbabc717454d551 Mon Sep 17 00:00:00 2001 From: Mo Battah Date: Tue, 19 Jun 2018 19:15:12 -0500 Subject: [PATCH 6/6] Update overview.rst --- docs/handbook/overview.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/handbook/overview.rst b/docs/handbook/overview.rst index b52939b89..4f992e035 100644 --- a/docs/handbook/overview.rst +++ b/docs/handbook/overview.rst @@ -27,7 +27,7 @@ presentation formats. Image Display ------------- -The current release includes Tk :py:class:`~PIL.ImageTk.PhotoImage` and +The current release includes :py:class:`~PIL.ImageTk.PhotoImage` and :py:class:`~PIL.ImageTk.BitmapImage` interfaces, as well as a :py:mod:`Windows DIB interface ` that can be used with PythonWin and other Windows-based toolkits. Many other GUI toolkits come with some kind of PIL