Commit Graph

66 Commits

Author SHA1 Message Date
Andrew Murray
8c2a857c2e Removed shebang line from OleFileIO 2016-12-25 20:18:50 +01:00
Jakub Wilk
8524c18329 Remove executable bit from OleFileIO.py 2016-12-25 12:05:38 +01:00
Jon Dufresne
52b1f46b12 Deprecate vendored version of olefile Python package in favor of upstream
Pillow now requires the olefile Python package through setup.py.

This removes Pillow's maintenance of this library by instead relying on
and reusing the upstream version. No longer need to regularly update the
vendored package and docs. olefile bug fixes and features can go
directly upstream.

During travis tests, now installs Pillow package before tests; this will
also install all dependencies (currently, only olefile).
2016-11-22 18:17:31 -08:00
wiredfool
bbd4337fbb Updated OleFileIO doc links 2016-04-19 07:41:14 -07:00
Andrew Murray
a662a94316 Updated i16 and i32 to be in sync with _binary 2015-05-28 23:11:51 +10:00
Andrew Murray
cfedc8093c Fixed typo 2015-05-28 22:34:45 +10:00
Andrew Murray
29a3de6ccc Doc cleanup from wiredfool 2015-05-28 22:34:38 +10:00
Andrew Murray
1b98b76bcf Flake8 fixes 2015-05-28 22:34:23 +10:00
Andrew Murray
1208fe89cd Renamed _raise_defect to avoid protected member warnings 2015-05-28 22:15:53 +10:00
Andrew Murray
f55f2d13cb Various health fixes 2015-05-28 22:15:52 +10:00
Andrew Murray
b213f63c59 Removed pre-Python 2.3 workaround 2015-05-28 22:15:52 +10:00
Andrew Murray
1dd3bef615 Upgraded OleFileIO to 0.42b 2015-05-10 23:55:33 +10:00
Andrew Murray
dbd3415709 Removed pre-Python 2.3 workaround 2015-05-08 21:37:05 +10:00
Andrew Murray
e8679dff66 Fixed indentation in OleFileIO 2015-04-24 16:02:39 +10:00
Andrew Murray
d1c182cadc Various Flake8 fixes 2015-04-24 09:26:52 +10:00
Andrew Murray
bd3f036a56 Fixed many style problems in OleFileIO resulting from indentation 2015-04-01 17:48:26 +11:00
Andrew Murray
2834b78982 Removed or commented unused variables from OleFileIO 2015-04-01 17:22:44 +11:00
Andrew Murray
1199665033 Removed duplicate import from OleFileIO 2015-04-01 12:45:08 +11:00
Sandro Mani
58f2b10e0b Make OleFileIO.py executable, fix shebang 2014-10-03 09:59:25 +02:00
wiredfool
09b0d1cfa6 converted to current docutils format 2014-07-15 21:24:52 -07:00
wiredfool
b6c33596b3 Broke out OleFileIO into its own page, Added docs from the readme 2014-07-15 16:56:59 -07:00
wiredfool
a0d6cf01ce Fixing doc warnings, reformatting docstring comments 2014-07-14 21:24:54 -07:00
Hugo
be201bf4f3 Undo cleanup reversal
"Just pointing out that this bit is actually reversing a recent cleanup in Pillow. See commit 923018d and PR #474. I guess that cleanup was merged into Pillow after I did my merge from Pillow to PL’s fork."
https://github.com/python-imaging/Pillow/pull/618#discussion_r11559186
2014-04-12 12:43:24 +03:00
hugovk
43ec928d33 version 0.30 2014-02-04 2014-04-11 14:03:32 +03:00
Alex Clark ☺
878d0ca51d Merge pull request #512 from vadmium/pl
Merge from Philippe Lagadec’s OleFileIO_PL fork
2014-03-17 10:41:26 -04: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
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
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
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
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
5b616ca1be v0.24: slight improvements in OleMetadata, 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
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
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