| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
in the presence of execution traces that delete it.
* generic/tclBasic.c (TEOVI):
* tests/trace.test (trace-21.11): fix for [Bug 1590232], execution
traces may cause a second command resolution in the wrong
namespace.
FossilOrigin-Name: 87f0d6eba665832f778ec088b2e60df5e3078bf9
|
|
|
|
|
|
| |
* tests/trace.test: and enterstep traces. [Bug 1458266]
FossilOrigin-Name: f97f588d8c530014989abfb66765957c4458b30d
|
|
|
|
|
|
|
|
| |
* tests/parse.test: evaluations act the same as [uplevel #0]
* tests/trace.test: evaluations, even when execution traces or
invocations of [::unknown] are present. [Bug 1439836].
FossilOrigin-Name: 284938f57d3764db1738aed2c9ddf2056873a266
|
|
|
|
|
|
|
| |
test illustrating the role of "ns in callStack" in the ns's
visibility during deletion traces.
FossilOrigin-Name: 7b82e0cf5b35b8c2e93fc44792e8487621c50615
|
|
|
|
|
|
|
|
|
|
| |
* 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].
FossilOrigin-Name: 56a462e45ca6948aca94cef4232dec3080078aa1
|
|
|
|
|
|
| |
1348775].
FossilOrigin-Name: cbd1fa5e16440ceade56c3dc35df4d159a281192
|
|
|
|
|
|
|
|
|
| |
* generic/tclNamesp.c:
* generic/tclVar.c: fix for [Bugs 1338280/1337229]. Thanks Don.
* tests/trace.test: fix duplicate test numbers
FossilOrigin-Name: 3d6cada5c05de690f8d38cd0730fbfc70261ff25
|
|
|
| |
FossilOrigin-Name: e8722e1ee2ea5a4ddf7880e1f542772bff3f2fac
|
|
|
|
|
|
|
|
|
|
|
| |
fix. Insure that a second call with TCL_TRACE_DESTROYED does not
lead to a second call to Tcl_EventuallyFree(). It is still true
that that second call should not happen, so the bug is not
completely fixed.
* tests/trace.test (test-18.3-4): added tests for bugs #1337229
and 1338280.
FossilOrigin-Name: 8e9ed63a056d38b4358a5c3dbb90b3cfd85bc06e
|
|
|
| |
FossilOrigin-Name: d1f1e8a69a678df8c2a08009e5f3c456dca86419
|
|
|
|
|
|
|
| |
* tests/trace.test (trace-34.4): command delete traces fire
while the command still exists. [Bug 1047286]
FossilOrigin-Name: 98ddae5f7cbaca457cf1757a6a723a1ebe601213
|
|
|
|
|
|
|
|
| |
* generic/tclCmdMZ.c: of the direction of trace scanning, so the
* generic/tclInt.h: proper correction can be made. [Bug 1224585]
* tests/trace.test (trace-34.2,3):
FossilOrigin-Name: f5039da57115f31cf6d6c5a5474730c7233c7507
|
|
|
|
|
|
|
| |
* tests/trace.test (trace-34.1): list of active traces to
cleanup references to traces being deleted. [Bug 1201035]
FossilOrigin-Name: f48e2dd7c2ae2d965fc0da3fc61ea47a5a84c8d2
|
|
|
|
|
|
|
|
| |
* tests/trace.test (trace-33.1): to permit a variable trace
created with [trace variable] to be destroyed with [trace remove].
Thanks to Keith Vetter for the report.
FossilOrigin-Name: 0c5016cb647bbe0a800b39b204726d074cc21543
|
|
|
|
|
|
|
|
|
|
| |
* tests/trace.test: masking to prevent any of the bit values
TCL_TRACE_*_EXEC from leaking into the flags field of any
Command struct. This does not fix [Bug 811483] but helps to
contain some of its worst symptoms. Also backported the corrections
to test trace-28.4 from Vince Darley.
FossilOrigin-Name: 3592877a846a392416a27dd9fd55b8ac17e3f420
|
|
|
|
|
|
|
|
| |
* tests/trace.test (trace-31,32.*): the introspection results
of both [trace info command] and [trace info execution] were getting
co-mingled. Thanks to Mark Saye for the report.
FossilOrigin-Name: 5e1bc3855cc6d878be767f1b5675b563f1de2bde
|
|
|
| |
FossilOrigin-Name: 3d89ba6a8855eee67c83064c6504d6d126fe4c6a
|
|
|
|
|
|
|
|
|
|
|
|
| |
callbacks get fully qualified names of the command. [Bug
651271]. ***POTENTIAL INCOMPATIBILITY***
* tests/trace.test: Modified the test cases for [trace add
command] to expect fully qualified names on the 'rename'
callbacks. Added a case for renaming a proc within a namespace.
* doc/trace.n: Added language about use of fully qualified names
in trace callbacks.
FossilOrigin-Name: 382a9b8449c4d1fdb7a5bf0d41266c4b7904cda4
|
|
|
| |
FossilOrigin-Name: bf6b0dfaf92bb241b87c9882d5d31505e5490d93
|
|
|
| |
FossilOrigin-Name: 602e2df05fd8888c0d53807ea066d4675ee13271
|
|
|
| |
FossilOrigin-Name: 19ad8717ce5d2027738929ad566ef66a5e023902
|
|
|
|
|
|
|
|
| |
* tests/trace.test (trace-27.1): Corrected memory leak when a rename
trace deleted the command being traced. Test added. Thanks to
Hemang Lavana for the fix. [Bug 604609]
FossilOrigin-Name: d41757bf9869d0023b8170af353853d32f9a32dc
|
|
|
|
|
|
| |
command. Optimisation of alias invocation.
FossilOrigin-Name: 81bf54a15536a93fda01b0f68c488728bc3d0fd4
|
|
|
|
|
|
| |
the FQ old name of the command. [Bug 582532] (Don Porter)
FossilOrigin-Name: 0f5b301ee4d33c8903f49c685c47bc4e42d6e45e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/trace.n: execution tracing [FR #462580] (lavana).
* generic/tcl.h: This includes enter/leave tracing as well
* generic/tclBasic.c: as inter-procedure stepping.
* generic/tclCmdMZ.c:
* generic/tclCompile.c:
* generic/tclExecute.c:
* generic/tclInt.decls:
* generic/tclInt.h:
* generic/tclIntDecls.h:
* generic/tclStubInit.c:
* generic/tclVar.c:
* tests/trace.test:
FossilOrigin-Name: 3da5a8279575a3067e306111e9319cbfab04b326
|
|
|
| |
FossilOrigin-Name: 8a0002c6e070c04c17a2f2ac092a4ffdd825b536
|
|
|
|
|
|
|
|
|
|
|
| |
(TraceCommandProc, TclTraceCommandObjCmd): corrected
potential double-free of traces on variables by flagging in
Trace*Proc that it will free the var in case the eval wants to
delete the var trace as well. [Bug #536937]
Also converted Tcl_UntraceVar -> Tcl_UntraceVar2 and Tcl_Eval to
Tcl_EvalEx in Trace*Proc for slight efficiency improvement.
FossilOrigin-Name: 4a46ab8262433e1866c23cc0366dac251d480501
|
|
|
| |
FossilOrigin-Name: 23f9cbbc0021bbbab98aa4a6d1cdad7ed3c106d5
|
|
|
|
|
| |
array [Bug #449893].
FossilOrigin-Name: 986407077b57825037784c7c9612b42619c46eec
|
|
|
| |
FossilOrigin-Name: e1acd2856ec392959b5e30457f35db116b9759ea
|
|
|
| |
FossilOrigin-Name: 147dd3c8975428e4b4d5c4f55558ff1c46f24c28
|
|
|
| |
FossilOrigin-Name: c358dba51f4672d4f81751fd2d8b8dfae2af4f39
|
|
|
| |
FossilOrigin-Name: 4c1225224863a82622ad8b61b5a33db3b73156da
|
|
|
| |
FossilOrigin-Name: c3b6bd938e531e6c57394845e56a5ff050178a9c
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/trace.n: Clarified information about when array traces will
be fired.
* generic/tclVar.c (Tcl_ArrayObjCmd): Corrected call to CallTraces
(for TCL_TRACE_ARRAY) to only be called when the variable is
either an array or is undefined, to ensure that array traces do
not fire for scalar variables.
FossilOrigin-Name: 78f46f24d0b2b1dff03ef9719925cbe02a4a224c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
syntax as deprecated; added documentation for command
rename/delete traces and variable array traces.
* tests/trace.test: Updated tests for new trace syntax; new tests
for command rename/delete traces; new tests for array traces.
* generic/tclVar.c: Support for new trace syntax; support for
TCL_TRACE_ARRAY.
* generic/tclStubInit.c:
* generic/tclDecls.h:
* generic/tcl.decls: Stub functions for command rename/delete traces.
* generic/tcl.h:
* generic/tclInt.h:
* generic/tclBasic.c: Support for command traces.
* generic/tclCmdMZ.c (TclTraceVariableObjCmd): Patched to support
new [trace] syntax:
trace {add|remove|list} {variable|command} name ops command
Added support for command traces (rename, delete operations).
Added support for TCL_TRACE_ARRAY at Tcl level (array operation
for variable traces).
FossilOrigin-Name: e12f4e1180c117b15f077f0487b3c38061d60f02
|
|
|
| |
FossilOrigin-Name: a71bddc8219c92dd093c8f7a34baa56736193e16
|
|
|
|
|
|
| |
::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
FossilOrigin-Name: c2f93a113cfcb17a21da67cc20f54ab3f1b9fa3c
|
|
|
|
|
|
| |
Fixed bug in pkg.test where defs.tcl was still being used.
FossilOrigin-Name: dbfd75f43f496269e869e2fbd58f86e25bdcef4c
|
|
|
| |
FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
|
|
|
| |
FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
|
|
|
| |
FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
|
|
FossilOrigin-Name: f86c34e38d2a946e0ed196001fd756c57f90791a
|