| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
<p>Adapt Tcl_Tell and Tcl_Seek to use the new type
|
| |
| |
| |
| | |
the name.
|
|\ \
| |/
| | |
<p>Introduce TCL_SIZE_T type. Not complete yet.
|
|/
|
|
|
|
|
| |
useful for 64bit-sizes branch
<p>add TCL_NOSIZE as internal defined for -1, and use it in a lot of places
Ass this function argument should be size_t, not ssize_t (still to be TIPped), something like this will be needed anyway.
|
| |
|
| |
|
|\
| |
| | |
we plan to use it again.
|
| |
| |
| | |
we plan to use it again.
|
| |
| |
| |
| | |
2011-08-17.
|
| | |
|
| |
| |
| | |
conversation with Alexandre Ferrieux.
|
| |
| |
| |
| |
| |
| |
| | |
test case. Modified [chan postevent] to properly inject the
event(s) into the owner thread's event queue for execution in the
correct context. Renamed the ForwardOpTo...Thread() function to
match with our terminology.
|
| | |
|
|\ \ |
|
| | | |
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | | |
between.
|
| | | |
| | | |
| | | |
| | | | |
simply a revert of the (C part of the) 1025712d5b commit of 2011-08-17.
|
|\ \ \ \
| |_|/ /
|/| | /
| | |/
| |/| |
|
|\ \ \
| |/ /
| | /
| |/
|/| |
|
| |\ |
|
| | |
| | |
| | | |
On cygwin, install dll's in /usr/bin, not in /usr/lib
|
| | |
| | |
| | |
| | | |
mistaking them as nonblocking ones.
|
| | |
| | |
| | | |
that the ChanWrite() call might recycle the buffer out from under us.
|
| | |
| | |
| | | |
don't yank it away before we're done with it.
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | |
| | |
| | | |
rest of Tcl source code. No ABI change. API change *should* be harmless.
|
| | |
| | |
| | | |
the Engineering Manual.
|
|\ \ \
| |/ /
| | | |
cause more harm than good. Purged them (except in zlib files).
|
| |\ \
| | |/
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | | |
0-length writes. When closing pipes which have already been closed
not skipping leads to spurious SIG_PIPE signals. Reported by
Mikhail Teterin <mi+thun@aldan.algebra.com>.
|
| | |
| | |
| | |
| | | |
something that doesn't crash the test suite.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Alexandre Ferrieux's patch for [Bug 2270477] to prevent infinite
looping during finalization of channels not bound to
interpreters.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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.
|
| | |
| | |
| | |
| | |
| | |
| | | |
* tests/io.test: prevent fcopy from calling -command synchronously
the first time. Thanks to Alexandre Ferrieux
<ferrieux@users.sourceforge.net> for report and patch.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
[Bug 780533], with many thanks to Alexandre Ferrieux
<ferrieux@users.sourceforge.net> for tracking it down and
providing a solution. Still have to convert his test script into
a proper test case.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
aka coverity #51. Extended loop condition, added checking for
NULL to prevent seg.fault.
|
| | |
| | |
| | |
| | | |
inheritance to be #defined out (default remains in).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
commentary to a piece of code which relies on BUFFER_PADDING to
create enough space at the beginning of each buffer forthe
insertion of partial multi-byte data at the beginning of a
buffer. To explain why this code is ok, and as precaution if
someone twiddled the BUFFER_PADDING into uselessness.
* generic/tclIO.c (ReadChars): [SF Tcl Bug 1462248]. Added code
temporarily suppress the use of TCL_ENCODING_END set when eof
was reached while the buffer we are converting is not truly the
last buffer in the queue. together with the Utf bug below it was
possible to completely bollox the buffer data structures,
eventually crashing Tcl.
* generic/tclEncoding.c (UtfToUtfProc): Fixed problem where the
function accessed memory beyond the end of the input
buffer. When TCL_ENCODING_END is set and the last bytes of the
buffer start a multi-byte sequence. This bug contributed to [SF
Tcl Bug 1462248].
|