head	1.53;
access;
symbols
	tcllib-1-13:1.53
	tcllib-1-12:1.50
	tklib-0-5:1.47
	tcllib-1-11-1:1.47
	tcllib-1-11:1.45
	tcllib-1-10:1.44
	tcllib-1-9:1.39
	tcllib-1-8:1.33
	tcllib-1-7:1.31
	tcllib-1-6-1:1.28.2.1
	tcllib-1-6-branch:1.28.0.2
	tcllib-1-6:1.28
	tcllib-1-4-0:1.25
	tcllib-1-3-0:1.12
	tcllib-1-2-0:1.11.0.4
	RELEASES:1.11.0.2
	tcllib-1-1-0:1.9
	tcllib-1-0-0:1.6
	tclpro-1-5-0:1.4
	tcllib-0-8-0:1.4
	ajuba-ajuba3-3-0-beta-base:1.4
	tclpro-1-4-1:1.3
	tcllib-0-6-1:1.3
	tclpro-1-4-0:1.3
	ajuba-ajuba2-2-1-base:1.3
	tcllib-0-5:1.3
	ajuba-ajuba2-2-0:1.3
	tcllib-0-4:1.1
	scriptics-sc-2-0-b5:1.1
	scriptics-sc-2-0-fixed:1.1
	scriptics-sc-2-0-b2:1.1
	scriptics-sc-2-0-b1:1.1;
locks; strict;
comment	@# @;


1.53
date	2011.01.25.06.06.39;	author andreas_kupries;	state Exp;
branches;
next	1.52;

1.52
date	2011.01.25.02.23.30;	author andreas_kupries;	state Exp;
branches;
next	1.51;

1.51
date	2011.01.23.01.23.20;	author andreas_kupries;	state Exp;
branches;
next	1.50;

1.50
date	2009.12.07.17.39.24;	author andreas_kupries;	state Exp;
branches;
next	1.49;

1.49
date	2009.09.28.20.44.17;	author andreas_kupries;	state Exp;
branches;
next	1.48;

1.48
date	2009.04.13.22.03.37;	author andreas_kupries;	state Exp;
branches;
next	1.47;

1.47
date	2008.12.15.20.25.31;	author andreas_kupries;	state Exp;
branches;
next	1.46;

1.46
date	2008.12.02.04.01.56;	author andreas_kupries;	state Exp;
branches;
next	1.45;

1.45
date	2008.10.17.05.32.41;	author andreas_kupries;	state Exp;
branches;
next	1.44;

1.44
date	2007.09.12.16.29.54;	author andreas_kupries;	state Exp;
branches;
next	1.43;

1.43
date	2007.08.08.21.23.01;	author andreas_kupries;	state Exp;
branches;
next	1.42;

1.42
date	2007.08.01.23.17.33;	author andreas_kupries;	state Exp;
branches;
next	1.41;

1.41
date	2007.03.25.01.29.26;	author andreas_kupries;	state Exp;
branches;
next	1.40;

1.40
date	2006.10.30.06.17.28;	author andreas_kupries;	state Exp;
branches;
next	1.39;

1.39
date	2006.10.04.02.56.06;	author andreas_kupries;	state Exp;
branches;
next	1.38;

1.38
date	2006.09.28.07.56.44;	author andreas_kupries;	state Exp;
branches;
next	1.37;

1.37
date	2006.01.29.02.09.43;	author andreas_kupries;	state Exp;
branches;
next	1.36;

1.36
date	2006.01.24.05.10.01;	author andreas_kupries;	state Exp;
branches;
next	1.35;

1.35
date	2006.01.22.00.27.23;	author andreas_kupries;	state Exp;
branches;
next	1.34;

1.34
date	2006.01.10.23.05.19;	author andreas_kupries;	state Exp;
branches;
next	1.33;

1.33
date	2005.10.06.21.29.27;	author andreas_kupries;	state Exp;
branches;
next	1.32;

1.32
date	2004.10.20.03.55.03;	author andreas_kupries;	state Exp;
branches;
next	1.31;

1.31
date	2004.10.06.14.36.06;	author andreas_kupries;	state Exp;
branches;
next	1.30;

1.30
date	2004.08.26.05.50.39;	author andreas_kupries;	state Exp;
branches;
next	1.29;

1.29
date	2004.08.05.03.53.45;	author andreas_kupries;	state Exp;
branches;
next	1.28;

1.28
date	2004.02.16.04.14.49;	author andreas_kupries;	state Exp;
branches
	1.28.2.1;
next	1.27;

1.27
date	2004.01.25.06.15.04;	author andreas_kupries;	state Exp;
branches;
next	1.26;

1.26
date	2003.11.19.06.23.07;	author andreas_kupries;	state Exp;
branches;
next	1.25;

1.25
date	2003.05.06.04.56.11;	author andreas_kupries;	state Exp;
branches;
next	1.24;

1.24
date	2003.05.02.07.42.06;	author andreas_kupries;	state Exp;
branches;
next	1.23;

1.23
date	2003.04.21.19.56.26;	author andreas_kupries;	state Exp;
branches;
next	1.22;

1.22
date	2003.04.11.20.07.24;	author andreas_kupries;	state Exp;
branches;
next	1.21;

1.21
date	2003.04.09.18.46.29;	author andreas_kupries;	state Exp;
branches;
next	1.20;

1.20
date	2003.04.03.20.13.05;	author andreas_kupries;	state Exp;
branches;
next	1.19;

1.19
date	2003.04.03.01.50.53;	author andreas_kupries;	state Exp;
branches;
next	1.18;

1.18
date	2003.01.19.07.58.44;	author andreas_kupries;	state Exp;
branches;
next	1.17;

1.17
date	2002.10.14.21.00.14;	author andreas_kupries;	state Exp;
branches;
next	1.16;

1.16
date	2002.10.14.19.17.22;	author andreas_kupries;	state Exp;
branches;
next	1.15;

1.15
date	2002.09.04.17.22.51;	author andreas_kupries;	state Exp;
branches;
next	1.14;

1.14
date	2002.09.03.19.27.28;	author andreas_kupries;	state Exp;
branches;
next	1.13;

1.13
date	2002.09.03.17.13.51;	author andreas_kupries;	state Exp;
branches;
next	1.12;

1.12
date	2002.03.25.23.15.13;	author andreas_kupries;	state Exp;
branches;
next	1.11;

1.11
date	2002.01.18.20.51.16;	author andreas_kupries;	state Exp;
branches;
next	1.10;

1.10
date	2001.12.11.17.58.20;	author andreas_kupries;	state Exp;
branches;
next	1.9;

1.9
date	2001.10.17.17.27.26;	author andreas_kupries;	state Exp;
branches;
next	1.8;

1.8
date	2001.08.20.23.17.33;	author andreas_kupries;	state Exp;
branches;
next	1.7;

1.7
date	2001.08.02.16.22.26;	author andreas_kupries;	state Exp;
branches;
next	1.6;

1.6
date	2001.06.22.15.29.18;	author andreas_kupries;	state Exp;
branches;
next	1.5;

1.5
date	2001.05.02.15.03.33;	author redman;	state Exp;
branches;
next	1.4;

1.4
date	2000.09.14.21.32.53;	author redman;	state Exp;
branches;
next	1.3;

1.3
date	2000.05.18.18.20.50;	author redman;	state Exp;
branches;
next	1.2;

1.2
date	2000.05.18.00.00.38;	author redman;	state Exp;
branches;
next	1.1;

1.1
date	2000.03.06.18.57.54;	author redman;	state Exp;
branches;
next	;

1.28.2.1
date	2004.05.27.02.47.46;	author andreas_kupries;	state Exp;
branches;
next	;


desc
@@


1.53
log
@Tcllib 1.13 released
@
text
@2011-01-24  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	*
	* Released and tagged Tcllib 1.13 ========================
	* 

2011-01-23  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.test: Fixed tests results to list the new options.
	* pop3.tcl: Fixed issue with closing during open introduced by the
	  patch. When a connect error occurs we cannot send a QUIT any
	  longer, and have to close the socket directly.

2011-01-22  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.tcl: Extended package with STARTTLS support provided by
	* pop3.man: Pascal Scheffers. This switches a regular connection
	* pkgIndex.tcl: over to SSL/TLS. Version bumped to 1.8.

2009-12-07  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	*
	* Released and tagged Tcllib 1.12 ========================
	* 

2009-09-28  Andreas Kupries  <andreask@@activestate.com>

	* pop3.test: Moved the dialog setup for test pop3-7.0 into the
	  test, to ensure that it is not run if TLS is not available.

2009-04-13  Andreas Kupries  <andreask@@activestate.com>

	* pop3.tcl (::pop3::open): Extended to accept a new option
	* pop3.man: -socketcmd, through which the user can override the
	* pop3.test: way the connection is opened. Primary use is securing
	* pkgIndex.tcl: of the connection via SSL (package tls, command
	  tls::socket). Updated documentation. Extended testsuite. Bumped
	  package version to 1.7.

2008-12-12  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	*
	* Released and tagged Tcllib 1.11.1 ========================
	* 

2008-10-16  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	*
	* Released and tagged Tcllib 1.11 ========================
	* 

2007-09-12  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	*
	* Released and tagged Tcllib 1.10 ========================
	* 

2007-08-08  Andreas Kupries  <andreask@@activestate.com>

	* pop3.test: And snit is loaded by coserv.tcl too, no explicit
	  load required.

2007-08-01  Andreas Kupries  <andreask@@activestate.com>

	* pop3.test: Updated to new snit dependency in comm.

2007-03-21  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.man: Fixed all warnings due to use of now deprecated
	  commands. Added a section about how to give feedback.

2006-10-29  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.test: Made pop3-0.5 more robust, accept more than just
	  'connection refused' as proper failure to connect. Like 'timed
	  out'.

2006-10-03  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	*
	* Released and tagged Tcllib 1.9 ========================
	* 

2006-09-28  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.test: Added use of local log package, fixed bug in dialog
	  setup for testcases pop3-2.4 and -2.5, extended these two test
	  cases to have the dialog trace in their result.

2006-01-28  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.test: Fixed cleanup of temp. files used by testsuite.

2006-01-23  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.test: More boilerplate simplified via use of test support.

2006-01-19  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.test: Hooked into the new common test support code.

2006-01-10  Andreas Kupries <andreask@@activestate.com>

	* pop3.test: Fixed [SF Tcllib Bug 1316056]. Uncluttering test
	  output.

2005-10-06  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	*
	* Released and tagged Tcllib 1.8 ========================
	* 

2004-10-12  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* clnt.tcl: Removed old unused code. It was part of the testsuite
	* srv.tcl:  in the very beginning. It was unused in the first
	  rewrite to the old sub process and dialog facility.

	* pop3.test: Rewritten to use the new facilities for programmed
	  interaction and sub processes.

	* pop3.tcl (::pop3::open): Capitalized the user and pass
	  commands. Every command in the wire is now fully capitalized.

2004-10-05  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	*
	* Released and tagged Tcllib 1.7 ========================
	* 

2004-08-25  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.test: Added code to remove the temp. file containing the
	  server log.

