Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | | | | | | | | | | | | | Callers of TranslateInputEOL are expected to manage the INPUT_NEED_NL flag. | dgp | 2014-02-18 | 1 | -0/+14 | |
| | | | | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | | | | Another coverage test that reveals refactoring error. | dgp | 2014-02-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | | | | coverage test for -translation cr | dgp | 2014-02-18 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | | | | Refactor correction exposed by coverage test. | dgp | 2014-02-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | | | | Coverage test for -translation auto handling of INPUT_SAW_CR flag. | dgp | 2014-02-18 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Demonstrates refactor failure. | |||||
| | * | | | | | | | | | | | | | Refactor so that CopyAndTranslateBuffer() calls on TranslateInputEOL() | dgp | 2014-02-11 | 1 | -2/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of duplicating so much of its function. Note the testing gaps. | |||||
| | * | | | | | | | | | | | | | Revised ReadChars to restore an attempt to make sure we do not short readdgp_may_be_pointless | dgp | 2014-02-06 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | because of a false notion of limited storage space. The test suite does not appear to demonstrate any case where this matters. Could be an incomplete test suite, or an example of pointless code. | |||||
| | * | | | | | | | | | | | | | merge 8.5 | dgp | 2014-02-06 | 1 | -764/+170 | |
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / / / | ||||||
| | * | | | | | | | | | | | | | Revise the Tcl_Append* machinery to tolerate NULL bytes to append. | dgp | 2014-01-27 | 1 | -52/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Then have ReadChars() use that machinery to resize buffer receiving input, rather than invent its own version. Simplify ReadChars() callers. | |||||
| | * | | | | | | | | | | | | | merge 8.5 | dgp | 2014-01-24 | 1 | -10/+12 | |
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| | * | | | | | | | | | | | | | | There is no need for ReadBytes() or its caller(s) to track how many bytes | dgp | 2014-01-21 | 1 | -29/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | are actually stored in objPtr. The ByteArray Tcl_ObjType already has the machinery to take care of this. | |||||
| | * | | | | | | | | | | | | | | Backport of bytearray append machinery to support bug fixes in ReadBytes. | dgp | 2014-01-21 | 1 | -13/+4 | |
| | | | | | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | | | | | Fix the panic in iogt-2.5. | dgp | 2014-05-08 | 1 | -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 widespread | dgp | 2014-05-08 | 1 | -4/+1 | |
| |_|_|_|_|_|_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | memory leaks. | |||||
* | | | | | | | | | | | | | | | Merge 8.5. | 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 | |
| | |_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | | | Backport "GotFlag" macro from Tcl 8.6. Makes code more readable. No change ↵ | jan.nijtmans | 2014-05-05 | 1 | -97/+89 | |
| | |_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in functionality. | |||||
| * | | | | | | | | | | | | Backport channel self restacking support. (Test iogt-2.4). | dgp | 2014-05-02 | 1 | -2/+59 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|/ / / / | | |/| | | | | | | | | / | | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | ||||||
* | | | | | | | | | | | | Symptom relief. Make test stop panicking. | dgp | 2014-05-06 | 1 | -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. | dgp | 2014-05-06 | 1 | -0/+3 | |
| |/ / / / / / / / / / |/| | | | | | | | | | | ||||||
* | | | | | | | | | | | 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 | |
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | ||||||
| | * | | | | | | | | | Stop the segfaults in [close] during [gets] tests. | dgp | 2014-04-30 | 1 | -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. | dgp | 2014-04-30 | 1 | -0/+3 | |
| | | | | | | | | | | | ||||||
| | * | | | | | | | | | 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 | |
| | | | |