Commit Graph

7206 Commits

Author SHA1 Message Date
Hugo
c013188594
Merge pull request #3087 from hugovk/rm-deprecationwarnings
Remove deprecation warnings
2018-04-15 17:07:26 +03:00
Hugo
43d9068fc3 Revert conversion removal 2018-04-15 10:35:46 +03:00
Hugo
7e8998a452 ImageOps.box_blur is deprecated, use ImageFilter.BoxBlur instead 2018-04-14 21:54:40 +03:00
Hugo
f733482c0e Remove workaround for since-fixed scipy regression, to remove recent scipy DeprecationWarning 2018-04-14 21:54:40 +03:00
Hugo
ecc4c7fecc Remove unittest regex deprecation warnings 2018-04-14 21:54:40 +03:00
Alexander Karpinsky
b01ba0f50c
Merge pull request #3091 from uploadcare/lut-alter
Transforming LUTs
2018-04-14 18:08:52 +03:00
Alexander Karpinsky
9d404e9979
Merge pull request #3098 from uploadcare/getlist-fixes
Raise error if it is occurred during conversion in getlist
2018-04-14 18:07:57 +03:00
Alexander
a325559f58 One more test for coverage 2018-04-14 17:47:53 +03:00
Alexander
eae14c56e1 Check exception type only, not string 2018-04-14 17:22:21 +03:00
Alexander
aba478abba Raise error if it is occurred during conversion in getlist 2018-04-14 17:13:05 +03:00
Hugo
06ee307b46
Merge pull request #3097 from radarhere/raqm
Correct installation doc syntax
2018-04-14 16:21:38 +03:00
Andrew Murray
b2c6231977 Corrected installation doc syntax 2018-04-14 22:16:46 +10:00
Alexander
854a0d6044 edit doctring [ci skip] 2018-04-14 15:03:34 +03:00
Alexander
68af72bef4 edit doctring [ci skip] 2018-04-13 10:07:51 +03:00
Alexander
d9b8d970b2 edit doctring [ci skip] 2018-04-12 23:42:47 +03:00
Hugo
6ee33d81e4
Update CHANGES.rst
[CI skip]
2018-04-12 14:29:34 +03:00
Alexander
daa8e7dacd Add earlier catching of wrong channels count 2018-04-12 12:40:40 +03:00
Alexander
bdd8dc40f6 Return RankFilter and UnsharpMask order [ci skip] 2018-04-12 12:21:14 +03:00
Alexander
1a371e572c update repr method 2018-04-12 12:10:28 +03:00
Alexander
75c76d91e1 Add repr for Color3DLUT 2018-04-12 11:54:54 +03:00
Alexander
fb1d25417e test for wrong channels number in generate 2018-04-11 20:55:35 +03:00
Alexander
ecd0e5e15e check exception type only 2018-04-11 17:31:41 +03:00
Alexander
acfd4845c6 tests 2018-04-11 17:05:48 +03:00
Alexander
70c453b857 rename alter() to transform()
add with_normals argument
docstring
2018-04-11 16:17:10 +03:00
Alexander
dcb37dd1f1 new method alter(); 3 times faster generate() 2018-04-11 16:15:10 +03:00
Hugo
162b21bb75
Update CHANGES.rst
[CI skip]
2018-04-11 15:28:01 +03:00
Hugo
215b0e0833
Merge pull request #3086 from radarhere/info
Change encoderinfo to have priority over info when saving GIF images
2018-04-11 15:23:19 +03:00
Alexander Karpinsky
096a81b7fd
Merge pull request #3083 from uploadcare/versions-cleanup
Rename PIL.version to PIL._version and remove it from module
2018-04-11 15:05:27 +03:00
Alexander
25a5f95d21 Add Color3DLUT to docs 2018-04-11 13:36:48 +03:00
Andrew Murray
032027303f Fixed typo 2018-04-11 13:46:42 +10:00
Andrew Murray
05c78a13e7 Changed encoderinfo to have priority over info when saving GIF images 2018-04-11 08:57:31 +10:00
Alexander
6958ce1700 Rename PIL.version to PIL._version and remove it from module 2018-04-09 16:09:36 +03:00
Alexander Karpinsky
e24fad40ad
Merge pull request #3056 from uploadcare/color-LUT
3D Color lookup tables
2018-04-09 10:41:44 +03:00
Hugo
fa348257b1
Merge pull request #3071 from jdufresne/pytest-cache
Add new Pytest cache directory to gitignore
2018-04-08 14:28:41 +03:00
Hugo
b33f1a4477
Update CHANGES.rst 2018-04-05 11:46:44 +03:00
Hugo
0567a54cd7
Merge pull request #3057 from storesource/RotateImagewithColor
Enabling background colour parameter on rotate
2018-04-05 09:45:22 +01:00
Hugo
9b10bc8bd2
Merge pull request #3072 from jdufresne/if1
Remove unnecessary `#if 1` directive
2018-04-05 09:44:00 +01:00
Hugo
5869c28346
Merge pull request #3070 from jdufresne/unused
Remove unused Python class, Path
2018-04-05 09:39:04 +01:00
Hugo
64400a5169
Merge pull request #3069 from jdufresne/deref
Fix dereferencing type-punned pointer will break strict-aliasing
2018-04-05 09:37:59 +01:00
Alex Clark
1fbd552b40
Merge pull request #3045 from radarhere/url
Updated URL
2018-04-04 16:30:29 -04:00
Andrew Murray
7a4bfdc955 Updated URL 2018-04-05 06:29:14 +10:00
Jon Dufresne
b56fe11086 Remove unnecessary #if 1 directive
The preprocessor directive `#if 1` always evaluates as true, so the
enclosed code is always compiled.

