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
decalage
70a99619bc
version 0.18 2007-12-05
2014-01-30 23:17:51 +00:00
decalage
18333d8edf
version 0.17 2007-12-04
2014-01-30 23:15:35 +00:00
decalage
e614631025
version 0.15 2007-11-25
2014-01-30 23:15:17 +00:00
decalage
d6d3f50205
version 0.14 2007-11-19
2014-01-30 23:15:17 +00:00
decalage
fad61ba20c
version 0.13 2007-09-04
2014-01-30 23:12:46 +00:00
decalage
f05f8001c5
Original version of OleFileIO.py from PIL, dated 2005-03-25, still current in PIL 1.1.7 on the 2011-10-20
2014-01-30 23:12:19 +00:00
Joaquín Cuenca Abela
a0af87e524
Make test_file_jpeg compatible with Python 3
2014-01-28 08:48:40 +01:00
wiredfool
bd5935032f
initialize unused pointer to prevent freeing without allocating
2014-01-27 23:24:42 -08:00
wiredfool
0141d15aad
Allocate storage for font_bytes, fixes #483
2014-01-27 23:14:59 -08:00
wiredfool
dd444a5819
Resolved conflict
2014-01-27 20:34:09 -08:00
wiredfool
97c0be9358
enable test by default
2014-01-27 20:31:22 -08:00
wiredfool
0a156ca68a
Check for unsupported bitmap compression/encoding
2014-01-27 20:30:52 -08:00
wiredfool
14175b786d
Cleaning out prints, reenabling bad/questionable
2014-01-27 20:26:26 -08:00
Joaquín Cuenca Abela
bab068a337
Improve heuristic used when saving progressive and optimized JPEGs with high quality values.
2014-01-27 20:27:03 +01:00
wiredfool
6de70524f7
108 and 124 bit header fields are a superset of the 64 bit header
2014-01-26 20:43:21 -08:00
wiredfool
ff417ceaac
(supported) good bmps all pass
2014-01-26 20:38:54 -08:00
wiredfool
b3008a5386
good bmp tests, many failing for matching the images
2014-01-26 20:38:54 -08:00
Sandro Mani
8324a9a3e0
Fix issue 447: Apparently some drivers only emit SANE_STATUS_EOF once, and SANE_STATUS_IO_ERROR after that. The code however assumed that the driver keeps emitting SANE_STATUS_EOF. This commit fixes this.
2014-01-26 00:11:15 +01:00
wiredfool
6f79ee55eb
good bmp tests, many failing for matching the images
2014-01-23 21:06:58 -08:00
wiredfool
29c9e952b3
return value for assert_image_similar
2014-01-23 21:06:33 -08:00
wiredfool
0d97ad0d8c
Test Images
2014-01-23 20:29:58 -08:00
wiredfool
046a226f34
Don't use gigs of memory with invalid palette sizes
2014-01-23 20:11:05 -08:00
wiredfool
7d76ae2d91
Test for #495 , writing to bytesio
2014-01-22 20:40:37 -08:00
wiredfool
15d6cc9f57
bmp test reorganization
2014-01-22 20:40:02 -08:00
wiredfool
a549e77bd8
Fix hang by using temp file and command line args instead of stdin
2014-01-21 23:18:24 -08:00