| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclCompCmds.c: of TclCreateAuxData and
* generic/tclCompile.c TclRegisterAuxDataType and the return
* generic/tclCompile.h values of TclGetAuxDataType and
* generic/tclExecute.c TclGetInstructionTable
* ChangeLog
* generic/tclIntDecls.h: regenerated
This change complies with TIP #27 (even though it only
involves internal function, so this is not even necessary).
|
|
|
|
|
| |
* generic/tclInt.h (TCL_CT_ASSERT): new compile-time assertions,
adapted from www.pixelbeat.org/programming/gcc/static_assert.html
|
|
|
|
|
|
|
|
|
| |
recursion.
* generic/tclBasic.c:
* generic/tclCompile.h:
* generic/tclExecute.c (INST_EVAL_STK): fix for [Bug 2102930],
wrong numLevels when evaling a canonical list.
|
|
|
|
|
|
|
| |
* generic/tclExecute.c (CompileExprObj): fix a perf bug (found by
Alex Ferrieux) where some variables in the LVT where not being
accessed by index. Fix missing localCache management in compiled
expressions found while analyzing the bug.
|
|
|
|
|
| |
* tests/unsupported.test: restore the execEnv's bottomPtr, fix
for [Bug 2093188].
|
|
|
|
| |
COROUTINE_CANT_YIELD, COROUTINE_ILLEGAL_YIELD.
|
| |
|
|
|
|
|
|
|
|
| |
* generic/tclCmdAH.c: commands (in tcl::unsupported).
* generic/tclCompile.h:
* generic/tclExecute.c:
* generic/tclInt.h:
* tests/unsupported.test:
|
| |
|
| |
|
|
|
|
|
| |
* generic/tclCompile.h:
* generic/tclExecute.c:
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
line
generic/tclConfig.c make the internal cfg variable const.
generic/tclTrace.c add a "const" keyword, allowing the "traceSubCmds[]"
array to be placed by the C- compiler in a code segment
in stead of a data segment
Those harmless changes are as a preparation for a future change proposal.
Unfortunately, my (Eclipse) editor automatically removes spaces at the
end of every line. Creating a patch for this proposal should not contain
unrelated harmless changes, so therefore this separate check-in. No
change in functionality. No risk.
|
| |
|
|
|
|
|
| |
* generic/tclExecute.c: Tcl_EvalEx [Bug 2017946]
* generic/tclInt.h:
|
|
|
|
| |
* tests/execute.test:
|
| |
|
| |
|
|
|
|
|
|
| |
* tests/execute.test: stack trace when a compile epoch bump triggers
fallback to direct evaluation of commands in a compiled script.
[Bug 2037338]
|
|
|
|
|
|
|
|
|
| |
* generic/tclCompile.h: that shares the implementation with
* generic/tclExecute.c: tailcall. Fixed a segfault in
* generic/tclInt.h: tailcalls. Tests added.
* generic/tclInterp.c:
* generic/tclNamesp.c:
* tests/unsupported.test:
|
|
|
|
|
|
| |
unrefernced everywhere but in macosx/Tcl.xcodeproj/project.pbxproj: some
knowledgeable maintainer please remove tclNRE.h after making sure it
doesn't break the build on macosx
|
| |
|
|
|
|
|
|
|
| |
* generic/tclCompile.h:
* generic/tclExecute.c:
* generic/tclTest.c:
* tests/NRE.test:
|
| |
|
|
|
|
|
| |
TclStackRealloc to panic on rare corner cases. Thx ajpasadyn for
diagnose and patch.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclCompile.c: for #280 to fix the abysmal performance
* generic/tclCompile.h: for deep recursion, replaced the linear
* generic/tclExecute.c: search through the whole stack with
* generic/tclInt.h: another hashtable and simplified the data
structure used by the compiler (array instead of hashtable).
Incidentially this also fixes the memory leak reported via [Bug
2024937].
|
|
|
|
|
| |
* generic/tclExecute.c: let GetCommandSource use it. This solves
* generic/tclInt.h: [Bug 2017146]. Thx dgp for the analysis.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclBasic.c: [namespace import]; removed
* generic/tclDecls.h: Tcl_NRObjProc, replaced with
* generic/tclExecute.c: Tcl_NRCmdSwap (proposed public
* generic/tclInt.h: NRE API). This should fix
* generic/tclNRE.h: [Bug 582506].
* generic/tclNamesp.c:
* generic/tclStubInit.c:
|
|
|
|
|
|
|
|
| |
* generic/tclExecute.c: from the callbacks. Completely
* generic/tclInt.h: redone tailcall implementation
* generic/tclNRE.h: using the new feature.
* generic/tclProc.c:
* tests/NRE.test:
|
|
|
|
| |
Tcl_NRAddCallback
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h: TclNR_foo to Tcl_NRfoo
* generic/tclBasic.c:
* generic/tclDecls.h:
* generic/tclDictObj.c:
* generic/tclExecute.c:
* generic/tclInterp.c:
* generic/tclNRE.h:
* generic/tclNamesp.c:
* generic/tclOO.c:
* generic/tclOOBasic.c:
* generic/tclOOCall.c:
* generic/tclOOMethod.c:
* generic/tclProc.c:
* generic/tclStubInit.c:
|
| |
|
|
|
|
|
| |
* generic/tclExecute.c: TclInterpReady().
* generic/tclParse.c:
|
|
|
|
|
|
| |
* generic/tclExecute.c: TclResetCancellation lying around: it
* generic/tclProc.c: only needs to be called prior to any
iPtr->numLevels++. Thanks mistachkin.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* generic/tclCompCmds.c: non-body compiled scripts to access the
* generic/tclCompile.c: LVT (but not to extend it) and enable the
* generic/tclCompile.h: canonical list opt to sidestep the
* generic/tclExecute.c: compiler. This is [Patch 1973096]
* generic/tclProc.c:
* tests/uplevel.test:
|
| |
|
|
|
|
| |
used in GrowEvaluationStack() and friends.
|
| |
|
|
|
|
| |
alignment of memory allocated by GrowEvaluationStack(). [Bug 1914503]
|
| |
|
| |
|
|
|
|
|
|
| |
compiling so that bytecodes invalid due to changing context or due
to the difference between expressions and scripts are not reused.
[Bug 1899164].
|
|
|
|
|
|
|
|
|
|
| |
management of Tcl_SetReturnOptions to become that of a conventional
Consumer routine. Thanks to Peter Spjuth for pointing out the
difficulties calling Tcl_SetReturnOptions with non-0-count value for
options.
* generic/tclExecute.c (INST_RETURN_STK): Revised the one caller
within Tcl itself which passes a non-0-count value to
Tcl_SetReturnOptions().
|