summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* Fire write fileevent if async connect fails finally (test socket-14.2)oehhar2014-03-101-2/+12
|
* Also continue async connect without event loop if gets/puts is called (test ↵oehhar2014-03-101-22/+34
| | | | socket-14.8.*)
* Workaround if FD_CONNECT notification comes before socket list registration ↵oehhar2014-03-101-80/+184
| | | | in TcpThreadActionProc
* Still incomplete info structure in event proc: try to protect with locks ↵oehhar2014-03-071-12/+51
| | | | (unsuccesful). Probably locks in accept socket creation missing.
* More debug to chase different fd in struct than in callbackoehhar2014-03-061-53/+40
|
* Terminate async connect synchronously by any blocking operationoehhar2014-03-061-12/+104
|
* "gets" blocked after async cannect: SOCKET_ASYNC_CONNECT was not clearedoehhar2014-03-051-12/+12
|
* Refactor the error handling logic around connect()max2014-03-051-20/+17
|
* avoid warnings about uninitialized infoPtr in DEBUGmax2014-03-051-2/+2
|
* Print out the value of infoPtr in DEBUG, so that coexisting sockets can be ↵max2014-03-051-7/+5
| | | | distinguished in the output.
* Next async connect try works. Reset error and move notifier before connect.oehhar2014-03-051-11/+12
|
* * Use watchEvents only for read/write/close events of [chan event], don't ↵max2014-03-041-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 ↵oehhar2014-03-041-18/+13
| | | | also fire if it exists on call.
* WIP: async open event now passes to SocketEventProc() and connects but does ↵oehhar2014-03-031-15/+23
| | | | not finalyze that (I guess).
* Make printf debugging switchable, because it affects 'make test'max2014-02-281-1/+8
|
* Broken intermediate state.max2014-02-281-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 trunkmax2014-02-2614-38/+236
|\
| * Do not reopen a win serial channel for serial detection. There are issues ↵oehhar2014-02-253-13/+117
| |\ | | | | | | | | | with some Bluetooth virtual com. Fix bug [2413550], patch by Rolf Schroedter
| | * Do not reopen a win serial channel for serial detection. There are issues ↵oehhar2014-02-243-13/+165
| | |\ | | | | | | | | | | | | with some Bluetooth virtual com. Fix bug [2413550], patch by Rolf Schroedter
| | | * Changed position of flag evaluation as proposed by Phil Hoffmanbug_2413550oehhar2014-02-111-18/+18
| | | |
| | | * merge 8.5oehhar2014-01-301-1/+1
| | | |\
| | | * | win/tclWinChan.c Tcl_InitNotifier: Bug [2413550] Avoid reopening of serial ↵oehhar2014-01-303-13/+165
| | | | | | | | | | | | | | | | | | | | channels which causes issues with Bluetooth virtual com. Patch by Rolf Schroedter.
| * | | | typojan.nijtmans2014-02-121-1/+1
| |\ \ \ \ | | |/ / /
| | * | | typojan.nijtmans2014-02-121-1/+1
| | | | |
| * | | | Eliminate all usage of WIN32 and __WIN32__ macros: Some compilers (e.g. ↵jan.nijtmans2014-02-104-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.nijtmans2014-02-041-2/+2
| |\ \ \ \ | | |/ / /
| | * | | Satisfy required position of __stdcall from VC++jan.nijtmans2014-02-041-2/+2
| | | | |
| * | | | Add missing __stdcall (which crashes on win32), and clean-up indentingjan.nijtmans2014-02-041-10/+11
| |\ \ \ \ | | |/ / /
| | * | | Add missing __stdcall (which crashes on win32), and clean-up indentingjan.nijtmans2014-02-041-10/+11
| | | | |
| * | | | Fix [651e828a52]: Wrong Windows version reported for Windows 8.1jan.nijtmans2014-02-031-4/+14
| |\ \ \ \ | | |/ / /
| | * | | Fix [651e828a52]: Wrong Windows version reported for Windows 8.1jan.nijtmans2014-02-031-4/+14
| | | |/ | | |/|
| * | | Fix [22c10c8e79]: core-8-5: msvc6 build: "Side by Side" errorjan.nijtmans2014-01-301-1/+1
| |\ \ \ | | |/ /
| | * | Fix [22c10c8e79]: core-8-5: msvc6 build: "Side by Side" errorjan.nijtmans2014-01-301-1/+1
| | |/
| * | Modify makefile.vc for Windows 8.1 supportjan.nijtmans2013-11-211-1/+9
| |\ \ | | |/
| | * Modify makefile.vc for Windows 8.1 supportjan.nijtmans2013-11-211-1/+9
| | |
| * | Add support for Windows 8.1: See ↵jan.nijtmans2013-11-214-3/+78
| |\ \ | | |/ | | | | | | [http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx]
| | * Add support for Windows 8.1: See ↵jan.nijtmans2013-11-214-3/+78
| | | | | | | | | | | | [http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx]
| * | Safer clean-up of environment variables: Do removal after insertions -> ↵jan.nijtmans2013-11-201-2/+2
| |\ \ | | |/ | | | | | | tcltest 2.3.7
| | * Safer clean-up of environment variables: Do removal after insertions -> ↵jan.nijtmans2013-11-201-2/+2
| | | | | | | | | | | | tcltest 2.3.7
| * | Starting with Windows 8 DSK, GetVersionExA is deprecatedjan.nijtmans2013-11-202-6/+6
| |\ \ | | |/
| | * Starting with Windows 8 DSK, GetVersionExA is deprecatedjan.nijtmans2013-11-202-6/+6
| | |
| * | Some formattingjan.nijtmans2013-11-191-1/+1
| | |
| * | Cygwin: Instead of checking whether the win32 part is configured properly, ↵jan.nijtmans2013-11-191-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)
| | * Bump tcltest version to 2.3.6 (should have been done just before the 8.5.15 ↵jan.nijtmans2013-10-281-2/+2
| | | | | | | | | | | | | | | release, just as in Tcl 8.6.1). Don't fix eol-style for Makefile.in in "make dist", if the file system is case-insensitive/case-preserving.
* | | merge trunkmax2013-11-181-3/+2
|\ \ \ | |/ /
| * | Revert [3c0b0bbda6]. If this really is a problem, it needs to get fixed by ↵max2013-11-181-3/+2
| | | | | | | | | | | | other means than covering behind void pointers.
* | | To prepare for completion of the [socket -async] implementation on Windows ↵max2013-11-181-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.nijtmans2013-11-181-2/+3
| |
* | Map WSAEWOULDBLOCK to EWOULDBLOCK. Suggested by Reinhard Max.jan.nijtmans2013-11-165-11/+11
| |
* | Don't leak getaddrinfo() resultsmax2013-11-151-2/+2
| |