| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
duplication, let the runtime var resolver call the compiled var
resolver.
|
|
|
|
|
|
|
| |
* generic/tclExecute.c (TclExecuteByteCode): merge INST_STR_CMP
and INST_STR_EQ/INST_STR_NEQ paths. Speeds up eq/ne/[string eq]
with obj-aware comparisons and eq/==/ne/!= with length equality
check.
|
|
|
|
| |
as Tcl_SetVar.
|
|
|
|
|
|
| |
* generic/tclEvent.c: Tcl_GetReturnOptions() was leaked.
* generic/tclMain.c: Thanks to Jeff Hobbs for discovery of the
anti-pattern to seek and destroy.
|
|
|
|
| |
fixes [Bug 3072640]
|
|
|
|
|
|
|
| |
or ::errorCode with DECACHE_STACK_INFO(), as they could run
traces. The new calls to be protected are Tcl_ResetResult(),
Tcl_SetErrorCode(), IllegalExprOperandType(),
TclExprFloatError(). The error was triggered by [Patch 3072080].
|
|
|
|
|
|
|
|
|
| |
* generic/tclVar.c (TclLookupSimpleVar, CompareVarKeys):
* generic/tclPathObj.c (Tcl_FSGetNormalizedPath, Tcl_FSEqualPaths):
* generic/tclExecute.c (TclExecuteByteCode):
* generic/tclIOUtil.c (TclFSCwdPointerEquals): peephole opt
* generic/tclResult.c (TclMergeReturnOptions): use memcmp where
applicable as possible speedup on some libc variants.
|
|
|
|
|
|
| |
ASCII.
Needed for [FRQ 491789]: setargv() doesn't support a unicode cmdline
|
|
|
|
|
| |
sure we never try to double zero repeatedly to get a buffer size. Also
added a check for sanity on the size of buffer being appended.
|
|
|
|
|
|
|
|
| |
features to genStubs.tcl. Make the "generic"
argument in the *.decls files optional
(no change to any tcl*Decls.h files)
This allows genStubs.tcl to generate the ttk stub files as well,
while keeping full compatibility with existing *.decls files.
|
|
|
|
|
|
|
| |
* generic/tclVar.c: make the behaviour of lappend in bytecompiled
* tests/append.test: mode consistent with direct-eval and 'append'
* tests/appendComp.test: generally. Added tests (append*-9.*)
showing the difference.
|
|
|
|
| |
Typo in rules.vc
|
|
|
|
|
|
|
|
|
| |
* generic/tclCmdAH.c: it now schedules the command and returns
* generic/tclCmdMZ.c: TCL_RETURN. This fixes all issues with
* generic/tclExecute.c: [catch] and [try] - [Bug 3046594],
* generic/tclInt.h: [Bug 3047235] and [Bug 3048771]. Thanks
* generic/tclNamesp.c: dgp for exploring the dark corners.
* tests/tailcall.test: More thorough testing is required.
|
| |
|
|
|
|
|
|
| |
follow-up:
move stub entry back to original location.
|
| |
|
|
|
|
| |
3009403]: Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntry
|
|
|
|
| |
Use void (*reserved$i)(void) = 0 instead of void *reserved$i = NULL for unused stub entries, in case pointer-to-function and pointer-to-object are different sizes.
|
|
|
|
|
|
| |
(TraceVariableObjCmd): [Patch 3048354]: Use memcpy() instead of
strcpy() to avoid buffer overflow; we have the correct length of data
to copy anyway since we've just allocated the target buffer.
|
|
|
|
| |
remove unneeded ifdeffery and put C++ guard around stubs pointer definition.
|
|
|
|
|
|
| |
* generic/tclExecute.c: errors early on, so that errorInfo
* generic/tclInt.h: contains the proper info [Bug 3047235]
* generic/tclNamesp.c:
|
|
|
|
| |
the body of a non-bc'ed [try], #3046594
|
|
|
|
|
|
|
|
|
| |
* generic/tclCmdAH.c: (a) fix #3047235
* generic/tclCompile.h: (b) enable fix for #3046594
* generic/tclExecute.c: (c) enable recursive tailcalls
* generic/tclInt.h:
* generic/tclNamesp.c:
* tests/tailcall.test:
|
|
|
|
|
| |
handling of passing the wrong number of arguments to [apply] somewhat
less verbose when a lambda term is present.
|
| |
|
| |
|
|
|
|
| |
snafu. Thanks to Andy Goth for finding the bug.
|
|
|
|
| |
null-terminated, so account for that.
|
|
|
|
|
| |
* generic/tclIORTrans.c: in InvokeTclMethod and callers.
* tests/ioTrans.test:
|
| |
|
|
|
|
| |
optimisation in TclDeleteVars (used for runtime-created locals)
|
|
|
|
| |
relation between Tcl_CallFrame and CallFrame.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* generic/tclDictObj.c (DictGetCmd): always generates an errorCode on
a failure to look up an entry.
|
|
|
|
|
|
|
| |
on what to do with the obsolete internal stub for
TclBackgroundException() (eliminate it!)
* generic/tclIntDecls.h: make genstubs
* generic/tclStubInit.c:
|
| |
|
|
|
|
|
|
| |
sure that errors caused by an argument to an operator being outside
the domain of the operator all result in ::errorCode being ARITH
DOMAIN and not NONE.
|
| |
|
|
|
|
| |
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.
|