| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
Thanks mr_calvin for report and fix.
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| | | |
|
| | | |
|
| |\ \
| | |/ |
|
| | | |
|
|/ / |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
combination with tcltest86.dll to do that (Windows only)
|
|\ \
| |/
| | |
cause more harm than good. Purged them (except in zlib files).
|
| |\
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | |
| | |
| | |
| | | |
* tests/var.test (var-17.1): argument of [array set] each time
through the loop as defense against possible shimmer issues.
[Bug 1669489].
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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].
|
| | |
| | |
| | |
| | |
| | | |
disabling usage of tclNsVarNameType.
* tests/var.test (var-15.1): test for [Bug 735335]
|
| | |
| | |
| | |
| | |
| | | |
* tests/var.test: fixing ObjMakeUpvar's lookup algorithm for the
created local variable, bugs #631741 and #696893.
|
| | |
| | |
| | |
| | | |
demonstrating the local hashtable deletion crash and fix.
|
| | |
| | |
| | |
| | | |
hits the next element to be deleted.
|
| | |
| | |
| | |
| | | |
cleanup code out of the test body and into the -setup/-cleanup stanzas.
|
| | |
| | |
| | |
| | |
| | | |
* tests/upvar.test, tests/var.test: Convert more tests to tcltest2 and
factor them to be easier to understand.
|
| | |
| | |
| | |
| | | |
demonstrating the local hashtable deletion crash and fix.
|
| | |
| | |
| | |
| | | |
hits the next element to be deleted.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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:
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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].
|
|/ /
| |
| |
| | |
?options? to the form ?-option value ...?
|
| |
| |
| |
| |
| |
| |
| | |
* tests/var.test (var-8.2): unset traces on vars should be called
with a FQ named during namespace deletion. This was causing
infinite loops when unset traces recreated the var, as reported by
Julian Noble on [Bug 1911919].
|
| | |
|
| |
| |
| |
| | |
* tests/var.test (var-14.2): [array names $var -glob $ptn]
|
| |
| |
| |
| |
| | |
* tests/var.test (var-17.1): the "list" argument to [array set] to
avoid crash due to shimmering invalidating pointers. [Bug 1669489].
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tclCmdAH.c (Tcl_ErrorObjCmd): of the management of
* generic/tclCmdMZ.c (TclProcessReturn): the errorCode value.
* tests/error.test (error-6.4-9):
* generic/tclNamespace.c (TclTeardownNamespace): Tcl_Obj-ified
* 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/tclTrace.c (TclCallVarTraces): Save/restore the flag
* tests/var.test (var-16.1): values that define part of the
interpreter state during variable traces. [Bug 10381021].
|
| | |
|
| |
| |
| |
| | |
necessary.
|
| |
| |
| |
| |
| |
| |
| |
| | |
* doc/upvar.n:
* generic/tclVar.c (ObjMakeUpvar):
* tests/upvar.test (upvar-8.11):
* tests/var.test (var-3.11): Avoid creation of unusable variables:
[Bug 600812] [TIP 184].
|
| |
| |
| |
| |
| | |
disabling usage of tclNsVarNameType.
* tests/var.test (var-15.1): test for [Bug 735335]
|
|/
|
|
|
| |
* tests/var.test: fixing ObjMakeUpvar's lookup algorithm for the
created local variable, bugs #631741 and #696893.
|
|
|
|
| |
* tests/var.test: [array names]. Added test. [Bug 624755]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pointers; definition of three new Tcl_Obj types to cache variable
name parsing and lookup for later reuse; modification of internal
functions to profit from the caching.
* generic/tclInt.decls:
* generic/tclInt.h:
* generic/tclIntDecls.h:
* generic/tclNamesp.c: adding CONST qualifiers to variable names
passed to Tcl_FindNamespaceVar and to variable resolvers; adding
CONST qualifier to the 'msg' argument to TclLookupVar. Needed to
avoid code duplication in the new tclVar.c code.
* tests/set-old.test:
* tests/var.test: slight modification of error messages due to the
modifications in the tclVar.c code.
|
|
|
|
|
| |
* generic/tclVar.c: Corrected bug in [global] when dealing
with variable names matching :*. [Bug 480176]
|
|
|
|
|
| |
* generic/tclVar.c (Tcl_VariableObjCmd): added patch to check for
number of args. [Patch #426038]
|
| |
|
|
|
|
| |
::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
|
|
|
|
|
|
| |
* tests/namespace.test:
* tests/var.test: Added lsorts to avoid random sorted return
problems. [Bug: 2682]
|
|
|
|
|
|
|
|
|
|
| |
* upvar.n: Expanded explanation of upvar behavior with respect to
variable traces. (bugs 3917 1433 2110).
* tclVar.c: Changed behavior of variable command when name refers
to an element in an array (ie, "variable foo(x)") to always return
an error, regardless of existance of that element in the array
(now behavior is consistant with docs too) (bug #981).
|