2002-08-01  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* makedist:
	added makedist to create tar balls from actual and previous builds

	* apachetests/runtests.tcl:
	fixed reference to mod_websh.so (proper version)
	
	* unix/Makefile.in:
	disabled dist target (referred to ../../makedist)
	removed a bunch of unused stuff

	* src/unix/configure.in:
	removed initcode from cleanfiles
	
2002-07-31  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* INSTALL, README:
	added autoconf and other info to compile instructions

	* websh-spec:
	dynamic version of mod_websh, added make websh

	* doc/faq.html:
	removed (redundant to tcl-site/websh/faq.ws3)

	* examples/README:
	added (just a note of caution not to use the examples)

	* Announce, src/Makefile, unix/Makefile.modwebsh, win/script.h:
	removed (outdated, unused ...)
	
	* license.terms:
	fixed typo

	* generic/cfg.c, /generic/cfg.h, generic/webout.h:
	harmonized different outputs of Websh's version

	* tests/webout.test:
	fixed teast ouptut-4.4: adapted for new version output

	* src/unix/configure.in:
	fixed NODOT_VERSION (currently unused)

2002-07-30  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* generic/web.c (Websh_Init):
	provide package websh
	
	* ChangeLog, changes: 
	incorporated file "changes", which is now removed

2002-07-29  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* INSTALL: 
	added hint for threads

2002-07-28  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* quickref.xml: 
	added explanation of # to web::put*

2002-07-27  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* quickref.xml, quickref.xsl: 
	fixed links to examples
	formal cleanup
	
2002-07-25  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* generic/cfg.c, generic/cfg.h (cfg_Init):
	fixed memory leak temporarily (added fixme)

	* generic/request.c, generic/request.h (request_Init):
	fixed memory leak temporarily (added fixme)

	* generic/tclAppInit.c, generic/web.c, generic/web.h (no changes):
	committed some booboos and refixed them later (later revisions
	are equal to revisions before I messed up...)
	
	* generic/weboutint.c (webout_eval_tag):
	fixed memory leak in web::putx
	
2002-07-24  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* generic/interpool.c (poolGetWebInterp):
	proper return (unlock on error)

	* generic/request_ap.c (requestFillRequestValues):
	removed minor memory leak (initialized but unused Tcl_Obj)
	
2002-07-16  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* generic/dispatch.c (Web_Dispatch):
	keep error msg when <hook> fails in web::dispatch -hook <hook>

2002-06-16  David N. Welton  <davidw@dedasys.com>

	* unix/Makefile.in (dist): Made dist target and distdoc target.
	These can be used to roll releases.

2002-06-10  David N. Welton  <davidw@dedasys.com>

	* quickref.xml: Added 'replaceable' elements.

	* quickref.xsl: Updated to latest XSL work.

2002-06-04  David N. Welton  <davidw@dedasys.com>

	* Moved README one directory up, created INSTALL file.

2002-04-26  David N. Welton  <davidw@dedasys.com>

	* quickref.xml: Changed 'title' to 'emphasis' in order to avoid
	having examples sections listed in the table of contents.

2002-04-25  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* tests/script.test:
	fixes for tcl8.4 (new error strings)

	* tests/webout.test:
	fixed tests output-4.4 and output-4.1

2002-04-19  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* apachetests/runtests.tcl, apachetests/apachetest/apachetest.tcl, apachetests/apachetest/template.conf.tcl:
	solved configuration problems for apache-1.3.24

2002-04-18  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* generic/cfg.c (Web_Cfg):
	removed handling of [web::config script]
	call Web_ConfigPath in Web_Cfg to handle all mod_webh specific stuff

	* generic/mod_websh.c, generic/mod_websh.h:
	added a second assoc data to pool interpreter

	* generic/modwebsh_ap.c, generic/modwebsh_cgi.c, generic/modwebsh.h:
	added Web_ConfigPath

	* generic/request_ap.c, generic/request_cgi.c, generic/request.h:
	removed requestScriptName

	* apachetests/hello.test, apachetests/hello.ws3,
	apachetests/websh.conf, apachetest/apachetest.tcl:
	created test for new web::config stuff

