Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revise the logic for setting TCL_ENCODING_END in the outputEncodingFlagsdgp_no_buffer_recycle | dgp | 2014-04-29 | 1 | -2/+4 |
| | | | so it does not rely on buffer recycling. | ||||
* | Disable buffer recycling to expose bugs for fixing. | dgp | 2014-04-25 | 1 | -1/+1 |
| | |||||
* | Added a refcounting mechanism to ChannelBuffers. Other edits to | dgp | 2014-04-21 | 1 | -8/+42 |
| | | | stop segfaults in tests iocmd-21.2[12]. | ||||
* | Fix test failure socket-2.9: "1 {not owner}" instead of "1 {couldn't open ↵ | oehhar | 2014-04-01 | 1 | -9/+8 |
| | | | | socket address already in use}" by only setting returned error message if not jet set. | ||||
* | Set return message in close if a flush error is reported (which may be an ↵ | oehhar | 2014-04-01 | 1 | -2/+13 |
| | | | | error from a background flush). Ticket [97069ea11a] | ||||
* | Minimal patch to fix iocmd-23.11. Might not be the best fix, but is *a* fix. | dgp | 2014-03-27 | 1 | -3/+20 |
| | |||||
* | Simplify macro typecasting. | dgp | 2014-01-31 | 1 | -6/+3 |
| | |||||
* | The "channel" Tcl_ObjType is caching only. It never needs an UpdateString ↵ | dgp | 2014-01-31 | 1 | -46/+6 |
| | | | | | routine. It's also static to the tclIO.c file. | ||||
* | Do not call updateStringProc directly. We have TclGetString() for that. | dgp | 2014-01-31 | 1 | -10/+1 |
| | |||||
* | Refactor to eliminate the DoWriteChars() layer. | dgp | 2014-01-30 | 1 | -64/+22 |
| | |||||
* | Eliminate DoWrite(). It duplicates WriteBytes(). | dgp | 2014-01-30 | 1 | -163/+2 |
| | |||||
* | Trial: Implement DoWrite() as WriteBytes(). | dgp | 2014-01-30 | 1 | -0/+4 |
| | |||||
* | Simplification and cleanup enabled by last commit. | dgp | 2014-01-30 | 1 | -301/+7 |
| | |||||
* | Refactor WriteChars() and WriteBytes() into simple wrappers of a common | dgp | 2014-01-30 | 1 | -13/+35 |
| | | | routine Write(). | ||||
* | The outputStage field is now unused, so never allocate it. | dgp | 2014-01-28 | 1 | -29/+0 |
| | |||||
* | tidy things up | dgp | 2014-01-28 | 1 | -194/+17 |
| | |||||
* | Working code with no staging buffer use. | dgp | 2014-01-28 | 1 | -31/+97 |
| | |||||
* | WIP | dgp | 2014-01-28 | 1 | -0/+69 |
| | |||||
* | Eliminate the copy to a staging buffer when that serves no functional purpose. | dgp | 2014-01-24 | 1 | -10/+12 |
| | |||||
* | Fix C99 comment-ism breaking the native AIX compiler. HPUX likely as well. | andreask | 2013-05-29 | 1 | -2/+2 |
| | |||||
* | Backport 8.6's fix [checkin 5af0d249de] to [Bug 2901998]: Inconsistent ↵ | ferrieux | 2013-05-01 | 1 | -8/+92 |
| | | | | buffered I/O. Tcl's I/O now flushes buffered output before reading, discards buffered input before writing, etc. | ||||
* | structs *ChannelHandler* GetsState CopyState used only locally. | dgp | 2013-02-26 | 1 | -0/+102 |
|\ | | | | | Remove from tclIO.h. | ||||
| * | structs ChannelHandler ChannelHandlerEvent GetsState CopyState used locally. | dgp | 2013-02-26 | 1 | -0/+78 |
| | | | | | | Remove from tclIO.h. | ||||
| * | struct NextChannelHandler used only locally. Remove from tclIO.h. | dgp | 2013-02-26 | 1 | -0/+24 |
| | | |||||
* | | Repair linked list management in Tcl_DeleteCloseHandler(). | dgp | 2013-02-25 | 1 | -0/+14 |
|\ \ | |/ | | | CloseCallback struct used only locally. Remove from tclIO.h. | ||||
| * | Repair linked list management in Tcl_DeleteCloseHandler(). | dgp | 2013-02-25 | 1 | -0/+14 |
| | | | | | | CloseCallback struct is used only locally. Remove from tclIO.h. | ||||
* | | Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly ↵ | jan.nijtmans | 2013-01-31 | 1 | -2/+2 |
| | | | | | | | | the same field, but it allows twoPtrValue.ptr2 to be used for other purposes. | ||||
* | | When checking for std channels being closed, compare the channel state, | dgp | 2012-10-03 | 1 | -5/+9 |
|\ \ | |/ | | | not the channel itself so that stacked channels do not cause trouble. | ||||
| * | When checking for std channels being closed, compare the channel state, | dgp | 2012-10-03 | 1 | -20/+24 |
| | | | | | | not the channel itself so that stacked channels do not cause trouble. | ||||
| * | Preserve the chanPtr so that script evaluation cannot invalidate it when | dgp | 2012-07-24 | 1 | -0/+2 |
| | | | | | | we plan to use it again. | ||||
* | | Preserve the chanPtr so that script evaluation cannot invalidate it when | dgp | 2012-07-24 | 1 | -0/+2 |
| | | | | | | we plan to use it again. | ||||
* | | make some more internal tables const | jan.nijtmans | 2012-04-23 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | make some more internal tables const | jan.nijtmans | 2012-04-23 | 1 | -1/+1 |
| | | | | | | On cygwin, install dll's in /usr/bin, not in /usr/lib | ||||
* | | Make sure SetFooFromAny routines react reasonably when passed a NULL interp. | dgp | 2011-04-21 | 1 | -0/+3 |
|\ \ | |/ | |||||
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-02 | 1 | -2/+0 |
|\ \ | |/ | | | more harm than good. Purged them. | ||||
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-01 | 1 | -2/+0 |
| | | | | | | more harm than good. Purged them. | ||||
| * | * generic/tclIO.c (CopyData): [Bug 2895565]. Dropped bogosity | andreas_kupries | 2009-11-12 | 1 | -5/+12 |
| | | | | | | | | | | | | * 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. | ||||
| * | * generic/tclIO.c (FlushChannel): Skip OutputProc for low-level | andreas_kupries | 2009-10-23 | 1 | -2/+6 |
| | | | | | | | | | | | | 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>. | ||||
| * | * generic/tclIO.c (TclFinalizeIOSubsystem): Revised latest commit to | dgp | 2008-12-01 | 1 | -3/+3 |
| | | | | | | | | something that doesn't crash the test suite. | ||||
| * | * generic/tclIO.c (TclFinalizeIOSubsystem): Applied backport of | andreas_kupries | 2008-11-25 | 1 | -2/+2 |
| | | | | | | | | | | | | Alexandre Ferrieux's patch for [Bug 2270477] to prevent infinite looping during finalization of channels not bound to interpreters. | ||||
| * | * generic/tclIO.c: Backport of fix for [Bug 2333466]. | andreas_kupries | 2008-11-23 | 1 | -2/+4 |
| | | |||||
| * | * win/tclWinChan.c (FileWideSeekProc): Accepted a patch by | andreas_kupries | 2008-05-23 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | * generic/tclIO.c (CopyData): Applied another patch by Alexandre | andreas_kupries | 2008-04-15 | 1 | -6/+9 |
| | | | | | | | | | | | | | | * 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. | ||||
| * | * tests/io.test (io-53.10): Testcase for bi-directionaly fcopy. | andreas_kupries | 2008-04-07 | 1 | -27/+39 |
| | | | | | | | | | | | | | | * 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 (BUSY_STATE, CheckChannelErrors, | andreas_kupries | 2008-04-07 | 1 | -4/+8 |
| | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | * generic/tclIO.c (CopyData): Applied patch [Bug 1932639] to | andreas_kupries | 2008-04-03 | 1 | -13/+23 |
| | | | | | | | | | | | | * tests/io.test: prevent fcopy from calling -command synchronously the first time. Thanks to Alexandre Ferrieux <ferrieux@users.sourceforge.net> for report and patch. | ||||
| * | * generic/tclIO.c (CopyData): Applied patch for the fcopy problem | andreas_kupries | 2008-04-02 | 1 | -2/+2 |
| | | | | | | | | | | | | | | [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. | ||||
| * | * generic/tclIO.c: Backport memleak fix in TclFinalizeIOSubsystem. | dgp | 2007-05-24 | 1 | -74/+79 |
| | | |||||
| * | * generic/tclIO.c (Tcl_StackChannel): Fixed [SF Tcl Bug 1564642], | andreas_kupries | 2006-09-25 | 1 | -2/+2 |
| | | | | | | | | | | aka coverity #51. Extended loop condition, added checking for NULL to prevent seg.fault. | ||||
| * | * generic/tclIO.c (Tcl_CreateChannel): allow Tcl std channel | hobbs | 2006-07-10 | 1 | -3/+8 |
| | | | | | | | | inheritance to be #defined out (default remains in). |