2003-06-16 Andreas Kupries * ncgi.test: * ncgi.tcl (importFile): Got a rewritten version from Steve Cassidy which fixes some bugs. We now also have tests for 'importFile'. See tcllib patch 611595 for the original code. 2003-05-09 Andreas Kupries * ncgi.tcl (import_file): Brace [expr]. 2003-05-05 Andreas Kupries * * Released and tagged Tcllib 1.4 ======================== * 2003-05-01 Andreas Kupries * 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. 2003-04-25 Andreas Kupries * ncgi.tcl (::ncgi::query): Added code to handle binary data in query/upload correctly. 2003-04-23 Andreas Kupries * ncgi.man: * ncgi.tcl: Added command [importFile] from tcllib patch 611595. The command [tempfile] was relocated into fileutil instead. 2003-04-10 Andreas Kupries * pkgIndex.tcl: * ncgi.man: * ncgi.tcl: Fixed bug #614591. Set version of the package to to 1.2.2. Also fixed equivalnet of bug #648679. 2003-02-05 David N. Welton * ncgi.tcl: Use string match instead of regexp. 2002-08-30 Andreas Kupries * ncgi.tcl: Updated 'info exist' to 'info exists'. 2002-08-15 David N. Welton * ncgi.tcl (ncgi::setValueList): Fix [ 593254 ] ncgi::SetValue bug - SetValue now works correctly with multipart values with spaces in them. 2002-08-09 David N. Welton * ncgi.test: Added two new tests for setValue. * ncgi.tcl (ncgi::multipart): Fix [ 564279 ] ncgi::multipart bug - commented out offending 'puts' statements. 2002-04-12 Andreas Kupries * ncgi.man: Added doctools manpage. 2002-01-15 Andreas Kupries * Bumped version to 1.2.1 2001-10-20 Andreas Kupries * ncgi.tcl (ncgi::redirect): Fixed bug #464560 reported by Ed Rolfe . The proposed fix is not used as it does not pass the testsuite. We check for the existence of "env(REQUEST_URI)" instead, again, and use the appropriate alternate information if it does not exist. 2001-10-16 Andreas Kupries * ncgi.n: * ncgi.test: * ncgi.tcl: * pkgIndex.tcl: Version up to 1.2 2001-09-05 Andreas Kupries * ncgi.tcl: Restricted export list to public API. [456255]. Patch by Hemang Lavana 2001-09-05 Andreas Kupries * ncgi.tcl: Added missing [global env]. Bug [458023]. 2001-08-01 Jeff Hobbs * ncgi.tcl: made require Tcl 8.1+, sped up encode and decode. 2001-07-10 Andreas Kupries * ncgi.tcl: Frink 2.2 run, fixed dubious code. 2001-06-21 Andreas Kupries * ncgi.tcl: Fixed dubious code reported by frink. 2001-06-15 Melissa Chawla * ncgi.tcl: Applied George Wu's patch (gwu@acm.org) to the multipart function. It failed to process binary data correctly because it replaced all "\r\n" sequences with "\n". 2000-07-31 Brent Welch * ncgi.tcl: Added ncgi::setValue, ncgi::setValueList, ncgi::setDefaultValue, ncgi::setDefaultValueList to push values back into the CGI environment. 2000-05-26 Melissa Chawla * ncgi.tcl: fixed bug 5727 where Netscape prepends an extra \n to post data sent via HTTPS. Urlencoded post does not include preceding or trailing whitespace, so to be safe, we trim whitespace off the post data before parsing the attributes. 2000-05-15 Brent Welch * ncgi.tcl: Changed ncgi::redirect so it grabs the server name from REQUEST_URI before using the SERVER_NAME value. This is so the server name matches the previous page better. Otherwise a transition from "www" to "www.scriptics.com" can trigger Basic Authentication challenges. 2000-05-02 Brent Welch * ncgi/ncgi.tcl: Moved the '+' decoding from nvlist down into ncgi::decode. Changed ncgi::value to strip out the structure associated with multipart/form-data values. Use ncgi::valueList to get the structured value. 2000-05-02 Sandeep Tamhankar * ncgi.tcl: Changed ncgi::parseMimeValue such that a key-value pair like name="" would turn into the list {name {}} instead of {name {""}}. 2000-04-26 Brent Welch * ncgi.tcl, ncgi.test: changed names to get capitalization right: setCookie, valueList, importAll, urlStub 2000-04-17 Brent Welch * ncgi.tcl: Fixed ncgi::reset with no query data. Fixed ncgi::multipart because it usually gets \r\n data. 2000-04-14 Brent Welch * ncgi.tcl: Changed ncgi::list to ncgi::nvlist (for "name value list") becauase of the inevitable conflict with the global list command. Added ncgi::importall to import a set of cgi variables. Added multipart/form-data parsing. Added ncgi::cookie and ncgi::setcookie. 2000-03-20 Eric Melski * ncgi.test: Fixed tests that created files with "source ncgi.tcl" in them to use full path for sourcing, so that tests could be run from any directory. [Bug: 4393] 2000-03-15 Brent Welch * ncgi.tcl: added ncgi::reset so the ncgi package can be used inside TclHttpd * ncgi.test: added ncgi::reset tests, renumbered everything, and switch most tests to use ncgi::reset 2000-03-10 Eric Melski * pkgIndex.tcl: Added package index file. * ncgi.test: Added code to add source dir to auto_path, so that tests could be run on uninstalled package. Added call to tcltest::cleanupTests.