| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |\
| | |
| | |
| | | |
you doing ...!)
|
| | |
| | |
| | |
| | |
| | | |
complains about body.chars[] usage.
(Yes, I know, this one is for Tk, but Tcl was using the same construct too ....)
|
|\ \ \
| |/ / |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
is deprecated and will be removed in 9.0
Clean-up a lot of type-casts, which are not necessary any more.
|
| | |
| | |
| | |
| | | |
correctly on 64-bit platforms.
|
|/ / |
|
|/ |
|
|\
| |
| |
| | |
channel name lookups.
|
| |
| |
| | |
channel name lookups.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| | |
allocated. Some end-of-line spacing in header files.
|
| |
| |
| |
| | |
allocated
|
| |\
| |/
|/| |
|
| | |
|
|\ \
| |/
| |
| | |
the flag BUFFER_READY.
|
| |
| |
| | |
BUFFER_READY flag serves no necessary purpose, so it is removed.
|
| |\ |
|
|\ \ \ |
|
| |\ \ \
| | | |/
| | |/| |
|
| | | |
| | | |
| | | | |
stop segfaults in tests iocmd-21.2[12].
|
|\ \ \ \
| |/ / /
|/| | /
| | |/
| |/|
| | | |
and including checkin a1e82fb63e . Do not merge checkin bae1c688f2
which starts to take the dgp-read-bytes branch into directions apparently
unfriendly to stacked channels, which tests for [chan push] on the trunk
help us to detect.
|
| | |
| | |
| | | |
people reading/editing this code.
|
| |/ |
|
|\ \
| |/ |
|
| |\
| | |
| | | |
Remove from tclIO.h.
|
| | |
| | |
| | | |
Remove from tclIO.h.
|
| | | |
|
|\ \ \
| |/ /
| | | |
CloseCallback struct used only locally. Remove from tclIO.h.
|
| |\ \
| | |/
| | | |
CloseCallback struct used only locally. Remove from tclIO.h.
|
| | |
| | |
| | | |
CloseCallback struct is used only locally. Remove from tclIO.h.
|
| | |
| | |
| | | |
conversation with Alexandre Ferrieux.
|
|\ \ \
| |/ /
| | | |
cause more harm than good. Purged them (except in zlib files).
|
| |\ \
| | |/
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclIO.c (Tcl_UnregisterChannel): 'Tcl_Close' while the
* generic/tclIO.c (Tcl_Close): close callbacks are
run. Checked in 'Tcl_Close' and 'Tcl_Unregister' to prevent
recursive call of 'close' in the close-callbacks. This is a
possible error made by implementors of virtual filesystems based
on 'tclvfs', thinking that they have to close the channel in the
close handler for the filesystem.
* generic/tclIO.c:
* generic/tclIO.h:
* Not reverting, but #ifdef'ing the changes from May 19, 2004 out
of the core. This removes the ***POTENTIAL INCOMPATIBILITY***
for channel drivers it introduced. This has become possible due
to Expect gaining a BlockModeProc and now handling blockingg and
non-blocking modes correctly. Thus [SF Tcl Bug 943274] is still
fixed if a recent enough version of Expect is used.
* doc/CrtChannel.3: Added warning about usage of a channel without
a BlockModeProc.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* tclIO.h: [SF Tcl Bug 462317], see ChangeLog entry
2001-09-26. The fix done at that time is incomplete. It
is possible to get around it if the actual read
operation is defered and not executed in the event
handler itself. Instead of tracking if we are in an
read caused by a synthesized fileevent we now track if
the OS has delivered a true event = actual data and
bypass the driver if a read finds that there is no
actual data waiting. The flag is cleared by a short or
full read.
|
| | |
| | |
| | |
| | | |
by [fcopy] to exceed 2GB. Can happen when no -size parameter given.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* tests/chanio.test:
* 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.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
don't use CONST84/CONST86 in internal header files
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Rewrite the half-close to properly flush the channel, like is done
for a full close, going through FlushChannel, and using the flag
BG_FLUSH_SCHEDULED (async flush during close). New functions
CloseWrite, CloseChannelPart, new flag CHANNEL_CLOSEDWRITE.
* tests/chanio.test (chanio-28.[67]): Reactivated these
tests. Replaced tclsh -> [interpreter] to get correct executable
for the pipe process, and added after cancel to kill the fail
timers when we are done. Removed the explicits calls to [flush],
now that [close] handles this correctly.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* doc/CrtChannel.3: of Tcl_CreateChannel and Tcl_StackChannel
* generic/tcl.decls and the return value of Tcl_GetChannelType
* generic/tcl.h
* generic/tclIO.h
* generic/tclIO.c
* ChangeLog
* generic/tclDecls.h: regenerated
This change complies with TIP #27.
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
* tests/chanio.test:
* 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.
|
| | |
|