Use (preferred) Tcl_ObjSetVar2 in stead of Tcl_SetVar in tclAppInit.c, both UNIX and Win.
Add test-case for Bug #2438181 (which passes in Tcl 8.4 but fails in 8.5/8.6).
Provided by Poor Yorick
Fix bug #2438181: Incorrect error reporting in traces. 
Test-case and fix provided by Poor Yorick.
revert mangling with "code" variable. This caused unrelated var.test failures.
Fix bug #2438181: Incorrect error reporting in traces. 
Test-case and fix provided by Poor Yorick.
Bug 3605401: Compiler error with latest mingw-w64 headers
[Bug 3605401]: Compiler error with latest mingw-w64 headers.
[Bug 3605401]: Compiler error with latest mingw-w64 headers.
36054447 Convert [namespace export -clear] interface to something less stupid.
Test suite does not demand the stupidity continue, thank goodness.
refinement
The flag TCL_LEAVE_ERR_MSG has no effect on the routine
TclGetNamespaceForQualName() so for goodness sake stop making any
special efforts to add it in when making calls.
added test
3605447 Make sure the -clear option to [namespace export] always clears,
whether or not new export patterns are specified.
3605447 Make sure the -clear option to [namespace export] always clears,
whether or not new export patterns are specified.
3605447 Make sure the -clear option to [namespace export] always clears,
whether or not new export patterns are specified.
Protect against multiple uses of a CompileEnv with only one initialization.
Make TclFreeCompileEnv smarter about cleanup so all callers do not have to be.
Revise TclSetByteCodeFromAny() so that when hookProc raises an error, bytecode
is not generated.  This was rumored to cause crashes.
Shift more burden of smart cleanup onto the TclFreeCompileEnv() routine.
Stop crashes when the hookProc raises an error.
Use iPtr field instead of source field to mark a CompileEnv as uninitialized.
envPtr->source == NULL can actually be valid (at least when merging forward).
Shift more burden of smart cleanup onto the TclFreeCompileEnv() routine.
Stop crashes when the hookProc raises an error.
Restore the ReleaseCmdWordData cleanup routine from 8.4, to plug very
rare memory leak.