summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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().
| | * Rework the management of the CHANNEL_BLOCKED and CHANNEL_EOF flags, indgp2014-05-204-161/+172
| | |\ | | | | | | | | | | | | particular not allowing them to leak between multiple layers of a stacked channel. Much common code refactored into ChanRead().
| | | * Simplify the inputProc of [testchannel transform].dgp_channel_flag_repairdgp2014-05-171-21/+18
| | | |
| | | * Repair broken tests iogt-2.[123].dgp2014-05-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | What happened is that now that EOF flags no loger leak acros channel stack layers, an EOF in the bottom channel isn't detected in the top one until the ChanRead call at the top level actually returns 0 bytes. This causes one more query/ma
| | | * Improved use of EOF state to avoid worthless allocations.dgp2014-05-161-10/+12
| | | |
| | | * Move the resets and testings of the BLOCKED flag to where they make more sense.dgp2014-05-161-22/+17
| | | |
| | | * merge 8.5dgp2014-05-165-11/+186
| | | |\ | | | |/ | | |/|
| | | * Push the setting and clearing of CHANNEL_BLOCKED flag to the more innerdgp2014-05-151-11/+12
| | | | | | | | | | | | parts of the channel read machinery.
| | | * merge 8.5dgp2014-05-141-0/+3
| | | |\
| * | | | 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.
| | * | | | | Rework Tcl_ReadRaw() mostly taking things out of the loop that never repeat.dgp2014-05-131-36/+20
| | | | | | |
| | * | | | | Salvaged what was left of value in the dgp-read-bytes-detour branch.dgp2014-05-132-81/+111
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored much management of the BLOCKED and EOF flags into ChanRead() then 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.
| | | * | | | | missing declarationdgp_read_bytes_detourdgp2014-03-211-0/+1
| | | | | | | |
| | | * | | | | Correct namespace bugs in normally skipped tests.dgp2014-03-211-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | Constrain them as "knownBug" rather than "unknownFailure".
| | | * | | | | Added comment explaining the "knownBug"dgp2014-03-211-0/+9
| | | | | | | |
| | | * | | | | Convert "impossible" test to a "knownBug" test. Exposes a segfault!dgp2014-03-211-4/+5
| | | | | | | |
| | | * | | | | Restore default suppression of large file test.dgp2014-03-211-1/+1
| | | | | | | |
| | | * | | | | Fixup ChanRead() header. Note (dstSize > 0) precondition.dgp2014-03-211-2/+8
| | | | | | | |
| | | * | | | | io-34.21 - fix bugs in normally skipped test.dgp2014-03-211-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | io-35.18b - knownBug is not buggy on this branch.
| | | * | | | | Documentation header for ChanRead()dgp2014-03-211-2/+23
| | | | | | | |
| | | * | | | | Both callers of ChanRead() have simlar epilogs. Shift that into ChanReaddgp2014-03-201-73/+50
| | | | | | | | | | | | | | | | | | | | | | | | and refactor.
* | | | | | | | 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
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / | |/| | | | | | |
| * | | | | | | | Fix for failing tests *io-32.11*dgp2014-05-162-9/+96
| |\ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ merge 8.5bug_io_32_11dgp2014-05-1612-28/+139
| | |\ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | |
| * | | | | | | | | Portable test to demo bug otherwise seen only on Windows.dgp2014-05-151-0/+20
| | | | | | | | | |
| | * | | | | | | | Merge completion of dgp-read-bytes branch.dgp2014-05-1631-1484/+1351
| | |\ \ \ \ \ \ \ \
| | * | | | | | | | | Bug fix - accept consumption of the trailing newline in crlf with nodgp2014-05-161-9/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | characters produced. Also delete false assertions.
| | * | | | | | | | | More tests to demo the bug more directly.dgp2014-05-161-0/+39
| | | | | | | | | | |
| | * | | | | | | | | Branch to demo bug introduced in the parent commit.dgp2014-05-151-0/+20
| | | | | | | | | | |