Commit Graph

1677 Commits

Author SHA1 Message Date
wiredfool
4d32136365 Working in py3k, not in 2.x 2014-02-04 21:41:16 -08:00
Joaquín Cuenca Abela
96ca9ff6ff Another attempt to achieve python 3 compatibility. 2014-02-04 17:37:18 +01:00
Joaquín Cuenca Abela
97b23af7e5 Try to fix test_file_jpeg in Python3 2014-02-04 17:23:29 +01:00
Martin Panter
99e7599ce2 OleFileIO: Add MAGIC constant to __all__
This is used by other modules in Pillow.
2014-02-04 04:10:19 +00:00
Alex Clark
cb309c9f59 setup: look in multiarch paths in GNU platforms
Somehow I merged pino's commit into rel_2.3 branch (which I since removed because it was confusing me). Not sure what happened, but this is his code that got lost.
2014-02-01 06:06:21 -05:00
wiredfool
9cd8a88931 Merge pull request #507 from wiredfool/bmp_test
Support for BMP version 4 and 5, DOS prevention for invalid sizes, Reference tests for BMP format
2014-01-31 21:45:43 -08:00
wiredfool
c9955628e2 Merge from master 2014-01-31 21:38:34 -08:00
wiredfool
e74dc15973 Changes Update 2014-01-31 21:34:43 -08:00
wiredfool
88d0e6080a Fixed DOS with invalid BMP size entries 2014-01-31 21:33:24 -08:00
wiredfool
1e64e37104 Update CHANGES.rst 2014-01-31 14:14:25 -08:00
wiredfool
f2ce1bb5b1 Merge pull request #509 from wiredfool/pypy-imagefont
Fix segfault in getfont when passed a memory resident font
2014-01-31 14:13:46 -08:00
wiredfool
e3da49f5d5 Merge branch 'master' of https://github.com/python-imaging/Pillow into pypy-imagefont 2014-01-31 14:04:43 -08:00
wiredfool
e9029380dd Merge branch 'pypy-imagefont' of github.com:wiredfool/Pillow into pypy-imagefont 2014-01-31 14:04:32 -08:00
wiredfool
de1b02dc8c Merge pull request #508 from wiredfool/no-icc-profile
Fix crash on saving PNG when icc_profile is None
2014-01-31 14:03:21 -08:00
wiredfool
8a86364885 Merge branch 'no-icc-profile' of github.com:wiredfool/Pillow into no-icc-profile 2014-01-31 13:59:38 -08:00
wiredfool
3ea93e5de5 Merge branch 'bmp_test' of github.com:wiredfool/Pillow into bmp_test 2014-01-31 13:52:17 -08:00
wiredfool
f36a31a071 Merge pull request #476 from wiredfool/cffi-pixelaccess
Cffi PixelAccess object, Uint16 support in PixelAccess
2014-01-31 13:50:55 -08:00
wiredfool
293cbdef08 Merge pull request #485 from wiredfool/docs
Platform Test Matrix updates
2014-01-31 13:46:46 -08:00
wiredfool
288a563d1a merge from master 2014-01-31 13:45:31 -08:00
Alex Clark
09ee0c0151 Add history 2014-01-31 16:17:24 -05:00
Alex Clark ☺
5750d5d6ef Merge pull request #474 from sciunto/bool
Maint: minor patch on booleans + travis
2014-01-31 13:16:38 -08:00
Alex Clark
049a7c1bc2 Add history 2014-01-31 16:13:29 -05:00
wiredfool
76f42fedd6 Merge pull request #506 from wiredfool/eps_save
EPS save cleanup
2014-01-30 19:34:46 -08:00
Martin Panter
caa609c438 Do away with @functools.total_ordering to restore Python 2.6 support
* Manually implement __ne__() and __lt__()
* __gt__() and __ge__() not needed due to operator reflection
2014-01-31 01:32:46 +00:00
Martin Panter
704ed76229 Update documentation for Python 3 2014-01-30 23:47:12 +00:00
Martin Panter
a6fd013a77 Implement rich comparison using @total_ordering (2.7+, 3.2+) 2014-01-30 23:38:04 +00:00
Martin Panter
5143df8561 Use range() rather than xrange(), for Python 3 compatibility 2014-01-30 23:38:04 +00:00
Martin Panter
6977b592e3 Port more stuff to Python 3, dropping some pre-2.6 support 2014-01-30 23:38:04 +00:00
Martin Panter
cd61720845 Merge Pillow changes with Philippe Lagadec’s OleFileIO_PL fork
Conflicts:
	PIL/OleFileIO.py

