summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
Commit message (Collapse)AuthorAgeFilesLines
* merge trunkdgp2014-05-081-8/+3
|\
| * Fix the panic in iogt-2.5.dgp2014-05-081-4/+2
| | | | | | | | | | | | | | Back in 2011, Bugs 3384654 and 3393276 first noticed troubles with ChannelBuffer sharing, but the magnitude of the problem wasn't truly grasped. A fix was applied that turned out to be more of a band-aid workaround. Now that the real fix is in place, the band-aid is actually preventing it working properly in thie case. Rip it off!
| * Revert the iogt-2.5 fix. For now one panic is better than widespreaddgp2014-05-081-4/+1
| | | | | | memory leaks.
* | merge trunkdgp2014-05-081-1/+12
|\ \ | |/
| * Merge 8.5.dgp2014-05-081-0/+5
| |\
| | * Stop leak in iocmd-21.22.dgp2014-05-081-0/+1
| | |
| | * Stop leak in io-53.5.dgp2014-05-071-0/+1
| | |
| | * Stop memory leak in io-29.34dgp2014-05-061-0/+2
| | |
| | * Stop memory leak in io-29.27.dgp2014-05-061-0/+1
| | |
| | * Backport "GotFlag" macro from Tcl 8.6. Makes code more readable. No change ↵jan.nijtmans2014-05-051-97/+89
| | | | | | | | | | | | in functionality.
| | * Backport channel self restacking support. (Test iogt-2.4).dgp2014-05-021-2/+59
| | |\
| * | | Symptom relief. Make test stop panicking.dgp2014-05-061-1/+4
| | | | | | | | | | | | | | | | This is not the proper final answer. ChannelBuffer management in FlushChannel is simply not robustly correct yet.
| * | | Add Panic call to better identify where iogt-2.5 goes wrong.dgp2014-05-061-0/+3
| | |/ | |/|
* | | merge trunkdgp2014-05-021-14/+42
|\ \ \ | |/ /
| * | Add some comments about possible other self-restacking troubles.dgp2014-05-021-1/+8
| | |
| * | Fully restore topChan resetting to accommodate self-restacking channels.dgp2014-05-021-17/+26
| | |
| * | Re-enable buffer recycling.dgp2014-05-021-1/+1
| | |
| * | Stop the segfault in iogt-2.4. First by changing the UpdateInterest()dgp2014-05-011-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 trunkdgp2014-05-011-8/+27
| |\ \
| * \ \ merge trunkdgp2014-04-291-2/+4
| |\ \ \
| * | | | Disable buffer recycling, which creates mysteries.dgp2014-04-251-1/+1
| | | | |
| * | | | Test iortrans-4.8.2 demos an infinite loop. Possible trouble withdgp2014-04-251-0/+5
| | | | | | | | | | | | | | | pushback buffers.
* | | | | merge trunkdgp2014-05-011-10/+31
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge in the fixes for improper ChannelBuffer sharing via recycling.dgp2014-05-011-8/+27
| |\ \ \ \ | | |_|/ / | |/| | / | | | |/ | | |/|
| | * | Stop the segfaults in [close] during [gets] tests.dgp2014-04-301-9/+14
| | | | | | | | | | | | Not sure this is the right behavior, but it's better than crashing.
| | * | Panic message to pinpoint the cause of iocmd-21.23 segfault.dgp2014-04-301-0/+3
| | | |
| | * | Make sure no shared ChannelBuffers get recycled.dgp2014-04-291-0/+11
| | | |
| * | | Fix bug exposed when buffer recycling is disabled.dgp2014-04-291-2/+4
| |\ \ \ | | |/ / | | | / | | |/ | |/|
| | * Fix bug exposed when buffer recycling is disabled.dgp2014-04-291-2/+4
| | |\
| | | * Revise the logic for setting TCL_ENCODING_END in the outputEncodingFlagsdgp_no_buffer_recycledgp2014-04-291-2/+4
| | | | | | | | | | | | so it does not rely on buffer recycling.
| | | * Disable buffer recycling to expose bugs for fixing.dgp2014-04-251-1/+1
| | |/
* | | merge trunkdgp2014-04-211-8/+42
|\ \ \ | |/ /
| * | Merge refcounting machinery for ChannelBuffer.dgp2014-04-211-8/+42
| |\ \ | | |/
| | * Added a refcounting mechanism to ChannelBuffers. Other edits todgp2014-04-211-8/+42
| | | | | | | | | stop segfaults in tests iocmd-21.2[12].
* | | merge trunkdgp2014-04-161-11/+40
|\ \ \ | |/ /
| * | Fix for Bug [97069ea11a]: Set return message in close if a flush error is ↵oehhar2014-04-041-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 ↵oehhar2014-04-011-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 ↵oehhar2014-04-011-2/+13
| | | | | | | | | | | | error from a background flush). Ticket [97069ea11a]
| * | Merge minimal fix for iocmd-23.11.dgp2014-03-281-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.dgp2014-03-271-3/+20
| | |
* | | Merge the checkins of the dgp-read-bytes branch onto the trunk, up todgp2014-03-231-809/+549
|\ \ \ | |/ / |/| | | | | | | | | | | 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.
| * | Don't allow buffer recycling to prevent or delay buffersize shrinkage.dgp2014-03-201-40/+28
| | |
| * | Stop routine clearing of CHANNEL_EOF. Only clear when there's a reasondgp2014-03-201-18/+6
| | | | | | | | | (seek, eofchar change, ungets). Otherwise, once you hit EOF you stay there.
| * | Use assertions about the pushback buffers to simplify their handling.dgp2014-03-201-23/+37
| | | | | | | | | Mark several things left TODO. Some tidying.
| * | Let TranslateInputEOL handle the "\r$eofChar" sequence in CRLF mode.dgp2014-03-191-27/+17
| | |
| * | Complete rewrite of DoRead().dgp2014-03-191-156/+132
| | |
| * | Remove long dead "BAD_BLOCKING" support code so it no longer confusesdgp2014-03-171-123/+10
| | | | | | | | | people reading/editing this code.
| * | Compress code for better single screen viewing.dgp2014-03-111-47/+8
| | |
| * | Trial rewrite of AUTO input translation.dgp2014-03-111-0/+35
| | |
| * | .... and then the bug fix.dgp2014-03-101-1/+1
| | |