summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * tests/stack.test:Miguel Sofer2008-10-031-46/+6
| | | | | * unix/tclUnixTest.c: removed test command teststacklimit and the corresponding constraint: it is not needed with NRE
* Implemented TIP#195 - tcl::prefix command. [Patch 1040206]dkf2008-10-031-1/+201
|
* * tests/info.test (info-23.3): See [SF Bug 2017632]. Updatedandreas_kupries2008-10-021-3/+3
| | | | | output of the test to handle the NRE-enabled eval and the proper propagation of location information through it.
* * tests/info.test (info-22.8): Fixed [SF Bug 2129828]. Madeandreas_kupries2008-10-021-2/+2
| | | | | pattern for file containing tcltest less specific to accept both .tcl and .tm variants of the file during matching.
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-291-6/+6
| | | | | | * doc/glob.n: Revise [glob] to accept zero patterns. * generic/tclFileName.c: * tests fileName.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-291-3/+9
| | | | | | * doc/linsert.n: Revise [linsert] to accept zero elements. * generic/tclCmdIL.c: * tests/linsert.test:
* TIP #326 IMPLEMENTATIONdkf2008-09-291-3/+21
|
* TIP #313 IMPLEMENTATIONdkf2008-09-291-4/+48
|
* Implement TIP 318.dkf2008-09-291-1/+10
|
* Implement TIP 314. [Patch 1901783]dkf2008-09-281-4/+219
|
* Added test for [Bug 2130726].dkf2008-09-281-1/+4
|
* * generic/tclBasic.c: Fix the numLevels computations onMiguel Sofer2008-09-281-1/+87
| | | | | * generic/tclInt.h: coroutine yield/resume * tests/unsupported.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-261-9/+13
| | | | | | * doc/lrepeat.n: Revise [lrepeat] to accept both zero * generic/tclCmdIL.c: repetitions and zero elements to be repeated. * tests/lrepeat.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-261-1/+11
| | | | | | * doc/object.n: Revise standard oo method [my variable] to * generic/tclOOBasic.c: accept zero variable names. * tests/oo.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-261-5/+5
| | | | | | * doc/tm.n: Revise [tcl::tm::path add] and * library/tm.tcl: [tcl::tm::path remove] to accept zero paths. * tests/tm.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-261-1/+14
| | | | | | * doc/namespace.n: Revise [namespace upvar] to accept zero * generic/tclNamesp.c: variable names. * tests/upvar.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-261-7/+7
| | | | | | * doc/lassign.n: Revise [lassign] to accept zero variable names. * generic/tclCmdIL.c: * tests/cmdIL.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-251-7/+7
| | | | | | | | * doc/global.n: Revise [global] to accept zero variable names. * doc/variable.n: Revise [variable] likewise. * generic/tclVar.c: * tests/proc-old.test: * tests/var.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-252-5/+11
| | | | | | | | | * doc/global.n: Revise [global] to accept zero variable names. * generic/tclVar.c: * tests/proc-old.test: * tests/var.test: * doc/global.n: Correct false claim about [info locals].
* * tests/platform.test: Update tests to expect revised resultsdgp2008-09-252-3/+3
| | | | * tests/safe.test: corresponding to the TIP 315 change.
* Fix [Bug 2120903]dkf2008-09-251-12/+25
|
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-242-8/+12
| | | | | | | | * doc/file.n: Revise [file delete] and [file mkdir] to * generic/tclCmdAH.c: accept zero "pathname" arguments (the * generic/tclFCmd.c: no-op case). * tests/cmdAH.test: * tests/fCmd.test:
* Implementation of TIP #320.#320.#320.dkf2008-09-231-3/+190
|
* Use the powers of tcltest2 for good! Also add basic testing of disassmblerdkf2008-09-106-1440/+1394
| | | | (though not of its output format).
* * tests/nre.test: add missing constraints; enable test of foreachMiguel Sofer2008-09-101-3/+46
| | | | | | | | | recursion. * generic/tclBasic.c: * generic/tclCompile.h: * generic/tclExecute.c (INST_EVAL_STK): fix for [Bug 2102930], wrong numLevels when evaling a canonical list.
* Simplify test bodies using tcltest2dkf2008-09-083-522/+524
|
* * generic/tclTrace.test (TraceVarProc):Miguel Sofer2008-09-051-1/+26
| | | | | * generic/unsupported.test: insure that unset traces are run even when the coroutine is unwinding [Bug 2093947]
* * generic/tclExecute.c (CACHE_STACK_INFO):Miguel Sofer2008-09-041-1/+42
| | | | | * tests/unsupported.test: restore the execEnv's bottomPtr, fix for [Bug 2093188].
* Use tcltest2 better.dkf2008-09-021-419/+395
|
* * generic/tclCmdAH.c: nre-enabling [eval]; eval scripts are nowMiguel Sofer2008-09-013-22/+204
| | | | | | | * generic/tclOOBasic.c: bytecompiled. Adapted recursion limit tests * tests/interp.test: that were relying on eval not being * tests/nre.test: compiled. Part of the [Bug 2017632] project. * tests/unsupported.test:
* * generic/tclBasic.c (InfoCoroutine):Miguel Sofer2008-08-261-1/+23
| | | | | | * tests/unsupported.test: new command that returns the FQN of the currently executing coroutine. Lives as infoCoroutine under unsupported, but is designed to become a subcommand of [info]
* speling ficksdgp2008-08-222-7/+7
|
* * generic/tclUtil.c (TclReToGlob): Added missing set of thedgp2008-08-221-9/+9
| | | | | *exactPtr value to really fix [Bug 2065115]. * tests/regexpComp.test: Correct duplicate test names.
* * generic/tclBasic.c: Previous fix, now done right.Miguel Sofer2008-08-211-1/+29
| | | | | | * generic/tclCmdIL.c: * generic/tclInt.h: * tests/unsupported.test:
* really fix translation to escape glob-sensitive charshobbs2008-08-211-0/+21
|
* * tests/regexp.test, tests/regexpComp.test: correct re2glob ***=hobbs2008-08-212-2/+64
| | | | | * generic/tclUtil.c (TclReToGlob): translation from exact to anywhere-in-string match. [Bug 2065115]
* Fix performance bug introduced by fix of [Bug 2037727]dkf2008-08-201-8/+23
|
* * generic/tclBasic.c: Implementation of [coroutine] and [yield]Miguel Sofer2008-08-171-10/+312
| | | | | | | | * generic/tclCmdAH.c: commands (in tcl::unsupported). * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclInt.h: * tests/unsupported.test:
* * generic/tclTest.c (TestconcatobjCmd):Miguel Sofer2008-08-171-1/+6
| | | | | | | | | | * generic/tclUtil.c (Tcl_ConcatObj): * tests/util.test (util-4.7): fix [Bug 1447328]; the original "fix" turned Tcl_ConcatObj() into a hairy monster. This was exposed by [Bug 2055782]. Additionally, Tcl_ConcatObj could corrupt its input under certain conditions! *** NASTY BUG FIXED ***
* * tests/fileName.test: Revise new tests for portability to casedgp2008-08-141-4/+4
| | | | insensitive filesystems.
* * tests/fCmd.test (fCmd-6.23): made result matching robust when testdas2008-08-141-2/+2
| | | | workdir and /tmp are not on same FS.
* * tests/nre.test: added test for large {*}-expansion effectsMiguel Sofer2008-08-131-1/+17
|
* * generic/tclFileName.c: Fix for errors handling -types {}dgp2008-08-131-1/+38
| | | | | * tests/fileName.test: option to [glob]. [Bug 1750300] Thanks to Matthias Kraft and George Peter Staplin.
* * generic/tclProc.c (Tcl_ProcObjCmd): Fixed memory leak triggeredandreas_kupries2008-08-111-5/+31
| | | | | | * tests/proc.test: by procbody::test::proc. See [Bug 2043636]. Added a test case demonstrating the leak before the fix. Fixed a few spelling errors in test descriptions as well.
* (lrange-1.17): add test cleanup; whitespacedas2008-08-091-7/+7
|
* * generic/tclOO.c: Revised TclOO's check for an interpdgp2008-08-061-1/+29
| | | | | | | | | | being deleted during handling of object command deletion. The old code was relying on documented features of command delete traces that do not in fact work. [Bug 2039178]. * tests/oo.test (oo-26.*): Added tests that demonstrate failure of TclOO to check for various kinds of invalid bytecode during method dispatch. [Bug 2037727].
* * generic/tclExecute.c: Fix for [Bug 2038069] by dgp.Miguel Sofer2008-08-051-1/+16
| | | | * tests/execute.test:
* * tests/nre.test: added tests for [if], [while] and [for]. A testMiguel Sofer2008-08-041-2/+45
| | | | | for [foreach] has been added and marked as knownbug, awaiting for it to be NR-enabled.
* missing commit to tests/unsupported.testMiguel Sofer2008-08-041-1/+51
|
* * generic/tclExecute.c: Stopped faulty double-logging of errors todgp2008-08-041-1/+22
| | | | | | * tests/execute.test: stack trace when a compile epoch bump triggers fallback to direct evaluation of commands in a compiled script. [Bug 2037338]