2004-05-23  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	*
	* Released and tagged Tcllib 1.6.1 ========================
	* 

2004-02-15  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	*
	* Released and tagged Tcllib 1.6 ========================
	* 

2004-01-21  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pkgIndex.tcl: Version bumped up to 1.6.1.
	* pop3.man:

	* pop3.test: New test for the corner case.
	* pop3.tcl (::pop3::RetrFast): Thanks to Clif Flynt for reporting a
	  new corner case I had not considered in the fast/slow
	  transition code, plus patch. Modified a number of string
	  comparisons, using [string equal] instead of "==" (Improved
	  performance due to less conversion and less checking for
	  numerics, and possibly bytecompilation in Tcl 8.4+).

2003-11-18  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.tcl (pop3::open): Remembering initial count of messages, as
	  limit for message ids.
	  (pop3::delete): Replaced [status] call with access to stored
	  limit for validation of message ids.
	  (pop3::retrieve): Ditto.
	  The changes above fix [SF Tcllib Bug 833486].

	* pop3.test: Updated testsuite to the changes in the sequences of
	  pop3 commands (New STAT after PASS, and no STAT before
	  LAST/RETR, nor before LAST/DELE).

2003-05-05  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	*
	* Released and tagged Tcllib 1.4 ========================
	* 

2003-05-02  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.test: Creating the name of the file containing the fake
	  server only once. Because the tcltest 1.0 [makeFile] coming with
	  Tcl 8.2 will return the fully generated name only once, and not
	  everytime it is called.

2003-04-21  Andreas Kupries  <andreask@@activestate.com>

	* pop3.test (0.6): Fixed test 0.6, removed dependency on service
	  running on port 25 (smtp), using fake service on some free port
	  instead.

2003-04-11  Andreas Kupries  <andreask@@activestate.com>

	* pop3.tcl:
	* pop3.man:
	* pkgIndex.tcl:  Set version of the package to to 1.6

2003-04-09  Andreas Kupries  <andreask@@activestate.com>

	* pop3.man: Documented new API.

	* pop3.tcl: More logging of internal activity. Final nail into the
	  bug #528928 (Additional border cases were not handled yet,
	  incorrect handling detected through the new testsuite).

	  New API 'pop3::config'.

	* pop3.test: Testsuite rewritten. Uses the sub-process and server
	  support provided by the new module 'devtools'. Avoids the stdin
	  lockup on windows. Uses a micro server for fixed responses to
	  the client instead of a true pop3 server, simplifies the
	  testing, less external dependencies, also better control over
	  the data sent to the client = easier to create intentionally
	  (semi-)bogus information to stress border cases.

2003-04-03  Andreas Kupries  <andreask@@activestate.com>

	* pop3.tcl: Fixed bug in the new code which wasn't found because
	  that case was untestable when using a full-blown pop3 demon (Was
	  unable to construct a message which caused the boundary
	  condition to ocur in the client). Found using the microserver
	  code.

	* pop3.test: Removed test case planned to test the above mentioned
	  boundary case. Added code for a microserver based testcase which
	  does exercize the condition. Deactivated as microserver is not
	  yet part of tcllib.

	* pop3.test:
	* srv.tcl: Corrected leftover changes from yesterday which should
	  not have been in the commit. I.e. reactivated reporting and
	  correct cleanup.

2003-04-02  Andreas Kupries  <andreask@@activestate.com>

	* srv.tcl:
	* pop3.test: Added tests and messages for bug #528928.

	* pop3.tcl (pop3::open): Bug fix, close channel to server when
	  talking to it fails (no greeting, login failure). This cleans up
	  a leak of open sockets.

	  (pop3::RetrFast): Fixed bug #528928 where a .-stuffed line was
	  misinterpreted as mail terminator.

2003-01-16  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.man: More semantic markup, less visual one.

2002-10-14  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.test: Updated to expect 10 messages in pop3-6.0.
	* srv.tcl: Initialize server with 10 messages. Divert log output
	  to server log. Prevents hangs in pop3-6.0.

	* pop3.tcl (pop3::retrieve): Changed conditionals around [scan] to
	  check for the actual number of conversions required to make the
	  code work, instead of < 0. This fixes bug 620062.

2002-09-04  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* srv.tcl: Extended to cleanup the fake maildrop directories when
	  exiting the server.

	* pop3.test: Updated to handle differences between 8.3 and 8.4
	  (different error messages). Added code to suppress logging under
	  normal circumstances. Extended to clean up the log file created
	  by the test pop3 server.

