[cvs] commit: horde/lib/MIME Contents.php Message.php Part.php
Structure.php
Michael M Slusarz
slusarz at bigworm.colorado.edu
Wed Oct 1 17:06:03 PDT 2003
slusarz 2003/10/01 17:06:02 PDT
Modified files:
lib/MIME Contents.php Message.php Part.php
Structure.php
Log:
Dynamically determine a part's size instead of statically tracking.
Thus, remove the setBytes() function.
When determining the size of data, only use String::length() if dealing with
a 'text' part.
The reported size of a part via the imap_fetchstructure() call is stored in
the information variable 'imap_bytes'.
Estimate the size of data in a base64 encoded attachment, rather than
simply displaying the size of the encoded data (which is generally about 33%
larger than the actual data).
Revision Changes Path
1.74 +17 -5 horde/lib/MIME/Contents.php
1.68 +2 -7 horde/lib/MIME/Message.php
1.142 +20 -38 horde/lib/MIME/Part.php
1.77 +4 -13 horde/lib/MIME/Structure.php
Chora Links:
http://cvs.horde.org/diff.php/horde/lib/MIME/Contents.php?r1=1.73&r2=1.74&ty=u
http://cvs.horde.org/diff.php/horde/lib/MIME/Message.php?r1=1.67&r2=1.68&ty=u
http://cvs.horde.org/diff.php/horde/lib/MIME/Part.php?r1=1.141&r2=1.142&ty=u
http://cvs.horde.org/diff.php/horde/lib/MIME/Structure.php?r1=1.76&r2=1.77&ty=u
More information about the cvs
mailing list