Skip to content
Tcl Source Code Check-in [10bfc475b0]
Login

Check-in [10bfc475b0]

Overview
Comment:2000-07-25 Andreas Kupries <[email protected]> * tests/iogt.test: (line 866f) New tests iogt-6.[01], highlighting buffering trouble when stacking and unstacking transformations. iogt-6.0 is solved, see the changes below. iogt-6.1 remains, for now, due to the perceived complexity of solutions. * generic/tclIO.h: (line 139f) struct Channel, added a buffer queue, to hold data pushed back when stacking a transformation. * generic/tclIO.c: (line 91f, line 7434f) New internal function 'CopyBuffer'. Derived from 'CopyAndTranslateBuffer', with translation removed. (line 1025f, line 1212f): Initialization of new queue. (line 1164f, Tcl_StackChannel): Pushback of input queue. (line 1293f, Tcl_UnstackChannel): Discard input and pushback. (line 3748f, Tcl_ReadRaw): Modified to use data in the push back area before going to the driver. Uses 'CopyBuffer', s.a. (line 4702f, GetInput): Modified to use data in the push back area before going to the driver. (line 4867f, Tcl_Seek): Modified to take pushback of the topmost channel in a stack into account. (line 5620f, Tcl_InputBuffered): See above. Added 'Tcl_ChannelBuffered'. Analogue to 'Tcl_InputBuffered' but for the buffer area in the channel. * generic/tcl.decls: New public API 'Tcl_ChannelBuffered'. S.a.
Timelines: family | ancestors | descendants | both | core-8-3-1-io-rewrite
Files: files | file ages | folders
SHA1: 10bfc475b0883f78e2cdc2cc622b9254228142b9
User & Date: kupries on 2000-07-25 16:54:46.000
Other Links: branch diff | manifest | tags
Context
2000-07-26
04:56
Changed Unix to install all headers because they are used by packages like Itcl and Expect, and its ... check-in: fa892d814d user: welch tags: core-8-3-1-io-rewrite
2000-07-25
16:54
2000-07-25 Andreas Kupries <[email protected]> * tests/iogt.test: (line 866f) New tests iogt-6... check-in: 10bfc475b0 user: kupries tags: core-8-3-1-io-rewrite
2000-07-21
05:08
* tests/socket.test: removed doTestsWithRemoteServer constraint from socket-12.*. It requires 'ex... check-in: c8e261fa56 user: hobbs tags: core-8-3-1-io-rewrite
Changes