Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | | | | | | | | 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. | |||||
| * | | | | | | | | | | 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 | |||||
| * | | | | | | | | | | * tclUnixSock.c: Fix WaitForConnect() for client sockets that have to try ↵ | max | 2014-03-10 | 2 | -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 ↵ | 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 | 2 | -53/+46 | |
| | | | | | | | | | | | ||||||
| * | | | | | | | | | | 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 | 2 | -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 trunk | max | 2014-02-26 | 75 | -2213/+4113 | |
| |\ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / | | |/| | | | | | | | | ||||||
| | * | | | | | | | | | [8d5f5b8034] Flush internal representations in [string tolower] of unshared obj | dkf | 2014-02-25 | 2 | -0/+12 | |
| | | | | | | | | | | | ||||||
| | * | | | | | | | | | 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 | |||||
| | * | | | | | | | | | | [3597178]: Improve documentation of what's going on with encodings | dkf | 2014-02-23 | 2 | -11/+51 | |
| | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | [1230597] Update test comment. | dgp | 2014-02-19 | 1 | -1/+1 | |
| | |\ \ \ \ \ \ \ \ \ \ | ||||||
| | * | | | | | | | | | | | [9bf7e67b37]: minor documentation blooper | dkf | 2014-02-16 | 1 | -1/+1 | |
| | | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | | typo | jan.nijtmans | 2014-02-12 | 2 | -2/+2 | |
| | |\ \ \ \ \ \ \ \ \ \ \ | ||||||
| | * | | | | | | | | | | | | Fix execute permission bit (should not be set) for *Decls.h files | jan.nijtmans | 2014-02-11 | 5 | -0/+0 | |
| | | | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | | | Eliminate all usage of WIN32 and __WIN32__ macros: Some compilers (e.g. ↵ | jan.nijtmans | 2014-02-10 | 21 | -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 suppress | dgp | 2014-02-06 | 3 | -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. | |||||
| | * \ \ \ \ \ \ \ \ \ \ \ \ | check for existance of __BORLANDC__ before using its value | jan.nijtmans | 2014-02-06 | 1 | -1/+1 | |
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ | Satisfy required position of __stdcall from VC++ | jan.nijtmans | 2014-02-04 | 2 | -4/+4 | |
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Add missing __stdcall (which crashes on win32), and clean-up indenting | jan.nijtmans | 2014-02-04 | 2 | -20/+22 | |
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | Simplify the core output operations of channels. Reduce duplicative and dead ↵ | dgp | 2014-02-04 | 3 | -591/+68 | |
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | code. | |||||
| | * | | | | | | | | | | | | | | | | | make the printing of source much less inclined to be fazed by non-ASCII chars | dkf | 2014-02-04 | 1 | -4/+22 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | | | | | | | | [971cb4f1db]: Make debugging traces less inclined to serious visual corruption | dkf | 2014-02-04 | 1 | -4/+24 | |
| | | | | | | | | | | | | | | | | | | | ||||||
| | * | | | | | | | | | | | | | | | | | Fix [651e828a52]: Wrong Windows version reported for Windows 8.1 | jan.nijtmans | 2014-02-03 | 2 | -11/+36 | |
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | add compilation of [string is] | dkf | 2014-02-02 | 7 | -4/+417 | |
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | compilation of [string is]dkf_bytecode_8_6 | dkf | 2014-02-02 | 7 | -4/+417 | |
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| | | | * | | | | | | | | | | | | | | | | | | improve the disassemblydkf_bytecode_8_6_string_is | dkf | 2014-02-02 | 2 | -2/+8 | |
| | | | | | | | | | | | | | | | | | | | | | |