Commit Graph

18714 Commits

Author SHA1 Message Date
Alexander Karpinsky
bd14915364
Merge pull request #144 from radarhere/use-ptr
Use CapsuleType hint in Python >= 3.13
2024-09-08 18:03:26 +04:00
Alexander Karpinsky
4318834775
Merge branch 'use-ptr' into use-ptr 2024-09-08 17:59:35 +04:00
Aleksandr Karpinskii
d29fa73ea6 Move new_block to module 2024-09-08 17:30:24 +04:00
Aleksandr Karpinskii
934ae12ed5 rename PyCapsule -> Capsule 2024-09-08 17:30:24 +04:00
Aleksandr Karpinskii
882ac783eb Use PyCapsule in _imagingft 2024-09-08 17:30:24 +04:00
Aleksandr Karpinskii
ee65b305b1 Use PyCapsule in _imagingtk 2024-09-08 17:30:24 +04:00
Aleksandr Karpinskii
cb3a4e6a00 Remove legacy 1-bit api, fix AttributeError
PytestUnraisableExceptionWarning: Exception ignored in: <function PhotoImage.__del__>
AttributeError: 'PhotoImage' object has no attribute '_PhotoImage__photo'
2024-09-08 17:30:24 +04:00
Aleksandr Karpinskii
5428e3568e Deprecate ImageCore.id and ImageCore.unsafe_ptrs 2024-09-08 17:30:23 +04:00
Aleksandr Karpinskii
7f48567002 Use s# in PyArg_ParseTuple 2024-09-08 17:30:23 +04:00
Aleksandr Karpinskii
f916b5dc87 Use PyCapsule in _imagingmorph 2024-09-08 17:30:23 +04:00
Aleksandr Karpinskii
56bc6a1a71 Use PyCapsule in _imagingcms 2024-09-08 17:30:23 +04:00
Aleksandr Karpinskii
fe002a7260 Use PyCapsule in _imagingmath 2024-09-08 17:30:23 +04:00
Andrew Murray
72bc56b319
Merge branch 'main' into imagecms_core 2024-09-08 23:21:25 +10:00
Hugo van Kemenade
f30eefaae2
Merge pull request #8354 from radarhere/type_hint 2024-09-08 16:19:08 +03:00
Hugo van Kemenade
2f13c4588d
Fix underline
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-09-08 16:17:13 +03:00
renovate[bot]
8c738f6427
Update deadsnakes/action action to v3.2.0 2024-09-08 13:00:15 +00:00
Hugo van Kemenade
1f2de52a6c
Group 11.0.0 deprecations (#127) 2024-09-08 15:07:22 +03:00
Andrew Murray
6231453895 Group 11.0.0 deprecations 2024-09-08 21:53:08 +10:00
Andrew Murray
89c790f2b0 Update CHANGES.rst [ci skip] 2024-09-08 21:38:21 +10:00
Andrew Murray
579a5a2ed1
Merge pull request #8355 from radarhere/unused_tiff
Removed unused TiffImagePlugin IFD_LEGACY_API
2024-09-08 21:36:44 +10:00
Andrew Murray
8b3ef3784b Moved Buffer into _typing 2024-09-08 08:30:30 +10:00
Andrew Murray
547832fd59 Use tempfile.NamedTemporaryFile 2024-09-07 19:49:21 +10:00
Andrew Murray
a3d23165b9 Update CHANGES.rst [ci skip] 2024-09-07 19:40:29 +10:00
Hugo van Kemenade
2c02146cf4
Use type hints and fix CVE role
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-09-07 12:32:30 +03:00
Hugo van Kemenade
f06b851616
Merge pull request #8350 from zakajd/jamil/doubleexif 2024-09-07 12:31:19 +03:00
Andrew Murray
dbe979d032 Sort extensions alphabetically in error message 2024-09-07 19:09:01 +10:00
Andrew Murray
e14072e973 Added further detail 2024-09-07 19:08:07 +10:00
Andrew Murray
1105256f2b Added type hints to setup.py 2024-09-07 18:25:44 +10:00
Hugo van Kemenade
a838da7406
Merge pull request #8002 from Yay295/patch-1
Use (void) for empty function parameters
2024-09-07 08:37:50 +03:00
Andrew Murray
a6ca45aea6 Use (void) to indicate no parameters 2024-09-07 00:01:25 -05:00
Andrew Murray
6f9128bfaf Updated type hint 2024-09-07 14:32:46 +10:00
Andrew Murray
8dcf229ea1 Merge branch 'main' into use-ptr 2024-09-07 14:24:18 +10:00
Andrew Murray
de3c6fa295 Support converting more modes to LAB by converting to RGBA first 2024-09-07 12:14:30 +10:00
Jamil Zakirov
2f25dbce06
Merge branch 'main' into jamil/doubleexif 2024-09-06 20:12:33 +03:00
Hugo van Kemenade
d3c1d99d00 Deprecate support for FreeType 2.9.0 2024-09-06 14:51:30 +03:00
Andrew Murray
93a0bf0276 Added type hints to TiffImagePlugin _save 2024-09-06 21:33:30 +10:00
Andrew Murray
94315f87c3 Removed unused IFD_LEGACY_API 2024-09-06 19:13:35 +10:00
Andrew Murray
06c331af5d Added type hints to frombuffer 2024-09-06 15:16:59 +10:00
Andrew Murray
23c461e431 Handle duplicate exif header
Co-authored-by: Jamil Zakirov <djamilzak@gmail.com>
2024-09-06 11:56:06 +10:00
Andrew Murray
a6f5f4dd43 Deprecate setting size to (width, height, scale) 2024-09-06 11:42:56 +10:00
Andrew Murray
e625f73119 Added scale argument to IcnsImageFile load() 2024-09-06 11:40:45 +10:00
Hugo van Kemenade
6377321625
Merge pull request #8351 from radarhere/type_hint 2024-09-05 17:35:55 +03:00
Hugo van Kemenade
a2be72d8dd
Merge pull request #8349 from AryazE/type_comparison 2024-09-05 17:34:49 +03:00
Andrew Murray
31638ee29a Added type hints 2024-09-05 23:14:17 +10:00
Andrew Murray
f7f3af799b Update CHANGES.rst [ci skip] 2024-09-05 22:53:48 +10:00
Aryaz Eghbali
282f740141
Merge branch 'python-pillow:main' into type_comparison 2024-09-05 13:31:36 +02:00
Aryaz Eghbali
a56ac4faa8 Canonical type checking 2024-09-05 13:29:19 +02:00
Hugo van Kemenade
965cb518a2
Merge pull request #8347 from radarhere/boxblur 2024-09-05 11:23:26 +03:00
Andrew Murray
1270043682 Return early if either width or height is zero 2024-09-05 15:46:54 +10:00
Aleksandr Karpinskii
8833548e55 Move new_block to module 2024-09-05 01:04:35 +04:00