summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * tests/all.tcl: Removed support for tcltest 1.0.jenn2000-10-2412-11529/+6523
| | | | | | | | | | * 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).
* * win/tclWinFile.c (TclpMatchFilesTypes): made the stat call onlyhobbs2000-10-212-8/+30
| | | | | occur when necessary (for 'glob' command). Significantly speeds up glob command from 8.3. [BUG: 6216]
* * library/tcltest1.0/tcltest2.tcl:jenn2000-10-197-515/+1203
| | | | | | | | | | | | | | * 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.
* 2000-10-06 David Gravereaux <davygrvy@ajubasolutions.com>davidg2000-10-061-22/+53
| | | | | | | * win/tclWinChan.c: moved Win2K bug case test with GetStdHandle() from TclpGetDefaultStdChannel into Tcl_MakeFileChannel to enable a more general method in detecting invalid OS handles rather than just a specific known case. [BUG: 5971]
* no messagedavidg2000-10-061-0/+7
|
* * tests/cmdAH.test: extra tests for 'file channels' that includehobbs2000-10-063-19/+104
| | | | | | | multiple interpreter tests and channel sharing * generic/tclIO.c (Tcl_GetChannelNamesEx): corrected function (and consequently 'file channels') to return channels that are actually registered for this specific interp, rather than this thread.
* * doc/CrtChannel.3: fixed spelling mistakeshobbs2000-10-061-13/+13
|
* added demarcation of out-of-order 8.3.2 ChangeLog entrieshobbs2000-10-051-0/+7
|
* Fixed typojenn2000-09-292-4/+6
|
* Fixed a typo.jenn2000-09-291-1/+1
|
* * tests/tcltest.test: Modified the new form of the testjenn2000-09-291-237/+272
| | | | | | 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/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.
* * doc/tcltest2.n: Modified the new form of the test command tojenn2000-09-291-108/+142
| | | | | | 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. Fixed some typos.
* * library/tcltest1.0/tcltest2.tcl:jenn2000-09-291-0/+9
| | | | | | | | * tests/tcltest.test: * doc/tcltest2.n: Modified the new form of the test 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.
* * win/tclWinSerial.c (SerialGetOptionProc): corrected reporting ofhobbs2000-09-291-2/+2
| | | | space parity on Windows (Eason) [Bug 6057].
* * win/Makefile.in: commented use of TESTFLAGShobbs2000-09-293-3/+35
| | | | | * unix/Makefile.in: added TESTFLAGS to test target to conform with Windows makefile and TEA style.
* * tests/stack.test: prevented possible crash on systems with lowhobbs2000-09-291-3/+23
| | | | | | default stacksize (Tru64, AIX) in infinite recursion test. A solution to check remaining stack space in the core is best, but hard to do in a cross-platform manner.
* * generic/tclIOGT.c (FLUSH_DELAY): renamed DELAY define tohobbs2000-09-291-3/+3
| | | | FLUSH_DELAY to avoid defn conflict using Tru64's cc.
* * tools/tcl.wse.in: added tclPlatDecls.h and tkPlatDecls.h to thehobbs2000-09-291-0/+10
| | | | Windows .exe install.
* * tests/fCmd.test (fCmd-6.20): corrected test to removehobbs2000-09-292-34/+11
| | | | | | | c:/tcl8975@ after creating it. * tests/fileName.test: cleaned up the testing of glob patterns for c:/globTest (Windows) to directly create/remove directory.
* added changes related to upport of stacked channel rewritehobbs2000-09-281-0/+235
|
* up-port of the stacked channel implementation rewrite in 8.3.2 tohobbs2000-09-2816-1941/+5466
| | | | 8.4a2 code base, merged in with some existing new 8.4a2 features.
* addition of tclIOGT.c source filehobbs2000-09-281-2/+11
| | | | corrected static build inclusion of reg and dde libraries
* addition of tclIOGT.c source filehobbs2000-09-282-6/+10
|
* updated docs to reflect 8.3.2 stacked channel implementation up-porthobbs2000-09-282-90/+250
|
* * win/tclConfig.sh.in (TCL_LIBS): Cleaned up unix-specifichobbs2000-09-281-2/+2
| | | | autoconf variables.
* * tests/socket.test: removed doTestsWithRemoteServer constrainthobbs2000-09-211-28/+14
| | | | | from socket-12.*. It requires 'exec', not a remote server. Cleaned up some coding errors.
* * library/tcltest1.0/pkgIndex.tcl: Updated to load tcltest 2.0.jenn2000-09-2014-74/+8530
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): When using -all, allericm2000-09-203-2/+15
| | | | | | | attempts after the first to match the regexp against the string should include the TCL_REG_NOTBOL flag, to avoid erroneously matching ^ in the middle of the string. Added code to set this flag after the first pass through the matching loop. [Bug: 6284].
* no messagedavidg2000-09-191-0/+6
|
* 2000-09-19 David Gravereaux <davygrvy@ajubasolutions.com>davidg2000-09-191-10/+13
| | | | | | * doc/Eval.3: Added a note about the script argument to Tcl_Eval() should be in UTF-8 or risk implied conversion errors when possible combinations of upper ascii can be valid UTF-8 special codes.
* * tests/cmdIL.test: Added a test for fix for [Bug: 6212].ericm2000-09-173-3/+25
| | | | | * generic/tclCmdIL.c (Tcl_LsortObjCmd): Applied patch from [Bug: 6212], which corrected an error in the handling of the -index option.
* * doc/Alloc.3: Added entries for Tcl_AttemptAlloc, Tcl_AttempRealloc.ericm2000-09-149-61/+341
| | | | | | | | | | | | | | | | | | | | | | | | * doc/StringObj.3: Added entry for Tcl_AttemptSetObjLength. * generic/tclDecls.h: * generic/tclStubInit.c: Regen'ed stubs files from new tcl.decls. * generic/tcl.decls: Added stubs for the Tcl_Attempt* memory allocators and for Tcl_AttemptSetObjLength. * generic/tcl.h: Added #define's for attemptckalloc, attemptckrealloc, which map to the Tcl_Attempt* memory allocators. * generic/tclCkalloc.c: Added non-panic'ing versions of Tcl_Alloc, Tcl_Realloc, etc.; these are called Tcl_AttemptAlloc, Tcl_AttemptRealloc, etc. These are used by Tcl_AttemptSetObjLength and the string obj append functions. * generic/tclStringObj.c: Modified string growth algorithm to use doubling algorithm as long as possible, and only fall back when that fails. Added Tcl_AttemptSetObjLength, and modified AppendUnicodeToUnicodeRep, AppendUtfToUtfRep, and Tcl_AppendStringsToObjVA to support this.
* no messagedavidg2000-09-081-0/+7
|
* * win/tclWinPipe.c: Stage-1 bug fix for TR#2460 "exec leaks memory".davidg2000-09-081-19/+69
| | | | | | | | Added more logic around the close-down of the pipe reader thread so as to avoid, at all cost, a TerminateThread. Most cases with exec are fixed, but I don't consider 2460 done yet. Closing down the read side of a pipe before the child process, doesn't really fit the windows model. [BUG: 2460]
* no messagedavidg2000-09-071-0/+5
|
* 2000-09-07 David Gravereaux <davygrvy@ajubasolutions.com>davidg2000-09-071-1/+2
| | | | | * win/.cvsignore: changed the glob patterns a bit to exclude VC++ project conversion backups.
* * doc/trace.n: minor doc cleanuphobbs2000-09-072-1/+7
|
* Entry for new "SEE ALSO" section.poenitz2000-09-071-0/+4
|
* New or changed "SEE ALSO" section.poenitz2000-09-0782-135/+293
|
* * win/tclWinLoad.c (TclpLoadFile): added special message forhobbs2000-09-063-5/+15
| | | | | | | ERROR_PROC_NOT_FOUND exception in loading a dll. * win/tclWinError.c: changed ERROR_PROC_NOT_FOUND to map from ESRCH (POSIX: no such process) to EINVAL because there is no good mapping for "procedure not found".
* * README:hobbs2000-09-0610-22/+22
| | | | | | | | | | | * 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
* see changes.hobbs2000-09-061-0/+35
|
* * unix/tclUnixPipe.c (TclpCreateProcess): Removed WNOHANG fromhobbs2000-09-061-3/+5
| | | | | Tcl_WaitPid call in error case of process creation on Unix, as it would lead to defunct processes. [Bug: 6148]
* * tests/string.test: extended string repeat testshobbs2000-09-061-1/+23
|
* * generic/tclCmdMZ.c (Tcl_StringObjCmd): changed STR_REPEAT tohobbs2000-09-061-5/+30
| | | | | preallocate the full space of the final string, avoided repeated appends.
* * generic/tclExecute.c (TclExecuteByteCode): INST_STR_INDEX fixedhobbs2000-09-061-13/+32
| | | | | | pedantic cast warning. Corrected support for building with -DTCL_COMPILE_STATS. Added efficiency check of object equality.
* * generic/tclHash.c: fixed pedantic warning of incorrectly placedhobbs2000-09-061-3/+3
| | | | #endif
* * doc/source.n:hobbs2000-09-062-2/+8
| | | | | * doc/Eval.3: added extra note about how to safe use ^Z in code, as it is now a cross-platform (was just Windows) EOF char.
* * generic/tclStringObj.c: Applied patch from Gerhard Hintermayerericm2000-08-302-25/+97
| | | | | | to provide a more conservative string growth algorithm for strings larger than one megabyte; this allows more efficient use of memory for very large strings.