Commit Graph

12513 Commits

Author SHA1 Message Date
mergify[bot]
9f6e947269
Merge pull request #5925 from python-pillow/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-01-03 19:42:00 +00:00
pre-commit-ci[bot]
52f29a537d [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-01-03 17:11:34 +00:00
pre-commit-ci[bot]
3446537c60
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 911470a610e47d9da5ea938b0887c3df62819b85 → f1d4e742c91dd5179d742b0db9293c4472b765f8](911470a610...f1d4e742c9)
- [github.com/PyCQA/isort: fd5ba70665a37ec301a1f714ed09336048b3be63 → c5e8fa75dda5f764d20f66a215d71c21cfa198e1](fd5ba70665...c5e8fa75dd)
- [github.com/asottile/yesqa: 644ede78511c02fc6f8e03e014cc1ddcfbf1e1f5 → 35cf7dc24fa922927caded7a21b2a8cb04bf8e10](644ede7851...35cf7dc24f)
- [github.com/PyCQA/flake8: dcd740bc0ebaf2b3d43e59a0060d157c97de13f3 → cbeb4c9c4137cff1568659fcc48e8b85cddd0c8d](dcd740bc0e...cbeb4c9c41)
- [github.com/pre-commit/pre-commit-hooks: 38b88246ccc552bffaaf54259d064beeee434539 → 8fe62d14e0b4d7d845a7022c5c2c3ae41bdd3f26](38b88246cc...8fe62d14e0)
2022-01-03 17:10:44 +00:00
Andrew Murray
05b63366df 9.1.0.dev0 version bump 2022-01-03 09:22:31 +11:00
Andrew Murray
82541b6dec 9.0.0 version bump 2022-01-02 20:51:23 +11:00
Andrew Murray
cae5ac495b
Merge pull request #5924 from radarhere/cves
CVEs TBD
2022-01-02 19:53:13 +11:00
Andrew Murray
ed4cf78137 CVEs TBD 2022-01-02 18:09:45 +11:00
mergify[bot]
d7f60d1d5a
Merge pull request #5923 from radarhere/imagemath_eval
Restrict builtins for ImageMath.eval()
2022-01-02 07:04:41 +00:00
Andrew Murray
8531b01d6c Restrict builtins for ImageMath.eval 2022-01-02 17:23:49 +11:00
Hugo van Kemenade
1efb1d9fab
Merge pull request #5922 from radarhere/releasenotes 2022-01-01 15:25:11 +02:00
Andrew Murray
f6c78713a4 Added release notes for #5919, #5920 and #5921 2022-01-01 22:10:48 +11:00
Andrew Murray
032d2dc365 Update CHANGES.rst [ci skip] 2022-01-01 22:00:12 +11:00
mergify[bot]
baae9ec4b6
Merge pull request #5921 from radarhere/jpeg_eoi
Ensure JpegImagePlugin stops at the end of a truncated file
2022-01-01 10:58:21 +00:00
Andrew Murray
1059eb5376 If appended EOI did not work, do not keep trying 2022-01-01 21:04:32 +11:00
Andrew Murray
525c840b0f Updated path after pillow-wheels switched to libjpeg-turbo 2022-01-01 20:15:06 +11:00
Hugo van Kemenade
7291c3827f
Merge pull request #5918 from radarhere/main
Updated copyright year
2022-01-01 10:41:07 +02:00
Andrew Murray
5543e4e2d4
Merge pull request #5920 from radarhere/calloc
Fixed ImagePath.Path array handling
2022-01-01 19:16:11 +11:00
Andrew Murray
c48271ab35 Handle case where path count is zero 2022-01-01 15:44:04 +11:00
Andrew Murray
1e092419b6 Initialize coordinates to zero 2022-01-01 15:44:04 +11:00
Andrew Murray
a8f90a3916
Merge pull request #5919 from radarhere/duplicate
Remove consecutive duplicates that only differ by their offset
2022-01-01 15:35:10 +11:00
Andrew Murray
7370a0b1cf Remove consecutive duplicates that only differ by their offset 2022-01-01 14:54:23 +11:00
Andrew Murray
0bb3f87dcc
Updated copyright year 2022-01-01 10:40:57 +11:00
Andrew Murray
89d0d38796
Merge pull request #5917 from radarhere/releasenotes
Added release notes for pillow-wheels#237
2021-12-31 19:30:35 +11:00
Andrew Murray
949b431f03 Added release notes for pillow-wheels#237 2021-12-31 18:09:44 +11:00
Hugo van Kemenade
1d3fbf2049
Merge pull request #5915 from radarhere/load 2021-12-30 10:39:08 +02:00
Hugo van Kemenade
25165c1f0f
Merge pull request #5916 from radarhere/libimagequant 2021-12-30 10:37:20 +02:00
Andrew Murray
bd05a8dd13 Updated libimagequant to 2.17.0 2021-12-30 15:42:30 +11:00
Andrew Murray
6565d5b1f3
Merge pull request #5517 from kmilos/patch-1
Explicitly enable strip chopping for large uncompressed TIFFs
2021-12-30 15:34:02 +11:00
Andrew Murray
cdb0fba2ed Removed redundant part of condition 2021-12-30 11:45:40 +11:00
mergify[bot]
aa287bc934
Merge pull request #5913 from radarhere/sys
Added sys import
2021-12-29 14:14:43 +00:00
Andrew Murray
1998d12bb6 Added sys import 2021-12-30 00:11:20 +11:00
Andrew Murray
4d1d2c9855
Merge pull request #5807 from DWesl/tkimaging-on-cygwin
Use the Windows method to get TCL functions on Cygwin
2021-12-30 00:08:31 +11:00
Andrew Murray
d8f2fb50a4
Merge pull request #5404 from radarhere/feed
Changed error type to allow for incremental WebP parsing
2021-12-29 07:33:56 +11:00
Andrew Murray
e61336681b Update CHANGES.rst [ci skip] 2021-12-28 19:17:31 +11:00
Hugo van Kemenade
3c39be3bc2
Merge pull request #5901 from radarhere/i16
Improved I;16 operations on big endian
2021-12-28 10:12:00 +02:00
Hugo van Kemenade
fccc261386
Merge pull request #5899 from radarhere/bmp
Ensure that BMP pixel data offset does not ignore palette
2021-12-28 10:10:08 +02:00
Hugo van Kemenade
17ec8b5c98
Merge pull request #5879 from radarhere/quantize
Limit quantized palette to number of colors
2021-12-28 10:08:54 +02:00
Hugo van Kemenade
39de05363a
Merge pull request #5870 from radarhere/setup
Use latin1 encoding to decode bytes
2021-12-28 10:07:44 +02:00
Hugo van Kemenade
cc670c940e
Merge pull request #5869 from radarhere/quantize_palette
Fixed palette index for zeroed color in FASTOCTREE quantize
2021-12-28 10:05:58 +02:00
Hugo van Kemenade
f560707def
Merge pull request #5859 from radarhere/saving_rgba_gif
When saving RGBA to GIF, make use of first transparent palette entry
2021-12-28 10:04:10 +02:00
Hugo van Kemenade
1806cf5607
Merge pull request #5848 from radarhere/sampleformat
Pass SAMPLEFORMAT to libtiff
2021-12-28 10:03:16 +02:00
Hugo van Kemenade
e7b53259d1
Merge pull request #5824 from radarhere/l_macro
Added rounding when converting P and PA
2021-12-28 10:02:36 +02:00
Andrew Murray
44bd03fb6e Update CHANGES.rst [ci skip] 2021-12-28 18:56:25 +11:00
Hugo van Kemenade
8e631e4cd9
Merge pull request #5910 from radarhere/putdata
Improved putdata() documentation and data handling
2021-12-28 09:53:33 +02:00
Andrew Murray
aeb549ef8f Fixed unpacking I;16B to I;16 on big endian 2021-12-28 17:38:01 +11:00
Andrew Murray
4b7b07de70 Fixed JPEG2000 I;16 images on big endian 2021-12-28 17:06:05 +11:00
Andrew Murray
16167e82e6 Update CHANGES.rst [ci skip] 2021-12-28 12:00:32 +11:00
Andrew Murray
43b800d933
Merge pull request #5912 from radarhere/fix-pdf-redos-carriage-return
Exclude carriage return in PDF regex to help prevent ReDoS
2021-12-28 11:53:43 +11:00
Hugo van Kemenade
dd8049363e Use more specific regex chars to prevent ReDoS - exclude carriage return 2021-12-28 10:22:39 +11:00
Andrew Murray
e0d5417bcd Raise an error if sequence is not flattened 2021-12-28 09:38:41 +11:00