| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* generic/tclCompCmds.c: variable linking commands: 'global',
* generic/tclCompile.h: 'variable', 'upvar', 'namespace upvar'
* generic/tclExecute.c: [Patch 1688593]
* generic/tclInt.h:
* generic/tclVar.c:
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclExecute.c: calls with TclStackAlloc calls to use memory
* generic/tclFCmd.c: on Tcl's evaluation stack.
* generic/tclFileName.c:
* generic/tclIOCmd.c:
* generic/tclIndexObj.c:
* generic/tclInterp.c:
* generic/tclNamesp.c:
* generic/tclTrace.c:
* unix/tclUnixPipe.c:
|
|
|
|
|
|
| |
even though INST_START_CMD is now issued more efficiently. Changes definition
of I_S_C, but that's an 8.5 opcode so that shouldn't matter; tbcload doesn't work
with 8.5 at the moment anyway.
|
| |
|
|
|
|
|
|
|
| |
* generic/tclCompExpr.c:
* generic/tclCompCmds.c: Replace arrays on the C stack and
ckalloc calls with TclStackAlloc calls to use memory on Tcl's
evaluation stack
|
|
|
|
|
|
| |
* generic/tclCompCmds.c: Replace arrays on the C stack and
ckalloc calls with TclStackAlloc calls to use memory on Tcl's
evaluation stack
|
|
|
|
|
| |
ckalloc calls with TclStackAlloc calls to use memory on Tcl's
evaluation stack
|
|
|
|
| |
implementation to reduce number of allocs/copies.
|
|
|
|
| |
arrays.
|
|
|
|
|
|
| |
* tests/apply.test (9.3): Fixed Tcl_Obj leak on error return; an
unneeded ref to lambdaPtr was being set and not released on an
error return path.
|
|
|
|
|
|
|
|
|
|
|
| |
[string reverse] command in terms of the new TclStringObjReverse()
routine.
* generic/tclInt.h (TclStringObjReverse): New internal routine
* generic/tclStringObj.c (TclStringObjReverse): that implements the
[string reverse] operation, making use of knowledge/surgery of the
String intrep to minimize the number of allocs and copies needed to
do the job.
|
|
|
|
| |
TclStackAlloc calls.
|
|
|
|
| |
pointer before deleting the global namespace [Bug 1658572]
|
| |
|
|
|
|
|
| |
on the C stack and ckalloc calls with TclStackAlloc calls to use
memory on Tcl's evaluation stack.
|
|
|
|
|
|
| |
argument specifying the growth required by the caller, so that
a single reallocation / copy is the most that will ever be needed
even when required growth is large.
|
|
|
|
|
|
|
|
|
| |
* generic/tclLiteral.c:
* generic/tclNamesp.c:
* generic/tclParse.c:
* generic/tclPreserve.c:
* generic/tclStringObj.c:
* generic/tclUtil.c:
|
|
|
|
| |
* generic/tclLiteral.c:
|
| |
|
|
|
|
| |
* generic/tclLink.c:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclDate.c: Rebuilt, despite Donal Fellows's comment when
committing it that no rebuild was required.
* generic/tclGetDate.y: According to Donal Fellows, "Introduce
modern formatting standards; no need for rebuild of tclDate.c."
* library/tzdata/America/Cambridge_Bay:
* library/tzdata/America/Havana:
* library/tzdata/America/Inuvik:
* library/tzdata/America/Iqaluit:
* library/tzdata/America/Pangnirtung:
* library/tzdata/America/Rankin_Inlet:
* library/tzdata/America/Resolute:
* library/tzdata/America/Yellowknife:
* library/tzdata/Asia/Choibalsan:
* library/tzdata/Asia/Dili:
* library/tzdata/Asia/Hovd:
* library/tzdata/Asia/Jakarta:
* library/tzdata/Asia/Jayapura:
* library/tzdata/Asia/Makassar:
* library/tzdata/Asia/Pontianak:
* library/tzdata/Asia/Ulaanbaatar:
* library/tzdata/Europe/Istanbul: Upgraded to Olson's tzdata2007d.
* generic/tclListObj.c (TclLsetList, TclLsetFlat):
* tests/lset.test: Changes to deal with shared internal
representation for lists passed to the [lset] command. Thanks to
Don Porter for fixing this issue. [Bug 1677512]
|
| |
|
| |
|
|
|
|
| |
CompileEnv fields to use ckrealloc() where appropriate.
|
|
|
|
| |
memcpy() sequence with ckrealloc() call.
|
|
|
|
|
|
|
| |
* generic/tclEvent.c (Tcl_CreateThread): calls to Tcl_Alloc()
* generic/tclObj.c (UpdateStringOfBignum): with calls to
* unix/tclUnixTime.c (SetTZIfNecessary): ckalloc(), which better
* win/tclAppInit.c (setargv): supports memory debugging.
|
| |
|
| |
|
|
|
|
|
|
| |
to avoid gcc warning by using local variables. When
the macro argument is of type long long instead
of long, the incorrect warning is not generated.
|
|
|
|
|
|
| |
* tests/foreach.test (foreach-10.1): of value list to be assigned
to variables so that shimmering of that list doesn't lead to invalid
pointers. [Bug 1671087]
|
|
|
|
|
|
| |
* tests/event.test (event-5.3): of the command prefix for the interp's
background error handling command to avoid panics due to pointers
to memory invalid after shimmering. [Bug 1670155]
|
|
|
|
|
|
|
| |
* tests/namespace.test (namespace-42.8): private copy of the
command prefix as we invoke the command appropriate to a particular
subcommand of a particular ensemble to avoid panic due to shimmering
of the List intrep. [Bug 1670091]
|
|
|
|
|
| |
* tests/var.test (var-17.1): the "list" argument to [array set] to
avoid crash due to shimmering invalidating pointers. [Bug 1669489].
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
to use the cheaper TclListObjCopy() instead of Tcl_DuplicateObj()
|
| |
|
|
|
|
|
| |
itself does not do any direct intrep surgery. Better isolates those
things into the implementation of the "list" Tcl_ObjType.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
private
copies of the list and indexlist arguments, so we can operate on the
list elements directly with no fear of shimmering effects. Replaces
defensive coding schemes that are otherwise required. End result is
that TclLindexList is entirely a wrapper around TclLindexFlat, which
is now the core engine of all [lindex] operations.
|
| |
|
|
|
|
| |
list validity test.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
TclInvalidateStringRep() call when we directly manipulate the
intrep of an unshared "list" Tcl_Obj. [Bug 1672585].
|
| |
|