Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Final commit for version 1.2.1

  • Loading branch information...
commit bf2b48b39414d4da9604a306403d4adc36b8d2da 1 parent 170748c
@mikel authored
Showing with 52 additions and 50 deletions.
  1. +2 −2 CHANGES
  2. +45 −47 NOTES
  3. +5 −1 log/ChangeLog.txt
View
4 CHANGES
@@ -6,8 +6,8 @@
* Closed Bug - Handled quote boundary being gready on content-type header (M. Mondragon)
* Closed #16025 - Fixed scanner.rb so it passes same tests as scanner.c
* Closed #16283 - Handled incorrect decoding of attachments (M. Aoki - garyo)
-* Closed #16899 - HeaderField.new_from_port and added test cases to cover this code
-* Closed #16900 - UNIXMbox.fromaddr missing port param and does not return Envelope Sender
+* Closed #16899 - HeaderField.new_from_port and added test cases to cover this code (Maarten O.)
+* Closed #16900 - UNIXMbox.fromaddr missing port param and does not return Envelope Sender (Maarten O.)
= TMail 1.2.0 / 2007-11-29
View
92 NOTES
@@ -1,4 +1,4 @@
-[ANN] TMail 1.2.0
+[ANN] TMail 1.2.1 - 11 Jan 2008
TMail is The Mail Handling Library for Ruby!
@@ -20,61 +20,59 @@ http://tmail.rubyforge.org/
Release Summary:
------------------
-New release handles three tickets in the TMail
+New release handles five tickets in the TMail
tracker as well as a lot more documentation and
-removes an unnecessary c-library.
+renames a library to handle copyright concerns.
-One of the tickets was a scanner bug and is fairly critical
-to anyone who is not using the C version of the scanner
-routines (read, anyone using TMail in ActionMailer or
-on Windows etc.)
+Additionally added 25 more test cases to the library
+to handle the above tickets.
+
+This should be a drop in replacement for existing
+TMail installations.
Release Update Details:
-------------------------
+Closed #16899 - HeaderField.new_from_port and added test
+cases to cover this code. Also changed behaviour of
+HeaderField.new_from_port to return nil if it does not
+find a matching header in the port provided. Extended
+UNIXMbox.fromaddr to also search for EnvelopeSender and
+also made it a public method, not private - Thanks to
+Maarten O. for alerting these bugs
+
+Closed #16900 - UNIXMbox.fromaddr missing port param and
+does not return Envelope Sender. This report was
+initially to correct typo on "Regep" to "Regexp". Also
+added test cases to cover this class method. Also added
+ability to scan for the EnvelopeSender explictly as it
+would not come up on searching for "From" due to Regexp
+confilct with From: (with the colon). Thanks to Maarten
+O. for reporting this.
+
Closed 16025 - TMail scanner.rb would not parse ATOM
chars correctly making it fail tests where the C version
-passed them. Fixed this by updating the Scanner.rb
-version to be in step with the C version (there was
-an extra @ symbol in the ATOM CHARS definition
-that was not in the C version.)
-
-Closed 15445 - TMail::Mail#create_forward now returns
-a new Mail object that has the original mail as an
-encoded 7 bit multipart attachment. Also moved
-create_forward and create_reply from tmail/net
-into tmail/interface as it makes more sense to have
-it there.
-
-Closed 15643 - TMail::Mail#reply_addresses was
-returning an empty array if reply_to was set to nil
-(ie, the header field existed but was empty) instead
-of returning the from address or default.
-
-Removed base64.c after doing profiling on several
-platforms and finding out that the Ruby inbuilt
-version is just as fast (varies per platform but
-all in all about the same speed.)
-
-Renamed the Scanner_C extension to TMailScanner.
-
-New release adds extensive new documentation to
-mainly the TMail::Mail class, approximately 500
-lines of examples have been included in the RDoc.
-
-Added a default value to TMail::Mail#sender method
-to allow arbitrary defaults to be passed into the
-method in alignment with all the other mail interface
-methods.
-
-Made base64_decode and base64_encode into ! versions
-as they are destructive on the mail body (encodes the
-body to base64 or decodes it), made aliases for
-base64_decode and base64_encode to point back to the
-bang versions. Doing this with a view to change
-base64_encode to a non destructive version
-(returns the encoded body) in future versions.
+passed them. Fixed this by updating the Scanner.rb
+version to be in step with the C version (there was an
+extra @ symbol in the ATOM CHARS definition that was not
+in the C version.) (mikel)
+
+Closed 16283 - TMail would not decode correctly due to
+bug in text-utils - put in previous patch from old tmail
+trunk version. Thanks to garyo for spotting this.
+
+Closed Bug - Handled quote boundary being gready on
+content-type header fields (M. Mondragon)
+
+Changed the name of mailscanner to tmailscanner to handle
+a copyright issue. MailScanner is a copyrighted name.
+
+Added about 15 test cases from the Rails community. Added
+failing test case for an unquoted @ char in the From
+header field. Need to check fully if this is needed or
+not, but it is there anyway - to be resolved. I have
+emailed 822 mailing list to check this out.
See the changelog for previous changes.
View
6 log/ChangeLog.txt
@@ -10,7 +10,7 @@
== Thu Dec 25 20:10:46 GMT 2007 Mikel Lindsaar <raasdnil@gmail.com>
-* Change the name of mailscanner to tmailscanner to handle a copyright issue. MailScanner is a copyrighted name
+* Change the name of mailscanner to tmailscanner to handle a copyright issue. MailScanner is a copyrighted name.
== Thu Dec 02 11:11:36 GMT 2008 Mikel Lindsaar <raasdnil@gmail.com>
@@ -20,6 +20,10 @@
* Closed 16025 - TMail scanner.rb would not parse ATOM chars correctly making it fail tests where the C version passed them. Fixed this by updating the Scanner.rb version to be in step with the C version (there was an extra @ symbol in the ATOM CHARS definition that was not in the C version.) (mikel)
+== Fri Nov 25 05:41:15 GMT 2007 Mikel Lindsaar <raasdnil@gmail.com>
+
+* Closed 16283 - TMail would not decode correctly due to bug in text-utils - put in previous patch from old tmail trunk version. Thanks to garyo for spotting this.
+
== Mon Nov 19 23:15:29 GMT 2007 Mikel Lindsaar <raasdnil@gmail.com>
* Added about 500 lines of documentation to the interface.rb file.
Please sign in to comment.
Something went wrong with that request. Please try again.