Commit Graph

6020 Commits

Author SHA1 Message Date
Melvyn Sopacua
092d97f829 Fix compilation on FreeBSD with 2 openjpegs
When openjpeg 1.5 is installed (Calligra 2.x, for example) and OpenJPEG
2.1 is installed, the subdirectory is added twice.

Since the 2nd time is ignored, it is ranked after the more general
/usr/local/include and openjpeg.h from the 1.5 version is picked up.

Fix this in a more general way:
- If a directory is added that already is in path
- But where is specified

Then remove the subdir from path and insert it at the spot requested.

A FIXME is added to the code bit explaining the real issue, but lack
investigative spirit / time to dive down the rabbit hole.
2017-05-26 13:44:26 +02:00
Andrew Murray
a8a499cce2 Fixed typo 2017-05-25 21:06:13 +10:00
Alexander
e6da335206 fee → free 2017-05-25 13:59:11 +03:00
Hugo
c37fa5ab21 [CI skip] 2017-05-24 17:00:33 +03:00
Hugo
2cf03b568a Merge pull request #2540 from radarhere/libimagequant
Update libimagequant to 2.9.1
2017-05-24 16:59:25 +03:00
Andrew Murray
c39fea8bff Updated libimagequant to 2.9.1 2017-05-24 19:53:23 +10:00
Alexander
8c69132579 fix another memory leak 2017-05-23 18:00:15 +03:00
Alexander
873d9ec089 fix memory leak if loading is failed 2017-05-23 18:00:15 +03:00
Alexander
a26a584812 Do not raise SyntaxError for wrong chunks (just ignore them) 2017-05-23 18:00:15 +03:00
wiredfool
497f0d319f Update CHANGES.rst [ci skip] 2017-05-23 10:57:44 +01:00
wiredfool
b742f281ee Merge pull request #2538 from hugovk/not-implemented
Remove code 'not yet implemented' since May 10, 2003
2017-05-23 10:56:29 +01:00
hugovk
f42cbe6e28 Remove code 'not yet implemented' since May 10, 2003 2017-05-22 23:02:08 +03:00
Hugo
59a3e47e4e [CI skip] 2017-05-22 15:08:11 +03:00
Hugo
e283573464 Merge pull request #2537 from radarhere/libtiff
Updated libtiff to 4.0.8
2017-05-22 15:06:58 +03:00
Andrew Murray
e40f32ab7d Updated libtiff to 4.0.8 2017-05-22 19:34:50 +10:00
Andrew Murray
3fa2fa5448 Update CHANGES.rst [ci skip] 2017-05-20 20:43:32 +10:00
Hugo
875d2039e9 [CI skip] 2017-05-18 14:06:19 +03:00
Hugo
fe613b710c Merge pull request #2535 from radarhere/freetype
Update FreeType to 2.8
2017-05-18 14:04:17 +03:00
Andrew Murray
13824d4d70 Updated freetype to 2.8 2017-05-18 19:08:20 +10:00
Hugo
79b251ab80 [CI skip] 2017-05-17 17:13:09 +03:00
Hugo
3bd86b9f51 Merge pull request #2525 from joshblum/fix-unboundlocalerror
Raise TypeError and not also UnboundLocalError in ImageFile.Parser()
2017-05-17 17:12:05 +03:00
Hugo
08c72a1720 flake8 2017-05-16 10:33:38 +03:00
hugovk
6e9e4c1027 Remove unexposed and unused code 2017-05-15 22:59:25 +03:00
hugovk
206e316c0e Test limits of arc/ellipse's start and end 2017-05-15 22:58:51 +03:00
hugovk
f1631e0d05 Test drawing a rectangle bigger than the image 2017-05-15 21:44:28 +03:00
hugovk
5871b7a5ba Test drawing a wide "line" from one point to another just draws a single point 2017-05-15 21:32:54 +03:00
hugovk
2968313bb6 Remove unrunnable code: ImagingDrawWideLine is only called (in _imaging.c) when (width <= 1) is false 2017-05-15 21:17:33 +03:00
Hugo
ae9181f0a4 Test polygons in RGB and L modes 2017-05-15 18:24:12 +03:00
Hugo
e77c3b3eb2 Test ellipse in RGB and L modes 2017-05-15 18:23:00 +03:00
Hugo
de1f156fcd Add test file 2017-05-15 18:13:36 +03:00
Hugo
d4a350cd79 Test chord in RGB and L modes 2017-05-15 18:04:33 +03:00
Hugo
3db1944762 Test drawing polygons with sloped and flat lines 2017-05-15 17:09:29 +03:00
Hugo
f60095f973 Ignore test_images downloaded for tests 2017-05-15 16:11:49 +03:00
Hugo
b43a9ac3d4 Merge pull request #2531 from radarhere/url
Fixed Tox URL
2017-05-15 13:20:58 +03:00
Hugo
ddb40228fd Update CHANGES.rst 2017-05-15 13:08:52 +03:00
Hugo
99032c7660 Merge pull request #2528 from hugovk/codecov
Use Codecov for coverage
2017-05-15 13:01:33 +03:00
Andrew Murray
18dcc438c1 Fixed URL 2017-05-15 19:56:16 +10:00
Hugo
bb7596d8b6 Fix option typo 2017-05-14 12:14:29 +03:00
Joshua Blum
a6874f01ac Add test 2017-05-13 12:07:16 -04:00
Joshua Blum
e763c2281f Update ImageFile.py 2017-05-13 12:07:16 -04:00
Hugo
94ca4f2db2 Disable Codecov PR comment https://docs.codecov.io/v4.3.6/docs/pull-request-comments 2017-05-13 18:25:14 +03:00
Hugo
82c51e4df9 Update CHANGES.rst [CI skip] 2017-05-13 17:00:53 +03:00
Hugo
d1feaf8046 Merge pull request #2527 from wiredfool/pr_2509
Use PNG for Image.show()
2017-05-13 16:59:20 +03:00
wiredfool
7f3a9c43da Update CHANGES.rst [ci skip] 2017-05-13 14:28:48 +01:00
wiredfool
f3364de7b9 Merge pull request #2522 from wiredfool/WITH_DEBUG_flag
Remove WITH_DEBUG compilation flag
2017-05-13 14:28:10 +01:00
wiredfool
38613f72da Update CHANGES.rst [ci skip] 2017-05-13 14:26:25 +01:00
wiredfool
f6f30b1c13 Merge pull request #2521 from adw1n/master
Fix for issue #2514 - error handling mistake in _webp.c
2017-05-13 14:24:51 +01:00
wiredfool
86bde427c3 refactor out options 2017-05-13 14:22:18 +01:00
wiredfool
dd5bfec11c save_ppm doesn't take kwargs 2017-05-13 14:22:18 +01:00
Hin-Tak Leung
9f8aeb5d8e put compress_level=1 inside Image._dump()
Better alternative to setting compress_level=1 than the secret handshake
in the last attempt.

The last in a series of changes to fix
https://github.com/python-pillow/Pillow/issues/2508
2017-05-13 14:22:18 +01:00