summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | | | | | | | | | | | | 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
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|/ / / / / / / / / / / / / | | |/| | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | [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.
| | * | | | | | | | | | | | | | | makeFile / removeFile balance.dgp2014-07-101-1/+3
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | makeFile / removeFile balancedgp2014-07-101-0/+8
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | 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.
| | * | | | | | | | | | | | | | | | [f0f876c141] Improve consistency in error messages.dkf2014-06-179-38/+38
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | merge socket test from 8.5dgp2014-06-161-0/+42
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | | | [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
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 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.
| | * | \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 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.
| | * | | | | | | | | | | | | | | | | | | | Fix c&p errors in test descriptionsmax2014-05-211-4/+4
| | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | |
| | | \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | *-. \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Rework the management of the CHANNEL_BLOCKED and CHANNEL_EOF flags, in ↵dgp2014-05-203-3/+18
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | particular not allowing them to leak between multiple layers of a stacked channel. Much common code refactored into ChanRead().
| | | * | | | | | | | | | | | | | | | | | | | | Revise results of tests iogt-2.[123] to account for EOF flags nodgp2014-05-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | longer leaking across channel stacks.
| | | * | | | | | | | | | | | | | | | | | | | | merge trunkdgp2014-05-161-0/+79
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ merge trunkdgp2014-05-141-0/+3
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Refactored much management of the BLOCKED and EOF flags into ChanRead() thendgp2014-05-132-3/+15
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | began repairing some of the logic about them. Tests iogt-2.* now fail because they've been crafted as experiments recording the fine detail of reflected channel driver calls, and fixing the management of channel flags is changing that. zlib-8.5 also needed adjustment to reflect that an EOF set must come with an empty string read when flags are functioning properly.
| | * | \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Fix and improve socket -async [13d3af3ad5] oehhar2014-05-201-54/+436
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|/ / / / / / / / / / / / / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | | | | | | | * Give clearer names to some of the state flags and sync them with ↵bug_13d3af3ad5max2014-04-081-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows where it makes sense. * Rework WaitForConnect once more to always report ENOTCONN on I/O operations on failed async sockets. * Fix synchronous connections to a server that only listens on IPv6 (or whatever comes later in the list returned by getaddrinfo(), socket-15.*) * Fix spurious writable event on async sockets (socket-14.15).
| | | * | | | | | | | | | | | | | | | | | | | | | | | Changed error report logic, that an async connect error is only reported by ↵oehhar2014-04-081-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'fconfigure -error' and not by a possible last command terminating the async connect. The terminating command always returns "socket is not connected" on connect error. In addition, some flags were renamed: TCP_ASYNC_SOCKET to TCP_NONBLOCKING and also the new state flags.
| | * | | | | | | | | | | | | | | | | | | | | | | | | merge 8.5dgp2014-05-161-0/+79
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|/ / / / / / / / / / / / / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | |