| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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].
|
|
|
|
| |
beyond the end of 'objv' in 'testregexp -about'.
|
|
|
|
|
|
|
|
|
| |
growing the cache to avoid reads of uninitialised data.
* generic/tclStrToD.c (AccumulateDecimalDigit): Fixed a mistake
where we'd run beyond the end of the 'pow10_wide' array if
a number begins with a string of more than 'maxpow10_wide' zeroes.
Both these issues reported under [Bug 1705778] - detected with
the existing test suite, no new regression tests required.
|
|
|
|
| |
memory detected by valgrind.
|
| |
|
|
|
|
| |
reps of objects converted to singleton lists [Patch 738900]
|
| |
|
|
|
|
| |
1515234]
|
|
|
|
| |
catenation, and fixed an oversight in the fix for NZA time zones.
|
|
|
|
| |
Quite against my better judgment. [Bug 414933]
|
|
|
|
|
|
| |
military time zone input conversion. [Bug 1586828].
* generic/tclGetDate.y (MilitaryTable): Fixed an ancient bug where
the military NZA time zones had the signs reversed [Bug 1586828].
|
|
|
|
|
| |
about the effect of Daylight Saving Time on relative times
in [clock scan]. [Bug 1582951]
|
|
|
|
|
|
| |
test case that depended on ":localtime" being able to handle
dates prior to the Posix epoch, [Bug 1618445] Added a test
case for the dates of the Japanese emperors. [Bug 1637471]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and 'lowercase' in clock.n. [Bug 1656002]
Clarified that [clock scan] does not recognize a locale's
alternative calendar.
* library/clock.tcl: Corrected an error in skipping over the
%Ey field on input.
* library/msgs/ja.msg:
* tools/loadICU.tcl: Corrected several localisation faults in
the Japanese locale (most notably, incorrect dates for the
Emperors' eras). [Bug 1637471]. Many thanks to SourceForge
user 'nyademo' for pointing this out and developing a fix.
* generic/tclPathObj.c: Corrected a 'const'ness fault that
caused bitter complaints from MSVC.
|
|
|
|
| |
and 'lowercase' in clock.n. [Bug 1656002]
|
| |
|
|
|
|
|
|
|
| |
in version 1.266 ('=' became '=='), which effectively turned the
block that handles native shifts into dead code. This explains why
the testsuite did not pick this mistake. Rewrote to make the
intention clear.
|
|
|
|
|
| |
branches, use empty 'if ; else' to handle use in unbraced outer
if/else conditions (as already done in tcl.h)
|
| |
|
|
|
|
|
|
|
| |
::tcl::clock::ReadZoneinfoFile because (yoicks!) it was in the global
namespace.
* doc/clock.n: Clarified the cases in which legacy time zone is
recognized. [Bug 1656002]
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
error on VC2005.
* library/clock.tcl: Restored unique-prefix matching of keywords
on the [clock] command. [Bug 1690041]
* tests/clock.test: Added rudimentary test cases for unique-prefix
matching of keywords.
|
|
|
|
| |
duplicates functionality already present at checkForCatch.
|
|
|
|
|
|
| |
OBJ_AT_DEPTH(n) and CURR_DEPTH that remove all direct references
to tosPtr from TEBC (after initialisation and the code at the
label cleanupV_pushObjResultPtr).
|
|
|
|
| |
macros - the decreasing half was managed by hand.
|
|
|
|
| |
efficient). After [Patch 1529526] (afredd)
|
| |
|
|
|
|
| |
description of dict instructions
|
|
|
|
| |
description of INST_START_COMMAND.
|
| |
|
|
|
|
|
|
|
|
| |
* generic/tclNamespace.c (NsEnsembleImplementationCmd):
* generic/tclProc.c (InitCompiledLocals, ObjInterpProcEx,
TclObjInterpProcCore, ProcCompileProc): code reordering to reduce
branching and improve branch prediction (assume that forward
branches are typically not taken).
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* generic/tclInt.h: the internal stubs table; regen.
* generic/tclIntDecls.h:
* generic/tclStubInit.c:
|
|
|
|
|
|
|
|
| |
* 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.
|