summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * tests/trace.test (trace-34.5): [Bug 1047286], added a secondMiguel Sofer2005-11-181-2/+15
| | | | | test illustrating the role of "ns in callStack" in the ns's visibility during deletion traces.
* * generic/tclBasic.c (Tcl_DeleteCommandFromToken):Miguel Sofer2005-11-182-2/+55
| | | | | | | | * generic/tclCmdMZ.c (TraceCommandProc): * generic/tclInt.h (NS_KILLED): * generic/tclNamesp.c (Tcl_DeleteNamespace * tests/namespace.test (namespace-7.3-6): * tests/trace.test (trace-20.13-16): fix [Bugs 1355942/1355342].
* * generic/tclPkg.c: Revised Bug 1162286 fix from 2005-11-08dgp2005-11-181-1/+17
| | | | | | * tests/pkg.test: to be more forgiving of package version mismatch errors in [package ifneeded] commands. This reduces the ***POTENTIAL INCOMPATIBILITY*** noted for that change.
* Backport of improved URL parsing. [Bug 1358369]dkf2005-11-181-73/+56
|
* Bugs 926106 and 1353840Kevin B Kenny2005-11-151-1/+13
|
* Bug 1350293Kevin B Kenny2005-11-091-13/+11
|
* * tests/expr.test: Portable tests expr-46.13-18 [Bug 1341368]dgp2005-11-081-25/+13
|
* * generic/tclPkg.c: Corrected inconsistencies in the value returneddgp2005-11-082-24/+213
| | | | | | | | * tests/pkg.test: by Tcl_PkgRequire(Ex) so that the returned values will always agree with what is stored in the package database. This way repeated calls to Tcl_PkgRequire(Ex) have the same results. Thanks to Hemang Lavana. [Bug 1162286]. * tests/namespace.test (25.7,8): Backport test of knownBug.
* * tests/trace.test (trace-13.2-4): added tests to detect leak, see [BugMiguel Sofer2005-11-071-2/+56
| | | | 1348775].
* * win/tclWinPipe.c: Applied patch #1267871 by Matt Newman whichpatthoyts2005-11-041-1/+46
| | | | | * win/tclWinPort.h: provides extended error code support. * tests/exec.test: Wrote some tests for this feature.
* * generic/tclInt.h:Miguel Sofer2005-11-041-3/+3
| | | | | | | * generic/tclNamesp.c: * generic/tclVar.c: fix for [Bugs 1338280/1337229]. Thanks Don. * tests/trace.test: fix duplicate test numbers
* * tests/expr-old.test (expr-32.52): Use int(.) to restrictdgp2005-11-011-2/+2
| | | | result of left shift to the C long range.
* * tests/expr.test: Fix problems in new round()mdejong2005-10-291-25/+29
| | | | | tests that lead to correct result only on 32 bit long systems. [Bug 1341368]
* fix new test trace-18.4 [Bug 1338280]Miguel Sofer2005-10-291-6/+9
|
* * generic/tclCmdMZ.c (TraceVarProc): [Bug 1337229], partialMiguel Sofer2005-10-291-1/+18
| | | | | | | | | fix. Insure that a second call with TCL_TRACE_DESTROYED does not lead to a second call to Tcl_EventuallyFree(). It is still true that that second call should not happen, so the bug is not completely fixed. * tests/trace.test (test-18.3-4): added tests for bugs #1337229 and 1338280.
* * generic/tclExecute.c (ExprRoundFunc):mdejong2005-10-282-9/+33
| | | | | | | | | | | Fix typo where number before rounding is compared with smallest integer instead of number after rounding. This fix does not change the results of any tests. * tests/expr.test: Add round() tests for cases near the min and max int values. * tests/util.test: Remove pointless warning code about testobj command.
* Fix [Bug 1284178] and tweak tests to accommodate.dkf2005-10-131-5/+9
|
* * unix/tclUnixFCmd.c (TraverseUnixTree): Adjust 2004-11-11 change tohobbs2005-10-071-2/+2
| | | | | * tests/fCmd.test (fCmd-20.2): account for NFS special files with a readdir rewind threshold. [Bug 1034337]
* test to fix for 979640hobbs2005-10-051-13/+8
|
* * tests/http.test: do not URI encode -._~ accordinghobbs2005-10-051-3/+3
| | | | * library/http/http.tcl (init): to RFC3986. [Bug 1182373] (aho)
* Fix [Bug 1116542]dkf2005-09-271-1/+5
|
* * generic/tclUtf.c (Tcl_UniCharToUtf): Corrected handling of negativedgp2005-09-071-1/+4
| | | | | | * tests/utf.test (utf-1.5): Tcl_UniChar input value. Incorrect handling was producing byte sequences outside of Tcl's legal internal encoding. [Bug 1283976].
* renumber expr-39.* to expr-46.*Kevin B Kenny2005-08-291-13/+13
|
* fix test case numberingKevin B Kenny2005-08-291-2/+2
|
* Bug 1275043Kevin B Kenny2005-08-291-1/+72
|
* fix abs(MIN_INT) [Bug 1241572]Kevin B Kenny2005-08-051-1/+7
|
* Take care with globals that have an entry in the var table but "don't exist"dkf2005-07-291-2/+15
|
* Backport of fix for [Bug 1245953]dkf2005-07-281-1/+29
|
* typodgp2005-07-261-2/+2
|
* * generic/tclNamesp.c (TclTeardownNamespace): Re-ordering so thatdgp2005-07-261-1/+12
| | | | | * tests/trace.test (trace-34.4): command delete traces fire while the command still exists. [Bug 1047286]
* * generic/tclNamesp.c: Allow for [namespace import] of a commanddgp2005-07-051-2/+2
| | | | | * tests/namespace.test: over a previous [namespace import] of itself without throwing an error. [RFE 1230597]
* * tests/safe.test: Backport performance improvement fromdgp2005-06-221-1/+5
| | | | reduced $::auto_path.
* * tests/winDde.test: Added some waits to the dde server script topatthoyts2005-06-211-32/+40
| | | | | | let event processing run after we create the dde server and before we exit the server process. This avoids 'server did not respond' errors.
* bugs 1194458 and 1225044Kevin B Kenny2005-06-211-1/+8
|
* * generic/tclBasic.c: Made the walk of the active trace list awaredgp2005-06-211-1/+17
| | | | | | * generic/tclCmdMZ.c: of the direction of trace scanning, so the * generic/tclInt.h: proper correction can be made. [Bug 1224585] * tests/trace.test (trace-34.2,3):
* * generic/tclBasic.c (Tcl_DeleteTrace): Added missing walk of thedgp2005-06-211-1/+18
| | | | | * tests/trace.test (trace-34.1): list of active traces to cleanup references to traces being deleted. [Bug 1201035]
* Fix bug in [format %hx] handling on selected platforms. [Bug 1154163]dkf2005-06-171-1/+5
|
* * tests/env.test: added DYLD_FRAMEWORK_PATH to the list of env varsdas2005-05-241-3/+3
| | | | that need to be handled specially.
* * macosx/tclMacOSXBundle.c:das2005-05-141-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * unix/tclUnixInit.c: * unix/tcl.m4 (Darwin): made use of CoreFoundation API configurable and added test of CoreFoundation availablility to allow building on ppc64, replaced HAVE_CFBUNDLE by HAVE_COREFOUNDATION; test for availability of Tiger or later OSSpinLockLock API. * unix/tclUnixNotfy.c: * unix/Makefile.in: * macosx/tclMacOSXNotify.c (new file): when CoreFoundation is available, use new CFRunLoop based notifier: allows easy integration with other event loops on Mac OS X, in particular the TkAqua Carbon event loop is now integrated via a standard tcl event source (instead of TkAqua upon loading having to finalize the exsting notifier and replace it with its custom version). [Patch 1202052] * tests/unixNotfy.test: don't run unthreaded tests on Darwin since notifier may be using threads even in unthreaded core. * unix/tclUnixPort.h: * unix/tcl.m4 (Darwin): test for thread-unsafe realpath durning configure, as Darwin 7 and later realpath is threadsafe. * macosx/tclMacOSXBundle.c: * unix/tclLoadDyld.c: * unix/tclUnixInit.c: fixed gcc 4.0 warnings. * unix/configure: autoconf-2.13
* * tests/string.test: string-10.[21-30]hobbs2005-05-111-1/+31
| | | | | * generic/tclCmdMZ.c (Tcl_StringObjCmd): add extra checks to prevent possible UMR in unichar cmp function for string map.
* * library/init.tcl: Corrected flaw in interactive commanddgp2005-04-281-1/+17
| | | | * tests/main.test: auto-completion. [Bug 1191409].
* * tests/unixInit.test (7.1): Alternative fix for thedgp2005-04-271-6/+6
| | | | 2005-04-22 commit.
* * generic/tclCmdMZ.c: Corrected intrep-dependence ofdgp2005-04-221-1/+10
| | | | * tests/string.test: [string is boolean] [Bug 1187123]
* * tests/unixInit.test (7.1): fixed failure when running testsdas2005-04-211-2/+2
| | | | with -tmpdir arg not set to working dir.
* * tests/winPipe.test (winpipe-6.2): remove -blocking 1 as this onehobbs2005-04-201-2/+1
| | | | can truly block.
* * win/tclWinPipe.c: The pipe channel driver now respectsdavygrvy2005-04-191-1/+3
| | | | | | | | | | | | | | | | | | the -blocking option when closing. The windows pipe driver now has the same behavior as the UNIX side. This change is to avoid a hung shell when exiting due to open pipes that refuse to close in a graceful manner. * doc/open.n: Added a note about -blocking 0 and lack of exit status as it had never been documented. [Bug 947693] ***POTENTIAL INCOMPATIBILITY*** Scripts that use async pipes on windows, must (like the UNIX side) set -blocking to 1 before calling [close] to receive the exit status. * tests/winPipe.test (winpipe-6.1/2): added 'fconfigure $f -blocking 1' so the exit status can be acquired.
* * generic/tclIO.c (Tcl_SetChannelBufferSize): Lowest size limitdavygrvy2005-04-142-5/+5
| | | | | | | | | | * tests/io.test: changed from ten bytes to one byte. Need * tests/iogt.test: for this change was proven by Ross Cartlidge <rossc@cisco.com> where [read stdin 1] was grabbing 10 bytes followed by starting a child process that was intended to continue reading from stdin. Even with -buffersize set to one, nine chars were getting lost by the buffersize over reading for the native read() caused by [read].
* * generic/tclBasic.c (Tcl_EvalEx,TclEvalTokensStandard):dgp2005-03-182-5/+49
| | | | | | | | | * generic/tclCmdMZ.c (Tcl_SubstObj): * tests/basic.test (basic-46.4): Restored recursion limit * tests/parse.test (parse-19.*): testing in nested command substitutions within direct script evaluation (Tcl_EvalEx) that got lost in the parser reforms of Tcl 8.1. Added tests for correct behavior. [Bug 1115904]
* more tests and a fix to bug 1158199vincentdarley2005-03-151-1/+9
|
* fix to file norm, file pathtype on windows reserved filenamesvincentdarley2005-03-151-1/+49
|