merge release
Stop leaking allocated space when objifying a zero-length DString. [Bug 3598150] spotted by afredd.
Change back to using an isDigit function. We simply don't need to make any
(formally non-portable) assumptions about what happens when an unsigned zero
is decremented, and the code isn't in a performance-critical area.
merge trunk
eliminate dependancy of compat/*.h on tcl.h
eliminate dependancy of compat/*.h on tcl.h
[Bug 3598580]: Tcl_ListObjReplace may release deleted elements too earl
[Bug 3598580]: Tcl_ListObjReplace may release deleted elements too early
[Bug 3598580]: Tcl_ListObjReplace may release deleted elements too early
merge trunk
restore old refcounts in TCL_ERROR case.
For Tcl9, do a real Tcl_DecrRefCount
restore refcounts as they were before the Tcl_ListObjReplace call, in the error situation.
In Tcl9, make this a true Tcl_DecrRefCount, which properly cleans objects with refCount 0
restore refcounts as they were before the Tcl_ListObjReplace call, in the error situation. 
In Tcl9, make this a true Tcl_DecrRefCount, which properly cleans objects with refCount 0
merge trunk
fix tm.tcl to include tcl8 locations, and fix corresponding test-cases
two more places where refCount was assumed to be a signed value. In Tcl9 that will probably be not true any more.
Working towards more efficient treatment of non-bytecoded ensemble subcommands.
Marked some string subcommands as obsolete, following discussion on tcl-core.
test Tcl_GetErrorLine() forwards/backwards compatibility in pkgb.so as well