| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
fix gcc(-4.5.2) warning: 'static' is not at beginning of declaration
|
|
|
|
| |
args], which prepends ("injects") arbitrary code to a suspented coro's future resumption. Neat for debugging complex coros without heavy instrumentation.
|
|
|
|
|
|
|
|
|
|
| |
* doc/tclvars.n: Performance fix for TIP #280.
* generic/tclBasic.c:
* generic/tclExecute.c:
* generic/tclInt.h:
* generic/tclInterp.c:
* tests/info.test:
* tests/interp.test:
|
| |
|
|
|
|
|
|
|
|
| |
* generic/tclEnv.c, generic/tclLoad.c, generic/tclNamesp.c,
* generic/tclObj.c, generic/tclRegexp.c, generic/tclResolve.c,
* generic/tclResult.c, generic/tclUtil.c, macosx/tclMacOSXFCmd.c:
More purging of strcpy() from locations where we already know the
length of the data being copied.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclCmdIL.c: update): a saner NRE.
* generic/tclCompExpr.c:
* generic/tclCompile.c: This makes TclNRExecuteByteCode
* generic/tclCompile.h: (ex TEBC) to be a normal NRE
* generic/tclExecute.c: citizen: it loses its special status.
* generic/tclInt.decls: The logic flow within the BC engine is
* generic/tclInt.h: simplified considerably.
* generic/tclIntDecls.h:
* generic/tclObj.c:
* generic/tclProc.c:
* generic/tclTest.c:
|
|
|
|
| |
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.
|
|
|
|
| |
3009403]: Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntry
|
|
|
|
|
|
| |
* generic/tclExecute.c: errors early on, so that errorInfo
* generic/tclInt.h: contains the proper info [Bug 3047235]
* generic/tclNamesp.c:
|
|
|
|
|
|
|
|
|
| |
* 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:
|
|
|
|
| |
snafu. Thanks to Andy Goth for finding the bug.
|
|
|
|
| |
relation between Tcl_CallFrame and CallFrame.
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
(TclBignumToDouble, TclCeil, TclFloor), and
related tommath functions.
|
|
|
|
|
|
| |
* generic/tclBasic.c (NRInterpCoroutine): Corrected handling of
* tests/coroutine.test (coroutine-6.4): arguments to deal with
trickier cases.
|
|
|
|
|
|
| |
(NRInterpCoroutine): Replace magic values for formal argument counts
for coroutine command implementations with #defines, for an increase
in readability.
|
|
|
|
|
|
|
| |
included, don't include <limits.h>
again. Follow-up to [Bug 2991415]:
tclport.h #included before limits.h
See comments in [Bug 2991415]
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* use do { ... } while (0) in macros
* avoid shadowing one local variable with another
* use clearer 'foo.bar++;' instead of '++foo.bar;' where result not
required (i.e., semantically equivalent)
* follow Engineering Manual rules on spacing and declarations
|
| |
|
|
|
|
|
|
| |
Some more tests, showing that the LONG implementation
was not quite correct too, and a fix for that.
Some more internal "const" additions
|
|
|
|
| |
and added test cases for it.
|
|
|
|
|
|
|
|
| |
tcl*ConstStubs, it's not necessary at all.
tclEnsemble.c: Fix signed-unsigned mismatch
make tclWinProcs "const"
Add first part of mslu support,
See [Feature Request #2819611]
|
| |
|
| |
|
|
|
|
|
|
| |
Eliminate the need for an extra Stubs Pointer
for adressing a static stub table: Just change
the exported table from static to MODULE_SCOPE.
|
|
|
|
| |
alteration to error messages, otherwise no change.
|
| |
|
|
|
|
|
|
|
| |
* generic/tclCompile.h: deletion, [Bug 2724403]. Added a test
* generic/tclNamesp.c: for this leak, and also a test for
* tests/coroutine.test: leaks on namespace deletion.
* tests/namespace.test:
|
|
|
|
| |
functions
|
|
|
|
|
| |
* tests/coroutine.test: [Bug #2917627]. Thanks to schelte for
finding it.
|
| |
|
| |
|
|
|
|
|
| |
* generic/tclExecute.c: tailcall-management duties
* generic/tclNamesp.c:
|
|
|
|
|
| |
* generic/tclExecute.c: from TclNRTailcallObjCmd to TEBC, so that
the pairing of the Enter and Release calls is clearer.
|
| |
|
|
|
|
| |
know about bottomPtr, tebc does not need to behave differently on exit for coros
|
|
|
|
| |
* generic/tclExecute.c: [Bug 2806407]
|
| |
|
| |
|
|
|
|
|
| |
* generic/tclExecute.c: coroutines by delegating more to tebc;
eliminate the special coroutine CallFrame.
|
|
|
|
| |
* generic/tclExecute.c: coroutines
|
| |
|
|
|
|
|
|
| |
(objc,objv)for coroutines.
* generic/tclExecute.c: Code regrouping
|
| |
|