| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
args message.
|
| |
|
|
|
|
|
|
| |
Change TclpThreadCreate and Tcl_CreateThread
signature, making clear that "proc" is a function
pointer, as in all other "proc" function parameters.
|
|
|
|
| |
tclPipe.c: Fix gcc warning (with -fstrict-aliasing=2)
|
| |
|
|
|
|
| |
with errors.
|
|
|
|
|
|
|
|
|
| |
* generic/tclExecute.c: be traversable accross coro
boundaries. Add the special coroutine CallFrame (partially
reverting commit of 2009-12-10), as it is needed for coroutines
that do not push a CF - eg, those with [eval] as command. Thanks
to Colin McCormack (coldstore) and Alexandre Ferrieux for the
hard work on this.
|
|
|
|
| |
offsets no longer overestimated.
|
| |
|
|
|
|
|
| |
Only depend on callerPtr chaining now.
Needed for upcoming coro patch.
|
| |
|
| |
|
|
|
|
|
| |
Corrected error in handling of catch contexts to prevent crash with
chained handlers.
|
|
|
|
| |
of instruction-level execution tracing (had been broken by NRE).
|
| |
|
| |
|
|
|
|
| |
more readable.
|
| |
|
|
|
|
|
| |
Tcl_GetCommandFullName rather than rolling its own. Discovered during
the hunting of [Bug 3001438] but unlikely to be a fix.
|
| |
|
| |
|
|
|
|
|
| |
(TclBignumToDouble, TclCeil, TclFloor), and
related tommath functions.
|
| |
|
|
|
|
|
|
|
|
|
| |
* library/init.tcl: CVS snapshots from earlier snapshots as well
* unix/configure.in: as the 8.6b1 and 8.6b2 releases.
* win/configure.in:
* unix/configure: autoconf-2.59
* win/configure:
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h (TclAppendBytesToByteArray): placing overflow
protection responsibility on caller. Convert "len" argument to signed
int which any value already vetted for overflow issues will fit into.
* generic/tclStringObj.c: Update caller; standardize panic msg.
* generic/tclBinary.c (UpdateStringOfByteArray): Add panic
when the generated string representation would grow beyond Tcl's
size limits. [Bug 2994924]
|
|
|
|
| |
against buffer overflows.
|
|
|
|
|
|
| |
* generic/tclBasic.c (NRInterpCoroutine): Corrected handling of
* tests/coroutine.test (coroutine-6.4): arguments to deal with
trickier cases.
|
|
|
|
| |
issuing of instructions.
|
|
|
|
|
| |
of the fact that INST_DICT_FIRST and INST_DICT_NEXT always have a
conditional jump afterwards.
|
|
|
|
|
|
| |
(NRInterpCoroutine): Replace magic values for formal argument counts
for coroutine command implementations with #defines, for an increase
in readability.
|
|
|
|
|
| |
It was used for an ancient dummy reference to Tcl_LinkVar(),
but that's already gone since 2002-05-29.
|
|
|
|
|
|
| |
* generic/tclCompile.c: mechanism to avoid shimmering of
* generic/tclCompile.h: command names.
* generic/tclLiteral.c:
|
| |
|
|
|
|
|
|
| |
* generic/tclStringObj.c (Tcl_AppendObjToObj): an append of a byte
array to another into an efficent operation. The problem was the (lack
of) a proper growth management strategy for the byte array.
|
|
|
|
|
|
|
|
|
|
|
| |
Move <limits.h> include from
tclInt.h to tclWinPort.h, and
eliminate unneeded <stdlib.h>, <stdio.h> and
<string.h>, which are already in tclInt.h
Move "tclInt.h" from regcustom.h
up to regex.h.
tclAlloc.c: Unneeded <stdio.h> include
tclExecute.c: Fix gcc warning: comparison between signed and unsigned
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
deletion of traces is not optimized out...
* generic/tclExecute.c (ExecuteExtendedBinaryMathOp)
(TclCompareTwoNumbers,ExecuteExtendedUnaryMathOp,TclExecuteByteCode):
[Patch 2981677]: Move the less common arithmetic operations (i.e.,
exponentiation and operations on non-longs) out of TEBC for a big drop
in the overall size of the stack frame for most code. Net effect on
speed is minimal (slightly faster overall in tclbench). Also extended
the number of places where TRESULT handling is replaced with a jump to
dedicated code.
|
| |
|
|
|
|
|
|
|
| |
included, don't include <limits.h>
again. Follow-up to [Bug 2991415]:
tclport.h #included before limits.h
See comments in [Bug 2991415]
|
| |
|
|
|
|
|
| |
* generic/tclOOStubInit.c: guards) to ensure that warnings are issued
when these files are older than the various *.decls files.
|
|
|
|
| |
* generic/tclInt.h:
|
|
|
|
|
|
| |
* generic/tclExecute.c: to fix yieldTo, which had not survived
* generic/tclInt.h: the latest mods to tailcall. Thanks kbk
for detecting the problem.
|
|
|
|
| |
Eliminate various unnecessary type casts.
|
| |
|
|
|
|
| |
reduce indentation for the Invocation Block.
|
| |
|
|
|
|
|
|
|
|
|
| |
to tclWinPort.h, where it belongs.
Add fallback in tcl.h, so at least TCHAR typedef is
always available in win32, even without <tchar.h>
Tk already did the same in tkWinPort.h, now Tcl does
it the same (correct) way.
|
|
|
|
|
|
|
|
| |
not result in a *guaranteed* push of a Tcl_Obj on the stack, we must
push an empty object. Otherwise it is possible to get to a 'concat1'
or 'done' without enough values on the stack, resulting in a crash.
Thanks to Joe Mistachkin for identifying a script that could trigger
this case.
|
| |
|