Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge 8.5bug_io_32_11 | dgp | 2014-05-16 | 1 | -1/+0 |
|\ | |||||
| * | Merge the reforms of dgp-read-bytes branch into 8.5+ releases. | dgp | 2014-05-08 | 1 | -826/+557 |
| |\ | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | \ | Merge completion of dgp-read-bytes branch. | dgp | 2014-05-16 | 1 | -912/+544 |
|\ \ \ | | |/ | |/| | |||||
| * | | Merge 8.5.dgp_read_bytes | dgp | 2014-05-08 | 1 | -0/+5 |
| |\ \ | | |/ | |||||
| | * | Stop leak in iocmd-21.22. | dgp | 2014-05-08 | 1 | -0/+1 |
| | | | |||||
| | * | Stop leak in io-53.5. | dgp | 2014-05-07 | 1 | -0/+1 |
| | | | |||||
| | * | Stop memory leak in io-29.34 | dgp | 2014-05-06 | 1 | -0/+2 |
| | | | |||||
| | * | Stop memory leak in io-29.27. | dgp | 2014-05-06 | 1 | -0/+1 |
| | | | |||||
| * | | Merge GotFlag() backport from 8.5. Conflicts galore! | dgp | 2014-05-05 | 1 | -90/+82 |
| |\ \ | | |/ | |||||
| | * | Backport "GotFlag" macro from Tcl 8.6. Makes code more readable. No change ↵ | jan.nijtmans | 2014-05-05 | 1 | -97/+89 |
| | | | | | | | | | | | | in functionality. | ||||
| * | | merge 8.5 | dgp | 2014-05-02 | 1 | -2/+59 |
| |\ \ | | |/ | |||||
| | * | Backport channel self restacking support. (Test iogt-2.4). | dgp | 2014-05-02 | 1 | -2/+59 |
| | |\ | |||||
| | | * | Add some comments about possible other self-restacking troubles. | dgp | 2014-05-02 | 1 | -1/+8 |
| | | | | |||||
| | | * | Fully restore topChan resetting to accommodate self-restacking channels. | dgp | 2014-05-02 | 1 | -17/+26 |
| | | | | |||||
| | | * | Re-enable buffer recycling. | dgp | 2014-05-02 | 1 | -1/+1 |
| | | | | |||||
| | | * | Stop the segfault in iogt-2.4. First by changing the UpdateInterest() | dgp | 2014-05-01 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | call that triggers it. "downChanPtr" may no longer be the right argument at that point. Second, after ending the segfault, the test became an infinite loop (nested unstacking?! whoa.), so revised the test to one that terminates (and passes). Left behind a comment that the recursive unstacking case may require more examination. | ||||
| | | * | merge trunk | dgp | 2014-05-01 | 1 | -8/+27 |
| | | |\ | |||||
| | | | * | Merge in the fixes for improper ChannelBuffer sharing via recycling. | dgp | 2014-05-01 | 1 | -8/+27 |
| | | | |\ | | | |_|/ | | |/| | | |||||
| | | * | | merge trunk | dgp | 2014-04-29 | 1 | -2/+4 |
| | | |\ \ | | | | |/ | |||||
| | | | * | Fix bug exposed when buffer recycling is disabled. | dgp | 2014-04-29 | 1 | -2/+4 |
| | | | |\ | |||||
| | | * | | | 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 |
| | | |\ \ | |||||
| | | * \ \ | 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) | ||||
| | | * \ \ \ | 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. | ||||
| | | * \ \ \ \ | Simplify the core output operations of channels. Reduce duplicative and dead ↵ | dgp | 2014-02-04 | 1 | -590/+63 |
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | code. | ||||
| | | * \ \ \ \ \ | Eliminate the use of a staging buffer in WriteChars(). | dgp | 2014-01-30 | 1 | -185/+115 |
| | | |\ \ \ \ \ \ | |||||
| | | * \ \ \ \ \ \ | 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. | ||||
| | | * \ \ \ \ \ \ \ | Remove from tclIO.h structs used only in tclIO.c. | dgp | 2013-02-26 | 1 | -0/+102 |
| | | |\ \ \ \ \ \ \ \ | |||||
| | | * \ \ \ \ \ \ \ \ | Repair linked list management in Tcl_DeleteCloseHandler(). | dgp | 2013-02-25 | 1 | -0/+14 |
| | | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | CloseCallback struct used only locally. Remove from tclIO.h. | ||||
| | | * \ \ \ \ \ \ \ \ \ | merge core-8-5-branch | jan.nijtmans | 2013-01-31 | 1 | -2/+2 |
| | | |\ \ \ \ \ \ \ \ \ \ | |||||
| | | * | | | | | | | | | | | 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. | ||||
| | | * | | | | | | | | | | | | [Bug 3545365]: Never try a bg-flush on a dead channel, just like before ↵ | ferrieux | 2012-07-23 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2011-08-17. | ||||
| | | * | | | | | | | | | | | | Factor out a number of common patterns of use of Tcl_DStringAppend. | dkf | 2012-07-03 | 1 | -5/+3 |
| | | | | | | | | | | | | | | | |||||
| | | * | | | | | | | | | | | | Factor out constant that must be the same in multiple places. Prompted by a | dkf | 2012-05-25 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | conversation with Alexandre Ferrieux. | ||||
| | | * | | | | | | | | | | | | * generic/tclIORChan.c [Bug 3522560]: Fixed the crash, enabled the | andreask | 2012-05-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| | | * | | | | | | | | | | | | Properly close nonblocking channels even when not flushing them. | ferrieux | 2012-05-07 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | |||||
| | | * | | | | | | | | | | | | IMPLEMENTATION OF TIP#398 : Quickly Exit with Non-Blocking Blocked Channels | ferrieux | 2012-04-28 | 1 | -7/+28 |
| | | |\ \ \ \ \ \ \ \ \ \ \ \ | |||||
| | | | * | | | | | | | | | | | | Compat flag, test, and doc update.tip_398_impl | ferrieux | 2012-04-28 | 1 | -3/+29 |
| | | | | | | | | | | | | | | | | |||||
| | | | * | | | | | | | | | | | | merge trunk | ferrieux | 2012-04-24 | 1 | -1/+1 |
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ | |||||
| | | | * | | | | | | | | | | | | | Take two. Don't forget to apply all patches, even when the phone rings in ↵ | ferrieux | 2012-03-22 | 1 | -5/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | between. | ||||
| | | | * | | | | | | | | | | | | | Implement tip 398 : Quickly Exit with Non-Blocking Blocked Channels. This is ↵ | ferrieux | 2012-03-22 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | simply a revert of the (C part of the) 1025712d5b commit of 2011-08-17. | ||||
| | | * | | | | | | | | | | | | | | get rid of _ANSI_ARGS_ and CONST | jan.nijtmans | 2012-04-26 | 1 | -1/+1 |
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | |_|/ / / / / / / / / / / / | | | |/| | | | | | | | | | | | | | |||||
| | | * | | | | | | | | | | | | | | make some more internal tables const | jan.nijtmans | 2012-04-23 | 1 | -1/+1 |
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | |/ / / / / / / / / / / / / | | | | | / / / / / / / / / / / / | | | | |/ / / / / / / / / / / / | | | |/| | | | | | | | | | | | | |||||
| | | * | | | | | | | | | | | | | [Bug 3412487]: Now short reads are allowed in synchronous fcopy, avoid ↵ | ferrieux | 2011-09-21 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mistaking them as nonblocking ones. | ||||
| | | * | | | | | | | | | | | | | 3394654, 3393276 Revise FlushChannel() to account for the possibility | dgp | 2011-08-19 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that the ChanWrite() call might recycle the buffer out from under us. | ||||
| | | * | | | | | | | | | | | | | Preserve the chanPtr during FlushChannel so that channel drivers | dgp | 2011-08-19 | 1 | -4/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | don't yank it away before we're done with it. |