| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
alignment of memory allocated by GrowEvaluationStack(). [Bug 1914503]
|
|
|
|
| |
confusing the simple-minded code doing the calculations). [Bug 1903325]
|
|
|
|
| |
from bad TclStackAlloc() alignment. Thanks George Peter Staplin.
|
|
|
|
|
| |
SortElement arrays instead of TclStackAlloc() which isn't getting
alignment right. Workaround for [Bug 1914503].
|
|
|
|
| |
* unix/tclUnixPipe.c: we are about to exit anyways.
|
| |
|
|
|
|
|
| |
with libm in Cygwin and DJGPP. Thanks to Gordon Schumacher and
Philip Moore. [Patch 1800636]
|
|
|
|
|
| |
sub-encodings, fixes encoding-11.1 failing after iso2022-jp loaded
(e.g. TESTFLAGS='-singleproc 1 -match "chan-io-1.8 encoding-11.1"').
|
|
|
|
|
|
|
| |
* tests/var.test (var-8.2): unset traces on vars should be called
with a FQ named during namespace deletion. This was causing
infinite loops when unset traces recreated the var, as reported by
Julian Noble on [Bug 1911919].
|
|
|
|
|
| |
* tests/event.test (event-5.*): checking to protect against callers
passing invalid return options dictionaries. [Bug 1901113]
|
|
|
|
|
|
| |
* tests/expr.test: function and the [::tcl::mathfunc::abs]
command do not return the value of -0, or equivalent values with
more alarming string reps like -1e-350. [Bug 1893815].
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
1904907]. Reset the return option keys to NULL to allow full
re-initialization by GetKeys(). This introduces a memory leak
for the key objects, but gets us around a crash in the
finalization of reflected channels when handling returns, either
at compile- or runtime. In both cases we access the keys after
they have been released by their thread exit handler. A proper
fix is entangled with the untangling of the finalization
ordering and attendant issues. For now we choose the lesser
evil.
|
| |
|
|
|
|
|
|
| |
compiling so that bytecodes invalid due to changing context or due
to the difference between expressions and scripts are not reused.
[Bug 1899164].
|
|
|
|
|
| |
[expr] so that [expr $e] caches compiled bytecodes for the expression
as the intrep of $e.
|
|
|
|
|
| |
an nsNameType obj when the reference crosses interpreter
boundaries.
|
|
|
|
|
|
|
|
|
|
| |
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().
|
|
|
|
|
|
|
|
|
|
| |
refcount management of Tcl_AppendObjToErrorInfo to become that of
a conventional Consumer routine. This preserves the ease of use
for the overwhelming common callers who pass in a 0-count value,
but makes the proper call with a non-0-count value less surprising.
* generic/tclEvent.c (TclDefaultBgErrorHandlerObjCmd): Revised the
one caller within Tcl itself which passes a non-0-count value to
Tcl_AppendObjToErrorInfo().
|
|
|
|
|
|
| |
an enter trace deletes or changes the command, prompting a reparsing.
Don't let the second pass lose commandPtr value allocated during the
first pass.
|
|
|
|
| |
message generation.
|
|
|
|
| |
leaked an mp_int.
|
|
|
|
|
| |
to optimize compiled [return -level 0 $x] [RFE 1794073] introduced
a memory leak of the return options dictionary. Fixing that.
|
|
|
|
| |
See SF#1901828 for discussion and archaeological notes.
|
|
|
|
|
|
|
|
|
|
|
|
| |
penultimate paragraph. [Bug 1898025]
* generic/tclClock.c (ParseClockFormatArgs): Changed to check that
the clock value is in the range of a 64-bit integer. [Bug 1862555]
* library/clock.tcl (::tcl::clock::format, ::tcl::clock::scan,
::tcl::clock::add, ::tcl::clock::LocalizeFormat): Fixed bugs
in caching of localized strings that caused weird results when
localized date/time formats were used. [Bug 1902423]
* tests/clock.test (clock-61.*, clock-62.1): Regression tests
for [Bug 1862555] and [Bug 1902423].
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* tests/regexpComp.test: star possibly being escaped in
determining right anchor. [Bug 1902436]
|
|
|
|
|
|
|
|
|
|
|
| |
* library/init.tcl: CVS development snapshots from the 8.5.1 and
* unix/configure.in: 8.5.2 releases.
* unix/tcl.spec:
* win/configure.in:
* README
* unix/configure: autoconf (2.59)
* win/configure:
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* library/clock.tcl (::tcl::clock::format):
* tests/clock.test (clock-1.0, clock-1.4):
Performance enhancements in [clock format] (moving
the analysis of $args into C code, holding on to
Tcl_Objs with resolved command names, [lassign]
in place of [foreach], avoiding [namespace which]
for command resolution).
|
| |
|
|
|
|
| |
in-place concatenation (was going over String type)
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h: Bump to 8.5.1 for release.
* library/init.tcl:
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/configure.in:
* unix/configure: autoconf-2.59
* win/configure:
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclCompCmds.c: simplify code that might need to grow
* generic/tclCompExpr.c: an array of Tcl_Tokens in the parsePtr
* generic/tclParse.c: field of a Tcl_Parse. Replaces the
TclExpandTokenArray() routine via replacing:
int needed = parsePtr->numTokens + growth;
while (needed > parsePtr->tokensAvailable) {
TclExpandTokenArray(parsePtr);
}
with:
TclGrowParseTokenArray(parsePtr, growth);
This revision merged over from dgp-refactor branch.
|
|
|
|
|
|
|
| |
* generic/tclInt.decls: a MODULE_SCOPE routine declared in tclCompile.h.
* generic/tclIntDecls.h: make genstubs
* generic/tclStubInit.c:
|
|
|
|
|
| |
Tcl_EvalObjEx() to evaluate [after] callbacks. Part of trend to
favor compiled execution over direct evaluation.
|
|
|
|
|
| |
* tests/cmdIL.test (cmdIL-7.7): fix crash on reversing an empty
list [Bug 1876793].
|
|
|
|
| |
[Bug 1869405] (Ficicchia)
|
|
|
|
|
| |
of numeric and boolean literals when compiling expressions with
(optimize == 1).
|
|
|
|
|
|
| |
* generic/tclCompile.c: TclCompileExpr() to profit from better
* generic/tclCompile.h: literal management according to usage.
* generic/tclExecute.c:
|
|
|
|
| |
* generic/tclExecute.c: (dgp)
|