| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
variable traces so that the errorInfo value contains the original
error message. [Bug 2151707]
* generic/tclVar.c: Revised implementation of TclObjVarErrMsg
so that error message construction does not disturb an existing
iPtr->errorInfo that may be in progress.
|
|
|
|
|
|
|
|
| |
* doc/global.n: Revise [global] to accept zero variable names.
* doc/variable.n: Revise [variable] likewise.
* generic/tclVar.c:
* tests/proc-old.test:
* tests/var.test:
|
|
|
|
|
|
|
|
|
| |
* doc/global.n: Revise [global] to accept zero variable names.
* generic/tclVar.c:
* tests/proc-old.test:
* tests/var.test:
* doc/global.n: Correct false claim about [info locals].
|
|
|
|
|
|
| |
could not trigger before TclOO: the number of locals was being
read from the Proc, which can under some circumstance be out of
sync with the localCache's.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclIOCmd.c: Integration of transform commands into 'chan' ensemble.
* generic/tclInt.h: Definitions of the transform commands.
* generic/tclIORTrans.c: Implementation of the reflection transforms.
* tests/chan.test: Tests updated for new sub-commands of 'chan'.
* tests/ioCmd.test: Tests updated for new sub-commands of 'chan'.
* tests/ioTrans.test: Whole new set of tests for the reflection transform.
* unix/Makefile.in: Integration of new files into build rules.
* win/Makefile.in: Integration of new files into build rules.
* win/makefile.vc: Integration of new files into build rules.
NOTE: The file 'tclIORTrans.c' has a lot of code in common with
the file 'tclIORChan.c', as that made it much easier to
develop the reference implementation as a separate
module. Now that the transforms have been committed the one
thing left to do is to go over both modules and see which of
the common parts we can factor out and share.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Alexandre Ferrieux <ferrieux@users.sourceforge.net> to fix the
[Bug 1965787]. 'tell' now works for locations > 2 GB as well
instead of going negative.
* generic/tclIO.c (Tcl_SetChannelBufferSize): Accepted a patch by
* tests/io.test: Alexandre Ferrieux <ferrieux@users.sourceforge.net>
* tests/chanio.test: to fix the [Bug 1969953]. Buffersize outside
of the supported range are now clipped to nearest boundary instead
of ignored.
|
|
|
|
|
|
|
| |
* 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/var.test (var-14.2): [array names $var -glob $ptn]
|
| |
|
| |
|
|
|
|
| |
objTypes.
|
|
|
|
|
|
|
| |
* generic/tclVar.c (TclObjLookupVarEx):
* tests/set.test (set-5.1): fix error branch when array name looks
like array element (code not normally exercised).
x
|
|
|
|
| |
lookups by name, partially addressing [Bug 1793601]
|
|
|
|
| |
fixed correctly, reverted fix of 2007-05-01.
|
| |
|
|
|
|
|
| |
the new availability of Tcl_Obj in variable names, avoiding string
comparisons to verify that the cached value is usable.
|
| |
|
| |
|
|
|
|
| |
compilation with MSVC6 and anything else that may not define this macro.
|
|
|
|
| |
Virden.
|
|
|
|
| |
*** POTENTIAL INCOMPATIBILITY *** (tclInt.h and tclCompile.h)
|
|
|
|
| |
recent streamlining.
|
| |
|
|
|
|
| |
more streamlining.
|
| |
|
|
|
|
|
|
| |
that ended up not really optimising (limited benchmarks). Now
calling UnsetVarStruct (streamlined old code is #ifdef'ed out, in
case better benchmarks do show a difference).
|
|
|
|
| |
last commit.
|
|
|
|
|
|
|
|
|
| |
slightly clearer, eliminated some duplicated code.
*** POTENTIAL INCOMPATIBILITY *** (tclInt.h and Var struct users)
The core never builds VAR_LINK variable to have traces. Such a
"monster", should one exist, will now have its unset traces called
*before* it is unlinked.
|
|
|
|
| |
compute the variable's full name if the variable is traced.
|
|
|
|
|
|
|
|
|
| |
* generic/tclNamesp.c:
* generic/tclObj.c:
* generic/tclvar.c: new macros TclGetCurrentNamespace() and
TclGetGlobalNamespace(); Tcl_GetCommandFromObj and
TclGetNamespaceFromObj rewritten to make the logic clearer;
slightly faster too.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclLink.c (LinkTraceProc): Update Tcl_VarTraceProcs so that
* generic/tclNamesp.c (Error*Read): they call Tcl_InterpDeleted()
* generic/tclTrace.c (Trace*Proc): for themselves, and do not rely
* generic/tclUtil.c (TclPrecTraceProc): on (frequently buggy) setting
of the TCL_INTERP_DESTROYED flag by the trace core.
* generic/tclVar.c: Update callers of TclCallVarTraces to not
pass in the TCL_INTERP_DESTROYED flag. Also apply filters so that
public routines only pass documented flag values down to lower level
routines.
* generic/tclTrace.c (TclCallVarTraces): The setting of the
TCL_INTERP_DESTROYED flag is now done entirely within the
TclCallVarTraces routine, the only place it can be done right.
|
|
|
|
|
| |
had refCount 0 and was used for appending (but not
lappending). [Bug 1710710], thanks to mistachkin and kbk.
|
|
|
|
|
| |
TCL_INTERP_DESTROYED flags gets passed to unset trace routines
so they can respond appropriately. [Bug 1705778, leak #9]
|
|
|
|
| |
memory detected by valgrind.
|
|
|
|
| |
1515234]
|
|
|
|
|
|
|
|
| |
* generic/tclCompCmds.c: variable linking commands: 'global',
* generic/tclCompile.h: 'variable', 'upvar', 'namespace upvar'
* generic/tclExecute.c: [Patch 1688593]
* generic/tclInt.h:
* generic/tclVar.c:
|
|
|
|
|
| |
* tests/var.test (var-17.1): the "list" argument to [array set] to
avoid crash due to shimmering invalidating pointers. [Bug 1669489].
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclBasic.c: there is always a valid CallFrame, even
* generic/tclCmdIL.c: at level 0 [Patch 1577278]. Most of the
* generic/tclInt.h: changes involve removing tests for
* generic/tclNamesp.c: iPtr->(var)framePtr==NULL. There is now a
* generic/tclObj.c: CallFrame pushed at interp creation
* generic/tclProc.c: with a pointer to it stored in
* generic/tclTrace.c: iPtr->rootFramePtr. A second unused
* generic/tclVar.c: field in Interp is hijacked to enable
further functionality, currently unused (but with several FRQs
depending on it).
|
| |
|
|
|
|
| |
other developers
|
|
|
|
|
| |
* tests/append.test(4.21-22): fix for longstanding [Bug 1570718],
lappending nothing to non-list. Reported by lvirden
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* doc/incr.n: Revised [incr] to auto-initialize when varName
* generic/tclExecute.c: argument is unset. [Patch 1413115].
* generic/tclVar.c:
* tests/compile.test:
* tests/incr-old.test:
* tests/incr.test:
* tests/set.test:
|