Aleksandr Karpinskii
934ae12ed5
rename PyCapsule -> Capsule
2024-09-08 17:30:24 +04:00
Aleksandr Karpinskii
56bc6a1a71
Use PyCapsule in _imagingcms
2024-09-08 17:30:23 +04:00
pre-commit-ci[bot]
2973b041c7
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-07-16 12:58:04 +00:00
Hugo van Kemenade
69f967301d
Call PyUnstable_Module_SetGIL() to indicate support of running with GIL disabled
2024-07-08 14:40:35 +03:00
Andrew Murray
eea3ac765c
Deprecate non-image and unsupported modes
2024-06-12 22:44:03 +10:00
Andrew Murray
22b64ffcf2
Merge pull request #8015 from hugovk/pre-commit-clang
...
Add ClangFormat to pre-commit
2024-05-19 16:27:30 +10:00
Andrew Murray
3062ec4dd2
Fix type errors
2024-05-16 22:55:03 +10:00
pre-commit-ci[bot]
1420e72566
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-04-25 18:08:54 +00:00
Hugo van Kemenade
c0cb417a44
Add semicolons to fix indent
2024-04-25 21:08:24 +03:00
pre-commit-ci[bot]
617e7295a8
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-04-25 12:51:24 +00:00
Andrew Murray
bbd5a87e60
Combined conditions
2024-04-25 16:16:33 +10:00
Andrew Murray
7eee479ce5
Corrected indentation
2024-04-05 23:35:12 -05:00
Andrew Murray
75454646f4
Moved code onto single line
2024-04-02 00:38:02 -05:00
Yay295
16ce3da0a4
remove unused mode properties from CmsTransformObject/PIL.ImageCms.core.CmsTransform
2024-04-01 09:45:52 -05:00
Andrew Murray
2a93aba5cf
Use strncpy to avoid buffer overflow
2024-04-01 09:24:43 +03:00
Nulano
abb73b5b86
use PIL.ImageCms.core as module for PIL._imagingcms classes
2024-03-28 17:26:05 +01:00
Nulano
0015e9ce68
expose ImageCms.core.CmsTransform
2024-03-28 17:26:03 +01:00
Nulano
047a0d2a64
do not allow ImageCms.core.CmsProfile to be instantiated directly
2024-03-28 17:24:50 +01:00
Nulano
24ed5db2d1
check type given to ImageCms.core.profile_tobytes instead of crashing
2024-03-28 17:23:54 +01:00
Andrew Murray
fb84c546b7
Removed references to the "current version"
2024-03-26 06:00:03 +11:00
Yay295
e7398c7888
update PyTypeObject slot names
...
tp_print was renamed to tp_vectorcall_offset with Python 3.8, and tp_compare was renamed to tp_as_async with Python 3.5.
tp_size has always been tp_basicsize; I don't know why that one was wrong.
2023-07-02 00:52:08 -05:00
nulano
1a11ba662c
do not insert null into dict
2023-03-21 22:05:26 +00:00
Andrew Murray
6328662248
PyUnicode_* may return NULL
2023-03-20 17:36:55 +11:00
Andrew Murray
c63b0ca210
Decrement reference count
2023-03-11 18:32:43 +11:00
Andrew Murray
02afe1f13b
Removed unused profile_fromstring method
2023-03-04 16:35:51 +11:00
Andrew Murray
97ed2ecd97
Changed URLs to https
2021-10-27 22:51:54 +11:00
Andrew Murray
f2ee5d6697
Use METH_VARARGS flags
2021-05-11 20:16:44 +10:00
Andrew Murray
46b7e86bab
Format with ClangFormat
2021-01-03 14:17:51 +11:00
Christoph Gohlke
c1adae6f70
Remove duplicate code
2020-12-19 15:07:51 -08:00
Hugo van Kemenade
2c0aa5d0b8
Merge pull request #4923 from ax3l/fix-imagingHinclude
2020-10-14 16:33:42 +03:00
Hugo van Kemenade
f9852c0381
Merge branch 'master' into fix-imagingHinclude
2020-10-14 14:50:36 +03:00
nulano
e65dd04a63
avoid using pkg_resources in PIL.features.pilinfo
2020-10-13 17:52:26 +01:00
nulano
40c9a5a2a0
compatibility for LCMS<2.7, vix LCMS version string
2020-10-12 02:58:24 +01:00
Axel Huebl
f79379ed7c
Imaging.h: confusion with system
...
The file `libImaging/Imaging.h` gets installed flat on
Ubuntus into the public Python includes.
When building a newer version of Pillow from source and
hinting the Python includes "too early" in includes, e.g.
in package managers, this can confuse the two files and
pick up the external file over the internal one. With
different versions, this mismatch can lead to build errors,
e.g. undefined macros.
The most robust way to avoid this is to pre-fix the internal
include accordingly, so that the relative path to the including
file has to match as well.
2020-09-17 18:06:45 +10:00
Hugo van Kemenade
559510b378
Remove attributes deprecated since 3.2.0
2020-07-09 23:53:22 +10:00
nulano
6c1ff252d6
check run-time version numbers where available, add docs
2020-06-21 18:58:39 +10:00
Andrew Murray
c1d9931adc
Added braces
2020-05-10 19:56:36 +10:00
Hugo
dda6145fce
Since Python 3.3 IOError and WindowsError have been merged into OSError
2020-04-10 12:57:29 +03:00
Hugo
af770a6c55
Drop support for EOL Python 2.7
2019-10-07 14:30:59 +03:00
Hugo
90886b1888
Merge branch 'master' into imagecms-deprecations
2019-03-27 12:03:54 +02:00
Andrew Murray
97c2848963
Fixed deprecation warnings
2019-03-26 13:50:57 +11:00
Andrew Murray
e40e0093fb
Fix typo
...
Co-Authored-By: hugovk <hugovk@users.noreply.github.com>
2019-03-16 11:58:23 +02:00
Hugo
3476474359
Add warnings to deprecated CMS profile attributes
2019-01-28 15:40:19 +02:00
Hugo
e1381d2102
Add warnings to deprecated CMS profile attributes
2019-01-28 15:40:19 +02:00
Hugo
a149c13d2e
Add warnings to deprecated CMS profile attributes
2019-01-28 15:40:19 +02:00
Hugo
7d157bd825
Add warnings to deprecated CMS profile attributes
2019-01-28 15:40:19 +02:00
Hugo
e7eac4f80b
Add warnings to deprecated CMS profile attributes
2019-01-28 15:40:19 +02:00
Hugo
80f69ad32e
Convert tabs to spaces
2019-01-28 15:40:19 +02:00
wiredfool
0bb3f4fee9
source layout reorg
2017-12-28 14:49:47 +00:00