2002-09-03  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.test: Added testcase 6.0, a nano-client to retrieve and
	  delete all messages on a pop server in one go. Directly derived
	  from the script for Tcllib bug #501577. Unable to reproduce that
	  bug :(
	
	* pop3.test:
	* clnt.tcl:
	* srv.tcl: Added testsuite. Incomplete. No test of 'delete'
	  command yet. The problems found by the testsuite so far were all
	  in the used pop3 server (pop3d module of tcllib).

2002-03-25  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.man: New file, doctools manpage.

2002-01-15  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* Bumped version to 1.5.1

2001-12-11  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.tcl (retrieve): Forgot several 'RETR $index'
	  commands. Fixed now. This is tcllib bug item #490151 reported by
	  an unknown person.

2001-10-16  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.n:
	* pop3.tcl:
	* pkgIndex.tcl: Version up to 1.5

2001-08-20  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.tcl: Added UIDL command, patch [448634] by Mark G. Saye
	  <markgsaye@@users.sourceforge.net>. Code was added manually as
	  the patch was not applicable anymore after the recent changes
	  (see below). Updated implementation of UIDL to use the new
	  command [RetrSlow] instead of performing the retrieval by
	  itself. Also updated the implementations of the TOP and LIST
	  commands to do the same.

2001-08-02  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.n: Updated to new package version, see [447013] too.

	* pop3.tcl: Lots of changes with regard to items [443613] and
	  [443645]. Switched auto back to binary (or else the counting of
	  octects is not right and we will hang trying to read more than
	  is coming from the server). This means we have to perform EOL
	  translation on the message on our own, this was effectively an
	  unreported bug. also unreported was that the faster code did not
	  do .-unstuffing, which the slower line-by-line code did. This is
	  now fixed too. My thanks to Ashwin Hirschi
	  <deery@@users.sourceforge.net> for his help in testing the code.

2001-07-31  Andreas Kupries <andreas_kupries@@users.sourceforge.net>

	* pkgIndex.tcl: Updated to reflect pkg version in the code. After
	  the fact comment: This also fixes SF bug [447013]

	* pop3.tcl: Added 'state' variable to remember state information
	  about the active (= open) pop3 connections. This state includes
	  information about the retrieval mode to use and whether we are
	  talking to an MS Exchange server or not. MS Exchange can't be
	  set automatically for now, but the retrieval mode is
	  auto-detected. Because of the former, pop3::open now accepts the
	  options -msex and -retr-mode. This should allay and fix the SF
	  bugs [443613] and [443645].

	  (pop3::list): Fixed bug [443619].

2001-06-21  Andreas Kupries <andreas_kupries@@users.sourceforge.net>

	* pop3.tcl: Fixed dubious code reported by frink.

2001-01-24  Scott Redman  <redman@@tivo.com>

	* pop3.tcl: Fixed a bug when getting the "." back
	with extra \r by adding a [string trimright $line].
	Reported by Joe English, [bug: 124477].

2000-09-14  Scott Redman  <redman@@ajubasolutions.com>

	* pop3.tcl: Based on feedback from Cameron Laird, I did some
	digging into the RFC and figured out that using the number of
	octets given by RETR at the beginning of the retrieval to grab
	that number of bytes was far more efficient.  Thanks to Cameron
	for pointing that out.  Speed for retrieval should be greatly
	improved.  Changed version to 1.1.

2000-05-18  Scott Redman  <redman@@scriptics.com>

	* pop3.tcl:
	* pop3.n:  Applied patch from Petteri Kettunen to add the LIST and
	TOP implementations.  See RFC1939.  Also removed a spurious puts
	command.  [bug: 5426]

2000-05-17  Scott Redman  <redman@@scriptics.com>

	* pop3.tcl:  Remove extra '.'s added by the POP3 server.  If a
	line begins with a '.', the server will add a '.' to the line to
	prevent confusion with the end-of-message character (which is also
	'.'). [bug: 5522]

2000-03-06  Scott Redman  <redman@@scriptics.com>

	* ChangeLog:
	* man.macros:
	* pkgIndex.tcl:
	* pop3.n:
	* pop3.tcl:  New POP3 email client API, inspired by Scott
	Beasley's "frenchie" email client program.  
@


1.52
log
@
	* pop3.test: Fixed tests results to list the new options.
	* pop3.tcl: Fixed issue with closing during open introduced by the
	  patch. When a connect error occurs we cannot send a QUIT any
	  longer, and have to close the socket directly.
@
text
@d1 6
@


1.51
log
@
	* pop3.tcl: Extended package with STARTTLS support provided by
	* pop3.man: Pascal Scheffers. This switches a regular connection
	* pkgIndex.tcl: over to SSL/TLS. Version bumped to 1.8.
@
text
@d1 7
@


1.50
log
@Added README for 1.12, and tagged the ChangeLogs
@
text
@d1 6
@


1.49
log
@
	* pop3.test: Moved the dialog setup for test pop3-7.0 into the
	  test, to ensure that it is not run if TLS is not available.
@
text
@d1 6
@


1.48
log
@
	* pop3.tcl (::pop3::open): Extended to accept a new option
	* pop3.man: -socketcmd, through which the user can override the
	* pop3.test: way the connection is opened. Primary use is securing
	* pkgIndex.tcl: of the connection via SSL (package tls, command
	  tls::socket). Updated documentation. Extended testsuite. Bumped
	  package version to 1.7.
@
text
@d1 5
@


1.47
log
@1.11.1 release.
@
text
@d1 9
@


1.46
log
@Fix typo in ChangeLogs made at the time of the 1.11 release.
@
text
@d1 6
@


1.45
log
@
	*
	* Released and tagged Tcllib 1.11 ========================
	*
@
text
@d1 1
a1 1
2008-10-16  1.11  <andreas_kupries@@users.sourceforge.net>
@


1.44
log
@Tcllib 1.10 tagged and released.
@
text
@d1 6
@


1.43
log
@
	* pop3.test: And snit is loaded by coserv.tcl too, no explicit
	  load required.
@
text
@d1 6
@


1.42
log
@
	* pop3.test: Updated to new snit dependency in comm.
@
text
@d1 5
@


1.41
log
@
Added sections about how to give
feedback (bugs, ideas, ...), and
where.
@
text
@d1 4
@


1.40
log
@
	* pop3.test: Made pop3-0.5 more robust, accept more than just
	  'connection refused' as proper failure to connect. Like 'timed
	  out'.
@
text
@d1 5
@


1.39
log
@
	*
	* Released and tagged Tcllib 1.9 ========================
	*
@
text
@d1 6
@


1.38
log
@
	* pop3.test: Added use of local log package, fixed bug in dialog
	  setup for testcases pop3-2.4 and -2.5, extended these two test
	  cases to have the dialog trace in their result.
@
text
@d1 6
@


1.37
log
@Fixed usage of temp. files in testsuites, also fixed use of
duplicate test names.
@
text
@d1 6
@


1.36
log
@Simplified the testsuite boilerplate in the packages
"[i-r]*", using the new commands in the test support.

More util commands for test support.
@
text
@d1 4
@


1.35
log
@Removed comon test constrants from 'all.tcl', ditto
'wrongNumArgs' and 'tooManyArgs' emulations. This is now all
in the common test support code.

Put common test constraints into the common test support
code.

Fixed expected errorCode in math-7.4

Replaced 'queryConstraint' with regular 'testConstraint'.

Removed more copies of the common command "dictsort".

Hooked the "[s-z]*" packages into the new common test
support code.

Hooked the "[m-r]*" packages into the new common test
support code.

Updated Tcl dependency information for logger::utilities,
requires 8.4 due to use of new trace APIs.

Hooked the "[hijkl]*" packages into the new common test
support code.

Hooked the "[efg]*" packages into the new common test
support code.

Hooked the "[cd]*" packages into the new common test support
code.



Fixed usage of 8.4isms in package declared to work for 8.2+.

Better emulation of testConstraint command, with query
ability.

Hooked all "[ab]*" packages into the new test support code.

Fixed reversed guard conditions, and polished the error
messages a bit.
@
text
@d1 4
@


1.34
log
@
	* tree.test: Fixed [SF Tcllib Bug 1316061]. Uncluttering test
	  output.

	* pop3d.test: Fixed [SF Tcllib Bug 1316057]. Uncluttering test
	  output.

	* pop3.test: Fixed [SF Tcllib Bug 1316056]. Uncluttering test
	  output.

	* png.test: Fixed [SF Tcllib Bug 1316055]. Uncluttering test
	  output.

	* htmlparse.test: Fixed [SF Tcllib Bug 1316049]. Uncluttering test
	  output.

	* dacceptor.test: Fixed [SF Tcllib Bug 1316040]. Uncluttering test
	* dexec.test:     output.
	* fa.test:
	* faop.test:
	* tests/da_accept.test:
	* tests/de_exec.test:

	* counter.test: Fixed [SF Tcllib Bug 1316036]. Uncluttering test
	  output.

	* comm.test: Fixed [SF Tcllib Bug 1316033]. Uncluttering test
	  output.
@
text
@d1 4
@


1.33
log
@	* Released and tagged Tcllib 1.8 ========================
@
text
@d1 5
@


1.32
log
@Merging imported ChangeLogs.

Imported dns bugfix for [Tcllib SF Bug 1018934].

New example for htmlparse, by Pat.

Removed old cruft used by tyhe testsuite in the very
beginnings. Now two generations too old.

Manual merge changelog.

Removed old code for sub processes and programmed
interactions.

Testsuite rewritten to use the new facilities for programmed
interaction and sub processes.

New code for mgmt of subprocesses and serial interactions
with servers and clients, i.e. the generation of fake
servers and fake clients.

Better hiding when Tk is used by the tests. Also more info
about test environment (shell in use).

Capitalized the USER and PASS commands. Now every command on
the wire is fully capitalized.

Bump version to differentiate CVS from release.
@
text
@d1 6
@


1.31
log
@Released and taggen Tcllib 1.7.

Manual merge of ftpd changes.

Last minute changes to ftpd, jpeg, updated README.

Moved version to 1.7, release version.
@
text
@d1 12
@


1.30
log
@fixed usage of package md5, version 1 versus 2.

Clreanup of server log.
@
text
@d1 6
@


1.29
log
@Import Pat, smtp work: No authentication if there is no
username.

Textutil ChangeLog merge.

Prevent downgraded version numbers in mime from
contaminating the main line.

Merging bugfix branch changelogs back into the mainline.

ChangeLog and index merge.
@
text
@d1 5
@


1.28
log
@
	*
	* Released and tagged Tcllib 1.6 ========================
	*

	* list.tcl (split): New method, like 'filter', but returns lists
	* list.test:        of both passing and failing elements. Extended
	* struct_list.man:  both testsuite and documentation.
@
text
@d1 6
@


1.28.2.1
log
@Tagged for release.

Last minute fix of buglet in smtp, asking for wrong version
of mime.

Release engineering. Updated version numbers to reflect the
changes made to various modules and packages.

Also added the README for version 1.6.1.
@
text
@a0 6
2004-05-23  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	*
	* Released and tagged Tcllib 1.6.1 ========================
	* 

@


1.27
log
@
	* pkgIndex.tcl: Version bumped up to 1.6.1.
	* pop3.man:

	* pop3.test: New test for the corner case.
	* pop3.tcl (::pop3::RetrFast): Thanks to Clif Flynt for reporting a
	  new corner case I had not considered in the fast/slow
	  transition code, plus patch. Modified a number of string
	  comparisons, using [string equal] instead of "==" (Improved
	  performance due to less conversion and less checking for
	  numerics, and possibly bytecompilation in Tcl 8.4+).


	* matrix.test: Implemented (de)serialization of matrix objects,
	* matrix.tcl:  copy and assignment operators, and a transpose
	* matrix.man:  method. Extended testsuite and documentation.
@
text
@d1 6
@


1.26
log
@
	* pop3.tcl (pop3::open): Remembering initial count of messages, as
	  limit for message ids.
	  (pop3::delete): Replaced [status] call with access to stored
	  limit for validation of message ids.
	  (pop3::retrieve): Ditto.
	  The changes above fix [SF Tcllib Bug 833486].

	* pop3.test: Updated testsuite to the changes in the sequences of
	  pop3 commands (New STAT after PASS, and no STAT before
	  LAST/RETR, nor before LAST/DELE).
@
text
@d1 13
@


1.25
log
@
	*
	* Released and tagged Tcllib 1.4 ========================
	*
@
text
@d1 13
@


1.24
log
@
	* pop3d.test: Added propagation of auto_path so that
	  sub-processes are able to find additional packages even if
	  tcllib is not installed.

	* ncgi.test: Fixed all the tests which use a sub-process. The
	  auto_path was not propagated, causing the sub-process to require
	  an installed tcllib for correct operation (i.e. to find the
	  other packages ncgi depends on, like fileutil). also changed the
	  test prolog to match the other testsuites.

	* subserv.tcl (muserv): Propagate the auto_path into the
	  subprocess so that it is able to find all packages the server
	  might require. Without that the server will need an installed
	  tcllib, for example. This fixes a hang in the pop3 testsuite
	  when tcllib is not installed.

	* pop3.test: Creating the name of the file containing the fake
	  server only once. Because the tcltest 1.0 [makeFile] coming with
	  Tcl 8.2 will return the fully generated name only once, and not
	  everytime it is called.
@
text
@d1 6
@


1.23
log
@
	* pop3.test (0.6): Fixed test 0.6, removed dependency on service
	  running on port 25 (smtp), using fake service on some free port
	  instead.
@
text
@d1 7
@


1.22
log
@
	* pop3.tcl:
	* pop3.man:
	* pkgIndex.tcl:  Set version of the package to to 1.6
@
text
@d1 6
@


1.21
log
@
	* pop3.man: Documented new API.

	* pop3.tcl: More logging of internal activity. Final nail into the
	  bug #528928 (Additional border cases were not handled yet,
	  incorrect handling detected through the new testsuite).

	  New API 'pop3::config'.

	* pop3.test: Testsuite rewritten. Uses the sub-process and server
	  support provided by the new module 'devtools'. Avoids the stdin
	  lockup on windows. Uses a micro server for fixed responses to
	  the client instead of a true pop3 server, simplifies the
	  testing, less external dependencies, also better control over
	  the data sent to the client = easier to create intentionally
	  (semi-)bogus information to stress border cases.
@
text
@d1 6
@


1.20
log
@
	* pop3.tcl: Fixed bug in the new code which wasn't found because
	  that case was untestable when using a full-blown pop3 demon (Was
	  unable to construct a message which caused the boundary
	  condition to ocur in the client). Found using the microserver
	  code.

	* pop3.test: Removed test case planned to test the above mentioned
	  boundary case. Added code for a microserver based testcase which
	  does exercize the condition. Deactivated as microserver is not
	  yet part of tcllib.

	* pop3.test:
	* srv.tcl: Corrected leftover changes from yesterday which should
	  not have been in the commit. I.e. reactivated reporting and
	  correct cleanup.
@
text
@d1 18
@


1.19
log
@
	* srv.tcl:
	* pop3.test: Added tests and messages for bug #528928.

	* pop3.tcl (pop3::open): Bug fix, close channel to server when
	  talking to it fails (no greeting, login failure). This cleans up
	  a leak of open sockets.

	  (pop3::RetrFast): Fixed bug #528928 where a .-stuffed line was
	  misinterpreted as mail terminator.

	* pop3d_dbox.tcl: Started to add log output.

	* pop3d.tcl: Added "."-stuffing. Not done by mime, out of scope,
	  has to be done by the transport, i.e. the pop3 demon. Also
	  removed the transmission of superfluous newline at end of the
	  message.
