summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* Update the http package version number now as we change it, so we don'tdgp2001-08-021-1/+1
| | | | forget to do it later when we release it.
* Update the http package version number now as we change it, so we don'tdgp2001-08-021-3/+3
| | | | forget to do it later when we release it.
* * library/http/http.tcl (http::mapReply): the regsub'ing of \n andhobbs2001-08-021-4/+2
| | | | \t to escape them was unnecessary.
* Changes from TIP#17 "Redo Tcl's filesystem"vincentdarley2001-07-311-1/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following files were impacted. * doc/Access.3: * doc/FileSystem.3: * doc/OpenFileChnl.3: * doc/file.n: * doc/glob.n: * generic/tcl.decls: * generic/tcl.h: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDate.c: * generic/tclDecls.h: * generic/tclEncoding.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclGetDate.y: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclIOUtil.c: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclLoad.c: * generic/tclStubInit.c: * generic/tclTest.c: * generic/tclUtil.c: * library/init.tcl: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacPort.h: * mac/tclMacResource.c: * mac/tclMacTime.c: * tests/cmdAH.test: * tests/event.test: * tests/fCmd.test: * tests/fileName.test: * tests/io.test: * tests/ioCmd.test: * tests/proc-old.test: * tests/registry.test: * tests/unixFCmd.test: * tests/winDde.test: * tests/winFCmd.test: * unix/mkLinks: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPipe.c: * win/tclWinFCmd.c: * win/tclWinFile.c: * win/tclWinInit.c: * win/tclWinPipe.c
* * Corrected documentation and usage message of [pkg_mkIndex].dgp2001-07-211-2/+2
|
* * library/encoding/koi8-u.enc: added koi8-u (Ukranian variant)hobbs2001-06-281-0/+20
| | | | encoding.
* removed errant " charhobbs2001-05-281-2/+2
|
* * library/encoding/cp1250.enc:hobbs2001-05-2316-26/+86
| | | | | | | | | | | | | | | | | | | * library/encoding/cp1251.enc: * library/encoding/cp1252.enc: * library/encoding/cp1253.enc: * library/encoding/cp1254.enc: * library/encoding/cp1255.enc: * library/encoding/cp1256.enc: * library/encoding/cp1257.enc: * library/encoding/cp1258.enc: * library/encoding/cp874.enc: * library/encoding/iso8859-6.enc: * library/encoding/iso8859-7.enc: * library/encoding/iso8859-8.enc: * library/encoding/iso8859-10.enc (new): * library/encoding/iso8859-13.enc (new): * library/encoding/iso8859-14.enc (new): updated encoding tables based on http://www.unicode.org/Public/MAPPINGS/. (kuhn)
* * library/history.tcl (tcl::HistAdd): prevent empty calls fromhobbs2001-05-171-1/+7
| | | | being added to the history (arndt)
* Fix for Bug 420186dgp2001-05-031-4/+5
|
* Got the encoding wrong; thanks to Richard Suchenwirth for pointing medkf2001-04-251-2/+2
| | | | in the direction of a correct encoding.
* Added some ISO8859-15 (Latin-9 or Latin-1+Euro symbol) support.dkf2001-04-251-0/+20
|
* Corrected behaviour of [namespace code] (bug #219385, patch #403530)Miguel Sofer2001-04-071-2/+2
|
* Modified processing of $::errorInfo by [unknown] when the auto-loaded commanddgp2001-04-061-7/+41
| | | | | throws an error to better cover the tracks of auto-loading. [Bug 219280, Patch 403551]
* * library/package.tcl (pkg_mkIndex): Added patch from Vincedgp2001-03-141-1/+22
| | | | | Darley to make [pkg_mkIndex -verbose] even more verbose. [Bug 219349, Patch 403529]
* 2000-12-10 Don Porter <dgp@users.sourceforge.net>dgp2000-12-115-22/+22
| | | | | | | | | | | | | | * library/init.tcl: * library/msgcat/msgcat.tcl: * library/msgcat/pkgIndex.tcl: * library/opt/optparse.tcl: * library/opt/pkgIndex.tcl: Where [uplevel] is used in a proc to evaluate a Tcl built-in command in the caller's context, the built-in commands are now fully namespace-qualified. This prevents problems when the caller context is in a namespace where the built-in command name has been used by a command in the namespace. (For example, [::ns::set] might be called instead of the intended [::set]). [Bug #119422, Patch #102545]
* * library/init.tcl: Added support for PATHEXT variable inhobbs2000-12-091-3/+9
| | | | | auto_execok, recognizing the proper set of executable extensions on Windows. [Patch #102719]
* * library/dde/pkgIndex.tcl: updated to use 84 version to reflecthobbs2000-12-071-2/+2
| | | | | the makefile. Should probably be updated to use its real version at some point. [Patch #102560, Bug #119421]
* Missed a few spots with the previous checkin. Now onlydkf2000-11-241-8/+6
| | | | | | | | tools/tcltk-man2html.tcl is left unfixed, but that file is sufficiently complex that I don't dare touch it without understanding exactly what all of the supposed directory separators are doing there. In any case, this file is probably not going to be used by ordinary users; developers can put up with a few more "pointless restrictions"...
* [glob] uses -directory instead of unsafe [file join] to stop problemsdkf2000-11-242-6/+7
| | | | with some directory names. Fixes Bug #123313 in Tcl.
* Improved use of [uplevel] in unknown. Fixes #123217dkf2000-11-231-7/+7
|
* unversioned the reg and dde CVS directorieshobbs2000-11-032-12/+0
|
* unversioned http msgcat and opt packages in CVShobbs2000-11-036-2295/+0
|
* unversioned the tcltest directoryhobbs2000-11-032-3498/+0
|
* * library/tcltest1.0/tcltest.tcl: Removed a cd into the testjenn2000-10-272-8/+2
| | | | | | directory in runAllTests that screwed up the temporary directory setting, effectively preventing users from running tests on multiple platforms at the same time.
* * tests/all.tcl: Removed support for tcltest 1.0.jenn2000-10-246-8626/+4814
| | | | | | | | | | * tests/tcltest.test: * library/tcltest1.0/tcltest.tcl: * library/tcltest1.0/pkgIndex.tcl: * docs/tcltest.n: Moved tcltest2 code so that it's the standard version of tcltest. Removed all tcltest2 files (tests/tcltest2.test, library/tcltest1.0/tcltest2.tcl, docs/tcltest2.n).
* * library/tcltest1.0/tcltest2.tcl:jenn2000-10-192-414/+922
| | | | | | | | | | | | | | * tests/tcltest2.test * doc/tcltest2.n: Code and documentation cleanup. Modified -verbose to take list of keywords as well as string of letters. Removed Tcl version information from tcltest. Removed tcltest::grep from tcltest package. Added optional 3rd directory argument to makeFile/makeDirectory and removeFile/removeDirectory. * tests/basic.test: Changed references to tcltest::tclVersion to hardcoded numbers. * generic/tcl.h: Changed reference to tcltest2.tcl and tcltest.tcl in comments to tests/basic.test.
* Fixed typojenn2000-09-292-4/+6
|
* * library/tcltest1.0/tcltest2.tcl: Modified the new form of the testjenn2000-09-292-250/+476
| | | | | | command to accept both attribute-value pairs and command line options. Updated the tests and the documentation for this new format. Also changed the option names for the test command.
* * library/tcltest1.0/pkgIndex.tcl: Updated to load tcltest 2.0.jenn2000-09-204-18/+6250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/tcltest1.0/tcltest2.tcl: New version of tcltest. Cleanup of command line parsing: allows users to specify command line arguments through an environment variable named TCLTEST_OPTIONS [RFE: 3748], does not respond to incorrect arguments, and forces usage of entire flag name when using command line arguments. Defines accessor procs for all tcltest variables. Allows users to use 'return' in test scripts. Allow users to specify whether test files should be sourced or run in a separate process. 'all.tcl' code moved to tcltest package. 'test' proc modified to use attribute-value pairs. Allow users to specify what return codes, output, and errors can be compared and whether these values should be compared using regexp, glob, or exact matching. makeDirectory & removeDirectory now operate with respect to temporaryDirectory [Bug: 6001]. Test results from tests run in slave interpreters are now included in test totals [Bug: 1493]. Test files that return error values are now reported. * tests/all.tcl: Added code to check for the tcltest version loaded; modified to figure out which tests to run based on the tcltest version loaded. * tests/tcltest.test: Modified to explicitly load version 1.0 of tcltest. * tests/tcltest2.test: New test suite for tcltest; includes all of the old tests plus new ones reflecting changes made for version 2.0. * tests/cmdAH.test: Added singleTestInterp constraint to cmdAH-31.2; this test does not run if tests aren't sourced into a single interpreter. * tests/socket.test: Fixed two tests that were referencing variables outside of scope. * tools/tcl.wse.in: Added code to install tcltest2.tcl. * doc/tcltest2.n: New documentation for tcltest version 2.0. Removes documentation for tcltest namespace variables. Adds documentation for new tcltest procs. * unix/mkLinks: Added code to link to tcltest2.n. * generic/tcl.h: Added comment to modify tcltest2.tcl as well as tcltest.tcl for version changes.
* * README:hobbs2000-09-062-4/+4
| | | | | | | | | | | * generic/tcl.h: * library/tcltest1.0/tcltest.tcl: * tools/tcl.wse.in: * tools/tcltk-man2html.tcl: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: updated patchlevel to 8.4a2
* * library/tcltest1.0/tcltest.tcl: Set debug level inericm2000-08-152-8/+8
| | | | | tcltest::restoreState to 2, for consistancy with the debug level in tcltest::saveState [Bug: 4505].
* * library/msgcat1.0/pkgIndex.tcl: Bumped version number to 1.2ericm2000-08-114-6/+6
| | | | | | | | [Bug: 6100]. * library/msgcat1.0/msgcat.tcl: Removed erroneous [package forget] in msgcat namespace initializer. Bumped version number to 1.2 [Bug: 6100].
* * library/msgcat1.0/msgcat.tcl: Removed erroneous [package forget]ericm2000-08-102-4/+2
| | | | in msgcat namespace initializer.
* * tests/pkgMkIndex.test: Added tests for pkg_compareExtension.ericm2000-07-191-6/+23
| | | | | | | * library/package.tcl: Enhanced pkg_compareExtension to handle Unixes which tack the version number on to the end of library names (eg, foo.so.1.2); such filenames will be correctly matched. (Patch from Vince Darley).
* * tests/opt.test: Removed references to Lfirst, Lrest functions.ericm2000-07-182-48/+32
| | | | | | | * library/opt0.4/optparse.tcl: Applied patch from Chris Nelson, which replaces the [Lfirst] function with an inline [lindex ... 0] and [Lrest] with [lrange ... 1 end], for better performance. [RFE: 6019]
* * library/msgcat1.0/msgcat.tcl:ericm2000-07-172-8/+168
| | | | | | | | | | | * doc/msgcat.n: * tests/msgcat.test: Applied patches from Chris Nelson, to provide the mcmset function, which allows the translator to set multiple string translations in a single function call, rather than requiring many calls to mcset. [RFE: 6000, 5993]. In addition, these patches correct mcload to use utf-8 encoding on when reading message catalog files, and provides for better default behavior for determining the locale on a Windows system.
* * tests/msgcat.test:ericm2000-07-062-8/+22
| | | | | | | * library/msgcat1.0/msgcat.tcl: Applied patch from Christian Krone, to provide extended args support for msgcat::unknown, which is used for strings without a known translation in the current locale [Bug: 5984].
* * doc/msgcat.n: Doc's for mcmax function.ericm2000-06-302-8/+52
| | | | | | * library/msgcat1.0/msgcat.tcl: Applied patches from Laurent Duperval, to add mcmax function, which computes the length of the longest of several translated strings. Bumped version number to 1.1.
* Applied patch from [Bug: 5922]ericm2000-06-202-4/+4
|
* 2000-05-29 Sandeep Tamhankar <sandeep@scriptics.com>hobbs2000-06-022-46/+80
| | | | | | | | | | | | | | | * tests/http.test * doc/http.n * library/http2.3/http.tcl: Fixed bug 5741, where unsuccessful geturl calls sometimes leaked memory and resources (sockets). Also, switched around some of the logic so that http::wait never throws an exception. This is because in an asynchronous geturl, the command callback will probably end up doing all the error handling anyway, and in an asynchronous situation, the user expects to check the state when the transaction completes, as opposed to being thrown an exception. For the http package, this menas the user can check http::status for "error" and http::error for the error message after doing the http::wait.
* * library/init.tcl (auto_import): added check to see if a validhobbs2000-05-181-1/+7
| | | | pattern was coming in, to avoid simple error cases [Bug: 3326]
* * library/history.tcl: Corrected an off-by-one error in HistIndex,ericm2000-05-151-2/+3
| | | | | which was causing [history redo] to start its search at the wrong event index. [Bug: 1269].
* * README:hobbs2000-05-035-12/+12
| | | | | | | | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * library/reg1.0/pkgIndex.tcl: * library/tcltest1.0/tcltest.tcl: * mac/README: * tools/tcl.hpj.in: * tools/tcl.wse.in: * unix/README: * unix/configure.in: * unix/tcl.spec: * win/README: * win/README.binary: * win/configure.in: * win/makefile.vc: * win/tcl.m4: updated patchlevel to 8.4a1
* moved http2.1 to http2.3hobbs2000-04-252-875/+0
|
* 2000-04-22 Jim Ingham <jingham@cygnus.com> * library/package.tcl ↵jingham2000-04-231-2/+2
| | | | (tclPkgUnknown): Fixed a typo in the Mac package search part of tclPkgUnknown.
* 2000-04-21 Sandeep Tamhankar <sandeep@scriptics.com>sandeep2000-04-223-27/+57
| | | | | | | | | | | * library/http2.1/http.tcl: Fixed a newly introduced bug where if there's a -command callback and something goes wrong, geturl threw an exception, called the callback, and unset the token. I changed it so that it will not call the callback when throwing an exception (so the caller only finds out about a given error from one place). Also, fixed http::ncode so that it actually gives you back the http return code (i.e. 200, 404, etc.) instead of the first digit of the version of HTTP being used (i.e. 1).
* More thrashing with the "server closeswelch2000-04-223-42/+90
| | | | | | without reading post data" scenario. Reverted to the previous filevent configuratiuon, which seems to work better with small amounts of post data.
* * library/dde1.1/pkgIndex.tcl:hobbs2000-04-204-24/+24
| | | | | | | | | | | * library/reg1.0/pkgIndex.tcl: * win/tclWinChan.c: * win/tclWinThrd.c: converted CRLF to LF the */tcl.hpj.in files were not converted, as it confuses hcw locally. [Bug: 5096] * win/Makefile.in: expanded cleanup or help files * doc/Thread.3: minor macro cleanup
* * msgcat.n: Added docs for new behavior from patch in [Bug: 4158].ericm2000-04-112-14/+50
| | | | | | | | | | | | | * msgcat.test: Added tests for new behavior from patch in [Bug: 4158]. * msgcat.tcl: Applied patch from [Bug: 4158], which enables msgcat::mc to search the entire namespace ancestry chain for message translations (ie, first it checks the current namespace, then the parent, then the parent's parent, etc). Also allows the specification of additional args for msgcat::mc; if extra args are given, the [format] command is used to substitute the additional args in the translated message.