Commit Graph

736 Commits

Author SHA1 Message Date
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
wiredfool
71a4c97077 Merge pull request #144 from wiredfool/readme
Readme
2013-04-09 13:25:54 -07:00
wiredfool
ce3b7231b4 wording, undone 2013-04-09 13:08:45 -07:00
wiredfool
88d38e80b4 OSX instructions 2013-04-09 12:43:23 -07:00
wiredfool
bb5f61fd80 Merge branch 'readme' of https://github.com/wiredfool/Pillow into readme 2013-04-09 12:42:33 -07:00
wiredfool
2838015c84 header formating 2013-04-09 12:25:55 -07:00
wiredfool
72f376608b Merged Readme to current master, re-ordered sections 2013-04-09 12:22:26 -07:00
wiredfool
8bccea82af Merge branch 'master' of https://github.com/python-imaging/Pillow 2013-04-09 12:08:39 -07:00
wiredfool
b0fffd24a4 Merge branch 'master' of https://github.com/python-imaging/Pillow into namespaced 2013-04-09 12:08:13 -07:00
Alex Clark ☺
1aacded655 Merge pull request #180 from d-schmidt/master
create a palette before converting transparent L-mode to RGBA
2013-04-09 09:56:41 -07:00
Alex Clark ☺
1a293f9f75 Merge pull request #45 from tk0miya/fix-rendered-chars-have-been-chipped
Fix rendered characters have been chipped for some TrueType fonts
2013-04-09 09:55:49 -07:00
Alex Clark ☺
21562761ac Merge pull request #179 from manisandro/quantization
Make quantization code more portable
2013-04-09 06:14:03 -07:00
David Schmidt
836e3e05d8 create a palette before converting transparent L-Mode to RGBA
fixes #154
2013-04-09 13:21:38 +02:00
wiredfool
7f178bc0b6 selftests pass with namespaces on py2.7/3.2 2013-04-08 22:42:49 -07:00
wiredfool
517e0210ab webp to PIL in selftest 2013-04-08 22:41:31 -07:00