Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Repair revised tests that failed. | dgp | 2017-04-17 | 1 | -1/+1 |
| | |||||
* | Don't use "0%o" format in test-cases, as it suggest's it's the normal way to ↵ | jan.nijtmans | 2017-04-14 | 1 | -2/+2 |
| | | | | | format octal numbers: it isn't. Better use "%#o". Add tests for "format" and "scan" corner-cases which weren't documented (except in TIP's) neither had tests before. | ||||
* | [104f2885bb] Rework the "chan" Tcl_ObjType to properly validate cached ↵ | dgp | 2016-07-18 | 1 | -0/+19 |
|\ | | | | | | | channel name lookups. | ||||
| * | [104f2885bb] Rework the "chan" Tcl_ObjType to properly validate cached | dgp | 2016-07-18 | 1 | -0/+19 |
| | | | | | | channel name lookups. | ||||
| * | Backout of failed attempt to fix [32ae34e63a] got checked into wrong branch. | dgp | 2015-10-23 | 1 | -186/+0 |
| | | |||||
* | | [77d58e3a7a] Test case independence: io, load, msgcat, namespace, safe. | dkf | 2016-07-16 | 1 | -2/+14 |
| | | |||||
* | | Backout failed attempt to fix [32ae34e63a]. | dgp | 2015-09-25 | 1 | -185/+0 |
|\ \ | |/ | |||||
* | | [32ae34e63a] Prevent segfaults and data corruption when CopyData() is called ↵ | dgp | 2015-09-23 | 1 | -0/+185 |
|\ \ | |/ | | | | | | | recursively. Mark new test io-53.20 as "knownBug". It demos some unknown flaw in MoveBytes(). | ||||
| * | New test attempting to demo Bug [e0a7b3e5f8]. Doesn't work yet. | dgp | 2015-08-13 | 1 | -3/+65 |
| | | |||||
| * | A bit of code safety, and then a test demonstrating next issue. | dgp | 2015-08-13 | 1 | -1/+63 |
| | | |||||
| * | New test io-53.18 adapted from demo script in [32ae34e63a]. This test | dgp | 2015-08-12 | 1 | -0/+62 |
| | | | | | | | | | | | | | | segfaults without changes to source code. This checkin also contains a revised implementationf of [chan postevent] that stops calling Tcl_NotifyChannel() directly, and queues an event to do it instead. This stops the segfault, but causes tests iocmd-31.[67] to fail. Need advice on whether that matters. | ||||
* | | test portability | dgp | 2015-04-30 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Test portability. | dgp | 2015-04-30 | 1 | -1/+2 |
| | | |||||
* | | [894da183c8] Test and fix for regression in flushing blocked channels. | dgp | 2015-04-29 | 1 | -1/+32 |
|\ \ | |/ | |||||
| * | [894da183c8] Test and fix for regression in flushing blocked channels. | dgp | 2015-04-29 | 1 | -1/+32 |
| |\ | |||||
| | * | [894da183c8] Fix and test for bug at the point it was introduced.bug_894da183c8 | dgp | 2015-04-29 | 1 | -1/+32 |
| | | | |||||
* | | | [879a0747be] Repair handling of incomplete multi-byte chars at the ends of ↵ | dgp | 2015-04-24 | 1 | -0/+52 |
|\ \ \ | |/ / | | | | | | | input buffers. Also properly reset input encoding flags when cycling through a fleeting EOF condition. | ||||
| * | | [879a0747be] Repair handling of incomplete multi-byte chars at the ends | dgp | 2015-04-24 | 1 | -0/+52 |
| | | | | | | | | | | | | of input buffers. Also properly reset input encoding flags when cycling through a fleeting EOF condition. | ||||
* | | | Test for bug [08872796bc]. | dgp | 2015-01-29 | 1 | -0/+19 |
|\ \ \ | |/ / | |||||
| * | | Test for bug [08872796bc]. | dgp | 2015-01-29 | 1 | -0/+19 |
| | | | |||||
* | | | [7c187a3773] Fix error in managing inStatePtr->inQueueTail value in the | dgp | 2014-12-18 | 1 | -0/+38 |
| | | | | | | | | | byte-moving optimized path of [chan copy]. Thanks to Benno. | ||||
* | | | Same patch re-enabling read after EOF, but here applied to 8.6. | dgp | 2014-11-03 | 1 | -0/+20 |
|\ \ \ | |/ / | | | | Likely additional changes needed in the other channel transforms new in 8.6. | ||||
| * | | Base test for [5adc350683]. | dgp | 2014-10-29 | 1 | -0/+20 |
| | | | |||||
* | | | [10dc6daa37] New fix for [gets] on non-blocking channel. This time properly ↵ | dgp | 2014-10-18 | 1 | -0/+104 |
|\ \ \ | |/ / | | | | | | | accounts for the effects of ENCODING_LINESIZE. | ||||
| * | | [10dc6daa37] New fix for [gets] on non-blocking channel. This time | dgp | 2014-10-18 | 1 | -0/+104 |
| |\ \ | | | | | | | | | properly accounts for the effects of ENCODING_LINESIZE. | ||||
| | * | | [10dc6daa37] [gets] on a non-blocking channel must take care so that | dgp | 2014-10-17 | 1 | -0/+68 |
| |/ / | | | | | | | | | | | | | | | | | | | 1) At least one call to the channel driver input proc gets made. Failure to do this locks up the channel - catastrophic FAIL. 2) After any driver call reports BLOCKED, don't call again. This is less serious, but FAILs to respect the non-blocking setting. Code corrections and tests included, to restore 8.5.15 compat. | ||||
| * | | backport those tests that can be | dgp | 2014-10-10 | 1 | -0/+62 |
| | | | |||||
* | | | Another test so both DoRead and MBRead are covered. | dgp | 2014-10-10 | 1 | -0/+44 |
| | | | |||||
* | | | New test io-53.15 for [ed29c4da21]. | dgp | 2014-10-10 | 1 | -0/+44 |
|\ \ \ | |/ / | |||||
| * | | New test io-53.15 for [ed29c4da21]. | dgp | 2014-10-10 | 1 | -0/+45 |
| | | | |||||
* | | | [bc5b790099] Improper calculation of new dstLimit value. New test io-12.7. | dgp | 2014-10-02 | 1 | -0/+33 |
|\ \ \ | |/ / | |||||
| * | | [bc5b790099] Improper calculation of new dstLimit value. New test io-12.7. | dgp | 2014-10-02 | 1 | -0/+33 |
| | | | |||||
* | | | merge 8.5; fix notifier mask bug and Tcl_Read performance regression | dgp | 2014-08-22 | 1 | -1/+4 |
|\ \ \ | |/ / | |||||
| * | | Make test io-36.1.1 more portable. | dgp | 2014-08-20 | 1 | -1/+4 |
| | | | |||||
* | | | Test format of write error messages during binary [chan copy] | dgp | 2014-07-24 | 1 | -0/+30 |
| | | | |||||
* | | | Test read error during binary [chan copy]. | dgp | 2014-07-24 | 1 | -0/+30 |
| | | | |||||
* | | | Modify the "gettimes" test-command to use the Tcl_Obj API. | jan.nijtmans | 2014-07-16 | 1 | -5/+7 |
| | | | | | | | | | | | | New "testbytestring" command which can be used to replace the (to-be-deprecated) "bytestring" command from tcltest and/or the "indentity" encoding. Adapt many testcases to use the "testbytestring" command. | ||||
* | | | dup test name | dgp | 2014-07-10 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | dup test name | dgp | 2014-07-10 | 1 | -1/+1 |
| | | | |||||
* | | | [c31ca233ca] Fix TclGetsObjBinary() so that each [gets] rediscovers whether | dgp | 2014-07-02 | 1 | -0/+20 |
|\ \ \ | |/ / | | | | a nonblocking channel is blocked. | ||||
| * | | [c31ca233ca] Fix TclGetsObjBinary() so that each [gets] rediscovers whether | dgp | 2014-07-02 | 1 | -0/+20 |
| | | | | | | | | | a nonblocking channel is blocked. | ||||
* | | | When too many chars are read by ReadChars() and we trim the limits to get it ↵ | dgp | 2014-06-05 | 1 | -0/+33 |
|\ \ \ | |/ / | | | | | | | right on the next pass, don't forget the TCL_UTF_MAX padding demanded by Tcl_ExternalToUtf(). (Thanks for finding that, aku!) Fix the factorPtr management. It was just totaly wrong. The factor should be a ratio of the record of bytes read to the record of chars read. With those fixes, new test io-12.6 covers the "too many chars" code. | ||||
| * | | When too many chars are read by ReadChars() and we trim the limits to | dgp | 2014-06-05 | 1 | -0/+33 |
| | | | | | | | | | | | | | | | | | | | | | get it right on the next pass, don't forget the TCL_UTF_MAX padding demanded by Tcl_ExternalToUtf(). (Thanks for finding that, aku!) Fix the factorPtr management. It was just totaly wrong. The factor should be a ratio of the record of bytes read to the record of chars read. With those fixes, new test io-12.6 covers the "too many chars" code. | ||||
* | | | Correct the interest masks in the Tcl_CreateFileHandler() calls in ↵ | dgp | 2014-05-31 | 1 | -6/+0 |
|\ \ \ | | | | | | | | | | | | | PipeWatchProc(). When we are interested in both readable and writable events of a command pipeline channel, we only want the readable from the read end of the pipe, and the writable from the write end of the pipe. | ||||
| * | | | Correct the interest masks in the Tcl_CreateFileHandler() calls in | dgp | 2014-05-31 | 1 | -6/+0 |
| |/ / | | | | | | | | | | | | | PipeWatchProc(). When we are interested in both readable and writable events of a command pipeline channel, we only want the readable from the read end of the pipe, and the writable from the write end of the pipe. | ||||
* | | | Refinements of FlushChannel() and its callers. Notably includes removal of ↵ | dgp | 2014-05-29 | 1 | -7/+7 |
|\ \ \ | |/ / | | | | | | | the flag BUFFER_READY. | ||||
| * | | Increase size of test io-29.34 so that it more portably tests the case where | dgp | 2014-05-28 | 1 | -2/+2 |
| |/ | | | | | | | the OS networking machinery gets backed up and blocks. Added several TODO comments on potential simplifications. | ||||
| * | Comment out lines of test io-53.4 that appear to do nothing of any value. | dgp | 2014-05-24 | 1 | -5/+5 |
| | | |||||
| * | merge 8.5 | dgp | 2014-05-16 | 1 | -0/+79 |
| |\ | |||||
| * \ | merge 8.5 | dgp | 2014-05-14 | 1 | -0/+3 |
| |\ \ |