summaryrefslogtreecommitdiffstats
path: root/tests/interp.test
Commit message (Collapse)AuthorAgeFilesLines
* [Bug 3398794]: Use Tcl errors in scripts, not panics.dkf2011-08-301-0/+7
|
* Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
|\ | | | | more harm than good. Purged them.
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | more harm than good. Purged them.
| * * tests/appendComp.test: Backport test suite fixes of errorsdgp2004-10-281-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | * tests/autoMkindex.test: revealed by -singleproc 1 -debug 1 * tests/exec.test: options to make test. * tests/execute.test: * tests/interp.test: * tests/io.test: * tests/namespace.test: * tests/regexpComp.test: * tests/stringComp.test: * tests/unixInit.test: * tests/winPipe.test:
| * Typo correction: knownbug -> knownBugdgp2003-09-041-2/+2
| |
| * * generic/tclBasic.c:Miguel Sofer2003-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
| * * 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].
| * Corrected error message for grammar and spelling.dkf2003-05-051-4/+4
| |
| * * generic/tclInterp.c (Tcl_InterpObjCmd): Corrected optiondgp2003-03-121-2/+5
| | | | | | | | | | parsing beyond objc for [interp create --]. Thanks to Marco Maggi. [Bug 702383]
* | * doc/interp.n: [3081184] TIP #378.andreas_kupries2010-11-151-5/+48
| | | | | | | | | | | | | | | | | | | | * doc/tclvars.n: Performance fix for TIP #280. * generic/tclBasic.c: * generic/tclExecute.c: * generic/tclInt.h: * generic/tclInterp.c: * tests/info.test: * tests/interp.test:
* | [Bug 2895741]: Make min() and max() supported in safe interpreters.dkf2009-12-291-25/+47
| |
* | [Bug 2891362]: Make time limits work better with the event loop.dkf2009-12-281-1/+13
| |
* | * generic/tclInterp.c: Fixed completely boneheaded mistake thatdgp2008-06-201-1/+24
| | | | | | | | | | | | | | | | | | * tests/interp.test: [interp bgerror $slave] and [$slave bgerror] would always act like [interp bgerror {}]. [Bug 1999035]. * tests/chanio.test: Corrected flawed tests revealed by a -debug 1 * tests/event.test: -singleproc 1 test suite run. * tests/io.test:
* | test added (did not fail previously, just to make sure it never does)Miguel Sofer2008-03-021-1/+18
| |
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | Forgot to adjust tests to take into account safeness of [unload]dkf2007-12-081-3/+3
| |
* | * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/fconfigure.n, doc/interp.n, doc/unknown.n: * library/auto.tcl, library/init.tcl, library/package.tcl: * library/safe.tcl, library/tm.tcl, library/msgcat/msgcat.tcl: * tests/all.tcl, tests/basic.test, tests/cmdInfo.test: * tests/compile.test, tests/encoding.test, tests/execute.test: * tests/fCmd.test, tests/http.test, tests/init.test: * tests/interp.test, tests/io.test, tests/ioUtil.test: * tests/iogt.test, tests/namespace-old.test, tests/namespace.test: * tests/parse.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: * tools/tclZIC.tcl: * generic/tclParse.c (Tcl_ParseCommand): Replace {expand} with {*} officially (TIP #293). Leave -DALLOW_EXPAND=0|1 option to keep {expand} syntax for transition users. [Bug 1589629]
* | * generic/tclInterp.c (ApplyObjCmd):Miguel Sofer2006-10-121-1/+88
| | | | | | | | | | | | * tests/interp.test (interp-14.5-10): made [interp alias] use the ensemble rewrite machinery to produce better error messages [Bug 1576006]
* | * tests/*.test: updated all tests to refer explicitly to thetip_278_20061009Miguel Sofer2006-10-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | global variables ::errorInfo, ::errorCode, ::env and ::tcl_platform: many were relying on the alternative lookup in the global namespace, that feature is tested specifically in namespace and variable tests. The modified testfiles are: apply.test, basic.test, case.test, cmdIL.test, cmdMZ.test, compExpr-old.test, error.test, eval.test, event.test, expr.test, fileSystem.test, for.test, http.test, if.test, incr-old.test, incr.test, interp.test, io.test, ioCmd.test, load.test, misc.test, namespace.test, parse.test, parseOld.test, pkg.test, proc-old.test, set.test, switch.test, tcltest.test, thread.test, var.test, while-old.test, while.test.
* | Fix test suite bugs exposed by -singleproc 1 -debug 1 run. Each testdgp2006-01-181-1/+3
| | | | | | | | | | file needs to avoid stomping on the assumptions of other files, and protect against getting stomped as well.
* | Fix two bugs in limits, one a crash and the other a failed flag reset.dkf2005-10-101-4/+60
| |
* | Fix an odd [after]-and-limits problem. [Bug 1221395]dkf2005-06-171-1/+18
| |
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
| |
* | 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]
* | * tests/interp.test (interp-36.*): [interp bgerror] tests.dgp2004-11-181-1/+36
| | | | | | | | * generic/tclInterp.c: Corrected [interp bgerror] error messages.
* | 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:
* | * doc/interp.n:Miguel Sofer2004-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.
* | TIP #173 and #209 implementation - see ChangeLog for detailsKevin B Kenny2004-08-181-4/+4
| |
* | 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]
* | Test name was thoroughly misleadingdkf2004-05-271-2/+2
| |
* | * 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.
* | Delete limit callbacks properly when the interpreters involved are deleted.dkf2004-05-201-1/+75
| |
* | Added test based on suggestion by Miguel Soferdkf2004-05-191-1/+17
| |
* | Enable a test of limiting tight loops.dkf2004-05-191-6/+7
| |
* | Spelling whoops! Moved constraint declaration to near top of filedkf2004-05-191-2/+3
| |
* | Massive test cleanup; all tests are run, and constraints are used where ↵dkf2004-05-191-76/+72
| | | | | | | | necessary.
* | 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).
* | Improved TIP#143 tests and now track the number of bytecoded commands better.dkf2004-05-171-11/+17
| |
* | Expanding the tests avilable for TIP#143 features.dkf2004-05-141-1/+129
| | | | | | | | Now check that basic syntax is verified.
* | TIP#143 implementation; still needs docs and more tests...dkf2004-05-131-148/+151
| |
* | * generic/tclCompile.c: New instruction code INST_START_CMDMiguel Sofer2004-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.
* | Removed support for Mac OS Classic platform [Patch 918142]das2004-03-171-26/+2
| |
* | * 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:
* | Typo correction: knownbug -> knownBugdgp2003-09-041-2/+2
| |
* | * generic/tclBasic.c:Miguel Sofer2003-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
* | * 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].
* | Corrected error message for grammar and spelling.dkf2003-05-051-4/+4
| |
* | * generic/tclInterp.c (Tcl_InterpObjCmd): Corrected optiondgp2003-03-121-2/+5
|/ | | | | parsing beyond objc for [interp create --]. Thanks to Marco Maggi. [Bug 702383]
* * 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.
* * 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]