| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
setting a variable fails.
|
| |
|
| |
|
|
|
|
| |
and some formatting fixes
|
|
|
|
|
| |
* unix/tclLoadDyld.c (TclpDlopen): to make it build on OSX.
Also add missing ChangeLog entry for previous commit by KBK.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclDecls.h: to export Tcl_LoadFile, Tcl_FindSymbol,
* generic/tclIOUtil.c: and Tcl_FSUnloadFile to the public API.
* generic/tclInt.h:
* generic/tclLoad.c:
* generic/tclLoadNone.c:
* generic/tclStubInit.c:
* tests/fileSystem.test:
* tests/load.test:
* tests/unload.test:
* unix/tclLoadDl.c:
* unix/tclLoadDyld.c:
* unix/tclLoadNext.c:
* unix/tclLoadOSF.c:
* unix/tclLoadShl.c:
* unix/tclUnixPipe.c:
* win/Makefile.in:
* win/tclWinLoad.c:
|
|
|
|
|
|
| |
floating point number until it is actually used. (This change avoids
a bogus syslog message regarding a 'floating point software assist
fault' on SGI systems.)
|
|
|
|
|
|
|
|
| |
ReflectSeekWide, ReflectWatch, ReflectBlock, ReflectSetOption,
ReflectGetOption, ForwardProc): [Bug 2978773]: Preserve
ReflectedChannel* structures across handler invokations, to avoid
crashes when the handler implementation induces nested callbacks
and destruction of the channel deep inside such a nesting.
|
|
|
|
|
| |
the validity tests on internal rep of a "cmdName" value to avoid
invalid reads reported by valgrind.
|
| |
|
|
|
|
| |
further optimization, making use of indexType.
|
|
|
|
| |
caught by valgrind testing.
|
| |
|
| |
|
|
|
|
| |
* tests/result.test: that it rejects illegal non-list values.
|
|
|
|
|
| |
(InfoClassMethodTypeCmd): Added introspection of method types so that
it is possible to find this info out without using errors.
|
|
|
|
| |
[try] command does not trap unwinding due to limits.
|
|
|
|
| |
indices of script arguments to [try].
|
|
|
|
| |
exactly the same as the one in "return"
|
|
|
|
|
| |
values to identify the argument indices of the various script arguments
to [try]. Passing in -1 led to invalid memory reads.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* generic/tclTestObj.c: operations. Thanks to kbk for fix and test.
* tests/listObj.test: [Bug 2971669].
|
| |
|
|
|
|
|
| |
of an instruction! Tightened the instruction issuing. Moved endCatch
calls closer to their point that they guard.
|