Commit Graph

7213 Commits

Author SHA1 Message Date
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
storesource
975b7fced5
Split test for fill and no fill
Added a simpler image to compare
2018-03-27 19:48:35 +05:30
storesource
8af7c679ab
Added basic green file for rotate
Making changes according to review
2018-03-27 19:43:04 +05:30
storesource
fa85f112cd
Updating Test
changing from equal to similar
2018-03-27 19:31:58 +05:30
storesource
f358038968
modify comment 2018-03-27 19:03:35 +05:30
storesource
bca6c4384f
Added review Changes
Changed parameter name to fillcolor
Added full stop on param description
2018-03-27 19:01:33 +05:30
storesource
65c78266ad
RotateImage with fill: Added file for assertion
Fail First: add image for assertion
2018-03-27 18:55:34 +05:30
storesource
bea25dba30
Rotate with fill color unit test
check if hopper image equals hopper45withfill after rotate
2018-03-27 18:41:49 +05:30
Alexander
838a5cffe7 more tests and fixed bug for interpolate4 2018-03-26 23:17:17 +03:00
Alexander
5227c30561 typos 2018-03-26 22:33:22 +03:00
Alexander
5f0b7ee73e More tests 2018-03-26 22:30:55 +03:00
Alexander
b30b2a280f Tests. First part 2018-03-26 19:30:00 +03:00
Alexander
78d16d30c4 share clip8_lookups table between Resample and ColorLUT 2018-03-26 18:02:08 +03:00
Alexander
df192fff1e one function table_index3D 2018-03-26 17:41:25 +03:00
Alexander
845f4dbfe1 update comment 2018-03-26 17:34:56 +03:00
Alexander
3a5f0201f5 pure FPI implementation 2018-03-26 17:23:14 +03:00
storesource
a42beccee7
Enabling background colour parameter on rotate
Enabling the user to choose the background colour of the final rotated image rather than just black. 
parameter added: backgroundcolor
2018-03-26 19:29:44 +05:30
Alexander
23827d5250 3D to 4D implementation 2018-03-26 14:18:17 +03:00
Alexander
696ae12b37 3D to 3D implementation 2018-03-26 14:14:52 +03:00