2003-06-06 Andreas Kupries * mime.tcl (::mime::word_decode): Accept lower-case encoding specifiers. [Bug 732512]. Reported by Matthew Walker , plus patch. Patch accepted by Marshall Rose. * mime.test: Two more tests checking the acceptance of lower-case encoding specifiers. * mime.tcl (::mime::parsepart): Reactivated error command, revert to error on malformed mime input, instead of infinite looping. [Bug 631314] reported by David Welton. 2003-05-05 Andreas Kupries * * Released and tagged Tcllib 1.4 ======================== * 2003-05-04 Andreas Kupries * mime.tcl: Applied patch for SF Tcllib bug #731759, as submitted * mime.test: by Matthew Walker and accepted by Marshall Rose . Update of the testsuite on my own. 2003-04-25 Andreas Kupries * mime.man: Added a section for known bugs, and recorded 447037 as such. 2003-04-10 Andreas Kupries * smtp.tcl: * mime.tcl: * mime.man: * csmtp.man: * pkgIndex.tcl: Fixed bug #614591. Set version of the package to to 1.3.3. Fixed equivalent of bug #648679. 2003-01-16 Andreas Kupries * mime.man: More semantic markup, less visual one. * smtp.man: 2003-01-06 Pat Thoyts * mime.tcl (md5): Fix for bug # 630381. Use tcllib md5 to handle Trf transparency. 2002-10-01 Andreas Kupries * mime.man: Changed -parse to -part in description of "::mime::initialize". Thanks to "Gerald W. Lester" for finding this. 2002-09-16 David N. Welton * smtp.man: Added example from http://mini.net/tcl/1256. 2002-09-14 Andreas Kupries * mime.test: Extended field_decode tests with the examples from RFC 2047. * mime.tcl: Integrated new implementation of 'field_decode' provided by Don Libes . This rewrite correctly decodes all seven examples of RFC 2047. The old version decoded only one correctly. 2002-08-15 Andreas Kupries * mime.tcl: Accepted patch in SF FR #595240, provided by Marshall T. Rose . The patch makes the code more robust with respect to a common mime encoding error. * tcllib/examples/mime: Added an example application making use of mime and smtp packages. Mbot is a highly-specialized filter for personal messages. Again this is code provided to us by Marshall T. Rose. * smtp.tcl: Followup patch to patch SF #557520/2. A line of code initializing the options from the state was missing in one command, causing problems with the usage of -maxsecs. This was noted on c.l.t., by Acacio Cruz. The followup patch was provided by Todd Coram. 2002-07-25 Andreas Kupries * smtp.tcl: Applied patch SF #557520/2 (== SF #558132) supplied by Todd Coram on behalf of Marshall Rose . This patch dispenses with the automatic calculation of a timeout value and goes with a user-supplied value (new option -maxsecs) instead. Default for this option is 120 secs. This fixes bug SF #557040. * performance.tcl: New file. Script supplied by Pascal Scheffers (see below) to test the performance of the mime package. * mime.tcl: Applied patch SF #585455 supplied by Pascal Scheffers on behalf of Marshall Rose . This patch speeds up MIME processing by using [split \n] and list ops to iterate over the lines in the mail instead of using [string range] for doing it incrementally, copying unprocessed data down again and again. 2002-06-24 Andreas Kupries * mime.tcl: Fixed bug SF #548832. Report and patch by Michael A. Cleverly . 2002-05-29 Andreas Kupries * smtp.tcl (smtp::initialize): Fixed SF bug #561416. The reporter is unknown and provided the fix too. Fix approved by Marshall Rose . 2002-05-08 Andreas Kupries * mime.tcl: Accepted patch for SF bug #553784, by Don Porter . * smtp.tcl: Applied patch for SF bug #539952, on behalf of Marshall Rose . The part of the patch regarding "mime.tcl" was already in the CVS, as part of the fix for SF #477088, see 2001-11-01. 2002-04-23 Andreas Kupries * smtp.tcl: Applied patch for SF bug #547336 on behalf of Marshall Rose . Bug was reported by Don Porter . This removes the duplicate [package require Trf] we had before. 2002-04-15 Andreas Kupries * mime.man: Added doctools manpage. * smtp.man: Added doctools manpage. 2002-04-04 Andreas Kupries * smtp.tcl: Accepted patch by Simon Scott , with slight modification. Fixes bug #533025. 2002-02-27 Andreas Kupries * mime.tcl: Accepted patch for bug #519623 by Rolf Ade . 2002-02-01 Andreas Kupries * Version set to 1.3.2 to differentiate the development code from the 1.2 release containing 1.3.1. * mime.n: Applied patch 511692 provided by Larry Virden fixing a formatting problem. 2002-01-17 Andreas Kupries * Bumped version to 1.3.1 2002-01-17 Andreas Kupries * smtp.tcl: Fixed bug #499242. Extended the non-trf branch of smtp::wtextaux to detect and transform bare LF's into proper CR/LF sequences. 2002-01-16 Andreas Kupries * mime.tcl (qp_encode): Implemented FR #503336, added 'no_softbreak' flag to qp_encode. Default value is false, giving the original behaviour. If set the encoded data is not broken into multiple lines, even if longer than 72 characters. 2001-11-07 Andreas Kupries * mime.n: Clarified documentation for 'parseaddress' in the wake of bug #479174 as this is the command which actually handles the value of option -recipients mentionend below. * smtp.n: Fixed bug #479144, clarified contents of value for -recipients. Bug reported by Darren New . 2001-11-01 Andreas Kupries * smtp.tcl: Fixed bug #472009. Changes in the handling of script-level transformations cause the system to try to initialize the read side of the 'smtp::wdata' transformation. This fails. Added a dummy create/read branch to the switch. Reported by 'nobody/anonymous', but possibly Andreas Otto (deduced from the specified example). * mime.tcl: Added informaton about 7bit, 8bit, and binary encoding to the places where it is missing. This fixes SF item #477088. Bug was reported by Oliver Bienert . 2001-10-16 Andreas Kupries * mime.n: * mime.tcl: * smtp.n: * smtp.tcl: * pkgIndex.tcl: Version up to 1.3 2001-09-12 Andreas Kupries * Added manpages for smtp and mime packages. 2001-08-01 Jeff Hobbs * mime.tcl: made package require 8.3 and sped up qp_encode and qp_decode. 2001-07-10 Andreas Kupries * smtp.tcl: * mime.tcl: Frink 2.2 run, fixed dubious code. 2001-06-21 Andreas Kupries * smtp.tcl: * mime.tcl: Fixed dubious code reported by frink and procheck. 2001-01-30 Eric Melski * mime.tcl: Applied patch from Peter MacDonald to correct problem with mime::initialize failing when mailers neglect to include the trailing boundary marker. 2000-09-20 Dan Kuchler * smtp.tcl * mime.tcl: namespaced the procs that are created to replace the Trf functions when Trf isn't available. This way they are not created in the global namespace, and there isn't any risk that they will collide with other global functions. 2000-09-04 Dan Kuchler * README.xml * README.txt * README.html * mime.tcl: Added proc header comment blocks to all procedures. Some are better than others, and they were written based on a quick analysis of the code and the documentation in the README file. They should be updated as they change or are found to be inaccurate. 2000-09-01 Dan Kuchler * mime.tcl * mime.test: Integrated a patch from Laurent Riesterer (riesterer@celar.fr). This patch added three new procedures (mime::word_encode, mime::word_decode, and mime::field_decode) The patch also adds support for word encoded items as defined in RFC 2047. Fixed a bug in the quoted printable encode function mime::qp_encode 2000-08-15 Dan Kuchler * mime.tcl * smtp.tcl: Made fixes so that smtp::sendmessage and mime::buildmessage work properly. Fixed a bug where the "." at the start of a line was not being replaced by a ".." This was fine in base64 or in the default quoted printable, but was clearly broken in 8-bit or 7-bit encodings. 2000-08-11 Eric Melski * README.xml: * README.html: * README.txtl: Clarified information about soft-dependancy on Trf. 2000-08-03 Dan Kuchler * README.txt * README.xml * README.html * mime/smtp.tcl: Added a '-ports' option to smtp::sendmessage. The '-ports' option takes a list that should mirror the list of SMTP servers specified with the '-servers' flag. Documented the mime::reversemapencodings, mime::mapencodings, and smtp::buildmessage functions * mime/mime.tcl: Added mime::mapencoding and mime::reversemapencoding functions to map tcl encodings to their charset types, and back again. * mime/pkgIndex.tcl: Bumped the revision number from 1.1 to 1.2 2000-06-21 Sandeep Tamhankar * mime/smtp.tcl: Undid the #5693 fix. It turns out there are situations where this is the desired behavior. The basic idea is that the -recipients value is used in the SMTP envelope, and should not be mixed with message headers. Basically, they're two totally different things. I commented all the code and cleaned up some of the areas where side effects were being used unnecessarily and making the code hard to read. 2000-05-24 Sandeep Tamhankar * mime/smtp.tcl: Fixed bug 5693, where the "To:" header wasn't being sent with an e-mail when using the -recipients flag of smtp::sendmessage. Also, if -recipients was combined with -header "To ..." or -header "Cc ...", it would send the message only to -recipients (which is documented) but it would leave the Cc and To headers, which are wrong. This is also fixed. 2000-05-23 Sandeep Tamhankar * mime/mime.tcl * mime/mime.test: Fixed bugs 5521 and 5659, where qp_encode and qp_decode had numerous bugs. See #5659 for details. 2000-05-22 Sandeep Tamhankar * mime/smtp.tcl: Fixed a bug where if the requested mail server didn't exist (i.e. the host didn't have an SMTP server running), smtp::sendmessage would continue executing until a horrific crash at a later point. I added the check and proper error reporting. 2000-05-06 Sandeep Tamhankar * mime/smtp.tcl: Fixed bug 5383, where smtp wouldn't work because it had a dependency on Trf. I've patched the code, and it seems to work fine now. 2000-04-25 Sandeep Tamhankar * modules/mime/mime.test: Added a somewhat rudimentary test suite for TclMIME. Found what I believe is a minor bug in the package, but decided not to fix it (and just let the relevant test fail) until I can discuss it with Brent. 2000-03-07 Brent Welch * modules/mime/mime.tcl: Modified this to have a soft dependency on the Trf package. If it is available then the encoding and decoding of MIME base64 and quoted-printable will run faster. Also added mime::buildmessage that creates the structured MIME message in a string and returns that - much like mime::copymessage that copies the message to a channel.