Commit Graph

5200 Commits

Author SHA1 Message Date
Alex Clark ☺
14e6dcfa52 Merge pull request #206 from wiredfool/gentoo_3x
Workaround for: http://bugs.python.org/16754 in 3.2.x < 3.2.4 and 3.3.0.
2013-04-24 04:39:36 -07:00
wiredfool
315503e9d5 Workaround for python issue: http://bugs.python.org/16754 in 3.2.x < 3.2.4 and 3.3.0 2013-04-23 21:09:32 -07:00
wiredfool
37b0308689 Merge pull request #203 from mgorny/tests-without-jpeg
test_file_tiff: skip JPEG-in-TIFF tests if libjpeg is not available
2013-04-22 09:15:05 -07:00
Michał Górny
0aa05780c5 test_file_tiff: skip JPEG-in-TIFF tests if libjpeg is not available. 2013-04-22 11:55:17 +02:00
Nicolas Pieuchot
ed9945c71f Allowing to pass font as file-like objects 2013-04-22 11:48:06 +02:00
wiredfool
6bf7599143 Merge pull request #197 from mgorny/fix-shebangs
Add /usr/bin/env python shebangs to all scripts in /Scripts.
2013-04-21 20:04:53 -07:00
wiredfool
c3d6b0d7f6 Merge pull request #201 from wiredfool/pr199
Skip tests for features that aren't compiled in, includes #199
2013-04-21 13:43:14 -07:00
wiredfool
52cbacf028 renamed 2013-04-21 13:54:30 -07:00
wiredfool
25f26f74e8 rename to include libtiff 2013-04-21 13:53:43 -07:00
wiredfool
d2c9ee14ad skipp these test is libtiff support is not included 2013-04-21 13:52:04 -07:00
wiredfool
945b6bf53c Split tiff tests so that test_file_tiff tests the builtins, and test_file_libtiff tests only things that depend on libtiff 2013-04-21 13:51:16 -07:00
wiredfool
fc7816f872 Formatting on Readme 2013-04-21 11:55:58 -07:00
wiredfool
7a3f72ded7 Update compatibility for Gentoo on python 3.2.x 2013-04-21 11:54:22 -07:00
wiredfool
64dce1659c Merge pull request #200 from mgorny/tests-tmpfiles
Use proper tempdir for temporary test files
2013-04-21 10:01:04 -07:00
Michał Górny
c01696bf2d Use proper tempdir for temporary test files.
Writing temporary files in source tree is just wrong. Instead, use
a directory inside system tempdir.
2013-04-21 11:05:31 +02:00
Michał Górny
995fe2b041 test_file_tiff: skip if TIFF is not available. 2013-04-21 10:40:56 +02:00
Michał Górny
a83530f475 test_font_pcf: skip if zlib is not available. 2013-04-21 10:30:59 +02:00
Michał Górny
a5a5c854b8 test_image_draft: skip if no JPEG support. 2013-04-21 10:27:27 +02:00
Michał Górny
e2221de8f5 Support (most of) test_image_split without PNG.
If PNG (zlib) support is disabled, use .pcx for test_image_split which
is unconditional. Since it does not support RGBA, skip the RGBA test.
Otherwise, just use PNG and do the full test.
2013-04-21 10:18:32 +02:00
Michał Górny
6cdc8b08db test_imagefile: handle missing PNG & JPEG encoders gracefully. 2013-04-21 10:13:33 +02:00
Michał Górny
6afa11ec02 test_file_tar: skip if codecs are not available.
The .tar test requires both jpeg & zlib support. If one of the two is
unavailable, run the test for the second one. If both are unavailable,
skip the test.
2013-04-21 10:04:58 +02:00
Michał Górny
1a977c859a Add proper shebangs to all Python scripts. 2013-04-21 08:38:36 +02:00
wiredfool
3eb0bdb465 check to see that we're not cross loading the PIL libraries 2013-04-19 17:18:10 -07:00
Alex Clark ☺
d1c6db88d4 Merge pull request #195 from manisandro/docdirs
Add directories for documentation build
2013-04-18 17:11:52 -07:00
Sandro Mani
05e2de1cb3 Add directories for documentation build 2013-04-19 00:16:58 +02:00
Alex Clark ☺
ddaa8b4cbf Merge pull request #194 from evertrol/issue193
Fix issue #193: remove double typedef declaration.
2013-04-17 06:10:10 -07:00
Evert Rol
8e74b50e0f Fix issue #193: remove double typedef declaration. 2013-04-17 14:27:07 +02:00
Alex Clark ☺
70fe6ec265 Merge pull request #188 from manisandro/docs
Rework documentation files
2013-04-15 12:06:07 -07:00
wiredfool
026f6bb61e namespaced operation works when installed as a zipped egg using 'sudo python[3] setup.py easy_install -l --zip-ok .' 2013-04-15 10:57:37 -07:00
wiredfool
9c28f32cca Merge pull request #190 from wiredfool/pyslice
Merged #190
2013-04-12 16:02:59 -07:00
wiredfool
10568c31df Merge pull request #189 from manisandro/warning
Fix warning: function declaration isn't a prototype
2013-04-12 15:45:28 -07:00
wiredfool
3662e34ff1 changed PY_VERSION_HEX, fixes https://github.com/python-imaging/Pillow/issues/166 2013-04-12 15:34:15 -07:00
Sandro Mani
c42e41a7dd Fix warning: function declaration isn't a prototype 2013-04-13 00:28:26 +02:00
Sandro Mani
194370d89b Fix some docstrings 2013-04-12 21:54:21 +02:00
Sandro Mani
3d636b66ff Setup sphinx config 2013-04-12 21:54:14 +02:00
Sandro Mani
05ff4122a9 Remove docs for dead modules 2013-04-12 20:00:17 +02:00
Sandro Mani
c191ad3f3e Fresh start for docs, generated by sphinx-apidoc 2013-04-12 19:52:50 +02:00
Sandro Mani
f2630f6c37 Remove old files 2013-04-12 19:43:09 +02:00
Alex Clark ☺
b8ee57f10d Merge pull request #187 from manisandro/warnings
Fix compilation warnings
2013-04-12 10:34:28 -07:00
Sandro Mani
0a8291e1a4 Fix warnings: variable set but not used 2013-04-12 17:54:21 +02:00
Sandro Mani
3b6392bbda Fix warnings: _POSIX_C_SOURCE, _XOPEN_SOURCE redefined (caused by indirectly including system headers before Python.h) 2013-04-12 17:54:21 +02:00
Sandro Mani
6c013c2d97 Fix warnings: passing argument from incompatible pointer type, pointer targets differ in signedness, unused variable 2013-04-12 17:54:21 +02:00
Sandro Mani
e2c62ff1d2 Fix warning: pointer targets differ in signedness 2013-04-12 17:54:10 +02:00
Alex Clark ☺
4d0512bf0c Merge pull request #186 from fabiomcosta/master
reducing code duplication
2013-04-12 03:59:05 -07:00
Fabio M. Costa
0b9e404761 DRYing out the code 2013-04-12 01:25:16 -04:00
Alex Clark ☺
f4f3ed744b Merge pull request #185 from tk0miya/master
Fix rendered characters have been chipped for some TrueType fonts
2013-04-11 07:57:53 -07:00
Takeshi KOMIYA
efd70fb295 Fix rendered characters have been chipped for some TrueType fonts
This patch is from http://pastebin.com/jP2iLkDN
2013-04-11 19:16:26 +09:00
Takeshi KOMIYA
e44f35eec2 Revert pull request #45 2013-04-11 18:57:27 +09:00
Alex Clark ☺
fc65e9345f Merge pull request #184 from fabiomcosta/master
Fix usage of pilfont.py script
2013-04-10 16:01:51 -07:00
Fabio M. Costa
f0f405ac92 makes sure this script is executed with systems python
Also removed some unused imports
2013-04-10 18:39:44 -04:00