| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
a nonblocking channel is blocked.
|
|
|
|
|
|
|
| |
get it right on the next pass, don't forget the TCL_UTF_MAX padding
demanded by Tcl_ExternalToUtf(). (Thanks for finding that, aku!)
Fix the factorPtr management. It was just totaly wrong. The factor should
be a ratio of the record of bytes read to the record of chars read.
With those fixes, new test io-12.6 covers the "too many chars" code.
|
|
|
|
| |
the OS networking machinery gets backed up and blocks.
Added several TODO comments on potential simplifications.
|
| |
|
|\ |
|
| |\ |
|
| | | |
|
| |\ \ |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | |_|/
| |/| | |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
Refactored much management of the BLOCKED and EOF flags into ChanRead()
then began repairing some of the logic about them.
Tests iogt-2.* now fail because they've been crafted as experiments recording
the fine detail of reflected channel driver calls, and fixing the management
of channel flags is changing that.
|
| | | | |
|
| | |/
| |/|
| | | |
io-35.18b - knownBug is not buggy on this branch.
|
| | |
| | |
| | | |
take an unbearable 90 seconds each to complete.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
disabled by default, which means never tested, which means the ridiculous
bugs in them are never found and fixed.
Fixed the bugs, changed the default. Large File Suppport (4GB) is
commonplace now. Let those without it suffer a few failing tests reporting
that fact to them.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
Large overhaul of I/O read operations
- Protects integer overflow of buffers, reusing append machinery
- Forces -buffersize changes to take place when commanded
- Uses assertions to simplify code in "can't happen" situations
- Eliminated duplication of -translation processing
- Fixes bugs io-35.18b and io-35.20
|
| |\ \
| |/ /
|/| | |
|
| | | |
|
| |/ |
|
| | |
|
| |\ |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | | |
Demonstrates refactor failure.
|
| |/
|/| |
|
|/ |
|
| |
|
|\ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| | |
more harm than good. Purged them.
|
| |
| |
| | |
more harm than good. Purged them.
|
| |
| |
| |
| |
| |
| | |
* tests/io.test: which used the number of _written_ bytes or
character to update the counters for the read bytes/characters.
New test io-53.11. This is a backward port from the 8.5 branch.
|
| |
| |
| |
| | |
* tests/io.test: -singleproc 1 test suite run.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Alexandre Ferrieux <ferrieux@users.sourceforge.net> to fix the
[Bug 1965787]. 'tell' now works for locations > 2 GB as well
instead of going negative.
* generic/tclIO.c (Tcl_SetChannelBufferSize): Accepted a patch by
* tests/io.test: Alexandre Ferrieux <ferrieux@users.sourceforge.net>
to fix the [Bug 1969953]. Buffersize outside of the supported
range are now clipped to nearest boundary instead of ignored.
|
| |
| |
| |
| |
| |
| |
| | |
* io.test (io-53.8a): Ferrieux <ferrieux@users.sourceforge.net>,
to shift EOF handling to the async part of the command if a
callback is specified, should the channel be at EOF already when
fcopy is called. Testcase by myself.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
values, changed to not be an error, but behave like the special
value -1 (copy all, default).
* tests/iocmd.test (iocmd-15.{12,13}): Removed.
* tests/io.test (io-52.5{,a,b}): Reverted last change, added
comment regarding the meaning of -1, added two more testcases for
other negative values, and input wrapped to negative.
|
| |
| |
| |
| |
| |
| | |
seem to have any bearing, and was an illegal value. Test case is
not affected by the value of -size, test flag restoration and that
everything was properly copied.
|
| |
| |
| |
| | |
and quoting for spaces in builddir path.
|
| |
| |
| |
| |
| |
| |
| | |
* generic/tclIO.c: Additional changes to data structures for fcopy
* generic/tclIO.h: and channels to perform proper cleanup in case
of a channel having two background copy operations running as is
now possible.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
TclCopyChannel): New macro, and the places using it. This change
allows for bi-directional fcopy on channels. Thanks to Alexandre
Ferrieux <ferrieux@users.sourceforge.net> for the patch.
* tests/io.test (io-53.9): Made test cleanup robust against the
possibility of slow process shutdown on Windows. Backported from
Kevin Kenny's change to the same test on the 8.5 and head
branches.
|
| |
| |
| |
| |
| | |
on Alexandre's test script. Also fixed problem with timer in
preceding test, was not canceled properly in the ok case.
|
| |
| |
| |
| |
| |
| | |
* tests/io.test: prevent fcopy from calling -command synchronously
the first time. Thanks to Alexandre Ferrieux
<ferrieux@users.sourceforge.net> for report and patch.
|