Commit Graph

9010 Commits

Author SHA1 Message Date
Alex Clark
c33ffca440 Add license to setup.py for #3938
Also update author name and email
2019-07-03 05:29:42 -04:00
Hugo
292b4d038c 6.2.0.dev0 version bump 2019-07-03 08:49:24 +03:00
Jon Dufresne
ce7c8e8bbc Remove check-manifest from .travis/script.sh
check-manifest already exists as part of the lint tox target "lint"
which is run by Travis CI. There is no need to re-run the same check as
part of each test run.
2019-07-02 18:46:31 -07:00
Jon Dufresne
e221b4ecff Remove duplicate run of selftest.py
The make target 'install-coverage' already runs selftest.py. Avoid
running the same script a second time to slightly speed up builds.
2019-07-02 18:18:17 -07:00
nulano
0b0dc1112e Merge branch 'master' into revert-3931-update-freetype-epsilon
# Conflicts:
#	Tests/test_imagefont.py
2019-07-02 22:49:45 +02:00
Hugo
aaca672173
Revert #3780 for PyPy3 as it hasn't been updated yet. (#3935)
Revert #3780 for PyPy3 as it hasn't been updated yet.
2019-07-02 22:10:33 +03:00
nulano
d7c69ea2b4 skip test_unicode_extended on Python 2.x 2019-07-02 11:14:09 +02:00
nulano
22ce5cc0c7
Revert "Update epsilon for FreeType 2.10 with eg. Unicode width 16" 2019-07-02 11:08:48 +02:00
Hugo
56aa3b37b1 Report reason for pytest skips 2019-07-02 11:52:14 +03:00
nulano
14ddfd30b2 fix lint 2019-07-02 09:31:05 +02:00
nulano
86d4c53d79 revert #3780 for PyPy as it hasn't been updated 2019-07-02 08:52:15 +02:00
Hugo
eedac360dc
fix bad loop increments in p2i() and p2f() (#3932)
fix bad loop increments in p2i() and p2f()
2019-07-01 22:18:19 +03:00
Rolf Eike Beer
0e0afd4acf fix bad loop increments in p2i() and p2f()
Fixes: 7a4af2b767
2019-07-01 20:25:52 +02:00
Hugo
9300ced1e1
Update epsilon for FreeType 2.10 with eg. Unicode width 16 (#3931)
Update epsilon for FreeType 2.10 with eg. Unicode width 16
2019-07-01 18:32:38 +03:00
Hugo
46535df8f3 Update epsilon for FreeType 2.10 with eg. Unicode width 16 2019-07-01 16:32:22 +03:00
Andrew Murray
8fd1ed9b73 Added explicit braces 2019-07-01 22:07:45 +10:00
Hugo
c5578b7fd7 6.1.0 version bump 2019-07-01 14:17:21 +03:00
Hugo
673a6b84a8
Add release notes for #3608, #3861 and #3886 (#3930)
Add release notes for #3608, #3861 and #3886
2019-07-01 13:11:33 +03:00
Hugo
f10712f006
Merge branch 'master' into release-notes 2019-07-01 12:58:30 +03:00
Hugo
7855a6fc2f
Docs: Add deprecation of Image.__del__ (#3929)
Docs: Add deprecation of Image.__del__
2019-07-01 12:57:54 +03:00
Hugo
f2b9e88f6d
Tiff: Add support for JPEG quality (#3886)
Tiff: Add support for JPEG quality
2019-07-01 12:57:41 +03:00
Andrew Murray
4c9f92cbe8 Updated CHANGES.rst [ci skip] 2019-07-01 19:52:40 +10:00
Hugo
e62dcc3d48 Add #3886 to release notes and CHANGES 2019-07-01 12:20:08 +03:00
Oliver Tonnhofer
edeb8d69af
Merge branch 'master' into tiff-jpeg-quality 2019-07-01 11:00:06 +02:00
Hugo
a2919f98ff Add #3928 to release notes, and #3928 and #3929 to CHANGES 2019-07-01 10:05:57 +03:00
Hugo
c15383695b Deprecate Image.__del__ 2019-07-01 09:55:54 +03:00
Hugo
66241cacc1 Add release notes for #3608 and #3861 2019-07-01 09:11:09 +03:00
Hugo
469c0aeeed Deprecate Image.__del__ 2019-07-01 08:45:19 +03:00
Hugo
7585136a3d
Merge pull request #3928 from chewi/master
Respect the PKG_CONFIG environment variable when building
2019-07-01 08:31:20 +03:00
Hugo
555e305a60
Merge pull request #3225 from DerDakon/unaligned-access
Use explicit memcpy() to avoid unaligned memory accesses
2019-07-01 08:22:18 +03:00
James Le Cuirot
15cd8eda09
Respect the PKG_CONFIG environment variable when building
This variable is commonly used by other build systems and using it can
help with cross-compiling. Falls back to "pkg-config" as before.
2019-06-30 21:52:58 +01:00
Hugo
290cd170ec
Update CHANGES.rst 2019-06-30 21:51:22 +03:00
Oliver Tonnhofer
2af4026201 Improve encoding of TIFF tags (#3861)
* Improve encoding of TIFF tags

- Pass tagtype from v2 directory to libtiff encoder, instead of
autodetecting type.
- Use explicit types. E.g. uint32_t for TIFF_LONG to fix issues on
platforms with 64bit longs.
- Add support for multiple values (arrays). Requires type in v2
directory and values must be passed as a tuple.
- Add support for signed types (e.g. TIFFTypes.TIFF_SIGNED_SHORT).

Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2019-06-30 21:48:19 +03:00
Hugo
a1eb07f276
Update CHANGES.rst 2019-06-30 13:55:03 +03:00
Hugo
8d4bb339a6
Merge pull request #3780 from nulano/update_py_unicode
Update Py_UNICODE to Py_UCS4
2019-06-30 13:21:46 +03:00
Hugo
12695b8ca3
Merge pull request #3899 from radarhere/pixelsize
Consider I;16 pixel size when drawing
2019-06-30 13:18:46 +03:00
Hugo
f5a89a0e9a Use unittest asserts for consistency 2019-06-30 11:13:02 +03:00
Hugo
4758bca621
Add TIFFTAG_SAMPLEFORMAT to blocklist (#3926)
Add TIFFTAG_SAMPLEFORMAT to blocklist
2019-06-30 10:48:50 +03:00
Andrew Murray
c994b783ec
Merge branch 'master' into tiff-jpeg-quality 2019-06-30 14:03:09 +10:00
Andrew Murray
42588a6493 Skip test if libtiff is not installed 2019-06-30 13:26:58 +10:00
Andrew Murray
cc0d70145b Lint fixes 2019-06-30 13:26:58 +10:00
Christoph Gohlke
4a69223db9 Add test for sampleformat corruption 2019-06-30 13:26:58 +10:00
Christoph Gohlke
a70da8112d Add TIFFTAG_SAMPLEFORMAT to blocklist
The SAMPLEFORMAT tag is determined by the image format and should not be copied from legacy_ifd.
2019-06-30 13:26:58 +10:00
Andrew Murray
d11aa4b21d Fixed typo [ci skip] 2019-06-30 07:58:11 +10:00
Andrew Murray
9074eda608
Merge pull request #3778 from radarhere/all_frames
Added ImageSequence all_frames
2019-06-30 07:55:34 +10:00
Hugo
a7bdd6487f
Update CHANGES.rst 2019-06-29 23:09:35 +03:00
Hugo
6459cafba3
Merge pull request #3708 from sircinnamon/master
Create GIF deltas from background colour of GIF frames if disposal mode is 2
2019-06-29 23:08:11 +03:00
Rolf Eike Beer
7a4af2b767 fix unaligned accesses by using memcpy() 2019-06-29 21:04:11 +02:00
Rolf Eike Beer
220bfee19a replace copy operations with memcpy()
This replaces trivial instances where a copy from one pointer to the other
involves no further calculations or casts. The compiler will optimize this to
whatever the platform offers.
2019-06-29 19:30:24 +02:00
Andrew Murray
90d3d37164 Do not presume that the background color index is 0 2019-06-29 23:06:45 +10:00