I kept Philippe’s version of Unicode decoding that uses UTF-16LE. Pillow
started using Python’s “utf_16” codec in the meantime, but I understand it
uses native byte ordering by default.
2014-01-30 23:37:44 +00:00
Martin Panter
ac5cb028be Convert OleFileIO.py to LF newlines before merging 2014-01-30 23:30:58 +00:00
decalage
0b79c83709 updated readme 2014-01-30 23:29:57 +00:00
decalage
a468016b63 v0.26: added methods to parse stream/storage timestamps, improved listdir to include storages, fixed parsing of direntry timestamps 2014-01-30 23:29:57 +00:00
decalage
e1fe77b48b fix #12
updated readme
2014-01-30 23:29:57 +00:00
decalage
7d37cf071f - getproperties: improved exception handling
- _raise_defect: added option to set exception type
- all non-fatal issues are now recorded, and displayed when run as a script
2014-01-30 23:29:57 +00:00
decalage
8e826441b2 2013-05-24 v0.25 PL: - getproperties: option to not convert some timestamps
- OleMetaData: total_edit_time is now a number of seconds,
                       not a timestamp
                     - getproperties: added support for VT_BOOL, VT_INT, V_UINT
                     - getproperties: filter out null chars from strings
                     - getproperties: raise non-fatal defects instead of
                       exceptions when properties cannot be parsed properly
2014-01-30 23:29:57 +00:00
decalage
90f0b6796e updated readme 2014-01-30 23:29:57 +00:00
decalage
5b616ca1be v0.24: slight improvements in OleMetadata, updated readme. 2014-01-30 23:29:57 +00:00
decalage
c5cd0ccefc updated readme 2014-01-30 23:29:57 +00:00
decalage
d5166fd97e - new class OleMetadata to parse standard properties
- added get_metadata method to OleFileIO
2014-01-30 23:29:57 +00:00
decalage
25158fe8b1 - getproperties: added conversion from filetime to python datetime
- main: displays properties with date format
2014-01-30 23:29:54 +00:00
decalage
4bdd2b2bef version 0.23 - updated readme and setup.py 2014-01-30 23:29:40 +00:00
decalage
f88809e5f3 Updated readme in markdown and rst formats 2014-01-30 23:29:08 +00:00
decalage
ab541b1b4d Added comments for patch submitted by mete0r_kr, changed version 2014-01-30 23:21:25 +00:00
mete0r sarangbang
bbee2b5b8a support file-like object
fix #8
2014-01-30 23:21:25 +00:00
decalage
eaeb12f695 Fixed issue 2 - added close method to OleFileIO class 2014-01-30 23:21:25 +00:00
decalage
bd833a6972 Fixed issue 7 in OleFileIO.getproperties reported by chuckleberryfinn 2014-01-30 23:21:23 +00:00
decalage
491f3e9f99 updated readme 2014-01-30 23:20:31 +00:00
decalage
87a7ec955e version 0.21 2010-01-22 2014-01-30 23:20:28 +00:00
decalage
4248acb7a7 version 0.20 2009-12-11 2014-01-30 23:17:51 +00:00
decalage
61a3ceb812 version 0.19 2009-12-10 2014-01-30 23:17:51 +00:00