summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add missing calls to Tcl_DecrRefCount() in string object man page examples.andy2014-06-041-1/+4
|
* Revise DiscardOutput() to account for revisions to the loop in ↵dgp2014-06-041-0/+5
|\ | | | | | | FlushChannel() which is its only caller. We need to discard the curOutPtr buffer as well, and not count on another pass through the loop to attempt to flush it (and raise the same failure again?).
| * Revise DiscardOutput() to account for revisions to the loop in FlushChannel()dgp2014-06-041-0/+5
| | | | | | | | | | which is its only caller. We need to discard the curOutPtr buffer as well, and not count on another pass through the loop to attempt to flush it (and raise the same failure again?).
| * merge fork of 8.5 branchdgp2014-06-034-27/+42
| |\
* | | Valgrind doesn't like use of uninitialized variables.dgp2014-06-041-1/+1
| | |
| | |
| \ \
*-. \ \ [734138ded8] Revisions so that unreported errors don't get lost duringdgp2014-06-033-13/+19
|\ \ \ \ | | | |/ | | |/| the close of a channel.
| | * | Backport I/O core fixes made known by async socket work on trunk.dgp2014-06-031-7/+15
| | |\ \ | | |/ / | |/| |
| * | | These edits make all tests outside of socket-14.* pass on OSX Mavericks.dgp_async_socketdgp2014-06-031-1/+3
| | | | | | | | | | | | | | | | Several socket-14.* tests failing there, and those that pass are very slow about it. Firewall or poor networking configuration may be playing a role.
| * | | These edits make the tests socket-14.11.[01] stop hanging, but also introducedgp2014-06-023-12/+16
|/ / / | | | | | | a whole raft of test failures. WIP.
* | | 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).
* | | Correct the interest masks in the Tcl_CreateFileHandler() calls in ↵dgp2014-05-313-13/+14
|\ \ \ | | |/ | |/| | | | 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-313-13/+14
| | | | | | | | | | | | | | | 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-293-118/+73
|\ \ \ | |/ / | | | | | | the flag BUFFER_READY.
* | | Merged the workarounds and fixes for wrapped executables on variousandreask2014-05-281-1/+85
|\ \ \ | | | | | | | | | | | | | | | | platforms into the trunk. For details see the merged revision and its ancestor.
* | | | eliminate two unused variables.jan.nijtmans2014-05-231-2/+0
| | | |
* | | | Ditto [dict append], [dict incr], and [dict lappend]. Update description of ↵andy2014-05-211-4/+7
| | | | | | | | | | | | | | | | [dict create] to explicitly state that it returns the new dictionary.
* | | | Ditto [dict unset].andy2014-05-211-1/+2
| | | |
* | | | Update dict man page to state that [dict set] returns the updated dictionary ↵andy2014-05-211-1/+1
| | | | | | | | | | | | | | | | value.
* | | | Fix gcc warning (signed-unsigned compare)jan.nijtmans2014-05-211-1/+1
| | | |
* | | | 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-207-239/+196
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | particular not allowing them to leak between multiple layers of a stacked channel. Much common code refactored into ChanRead().
| * | | | | Same improvements to the zlib transform operations.dgp_trunk_flag_repairdgp2014-05-191-40/+5
| | | | | |
| * | | | | Simplify ReflectInput(). Also stop intruding on channel internals withdgp2014-05-191-36/+16
| | | | | | | | | | | | | | | | | | direct clearing of CHANNEL_EOF flag.
| * | | | | Simplify the inputProc of [testchannel transform].dgp2014-05-171-23/+18
| | | | | |
| * | | | | Revise results of tests iogt-2.[123] to account for EOF flags nodgp2014-05-171-0/+3
| | | | | | | | | | | | | | | | | | longer leaking across channel stacks.
| * | | | | Merge flag changes. - Wow, no trouble with [chan push] demonstrated.dgp2014-05-161-39/+37
| | | | | |
| * | | | | merge trunkdgp2014-05-163-15/+121
| |\ \ \ \ \
| * \ \ \ \ \ merge trunkdgp2014-05-141-0/+3
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Refactored much management of the BLOCKED and EOF flags into ChanRead() thendgp2014-05-133-102/+119
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-203-1601/+2619
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | * Give clearer names to some of the state flags and sync them with ↵bug_13d3af3ad5max2014-04-082-41/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
| * | | | | | | | | Beautify check for async connect reentryoehhar2014-04-081-4/+10
| | | | | | | | | |
| * | | | | | | | | Changed error report logic, that an async connect error is only reported by ↵oehhar2014-04-083-58/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '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.
| * | | | | | | | | Rename error to connectError in struct TcpState.max2014-04-071-11/+11
| | | | | | | | | |
| * | | | | | | | | Rename CreateClientSocket to TcpConnectmax2014-04-071-8/+8
| | | | | | | | | |
| * | | | | | | | | Renamed function CreateClientSocket to TcpConnect and variable error to ↵oehhar2014-04-071-23/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | connectError
| * | | | | | | | | Return async connect error by first following read or write operation.oehhar2014-04-071-1/+12
| | | | | | | | | |
| * | | | | | | | | Avoid multiple returns of connect errorsoehhar2014-04-041-43/+103
| | | | | | | | | |
* | | | | | | | | | [47d66253c9]: "lsearch -sorted -integer" on 64bit system jan.nijtmans2014-05-173-38/+39
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ***POTENTIAL INCOMPATIBILITY*** Changes results of both [lsearch -integer] and [lsort -integer].
| * | | | | | | | | | Possible fix for [47d66253c92197d30bff280b02e0a9e62f07cee2|47d66253c9]: ↵bug_47d66253c9jan.nijtmans2014-05-123-38/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "lsearch -sorted -integer" on 64bit system
* | | | | | | | | | | Let the generated Makefile be emacs-friendly by avoiding spurious empty ↵ferrieux2014-05-164-0/+10
| |_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | lines and misplaced tabs. Useful e.g. to just set CFLAGS to debug and save.
* | | | | | | | | | merge 8.5dgp2014-05-162-9/+116
|\ \ \ \ \ \ \ \ \ \
* \ \ \ \ \ \ \ \ \ \ Minor bug-fix in [3118489] implementation: NUL in filenames. Filenames ↵jan.nijtmans2014-05-151-6/+5
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | starting with <drive>: but without a following slash should be considered volume-relative i.e. the ':' is valid here.
* | | | | | | | | | | Fix 3 test-cases which started failing on Windowsjan.nijtmans2014-05-141-0/+3
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / |/| | | | | | | | | |
* | | | | | | | | | | [958bc05fbe]: Clarify "clock format" using "%R"jan.nijtmans2014-05-131-2/+3
|\ \ \ \ \ \ \ \ \ \ \
* \ \ \ \ \ \ \ \ \ \ \ Restore the largefileSupport constraint on Darwin, where tests (chan)io-34.21dgp2014-05-122-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | take an unbearable 90 seconds each to complete.
* | | | | | | | | | | | | Have the [chan push] machinery ReadRaw() directly into the argument to bedgp2014-05-121-14/+20
| |_|_|_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | passed to the read method of the channel transformation command. Save a copy.
* | | | | | | | | | | | [6d2f249a01] Handle a failure to comprehend half-way through the compilation ↵dkf2014-05-112-7/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of a chain of compileable ensembles.
* | | | | | | | | | | | Repair another "impossible" test and the segfault it reveals.dgp2014-05-092-5/+7
| | | | | | | | | | | |
* | | | | | | | | | | | Correct namespace bugs in normally skipped tests. Constrain them as ↵dgp2014-05-091-17/+26
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "knownBug" rather than "unknownFailure".