2002-04-17  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* tests/cfg.test:
	fixed cfg-1.1 (new subcommands)

	* tests/msc.test:
	fixed copyright-1.0 (new web site url)

2002-04-10  David N. Welton  <davidw@dedasys.com>

	* Makefile (quickref.html): Use catalogs for XML processing.

2002-04-09  David N. Welton  <davidw@dedasys.com>

	* quickref.xsl: Added 'monounderlineseq' for options.  Looks
	better visually.

2002-04-09  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* apachetests/*:
	made all tests work for Apache 1.3 and Apache 2.0

	* generic/cfg.c, generic/macros.h, generic/webout.h:
	fixed copyright notice
	removed copyright in Generator
	removed (now) unnecessary define NETCETERA

	* generic/mod_websh.c:
	set proper handler for Apache 2 (changed websh-script to websh)

	* generic/modwebsh_ap.c:
	make it compile under Apache 2.0 and Solaris (include <sys/stat.h>)

	* tests/webout.test:
	fixed tests output-4.4 and output-4.1

2002-04-05  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* generic/interpool.c:
	removed unnecessary check and don't destroyPool on error
	(The state we're in when we have an error is very unclear
	and it should be checked eventually, but for normal operation
	this doesn't matter)

	* generic/messages.c, generic/messages.h:
	renamed MAGIC and WEB_MSG_VERSION (consistency, no other impact)

	* generic/modwebsh_ap.c:
	fixed naming (dofinalize -> finalize)
	slightly change error handling (return proper result instead of logging
	to apache in case of 'wrong # args')

	* generic/modwebsh_cgi.c:
	proper error handling in dummy procs (web::initializer
	and web::finalizer)

2002-04-02  David N. Welton  <davidw@dedasys.com>

	* quickref.xsl: <arg choice="plain"> now outputs monoseq text, to
	indicate when an argument must be inserted literally, as a
	subcommand.

2002-03-28  David N. Welton  <davidw@dedasys.com>

	* generic/interpool.c (initPool): Removed 'called' - it can only
	happen once.  Thanks to Ronnie.

2002-03-27  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* generic/formdata.c (parseUrlEncodedFormData, parseMultipartFormData):
	set back channels after reading form data

2002-03-27  David N. Welton  <davidw@dedasys.com>

	* generic/interpool.c (initPool): Remove locking, as this is
	called from the child_init area, which shouldn't be
	multi-threaded.  Thanks to Ronnie for pointing this out.

2002-03-21  David N. Welton  <davidw@dedasys.com>

	* quickref.xml: Changed documentation for web::log, which now
	defaults to not running 'subst' on its arguments.

2002-03-20  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* generic/paramlist.c (paramGetIndexFromObj): removed fixed allocation
	(is a bit slower though since we need to find out how much to allocate)

	* tests/dispatch.test: fixed dispatch-5.14

2002-03-19  David N. Welton  <davidw@dedasys.com>

	* generic/mod_websh.c (merge_websh_config): Don't reset the locks
	here.

	* generic/log.c (destroyLogPlugIn): Send something to stderr if
	there is no plugin.

2002-03-18  David N. Welton  <davidw@dedasys.com>

	* apachetests: Added new, modularized test system.  Should allow
	easier sharing of improvements across Apache Tcl projects.

2002-03-11  David N. Welton  <davidw@dedasys.com>

	* quickref.xml: changed <...> to <option>...</option.

2002-03-08  David N. Welton  <davidw@dedasys.com>

	* quickref.xsl: Added our own custom .xsl file for Tcl style
	output.

2002-03-07  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* generic/filecounter.c, generic/filecounter.h:
	- added configurable permissions
	- fixed comments to fit into 80 char columns
	- changed behavior of -wrap to match documentation
	- set all default into header file

	* generic/interpool.c, generic/interpool.h:
	- typecast logToAp (so it does not conflit with other plugins)
	- added a numerical id to every webInterp (fo easier identification)
	- always log the id and the class when logging about interps
	- fixed some calls to apache log (diffs for ap 1.3 and ap 2.0)

	* generic/logtocmd.c (logToCmd):
	avoid compiler warning: type cast in logToCmd

	* tests/filecounter.test: fixed tests 2.7, 2.8, and 2.9 to
	comply with new option -perms and changed option -wrap

	* doc/quickref.xml: fixed documentation of web::filecounter:
	added default values and -perms option

2002-03-07  David N. Welton  <davidw@dedasys.com>

	* generic/logtocmd.c (logToCmd): Use a real list instead of a
	DString.

	* tests/cmdurl.test (getquerystringfromurl): Changed tests to use
	getquerystringfromurl instead of web::querystring::getfromurl.

	* generic/interpool.c (initPool): Make sure we are only called
	once.

	* generic/querystring.c: delete Web_GetQueryStringFromUrl
	function/command.

	* unix/Makefile.in: Avoid the final link step if it's already been
	performed, for websh, and mod_websh.so.

2002-03-06  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* generic/interpool.c (readWebInterpCode): use
	Tcl_ErrnoMsg(Tcl_GetErrno()) instead of Tcl_PosixError(interp),
	because it's independent of interp

	* generic/logtoap.c, generic/logtoap.h (logToAp):
	added additional formatting capabilities to logToAp

	* generic/request.c: include sys/errno.h, fixed logging of
	unsuccessful tempfile removal

	* gneric/response_ap.c (apHeaderHandler):
	Fixed sending of multiple headers

2002-03-05  David N. Welton  <davidw@dedasys.com>

	* generic/request.c (removeTempFiles): Log error on failure of
	'remove'.

	* generic/paramlist.c (paramGetIndexFromObj): stopgap fix to make
	sure we don't overflow.
	(paramGet): 'default' in switch statement returns error, but we
	should never arrive there.

	* generic/mod_websh.c (websh_init_child): Create Apache log entry
	if initPool doesn't return an OK.

	* generic/modwebsh_ap.c (Web_InterpClassCfg): Pass mtime to
	createWebInterpClass after fetching it with Tcl_Stat.

	* generic/interpool.c (createWebInterp): Fixed fixme - log error
	to Apache.
	(poolGetWebInterp): Switched to request_rec.request_time.
	(createWebInterp): Use request_rec.request_time, and also add
	request_rec as a parameter to createWebInterp.
	(createWebInterp): Log readWebInterpCode failure via Apache.
	(destroyWebInterp): Log web::finalize errors to Apache logs.

2002-03-05  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* generic/mod_websh.c:
	API change for Apache 2 (register_hooks and ap_log_error)

	* generic/request_ap.c (requestFillRequestValues):
	expclicit type cast to satisfy compiler

	* generic/webout.c (Web_Response): added type cast to
	avoid compiler warning (Solaris cc)

2002-02-27  David N. Welton  <davidw@dedasys.com>

	* unix/configure.in: Changed version to 3.5.

	* generic/request.c (createRequestData): Removed
	handleToSpecificReqData here and elsewhere - it's handled in other
	ways (through set/get assocdata).

	* generic/mod_websh.c: We *don't* check for files' existance,
	because they might be mapped with interpmap, and might not even
	really exist.

	* generic/interpool.c (poolGetWebInterp): Use Tcl_Stat instead of
	'file mstat' called with Tcl_Eval to get mtime.

	* apachetests/template.conf.tcl: Change port to 8081, instead of
	8080, because some people already use that for a test server.

	* apachetests/runtests.tcl: We no longer start the server
	automatically.

	* Added headers.ws3 and headers.test files, to be used for header
	testing.

	* apachetests/mod_websh.test (server::start): Created
	server::start and server::stop commands for use in tests.

2002-02-19  David N. Welton  <davidw@dedasys.com>

	* tests/webout.test: Removed test for {= tags.

	* generic/mod_websh.c (exit_websh_pool): Added this as a
	registered cleanup.

	* generic/mod_websh.c (websh_handler): Do correct checks for
	Apache2.

	* doc/quickref.xml: fixed web::interpclasscfg default of maxrequests

2002-02-18  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* generic/interpool.c (poolReleaseWebInterp):
	allow interps to live forever when maxrequests == 0

2002-02-14  David N. Welton  <davidw@dedasys.com>

	* generic/weboutint.c (webout_eval_tag): Workaround to avoid
	printing headers if the very first thing in putx is an opening
	tag, starting a block of Tcl code.

2002-02-12  David N. Welton  <davidw@dedasys.com>

	* generic/url.c (Web_CmdUrlCfg): Change to use two variables for
	'scheme' - one as a config, and one to hold the actual value.

2002-02-05  David N. Welton  <davidw@dedasys.com>

	* websh.spec: Fix-ups to make websh.spec work better - generates
	RPM's now on my system.

	* unix/Makefile.in (install-doc): Moved install doc to be near
	  other 'install' targets.  Make install-doc use DESTDIR instead
	  of prefix variable.

2001-12-28  David N. Welton  <davidw@dedasys.com>

	* generic/uricode.c (uriDecode): Fixed comparisons to work with
	'char *' instead of specifying signed/unsigned.

2001-12-28  Ronnie Brunner <ronnie.brunner@netcetra.ch>

	* generic/tcldecmt.tcl: escaped newline in output
	(Solaris cc does not like newlines in string literals)

	* unix/Makefile.in: delete ../generic/script.h in clean rule

2001-12-12  David N. Welton  <davidw@dedasys.com>

	* generic/webout.c (Web_Response): Add web::response -select
	default to get set channel for both web and CGI.

	* generic/request.h: Add requestGetDefaultOutChannelName.

	* tests/webout.test: Add test for web::response -select default.

2001-12-03  David N. Welton  <davidw@dedasys.com>

	* generic/cfg.c (Web_Cfg): Create a "web::config reset" command,
	which resets cmdurltimestamp, uploadfilesize, timeparam and
	cmdparam.

	* generic/request.c (resetRequestData): #if out resetting of
	variables configured via web::config.

2001-11-30  David N. Welton  <davidw@dedasys.com>

	* webshinspect.ws3 (web): Added -path to filecontext.

	* filecontext.tests: Added -path elements to filecontexts.

	* generic/sessctx.ws3: Make -join a mandatory argument for filecontext.

	* generic/mod_websh.c: move initPool to Child Init function.

2001-11-23  David N. Welton  <davidw@dedasys.com>

	* generic/tcldecmt.tcl: Add newlines/newline quoting backslashes
	to mirror the script in Tcl's initScript.

	* generic/cfg.c (Web_Cfg): cmdUrlTimestamp changes.

2001-11-22  David N. Welton  <davidw@dedasys.com>

	* generic/url.c (createUrlData): First cut at making cmdurl scheme
	bswitch between https and http depending on environmental variables.

	* tests/dispatch.test: Changes necessary here to correctly handle
	errors that are now propogated from web::dispatch.

	* generic/dispatch.c (Web_Dispatch): Propogate errors from
	parsePostData.

	* cfg.c: Added CMDURLTIMESTAMP as a global option that may be
	configured with web::config.

	* unix/configure.in: Added debugging flags.

	* generic/request_ap.c (requestFillRequestValues): Make
	requestFillRequestValues return TCL_ERROR instead of NULL.

	* generic/context.tcl: Added 'delete' proc for contexts.

	* Added apachetests directory.

	* generic/log.c (createLogData): Change logSubst to default to 0
	(off).

2001-11-07  David N. Welton  <davidw@dedasys.com>

	* generic/uricode.c (uriDecode): changed 'utf' to be a signed
	character, so that the comparison with 0 works on all
	architectures.

	* generic/tcldecmt.tcl: Extend functionality to do multiple files,
	and properly quote \ and " characters for use in a C string.

	* unix/Makefile.in: Replaced shell commands with more
	functionality in tcldecmt.tcl script.

2001-11-05  David N. Welton  <davidw@dedasys.com>

	* unix/configure.in: Moved to this directory from src/.

2001-03-14  Simon Hefti <simon.hefti@netcetera.ch>

	* webutl.c: fixed setting global var for web::response command
	* web::response error messages improved
	* quickref updated
	* web::dehtmlify bug fix

2001-01-21  Simon Hefti <simon.hefti@netcetera.ch>

	* sessctx.ws3 supports web::init 1 -create
	  which creates the session file, if it does not exists yet,
	  whithout throwing an error. Also, allow capitals in
	  session id's.

	* varchannel.c: let Tcl handle the global variables, especially
	  when ref counter > 0, Also, suppress error message which
	  Tcl leavs in the interp if a channel does not exist yet,
	  if we could create it successfully.

	* filecontext.test:  test "valid id" checker, and "-create" option
	  of filecontext

	* webout.test: test channel switching

	* args.c: new function argdbg to write out arguments

	* cookie.ws3: new init prototype requires additional,
	  optional argument (-create). Added, even thouh it is unused here.

	* log.c: better check of valid options in web::logdest

2001-01-01  Simon Hefti <simon.hefti@netcetera.ch>

	* used -DTCL_MEM_DEBUG to find the last memory leaks. 2 found amd
 	fixed. A lot of "potentially leaked" (as indicated by purify)
 	disappear if test suite is run in a seperate interp
	(using interp create) and interp is deleted afterwards. In other
 	words: this is housekeeping data that is properly freed when the
 	interp is destroyed.

	* parsing of multipart/formdata: more indicative log messages
 	hinting to the prominent boundary problem (a boundary with lots of
 	dashes makes it easy to overlook the first two).

	* varchannel: solved encoding problem by using Tcl_GetByteArray
 	instead of Tcl_GetString

	* web::dispatch tests: since bad postdata do not throw errors any
 	longer (websh tries to answer the request even in case of bad
 	postdata) we had to rewrite the tests which checked those
 	errors. log entry is checked now instead.


2000-11-14  Simon Hefti <simon.hefti@netcetera.ch>

	3.0b3 release

	This is a test release - some stuff needs to be finished.
	Particularly: search for potential memory leaks, and Windows
	stuff.

	The API is final. mod_websh builds and runs on Linux and Solaris
	using apach 1.3.x.

2000-04-27  Simon Hefti <simon.hefti@netcetera.ch>

	3.0b2 beta-2 release of Websh 3

	The Apache Module added - is known to build and run
	on SunOs-5.6 and on Linux.

	Several minor bug fixes - at Netcetera, this Websh is in
	productive use since beta-1.

	* mod_websh commands introduced:
	  web::interpclass
	  web::initializer
	  web::finalizer
	  web::dofinalize
	  web::maineval
	  web::interpid
	  web::interppool
	* log plugin for apache added (aplog)
	* web::setupcontext renamed to web::context
	* web::request -channel introduced
	* lencrypt, ldecrypt removed
	* web::asciify85, web::asciify64 removed


2000-03-20  Simon Hefti <simon.hefti@netcetera.ch>

	3.0b1 beta-1 release of Websh 3

	This release is known to compile and run on SunOS-5.5.1 and Linux
 	and should do so on most UNIX variants.

	The Apache Module is missing in this release.

	* session management built-in
	* by default, the log module subsitutues vaiable and command names of
	  the log message
	* lencrypt, ldecrypt introduced
	* web::response replaces command web::output
	* web::request provides access to the request object
	  (CGI environment vars or Apache Module data)

2000-03-07  Simon Hefti <simon.hefti@netcetera.ch>

	3.0a1 alpha-1 release of Websh 3

	first release

	This release is known to compile and run on SunOs-5.5.1.
	A couple of tests of the test suite are marked as "empty" and
 	skipped.
	The session management module is missing in this release.
	The Apache Module is missing in this release.
