Commit Graph

7146 Commits

Author SHA1 Message Date
Hugo
e25df9d65f Tabs to spaces, no other changes 2018-04-05 12:02:19 +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
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
Kathryn Davies
8f6be2ee7d Move location of fclose and add dump test. 2018-03-31 21:28:37 -07:00
Kathryn Davies
147f835146 Fix a resource leak: close fp before return (found by cppcheck) 2018-03-30 15:42:56 -07: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
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
Andrew Murray
08a8a25290 Added documentation for ICNS append_images [ci skip] 2018-03-21 21:11:39 +11:00
wiredfool
9386a414fc
Update CHANGES.rst [ci-skip] 2018-03-21 08:03:35 +00:00
wiredfool
fad1835f0a
Merge pull request #3021 from python-pillow/docs-mv-intro-txt
Docs: Move intro text below its header
2018-03-21 07:59:09 +00:00
wiredfool
6372a07be2
Merge pull request #2978 from hugovk/dotify
Rename appveyor.yml as .appveyor.yml
2018-03-21 07:57:14 +00:00
wiredfool
0e9f07def9
Merge pull request #3042 from hugovk/3006-parser-feed
Fix TypeError for JPEG2000 parser feed
2018-03-21 07:56:23 +00:00
wiredfool
d173e81798
Merge pull request #3023 from kkopachev/issue-3022
Certain corrupted jpegs can result in no data read
2018-03-21 07:55:17 +00:00
wiredfool
f504cbe642
Merge pull request #3007 from jleclanche/feat/blp
Add support for BLP file format
2018-03-21 07:54:29 +00:00
wiredfool
c004b6beaa
Merge pull request #2998 from hugovk/simplify-version-checks
Simplify version checks
2018-03-21 07:50:51 +00:00
wiredfool
659824773b
Merge pull request #2996 from timgraham/invalid-escape
Fix "invalid escape sequence" warning on Python 3.6+
2018-03-21 07:50:34 +00:00
Hugo
1328c537ad
Update CHANGES.rst 2018-03-19 11:28:32 +02:00
Hugo
f5968fdba3
Merge pull request #3005 from radarhere/icns_append
Allow append_images to set .icns scaled images
2018-03-19 11:26:30 +02:00
Andrew Murray
4a781d0013 Replaced MacOS with macOS 2018-03-19 19:38:17 +11:00
Andrew Murray
2123dd70fb Allow append_images to set .icns scaled images 2018-03-19 19:38:07 +11:00
Hugo
aa05409016 Either appveyor.yml or .appveyor.yml is allowed, let's hide with other dotfiles 2018-03-18 11:15:54 +02:00
Hugo
d61921455e Prevent TypeError for JPEG2000 parser feed 2018-03-18 11:13:33 +02:00