Commit Graph

17757 Commits

Author SHA1 Message Date
Andrew Murray
8c57cd56a5 QoiImagePlugin uses PyDecoder 2024-04-03 12:00:02 +11:00
Adam J. Stewart
5d19151cd3
Python 3.10+ 2024-04-02 17:56:52 +02:00
pre-commit-ci[bot]
8a63980e39 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-04-02 15:53:42 +00:00
Adam J. Stewart
37ed8c337d
Try type comment 2024-04-02 17:53:11 +02:00
pre-commit-ci[bot]
8e47a6f2c8 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-04-02 15:46:28 +00:00
Adam J. Stewart
4915f19b13
fromarray: add type hints 2024-04-02 17:45:06 +02:00
Hugo van Kemenade
aeeb596c98
Merge pull request #7934 from radarhere/macos 2024-04-02 10:54:41 +03:00
Andrew Murray
38e8112650 Updated macOS tested Pillow versions 2024-04-02 17:58:49 +11:00
Hugo van Kemenade
7f9a174b33
Merge pull request #7933 from jbjd/fix_ImageMath.rst 2024-04-02 09:36:45 +03:00
Andrew Murray
75454646f4 Moved code onto single line 2024-04-02 00:38:02 -05:00
jbjd
b37279a29c fix parameter name in ImageMath docs 2024-04-01 20:09:02 -05:00
Andrew Murray
dc3ea89c33
Merge pull request #7932 from python-pillow/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2024-04-02 08:59:58 +11:00
Hugo van Kemenade
7867040486 Check GHA, RTD and Renovate config with pre-commit 2024-04-01 20:55:19 +03:00
Hugo van Kemenade
55b8f9126b Move Ruff's fix=true up from pre-commit to pyproject 2024-04-01 20:49:47 +03:00
Hugo van Kemenade
97c6e46f34 Fix lint 2024-04-01 20:49:19 +03:00
pre-commit-ci[bot]
88ddcde8d8 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-04-01 17:24:31 +00:00
pre-commit-ci[bot]
793bb7fb6f
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.0 → v0.3.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.2.0...v0.3.4)
- [github.com/psf/black-pre-commit-mirror: 24.1.1 → 24.3.0](https://github.com/psf/black-pre-commit-mirror/compare/24.1.1...24.3.0)
- [github.com/PyCQA/bandit: 1.7.7 → 1.7.8](https://github.com/PyCQA/bandit/compare/1.7.7...1.7.8)
- [github.com/Lucas-C/pre-commit-hooks: v1.5.4 → v1.5.5](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.5.4...v1.5.5)
2024-04-01 17:24:09 +00:00
Yay295
7a9b57ce08 remove mode properties from CmsTransform interface 2024-04-01 10:16:23 -05:00
Yay295
16ce3da0a4 remove unused mode properties from CmsTransformObject/PIL.ImageCms.core.CmsTransform 2024-04-01 09:45:52 -05:00
Yay295
8e96748aea correct property names in method documentation 2024-04-01 09:40:39 -05:00
Hugo van Kemenade
6b676f2962
Merge pull request #7930 from radarhere/imagecms 2024-04-01 17:40:07 +03:00
Hugo van Kemenade
2f28ebbb6d 10.4.0.dev0 version bump 2024-04-01 15:35:42 +03:00
Andrew Murray
e4a10051b6 Corrected test 2024-04-01 23:25:27 +11:00
Hugo van Kemenade
5c89d88eee 10.3.0 version bump 2024-04-01 12:22:36 +03:00
Andrew Murray
63cbfcfdea Update CHANGES.rst [ci skip] 2024-04-01 20:19:46 +11:00
Hugo van Kemenade
2776126aa9
Merge pull request #7928 from python-pillow/lcms 2024-04-01 12:16:21 +03:00
Andrew Murray
aeb51cbb16
Merge branch 'main' into lcms 2024-04-01 19:26:55 +11:00
Andrew Murray
5beb0b6664 Update CHANGES.rst [ci skip] 2024-04-01 19:24:44 +11:00
mergify[bot]
cac6ffa7b3
Merge pull request #7927 from python-pillow/imagemath
Deprecate eval(), replacing it with lambda_eval() and unsafe_eval()
2024-04-01 08:23:16 +00:00
Hugo van Kemenade
f5eeeacf75 Name as 'options' in lambda_eval and unsafe_eval, but '_dict' in deprecated eval 2024-04-01 09:35:49 +03:00
Andrew Murray
facf3af93d Added release notes 2024-04-01 09:25:59 +03:00
Andrew Murray
2a93aba5cf Use strncpy to avoid buffer overflow 2024-04-01 09:24:43 +03:00
Andrew Murray
a670597bc3 Update CHANGES.rst [ci skip] 2024-04-01 17:21:04 +11:00
pre-commit-ci[bot]
8f3860c29b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-04-01 06:17:03 +00:00
mergify[bot]
835ca1b789
Merge pull request #7924 from hugovk/image-type-hints
Add type hints to `Image.py`
2024-04-01 06:16:16 +00:00
Andrew Murray
f6596d5293 Added release notes and document deprecation 2024-04-01 09:12:22 +03:00
Andrew Murray
f932cb895f Added danger alerts 2024-04-01 09:12:15 +03:00
Andrew Murray
a7e82cbe9a Removed "In the current version" 2024-04-01 09:12:04 +03:00
Andrew Murray
27b10c4bd8 Deprecate eval(), replacing it with lambda_eval() and unsafe_eval() 2024-04-01 09:11:59 +03:00
Hugo van Kemenade
22376775b0
Merge pull request #7912 from hugovk/hopper-lru-cache 2024-04-01 08:53:01 +03:00
Hugo van Kemenade
da13358245
Merge pull request #7883 from radarhere/tiff
Raise ValueError if seeking to greater than offset-sized integer in TIFF
2024-04-01 08:46:05 +03:00
Hugo van Kemenade
7c5d0b9284
Add type hints
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-03-31 23:44:27 -06:00
Hugo van Kemenade
1d733f498f
Merge pull request #7925 from radarhere/qoi 2024-04-01 08:24:37 +03:00
Hugo van Kemenade
008b28eb0c
Add type hints
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-03-31 23:20:11 -06:00
Hugo van Kemenade
512ee3ff9b
Simplify code and update comments
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-03-31 23:13:30 -06:00
Andrew Murray
b7d0908dc5 Increase use of bytearrays to improve loading speed 2024-04-01 15:31:44 +11:00
Andrew Murray
badc92079d Do not cast to bytes for set_as_raw() 2024-04-01 15:24:40 +11:00
Andrew Murray
f69168523e Do not calculate destination length each time 2024-04-01 15:24:10 +11:00
Andrew Murray
d31148bb86 Update CHANGES.rst [ci skip] 2024-04-01 13:51:55 +11:00
Andrew Murray
d97585af5a
Merge pull request #7923 from hugovk/release-notes
Add type hints to release notes
2024-04-01 13:47:10 +11:00