Commit Graph

7181 Commits

Author SHA1 Message Date
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
Alexander
25a5f95d21 Add Color3DLUT to docs 2018-04-11 13:36:48 +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
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
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
Alexander
83a5f6e5b5 change file mode 2018-03-30 10:09:22 +03:00
Alexander
e304a0d501 add tests, fix error messages 2018-03-30 09:57:54 +03:00
Alexander
aa929dda98 from_cube_file + test 2018-03-30 02:02:37 +03:00
Alexander
d2a5d1e44d Add tests for some cases and fix bugs 2018-03-29 23:56:51 +03:00
Alexander
7f0bbf52e3 Python3 fix 2018-03-29 17:37:00 +03:00
Alexander
622749530b Color3DLUT.generate 2018-03-29 17:26:21 +03:00
Alexander
506995d816 Tests for python API 2018-03-29 16:37:35 +03:00
Alexander
461a090405 Python interface 2018-03-29 14:40:34 +03:00
Alexander
71f643e1ea doesn't affect accuracy, but a bit faster 2018-03-29 11:57:37 +03:00
storesource
79689977cf Remove unnecessary files 2018-03-27 21:05:19 +05:30
storesource
e1229db810
Rename File 2018-03-27 20:07:06 +05:30
storesource
eb3efb2587
Added Files for Rotate Fill tests 2018-03-27 19:52:24 +05:30