| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TCL_TIP280.
* generic/tclCmdAH.c:
* generic/tclCmdIL.c:
* generic/tclCmdMZ.c:
* generic/tclCompCmds.c:
* generic/tclCompExpr.c:
* generic/tclCompile.c:
* generic/tclCompile.h:
* generic/tclExecute.c:
* generic/tclIOUtil.c:
* generic/tclInt.h:
* generic/tclInterp.c:
* generic/tclNamesp.c:
* generic/tclObj.c:
* generic/tclProc.c:
* tests/compile.test:
* tests/info.test:
* tests/platform.test:
* tests/safe.test:
FossilOrigin-Name: a88d79cbf88f04a3f3918625a36a4df1d75704a2
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
registered core version when TIP#268 features are
activated. Better compatibility with existing packages.
Like Tk.
FossilOrigin-Name: 034d4274109d393882be49929c350df2a68ee582
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclBasic.c: Define TCL_TIP268 to activate the new
* generic/tclDecls.h: features.
* generic/tclInt.h:
* generic/tclPkg.c:
* generic/tclStubInit.c:
* generic/tclTest.c:
* library/init.tcl
* library/package.tcl:
* tests/pkg.test:
* tests/platform.test:
* tests/safe.test:
* doc/PkgRequire.3:
FossilOrigin-Name: 78a272c42aaf7c6c9472f55bef7a82605b1cc2c6
|
|
|
| |
FossilOrigin-Name: 592c2c91269108f27144045fad7b83bb53b51cd4
|
|
|
|
|
|
|
| |
* tests/parse.test: simplify TclEvalObjvInternal and to correct
the auto-loading of alias targets (parse-8.12). [Bug 1444291].
FossilOrigin-Name: 4fb7249191f7859c147a1caa0e0133e2774cb107
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclBinary.c:
* generic/tclCmdAH.c:
* generic/tclCmdIL.c:
* generic/tclCmdMZ.c:
* generic/tclExecute.c:
* generic/tclLink.c:
* generic/tclMain.c:
* generic/tclProc.c:
* generic/tclScan.c:
* generic/tclTest.c:
* generic/tclVar.c:
* mac/tclMacInit.c:
* unix/tclUnixInit.c:
* win/tclWinInit.c: Insure that the core never calls TclPtrSetVar,
Tcl_SetVar2Ex, Tcl_ObjSetVar2 or Tcl_SetObjErrorCode with a 0-ref
new value. It is not possible to handle error returns correctly in
that case [Bug 1334947], one has the choice of leaking the object
in some cases, or else risk crashing in some others.
FossilOrigin-Name: 8761ab798f625b66cadb3eaf8fafdedce6553a02
|
|
|
|
|
|
|
| |
per-thread counter, rather than a process global one that required
mutex protection. [RFE 1077194]
FossilOrigin-Name: 461ce25bd83da347a9792e0452e3eccc1e3acef9
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclCmdMZ.c (Tcl_SubstObj):
* tests/basic.test (basic-46.4): Restored recursion limit
* tests/parse.test (parse-19.*): testing in nested command
substitutions within direct script evaluation (Tcl_EvalEx)
that got lost in the parser reforms of Tcl 8.1. Added tests for
correct behavior. [Bug 1115904]
FossilOrigin-Name: e64996b96be1348a3e8dc234c82ced8a96d485dd
|
|
|
| |
FossilOrigin-Name: 2d6f460f4fed8f9287a9c2d2a514c89dad3bc17e
|
|
|
|
|
|
|
|
| |
* tests/basic.test (basic-26.2): preserve the arguments passed to
TEOV in the pure-list branch, in case the list shimmers away. Fix
for [Bug 1119369], reported by Peter MacDonald.
FossilOrigin-Name: de2187d0475d1335b5d025ed3a7d0e7d7fe7bd6a
|
|
|
|
|
|
| |
(Tcl_ExprLong): Fix to recognize Tcl_WideInt type. [Bug 1109484]
FossilOrigin-Name: 7b989119b522262ba497f92932e2e68b489aa61d
|
|
|
| |
FossilOrigin-Name: 95e63a64f241d32e92e89d4a386d6a035819e785
|
|
|
|
|
|
|
|
| |
* tests/basic.test (basic-46.1): to incomplete scripts
as part of multi-line script construction. Do not add an extra
trailing newline to the complete script. [Bug 833150]
FossilOrigin-Name: f78f682cf1f1869192c0fe9a326365096ca9c53f
|
|
|
|
|
|
|
|
|
| |
control the state of errorCode and errorInfo management when calling
"leave" execution traces, so that all error information of the traced
command is still available whether traced or not. [Bug 760947]
Thanks to Yahalom Emet.
FossilOrigin-Name: 770447146a89b600cb0142dd6cee5211a7570b38
|
|
|
|
|
|
|
| |
* generic/tclCmdMZ.c: and execution traces that caused access to
freed memory in trace-32.1. [Bug 811483].
FossilOrigin-Name: d827d182f44e9b2b0f98c454da8b033825048ddd
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
* generic/tclCompile.c: truncation of UTF-8 strings that might
* generic/tclProc.c: break apart a multi-byte character.
* library/init.tcl: [Bug 760872]
* tests/init.test:
FossilOrigin-Name: d50fc184389381175baedb204ed4fc23f9e1e0f5
|
|
|
|
|
|
|
|
|
| |
* 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
FossilOrigin-Name: 3ef5e4db8f07f6e68d1bf1a454c461551cd6ebf1
|
|
|
|
|
|
|
| |
longer set to NULL (Tcl_CreateObjCommand docs already say that it
should not be accessed).
FossilOrigin-Name: 4b6b0d983c881df676d8a9e1ea6b1501e18d1fee
|
|
|
| |
FossilOrigin-Name: 3c425980ed5bfce16b858aa08957427f2d9b2f93
|
|
|
|
|
|
|
|
| |
TCL_EVAL_GLOBAL flag when resolving command names. Tcl_EvalEx
passed a string rep including leading whitespace and comments
to TclEvalObjvInternal().
FossilOrigin-Name: 33fd4a036b8384f0376902443e719bcf3cf5ea6c
|
|
|
|
|
|
| |
commit.
FossilOrigin-Name: 5ce6589960a4285004b9131c296a91bd37571f3d
|
|
|
|
|
|
|
| |
not being freed on all function exits, causing a memory leak
[Bug 684756]
FossilOrigin-Name: 1e414e91e6adeafb6fe6e724922c7c2c55da575d
|
|
|
| |
FossilOrigin-Name: 13c34f1df965be2a2dcdba3a6efa2406bac99e66
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
| |
* generic/tclCmdMZ.c: fix for freed memory r/w in delete traces
[Bug 589863], patch by Hemang Lavana.
FossilOrigin-Name: a67b8218c5030c7792ba529ac7ece822614ec2f7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/Concat.3: all remaining public interfaces of Tcl.
* doc/CrtCommand.3: Notably, the parser no longer writes on
* doc/CrtSlave.3: the string it is parsing, so it is no
* doc/CrtTrace.3: longer necessary for Tcl_Eval() to be
* doc/Eval.3: given a writable string. Also, the
* doc/ExprLong.3: refactoring of the Tcl_*Var* routines
* doc/LinkVar.3: by Miguel Sofer is included, so that the
* doc/ParseCmd.3: "part1" argument for them no longer needs
* doc/SetVar.3: to be writable either.
* doc/TraceVar.3:
* doc/UpVar.3: Compatibility support has been enhanced so
* generic/tcl.decls that a #define of USE_NON_CONST will remove
* generic/tcl.h all possible source incompatibilities with
* generic/tclBasic.c the 8.3 version of the header file(s).
* generic/tclCmdMZ.c The new #define of USE_COMPAT_CONST now does
* generic/tclCompCmds.c what USE_NON_CONST used to do -- disable
* generic/tclCompExpr.c only those new CONST's that introduce
* generic/tclCompile.c irreconcilable incompatibilities.
* generic/tclCompile.h
* generic/tclDecls.h Several bugs are also fixed by this patch.
* generic/tclEnv.c [Bugs 584051,580433] [Patches 585105,582429]
* generic/tclEvent.c
* generic/tclInt.decls
* generic/tclInt.h
* generic/tclIntDecls.h
* generic/tclInterp.c
* generic/tclLink.c
* generic/tclObj.c
* generic/tclParse.c
* generic/tclParseExpr.c
* generic/tclProc.c
* generic/tclTest.c
* generic/tclUtf.c
* generic/tclUtil.c
* generic/tclVar.c
* mac/tclMacTest.c
* tests/expr-old.test
* tests/parseExpr.test
* unix/tclUnixTest.c
* unix/tclXtTest.c
* win/tclWinTest.c
FossilOrigin-Name: e476c22fecaa0dd7fea635d29d8ea1d5579365a1
|
|
|
| |
FossilOrigin-Name: 86e71c5d614eb28a3be2aade53caa860e568bf42
|
|
|
|
|
|
| |
command. Optimisation of alias invocation.
FossilOrigin-Name: 81bf54a15536a93fda01b0f68c488728bc3d0fd4
|
|
|
|
|
| |
have file-scope.
FossilOrigin-Name: 86e27ff753182370088914b09b67faefe53a8d37
|
|
|
|
|
|
| |
the FQ old name of the command. [Bug 582532] (Don Porter)
FossilOrigin-Name: 0f5b301ee4d33c8903f49c685c47bc4e42d6e45e
|
|
|
|
|
|
| |
results in (Tcl_AddObjErrorInfo) and (TclUpdateReturnInfo)
FossilOrigin-Name: 99b46f3211340589c6821166f72518b67b384095
|
|
|
| |
FossilOrigin-Name: dc7867f91b1528d8d4b7c78a8c4c88929479a16e
|
|
|
| |
FossilOrigin-Name: cc4dabeaf9f4c7443213afc9d1214713a06c8dd1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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: 4497e80bcb8e302d2ccb68bbc5c0b2add4f67a3d
|
|
|
| |
FossilOrigin-Name: 348eec187bd72e37ceeae20db5b1de355dea63d3
|
|
|
|
|
|
| |
[global], [upvar] and [variable].
FossilOrigin-Name: d33879f9669f23ae926d38546b015269bb6f5bc5
|
|
|
|
|
|
|
| |
having influence over the wrong scope of Tcl_*Eval* calls. Patch
from Miguel Sofer. Report from Jean-Claude Wippler. [Bug 219181]
FossilOrigin-Name: 69bdb87c65511425f3f4335e58be1ddc5ddee5b1
|
|
|
|
|
|
| |
fix by David Knoll.
FossilOrigin-Name: 814a0619d032a6c097f4f1ecbdef711c44dcf86b
|
|
|
| |
FossilOrigin-Name: b268ff19148212477a893cbc8f594da1873c96d7
|
|
|
| |
FossilOrigin-Name: 4983f0ef93199ef210c398a05b91c1530776bf6b
|
|
|
| |
FossilOrigin-Name: e2df08a0d52af22cf237ab0b275ff75831de5358
|