summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* [b9e1a3032e] Implement the documented method search order for TclOO.dkf2014-08-281-0/+87
| | | This corrects the relative positions of object-defined methods and class mixins.
* merge trunk; update changesrc3core_8_6_2core_8_6_2_rcdgp2014-08-252-7/+65
|\
| * TIP 429 implementation. New command [string cat].dgp2014-08-252-7/+65
| |\
| | * merge trunktip_429ferrieux2014-08-191-0/+17
| | |\
| | * | Don't use [pid] in tests, stick to constant literals.ferrieux2014-08-022-6/+6
| | | |
| | * | TIP 429 Implementation: [string cat]ferrieux2014-08-022-7/+65
| | | |
* | | | Bump to zlib 2.0.1.dgp2014-08-221-1/+1
|/ / /
* | | merge 8.5; fix notifier mask bug and Tcl_Read performance regressiondgp2014-08-221-1/+4
|\ \ \ | |_|/ |/| |
| * | Make test io-36.1.1 more portable.dgp2014-08-201-1/+4
| | |
* | | [7d52e1101b] oo::object should know that oo::class is a subclass.dkf2014-08-171-0/+17
| |/ |/|
* | [9d19af7adb] Make sure all timer events get canceled.dgp2014-07-241-2/+1
| |
* | Test format of write error messages during binary [chan copy]dgp2014-07-241-0/+30
| |
* | Test read error during binary [chan copy].dgp2014-07-241-0/+30
| |
* | Workaround [info frame] troubles with -singleproc 1 testing operations.dgp2014-07-221-0/+3
| |
* | Avoid [thread::exit]; Using it leads to memleaks.dgp2014-07-221-1/+3
| |
* | [75b8433707] Plug a subtle memory leak in TclOO. bug_75b8433707dkf2014-07-181-0/+13
| | | | | | | | Test suite very unhappy with this. Shoving into a mistake branch until that's sorted.
* | Finally, use correct octal notation which works in Tcl 9 as well.jan.nijtmans2014-07-175-59/+59
| |
* | Make sure that all "testchmod" arguments start with '0', making it more ↵jan.nijtmans2014-07-174-85/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | obvious that the value is octal. dgp: Isn't the better way to make it obvious the values are octal to use the explicit octal notation? For example, [testchmod 0o777 $path] ? Really seems like a bad idea to me to introduce *more* incompatibilities for the planned conversion for having the value 0777 stop meaning 255 and start meaning 777 in Tcl 9. Answer (Jan). You guessed exactly what's my follow-up plan. This was an intermediate step which keeps all test-cases running.
* | Convert some non-ASCII characters in testcase comments - which were mangled ↵jan.nijtmans2014-07-172-7/+7
| | | | | | | | by my editor in [79ace7b793] - to valid UTF-8: This way my editor will not mangle them again, and fossil will show in the UI which characters are supposed to be there.
* | Modify the "gettimes" test-command to use the Tcl_Obj API. jan.nijtmans2014-07-169-92/+111
| | | | | | | | 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.
* | Starting with Unicode 6.3, the mongolian vowel separator (U+180e) is no ↵jan.nijtmans2014-07-111-15/+15
|\ \ | |/ | | | | | | longer a whitespace, but for Tcl it still is. Update documentation accordingly, and extend test-cases for Unicode 7 compliance.
| * Starting with Unicode 6.3, the mongolian vowel separator (U+180e) is no ↵jan.nijtmans2014-07-111-15/+15
| | | | | | | | | | | | longer a whitespace, but for Tcl it still is. "NEL/Next Line" (U+0085) should have been a Unicode whitespace, but never was in Tcl. This is corrected in Tcl 8.6, but for legacy reasons not in Tcl 8.5. Update documentation accordingly, and extend test-cases for Unicode 7 compliance.
* | makeFile / removeFile balance.dgp2014-07-101-1/+3
| |
* | makeFile / removeFile balancedgp2014-07-101-0/+8
| |
* | dup test namedgp2014-07-101-1/+1
|\ \ | |/
| * dup test namedgp2014-07-101-1/+1
| |
* | [f652ae79ed] Close sockets used in tests, so as not to corrupt otherdgp2014-07-101-0/+1
| | | | | | tests in the suite.
* | [c31ca233ca] Fix TclGetsObjBinary() so that each [gets] rediscovers whetherdgp2014-07-021-0/+20
|\ \ | |/ | | a nonblocking channel is blocked.
| * [c31ca233ca] Fix TclGetsObjBinary() so that each [gets] rediscovers whetherdgp2014-07-021-0/+20
| | | | | | a nonblocking channel is blocked.
* | [f0f876c141] Improve consistency in error messages.dkf2014-06-179-38/+38
| |
* | merge socket test from 8.5dgp2014-06-161-0/+42
|\ \ | |/
| * Draft test for [1758a0b603].dgp2014-06-131-0/+41
| |
* | [cb042d294e] Improve consistency of [dict] wrong-args error messages.dkf2014-06-151-26/+26
| |
* | Make [dict replace] and [dict remove] guarantee result canonicality.dkf2014-06-151-11/+19
| |
* | Improved the error messages. dkf2014-06-071-10/+10
| | | | | | | | We do not want parsing an invalid dictionary to give errors about lists! As compensation, we get greater precision in the errorcode.
* | merge trunkdkf2014-06-062-1/+72
|\ \
| * \ Tests socket*-2.12 test for DiscardOutput() updates.dgp2014-06-051-1/+39
| |\ \ | | |/
| | * Test socket-2.12 covers the DiscardOutput() update.dgp2014-06-051-1/+39
| | |
| * | When too many chars are read by ReadChars() and we trim the limits to get it ↵dgp2014-06-051-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 todgp2014-06-051-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.
* | | merge trunkdkf2014-06-061-1/+1
|\ \ \ | |/ /
| * | These edits make the tests socket-14.11.[01] stop hanging, but also introducedgp2014-06-021-1/+1
| | | | | | | | | a whole raft of test failures. WIP.
* | | more tests, cleaning up the code a bitdkf2014-06-041-0/+29
| | |
* | | merge trunkdkf2014-06-031-60/+75
|\ \ \ | |/ /
| * | Improve robustness of the socket tests against systems that support IPv6, ↵max2014-06-021-60/+75
| | | | | | | | | | | | but don't resolve localhost to ::1 (and vice versa for IPv4 and 127.0.0.1).
* | | [1b0266d8bb] Working towards ensuring that all dict operations are ↵dkf2014-06-031-0/+42
|/ / | | | | | | sufficiently strict.
* | Correct the interest masks in the Tcl_CreateFileHandler() calls in ↵dgp2014-05-311-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 indgp2014-05-311-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 ↵dgp2014-05-291-7/+7
|\ \ | |/ | | | | the flag BUFFER_READY.
| * Increase size of test io-29.34 so that it more portably tests the case wheredgp2014-05-281-2/+2
| | | | | | | | the OS networking machinery gets backed up and blocks. Added several TODO comments on potential simplifications.