| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
small block where they are actually used.
|
|
|
|
| |
logic clearer; slightly faster too.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
processor for non-TCL_OK returns. Also spli TEOvI in a full
version that handles non-existing and traced commands, and a
separate shorter version for the regular case.
* generic/tclBasic.c: Moved the generation of command strings for
* generic/tclTrace.c: traces: previously in Tcl_EvalObjv(), now
in TclCheck[Interp|Execution]Traces(). Also insured that the
strings are properly nul terminated at the correct length
[Bug 1693986]
* generic/tclBasic.c: Extend usage of TclLimitReady() and
* generic/tclExecute.c: (new) TclLimitExceeded() macros.
* generic/tclInt.h:
* generic/tclInterp.c:
* generic/tclInt.h: New TclCleanupCommandMacro for core usage.
* generic/tclBasic.c:
* generic/tclExecute.c:
* generic/tclObj.c:
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h: control the timing with which the global
* generic/tclNamesp.c: variables ::errorCode and ::errorInfo get
* generic/tclProc.c: updated after an error. This keeps more
* generic/tclResult.c: precise compatibility with Tcl 8.4.
* tests/result.test (result-6.2): [Bug 1649062]
|
|
|
|
| |
* generic/tclExecute.c: Tcl-stack reform, [Patch 1701202]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclCompile.c: TCL_TOKEN_EXPAND_WORD tokens representing
* generic/tclCompile.h: expanded literal words. These sections were
mostly in place to enable [info frame] to discover line information
in expanded literals. Since the parser now generates a token for
each post-expansion word referring to the right location in the
original script string, [info frame] gets all the data it needs.
* generic/tclInt.h: Revised the parser so that it never produces
* generic/tclParse.c: TCL_TOKEN_EXPAND_WORD tokens when parsing an
* tests/parse.test: expanded literal word; that is, something like
{*}{x y z}. Instead, generate the series of TCL_TOKEN_SIMPLE_WORD
tokens to represent the words that expansion of the literal string
produces. [RFE 1725186]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/configure:
* README: Bump version number to 8.5a7
* generic/tcl.h:
* library/init.tcl:
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/configure.in:
* generic/tclParse.c: Disable and remove the ALLOW_EXPAND sections
* tests/info.test: that continued to support the deprecated
* tests/mathop.test: {expand} syntax. Updated the few remaining
users of that syntax in the test suite.
|
| |
|
| |
|
|
|
|
| |
tclStubLib.c MODULE_SCOPE revert. [Bug 1716117]
|
|
|
|
|
|
|
|
| |
pointers back to public visibility.
These symbols need to be exported so that stub-enabled extensions
may be statically linked into an extended tclsh or Big Wish with
a dynamically-linked libtcl. [Bug#1716117]
|
|
|
|
| |
from tclInt.h now they are in the internal stubs table.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
so make sure it is also always declared (with MODULE_SCOPE).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclLink.c (LinkTraceProc): Update Tcl_VarTraceProcs so that
* generic/tclNamesp.c (Error*Read): they call Tcl_InterpDeleted()
* generic/tclTrace.c (Trace*Proc): for themselves, and do not rely
* generic/tclUtil.c (TclPrecTraceProc): on (frequently buggy) setting
of the TCL_INTERP_DESTROYED flag by the trace core.
* generic/tclVar.c: Update callers of TclCallVarTraces to not
pass in the TCL_INTERP_DESTROYED flag. Also apply filters so that
public routines only pass documented flag values down to lower level
routines.
* generic/tclTrace.c (TclCallVarTraces): The setting of the
TCL_INTERP_DESTROYED flag is now done entirely within the
TclCallVarTraces routine, the only place it can be done right.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
in a private namespace, to avoid polluting the global one. This
problem was discovered when running the test suite '-singleproc 1
-skip exec.test' because the 'path' variable in encoding.test
conflicted with the one in io.test.
* tests/io.test: Made more of the working variables private to the
namespace.
|
|
|
|
|
|
| |
Corrected several memory leaks that caused refcount imbalances
resulting in memory leaks on Windows. Thanks to Joe Mistachkin
for the patch.
|
|
|
|
|
| |
imbalance that affected the filesystem-[147]* tests in the test
suite. Thanks to Don Porter for the patch. [Bug 1710707]
|
|
|
|
|
| |
had refCount 0 and was used for appending (but not
lappending). [Bug 1710710], thanks to mistachkin and kbk.
|
|
|
|
|
|
|
| |
DeleteChannelTable tries to close all open channels, not just the
first. [Bug 1710285]
* generic/tclThread.c (TclFinalizeSynchronization): Make sure
that TSD blocks get freed on non-threaded builds. [Bug 1710825]
|
|
|
|
| |
map, a missing Tcl_DictObjDone() call led to a memleak. [Bug 1710709]
|
|
|
|
|
|
| |
mismanagement of newlevel, newcode. Changed to allocate the
Tcl_Obj's as late as possible, and only when actually needed. [Bug
1705778, leak K29].
|
|
|
|
|
| |
reference count mismanagement on the name of the source file in
the TIP 280 code. [Bug 1705778, leak K02 among other manifestations]
|
| |
|
|
|
|
|
|
| |
to that the path returned from Tcl_FSGetNativePath is not
duplicated before being stored as the current directory, to avoid
a memory leak. [Bug 1705778, leak K01 among other manifestations]
|
|
|
|
|
|
| |
an error return doesn't prevent all literals getting placed on the
litList to be returned to the caller for freeing. Corrects some
memleaks. [Bug 1705778, leak K23]
|
|
|
|
|
|
| |
2007-04-20). Causes some Tk test breakage of unknown importance,
but the impact of the patch itself is likely to be so small that
it does not warrant investigation at this time.
|
|
|
|
|
| |
list under construction was leaked in the error case.[Bug 1705778,
leaks K13 and K14]
|
| |
|
| |
|
|
|
|
|
| |
flag marking scheme to be sure that global namespaces are freed when
their interp is deleted. [Bug 1705778].
|
|
|
|
|
| |
error return from the 'binary format' command leaked the result
buffer.
|
| |
|
|
|
|
| |
literal Tcl_Obj was not getting freed. [Bug 1705778, leak #1 (new)]
|
|
|
|
| |
leaks in bignum arithmetic.
|
|
|
|
|
|
|
|
| |
buffer object if the physocal read returned an error and the
bypass area had no message.
* generic/tclIORChan.c (TclChanCreateObjCmd): Plugged a leak of
the return value from the "initialize" method of a channel
handler.
|
| |
|
|
|
|
|
| |
* generic/tclCompile.c: --enable-64bit --enable-symbols=all.
* generic/tclExecute.c:
|
|
|
|
|
| |
TCL_INTERP_DESTROYED flags gets passed to unset trace routines
so they can respond appropriately. [Bug 1705778, leak #9]
|
|
|
|
|
|
|
|
| |
leak in 'upvar' when compiling (a) upvar outside a proc, (b)
upvar with a syntax error, or (c) upvar where the frame index
is not known at compile time.
* generic/tclParseExpr.c (ParseExpr): Plugged a memory leak
when parsing expressions that contain syntax errors.
|
|
|
|
| |
extCmdMapPtr was not being freed [Bug 1705778, leak #1].
|