@
text
@d1 18
@


1.18
log
@
	* More doctools changes: Command [strong] is deprecated now. Added
	  the command [copyright]. Went through all manpages to eliminate
	  [strong]. Partial setting of copyright information, where known.

	* mkInstallScripts.tcl:
	* Makefile.in (install-libraries): Added module specific
	  installation code.

	  doctools: Install message catalogs and predefined formatting
	  engines.

	  textutil: Install hyphenation files.

	* Module doctools rewritten to make it a true package +
	  application, instead of a pure application module. This means
	  that this module now truly installs some functionality useable
	  by other applications and packages.

	----------------------------------------------------------------

	* mpformats/fmt.html:  Removed 'strong' formatting. The checker
	* mpformats/fmt.latex: warns if used and warnings requested, it
	* mpformats/fmt.nroff: now also redirects the command to 'emph'.
	* mpformats/fmt.wiki:  The option -visualwarn (doctools, and
	* mpformats/fmt.null:  mpexpand) renamed to -deprecated. Message
	* mpformats/fmt.list:  'visualmarkup' removed from the catalogs,
	* mpformats/c.msg:     and 'depr_strong' added instead.
	* mpformats/en.msg:
	* mpformats/de.msg:
	* checker.tcl:
	* doctools.tcl:
	* mpexpand:

	* doctools.man:    Updated, converted [strong] to better
	* dtformat.man:    formatting commands. Ditto for all manpages
	* dtformatter.man: in tcllib containing 'strong'. 'strong' is now
	* mpexpand.man:    not present anymore.

	* mpformats/_common.tcl: Applied a patch by Joe English adding the
	* mpformats/fmt.tmml:    copyright information to the appropriate
	                         place in the TMML output. This also fixes
				 a bug in c_get_copyright where an empty
				 string resulted in a incomplete line
				 being given to the formatter.

	* mpformats/fmt.html:  Removed the phrase 'All rights reserved'
	* mpformats/fmt.latex: from the code, on recommendation by
	* mpformats/fmt.nroff: Joe English.
	* mpformats/fmt.wiki:

	* mpformats/fmt.html:  Changed to display copyright information in
	* mpformats/fmt.latex: the conversion result itself and not only
	* mpformats/fmt.nroff: embedded in comments.
	* mpformats/fmt.wiki:

	* doctools.tcl:          Added a new formatting command,
	* doctools.test:         'copyright', to declare/assign copyright
	* doctools.man:          for manpages. Updated both documentation
	* dtformat.man:          and testsuite. Extended the common code
	* checker.tcl:           base with convenience methods for storing
	* api.tcl:               and retrieving such information. The
	* mpformats/fmt.html:    retrieval operation also implements the
	* mpformats/fmt.latex:   logic giving the information in a manpage
	* mpformats/fmt.list:    precedence over information coming from the
	* mpformats/fmt.nroff:   processor. Updated all predefined engines
	* mpformats/fmt.null:    to handle the new command. TMML done only
	* mpformats/fmt.tmml:    partially, as I don't know where the copy-
	* mpformats/fmt.wiki:    right has to go.
	* mpformats/_common.tcl:
	* mpformats/_html.tcl:
	* mpformats/_nroff.tcl:
	* mpexpand:

	* mpexpand:      Moved format help into the package itself.
	* doctools.tcl:  Changed the checker. Input syntax errors are not
	* checker.tcl:   written to stderr anymore, but reported through
	* doctools.man:  an standard tcl error. Warnings are collected and
	* doctools.test: can be queried after a formatting run. Made the
	                 generic engine more robust against failures in a
			 formatting engine. Wrote documentation for the
			 package. Extended the configuration method to be
			 more standard. Wrote a testsuite.

	* mpexpand:              Nearly complete rewrite of the system.
	* mpformats/fmt.html:    The recognized input format was _not_
	* mpformats/fmt.latex:   changed.  The main functionality was
	* mpformats/fmt.list:    placed into a package, doctools.  This
	* mpformats/fmt.nroff:   package allows the creation of multiple
	* mpformats/fmt.null:    formatter objects, to be used alone or
	* mpformats/fmt.tmml:    together.  The application 'mpexpand' was
	* mpformats/fmt.wiki:    rewritten to use that package and is now
	* mpformats/_common.tcl: much simpler.  The communication between
	* mpformats/_nroff.tcl:  the various stages was made simpler, and
	* mpformats/_xml.tcl:    one slave interpreter was dropped because
	* mpformats/_html.tcl:   of this.  It might be added back if its
	* api.tcl:               existence proves to be beneficial.  The
	* checker.tcl:           API between main systen and formatter
	* doctools.tcl:          engine was changed, consequently all
	* dtformatter.man:       existing engines had to be updated.  They
	                         were also made simpler, especially in the
	                         area of list handling, because of the
				 validation done by the checker subsystem.
				 The version number is now 1.0.
