| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
* doc/interp.n: Added support for a -namespace option to the
* generic/tclBasic.c: [interp invokehidden] command. Also added an
* generic/tclInt.h: internal routine TclObjInvokeNamespace() and
* generic/tclInterp.c: corrected the flag names TCL_FIND_ONLY_NS and
* generic/tclNamesp.c: TCL_CREATE_NS_IF_UNKNOWN that are passed to the
* generic/tclTrace.c: internal routine TclGetNamespaceForQualName().
* tests/interp.test: [Patch 981841]
|
|
|
|
|
|
| |
* tests/compile.test (compile-12.4): flawed deletion of literal
internal reps that could lead to accessing of freed memory.
Thanks to Kevin Kenny for test case and fix [Bug 1001997].
|
|
|
|
|
| |
so that Tcl_ExitProc's that call Tcl_Finalize recursively do not
cause deadlock. [Patch 999084 fixes Tk Bug 714956]
|
|
|
|
|
|
| |
reference to the corresponding proc. The reference is now seen as
unnecessary, and it may cause leaking circular references under
some circumstances (see for example [Bug 994838]).
|
|
|
|
|
|
|
| |
* generic/tclInt.h: fully cleanup on exit and allow for
* generic/tclThreadAlloc.c: reinitialization. [Bug #736426]
* unix/tclUnixThrd.c: (mistachkin, kenny)
* win/tclWinThrd.c:
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclBasic.c (DeleteInterpProc):
* generic/tclLiteral.c (TclCleanupLiteralTable):
* generic/tclInt.h: added a TclCleanupLiteralTable function,
called from DeleteInterpProc, that frees internal representations
of shared literals early when an interpreter is being deleted.
This change corrects a number of memory mismanagement issues in
the cases where the internal representation of one literal
contains a reference to another, and avoids conditions such as
resolved variable names referring to procedure and namespace
contexts that no longer exist. [Bug 994838]
|
| |
|
|
|
|
|
| |
generation of error messages and simplified by reusing data in a
variable instead of retrieving the string again. Fixes [Tcl SF Bug 835289].
|
|
|
|
|
| |
the TclFinalizeNotifier in order to correct broken ref-counting
of the notifier thread.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclIO.c (Tcl_UnregisterChannel): 'Tcl_Close' while the
* generic/tclIO.c (Tcl_Close): close callbacks are
run. Checked in 'Tcl_Close' and 'Tcl_Unregister' to prevent
recursive call of 'close' in the close-callbacks. This is a
possible error made by implementors of virtual filesystems based
on 'tclvfs', thinking that they have to close the channel in the
close handler for the filesystem.
* generic/tclIO.c:
* generic/tclIO.h:
* Not reverting, but #ifdef'ing the changes from May 19, 2004 out
of the core. This removes the ***POTENTIAL INCOMPATIBILITY***
for channel drivers it introduced. This has become possible due
to Expect gaining a BlockModeProc and now handling blockingg and
non-blocking modes correctly. Thus [SF Tcl Bug 943274] is still
fixed if a recent enough version of Expect is used.
* doc/CrtChannel.3: Added warning about usage of a channel without
a BlockModeProc.
|
|
|
|
|
|
| |
old depreceated newline syntax, to ensure that only "nonewline"
is accepted. [Tcl SF Bug 985869], reported by Joe Mistachkin
<mistachkin@users.sourceforge.net>.
|
|
|
|
|
|
|
|
|
|
|
|
| |
after the last call to TclFinalizeThreadData (done from within
Tcl_FinalizeThread()). We basically just repeat the
TclFinalizeThreadData() once more before tearing down TSD keys
in TclFinalizeSynchronization().
There should be more elaborate mechanism in place for handling
such issues, based on thread cleanup handlers registered on the
OS level. Such change requires much more work and would also
require TIP because some visible parts of Tcl API would have to
be modified. In the meantime, this will do.
|
|
|
|
| |
variable 'codePtr' to silence a message from VC++.
|
|
|
|
|
|
|
|
|
| |
* generic/tclLiteral.c (TclReleaseLiteral): fix for [Bug 467523],
which resurfaced with the latest changes. The previous strategy
was to have special code in TclReleaseLiteral to handle the
self-references generated by empty scripts. The new approach
avoids the self-reference altogether, by having empty scripts
return an unshared literal.
|
|
|
|
| |
this will result in TclInitNotifier never being called.
|
| |
|
|
|
|
| |
See SF bugreport for more info.
|
|
|
|
| |
objv[objectsUsed] on error.
|
|
|
|
| |
result on error.
|
| |
|
| |
|
|
|
|
|
| |
when there is an error while an expansion is in progress (code
added at checkForCatch).
|
| |
|
|
|
|
|
| |
insuring that the fix of [Bug 983660] does not have a negative perf
impact.
|
|
|
|
|
| |
Single-word scripts are compiled with an unshared cmdName to avoid
shimmering between bytecode and cmdName reps.
|
|
|
|
| |
removed potential memory leak. [Bug 986257].
|
| |
|
|
|
|
|
|
|
|
|
| |
containing backslash-quoted value is treated correctly.
* generic/tclCompile.c (TclWordKnownAtCompileTime): [Bug 986196]
Corrected flaw above and the flaw that caused TCL_TOKEN_SIMPLE_WORDs
to have their original word value copied ( "{a b}" ) rather than the
actual value ( "a b" ). Thanks to Kevin Kenny for report and tests.
|
|
|
|
|
|
|
|
|
| |
found by pspjuth. Tear down the global namespace before freeing
the interp handle, to allow the bytecodes to free their non-shared
literals.
* generic/tclLiteral.c (TclReleaseLiteral): moved special code for
self-ref so that it is also used for non-shared literals. Possible
bug found by inspection.
|
|
|
|
| |
Hemang Lavana.
|
|
|
|
| |
stubs table, for compiler experimentation.
|
| |
|
|
|
|
|
| |
* doc/exec.n, tests/exec.test: that adds 2>@1 as a
special case redirection of stderr to the result output.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
to calculation of a negative index value, thus accesses outside the
threadStorageCache array, thus memory corruption. Crash observed on
Mac OS X platform.
|
| |
|
| |
|
|
|
|
|
|
| |
Windows caused by missing TCL_THREAD_CREATE_RETURN.
* tests/stack.test (stack-3.1): Corrected nuisance error in
threaded builds.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* generic/tclInt.h: Updated TclpFindExecutable() so that failed
* generic/tclUtil.c: attempts to find the executable are saved
* unix/tclUnixFile.c: just as successful finds are. [Patch 966053]
* unix/tclUnixTest.c:
|
|
|
|
| |
breaks the core completely. :^}
|
| |
|
| |
|
| |
|
| |
|
| |
|