Commit Graph

7294 Commits

Author SHA1 Message Date
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
8753c10b7a
Update version 2018-04-06 23:57:25 +03:00
Hugo
c88659245a Add release notes 2018-04-05 13:52:58 +03:00
Hugo
fe0b78b98d Support Python 3.7 2018-04-05 13:52:48 +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
wiredfool
219c31b34d
Merge pull request #3064 from wiredfool/release_notes
Release notes for 5.1.0
2018-04-02 11:21:58 +01:00
Eric Soroos
d74e71537e typo 2018-04-02 10:21:02 +00:00
Eric Soroos
6bae24034e Release notes for 5.1.0 2018-04-02 09:59:13 +00:00
wiredfool
5a7ed2273b
Update CHANGES.rst [ci skip] 2018-04-02 10:56:39 +01:00
wiredfool
8cc9713bd5
Merge pull request #3061 from kathryndavies/master
Fix a resource leak: close fp before return
2018-04-02 10:51:14 +01:00
wiredfool
f4746463c7
Merge pull request #3051 from radarhere/icns_append
Added documentation for ICNS append_images
2018-04-02 10:12:45 +01:00
Andrew Murray
db7d483531 Removed winbuild gitignore 2018-04-02 13:04:33 +10:00
Alexander
4231038132 Remove unused imports 2018-04-01 19:52:39 +03:00
Kathryn Davies
8f6be2ee7d Move location of fclose and add dump test. 2018-03-31 21:28:37 -07:00
Alexander
912980c52f Remove Color3DLUT.from_cube_file from сore library 2018-03-31 19:56:09 +03:00
Alexander
76d467245d Release GIL 2018-03-31 09:52:05 +03:00
Kathryn Davies
147f835146 Fix a resource leak: close fp before return (found by cppcheck) 2018-03-30 15:42:56 -07:00
Alexander
805dc44707 improve color cube parser 2018-03-30 11:29:59 +03:00
Alexander
c1b956e3c8 More tests fixes for windows 2018-03-30 10:21:01 +03:00