2006-03-05 Brunner Ronnie * : Changed version to 3.6.0b4 2006-03-05 Brunner Ronnie * src/generic/interpool.c: Call Tcl_InitMemory to allow debugging when compiled with TCL_MEM_DEBUG * src/generic/log.c: Fxed memory leak when initializing logData->listOfFilters and logData->listOfDests" * src/generic/weboutint.c: Fixed memory leak in webout_eval_tag * src/generic/request.[hc]: Added ExitHandler to make sure tempfiles created with names from [web::tempfile] are deleted correctly when process terminates properly (e.g. not killed) * src/unix/Makefile.in: Added hint on TCL_MEM_DEBUG Fixed typo in EXTRA_CFLAGS definition Fixed purify and purecov targets * src/tests/msc.test, src/test/webout.test: Added web::tempfile -remove test String cleanup: webshell -> Websh 2006-03-04 Brunner Ronnie * src/generic/filecounter.[hc], src/tests/filecounter.test doc/quickref.xml: Added filecounterHandle getval to retrieve current value from filecounter file. Added documentation and tests. * src/apachetests/apachetest/*: Compatibility with Apache 2.2 module structure * makedist: renamed dist package to websh--src.tar.gz (consistend with other source packages in the ASF) 2005-12-12 Brunner Ronnie * src/generic/mod_websh.h, src/generic/mod_websh.c: Compatibility with Apache 2.2 (command_struct) * src/unix/Makefile.in: Install directly to prefix (not into websh subdirectory) Refactored ugly hack for Darwin bundle linking of mod_websh 2005-11-16 Brunner Ronnie * doc/quickref.xml: Added Websh version to title for better identification * makedist: Removed verbose tag from tar commands so that makedist doesn't break under (e.g.) FreeBSD. 2005-11-15 Brunner Ronnie * src/uunix/configure.in, src/unix/tcl.m4: Added more locations to search for Tcl and Apache includes (SuSE Linux defaults) 2005-11-14 Brunner Ronnie * doc/mod_websh/conf/websh.conf, src/tests/msc.test, src/tests/logtosyslog.test src/generic/cookie.ws3: Compatibility fixes with OSX (Darwin) * src/unix/config.sub, src/unix/config.guess: Replaced with newer versions that support OSX * src/unix/Makefile.in, src/unix/configure.in: Changed linking of mod_websh.so for OSX (Darwin) Added --with-httpd option for Apache binary (needed for -bundle linking on OSX) 2005-11-11 Brunner Ronnie * src/unix/configure.in, src/win/Makefile, src/apachetests/runtests.tcl, websh.spec: Changed version to 3.6.0b3 * CHANGES: Added enduser readable summary of ChangeLog * README: New hint on Windows installation Added details for Unix installation * src/unix/Makefile.in: Major cleanup: removed lots of unused stuff and rewrote install rules. * src/unix/configure.in: Nicer output of generated configure * src/unix/tcl.m4: Removed lots of unused stuff * src/unix/mkinstalldirs, src/unix/memdbg.tcl: Removed (unused, not working) * src/win/Makefile: Also install *.lib files 2005-11-10 Brunner Ronnie * doc/mod_websh/*: Added sample setup for mod_websh * src/test/mintest.test, src/tests/htmlify.test: Enhanced tests to run under Windows * src/win/Makefile, src/win/README: Major cleanup (no recurrsive calls) Unified flags for websh.exe and mod_websh.so Proper install rule (including sample setup for mod_websh) Build websh.dll Adapted README accordingly * src/generic/interpool.c: Removed unnecessary TclInitStubs call * src/generic/web.c, src/generic/web.h: Make Websh_Init exportable under Windows (for websh.dll) 2005-11-03 Brunner Ronnie * src/win/Makefile, src/win/README: Attempt to provide a working Windows Makefile (for use with Visual Studio 6's nmake utility) * src/unix/Makefile.in: Moved generated script.h to output directory to prevent clash with generated script.h under Windows * src/tests/filecounter.test, src/tests/filecontext.test, src/tests/messages.test, src/tests/cfg.test, src/tests/filelock.test, src/tests/logtosyslog.test, src/tests/log.test, src/tests/encrypt.test: Tests activated and fixed for Windows Activated some previsously unused tests Deactivated file permission tests for Windows (n/a) * src/generic/logutl.c, src/generic/tclAppInit.c, src/generic/response_ap.c, src/generic/apchannel.c, src/generic/request_ap.c, src/generic/interpool.c, src/generic/mod_websh.c, src/generic/messages.c, src/generic/webout.h, src/generic/messages.h, src/generic/web.c, src/generic/log.c: Removed unused local variables Proper Tcl_InitStubs initialization (websh and mod_websh) Some includes added (for Windows) Minor WIN32 fixes * src/generic/weboutint.c: Set channel translation to send HTTP headers correctly under Windows 2005-10-28 Brunner Ronnie * : Changed version to Websh 3.6.0b2 (too many changes in the commands for a successor Websh 3.5.x version) * src/unix/configure.in, src/unix/Makefile.in: Adapted for Tcl 8.5 Major cleanup started * src/generic/mod_websh.c: Fixed call to ap_log_error for Apache 2 (prevent compiler warning due to NULL to 0 conversion) * doc/Makefile, doc/quickref.xml: Documentation of recent changes in logging Renamed web::logfilter to new web::loglevel Various minor fixes * src/generic/log.[hc], src/tests/log.test: Renamed web::logfilter to web::loglevel (web::logfilter is still available for backward compatibility, but considered deprecated) Adapted tests accordingly * src/generic/script.ws3, src/tests/*.test: Use new web::loglevel instead of web::logfilter, which is now deprecated. 2005-10-27 Brunner Ronnie * src/generic/script.ws3, src/tests/log.test: Moved cleanup from web::ap::perReqInit to web::ap::perReqCleanup to speed up request handling Delete only log filters and destinations created during the request and not the ones created in web::initializer Wrote a test for it * src/generic/log.[hc], src/generic/modwebsh_ap.c, src/generic/modwebsh_cgi.c: Added keep flag to LogDest and LogLevel structs to keep track of levels and filters to keep across requests (the ones created in web::initializer code) Added special command to delete all but these levels and filters (web::logfilter delete -requests and web::logdest delete -requests) to be used in web::ap::perReqCleanup Adapted Web_Initializer to accommodate this functionality * src/test/log.test, src/generic/log.[hc], src/generic/logutl.c: Changed behaviour of web::logdest names and web::logfilter names to return proper list of names (for consistency reasons) Added web::logdest levels and web::logfilter levels options to replace function of previous names option (needed for test suite only) Internal names of logfilters and logdests with decimal counter for consistency with other internal Tcl names (files sockets etc.) Modified usage error messages for web::logdest and web::logfilter to comply to Tcl standard Refactored log filters and levels to reside in an array so that names can be reused after deletion (needed for mod_websh, because otherwise, we run out of names sooner or later) Adapted and added tests accordingly * src/tests/dispatch.test, src/tests/webtest.ws3: optimized output during test runs * src/generic/mod_websh.c: typo in log msg 2005-10-16 Brunner Ronnie * makedist: Adapted to run under SVN (after migration from CVS) 2005-09-09 Brunner Ronnie * src/unix/configure.in: changed to version 3.5.1b1 * src/generic/htmlify.c, src/generic/weboutint.c: handle multibyte characters in web::htmlify and web::putx correctly. Many thanks to Taguchi Takeshi. * src/generic/formdata.c: save and reapplay channel enconding when setting translation to binary (to avoid side effects). Thanks to Taguchi Takeshi * src/test/mintest.test: allow newer versions of tclsh for library test * src/generic/formdata.c: removed unused function dumpBody (not referenced anywhere) * src/generic/cfg.c, src/generic/filecounter.[hc], src/generic/formdata.c, src/generic/log.[hc], src/generic/logtofile.c, src/generic/request.[hc], src/generic/sessctx.ws3, src/generic/web.c: All file permissions of created files configurable: log files, session files, filecounter, temporary files from multipart form file upload. Default is 0644. (Note that previously, the default for session files was 0666. All other defaults where already set to 0644.) * src/test/cfg.test: added tests for web::config filepermissions and its effects. * src/unix/Makefile.in: set umask to 0 when running tests, so that file permission tests work * doc/quickref.xml: documented web::config filepermissions and adapted documentation for web::formvar, web::filecounter, and web::filecontext. Removed wrong note in web::config putxmarkup about not being able to nest evaluation using the tag () syntax in web::putx, which is possible for a long time now. 2005-09-07 Brunner Ronnie * doc/quickref.xml fixed documentation of web::dehtmlify (thanks to Holger Jakobs) 2005-09-05 Brunner Ronnie * src/unix/configure.in: ensure compatibility with Tcl8.5 2005-08-29 Brunner Ronnie * src/generic/context.tcl, src/generic/cookie.ws3, tests/context.test, tests/cookiecontext.test, doc/quickref.xml: ensure compatibility with Tcl8.5 2005-08-17 Brunner Ronnie * src/generic/cookie.ws3: fixed locale dependency side effect of cookie expiry 2005-07-15 Brunner Ronnie * src/generic/weboutint.c, src/tests/webout.test: fixed handling of tag in putx (problems with '?') and wrote some tests for it 2005-07-01 Brunner Ronnie * doc/quickref.xsl: fixed URL to docbook to newer version * doc/quickref.xml: fixed documentation of web::dispatch -postdata * src/generic/dispatch.c: fixed error string of web::dispatch -postdata syntax 2004-12-13 Brunner Ronnie * src/unix/config.guess, src/unix/config.sub: config.sub and config.guess (avoids problems with some autoconf versions) 2004-11-16 Brunner Ronnie * doc/quickref.xml: fixed documentation of web::logdest (explanation for -format and -maxchar options) 2004-09-15 Ronnie Brunner * src/generic/cookie.ws3, src/tests/cookiecontext.test: fixed expiry of cookies: expiry can be given in seconds and in any relative format known to tcl (such as "2 days") resolved locale dependecy that broke expiry format with tcl8.4 and higher * doc/quickref.xml: clearified documentation of expiry option for web::cookiecontext 2004-04-30 Ronnie Brunner * src/generic/webout.c, src/tests/webout.test: set back response object after web::putx and accoring tests 2004-03-24 Ronnie Brunner * src/generic/tclAppInit.c: removed old SUN OS compatibilty hack (not needed anymore) * src/generic/checksum.c: hack around gcc optimization problem (thanks to Jason Brazile for the "volatile" hint ...) 2004-03-12 Ronnie Brunner * src/tests/msc.test: cleanup environment in modwebsh-1.6, so tcltest does not complain 2004-03-01 David N. Welton * LICENSE: Added Apache License, version 2.0. 2004-03-01 Ronnie Brunner * src/generic/messages.c: removed unused include which fails with newer Solaris cc * src/generic/formdata.c: fixed minor memory leak in parseMultipartFormData * src/generic/varchannel.c: removed unused header include (webutl.h) * src/tests/logtofile.test: added logtofile-3.1 test (coverage of web::log to file) * src/tests/cookiecontext.test: fixed cookie tests to match proper cookie expiry format changed webshell to Websh (just for beauty reasons ;-) * src/tests/msc.test: added coverage tests for cgi modwebsh stubs * src/generic/webutl.c, src/generic/webutl.h: removed unused functions tclMyConcat and Web_IntIncrObj * src/generic/hashutl.c, src/generic/hashutl.h: removed unused function (resetHashIterator) 2004-02-03 Ronnie Brunner * src/generic/cookie.ws3: fixed cookie expiry date format to meet Netscape specs (http://wp.netscape.com/newsref/std/cookie_spec.html) 2003-11-15 Ronnie Brunner * src/generic/interpool.c: bug fix in web::interpmap (files with spaces in names) * src/generic/formdata.c potential bug fix of call to web::uri2list 2003-10-31 Ronnie Brunner * doc/quickref.xml: added documentation for context::delete added documentation for web::config cmdurltimestamp 2003-05-27 Ronnie Brunner * INSTALL, README: added hint on GNU make extensions 2003-02-28 Ronnie Brunner * doc/quickref.xml: fixed documentation of web::cmdurlcfg and web::request 2002-11-26 Ronnie Brunner * src/generic/weboutint.c, src/tests/script.test: bug fix of web::putx and web::putxfile (double UTF encoding) patch submitted by David Welton (Thanx David) 2002-11-22 Ronnie Brunner * doc/quickref.xml: added documentation of web::formvar (file upload) 2002-11-13 Ronnie Brunner * src/generic/url.c: fixed core dump when [web::cmdurl] called scheme in urlformat * src/tests/cmdurl.test: added test to test bug that has been fixed today 2002-09-11 Ronnie Brunner * src/generic/*.[ch]: fixed different declarations for Tcl8.4: added TCLCONST define in macros.h, which is set according to the tcl version * src/unix/configure.in: added tcl8.4 to search for Tcl changed to version 3.5.1a1 * src/tests/webout.test: compatibility with strange version numbers * src/generic/cfg.h, src/generic/modwebsh.h, src/generic/request.c, src/generic/webout.c: tweaked header file includes for win32 * src/generic/tcldecmt.tcl: tweaked line length of output for win32 2002-08-01 Ronnie Brunner * Released Version 3.5.0 2002-08-01 Ronnie Brunner * 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 * 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 * generic/web.c (Websh_Init): provide package websh * ChangeLog, changes: incorporated file "changes", which is now removed 2002-07-29 Ronnie Brunner * INSTALL: added hint for threads 2002-07-28 Ronnie Brunner * quickref.xml: added explanation of # to web::put* 2002-07-27 Ronnie Brunner * quickref.xml, quickref.xsl: fixed links to examples formal cleanup 2002-07-25 Ronnie Brunner * 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 * 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 * generic/dispatch.c (Web_Dispatch): keep error msg when fails in web::dispatch -hook 2002-06-16 David N. Welton * unix/Makefile.in (dist): Made dist target and distdoc target. These can be used to roll releases. 2002-06-10 David N. Welton * quickref.xml: Added 'replaceable' elements. * quickref.xsl: Updated to latest XSL work. 2002-06-04 David N. Welton * Moved README one directory up, created INSTALL file. 2002-04-26 David N. Welton * quickref.xml: Changed 'title' to 'emphasis' in order to avoid having examples sections listed in the table of contents. 2002-04-25 Ronnie Brunner * 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 * 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 * 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 * 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 * Makefile (quickref.html): Use catalogs for XML processing. 2002-04-09 David N. Welton * quickref.xsl: Added 'monounderlineseq' for options. Looks better visually. 2002-04-09 Ronnie Brunner * 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 ) * tests/webout.test: fixed tests output-4.4 and output-4.1 2002-04-05 Ronnie Brunner * 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 * quickref.xsl: now outputs monoseq text, to indicate when an argument must be inserted literally, as a subcommand. 2002-03-28 David N. Welton * generic/interpool.c (initPool): Removed 'called' - it can only happen once. Thanks to Ronnie. 2002-03-27 Ronnie Brunner * generic/formdata.c (parseUrlEncodedFormData, parseMultipartFormData): set back channels after reading form data 2002-03-27 David N. Welton * 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 * quickref.xml: Changed documentation for web::log, which now defaults to not running 'subst' on its arguments. 2002-03-20 Ronnie Brunner * 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 * 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 * apachetests: Added new, modularized test system. Should allow easier sharing of improvements across Apache Tcl projects. 2002-03-11 David N. Welton * quickref.xml: changed <...> to