Andrew Murray
124e30e432
Merge pull request #4397 from hugovk/speedup-linkcheck
...
Docs: Speed up linkcheck by checking in parallel
2020-02-06 21:06:41 +11:00
Andrew Murray
db970acfa5
Grammar fix [ci skip]
2020-02-06 20:10:34 +11:00
Andrew Murray
50ce9bac55
Pillow no longer supports Python 2 [ci skip]
2020-02-05 21:06:09 +11:00
Hugo
2dfcfbfaa0
Speed up linkcheck by checking in parallel with 'cpu-count' processes
2020-01-29 17:11:59 +02:00
Andrew Murray
1f58028173
Use BytesIO instead of StringIO [ci skip]
2020-01-21 23:21:57 +11:00
Hugo
9f9d4b4379
Add favicon to Read the Docs
2020-01-20 17:22:10 +02:00
Andrew Murray
1c102fd040
Updated spacing defaults [ci skip]
2020-01-18 10:26:20 +11:00
Andrew Murray
6aa4e93e2d
Updated tested libtiff versions [ci skip]
2020-01-13 21:06:32 +11:00
Andrew Murray
b1b20d81f4
Updated libjpeg to 9d
2020-01-12 22:43:39 +11:00
Andrew Murray
16b7c80e7d
Added Pillow 6.2.2 to version table [ci skip]
2020-01-11 14:11:22 +11:00
Andrew Murray
56f30ef792
Allow explicit zero width to hide outline
2020-01-08 21:55:15 +11:00
Hugo
81126d1470
Add assigned CVE numbers
2020-01-03 21:33:10 +02:00
Hugo van Kemenade
2545e48079
Fix typo
2020-01-02 21:51:33 +02:00
Andrew Murray
1cecf08d16
Release notes for 6.2.2
2020-01-02 16:19:26 +11:00
Andrew Murray
afc93b0d76
Added release notes [ci skip]
2020-01-02 15:25:36 +11:00
Andrew Murray
2f508d4467
Added security notes [ci skip]
2020-01-02 09:32:13 +11:00
Andrew Murray
1ab85c885e
Updated copyright year
2020-01-01 12:58:36 +11:00
Andrew Murray
d85ad58cb9
Python 2.7 support has been removed [ci skip]
2019-12-31 23:12:01 +11:00
Andrew Murray
4a0014ccee
Updated libimagequant to 2.12.6
2019-12-31 08:43:20 +11:00
Alexander Karpinsky
c3232e5093
Merge pull request #4273 from uploadcare/reduce-in-resize
...
Reduce for resize
2019-12-30 17:29:58 +03:00
Andrew Murray
aeaaf29abe
Python 2.7 is no longer supported [ci skip]
2019-12-30 22:30:21 +11:00
Alexander
c74c20eb9f
Merge branch 'master' into reduce-in-resize
...
# Conflicts:
# docs/releasenotes/7.0.0.rst
2019-12-30 03:24:38 +03:00
Alexander
34029e9af4
texts fixes
2019-12-30 03:23:30 +03:00
Andrew Murray
2a0653ee81
Merge pull request #4311 from radarhere/wmf
...
Allow loading of WMF images at a given DPI
2019-12-30 10:24:44 +11:00
Andrew Murray
feec1bbcb2
Updated WMF documentation [ci skip]
2019-12-30 10:12:37 +11:00
Andrew Murray
2b96dcffe1
Removed TODO from release notes [ci skip]
2019-12-30 09:18:03 +11:00
Alexander
1bd9b16e97
wording
2019-12-27 15:35:17 +03:00
Alexander
222c2f6978
Merge branch 'master' into reduce-in-resize
2019-12-27 15:13:19 +03:00
Andrew Murray
e51b7fa2a2
Added CentOS 8
2019-12-26 18:48:18 +11:00
Alexander
d719aafecb
Merge branch 'reduce' into reduce-in-resize
...
# Conflicts:
# docs/releasenotes/7.0.0.rst
2019-12-25 15:45:17 +03:00
Alexander
9c2b058483
update release notes [ci skip]
2019-12-25 15:32:49 +03:00
Alexander Karpinsky
d991cd9a9a
Merge pull request #60 from radarhere/box-in-thumbnail
...
Updated wording
2019-12-25 15:21:24 +03:00
Andrew Murray
c35fb6fb67
Merge branch 'master' into box-in-thumbnail
2019-12-24 18:18:34 +11:00
Andrew Murray
663fea308b
Updated wording [ci skip]
2019-12-24 15:06:47 +11:00
Hugo
6a43ea86ea
Merge remote-tracking branch 'upstream/master' into doctest-turn-warnings-into-errors
2019-12-21 15:52:59 +02:00
Hugo
d025fbe16d
Install TkInter for Python 3, not 2
2019-12-21 15:48:00 +02:00
Hugo van Kemenade
b3547dc2c0
--keep-going to show all of the problems
...
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2019-12-21 13:46:38 +02:00
Hugo
6a256a8396
make doccheck: turn warnings into errors
2019-12-21 13:11:12 +02:00
Alexander
532eca3c20
Merge branch 'master' into box-in-thumbnail
...
# Conflicts:
# docs/releasenotes/7.0.0.rst
2019-12-21 03:18:23 +03:00
Alexander
59f8eeb290
add release notes
2019-12-21 03:16:42 +03:00
Andrew Murray
7a4a408802
Merge pull request #4214 from hugovk/python-m-pip-install
...
Recommend upgrading pip before Pillow, and use python -m pip
2019-12-21 10:52:59 +11:00
Alexander
945b4e9c82
add references, fix release notes syntax
2019-12-21 00:25:52 +03:00
Alexander
1275b10e6f
update release notes
2019-12-20 23:21:43 +03:00
Alexander
8181aed77f
Merge branch 'reduce' into reduce-in-resize
...
# Conflicts:
# docs/releasenotes/7.0.0.rst
# src/PIL/Image.py
2019-12-20 20:27:11 +03:00
Alexander
b112e55070
Merge branch 'master' into box-in-thumbnail
...
# Conflicts:
# docs/releasenotes/7.0.0.rst
2019-12-19 16:36:37 +03:00
Alexander Karpinsky
6d75a673b6
Merge pull request #4255 from uploadcare/default-resample-filter
...
Change default resize resampling filter from NEAREST to BICUBIC
2019-12-19 16:33:34 +03:00
Alexander
cdd1253211
notes fixes
...
skip-checks: true
2019-12-18 01:09:54 +03:00
Alexander
4da9858709
change default resampling filter for ImageOps.pad(), ImageOps.scale() and ImageOps.fit()
2019-12-17 18:15:02 +03:00
Andrew Murray
d3c26fac97
Merge branch 'master' into python-m-pip-install
2019-12-17 20:08:14 +11:00
Andrew Murray
ba81712ec8
Added release notes for #4256 [ci skip]
2019-12-17 19:01:24 +11:00
Alexander
a027897f74
Merge branch 'master' into box-in-thumbnail
...
# Conflicts:
# Tests/test_image_thumbnail.py
2019-12-17 00:42:29 +03:00
Hugo
7b4ae104f0
Fix malformed table
2019-12-16 15:07:56 +02:00
Hugo van Kemenade
cb768d0bff
Merge pull request #4209 from daquexian/patch-1
...
Update the out-dated termux.sh
2019-12-12 08:03:57 +02:00
nulano
306d6ccfed
update tested versions table [ci skip]
2019-12-09 22:48:57 +01:00
Alexander
ac92836e81
Change default resize resampling filter
2019-12-07 18:08:19 +03:00
Hugo van Kemenade
995c863200
Merge pull request #4253 from radarhere/python_versions
...
Invert Python version support table
2019-12-07 14:29:36 +02:00
Andrew Murray
5dcad52a5d
Merge branch 'master' into python-m-pip-install
2019-12-07 23:28:39 +11:00
Andrew Murray
9a9092773f
Removed references to Python 2.7 [ci skip]
2019-12-07 22:13:29 +11:00
Andrew Murray
4b863b3cd2
Invert Python version support table [ci skip]
2019-12-07 21:57:57 +11:00
Andrew Murray
f663079a13
Removed prompts [ci skip]
2019-12-07 09:26:48 +11:00
Hugo
578d9ec016
Update macOS to reflect GitHub Actions
2019-12-07 00:20:41 +02:00
Alexander
4e092153fc
add release notes
2019-11-30 18:17:10 +03:00
Andrew Murray
2537e8d23e
Updated Termux command [ci skip]
2019-11-30 07:52:31 +11:00
Hugo van Kemenade
39a8108e34
Docs: remove 2.7 from CI targets
...
Removed in https://github.com/python-pillow/Pillow/pull/4133 for https://github.com/python-pillow/Pillow/issues/3642 .
Also update macOS to reflect GitHub Actions.
2019-11-22 07:39:38 +02:00
Hugo van Kemenade
a949d7882e
Merge branch 'master' into rm-2.7
2019-11-20 10:26:55 +02:00
Hugo
a27e676b11
Recommend upgrading pip before Pillow, and use python -m pip
2019-11-19 14:47:15 +02:00
Andrew Murray
699183c5dc
Highlighted classes
...
Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com>
2019-11-19 21:41:40 +11:00
Andrew Murray
40f891dfd7
Added UnidentifiedImageError
2019-11-19 21:20:02 +11:00
Hugo
e5486b40f8
Merge remote-tracking branch 'upstream/master' into rm-2.7
2019-11-18 13:56:42 +02:00
Hugo
f273da1b3e
Remove deprecated __version__ from plugins
2019-11-05 22:06:57 +02:00
Hugo
15ee91761b
Remove deprecated __version__ from plugins
2019-11-05 22:04:04 +02:00
Hugo
09e48ae768
Remove deprecated __version__ from plugins
2019-11-05 17:01:03 +02:00
Hugo van Kemenade
5006401d0b
Merge branch 'master' into rm-2.7
2019-11-03 22:48:26 +02:00
Hugo van Kemenade
690bd430b0
Update docs/releasenotes/7.0.0.rst
...
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2019-11-02 11:06:58 +02:00
Hugo van Kemenade
a3d16dd40a
Update docs/releasenotes/7.0.0.rst
...
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2019-11-02 08:40:40 +02:00
Hugo van Kemenade
2058e00e3e
Update docs/deprecations.rst
...
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2019-11-02 08:40:29 +02:00
Hugo
c9c02c513b
Update docs for 7.0.0
2019-11-01 13:44:49 +02:00
Hugo
cc63f66575
Merge remote-tracking branch 'upstream/master' into rm-2.7
2019-11-01 13:22:56 +02:00
Hugo van Kemenade
2cf510e596
Improve handling of file resources ( #3577 )
...
Improve handling of file resources
2019-11-01 12:07:53 +02:00
Hugo
37f492cbbc
Add support for Fedora 31
2019-10-31 12:35:26 +02:00
Andrew Murray
b8023838cc
Added GHA [ci skip]
2019-10-29 19:07:45 +11:00
Hugo
ef0fa7a651
Remove soon-EOL Fedora 29
2019-10-26 17:10:07 +11:00
Hugo van Kemenade
40133cfc74
Merge branch 'master' into rm-2.7
2019-10-26 09:07:44 +03:00
Hugo
a80a45219f
Pillow 6.2.1 is the last to support Python 2.7
2019-10-20 23:06:22 +03:00
Hugo
6f3464e1cb
Add release notes for Pillow 6.2.1
2019-10-20 16:31:09 +03:00
Andrew Murray
aaf9720c58
Updated CI target Python versions for macOS [ci skip]
2019-10-20 21:00:26 +11:00
Hugo
2ab518edcb
Add support for Python 3.8
2019-10-15 12:44:21 +03:00
Jon Dufresne
4cd4adddc3
Improve handling of file resources
...
Follow Python's file object semantics. User code is responsible for
closing resources (usually through a context manager) in a deterministic
way.
To achieve this, remove __del__ functions. These functions used to
closed open file handlers in an attempt to silence Python
ResourceWarnings. However, using __del__ has the following drawbacks:
- __del__ isn't called until the object's reference count reaches 0.
Therefore, resource handlers remain open or in use longer than
necessary.
- The __del__ method isn't guaranteed to execute on system exit. See the
Python documentation:
https://docs.python.org/3/reference/datamodel.html#object.__del__
> It is not guaranteed that __del__() methods are called for objects
> that still exist when the interpreter exits.
- Exceptions that occur inside __del__ are ignored instead of raised.
This has the potential of hiding bugs. This is also in the Python
documentation:
> Warning: Due to the precarious circumstances under which __del__()
> methods are invoked, exceptions that occur during their execution
> are ignored, and a warning is printed to sys.stderr instead.
Instead, always close resource handlers when they are no longer in use.
This will close the file handler at a specified point in the user's code
and not wait until the interpreter chooses to. It is always guaranteed
to run. And, if an exception occurs while closing the file handler, the
bug will not be ignored.
Now, when code receives a ResourceWarning, it will highlight an area
that is mishandling resources. It should not simply be silenced, but
fixed by closing resources with a context manager.
All warnings that were emitted during tests have been cleaned up. To
enable warnings, I passed the `-Wa` CLI option to Python. This exposed
some mishandling of resources in ImageFile.__init__() and
SpiderImagePlugin.loadImageSeries(), they too were fixed.
2019-10-12 08:27:17 -07:00
Hugo
23fa3c6979
Remove outdated OS scripts, point docs to Dockerfiles
2019-10-12 14:16:10 +03:00
Andrew Murray
4140cd807b
Merge branch 'master' into rm-2.7
2019-10-12 18:03:58 +11:00
Andrew Murray
a8c07e3d5f
Added orientation note [ci skip]
2019-10-11 22:40:31 +11:00
Hugo
0caa48b179
Remove redundant __future__ from docs
...
Co-Authored-By: Jon Dufresne <jon.dufresne@gmail.com>
2019-10-08 17:26:11 +03:00
Andrew Murray
fab0205abc
Updated documentation [ci skip]
2019-10-08 21:12:15 +11:00
Hugo
538d9e2e5d
Upgrade Python syntax with pyupgrade --py3-plus
2019-10-07 14:30:59 +03:00
Andrew Murray
e8cf9a6bc1
Merge pull request #4108 from hugovk/rm-deprecated-qt
...
Drop support for EOL PyQt4 and PySide
2019-10-07 12:35:56 +11:00
Hugo van Kemenade
ac563f77ad
Merge pull request #4118 from radarhere/backticks
...
Use double backticks
2019-10-06 12:03:49 +03:00
Andrew Murray
e0d67a1f9f
Use double backticks [ci skip]
2019-10-06 14:39:10 +11:00
Andrew Murray
ecb3a30487
Clarified documentation [ci skip]
2019-10-06 13:52:58 +11:00
Andrew Murray
732eb7223f
Merge branch 'master' into rm-deprecated-qt
2019-10-06 13:35:38 +11:00
Andrew Murray
d6ae0a99a7
Removed deprecated setting of TIFF image sizes
2019-10-03 22:12:28 +10:00