Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | | | | | | | | | Make sure no shared ChannelBuffers get recycled. | dgp | 2014-04-29 | 1 | -0/+11 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | merge trunk | dgp | 2014-04-29 | 1 | -2/+4 | |
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / | ||||||
| * | | | | | | | | | | Fix bug exposed when buffer recycling is disabled. | dgp | 2014-04-29 | 1 | -2/+4 | |
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | | | | | | | | / / / | | |_|_|_|_|_|/ / / | |/| | | | | | | | | ||||||
| | * | | | | | | | | Fix bug exposed when buffer recycling is disabled. | dgp | 2014-04-29 | 1 | -2/+4 | |
| | |\ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|/ | | |/| | | | | | | | ||||||
| | | * | | | | | | | 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 | |
| | |/ / / / / / / | ||||||
* | | | | | | | | | Disable buffer recycling, which creates mysteries. | dgp | 2014-04-25 | 1 | -1/+1 | |
| | | | | | | | | | ||||||
* | | | | | | | | | Test iortrans-4.8.2 demos an infinite loop. Possible trouble with | dgp | 2014-04-25 | 1 | -0/+5 | |
|/ / / / / / / / | | | | | | | | | | | | | | | | | pushback buffers. | |||||
* | | | | | | | | Merge refcounting machinery for ChannelBuffer. | dgp | 2014-04-21 | 1 | -8/+42 | |
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | / / | |_|_|_|_|/ / |/| | | | | | | ||||||
| * | | | | | | 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 for Bug [97069ea11a]: Set return message in close if a flush error is ↵ | oehhar | 2014-04-04 | 1 | -1/+11 | |
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | reported (which may be an error from a background flush) | |||||
| * | | | | | 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] | |||||
* | | | | | | Merge minimal fix for iocmd-23.11. | dgp | 2014-03-28 | 1 | -10/+28 | |
|\ \ \ \ \ \ | |/ / / / / | | / / / / | |/ / / / |/| | | | | Note that top channel regeneration is removed, so that Preserve/Release call pairs are sure to operate on the same pointers. Other bug fixes may need to change that. | |||||
| * | | | | 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 the core output operations of channels. Reduce duplicative and dead ↵ | dgp | 2014-02-04 | 1 | -590/+63 | |
|\ \ \ \ | |/ / / | | | | | | | | | code. | |||||
| * | | | 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(). | |||||
* | | | | Eliminate the use of a staging buffer in WriteChars(). | dgp | 2014-01-30 | 1 | -185/+115 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | 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 | |
| | |/ | |/| | ||||||
* | | | In WriteChars(), eliminate the copy step through a staging buffer when it | dgp | 2014-01-24 | 1 | -10/+12 | |
|\ \ \ | |/ / | | | | is not required for channel translation. | |||||
| * | | 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. | |||||
* | | Remove from tclIO.h structs used only in tclIO.c. | dgp | 2013-02-26 | 1 | -0/+102 | |
|\ \ | |/ | ||||||
| * | 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 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. | |||||
* | | | merge core-8-5-branch | jan.nijtmans | 2013-01-31 | 1 | -2/+2 | |
|\ \ \ | |/ / | ||||||
| * | | 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. | |||||
* | | | Fix busyloop at exit under TCL_FINALIZE_ON_EXIT when there are unflushed ↵ | ferrieux | 2012-12-08 | 1 | -1/+1 | |
| | | | | | | | | | | | | nonblocking channels. Thanks Miguel for spotting. | |||||
* | | | Fix for core bug yet to be named/numbered.dgp_stackedstdchan | dgp | 2012-10-02 | 1 | -3/+9 | |
| | | | ||||||
* | | | Final part of result generation conversion (modulo any minor blunders) | dkf | 2012-08-05 | 1 | -58/+67 | |
| | | | ||||||
* | | | 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. |