| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
- some internal const decorations
- spacing
|
|
|
|
| |
only the objProc case was handled and not the nreProc case.
|
|
|
|
|
|
|
|
| |
most of the substance of my 2009-01-12 commit. NULLing the objProc
field of a Command when deleting it is important so that tests for
certain classes of commands don't return false positives when applied
to deleted command tokens. Overall change is now just replacement
of a false comment with a true one.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
of the NRE rewrite is that there are now situations where a NULL
objProc field in a Command struct is perfectly normal. Removed an
outdated comment in Tcl_DeleteCommandFromToken that claimed we
use (cmdPtr->objPtr == NULL) as a test of command validity. In fact
we use (cmdPtr->flags & CMD_IS_DELETED) to perform that test.
Also removed the setting to NULL, since any extension following the
advice of the old comment is going to be broken by NRE anyway, and
needs to shift to flag-based testing (or stop intruding into
such internal matters). Part of [Bug 2486550].
|
|
|
|
| |
etc.)
|
| |
|
|
|
|
| |
ckfree((char *)...)
|
| |
|
| |
|
| |
|
|
|
|
| |
Eliminate some -Wstrings-write warnings
|
| |
|
|
|
|
|
|
| |
* tests/unsupported.test: arrange for [info coroutine] to return
{} when a coroutine is running but the resume command has been
deleted [Bug 2153080]
|
|
|
|
|
|
| |
* generic/tclCmdIL.c: [yield] out of ::tcl::unsupported
* tests/info.test: and into global scope: TIPs #327
* tests/unsupported.test: and #328
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h: Remove the "result" and "freeProc" fields
* generic/tclBasic.c: from the default public declaration of the
* generic/tclResult.c: Tcl_Interp struct. Code should no longer
* generic/tclStubLib.c: be accessing these fields. Access can be
* generic/tclTest.c: restored by defining USE_INTERP_RESULT, but
* generic/tclUtil.c: that should only be a temporary migration aid.
*** POTENTIAL INCOMPATIBILITY ***
|
|
|
|
|
| |
* generic/tclInt.h: coroutine yield/resume
* tests/unsupported.test:
|
|
|
|
|
|
| |
returning to level 0, as opposed to it being called on starting a
command at level 0. Add a call on returning via Tcl_EvalObjEx to
fix [Bug 2114165].
|
|
|
|
|
|
|
|
|
| |
recursion.
* generic/tclBasic.c:
* generic/tclCompile.h:
* generic/tclExecute.c (INST_EVAL_STK): fix for [Bug 2102930],
wrong numLevels when evaling a canonical list.
|
|
|
|
|
|
| |
* tests/unsupported.test: new command that returns the
FQN of the currently executing coroutine. Lives as infoCoroutine
under unsupported, but is designed to become a subcommand of [info]
|
|
|
|
|
| |
eePtr, stop assuming the coroutine is invoked from the same
execEnv where it was created.
|
| |
|
|
|
|
|
|
| |
* generic/tclOOInt.h: pointer declarations (why did gcc start
* generic/tclOOMethod.c: complaining all of a sudden?)
* generic/tclProc.c:
|
|
|
|
| |
COROUTINE_CANT_YIELD, COROUTINE_ILLEGAL_YIELD.
|
| |
|
|
|
|
|
|
| |
* generic/tclCmdIL.c:
* generic/tclInt.h:
* tests/unsupported.test:
|
|
|
|
|
| |
* generic/tclCmdIL.c: coroutines. Fix small bug on coroutine
* generic/tclInt.h: rewind.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* generic/tclCmdAH.c: commands (in tcl::unsupported).
* generic/tclCompile.h:
* generic/tclExecute.c:
* generic/tclInt.h:
* tests/unsupported.test:
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclProc.c (TclNRInterpProcCore, InterpProcNR2): for NRE.
[Bug 2017160]
* generic/tclBasic.c (TclDTraceInfo): add two extra arguments to
* generic/tclCompile.h: DTrace 'info' probes for tclOO
* generic/tclDTrace.d: method & class/object info.
* generic/tclCompile.h: add support for debug logging of DTrace
* generic/tclBasic.c: 'proc', 'cmd' and 'inst' probes (does
_not_ require a platform with DTrace).
|
|
|
|
|
| |
* generic/tclCompile.h:
* generic/tclExecute.c:
|
|
|
|
|
| |
* generic/tclExecute.c: Tcl_EvalEx [Bug 2017946]
* generic/tclInt.h:
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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:
|
|
|
|
|
|
|
|
| |
* tests/info.test: in TclEvalEx so that the CmdFrame will still
be on the stack at the time Tcl_LogCommandInfo is called to append
another level of -errorinfo information. Sets the stage to add
file and line data to the stack trace. Added test to check that
[info frame] functioning remains unchanged by the revision.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* generic/tclCmdAH.c:
* generic/tclInt.h:
* tests/NRE.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:
|
|
|
|
| |
to clarify what is happening.
|
| |
|
|
|
|
|
| |
changing between the times where TEOV and TEOV_exception
run. Thanks dgp for catching this.
|