Commit Graph

296 Commits

Author SHA1 Message Date
Eric Soroos
973787e240 flags to fix building on mingw 2017-09-19 21:19:03 +00:00
Eric Soroos
a1ebae255c basic support for termux (android) support (tested on chromeos/x86) 2017-08-09 13:22:58 +01:00
wiredfool
3f3eb99ff9 Fix version specification on pypy/windows 2017-07-03 23:05:25 +01:00
wiredfool
8feac899dd Merge pull request #2576 from wiredfool/pr_2284
Complex Text Support
2017-07-01 10:45:18 +01:00
wiredfool
dc04930699 Merge pull request #2517 from wiredfool/single_version
RFC: Specify Version in one place
2017-06-29 13:17:02 +01:00
Fahad Al-Saidi
538cec323b fix setup.py 2017-06-21 14:00:14 -07:00
shamsa
326e23d3e6 fallback code 2017-06-21 14:00:13 -07:00
shamsa
0b178edbc8 Add complex text support.
This pull request adds support for languages that require complex text layout.

We are using the Raqm library, that wraps FriBidi (for bidirectional
text support) and HarfBuzz (for text shaping), and does proper BiDi and script
itemization:
https://github.com/HOST-Oman/libraqm

This should fix #1089.
2017-06-21 14:00:13 -07:00
wiredfool
edc8d8627c Fix to ensure that define is interpreted as a string on windows 2017-06-21 05:44:24 -07:00
Melvyn Sopacua
5d7480a91b Add the FIXME and remove debug code 2017-05-26 13:48:38 +02:00
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
wiredfool
67d6e00751 py3x fixes 2017-05-10 04:59:37 -07:00
wiredfool
8999ccb570 single version for build 2017-05-10 03:47:02 -07:00
wiredfool
2ac4f79e8c 4.2.0.pre0 version bump 2017-04-19 03:02:45 -07:00
wiredfool
38eff74004 4.1.0 version bump 2017-04-04 11:10:22 -07:00
wiredfool
949932f45f Pure Python MSP Decoder 2017-03-11 13:50:19 +00:00
Andrew Murray
0f383d7c7e Removed unused private functions 2017-02-18 16:29:26 +11:00
Hugo
53e5702557 Update http to https 2017-02-14 11:27:02 +02:00
Hugo
8b2681e369 Merge pull request #2357 from radarhere/zlib
Updated zlib to 1.2.11
2017-01-19 20:51:58 +02:00
Andrew Murray
a46ce022e7 Removed warning about zlib 1.2.2 security vulnerability 2017-01-19 19:46:09 +11:00
wiredfool
c1b510c72c Merge pull request #2307 from radarhere/contextmanagers
Added context managers
2017-01-17 13:20:41 +00:00
wiredfool
296fb5fe1d 4.1.0.dev0 version bump 2017-01-02 04:06:48 -08:00
wiredfool
3f6db91ccc Fixed typo in version 2017-01-02 03:45:39 -08:00
wiredfool
a021d4978d 4.0.0 version bump 2017-01-01 20:20:06 +00:00
Andrew Murray
a06dd59df7 Added context managers 2016-12-28 09:54:10 +11:00
Andrew Murray
d4a6e07367 Added documentation for Python 3.6 support 2016-12-27 02:28:11 -08:00
wiredfool
80b78be21a Merge pull request #2199 from jdufresne/dep-olefile
Remove vendored version of olefile Python package in favor of upstream
2016-12-13 20:12:29 +00:00
Alexander
9c38253733 set executable flag on setup.py and add shebang 2016-12-04 18:59:53 +03:00
Jon Dufresne
52b1f46b12 Deprecate vendored version of olefile Python package in favor of upstream
Pillow now requires the olefile Python package through setup.py.

This removes Pillow's maintenance of this library by instead relying on
and reusing the upstream version. No longer need to regularly update the
vendored package and docs. olefile bug fixes and features can go
directly upstream.

During travis tests, now installs Pillow package before tests; this will
also install all dependencies (currently, only olefile).
2016-11-22 18:17:31 -08:00
Jon Dufresne
85cf6d3140 Drop support for Python 3.2 2016-11-22 04:24:40 -08:00
Jon Dufresne
dbe9f85c7d Drop support for Python 2.6
* Drop unittest2 requirement
* Use set literals
* Use dict/set comprehension
* Use str.format() automatic numbering
2016-11-22 04:23:55 -08:00
wiredfool
70c2df21ca Merge pull request #2213 from wiredfool/setup
Raise custom exceptions when required/requested items are not found
2016-11-22 12:14:57 +00:00
Jon Dufresne
ffa5bc2726 Use generator expressions instead of list comprehension
Avoids unnecessary temporary lists in memory.
2016-11-14 18:11:15 -08:00
wiredfool
8b596600af renamed Default->Required dependency exception 2016-11-11 09:12:07 -08:00
wiredfool
015e8cc266 raise custom exceptions when required/requested items are not found 2016-11-11 09:09:19 -08:00
wiredfool
915dd05f22 Merge pull request #2208 from jdufresne/setup-py-open
Close file in setup.py after finished reading
2016-11-11 16:58:59 +00:00
Rok Garbas
993969790b optionaly use pkg-config (when present) to detect *_ROOTs
* only run pkg-config when building exttensions
* print debug messages when using pkg-config
* silance error from pkg-config by default
* first search for libtiff-5 then libtiff-4
2016-11-11 08:33:58 -08:00
Jon Dufresne
e2e4d180f9 Close file in setup.py after finished reading
Fixes a "ResourceWarning: unclosed file" during tests.
2016-11-08 17:55:46 -08:00
Jon Dufresne
e44bb42ae9 Replace type() equality checks with isinstance 2016-10-31 06:41:43 -07:00
Andrew Murray
0be156936a Updated setup url to https 2016-10-23 12:44:23 +11:00
wiredfool
35e1237b7e 3.5.0.dev0 Dev Version bump 2016-10-04 00:18:33 -07:00
wiredfool
ac5a212cee 3.4.0 Release Version bump 2016-10-03 08:00:29 -07:00
Tim Graham
0c66b80a95 Fix "invalid escape sequence" warning in Python 3.6
http://bugs.python.org/issue27364
2016-09-27 19:26:57 -04:00
Robert Nix
18a91cebcf Move DDS decoders to C
- Fixed inaccurate BC1/BC3 texture decoding
2016-08-25 19:27:48 -05:00
homm
1ba4e9e5ba remove end of file banner from all files 2016-07-10 14:11:28 +03:00
wiredfool
2023c7cea1 Version 3.4.0.pre version bump 2016-07-01 07:20:31 -07:00
wiredfool
4f4c982229 3.3.0 Release Version Bump 2016-07-01 05:57:19 -07:00
wiredfool
b152d99d66 refactor to different file 2016-06-27 00:58:06 -07:00
wiredfool
d3b0413780 Initial take for removing the Incremental decoder due to threading issues. J2k tests pass, other tests fail 2016-06-27 00:58:05 -07:00
wiredfool
eb28cc9d0f Merge pull request #1932 from matthew-brett/run-time-tcl-tk
RF: run-time loading of Tcl / Tk functions
2016-06-11 15:27:29 +01:00