@
text
@d1 12
@


1.17
log
@
	* pop3.test: Updated to expect 10 messages in pop3-6.0.
	* srv.tcl: Initialize server with 10 messages. Divert log output
	  to server log. Prevents hangs in pop3-6.0.
@
text
@d1 4
@


1.16
log
@
	* pop3.tcl (pop3::retrieve): Changed conditionals around [scan] to
	  check for the actual number of conversions required to make the
	  code work, instead of < 0. This fixes bug 620062.
@
text
@d3 4
@


1.15
log
@
	* srv.tcl: Extended to cleanup the fake maildrop directories when
	  exiting the server.

	* pop3.test: Updated to handle differences between 8.3 and 8.4
	  (different error messages). Added code to suppress logging under
	  normal circumstances. Extended to clean up the log file created
	  by the test pop3 server.

	==============================================================

	* all.tcl (tcltest::tooManyMessage): Additional command to create
	  different error messages for 8.3 and 8.4. Used in the testsuite
	  of pop3.
@
text
@d1 6
@


1.14
log
@
	* pop3.test: Added testcase 6.0, a nano-client to retrieve and
	  delete all messages on a pop server in one go. Directly derived
	  from the script for Tcllib bug #501577. Unable to reproduce that
	  bug :(

	* pop3d.tcl (Transfer): Use a single dot to write the
	  terminator. Not \n.\n. Puts does the terminating \n, and
	  buildmessage/copymessage the other. Brought the client out of
	  sync after a retrieval because of an empty line after the
	  terminator line of the multi-line response.
@
text
@d1 10
@


1.13
log
@
	* pop3.test:
	* clnt.tcl:
	* srv.tcl: Added testsuite. Incomplete. No test of 'delete'
	  command yet. The problems found by the testsuite so far were all
	  in the used pop3 server (pop3d module of tcllib).

	---------------------------------------------------------------

	* Note aside: The pop3 server may understate the size of a message
	  and of the maildrop. This happens as the package 'mime' we use
	  to transfer a message may add additional headers not present in
	  the original message (For example Mime-Version and/or
	  Content-Type).

	* pop3d.tcl (::pop3d::Transfer): Fixed oversight in my usage of
	  'mime::copymessage'. This command copies a mime message to a
	  channel, but does not know about the framing protocol. In other
	  words, it does not write the singular dot closing a pop3 data
	  transfer. We have to do this in the calling routine. Added such
	  a piece of code. Fixed problem with distinguishing RETR and TOP
	  modes, wrong conditional.

	* pop3d.test:
	* pop3d.tcl (CheckLogin): Now additionally retrieves size of
	  maildrop after querying the number of waiting messages.
	  (H_stat): Returns size of maildrop as second result of
	  STAT. Bugfix, pop3d was not rfc 1939 compliant with respect to
	  STAT, and now is. This problem was found while working on the
	  testsuite for the pop3 package (Result of pop3::stat was
	  bogus). Updated the testsuite.

	* pop3d_dbox.tcl:
	* pop3d_dbox.man: method 'size' no accepts a call without message
	  id and returns the total size of the mail drop for that
	  case. Reason for the change: see above.
@
text
@d2 5
@


1.12
log
@
	* pop3.man: New file, doctools manpage.
@
text
@d1 8
@


1.11
log
@
	* Bumped version to 1.2, new release. Summary of changes here. See
	  the individual Changelogs to see the detailed changes in each
	  module.

	  New modules: calendar, crc, doctools, irc, smtpd, and stooop.

	  calendar:	Version is	0.1
	  crc:		Version is	1.0
	  doctools:	Version is	1.0
	  irc:		Version is	0.1
	  smtpd:	Version is	1.0
	  stooop:	Version is	4.3

	  Changed modules: base64, comm, control, csv, fileutil, ftp,
	  html, math, mime, ncgi, nntp, pop3, struct, textutil, and uri.

	  base64:	Version stays @@	2.2, but got new subpackage.
	  comm:		Version up to	3.7.1
	  control:	Version up to	0.2
	  csv:		Version up to	0.2
	  fileutil:	Version up to	1.3
	  ftp:		Version up to	2.3
	  html:		Version up to	1.2
	  math:		Version up to	1.2
	  mime:		Version up to	1.3.1
	  ncgi:		Version up to	1.2.1
	  nntp:		Version up to	0.2
	  pop3:		Version up to	1.5.1
	  struct:	Version up to	1.2
	  textutil:	Version up to	0.4
	  uri:		Version up to	1.1
@
text
@d1 4
@


1.10
log
@
	* pop3.tcl (retrieve): Forgot several 'RETR $index'
	  commands. Fixed now. This is tcllib bug item #490151 reported by
	  an unknown person.
@
text
@d1 4
@


1.9
log
@
	* tcllib moved to version 1.1

	* cmdline:	Version up to 1.1.1
	* ftp:		Version up to 2.2.1.
	* html:		Version up to 1.1.1
	* md5:		Version up to 1.4.1
	* mime/smtp:	Version up to 1.3
	* ncgi:		Version up to 1.2
	* pop3:		Version up to 1.5
	* report:	Version up to 0.2
	* sha1:		Version up to 1.0.1
	* struct:	Version up to 1.1.1
	* textutil:	Version up to 0.3
@
text
@d1 6
@


1.8
log
@2001-08-20  Andreas Kupries  <andreas_kupries@@users.sourceforge.net>

	* pop3.tcl: Added UIDL command, patch [448634] by Mark G. Saye
	  <markgsaye@@users.sourceforge.net>. Code was added manually as
	  the patch was not applicable anymore after the recent changes
	  (see below). Updated implementation of UIDL to use the new
	  command [RetrSlow] instead of performing the retrieval by
	  itself. Also updated the implementations of the TOP and LIST
	  commands to do the same.
@
text
@d1 6
@


1.7
log
@2001-08-02  Andreas Kupries  <andreask@@pliers.activestate.com>

	* pop3.n: Updated to new package version, see [447013] too.

	* pop3.tcl: Lots of changes with regard to items [443613] and
	  [443645]. Switched auto back to binary (or else the counting of
	  octects is not right and we will hang trying to read more than
	  is coming from the server). This means we have to perform EOL
	  translation on the message on our own, this was effectively an
	  unreported bug. also unreported was that the faster code did not
	  do .-unstuffing, which the slower line-by-line code did. This is
	  now fixed too. My thanks to Ashwin Hirschi
	  <deery@@users.sourceforge.net> for his help in testing the code.

2001-07-31  Andreas Kupries <andreas_kupries@@users.sourceforge.net>

	* pkgIndex.tcl: Updated to reflect pkg version in the code. After
	  the fact comment: This also fixes SF bug [447013]

	* pop3.tcl: Added 'state' variable to remember state information
	  about the active (= open) pop3 connections. This state includes
	  information about the retrieval mode to use and whether we are
	  talking to an MS Exchange server or not. MS Exchange can't be
	  set automatically for now, but the retrieval mode is
	  auto-detected. Because of the former, pop3::open now accepts the
	  options -msex and -retr-mode. This should allay and fix the SF
	  bugs [443613] and [443645].

	  (pop3::list): Fixed bug [443619].
@
text
@d1 11
a11 1
2001-08-02  Andreas Kupries  <andreask@@pliers.activestate.com>
@


1.6
log
@Applied frink and procheck to tcllib and corrected the assorted
problems found by these two static checkers.
@
text
@d1 30
@


1.5
log
@Fixed bug 224477.  See ChangeLog for pop3
@
text
@d1 4
@


1.4
log
@* pop3.tcl: Based on feedback from Cameron Laird, I did some
digging into the RFC and figured out that using the number of
octets given by RETR at the beginning of the retrieval to grab
that number of bytes was far more efficient.  Thanks to Cameron
for pointing that out.  Speed for retrieval should be greatly
improved.  Changed version to 1.1.
@
text
@d1 6
@


1.3
log
@*** empty log message ***
@
text
@d1 9
@


1.2
log
@pop3.tcl:  Remove extra '.'s added by the POP3 server.  If a
line begins with a '.', the server will add a '.' to the line to
prevent confusion with the end-of-message character (which is also
'.'). [bug: 5522]
@
text
@d1 7
@


1.1
log
@New POP3 email client API.
@
text
@d1 7
@

