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: |
10bfc475b0883f78e2cdc2cc622b9254 |
| 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
Modified ChangeLog
from [71bc0fe12e]
to [07a67b359a].
[diff]
Modified generic/tcl.decls
from [2e188ff699]
to [e069b46752].
[diff]
Modified generic/tclDecls.h
from [69d38eeb1d]
to [d32890e0f9].
[diff]
Modified generic/tclIO.c
from [cfcbf18df6]
to [8e61754ed9].
[diff]
Modified generic/tclIO.h
from [46de3b3507]
to [7e3dd0047f].
[diff]
Modified generic/tclStubInit.c
from [22b171c184]
to [0df1da641b].
[diff]
Modified tests/all.tcl
from [a235af7b1a]
to [b2cc0915b0].
[diff]
Modified tests/iogt.test
from [f99199ce4a]
to [4d2804631e].
[diff]