Commit Graph

17632 Commits

Author SHA1 Message Date
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
Hugo van Kemenade
b6c755df32 Add type hints
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
2024-03-31 22:05:16 +03:00
Hugo van Kemenade
9f5d6e0c31
Fix type hint
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
2024-03-31 10:02:23 -06:00
Hugo van Kemenade
6d57e88237
Improve wording
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
2024-03-31 17:41:46 +03:00
Hugo van Kemenade
7b2320b50f Fix typos 2024-03-31 15:57:20 +03:00
Hugo van Kemenade
edd620a352 Add type hints to release notes 2024-03-31 15:56:57 +03:00
Hugo van Kemenade
6c55ab22d7
Merge pull request #7913 from nulano/types-cms2 2024-03-31 15:34:03 +03:00
Hugo van Kemenade
ed5cd18d9c Always return fresh not-yet-loaded image for hopper(None) 2024-03-31 15:07:15 +03:00
Andrew Murray
46b0b0e57d
Merge branch 'main' into types-cms2 2024-03-31 07:22:40 +11:00
Hugo van Kemenade
a6c7a04c00
Merge pull request #7856 from radarhere/docs
Corrected exiv2.org links
2024-03-30 22:19:57 +02:00
Andrew Murray
199bff369e
Merge branch 'main' into hopper-lru-cache 2024-03-30 23:11:04 +11:00
Hugo van Kemenade
b263719ad4
Merge pull request #7920 from radarhere/convert 2024-03-30 13:04:25 +02:00
Ondrej Baranovič
94732782d0
link to sphinx issue
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-03-30 10:26:39 +01:00
Andrew Murray
838bb6c493 Added RGB to I;16N conversion 2024-03-30 20:22:50 +11:00
Andrew Murray
328052730d
Merge branch 'main' into hopper-lru-cache 2024-03-30 20:20:51 +11:00
Hugo van Kemenade
a4e5dc219c
Merge pull request #7818 from nulano/bugreport 2024-03-30 11:13:02 +02:00
Hugo van Kemenade
c5eb7c7c29
Merge pull request #7918 from radarhere/convert 2024-03-30 11:12:05 +02:00
Hugo van Kemenade
0b1d0c23de
Merge pull request #7658 from nulano/build-editable 2024-03-30 11:10:46 +02:00
Hugo van Kemenade
016415800a
Merge pull request #7209 from Yay295/bytes_tests 2024-03-30 11:08:50 +02:00
Hugo van Kemenade
1de013a0ac
Merge pull request #7917 from radarhere/harfbuzz 2024-03-30 11:08:25 +02:00
Nulano
c4114adc41 use Flags not Flags|int 2024-03-30 09:14:48 +01:00
Nulano
5355af0ddd use SupportsFloat instead of float in _imagingcms.pyi 2024-03-30 09:11:15 +01:00
Ondrej Baranovič
6b0a79ce57 sort the parameters 2024-03-30 07:33:27 +00:00
Andrew Murray
1ac1540fe3 Combined test_report.py into test_main.py 2024-03-30 07:33:27 +00:00
Ondrej Baranovič
7e71621671
Update src/PIL/features.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-03-30 08:13:44 +01:00
Andrew Murray
fb6b860172 Added RGB to I;16, I;16L and I;16B conversion 2024-03-30 11:33:55 +11:00