summaryrefslogtreecommitdiffstats
path: root/tests/interp.test
Commit message (Collapse)AuthorAgeFilesLines
* [Bug 3414769]: Updated list of default-hidden commands for safe interps.dkf2011-09-291-1/+1
|
* [Bug 3398794]: Use Tcl errors in scripts, not panics.dkf2011-08-301-4/+8
|\
| * [Bug 3398794]: Use Tcl errors in scripts, not panics.dkf2011-08-301-0/+7
| |
* | Fix most of the failing tests (some of which were due to breakage done to thedkf2011-03-101-5/+5
| | | | | | parser used in auto_mkIndex; never a good idea to delete the ::tcl NS!)
* | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ | |/ | | cause more harm than good. Purged them (except in zlib files).
| * 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:
* | | Clean up of tests and conversion to tcltest 2. Target has been to get init anddkf2011-01-011-4/+4
| | | | | | | | | | | | cleanup code out of the test body and into the -setup/-cleanup stanzas.
* | | * generic/tclCmdAH.c (TclInitFileCmd, TclMakeFileCommandSafe, ...):dkf2010-12-091-177/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Break up [file] into an ensemble. Note that the ensemble is safe in itself, but the majority of its subcommands are not. * generic/tclFCmd.c (FileCopyRename,TclFileDeleteCmd,TclFileAttrsCmd) (TclFileMakeDirsCmd): Adjust these subcommand implementations to work inside an ensemble. (TclFileLinkCmd, TclFileReadLinkCmd, TclFileTemporaryCmd): Move these subcommand implementations from tclCmdAH.c, where they didn't really belong. * generic/tclIOCmd.c (TclChannelNamesCmd): Move to more appropriate source file. * generic/tclEnsemble.c (TclMakeEnsemble): Start of code to make partially-safe ensembles. Currently does not function as expected due to various shortcomings in how safe interpreters are constructed. * tests/cmdAH.test, tests/fCmd.test, tests/interp.test: Test updates to take into account systematization of error messages.
* | | * doc/interp.n: [3081184] TIP #378.andreas_kupries2010-11-151-5/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-251/+267
| | |
* | | Slight improvement of test so it shouldn't block forever if it failsdkf2009-12-281-2/+6
| | |
* | | [Bug 2891362]: Make time limits work better with the event loop.dkf2009-12-281-81/+21
| | |
* | | * tests/interp.test: interp-20.50 test for Bug 2486550.dgp2009-05-061-1/+9
| | |
* | | * generic/tclInterp.c: Reverted the conversion of [interp] into andgp2009-02-021-15/+16
| | | | | | | | | | | | | | | | | | | | | | | | * tests/interp.test: ensemble. Such conversion is not necessary * tests/nre.test: (or even all that helpful) in the NRE-enabling of [interp invokehidden], and it has other implications -- including significant forkage of the 8.5 and 8.6 implementations -- that are better off avoided if there's no gain.
* | | improved test fixesdgp2009-01-301-13/+7
| | |
* | | * generic/tclInterp.c: Convert the [interp] command into adgp2009-01-291-11/+16
| | | | | | | | | | | | | | | | | | * tests/interp.test: [namespace ensemble]. Work in progress * tests/nre.test: to NRE-enable the [interp invokehidden] subcommand.
* | | * generic/tclCmdAH.c: nre-enabling [eval]; eval scripts are nowMiguel Sofer2008-09-011-17/+179
| | | | | | | | | | | | | | | | | | | | | * 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:
* | | fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-2/+2
| | |
* | | more consistent wrong # arg messages: change all messages containing ↵nijtmans2008-07-131-3/+3
| | | | | | | | | | | | ?options? to the form ?-option value ...?
* | | NRE implementation [Patch 2017110]Miguel Sofer2008-07-131-6/+6
| | |
* | | * changes: Updates for 8.6a1 release.dgp2008-06-201-4/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInterp.c: Fixed completely boneheaded mistake that * 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/cmdAH.test: -singleproc 1 test suite run. * tests/event.test: * tests/interp.test: * tests/io.test: * tests/ioTrans.test: * tests/namespace.test:
* | | TIP 285 ImplementationJoe Mistachkin2008-06-131-5/+5
| | |
* | | Implementation of TIP #257. Incomplete due to missing Win build support.dkf2008-05-311-7/+8
|/ /
* | 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]