The directive has existed since the original fork from PIL,
9a640e3157.
2018-04-04 05:30:05 -07:00
Jon Dufresne
86f3971252 Add new Pytest cache directory to gitignore
Starting with Pytest 3.4.0 (2018-01-30), Pytest's cache directory was
renamed to .pytest_cache.

https://docs.pytest.org/en/latest/changelog.html#pytest-3-4-0-2018-01-30

> The default cache directory has been renamed from .cache to
> .pytest_cache after community feedback that the name .cache did not
> make it clear that it was used by pytest.
2018-04-04 04:41:55 -07:00
Jon Dufresne
85ff61f4dc Remove unused Python class, Path
The class is always overridden by the C implementation. The Python
implementation is unused.
2018-04-03 20:57:30 -07:00
Jon Dufresne
e705cd1476 Fix dereferencing type-punned pointer will break strict-aliasing
Compiler warning appeared as:

src/path.c:574:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
                      Py_TYPE(&item)->tp_name);
                      ^~~~~~~

As item is already of type PyObject*, and the Py_TYPE macro is
equivalent to (((PyObject*)(o))->ob_type), no need for the dereference.

https://docs.python.org/3/c-api/structures.html#c.Py_TYPE
2018-04-03 20:42:03 -07:00
Alexander Karpinsky
ca850a6334
Merge pull request #3067 from uploadcare/fix-_i2f
Fix _i2f compilation on some GCC versions
2018-04-03 11:00:45 +03:00
wiredfool
fda33d5c09
Merge pull request #3065 from radarhere/changes
Removed 5.0.1 reference from CHANGES
2018-04-02 19:40:12 +01:00
Alexander
79ed02b8f4 Fix _i2f compilation on some GCC versions 2018-04-02 17:10:51 +03:00
Andrew Murray
8076e07acc Removed 5.0.1 reference from CHANGES [ci skip] 2018-04-02 21:17:02 +10:00
Eric Soroos
0b578f25d5 5.1.0 version bump 2018-04-02 10:23:36 +00:00