Commit Graph

28 Commits

Author SHA1 Message Date
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