Commit Graph

12818 Commits

Author SHA1 Message Date
Andrew Murray
86944abbab Deprecated show_file "file" argument in favour of "path" 2022-01-15 16:08:37 +11:00
Andrew Murray
ed8073e846 Deprecated constants in favour of enums 2022-01-15 10:07:07 +11:00
Andrew Murray
f8e4e9c2dd Added enums 2022-01-15 09:02:31 +11:00
Andrew Murray
a9441a475d Added IREC header entry for use with Bio-formats library 2022-01-12 17:29:25 +11:00
Andrew Murray
ba86d90a00 Simplified code 2022-01-12 15:17:04 +11:00
mergify[bot]
fd2b07c454
Merge pull request #5955 from hugovk/link-cwe
Autolink CWE numbers with sphinx-issues
2022-01-11 23:56:03 +00:00
Hugo van Kemenade
2885b7f3ff
Dont need to pin for GHA
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-01-12 01:25:58 +02:00
Hugo van Kemenade
47fe0b1b9f Autolink CWE numbers with sphinx-issues 2022-01-11 18:48:56 +02:00
Hugo van Kemenade
51a9dad82d
Merge pull request #5953 from radarhere/verbose 2022-01-11 15:14:23 +02:00
Andrew Murray
01e7b3943d Simplified code 2022-01-11 13:50:57 +11:00
Andrew Murray
9c6df29b4d Removed unreachable error 2022-01-11 13:50:57 +11:00
Andrew Murray
90f3f72e19 Removed unused constant 2022-01-11 13:30:51 +11:00
Andrew Murray
9a9afd36b4
Merge pull request #5935 from FirefoxMetzger/add-missing-ImageModes
Add missing ImageModes
2022-01-11 11:56:16 +11:00
Sebastian Wallkötter
11dd543837 remove mode BGR 2022-01-10 08:17:53 +01:00
Andrew Murray
2d7c1bcc9d Update CHANGES.rst [ci skip] 2022-01-10 16:42:26 +11:00
Hugo van Kemenade
ac7f42c2c6
Merge pull request #5946 from radarhere/file_pointer
Ensure duplicated file pointer is closed
2022-01-10 07:38:17 +02:00
Andrew Murray
6e5e45a9ec Ensure duplicated file pointer is closed 2022-01-09 16:10:12 +11:00
Hugo van Kemenade
eff6c34bd1
Merge pull request #5942 from radarhere/error 2022-01-08 10:55:38 +02:00
Andrew Murray
2d9dfefe6e Added specific error if coordinate type is incorrect 2022-01-08 13:47:51 +11:00
Andrew Murray
7191555d89
Merge pull request #5940 from hugovk/add-cves
Add CVE IDs
2022-01-08 09:59:29 +11:00
Hugo van Kemenade
b2c6db8d3b Add CVE IDs 2022-01-07 22:48:26 +02:00
Hugo van Kemenade
5908ccc5ae
Merge pull request #5938 from radarhere/zero
Return an empty bytestring from tobytes() for an empty image
2022-01-07 08:34:50 +02:00
Hugo van Kemenade
3ca33707dc
Merge pull request #5937 from radarhere/duplicate
Removed duplicate check
2022-01-07 08:26:20 +02:00
Andrew Murray
b5160591bc Return an empty bytestring from tobytes() for an empty image 2022-01-07 16:29:38 +11:00
Andrew Murray
fbe396f22a Removed duplicate check 2022-01-07 12:34:58 +11:00
Sebastian Wallkötter
f40c005399 Add missing ImageModes
The modes are mentioned in the docs, but weren't part of ImageMode.
2022-01-06 07:58:57 +01:00
Hugo van Kemenade
0648692b2c
Merge pull request #5934 from radarhere/setup 2022-01-06 00:28:29 +02:00
Andrew Murray
5a35e7baee Replaced direct invocation of setup.py 2022-01-06 06:19:51 +11:00
Andrew Murray
3f77466f11
Merge pull request #5930 from hugovk/rm-__eq__-readonly
Remove readonly from Image.__eq__
2022-01-05 08:45:58 +11:00
Hugo van Kemenade
e077229d7a Remove readonly from Image.__eq__ 2022-01-04 11:32:15 +02:00
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