| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| | |
Tcl_PosixError).
|
| |
| |
| | |
rest of Tcl source code. No ABI change. API change *should* be harmless.
|
|\ \
| |/
| | |
cause more harm than good. Purged them (except in zlib files).
|
| |\
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | |
| | |
| | |
| | | |
and internal co-thread access of a socket's structure because of
the thread not using the socketListLock in TcpAccept(). Added
documentation on how the module works to the top.
|
| | |
| | |
| | |
| | | |
"late exit handlers" for similar late process-wide cleanups.
|
| | |
| | |
| | |
| | | |
(EOF).
|
| | |
| | |
| | |
| | | |
set hostname length appropriately, clean up check overall.
|
| | |
| | |
| | |
| | |
| | |
| | | |
[info hostname] value from the system encoding to Tcl's internal
encoding. This is important now that ICANN no longer limits host
names to ASCII. [Bug 1823552]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* win/nmakehlp.c: MSVC8 and AMD64 target. Backport from 8.5
* win/rules.vc:
* generic/tcl.h: Fixed stat definition for MSVC8 AMD64.
* win/tclWinSock.c: Casting type police.
* win/tclWinTime.c:
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
TclpFinalizeSockets() and not over the thread-exit handler,
because the order of actions the Tcl generic core will
impose may result in cores/hangs if the thread exit handler
tears down socket subsystem too early (See Tcl Bug #1437595).
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclDecls.h: Regenerated from tcl.decls.
* generic/tclStubInit.c:
* doc/CrtChannel.3: Documentation of extended API,
* generic/tcl.decls: extended testsuite, and
* generic/tcl.h: implementation. Removal of old
* generic/tclIO.c: driver-specific TclpCut/Splice
* generic/tclInt.h: functions. Replaced with generic
* tests/io.test: thread-action calls through the
* unix/tclUnixChan.c: new hooks. Update of all builtin
* unix/tclUnixPipe.c: channel drivers to version 4.
* unix/tclUnixSock.c: Windows drivers extended to
* win/tclWinChan.c: manage thread state in a thread
* win/tclWinConsole.c: action handler.
* win/tclWinPipe.c:
* win/tclWinSerial.c:
* win/tclWinSock.c:
* mac/tclMacChan.c:
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(SocketThreadExitHandler): Don't call TerminateThread when
WaitForSingleObject returns a timeout. Tcl_Finalize called from
DllMain will pause all threads. Trust that the thread will get
the close notice at a later time if it does ever wake up before
being cleaned up by the system anyway.
(SocketEventProc) : connect errors should fire both the readable
and writable handlers because this is how it works on UNIX
[Bug 794839]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
asked for writable events by the generic layer.
(SocketEventProc): Generate a writable event too when a close is
detected.
Together the changes fix [Bug 599468].
|
| | |
| | |
| | |
| | |
| | |
| | | |
and internal co-thread access of a socket's structure because of
the thread not using the socketListLock in TcpAccept(). Added
documentation on how the module works to the top.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
backported from HEAD. Still
configure script not modified,
so CYGWIN build is still
disabled. Reason: although the
build succeeds with those changes,
many tests still fail.
|
| | |
| | |
| | |
| | | |
"late exit handlers" for similar late process-wide cleanups.
|
| | |
| | |
| | |
| | | |
(EOF).
|
| | |
| | |
| | |
| | | |
e.g. by using full 64-bits for socket fd's
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* unix/tclUnixSock.c (CreateClientSocket): local and remote
addresses, so that the system's address preference for the remote
side decides which family gets tried first. Cleanup and clarify
some of the comments.
|
| | |
| | |
| | |
| | | |
TclWin(Get|Set)SockOpt to SOCKET, because on Win64 those are 64-bit, which does not fit.
|
| | |
| | |
| | |
| | | |
* win/tclWinSock.c (TcpGetOptionProc): NULL (a legal situation).
|
| | | |
|
| | |
| | |
| | |
| | | |
Fix some MSVC 6.0 warnings
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
[fconfiguyre] commands.
* generic/tclInt.h: Introduce TclCreateSocketAddress() as a
* generic/tclIOSock.c: replacement for the platform-dependent
* unix/tclUnixSock.c: TclpCreateSocketAddress() functions.
* unix/tclUnixChan.c: Extend the [socket] and [fconfigure]
* unix/tclUnixPort.h: commands to behave as proposed in
* win/tclWinSock.c: TIP #162.
* win/tclWinPort.h:
* compat/fake-rfc2553.c: A compat implementation of the APIs
* compat/fake-rfc2553.h: defined in RFC-2553 (getaddrinfo() and
friends) on top of the existing
gethostbyname() etc.
* unix/configure.in: Test whether the fake-implementation is
* unix/tcl.m4: needed.
* unix/Makefile.in: Add a compile target for fake-rfc2553.
* win/configure.in: Allow cross-compilation by default
* tests/socket.test: Improve the test suite to make more use of
* tests/remote.tcl: randomized ports to reduce interference with
tests running in parallel or other services
on the machine.
|
| | |
| | |
| | |
| | |
| | |
| | | |
and internal co-thread access of a socket's structure because of
the thread not using the socketListLock in TcpAccept(). Added
documentation on how the module works to the top.
|
| | |
| | |
| | |
| | | |
(no change in functionality)
|
| | | |
|
| | |
| | |
| | |
| | | |
Don't duplicate CYGWIN timezone #define from tclPort.h in tclWinPort.h
|
| | |
| | |
| | |
| | | |
Please see comments in [Freq 2965056] (2965056-1.patch).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Applied missing part of [Patch 2961556]
Change all tclWinProcs signatures to use
TCHAR* in stead of WCHAR*. This is meant
as preparation to make [Enh 2965056]
possible at all.
|
| | |
| | |
| | |
| | |
| | | |
and Tcl_WinTCharToUtf calls, needed
for mslu support.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* win/tclWinReg.c PDWORD_PTR
* win/tclWinThrd.c: Fix various minor gcc warnings.
* win/tclWinTime.c
* win/tclWinConsole.c Put channel type definitions
* win/tclWinChan.c in static const memory
* win/tclWinPipe.c
* win/tclWinSerial.c
* win/tclWinSock.c
* generic/tclIOGT.c
* generic/tclIORChan.c
* generic/tclIORTrans.c
* unix/tclUnixChan.c
* unix/tclUnixPipe.c
* unix/tclUnixSock.c
* unix/configure (regenerated with autoconf 2.59)
* tests/info.test: Make test independant from
tcltest implementation.
|
| | |
| | |
| | |
| | | |
not enabled yet, but at least it is a step in the right direction.
|
| | |
| | |
| | |
| | | |
handlers" for similar late process-wide cleanups.
|
| | | |
|
| | | |
|
|/ / |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
* win/tclWinSock.c: remove dyn loading of winsock, assume that it
is always available now.
|
| |
| |
| |
| |
| |
| | |
buffer length tracking. After gethostname() writes into a buffer,
convert only the written string to internal encoding, not the
whole buffer.
|
| |
| |
| |
| | |
hostname] value from the system encoding to Tcl's internal encoding.
|
| | |
|
| | |
|
| |
| |
| |
| | |
to afredd. [Bug 1518166]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* win/tclWinSock.c: to avoid creating invalid DString states.
* win/tclWinDde.c: Bump to version 1.3.2. [RFE 1366195]
* library/dde/pkgIndex.tcl:
* library/reg/pkgIndex.tcl: Bump to registry 1.1.6
* win/tclWinReg.c:
* win/configure.in: Bump package version numbers.
* win/configure: autoconf 2.59
|