Manifest of check-in
[2f00b8921d]
- * tests/iogt.test: made tests [345].0 not run by default as they
were failing in the new design, but I'm not convinced that the
returned result isn't correct.
* generic/tclDecls.h:
* generic/tclStubInit.c:
* generic/tcl.decls: added Tcl_GetTopChannel C API that returns
the current top channel of a channel stack. Tcl_GetChannel was
changed earlier to return the bottommost channel of a stack
because that is the one that is guaranteed to stay around the
longest, and this was needed to compensate for certain
operations that want to look at the state of the main channel.
Most channel APIs already compensate for grabbing the top, so it
shouldn't be needed often.
* generic/tclIO.c (Tcl_StackChannel, Tcl_UnstackChannel): Added
flushing of buffers (Kupries), removed use of DownChannel macro,
added Tcl_GetTopChannel public API to get to the top channel of
the channel stack (necessary for TLS). Rewrote Tcl_NotifyChannel
for new channel design (Kupries). Did some code cleanup in the
transform code. tclIO.c must still be broken into bits (separate
out test code and giot code, create tclIO.h).
by
hobbs on
2000-07-12 01:41:19.
B b684e61b815e3b37c40dced9b19ef8838e7336f0
C \t*\stests/iogt.test:\smade\stests\s[345].0\snot\srun\sby\sdefault\sas\sthey\n\twere\sfailing\sin\sthe\snew\sdesign,\sbut\sI'm\snot\sconvinced\sthat\sthe\n\treturned\sresult\sisn't\scorrect.\n\n\t*\sgeneric/tclDecls.h:\n\t*\sgeneric/tclStubInit.c:\n\t*\sgeneric/tcl.decls:\sadded\sTcl_GetTopChannel\sC\sAPI\sthat\sreturns\n\tthe\scurrent\stop\schannel\sof\sa\schannel\sstack.\s\sTcl_GetChannel\swas\n\tchanged\searlier\sto\sreturn\sthe\sbottommost\schannel\sof\sa\sstack\n\tbecause\sthat\sis\sthe\sone\sthat\sis\sguaranteed\sto\sstay\saround\sthe\n\tlongest,\sand\sthis\swas\sneeded\sto\scompensate\sfor\scertain\n\toperations\sthat\swant\sto\slook\sat\sthe\sstate\sof\sthe\smain\schannel.\n\tMost\schannel\sAPIs\salready\scompensate\sfor\sgrabbing\sthe\stop,\sso\sit\n\tshouldn't\sbe\sneeded\soften.\n\n\t*\sgeneric/tclIO.c\s(Tcl_StackChannel,\sTcl_UnstackChannel):\sAdded\n\tflushing\sof\sbuffers\s(Kupries),\sremoved\suse\sof\sDownChannel\smacro,\n\tadded\sTcl_GetTopChannel\spublic\sAPI\sto\sget\sto\sthe\stop\schannel\sof\n\tthe\schannel\sstack\s(necessary\sfor\sTLS).\s\sRewrote\sTcl_NotifyChannel\n\tfor\snew\schannel\sdesign\s(Kupries).\s\sDid\ssome\scode\scleanup\sin\sthe\n\ttransform\scode.\s\stclIO.c\smust\sstill\sbe\sbroken\sinto\sbits\s(separate\n\tout\stest\scode\sand\sgiot\scode,\screate\stclIO.h).\n
D 2000-07-12T01:41:19
F ChangeLog a49d2c64d5c08cb1b22f1f1954ad28be198c7d04
F generic/tcl.decls 2e188ff699c5ce6f99b85f7fd1ca7e7a80be25d2
F generic/tclDecls.h 69d38eeb1d1318fcefa8b93185d00d0f4ae4aced
F generic/tclIO.c b7b7ac2a1c050ad80b256ef382d2b565976c9492
F generic/tclStubInit.c ddb31091c9ba949823a7d22e18930f7fd382dc08
F tests/iogt.test 5dd93c0b1af7c5ecd6aa4544de0c9e27c33dfece
P ddc1b09ee799fe9184379b74537c4a11d2716fa7
U hobbs
Z 17439699fa8176ed9f7d30d83d9639d3