summaryrefslogtreecommitdiffstats
path: root/tests/namespace.test
Commit message (Collapse)AuthorAgeFilesLines
* [77d58e3a7a] Test case independence: io, load, msgcat, namespace, safe.dkf2016-07-161-5/+8
|
* [cea0344a1] Restore a clearing of the ensemble rewrite in one execution pathdgp2016-07-111-0/+7
| | | | so attempts to use the data after free are not made. Test namespace-50.9 demonstrates the need for this.
* Fixes to namespace.testdkf2016-07-101-112/+306
|
* [f961d7d1dd] Repair usage message for ensemble parameters with spaces.dgp2016-07-021-0/+9
|
* Add some testsdgp2016-07-011-0/+46
|
* New test namespace-53.11 demonstrates the bug.dgp2016-05-241-0/+16
|
* Make the tests pass.bug_f97d4ee020dkf2016-05-211-0/+20
|
* Added tests that show that this branch isn't ready to be committed back yet.dkf2016-05-201-0/+19
|
* [6d2f249a01] Handle a failure to comprehend half-way through the compilation ↵dkf2014-05-111-0/+4
| | | | of a chain of compileable ensembles.
* [1230597] Update test comment.dgp2014-02-191-1/+1
|\
| * [1230597] Update test comment.dgp2014-02-191-1/+1
| |
* | [a4494e28ed] Use flag bit instead of NULL pointer to suppressdgp2014-02-061-0/+9
|\ \ | |/ | | | | | | | | teardown list of imported commands when the original command gets re-created. This prevents the panic otherwise possible when the invalid state represented by the NULL pointer is encountered during a command delete trace.
| * [a4494e28ed] Use flag bit instead of NULL pointer to suppress teardown list ofdgp2014-02-061-0/+9
| | | | | | | | | | imported commands when the original command gets re-created. This prevents the panic otherwise possible when the invalid state represented by the NULL pointer is encountered during a command delete trace.
* | 3605447 Make sure the -clear option to [namespace export] always clears,dgp2013-02-211-0/+8
|\ \ | |/ | | whether or not new export patterns are specified.
| * 3605447 Make sure the -clear option to [namespace export] always clears,dgp2013-02-211-0/+8
| |\ | | | | | | whether or not new export patterns are specified.
| | * added testbug_3605447dgp2013-02-211-0/+8
| | |
* | | No longer build tcltest.exe to run the tests,but use tclsh86.exe in ↵jan.nijtmans2012-07-291-0/+3
| | | | | | | | | | | | combination with tcltest86.dll to do that (Windows only)
* | | Remove constraint on test which apparently passesdkf2011-09-211-1/+1
| | |
* | | [Bug 3185407]: Extend the set of epochs that are potentially bumped (indkf2011-06-021-0/+16
|\ \ \ | |/ / | | | | | | TclInvalidateNsCmdLookup) when a command is created, for a slight performance drop (in some circumstances) and improved semantics.
| * | [Bug 3185407]: Extend the set of epochs that are potentially bumped (indkf2011-06-021-0/+16
| | | | | | | | | | | | TclInvalidateNsCmdLookup) when a command is created, for a slight performance drop (in some circumstances) and improved semantics.
* | | Merge to feature branchdkf2011-03-091-6/+17
|\ \ \
| * \ \ * generic/tclNamesp.c: Tighten the detector of nested [namespace code]dgp2011-03-091-6/+17
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | * tests/namespace.test: quoting that the quoted scripts function properly even in a namespace that contains a custom "namespace" command. [Bug 3202171] * doc/tclvars.n: Formatting fix. Thanks to Pat Thotys.
| | * | * generic/tclNamesp.c: Tighten the detector of nested [namespace code] bug_3202171dgp2011-03-091-6/+17
| | | | | | | | | | | | | | | | | | | | * tests/namespace.test: quoting that the quoted scriptsfunction properly even in a namespace that contains a custom "namespace" command. [Bug 3202171]
* | | | Turn namespace into an ensemble. Not yet on trunk because of some mysterious ↵dkf2011-03-091-2/+2
|/ / / | | | | | | | | | failures that need resolving...
* | | 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.
| | * Bug 1400572 will remain knownBug for 8.4.14dgp2006-10-041-2/+2
| | |
| | * * generic/tclNamesp.c (NamespaceInscopeCmd): [namespace inscope]dgp2006-01-091-1/+8
| | | | | | | | | | | | | | | * tests/namespace.test: commands were not reported by [info level] [Bug 1400572].
| | * * generic/tclBasic.c (Tcl_DeleteCommandFromToken):Miguel Sofer2005-11-181-1/+33
| | | | | | | | | | | | | | | | | | | | | | | | * 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: Corrected inconsistencies in the value returneddgp2005-11-081-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
| | * * 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/appendComp.test: Backport test suite fixes of errorsdgp2004-10-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
| | * * tests/compile.test (compile-12.4): Backport test for Bug 1001997.dgp2004-10-261-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/timer.test (timer-10.1): Backport test for Bug 1016167. * tests/tcltest.test (tcltest-12.3,4): Backport setup corrections. * tests/error.test (error-6.3,4,7,9): Backport of some tests. * tests/basic.test (basic-49.*): * tests/namespace.test (namespace-8.7): * tests/init.test (init-2.8): Updated to not rely on http package. * generic/tclThreadTest.c (ThreadEventProc): Corrected subtle bug where the returned (char *) from Tcl_GetStringResult(interp) continued to be used without copying or refcounting, while activity on the interp continued.
| | * * generic/tclNamespace.c (TclTeardownNamespace): Tcl_Obj-ifieddgp2004-09-301-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/namespace.test (namespace-8.5,6): the save/restore of ::errorInfo and ::errorCode during global namespace teardown. Revised the comment to clarify why this is done, and added tests that will fail if this is not done. * generic/tclResult.c (TclTransferResult): Added safety checks so that unexpected undefined ::errorInfo or ::errorCode will not lead to a segfault. * generic/tclVar.c (CallVarTraces): Save/restore the flag * tests/var.test (var-16.1): values that define part of the interpreter state during variable traces. [Bug 10381021].
| | * Also corrected faulty prevention of [namespace import] cycles.dgp2004-09-091-1/+45
| | | | | | | | | | | | [Bug 1017299]
| | * * generic/tclNamesp.c (Tcl_ForgetImport): Corrected faultydgp2004-09-091-1/+115
| | | | | | | | | | | | | | | * tests/namespace.test: logic that relied exclusively on string matching and failed in the presence of [rename]s. [Bug 560297]
| * | Backport of fixes to Tcl_SetNamespaceUnknownHandlerdkf2008-05-211-1/+10
| | |
* | | Clean up of tests and conversion to tcltest 2. Target has been to get init anddkf2011-01-011-49/+39
| | | | | | | | | | | | cleanup code out of the test body and into the -setup/-cleanup stanzas.
* | | Record that [Bug 2898722] is lurking.dkf2010-01-101-12/+51
| | |
* | | * generic/tclBasic.c: Fix lerak of coroutines on namespaceMiguel Sofer2010-01-031-1/+24
| | | | | | | | | | | | | | | | | | | | | * generic/tclCompile.h: deletion, [Bug 2724403]. Added a test * generic/tclNamesp.c: for this leak, and also a test for * tests/coroutine.test: leaks on namespace deletion. * tests/namespace.test:
* | | Fix [Bug 1558654]dkf2009-01-091-14/+4
| | |
* | | Fix [Bug 2433936]dkf2008-12-171-4/+17
| | |
* | | Implement TIP 314. [Patch 1901783]dkf2008-09-281-4/+219
| | |
* | | fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-3/+3
| | |
* | | * changes: Updates for 8.6a1 release.dgp2008-06-201-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* | | Correct logic for handling error cases when setting the namespace unknown ↵dkf2008-05-201-2/+11
|/ / | | | | | | handler.
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | Greatly improved ensemble compiler. This one now can handle any ensemble.dkf2007-11-161-2/+2
| | | | | | | | | | It is usually not enabled though; only worth it when a subcommand is actually expected to undergo bytecode compilation.
* | * generic/tclInt.h: Removed the "nsName" Tcl_ObjType from thedgp2007-09-091-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclNamesp.c: registered set. Revised the management of * generic/tclObj.c: the intrep of that Tcl_ObjType. Revised the * tests/obj.test: TclGetNamespaceFromObj() routine to return TCL_ERROR and write a consistent error message when a namespace is not found. [Bug 1588842. Patch 1686862] ***POTENTIAL INCOMPATIBILITY*** For callers of Tcl_GetObjType() on the name "nsName". * generic/tclExecute.c: Update TclGetNamespaceFromObj() callers. * generic/tclProc.c: * tests/apply.test: Updated tests to expect new consistent * tests/namespace-old.test: error message when a namespace is not * tests/namespace.test: found. * tests/upvar.test: