Commit Graph

18437 Commits

Author SHA1 Message Date
Alexander Karpinsky
3b09f436bd
Merge pull request #145 from radarhere/use-ptr
Use getim()
2024-09-16 10:26:49 +02:00
Andrew Murray
1f3fe6f733 Use getim() 2024-09-16 10:21:17 +10:00
Alexander Karpinsky
6921f83629
Update docs/deprecations.rst
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-09-13 22:54:16 +02:00
Alexander Karpinsky
a2988da0d2
ImageCore → ImagingCore
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-09-11 19:55:07 +04:00
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
Hugo van Kemenade
f30eefaae2
Merge pull request #8354 from radarhere/type_hint 2024-09-08 16:19:08 +03: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
a3d23165b9 Update CHANGES.rst [ci skip] 2024-09-07 19:40:29 +10:00
Hugo van Kemenade
f06b851616
Merge pull request #8350 from zakajd/jamil/doubleexif 2024-09-07 12:31:19 +03: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
Jamil Zakirov
2f25dbce06
Merge branch 'main' into jamil/doubleexif 2024-09-06 20:12:33 +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
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
Hugo van Kemenade
eaeda4a6be
Merge pull request #8339 from radarhere/type_hint 2024-09-04 14:57:01 +03:00
Hugo van Kemenade
8aa1e9209b
Merge pull request #8336 from radarhere/type_hint_imagefile 2024-09-04 14:56:23 +03:00
Hugo van Kemenade
06a9fcbff4
Merge pull request #8308 from radarhere/bytes 2024-09-04 14:52:57 +03:00
Hugo van Kemenade
a6cf6333a7
Merge pull request #8297 from radarhere/fuzz 2024-09-04 14:52:07 +03:00
Hugo van Kemenade
95c867dabf
Merge pull request #8286 from radarhere/xmp 2024-09-04 14:50:15 +03:00
Hugo van Kemenade
1dffc09c28
Merge pull request #8261 from radarhere/imagefont 2024-09-04 14:49:23 +03:00
Hugo van Kemenade
7e838bf409
Merge pull request #8256 from radarhere/jpeg2000_rgba 2024-09-04 14:48:01 +03:00
Hugo van Kemenade
64d96614a9
Merge pull request #8237 from radarhere/gif_expand 2024-09-04 14:47:25 +03:00
Hugo van Kemenade
9308f11ebe
Merge pull request #8231 from radarhere/ppm_i16 2024-09-04 14:46:31 +03:00