Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵ | jan.nijtmans | 2014-04-16 | 3 | -98/+13 |
| | | | | | | 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) | ||||
* | [792641f95b]: Normalized win32 paths should never contain backslash. | jan.nijtmans | 2014-04-10 | 2 | -9/+11 |
| | |||||
* | Fix bug [581937ab1e]: fire readable event on async socket connect failurebug_581937ab1e | oehhar | 2014-04-02 | 1 | -33/+40 |
|\ | |||||
| * | 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] ↵bug_13d3af3ad5_fork | oehhar | 2014-03-14 | 1 | -18/+18 |
| | | | | | | | | fail error to [fconfigure -error] | ||||
| * | Async connect terminates: fire fileevent by setting readyEvent, propage ↵ | oehhar | 2014-03-14 | 1 | -52/+110 |
| | | | | | | | | commit fail message to [fconfigure -error] | ||||
| * | No [fconfigure -error] error in connect process; gets after failed async ↵ | oehhar | 2014-03-11 | 1 | -10/+19 |
| | | | | | | | | connect returns connect error | ||||
| * | Additional security for wrong pointer | oehhar | 2014-03-10 | 1 | -0/+6 |
| | | |||||
| * | Fire write fileevent if async connect fails finally (test socket-14.2) | oehhar | 2014-03-10 | 1 | -2/+12 |
| | | |||||
| * | Also continue async connect without event loop if gets/puts is called (test ↵ | oehhar | 2014-03-10 | 1 | -22/+34 |
| | | | | | | | | socket-14.8.*) | ||||
| * | Workaround if FD_CONNECT notification comes before socket list registration ↵ | oehhar | 2014-03-10 | 1 | -80/+184 |
| | | | | | | | | in TcpThreadActionProc | ||||
| * | Still incomplete info structure in event proc: try to protect with locks ↵ | oehhar | 2014-03-07 | 1 | -12/+51 |
| | | | | | | | | (unsuccesful). Probably locks in accept socket creation missing. | ||||
| * | More debug to chase different fd in struct than in callback | oehhar | 2014-03-06 | 1 | -53/+40 |
| | | |||||
| * | Terminate async connect synchronously by any blocking operation | oehhar | 2014-03-06 | 1 | -12/+104 |
| | | |||||
| * | "gets" blocked after async cannect: SOCKET_ASYNC_CONNECT was not cleared | oehhar | 2014-03-05 | 1 | -12/+12 |
| | | |||||
| * | Refactor the error handling logic around connect() | max | 2014-03-05 | 1 | -20/+17 |
| | | |||||
| * | avoid warnings about uninitialized infoPtr in DEBUG | max | 2014-03-05 | 1 | -2/+2 |
| | | |||||
| * | Print out the value of infoPtr in DEBUG, so that coexisting sockets can be ↵ | max | 2014-03-05 | 1 | -7/+5 |
| | | | | | | | | distinguished in the output. | ||||
| * | Next async connect try works. Reset error and move notifier before connect. | oehhar | 2014-03-05 | 1 | -11/+12 |
| | | |||||
| * | * Use watchEvents only for read/write/close events of [chan event], don't ↵ | max | 2014-03-04 | 1 | -63/+82 |
| | | | | | | | | | | mix with internal use of accept and connect events. * WIP: Refactor the tail of CreateClientSocket() to get notifications for completed async connects right. | ||||
| * | Reverted move of WSAAsyncSelect before connect -> FD_Connect message does ↵ | oehhar | 2014-03-04 | 1 | -18/+13 |
| | | | | | | | | also fire if it exists on call. | ||||
| * | WIP: async open event now passes to SocketEventProc() and connects but does ↵ | oehhar | 2014-03-03 | 1 | -15/+23 |
| | | | | | | | | not finalyze that (I guess). | ||||
| * | Make printf debugging switchable, because it affects 'make test' | max | 2014-02-28 | 1 | -1/+8 |
| | | |||||
| * | Broken intermediate state. | max | 2014-02-28 | 1 | -146/+219 |
| | | | | | | | | | | Calling back to CreateClientSocket() from the event loop works, but the final failed or succeeded state of an asyncronous socket does not get notified to the channel correctly. | ||||
| * | Merge trunk | max | 2014-02-26 | 14 | -38/+236 |
| |\ | |||||
| | * | Do not reopen a win serial channel for serial detection. There are issues ↵ | oehhar | 2014-02-25 | 3 | -13/+117 |
| | |\ | | | | | | | | | | | | | with some Bluetooth virtual com. Fix bug [2413550], patch by Rolf Schroedter | ||||
| | * \ | typo | jan.nijtmans | 2014-02-12 | 1 | -1/+1 |
| | |\ \ | |||||
| | * | | | Eliminate all usage of WIN32 and __WIN32__ macros: Some compilers (e.g. ↵ | jan.nijtmans | 2014-02-10 | 4 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Clang/LLVM) don't define it, and _WIN32 is much more portable anyway. See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW] | ||||
| | * | | | Satisfy required position of __stdcall from VC++ | jan.nijtmans | 2014-02-04 | 1 | -2/+2 |
| | |\ \ \ | |||||
| | * \ \ \ | Add missing __stdcall (which crashes on win32), and clean-up indenting | jan.nijtmans | 2014-02-04 | 1 | -10/+11 |
| | |\ \ \ \ | |||||
| | * \ \ \ \ | Fix [651e828a52]: Wrong Windows version reported for Windows 8.1 | jan.nijtmans | 2014-02-03 | 1 | -4/+14 |
| | |\ \ \ \ \ | |||||
| | * \ \ \ \ \ | Fix [22c10c8e79]: core-8-5: msvc6 build: "Side by Side" error | jan.nijtmans | 2014-01-30 | 1 | -1/+1 |
| | |\ \ \ \ \ \ | |||||
| | * \ \ \ \ \ \ | Modify makefile.vc for Windows 8.1 support | jan.nijtmans | 2013-11-21 | 1 | -1/+9 |
| | |\ \ \ \ \ \ \ | |||||
| | * \ \ \ \ \ \ \ | Add support for Windows 8.1: See ↵ | jan.nijtmans | 2013-11-21 | 4 | -3/+78 |
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx] | ||||
| | * \ \ \ \ \ \ \ \ | Safer clean-up of environment variables: Do removal after insertions -> ↵ | jan.nijtmans | 2013-11-20 | 1 | -2/+2 |
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tcltest 2.3.7 | ||||
| | * \ \ \ \ \ \ \ \ \ | Starting with Windows 8 DSK, GetVersionExA is deprecated | jan.nijtmans | 2013-11-20 | 2 | -6/+6 |
| | |\ \ \ \ \ \ \ \ \ \ | |||||
| | * | | | | | | | | | | | Some formatting | jan.nijtmans | 2013-11-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | Cygwin: Instead of checking whether the win32 part is configured properly, ↵ | jan.nijtmans | 2013-11-19 | 1 | -3/+3 |
| | |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | just configure it when needed. Always build the stub library first (and - on Cygwin - configure win32 properly just before building the stub library) | ||||
| * | \ \ \ \ \ \ \ \ \ \ \ | merge trunk | max | 2013-11-18 | 1 | -3/+2 |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / | |||||
| | * | | | | | | | | | | | | Revert [3c0b0bbda6]. If this really is a problem, it needs to get fixed by ↵ | max | 2013-11-18 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | other means than covering behind void pointers. | ||||
| * | | | | | | | | | | | | | To prepare for completion of the [socket -async] implementation on Windows ↵ | max | 2013-11-18 | 1 | -165/+203 |
| |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [13d3af3ad5]: * Move the server code from CreateSocket to Tcl_OpenTcpServer. * Rename CreateSocket to CreateClientSocket. * Unify the naming convention of socket channels with Unix (sock + hex representation of the state/info structure). | ||||
| * | | | | | | | | | | | | Eliminate some redundant Tcl_GetErrno() calls. | jan.nijtmans | 2013-11-18 | 1 | -2/+3 |
| | | | | | | | | | | | | | |||||
| * | | | | | | | | | | | | Map WSAEWOULDBLOCK to EWOULDBLOCK. Suggested by Reinhard Max. | jan.nijtmans | 2013-11-16 | 5 | -11/+11 |
| | | | | | | | | | | | | | |||||
| * | | | | | | | | | | | | Don't leak getaddrinfo() results | max | 2013-11-15 | 1 | -2/+2 |
| | | | | | | | | | | | | | |||||
| * | | | | | | | | | | | | Fix [3eb2ec1449]: Allow upper case scheme names in url. http -> 2.8.8 | jan.nijtmans | 2013-10-25 | 1 | -2/+2 |
| |\ \ \ \ \ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ \ \ \ \ | Fix execute permission on many files which shouldn't have it. | jan.nijtmans | 2013-10-17 | 1 | -0/+0 |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ \ \ \ \ \ | When compiling with MSVC++, no longer link the stub library with msvcrt??.dll. | jan.nijtmans | 2013-10-03 | 5 | -9/+15 |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | This way, workarounds in extensions like [http://core.tcl.tk/itcl/info/a961f0729c] are no longer necessary. |