Brian Crowell
250f72da1c
py3k: Use new buffer protocol
...
Other ports have taken advantage of the fact that Python 3 has wrappers for
the old buffer protocol, but there's a significant disadvantage: you can't
let the buffered object know when you're done with it.
Since Python 2.6 supports the new protocol, we just go ahead and move to
it.
2012-11-08 23:40:42 -06:00
Brian Crowell
37a28ba0bf
py3k: Modernize type declarations
...
This updates several Python type definitions and uses to bring us closer
to Python 3 compatibility. This includes:
* Replacing staticforward and statichere with static. These were a hack for
old compilers and are not supported/needed anymore.
* Using Py_TYPE() instead of ob_type; ob_type is hidden in Py3.
* Replacing getattr with getters/setters. getattr is sort-of supported in
Py3, but Py_FindMethod is not. So we just use the newer
methods/getsetters mechanisms and start using PyType_Ready everywhere.
* Use PyVarObject_HEAD_INIT for types, since types are PyVarObject.
* Use PyMODINIT_FUNC for module initialization functions.
There are some tab/space issues in this commit. I'm set for spaces; the
source is a little schizo.
2012-11-08 23:40:42 -06:00
Brian Crowell
1deeeccc61
py3k: Get setup.py to run under python3
...
First real fix: open the temp file in text mode.
2012-11-08 23:40:42 -06:00
Brian Crowell
e69042495c
py3k: Update exception usage to modern syntax
2012-11-08 23:40:42 -06:00
Brian Crowell
d733d840c2
py3k: Use string methods instead of string module
...
First, we go for the obvious stuff. The string module methods are gone in
3.0, so we translate them to the appropriate methods on the string class.
2012-11-08 23:40:41 -06:00
Alex Clark
4a10a363e4
Release 1.7.8
2012-11-01 17:09:46 -04:00
Alex Clark
5ab5406010
Fix formatting of installation summary
2012-11-01 17:08:29 -04:00
Alex Clark ☺
449a5395ee
Merge pull request #13 from tdesvenain/master
...
Removed doctests.py that made tests of other packages fail.
2012-11-01 13:41:58 -07:00
tdesvenain
c5097fb1d2
Removed doctests.py that made tests of other packages fail.
2012-09-21 14:15:54 +02:00
Alex Clark ☺
eec9c41041
Merge pull request #5 from tdesvenain/master
...
More psd files handled
2012-09-07 18:58:53 -07:00
Alex Clark ☺
7e7e1ab926
Merge pull request #11 from larsyencken/master
...
Fix a bug in quantize() causing crashes.
2012-09-07 18:56:55 -07:00
Lars Yencken
155347fe87
Fix a bug in quantize() causing PIL crashes.
...
From German Bravo's Image-SIG post:
http://mail.python.org/pipermail/image-sig/2012-June/007047.html
2012-09-05 13:23:57 +10:00
Alex Clark
7c4437f64b
Fix URL
2012-08-22 16:47:36 -04:00
tdesvenain
3eda40cb4c
revert last commit, images rendered didn't match very well
2012-07-29 17:05:54 +02:00
tdesvenain
bc9455d059
Added a psd mode (mode 4, 16 bits).
2012-07-29 16:02:26 +02:00
tdesvenain
4ebe7fc459
Fix opening psd files with RGBA layers when A mode is not of type 65535
...
but 3.
Fixes issue https://github.com/python-imaging/Pillow/issues/3
2012-07-29 15:48:40 +02:00
Alex Clark
f5caa40711
Save issues and comments
2012-07-24 18:04:07 -04:00
Alex Clark
c3bee2cd13
Save watchers
2012-07-24 17:55:18 -04:00
Alex Clark
f26c5fc16d
Change URL
2012-07-24 17:44:21 -04:00
Alex Clark
1dca68b38c
Test travis
2012-07-11 12:17:29 -04:00
Alex Clark
a4f0521eec
Test travis
2012-07-11 12:15:27 -04:00
Alex Clark
3f348ab1a0
Merge pull request #26 from cmr/master
...
better import of _imaging
2012-06-15 13:52:38 -07:00
Corey Richardson
f466def82d
Better import of _imaging
2012-06-15 17:39:51 -03:00
Alex Clark
e0aab1ecfd
Merge pull request #25 from msabramo/python3
...
Make things more Python 3 friendly. Python 3 still doesn't work because
2012-06-12 14:19:49 -07:00
Marc Abramowitz
01917a4faf
Make things more Python 3 friendly. Python 3 still doesn't work because
...
of C code that doesn't compile with Python 3.
2012-06-12 13:48:27 -07:00
Alex Clark
a5738ae5a4
Merge pull request #24 from msabramo/testing
...
Add support for tox (http://tox.testrun.org/ ) and Travis CI (http://travis-ci.org/ )
2012-06-12 12:58:00 -07:00
Alex Clark
9380599f04
Merge pull request #20 from tomgross/master
...
Fixed reading of EPS images
2012-06-12 12:42:17 -07:00
Marc Abramowitz
66c0217619
Add .travis.yml for Travis CI ( http://travis-ci.org/ )
2012-06-11 23:27:33 -07:00
Marc Abramowitz
a005018a4e
Add support for tox ( http://tox.testrun.org/ )
2012-06-11 23:26:40 -07:00
Marc Abramowitz
d036e93a41
Add .gitignore
2012-06-05 21:33:05 -07:00
Alex Clark
4aaf00458c
Merge pull request #22 from saltycrane/master
...
For Issue #21 , "Pillow cuts off top of text but PIL does not"
2012-05-03 16:06:58 -07:00
Eliot
558254f028
Revert "Fix descender parameter was ignored on rendering truetype fonts"
...
This reverts commit 501c5c47b6
.
2012-05-03 15:55:51 -07:00
Tom Gross
33e1ffe570
fixed reading of EPS pictures
...
found in: http://www.mail-archive.com/image-sig@python.org/msg03054.html
2012-04-26 17:00:22 +02:00
Alex Clark
9488cb1e53
Onwards
2012-04-05 23:25:24 -04:00
Alex Clark
d33aacd616
Fix manifest
2012-04-05 23:17:11 -04:00
Alex Clark
74ca70cd01
Fix manifest
2012-04-05 23:13:12 -04:00
Alex Clark
73e6da9bc7
Fix manifest
2012-04-05 23:08:14 -04:00
Alex Clark
211d05a106
Fix manifest
2012-04-05 23:00:00 -04:00
Alex Clark
aaac591549
Release 1.7.7
2012-04-04 21:15:07 -04:00
Alex Clark
0adbcd9418
Merge pull request #19 from mattip/master
...
fixes for windows build
2012-04-04 18:07:08 -07:00
Matti Picus
2ba3bf681d
UNDEF more types before including windows headers
2012-03-09 00:00:04 +02:00
Alex Clark
b9960754e4
Tweak
2012-02-27 16:32:19 -05:00
Alex Clark
f461d24440
Link to docs
2012-02-27 16:26:28 -05:00
Alex Clark
8adad4d981
Don't track
2012-02-16 20:12:02 -05:00
Alex Clark
ea0989ad17
Add sphinx docs
2012-02-16 20:10:57 -05:00
Alex Clark
b87851fae5
Merge pull request #16 from aclark4life/master
...
New release
2012-01-20 17:10:21 -08:00
Alex Clark
217364112c
Wording
2012-01-20 20:00:07 -05:00
Alex Clark
3af55ff06f
Prepare release
2012-01-20 19:52:39 -05:00
Alex Clark
73b4a6b0b0
Merge pull request #15 from sfllaw/master
...
Backport fix to split() after open() (regression in 1.1.7).
2012-01-20 10:59:26 -08:00
Alex Clark
86b55a25f5
Merge pull request #12 from tk0miya/master
...
Fix descender of some characters are chipped
2012-01-20 10:59:05 -08:00