merge trunk
merge trunk
Proposed fix, by kakaroto, for Bug 2911139: http::geturl abuses vwait on async call
Bug 3601260: Reverting [8aca9a8e96] fixes it.
Proposed solution for Bug 3598300 on MacOSX
fix Bug 3598300 on MacOSX too
fix Bug 3598300 on MacOSX too
merge main 8.5 branch
Put back Tcl[GS]etStartupScript(Path|FileName) in private stub table, so extensions using this (like Tk 8.4) will continue to work in all Tcl 8.x versions. 
Extensions using this still cannot be compiled against Tcl 8.6 headers.
Fix test-case http-4.14
Bug [3601804]: platformCPUID segmentation fault on Darwin
Bug [3601804]: platformCPUID segmentation fault on Darwin
Bug [3601804]: platformCPUID segmentation fault on Darwin
Now really fix test-case http-4.14
Fix [2911139]: connect asynchronously, but without unnecessary internal waits.
Protect Tcl_GetIndexFromObjStruct from invalid "offset" values, like 0 or -1. Undocumented, because I don't want to promote people start using that.
Fix [2911139]: connect asynchronously, but without unnecessary internal waits.
Simplify STRING_AT macro.
Protect Tcl_GetIndexFromObjStruct from invalid "offset" values, like 0 or -1. Undocumented, because I don't want to promote people start using that.
Simplify STRING_AT macro.
Protect Tcl_GetIndexFromObjStruct from invalid "offset" values, like 0 or -1. Undocumented, because I don't want to promote people start using that.
merge core-8-5-branch