summaryrefslogtreecommitdiffstats
path: root/tests/interp.test
Commit message (Collapse)AuthorAgeFilesLines
* Fix an odd [after]-and-limits problem. [Bug 1221395]dkf2005-06-171-1/+18
| | | FossilOrigin-Name: 6d6caaf8f99d38fa285a05f9e3aea0b9571f28c5
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232kennykb2005-05-101-1/+1
| | | FossilOrigin-Name: 1cc2336920c70c6b9f7825b88dec87fc223f2c4e
* Upgrade the capabilities of time limits by allowing them to fire in the midstdkf2004-12-161-2/+23
| | | | | | of the processing of the event loop or during a blocking [after]. [Bug 1085023] FossilOrigin-Name: 5ca9f3ce906a4845a60e088bffd5426c386733d3
* * tests/interp.test (interp-36.*): [interp bgerror] tests.dgp2004-11-181-1/+36
| | | | | | * generic/tclInterp.c: Corrected [interp bgerror] error messages. FossilOrigin-Name: 85987a85c4269cb5ea1f3773f1563b781e6de5ba
* TIP #221 IMPLEMENTATIONdgp2004-11-131-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBasic.c: Define [::tcl::Bgerror] in new interps. * generic/tclEvent.c: Update Tcl_BackgroundError to make use of the registered [interp bgerror] command. * generic/tclInterp.c: New [interp bgerror] subcommand. * tests/interp.test: syntax tests updated. TIP #226 IMPLEMENTATION * generic/tcl.decls: Stubs for Tcl_(Save|Restore|Discard)InterpState * generic/tcl.h: New public opaque type, Tcl_InterpState. * generic/tclInt.h: Drop old private declarations. Add Tcl(Get|Set)BgErrorHandler * generic/tclResult.c: Tcl_*InterpState implementations. * generic/tclDictObj.c: Update callers. * generic/tclIOGT.c: * generic/tclTrace.c: TIP #227 IMPLEMENTATION * generic/tcl.decls: Stubs for Tcl_(Get|Set)ReturnOptions. * generic/tclInt.h: Drop old private declarations. * generic/tclResult.c: Tcl_*ReturnOptions implementations. * generic/tclCmdAH.c: Update callers. * generic/tclMain.c: FossilOrigin-Name: 2475a460cd0a667ae4c1166131c5a231762b673a
* * doc/interp.n:msofer2004-09-141-5/+12
| | | | | | | | * generic/tclInterp.c (TclPreventAliasLoop, AliasCreate): * tests/interp.test (17.4-6, 19.3-4): fixing problems with renaming of aliases [Bugs 707104 1026493]. Fix designed by dgp. FossilOrigin-Name: de8c43016db67b89dfd362d11d959b05846d882b
* TIP #173 and #209 implementation - see ChangeLog for detailskennykb2004-08-181-4/+4
| | | FossilOrigin-Name: 251b9c6ecacca6de5ae9b2efc34597b499c02b3c
* TIP#207 IMPLEMENTATIONdgp2004-08-021-1/+14
| | | | | | | | | | | | * doc/interp.n: Added support for a -namespace option to the * generic/tclBasic.c: [interp invokehidden] command. Also added an * generic/tclInt.h: internal routine TclObjInvokeNamespace() and * generic/tclInterp.c: corrected the flag names TCL_FIND_ONLY_NS and * generic/tclNamesp.c: TCL_CREATE_NS_IF_UNKNOWN that are passed to the * generic/tclTrace.c: internal routine TclGetNamespaceForQualName(). * tests/interp.test: [Patch 981841] FossilOrigin-Name: 07142774f25f4ff8facb1e4e0ef73c9105e44adf
* Test name was thoroughly misleadingdkf2004-05-271-2/+2
| | | FossilOrigin-Name: 2323996244d47520e0498738b6ff67e7dc1301b0
* * tests/autoMkindex.test (autoMkindex-5.2): Use variable "result"dgp2004-05-251-1/+2
| | | | | | | | | that gets cleaned up. * tests/exec.test: Clean up the "path" array. * tests/interp.test (interp-9.3): Initialize res, so prior values cannot make the test fail. FossilOrigin-Name: 60cd15fd68145fe8796db829cb85a9d82b08287c
* Delete limit callbacks properly when the interpreters involved are deleted.dkf2004-05-201-1/+75
| | | FossilOrigin-Name: 712f5c453b534cf09117cd3094653cf89c1acd87
* Added test based on suggestion by Miguel Soferdkf2004-05-191-1/+17
| | | FossilOrigin-Name: 5102d37e7bc51edca7ba8090455541b7cb18c1f4
* Enable a test of limiting tight loops.dkf2004-05-191-6/+7
| | | FossilOrigin-Name: f625a38945e22749ae12046b766d8c3213970ebd
* Spelling whoops! Moved constraint declaration to near top of filedkf2004-05-191-2/+3
| | | FossilOrigin-Name: 52ebc6eeab3708b1912e02bc62f656f8f491255c
* Massive test cleanup; all tests are run, and constraints are used where ↵dkf2004-05-191-76/+72
| | | | | necessary. FossilOrigin-Name: ae1ac5736f8152bee6dd84f96e191a4a097cebb3
* Tests of limit-exceeded callbacks and make sure that those callbacks can removedkf2004-05-181-1/+52
| | | | | | the limits if they see fit (as well as extending them). FossilOrigin-Name: b996406579231f9003c3554f23e0f9d3aaa345d3
* Improved TIP#143 tests and now track the number of bytecoded commands better.dkf2004-05-171-11/+17
| | | FossilOrigin-Name: 37a66100cf7545129faa061103a98d0d64156968
* Expanding the tests avilable for TIP#143 features.dkf2004-05-141-1/+129
| | | | | | Now check that basic syntax is verified. FossilOrigin-Name: 5105e116f385ce511edcf79dfb43951055b603fc
* TIP#143 implementation; still needs docs and more tests...dkf2004-05-131-148/+151
| | | FossilOrigin-Name: 9736fa23ede52d46484e814a9d86a49349eed6b0
* * generic/tclCompile.c: New instruction code INST_START_CMDmsofer2004-03-301-2/+2
| | | | | | | | | | | * generic/tclCompile.h: that allows checking the bytecode's * generic/tclExecute.c: validity [Bug 729692] and the interp's * tests/interp.test (18.9): readyness [Bug 495830] before running * tests/proc.test (7.1): the command. It also changes the * tests/rename.test (6.1): mechanics of the async tests in TEBC, doing it now at command start instead of every 16 instructions. FossilOrigin-Name: f7f63d8e13b76d48c0ba10572aa88d8700415e7c
* Removed support for Mac OS Classic platform [Patch 918142]das2004-03-171-26/+2
| | | FossilOrigin-Name: b6330dbac725e2d527ad089669aa7f4779d19398
* * doc/ParseCmd.3: Implementation of TIP 157. Adds recognitiondgp2003-11-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/Tcl.n: of the new leading {expand} syntax on words. * generic/tcl.h: Parses such words as the new Tcl_Token type * generic/tclBasic.c: TCL_TOKEN_EXPAND_WORD. Updated Tcl_EvalEx * generic/tclCompile.c: and the bytecode compiler/execution engine * generic/tclCompile.h: to recognize the new token type. New opcodes * generic/tclExecute.c: INST_LIST_VERIFY and INST_INVOKE_EXP and a new * generic/tclParse.c: operand type OPERAND_ULIST1 are defined. Docs * generic/tclTest.c: and tests are included. * tests/basic.test: * tests/compile.test: * tests/parse.test: * library/auto.tcl: Replaced several [eval]s used to perform * library/package.tcl: argument expansion with the new syntax. * library/safe.tcl: In the test files lindex.test and lset.test, * tests/cmdInfo.test: replaced use of [eval] to force direct * tests/encoding.test: string evaluation with use of [testevalex] * tests/execute.test: which more directly and robustly serves the * tests/fCmd.test: same purpose. * tests/http.test: * tests/init.test: * tests/interp.test: * tests/io.test: * tests/ioUtil.test: * tests/iogt.test: * tests/lindex.test: * tests/lset.test: * tests/namespace-old.test: * tests/namespace.test: * tests/pkg.test: * tests/pkgMkIndex.test: * tests/proc.test: * tests/reg.test: * tests/trace.test: * tests/upvar.test: * tests/winConsole.test: * tests/winFCmd.test: FossilOrigin-Name: cbfb8313bae848d0c0a2070542fbc2e4fa371ba2
* Typo correction: knownbug -> knownBugdgp2003-09-041-2/+2
| | | FossilOrigin-Name: f22bbe5d8666bfc23c1c1dc7558aee74dd9977c3
* * generic/tclBasic.c:msofer2003-06-101-1/+11
| | | | | | | | | * generic/tclExecute.c: let TclExecuteObjvInternal call TclInterpReady instead of relying on its callers to do so; fix for the part of [Bug 495830] that is new in 8.4. * tests/interp.test: Added tests 18.9 (knownbug) and 18.10 FossilOrigin-Name: d23b012af9805d5871f9a118a9fb72a2c0a168f6
* * generic/tclInterp.c: (AliasObjCmd): Added refCounting of the wordsdgp2003-05-121-1/+10
| | | | | | | * tests/interp.test (interp-33.1): of the target of an interp alias during its execution. Also added test. [Bug 730244]. FossilOrigin-Name: 5e4caa051777c9763185b41ec96257f78d60f3c4
* Corrected error message for grammar and spelling.dkf2003-05-051-4/+4
| | | FossilOrigin-Name: 238c25b34ca9cabbd6c2b2f42d343187c7f92aaf
* * generic/tclInterp.c (Tcl_InterpObjCmd): Corrected optiondgp2003-03-121-2/+5
| | | | | | | parsing beyond objc for [interp create --]. Thanks to Marco Maggi. [Bug 702383] FossilOrigin-Name: 012f9765e22470e0cc23654df86da9398adc1260
* * tests/interp.test:mdejong2003-02-051-3/+3
| | | | | | | | | * tests/set-old.test: Run test cases that depend on hash order through lsort so that the tests also pass under Jacl. Does not change test results under Tcl. FossilOrigin-Name: 050a14cf7338e4ef0918ce749e0f5a2d08074dab
* * tests/interp.test: interp-14.4hobbs2002-11-231-1/+7
| | | | | | | * generic/tclInterp.c (TclPreventAliasLoop): prevent seg fault when creating an alias command over the interp name. [Bug #641195] FossilOrigin-Name: 9be42b0849fa44a8e05adfbaf3113866363d8378
* bugfix, new tests for new [interp alias] codemsofer2002-07-291-2/+26
| | | FossilOrigin-Name: 86e71c5d614eb28a3be2aade53caa860e568bf42
* Fix for [Bug 582522] - aliases now fire execution traces on the targetmsofer2002-07-291-8/+8
| | | | | | command. Optimisation of alias invocation. FossilOrigin-Name: 81bf54a15536a93fda01b0f68c488728bc3d0fd4
* * Updated the instructions on running and adding to the test suite.dgp2002-07-011-26/+28
| | | | | | | Also updated several tests, mostly to correctly create and destroy any temporary files in the [temporaryDirectory] of tcltest. FossilOrigin-Name: 7e30b7a427687b12f5bc1752445fb994686ff993
* * Added the [interp recursionlimit] command todgp2002-03-071-23/+522
| | | | | | | set/query the recursion limit of an interpreter. Proposal and implementation from Stephen Trier. [TIP 87, Patch 522849] FossilOrigin-Name: 74cba3cfd35665d6eca82771cb2ef4a496298287
* * tests/interp.test:hobbs2001-11-161-1/+12
| | | | | | | * generic/tclInterp.c (SlaveObjCmd): Corrected argument checking for '$interp alias|aliases|issafe'. [Patch #479560] (thoyts, hobbs) FossilOrigin-Name: 12ec29d26bfaa8b7bf3aea754214e0204cbac8b4
* * tests/interp.test: Print out warning whenmdejong2001-03-291-2/+23
| | | | | | | | testinterpdelete command is not defined. Add tests that checks to make sure a child interp inherits the parent's cwd. FossilOrigin-Name: 05df7048a2896016fd4901c11561d07f3190074b
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948]. FossilOrigin-Name: c2f93a113cfcb17a21da67cc20f54ab3f1b9fa3c
* * tests/tcltest.test: Added additional tests for -tmpdir, markedjenn1999-08-231-2/+2
| | | | | | | | | | | | | | | | all tests that use exec as unixOrPc. * tests/encoding.test: * tests/interp.test: * tests/macFCmd.test: * tests/parseOld.test: * tests/regexp.test: Applied patches from Jim Ingham to add encoding to a Mac only interp test, change an error message in macFCmd.tet, put a comment in parseOld.test, fix tests using the testencoding path command, and put unixOrPc constraints on tests that use exec. FossilOrigin-Name: 13304f0d0d02e8e4244e1e51ab5e3e8479f962f2
* Fixed style problems in many of the test files.rjohnson1999-06-261-10/+10
| | | | | | Fixed bug in pkg.test where defs.tcl was still being used. FossilOrigin-Name: dbfd75f43f496269e869e2fbd58f86e25bdcef4c
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
| | | FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-44/+135
| | | FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
* * tests/interp.test:stanton1999-02-031-6/+6
| | | | | | | | * generic/tclInterp.c (DeleteAlias): Changed to use Tcl_DeleteCommandFromToken so we handle renames properly. This avoids senseless panic. [Bug: 736] FossilOrigin-Name: 501d236e856a71d13de0b556606e47288da43f51
* cleaned up test suite so most of the tests pass on Windowsstanton1998-11-021-1/+4
| | | FossilOrigin-Name: e3b726ecfd82a8528d888f544650da8fa92946e1
* Added fix to list processing in tclNotify that could cause events to be dropped.rjohnson1998-10-141-1/+9
| | | | | | Added test to intetp test suite. FossilOrigin-Name: 38ee7119c7b9311c45d5dce6bd192a79c6af6a7c
* Replaced SCCS strings, fixed binary filescore-8-0-3stanton1998-09-141-1/+1
| | | FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
* Updated core w/ Micheals latest changes.surles1998-07-241-4/+4
| | | FossilOrigin-Name: dff1740f40847976ed07a0cbbd12c28f87857e22
* Initial revisionrjohnson1998-03-261-0/+2258
FossilOrigin-Name: f86c34e38d2a946e0ed196001fd756c57f90791a