Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge trunk | jan.nijtmans | 2014-04-16 | 2 | -6/+6 |
|\ | |||||
| * | Remove unused variable, don't use deprecated function, some formatting. | jan.nijtmans | 2014-04-16 | 3 | -8/+8 |
| | | |||||
* | | merge trunk. | jan.nijtmans | 2014-04-16 | 8 | -312/+76 |
|\ \ | |/ | | | Remove (internal) functions TclWinGetServByName(), TclWinGetSockOpt() and TclWinSetSockOpt(), which are no longer needed for any purpose. | ||||
| * | Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵ | jan.nijtmans | 2014-04-16 | 4 | -98/+19 |
| |\ | | | | | | | | | | | | | | | | Win2000+. See: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx] for details. Move winsock initialization to TclpInitPlatform(void), so we can be sure everywhere that we have an initialized winsock2. Stub entries for TclWinGetServByName/TclWinGetSockOpt/TclWinSetSockOpt are no longer necessary (will be removed in 9.0, but are kept in 8.x) | ||||
| | * | Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵ | jan.nijtmans | 2014-04-16 | 4 | -98/+19 |
| | | | | | | | | | | | | | | | | | | Win2000+. See: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx] for details. Move winsock initialization to TclpInitPlatform(void), so we can be sure everywhere that we have an initialized winsock2. Stub entries for TclWinGetServByName/TclWinGetSockOpt/TclWinSetSockOpt are no longer necessary (will be removed in 9.0, but are kept in 8.x) | ||||
| * | | Purge the (now unused) argc and argv fields. | dgp | 2014-04-15 | 1 | -124/+4 |
| |\ \ | | |/ | |||||
| | * | Purge (now unused) argc and argv fields. | dgp | 2014-04-15 | 1 | -107/+3 |
| | | | |||||
| * | | [88aef05cda] Stop reentrancy segfault in reflected channels by managing | dgp | 2014-04-15 | 2 | -2/+39 |
| |\ \ | | |/ | | | | | | | callbacks as (copies of) lists, not shared Tcl_Obj arrays. Still could use cleanup and improvements. | ||||
| | * | [88aef05cda] Stop reentrancy segfault in reflected channels by managing | dgp | 2014-04-15 | 2 | -2/+39 |
| | | | | | | | | | | | | callbacks as (copies of) lists, not shared Tcl_Obj arrays. Still could use cleanup and improvements. | ||||
* | | | merge trunk | jan.nijtmans | 2014-04-15 | 7 | -15/+63 |
|\ \ \ | |/ / | |||||
| * | | Test-cases which pick up the completion of bug-fix ↵ | jan.nijtmans | 2014-04-15 | 1 | -2/+2 |
| | | | | | | | | | | | | [e663138a06d98e48b5fbb42cc015cf1698f486cd|e663138a06]. Thanks, Don! | ||||
| * | | [e663138a06] Fix the new INST_NUM_TYPE instruction so that the boundary | dgp | 2014-04-14 | 1 | -6/+22 |
| | | | | | | | | | | | | cases of [string is] on integral values are computed right. Code is now correct, though still suffers from a large amount of ugly. | ||||
| * | | Fix [3118489]: NUL in filenames, now fixed for both Windows and UNIX. | jan.nijtmans | 2014-04-11 | 3 | -1/+16 |
| | | | | | | | | | For consistancy, any NUL character in a filename prevents the native filesystem to generate a native file representation for it. Other filesystems than the native one may still accept it, but it's not recommended. | ||||
| * | | Fix [3118489] for Windows only: NUL in filenames. This allows various ↵ | jan.nijtmans | 2014-04-11 | 2 | -3/+8 |
| | | | | | | | | | | | | characters to be used in win32 filenames which are normally invalid, as described here: [http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-specialchars]. The Cygwin shell can handle those same filenames as well. In other shells (cmd.exe/mSys) or on the Windows desktop the filenames will look strange, but that's all. | ||||
| * | | [792641f95b]: Normalized win32 paths should never contain backslash. | jan.nijtmans | 2014-04-10 | 2 | -9/+12 |
| |\ \ | | |/ | |||||
| | * | [792641f95b]: Normalized win32 paths should never contain backslash. | jan.nijtmans | 2014-04-10 | 2 | -9/+11 |
| | | | |||||
| * | | Fix bug [e663138a06]: Test failures in "string is" | jan.nijtmans | 2014-04-10 | 1 | -0/+9 |
| | | | |||||
| * | | Provide full Tcl patchlevel to tcl.pc and move private libs to "Libs.private". | jan.nijtmans | 2014-04-08 | 1 | -4/+4 |
| |\ \ | | |/ | | | | | | | Record the fact that Tcl 8.6 requires Zlib 1.2.3 as a minimum. Supply both the shared library and the stub library to "Libs": Only one of them will actually be linked in, depending on whether -DUSE_TCL_STUBS is defined or not. | ||||
| | * | Provide full Tcl patchlevel to tcl.pc and move private libs to "Libs.private". | jan.nijtmans | 2014-04-08 | 1 | -4/+3 |
| | | | |||||
* | | | merge trunk | jan.nijtmans | 2014-04-07 | 1 | -1/+11 |
|\ \ \ | |/ / | |||||
| * | | Merge-mark: Those two test-cases will arrive in trunk as soon as branch ↵ | jan.nijtmans | 2014-04-07 | 0 | -0/+0 |
| |\ \ | | |/ | | | | | | | [http://core.tcl.tk/tcl/timeline?r=bug-13d3af3ad5|bug-13d3af3ad5] is merged. | ||||
| | * | Moved tests socket-8.2 and socket-8.3 to socket-14.3 and socket-14.4 and ↵ | oehhar | 2014-04-04 | 1 | -29/+31 |
| | |\ | | | | | | | | | | | | | made them robust against connect failures | ||||
| | | * | Move tests 8.2 and 8.3 out of the IPv4/IPv6 loop to 14.13 and 14.14. | max | 2014-04-04 | 1 | -31/+32 |
| | | | | |||||
| | | * | Fix/improve tests. | max | 2014-04-04 | 1 | -37/+30 |
| | | | | |||||
| | | * | Add tests for bugs [336441ed59] and [581937ab1e] from core-8-5-branch. | max | 2014-04-04 | 1 | -0/+29 |
| | | | | |||||
| | | * | * Rework WaitForConnect() to fix synchronous completion of asynchronous ↵ | max | 2014-04-04 | 2 | -35/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | connections. * Let TcpInputProc() and TcpOutputProc() fail before calling any I/O syscalls when an asynchronous connection has failed. * Adjust the tests accordingly. | ||||
| | | * | Make the naming of TcpState variables consistent | max | 2014-04-04 | 1 | -49/+53 |
| | | | | |||||
| | | * | Marked all communication variables which are set by notifier thread with ↵ | oehhar | 2014-04-02 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | "volatile". | ||||
| | | * | Imported fix for bug [97069ea11a] from branch bug-97069ea11a: empty error ↵ | oehhar | 2014-04-01 | 1 | -1/+11 |
| | | |\ | | | | | | | | | | | | | | | | message on stalled background flush after async socket connect fail | ||||
| | | * | | Removed thread debugging printf messages | oehhar | 2014-04-01 | 1 | -110/+13 |
| | | | | | |||||
| * | | | | Fix for Bug [97069ea11a]: Set return message in close if a flush error is ↵ | oehhar | 2014-04-04 | 1 | -1/+11 |
| |\ \ \ \ | | |/ / / | | | | | | | | | | | reported (which may be an error from a background flush) | ||||
| | * | | | Fix for Bug [97069ea11a]: Set return message in close if a flush error is ↵ | oehhar | 2014-04-04 | 1 | -1/+11 |
| | |\ \ \ | | | | | | | | | | | | | | | | | | | reported (which may be an error from a background flush) | ||||
| | | * | | | Revert the tests for bug#97069ea11a from socket.test, because it is hard to ↵bug_97069ea11a | max | 2014-04-04 | 1 | -33/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | test with the socket command in a platform-independent way. As the bug is in tclIOChan.c and should be tested there with a dummy channel driver that can reliably reproduce the situation that suppresses the error message. | ||||
| | | * | | | Centralize and clarify the user of 169.254.0.0 as a non-reachable address. | max | 2014-04-01 | 1 | -3/+9 |
| | | | | | | |||||
| | | * | | | Add test cases for Bug [97069ea11a]. | max | 2014-04-01 | 1 | -0/+27 |
| | | | |/ | | | |/| | |||||
| | | * | | Fix test failure socket-2.9: "1 {not owner}" instead of "1 {couldn't open ↵ | oehhar | 2014-04-01 | 1 | -9/+8 |
| | | | | | | | | | | | | | | | | | | | | socket address already in use}" by only setting returned error message if not jet set. | ||||
| | | * | | Set return message in close if a flush error is reported (which may be an ↵ | oehhar | 2014-04-01 | 1 | -2/+13 |
| | | | | | | | | | | | | | | | | | | | | error from a background flush). Ticket [97069ea11a] | ||||
| | * | | | Fix bug [581937ab1e]: fire readable event on async socket connect failure | oehhar | 2014-04-02 | 2 | -33/+57 |
| | |\ \ \ | |||||
| | | * \ \ | Fix bug [581937ab1e]: fire readable event on async socket connect failurebug_581937ab1e | oehhar | 2014-04-02 | 2 | -33/+57 |
| | | |\ \ \ | | |/ / / / | | | | | _ | |||||
| | | * | | Fire also readable event on final async connect failure. Armor ↵ | oehhar | 2014-03-24 | 1 | -45/+84 |
| | | | | | | | | | | | | | | | | | | | | WaitForSocketEvent by access signal against notifier thread access. | ||||
| | | * | | Be sure tsd pointer to the info structure is invalidated before memory free | oehhar | 2014-03-23 | 1 | -1/+20 |
| | | | | | |||||
| | | * | | WaitForConnection like tclUnixSock.c, new option [fconfigure -connecting] | oehhar | 2014-03-14 | 1 | -42/+34 |
| | | | | | |||||
| | | * | | file tclWinSock.c reorganized to minimize diff to tclUnixSock.c. No ↵ | oehhar | 2014-03-14 | 1 | -1455/+1498 |
| | | | | | | | | | | | | | | | | | | | | functional change | ||||
| | | * | | Remove writable shortcut and errorneous workaround to get [connect -async] ↵ | oehhar | 2014-03-14 | 1 | -18/+18 |
| | | |\ \ | | | | | | | | | | | | | | | | | | | fail error to [fconfigure -error] | ||||
| | | | * | | Remove writable shortcut and errorneous workaround to get [connect -async] ↵bug_13d3af3ad5_fork | oehhar | 2014-03-14 | 1 | -18/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | fail error to [fconfigure -error] | ||||
| | | * | | | * More test improvements for async sockets. | max | 2014-03-14 | 2 | -26/+47 |
| | | |/ / | | | | | | | | | | | | | | | | * Advance async connections whenever the channel is touched (e.g. by [chan configure]). * Add a noblock argument to WaitForConnect(), so that advancing async connections from [chan configure] doesn't block even on a blocking socket. | ||||
| | | * | | Async connect terminates: fire fileevent by setting readyEvent, propage ↵ | oehhar | 2014-03-14 | 1 | -52/+110 |
| | | | | | | | | | | | | | | | | | | | | commit fail message to [fconfigure -error] | ||||
| | | * | | * Hide transient errors of the internal iterations of [socket -async] ↵ | max | 2014-03-11 | 2 | -46/+189 |
| | | | | | | | | | | | | | | | | | | | | | | | | | from the script level. * More tests for corner cases. | ||||
| | | * | | No [fconfigure -error] error in connect process; gets after failed async ↵ | oehhar | 2014-03-11 | 1 | -10/+19 |
| | | | | | | | | | | | | | | | | | | | | connect returns connect error | ||||
| | | * | | WaitForConnect may only call back to CreateClientSocket when the socket is ↵ | max | 2014-03-10 | 2 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | writable or something. When it does so for a pending socket, it is falsely assumed to have succeeded and a subsequent read/write operation will fail. |