Subject: CVS commit: pkgsrc/mail/p5-Mail-IMAPClient
From: Hiramatsu Yoshifumi
Date: 2011-12-07 05:34:08
Message id: 20111207043408.24F6D175DD@cvs.netbsd.org

Log Message:
Update p5-Mail-IMAPClient to 3.30.

Changes from previous:
version 3.30: Fri Nov 11 09:37:00 EST 2011
	- rt.cpan.org#72347: Starttls array ref argument dereferenced twice
	  [Jonathan Buhacoff]
	- during connect(): Port now defaults 143 or 993 if $self->Ssl
	  [Kodi Arfer]
	- stop reconnect deep recursion if server disconnects on login
	  [Luca Ferrario]
	- reconnect() now returns 1 on success; on error undef or 0=recursive
	- handle EBADF from syswrite in _send_bytes
	- rt.cpan.org#67263: add RFC4978 IMAP COMPRESS Extension support
	  [SDIZ]
	  + new method: compress()
	  + new attributes: Compress Readmoremethod
	- general code cleanup:
	  + new() now always returns $self or undef (never $sock any more)
	  + Socket() now always return a socket or undef
	  + login() now always return $self or undef
	  + _read_more() will now use Readmoremethod if set
	- missing second arg '' for encode_base64 causing AUTHENTICATE
	  PLAIN to fail on lines longer than 76 characters
	  [Yoshiho Yoshida]

version 3.29: Tue Aug  9 00:33:52 EDT 2011
	- rt.cpan.org#69876: ENVELOPE as part of fetch_hash convenience method
	  [Chris Huttman]
	  + added Mail::IMAPClient::BodyStructure::Envelope->parse_string($str)
	    convenience method for handling ENVELOPE data from fetch_hash
	- rt.cpan.org#68310: folders() should not call exists()/STATUS
	  [Gilles Lamiral]
	    - affects folders() and subscribed() methods
	  + use selectable() instead of exists() in call
	    - consider removing extra call to folders()/subscribed()
	  + ensure separator is set properly in folders()
	  + selectable now properly checks for \Noselect flag
	  + update folders() POD to match implementation behavior
	- rt.cpan.org#68648: [patch]: CAPABILITY after authenticate
	  [Stef Simoens]
	  + delete cache after State set to Authenticate
	    - State() is no longer an auto-generated method
	- rt.cpan.org#68755: provided socket loses blocking in 3.19-3.28
	  [Martin Schmitt]

version 3.28: Fri Mar  4 00:17:38 EST 2011
	- rt.cpan.org#66004: internaldate() return undef if no internaldate in reply
	  [Jason Long]
	- rt.cpan.org#66367: fetch_hash uses Escaped_results() in 3.26/3.27
	  (redo) rt.cpan.org#63524: fetch_hash() parse errors
	  [Mathias Reitinger]
	  + fetch_hash: only Escape() data in parenthesized list
	  + update fetch_hash test and add a new test
	- do not touch CRLF in Escape()/Unescape()
	- added Escape() method
	- rt.cpan.org#66287: flags results truncated due to Maxcommandlength
	  [Erik Colson]
	- rt.cpan.org#65694: SASL PLAIN: bad order of login data
	  [Willi Mann]

version 3.27: Sun Feb 13 14:37:27 EST 2011
	- rt.cpan.org#65694: migrate fails
	  [Erik Colson]
	- rt.cpan.org#65470: uninitialized warning in message_to_file
	  [Gilles Lamiral, Mark Hedges]
	- rt.cpan.org#61835: (DOC) in LIST context undef may be returned
	  [Stefan Völkel]
	  + warn/highlight behavior in docs Errors section
	- updated documentation
	  + migrate() documentation fixed
	  + moved Custom Authentication Mechanisms toward end
	  + recommended use of scalar context due to historical API behavior

version 3.26: Mon Jan 31 22:15:04 EST 2011
	- *require Perl 5.8.1 as constant use is invalid on 5.6
	- rt.cpan.org#63524: fetch_hash() parse errors
	  [Brian Kroth]
	  + fixed handling of LITERAL values in response
	  + fixed handling of field names with a dash (e.g. X-SAVEDATE)
	  + fetch_hash now uses Escaped_results() method
	- *fixed Escaped_results() to properly join LITERAL data with
	  the data that comes before and after it
	- *rt.cpan.org#60945: append_file() does not interpret $date as expected
	  [Jason Long]
	  $date should now be 1 (to use the file mtime) or a valid RFC3501 date
	- *rt.cpan.org#61292: memory consumption with message_string()/append()
	   rt.cpan.org#61806: Major problem with one function in IMAPClient
	  [Gilles Lamiral, Casey Duquette]
	  + use @_ / $_[<num>] in critical places to avoid pass by
	    value memory overhead
	  + use in memory files in a few critical places as that code
	    path in Mail::IMAPClient is significantly more efficient
	    with internal memory usage
	  + *new (undocumented/do-not-use-without-good-reason)
	    attribute Maxappendstringlength used by append() and
	    append_string() holds the size (in bytes, default 1 MiB)
	    that triggers when message SCALAR(s) passed to these
	    methods will be treated as an in memory file.  This
	    attribute will likely be removed in a future version.
	  + *append() and append_string() now call append_file() and
	    use an im memory file when length($message) is greater
	    than Maxappendstringlength; other minor code cleanup
	  + *message_string() now calls message_to_file() and uses an
	    in memory file
	  + refactor message_to_file() to use internal _imap_uid_command()
	  + update _read_line() to be more efficient w/CPU in critical
	    section by pulling isa() checks out of main loop also
	    conserve memory by not storing an extra copy of LITERAL
	    data if the data was put into a filehandle from the caller
	  + Memory/working set (KB) comparison (Perl 5.10 cygwin Win7):
	    - test: message_string on 6.1M msg and then append 6.1M msg
	      version | start | after message_string | after append
	      --------+-------+----------------------+-------------
	        2.2.9 |  7624 |                74404 |       131896
	         3.25 |  7716 |                74408 |       156532
	         3.26 |  7684 |                33372 |        42608
	- minor arg cleanup of noop() and tag_and_run()
	- rt.cpan.org#63444: relax get_envelope(), allow empty reply-to
	  [Nikolay Kravchenko]
	- rt.cpan.org#61068: append_string can invalidate a good $date
	- rt.cpan.org#60045: Logout error if delay between BYE and tagged OK
	  [Armin Wolfermann]
	  no longer set an error when this happens
	- rt.cpan.org#61062: migrate() errors
	  [Johan Ekenberg]
	  + rewrote migrate() to be functional and simple
	- Update README and cleanup several old or out of date files

version 3.25: Fri May 28 00:07:40 EDT 2010
	- fix body_string parsing bug and added tests in t/body_string.t
	  [Heiko Schlittermann]
	- rt.cpan.org#57661: uninitialized value warning in IMAPClient::thread
	  [Max Bowsher]
	- rt.cpan.org#57337: Correctly handle multiparts in BodyStructure.pm
	  [Robert Norris]
	  fixes in Mail::IMAPClient::BodyStructure::bodystructure for
	  bugs still in release 3.24
	- rt.cpan.org#57659: install fails when using cPanel GUI
	  [Ken Parisi]
	  hack Makefile.PL to use alarm() and timeout prompt() gracefully
	- relax t/basic.t logout() error check (allow 'BYE' instead of 'OK')
	- left examples/idle.pl out of MANIFEST for 3.24

version 3.24: Fri May  7 17:02:35 EDT 2010
	- rt.cpan.org#48912: wrong part numbers in multipart messages
	  [Dmitry Bigunyak, Gabor Leszlauer]
	- fix Mail::IMAPClient::BodyStructure::bodystructure to
	  properly assign parts for messages using multipart and also
	  include .TEXT parts as well (still not including top level
	  HEADER and TEXT though - bug?)
	- allow _load_module() to set $@ and LastError if module load fails
	- rt.cpan.org#55527: [no] disconnect during DESTROY
	  [Stefan Seifert]
	- updated logout documentation to correctly state that DESTROY
	  is not used to force an automatic logout on DESTROY despite
	  documentation that indicated otherwise
	- update append* documentation to match current implementation
	- rt.cpan.org#55898: append_file can send too many bytes
	  [Jeremy Robst]
	- avoid append_file corner cases operating on lines instead of buffers
	- use binmode on filehandle in append_file
	- add tests to t/basic.t for append_file
	- rt.cpan.org#57048: _quote_search() using $_ in loop instead of $v
	  [Matthaus Kiem]
	- added examples/idle.pl program showing use of idle and idle_data
	- idle_data() should not read/block after server returns data
	  [Marc Thielemann]
	- idle_data() _get_response regexp updated to not match errors
	- idle_data() now uses a timeout of 0 by default as documented
	- _get_response() now checks for defined($code) to allow $code==0

Files:
RevisionActionfile
1.30modifypkgsrc/mail/p5-Mail-IMAPClient/Makefile
1.13modifypkgsrc/mail/p5-Mail-IMAPClient/distinfo