summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* Fix a comment that was causing problems for programs (like "mktclapp") thatdrh2002-07-171-3/+3
| | | | embed the initialization script in strings. No changes to code.
* * library/tcltest/tcltest.tcl: Corrected errors in handling ofdgp2002-07-141-4/+6
| | | | configuration options -constraints and -limitconstraints.
* * Corrected reaction to existing but false ::tcl_interactive.dgp2002-07-111-3/+2
|
* * Greatly reduced the number of [exec]s, using slave interps instead.dgp2002-07-101-2/+2
| | | | | * Fixed bug uncovered in the conversion where a message was written to stdout instead of [outputChannel].
* * doc/tcltest.n: Fixed incompatibility in [viewFile].dgp2002-07-082-4/+3
| | | | | * library/tcltest/tcltest.tcl: Corrected docs. Bumped to 2.2.1. * library/tcltest/pkgIndex.tcl: [Bug 578163]
* * tests/main.test: Cheap fix for [Bugs 575851, 575858]. Avoiddgp2002-07-031-2/+6
| | | | | | | * tests/tcltest.test: non-writable . by [cd [temporaryDirectory]]. * library/auto.tcl: Fix [tcl_findLibrary] to be sure it sets $varName only if a successful library script is found. [Bug 577033]
* * doc/tcltest.n: more refinements of the documentation.dgp2002-07-031-1/+3
| | | | | * library/tcltest/tcltest.tcl: Added trace to be sure the stdio constraint is updated whenever the [interpreter] changes.
* * doc/tcltest.n: Reverted [makeFile] and [viewFile] todgp2002-07-021-5/+9
| | | | | | | | * library/tcltest/tcltest.tcl: their former behavior, and documented * tests/cmdAH.test: it. Corrected misspelling of hook * tests/event.test: procedure. Restored tests. * tests/http.test: * tests/io.test:
* * library/tcltest/tcltest.tcl: Simplified logic of [GetMatchingFiles]dgp2002-07-021-62/+64
| | | | | | | and [GetMatchingDirectories], removing special case processing. * doc/tcltest.n: More documentation updates. Reference sections are complete. Only examples need adding.
* * doc/tcltest.n: more work in progress updating tcltest docs.dgp2002-07-011-19/+15
| | | | | | | * library/tcltest/tcltest.tcl: Change [configure -match] to stop treating an empty list as a list of the single pattern "*". Changed the default value to [list *] so default operation remains the same.
* * tests/pkg/samename.tcl: restored. needed by pkgMkIndex.test.dgp2002-07-011-10/+9
| | | | | * library/tcltest/tcltest.tcl: restored writeability testing of -tmpdir, augmented by a special exception for the deafault value.
* * Stopped checking for writeability of -tmpdir value because nodgp2002-07-011-4/+10
| | | | default directory can be guaranteed to be writeable.
* * Fixed [makeFile] and [viewFile] to accurately reflect a file'sdgp2002-07-011-26/+45
| | | | | | contents. Updated tests that depended on buggy behavior. Also added warning messages to "-debug 1" operations to debug test calls to (make|remove)(File|Directory).
* * docs/tcltest.n: Doc revisions in progress.dgp2002-06-281-4/+12
| | | | | | * library/tcltest/tcltest.tcl: Corrected -testdir default value. Was not reliable, and disagreed with docs! Thanks to Hemang Lavana. [Bug 575150]
* * Made sure that the TCLTEST_OPTIONSdgp2002-06-271-39/+47
| | | | environment variablle configures tcltest at package load time.
* * Corrected suppression of -verbose skip and start by [test -output].dgp2002-06-261-5/+16
| | | | | Also corrected test suite errors exposed by corrected code. [Bug 564656]
* Excised a tiny amount of the most pointless voodoo. Leftdgp2002-06-261-4/+4
| | | | most of it in there.
* * Implementation of TIP 101. Adds and exports a [configure] commanddgp2002-06-251-819/+713
| | | | from tcltest.
* * Corrections to tcltest and the Tcl test suite so that a testdgp2002-06-221-1/+4
| | | | | | | with options -constraints knownBug -limitConstraints 1 only tests the knownBug tests. Mostly involves replacing direct access to the testConstraints array with calls to the testConstraint command (which requires tcltest version 2).
* * Corrected comments and namespace styledgp2002-06-211-48/+47
| | | | issues. Thanks to Bruce Stephens. [Bug 572025]
* * More Windows Registry locale codes from Bruno Haible.dgp2002-06-171-15/+127
|
* * Revised locale initialization to interpretdgp2002-06-172-81/+112
| | | | | | | | | environment variable locale values according to XPG4, and to recognize the LC_ALL and LC_MESSAGES values over that of LANG. Also added many Windows Registry locale values to those recognized by msgcat. Revised tests and docs. Bumped to version 1.3. Thanks to Bruno Haible for the report and assistance crafting the solution. [Bug 525522, 525525]
* * 4) deprecated [threadReap] and [mainThread] [Bug 534903]dgp2002-06-061-4/+5
|
* * tests/io.test: Fixed up namespace variable resolution issuesdgp2002-06-061-161/+195
| | | | | | | | | | | | revealed by running test suite with "-singleproc 1". * doc/tcltest.n: * library/tcltest/tcltest.tcl: * tests/tcltest.test: Several updates to tcltest. 1) changed to lazy initialization of test constraints 2) deprecated [initConstraintsHook] 3) repaired badly broken [limitConstraints]. [Patch 512214, Bug 558742, Bug 461000]
* * Added more TIP 85 tests from Arjen Markus.dgp2002-06-051-11/+29
| | | | | | Converted tcltest.test to use a private namespace. Fixed bugs in [tcltest::Eval] revealed by calling [tcltest::test] from a non-global namespace, and namespace errors in init.test.
* * Implementation of TIP 85. Allows tcltestdgp2002-06-032-31/+89
| | | | | | | users to add new legal values of the -match option to [test], associating each with a Tcl command that does the matching of expected results with actual results of tests. Thanks to Arjen Markus. [Patch 521362]
* * Fixed leak of slave interp in [pkg_mkIndex].dgp2002-05-311-2/+2
| | | | Thanks to Helmut for report. [Bug 550534]
* * Corrected [uplevel] quoting whendgp2002-05-081-2/+2
| | | | [source]-ing test script in subdirectories.
* * [mcmax] wasn't using the caller'sdgp2002-04-201-21/+29
| | | | | | namespace when determining the max translated length. Also made revisions for better use of namespace variables and more efficient [uplevel]s.
* * Added [mcload] to the export listdgp2002-04-192-4/+5
| | | | of msgcat; bumped to 1.2.3. [Bug 544727]
* * Made separate export for commandsdgp2002-04-181-5/+6
| | | | kept only for tcltest 1 compatibility.
* * Revised [tcltest::test] to return errorsdgp2002-04-151-21/+14
| | | | | | | when called with invalid syntax and to accept exactly two arguments as documented. Improved error messages. [Bug 497446, Patch 513983] ***POTENTIAL INCOMPATIBILITY***: Incompatible with previous tcltest 2.* releases, found only in alpha releases of Tcl 8.4.
* * corrected misspelling of getMatchingFilesdgp2002-04-081-2/+2
|
* * converted getMatchingFile alias into a proc so safe-2.1 will notdgp2002-04-051-3/+2
| | | | be disturbed
* * namespace protection for the getMatchingFiles alias.dgp2002-04-041-3/+4
|
* * library/tcltest/tcltest.tcl: added getMatchingFiles back (aliashobbs2002-04-041-1/+4
| | | | to GetMatchingFiles), which was a public function in tcltest 1.0.
* * Major code cleanup to deal with whitespace,dgp2002-03-271-1332/+1202
| | | | | coding conventions, and namespace issues, with several minor bugs fixed in the process.
* * More initialization fixes to avoid stomping on global variablesdgp2002-03-251-19/+15
|
* More variable initialization fixes.dgp2002-03-251-53/+38
|
* * Corrected faulty variable initialization. [Bug 534845]dgp2002-03-251-110/+47
|
* * Improve the processing of the -constraints option to [test] so thatdgp2002-03-251-3/+3
| | | | | constraint lists can have arbitrary whitespace, and non-lists don't blow things up. [Bug 495977]
* * Keep the value of $::auto_pathdgp2002-03-251-4/+1
| | | | | | unchanged, so that the tcltest package can test code that depends on auto-loading. If a testing application needs $::auto_path pruned, it should do that itself. [Bug 495726]
* * Use [interpreter] to set/query thedgp2002-03-241-10/+10
| | | | executable currently running the tcltest package. [Bug 454050]
* * Allow non-proc commands to be useddgp2002-03-241-6/+6
| | | | as the customization hooks. [Bug 495662]
* * Bumped tcltest to 2.0.2dgp2002-03-112-3/+3
|
* * library/tcltest/tcltest.tcl (getMatchingFiles): Passmdejong2002-03-111-3/+4
| | | | | a proper list to foreach to avoid munging a Windows patch like D:\Foo\Bar into D:FooBar before the glob.
* * library/encoding/iso2022-jp.enc:hobbs2002-03-022-4/+2
| | | | | | | * library/encoding/iso2022.enc: * tools/encoding/iso2022-jp.esc: * tools/encoding/iso2022.esc: gave <ESC>$B precedence over <ESC>$@, based on comments (point 1) in [Bug #219283] (rfc 1468)
* * library/safe.tcl (CheckFileName): removed the limit onhobbs2002-02-221-16/+6
| | | | | | sourceable file names (was only *.tcl or tclIndex files with no more than one dot and 14 chars). There is enough internal protection in a safe interpreter already. Fixes [Tk Bug #521560].
* * Corrected use of http::error whendgp2002-02-052-4/+4
| | | | ::error was intended. Bump to http 2.4.2.
* * library/http/pkgIndex.tcl:hobbs2002-01-252-4/+10
| | | | | * library/http/http.tcl: don't add port in default case to handle broken servers. http bumped to 2.4.1 [Bug #504508]