| 1 |
Revision history for Perl extension Convert::TNEF. |
| 2 |
|
| 3 |
0.18 Mon Jul 23 2012 |
| 4 |
- Add IO::Wrap dependency to Makefile.PL (RT78412). |
| 5 |
- Change longname() to detect names in newer versions of Outlook. |
| 6 |
(RT78484) |
| 7 |
0.17 Sun Feb 24 2001 |
| 8 |
- It appears that messages no longer need start with a |
| 9 |
TnefVersion attribute, and a message without this attribute |
| 10 |
triggered a bug ('datahandle' method called on uninitialized |
| 11 |
value) found by Randy Diffenderfer. |
| 12 |
- Although the MSDN TNEF Stream syntax page makes it look like |
| 13 |
TnefVersion must be the first attribute if it appears, and |
| 14 |
MessageClass must be the first or second attribute if it |
| 15 |
appears, I'm not going to check for this because then my |
| 16 |
test file has MessageClass as the third attribute. |
| 17 |
- Got rid of '_equal' function. The only reason to worry about |
| 18 |
warnings when comparing undef is if there's a read error, and |
| 19 |
then a warning ought to be ok anyway. |
| 20 |
- Long overdue perltidy format cleanup. |
| 21 |
0.16 Tue Jul 31 2001 |
| 22 |
- Simplified main loop some more. Don't need to check for end |
| 23 |
of processing twice. |
| 24 |
- Prefixed 'private' functions with underscore character. |
| 25 |
- changed a couple of 'methods' which didn't use '$self' and weren't |
| 26 |
documented as methods into 'private' functions. |
| 27 |
0.15 Tue Jul 31 2001 |
| 28 |
- Finally combined message and attachment parsing loops. |
| 29 |
- Removed the '|| []' from the attachment() method. I'm storing |
| 30 |
an arrayref unconditionally in the TNEF object, so there should |
| 31 |
be no need for this. Also now returns ref if not called |
| 32 |
in list context. |
| 33 |
0.14 Mon Jul 30 2001 |
| 34 |
- Subclass message and attachment portions of TNEF object. |
| 35 |
- Found bug in saving the size of message attributes. |
| 36 |
0.12 Tue May 29 2001 |
| 37 |
- We're not using Autoloader, so no need to 'use' it. |
| 38 |
0.11 Tue May 29 2001 |
| 39 |
- Moved previously 'autoload' functions so that they're all |
| 40 |
just loaded. Its a small module anyway, so there was no real |
| 41 |
need for it, and it should cut down on problems for people who |
| 42 |
don't install this module properly :) |
| 43 |
0.10 Wed Jan 17 2001 |
| 44 |
- Stripped carriage returns from all files (last edit was |
| 45 |
on Windows). |
| 46 |
0.09 Wed Jan 10 2001 |
| 47 |
- Fixed message method. Added more tests to test suite. |
| 48 |
0.08 Fri Jun 17 2000 |
| 49 |
- Added a bit more file format error checking. |
| 50 |
0.07 Fri Jun 16 2000 |
| 51 |
- Just some code cleanup in reading the attachment part of the |
| 52 |
file. When there's more than one attachment in a file, it is |
| 53 |
now more efficient than it used to be. |
| 54 |
0.06 Thu Jun 15 2000 |
| 55 |
- size() method is fixed. |
| 56 |
- data(), name() and longname() methods will now return the |
| 57 |
undefined value if the data does not exist in the attachment. |
| 58 |
- Not a change, just a realization that the TNEF 'attAttachment' |
| 59 |
attribute where the long filename and display name resides is |
| 60 |
really a series of MAPI properties. Maybe there ought to be a |
| 61 |
MAPI module to parse it? Currently, the longname() attribute is |
| 62 |
returning the MAPI display name property in this field. See |
| 63 |
previous changes for why. |
| 64 |
0.05 Tue May 16 16:30:00 2000 |
| 65 |
- Both name() and longname() now strip trailing null characters. This |
| 66 |
doesn't seem to make a difference when creating a file, but it does |
| 67 |
in string comparison. |
| 68 |
- longname() works much better now. It no longer depends |
| 69 |
on finding the 'AttachTitle' attribute (shortname) first |
| 70 |
(which was a sorry hack of a way to do it). |
| 71 |
I've looked at several different TNEF example docs, from my |
| 72 |
own creation and from Mark Simpson's 'tnef' utility, so I'm |
| 73 |
fairly certain about it now. The actual file name appears |
| 74 |
twice in the field, but one of them is not always the full |
| 75 |
name (if there's a space in the name?). So we get the other |
| 76 |
instance of the name. |
| 77 |
If someone could look through the MS Platform SDK and see if |
| 78 |
the 'official' way to parse this field is in there, it'd be |
| 79 |
much appreciated. |
| 80 |
- Fixed the 'make test', which really wasn't testing what it was |
| 81 |
supposed to, and added another test while I was at it. |
| 82 |
0.04 Thu May 11 16:00:00 2000 |
| 83 |
- The longname method should work better now. I still wish I could |
| 84 |
be 100% sure about the way I'm doing it. I'm sure its not the |
| 85 |
way Outlook does it; it'd be nice to know how its supposed to |
| 86 |
be done. |
| 87 |
0.03 Tue May 8 15:00:00 2000 |
| 88 |
- There was two purge methods. I purged one of them. |
| 89 |
- fixed a die() in the parse method to return a failure status instead. |
| 90 |
- Took out the subclasses which were just aliases for |
| 91 |
MIME::Body::*, and weren't really proper subclasses anyway. |
| 92 |
I forget why I did it that way, maybe I planned on making some |
| 93 |
extra methods later, or just to see if it worked. |
| 94 |
There really should be separate classes for a TNEF object, |
| 95 |
and for attachments/messages in the TNEF object, maybe someday I'll |
| 96 |
get around to it. |
| 97 |
0.02 Mon Dec 12 17:30:00 1999 |
| 98 |
- fixed and cleaned up some of the debug output. |
| 99 |
- had the bright idea in the first release of including a |
| 100 |
name() method for attachments and put it in the documentation, |
| 101 |
but neglected to actually include the method in the code. |
| 102 |
- Found out that the 'AttachTitle' attribute returns only the |
| 103 |
short (8 char + 3 char extension) version of the filename, so I |
| 104 |
included a 'longname' method which does its best to get the long |
| 105 |
version of the filename. This is extracted out of the 'Attachment' |
| 106 |
attribute data, which is a binary field, and I don't really know |
| 107 |
how to parse this field, but this seems to work to get the name. |
| 108 |
0.01 Mon Nov 29 14:26:32 1999 |
| 109 |
- original version; created by h2xs 1.18 |
| 110 |
|