summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove writable shortcut and errorneous workaround to get [connect -async] ↵bug_13d3af3ad5_forkoehhar2014-03-141-18/+18
| | | | fail error to [fconfigure -error]
* Async connect terminates: fire fileevent by setting readyEvent, propage ↵oehhar2014-03-141-52/+110
| | | | commit fail message to [fconfigure -error]
* * Hide transient errors of the internal iterations of [socket -async] ↵max2014-03-112-46/+189
| | | | | from the script level. * More tests for corner cases.
* No [fconfigure -error] error in connect process; gets after failed async ↵oehhar2014-03-111-10/+19
| | | | connect returns connect error
* WaitForConnect may only call back to CreateClientSocket when the socket is ↵max2014-03-102-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.
* Additional security for wrong pointeroehhar2014-03-101-0/+6
|
* 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
* * tclUnixSock.c: Fix WaitForConnect() for client sockets that have to try ↵max2014-03-102-29/+190
| | | | | | more than one address. * socket.test: Extend and improve tests for [socket -async] * socket.test: Add latency measuring and calculation for Windows.
* 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-062-53/+46
|
* 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-282-146/+234
| | | | | 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-2675-2213/+4113
|\
| * [8d5f5b8034] Flush internal representations in [string tolower] of unshared objdkf2014-02-252-0/+12
| |
| * 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-302-187/+116
| | | |\
| | | * | win/tclWinChan.c Tcl_InitNotifier: Bug [2413550] Avoid reopening of serial ↵oehhar2014-01-304-13/+171
| | | | | | | | | | | | | | | | | | | | channels which causes issues with Bluetooth virtual com. Patch by Rolf Schroedter.
| * | | | [3597178]: Improve documentation of what's going on with encodingsdkf2014-02-232-11/+51
| | | | |
| * | | | [1230597] Update test comment.dgp2014-02-191-1/+1
| |\ \ \ \ | | |/ / /
| | * | | [1230597] Update test comment.dgp2014-02-191-1/+1
| | | | |
| * | | | [9bf7e67b37]: minor documentation blooperdkf2014-02-161-1/+1
| | | | |
| * | | | typojan.nijtmans2014-02-122-2/+2
| |\ \ \ \ | | |/ / /
| | * | | typojan.nijtmans2014-02-122-2/+2
| | | | |
| * | | | Fix execute permission bit (should not be set) for *Decls.h filesjan.nijtmans2014-02-115-0/+0
| | | | |
| * | | | Eliminate all usage of WIN32 and __WIN32__ macros: Some compilers (e.g. ↵jan.nijtmans2014-02-1021-82/+79
| | | | | | | | | | | | | | | | | | | | | | | | | 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]
| * | | | [a4494e28ed] Use flag bit instead of NULL pointer to suppressdgp2014-02-063-10/+39
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | teardown list of imported commands when the original command gets re-created. This prevents the panic otherwise possible when the invalid state represented by the NULL pointer is encountered during a command delete trace.
| | * | | Change the flag value to avoid merge conflict with trunk.dgp2014-02-061-1/+1
| | | | |
| | * | | [a4494e28ed] Use flag bit instead of NULL pointer to suppress teardown list ofdgp2014-02-063-10/+39
| | | | | | | | | | | | | | | | | | | | | | | | | imported commands when the original command gets re-created. This prevents the panic otherwise possible when the invalid state represented by the NULL pointer is encountered during a command delete trace.
| * | | | check for existance of __BORLANDC__ before using its valuejan.nijtmans2014-02-061-1/+1
| |\ \ \ \ | | |/ / /
| | * | | Check for existance of __BORLANDC__ before using its valuejan.nijtmans2014-02-061-1/+1
| | | | |
| * | | | Satisfy required position of __stdcall from VC++jan.nijtmans2014-02-042-4/+4
| |\ \ \ \ | | |/ / /
| | * | | Satisfy required position of __stdcall from VC++jan.nijtmans2014-02-042-4/+4
| | | | |
| * | | | Add missing __stdcall (which crashes on win32), and clean-up indentingjan.nijtmans2014-02-042-20/+22
| |\ \ \ \ | | |/ / /
| | * | | remove duplicate declarationjan.nijtmans2014-02-041-1/+0
| | | | |
| | * | | Add missing __stdcall (which crashes on win32), and clean-up indentingjan.nijtmans2014-02-042-20/+23
| | | | |
| * | | | Simplify the core output operations of channels. Reduce duplicative and dead ↵dgp2014-02-043-591/+68
| |\ \ \ \ | | |/ / / | | | | | | | | | | code.
| | * | | Simplify the core output operations of channels. Reduce duplicative anddgp2014-02-043-586/+68
| | |\ \ \ | | | | | | | | | | | | dead code.