[commits] Horde branch master updated.
Michael M Slusarz
slusarz at horde.org
Wed Jul 1 06:21:13 UTC 2009
The branch "master" has been updated.
The following is a summary of the commits.
from: b0309fd21bf904a0f7f024b4322e71509be38c42
fb3452e... Major rewrite of the contents portion of Horde_Mime_Part.
0296d2e... More efficient way of setting contents.
-----------------------------------------------------------------------
commit fb3452e3d6132d52c1fa5e6e37bd38b136e02017
Author: Michael M Slusarz <slusarz at curecanti.org>
Date: Tue Jun 30 16:00:57 2009 -0600
Major rewrite of the contents portion of Horde_Mime_Part.
Always store data inside part in binary format. Reduces overhead (no
need to store in larger base64 format) and allows us to do the
decompression at the same time we have to write the data to the new
internal stream object anyway.
Reworked parameters for setContents(), appendContents(), getContents(),
setTransferEncoding(), addMimeHeaders(), toString().
Removed getContentsAsStream(), getCanonicalContents() -> these can be
accessed via options to getContents().
Removed transferDecode(), transferEncode(), transferEncodeContents(),
transferDecodeContents(), strict7bit(), getTransferEncoding(), and
getCurrentEncoding() -> this is all handled internally on a call to
toString().
Removed toCanonicalString() -> this can be accessed via options to
toString().
Also:
Fix rtrim() call (don't trim non-EOL whitespace chars).
phpdoc
framework/Crypt/lib/Horde/Crypt/Pgp.php | 6 +-
framework/Crypt/lib/Horde/Crypt/Smime.php | 7 +-
framework/Mime/lib/Horde/Mime/Mail.php | 1 -
framework/Mime/lib/Horde/Mime/Part.php | 647 ++++++++++++-----------
framework/Mime/lib/Horde/Mime/Viewer/Rfc822.php | 2 +-
5 files changed, 342 insertions(+), 321 deletions(-)
http://git.horde.org/diff.php/framework/Crypt/lib/Horde/Crypt/Pgp.php?rt=horde-git&r1=06c72c0af35395e714b2fb23ff4fbb9bfb8d87f3&r2=fb3452e3d6132d52c1fa5e6e37bd38b136e02017
http://git.horde.org/diff.php/framework/Crypt/lib/Horde/Crypt/Smime.php?rt=horde-git&r1=df6c4d07f0ff4f1cde6a3b4c90bbecd9c8eb9446&r2=fb3452e3d6132d52c1fa5e6e37bd38b136e02017
http://git.horde.org/diff.php/framework/Mime/lib/Horde/Mime/Mail.php?rt=horde-git&r1=7f1ee7d007cf584dfe17fd9ed15572b0dda983e9&r2=fb3452e3d6132d52c1fa5e6e37bd38b136e02017
http://git.horde.org/diff.php/framework/Mime/lib/Horde/Mime/Part.php?rt=horde-git&r1=14eec089302f30eac4f27b42a2bf750428d76689&r2=fb3452e3d6132d52c1fa5e6e37bd38b136e02017
http://git.horde.org/diff.php/framework/Mime/lib/Horde/Mime/Viewer/Rfc822.php?rt=horde-git&r1=a4821dba3cebdd907a36635ce22b9569ce35e32b&r2=fb3452e3d6132d52c1fa5e6e37bd38b136e02017
-----------------------------------------------------------------------
commit 0296d2eb0364d37a6fba5c94dc2743f079734056
Author: Michael M Slusarz <slusarz at curecanti.org>
Date: Tue Jun 30 21:55:02 2009 -0600
More efficient way of setting contents.
framework/Mime/lib/Horde/Mime/Mdn.php | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
http://git.horde.org/diff.php/framework/Mime/lib/Horde/Mime/Mdn.php?rt=horde-git&r1=f77e9dbdc7477b3d878d342af4ae6138ca16d447&r2=0296d2eb0364d37a6fba5c94dc2743f079734056
More information about the commits
mailing list