| Commit message (Collapse) | Author | Age | Files | Lines |
|\ \ |
|
| |/ |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
e.g. by using full 64-bits for socket fd's
|
| |
| |
| |
| | |
more accurate test for correct <intrin.h>
|
| | |
|
| |
| |
| |
| | |
Reported by andreask.
|
| |
| |
| |
| | |
environments.
|
| | |
|
| | |
|
| |
| |
| |
| | |
MSVC has it.
|
| |
| |
| |
| | |
Fixed for gcc, not yet for MSVC 64-bit.
|
| |
| |
| |
| | |
Better communication with debugger, if present.
|
| |
| |
| |
| | |
[Patch 3124554] use ExitProcess() here, like in wish.
|
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| | |
Undocumented feature, see [Patch 3124554]: Move WishPanic from Tk to Tcl.
|
| |
| |
| |
| | |
TclWin(Get|Set)SockOpt to SOCKET, because on Win64 those are 64-bit, which does not fit.
|
| |
| |
| |
| |
| |
| | |
silence gcc warning for non-IEEE platforms
[Patch #3116490] cross-compile Tcl mingw32 on unix.
This makes it possible to cross-compile Tcl/Tk for Windows (either 32-bit or 64-bit) out-of-the-box on UNIX, using mingw-w64 build tools.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tclInt.decls:
* generic/tclInt.h:
* generic/tclStrToD.c:
* generic/tclTest.c:
* generic/tclTomMath.decls:
* generic/tclUtil.c:
* tests/util.test:
* unix/Makefile.in:
* win/Makefile.in:
* win/makefile.vc: Rewrite of Tcl_PrintDouble and TclDoubleDigits
that (a) fixes a severe performance problem with floating point
shimmering reported by Karl Lehenbauer, (b) allows TclDoubleDigits
to generate the digit strings for 'e' and 'f' format, so that it
can be used for tcl_precision != 0 (and possibly later for [format]),
(c) fixes [Bug 3120139] by making TclPrintDouble inherently
locale-independent, (d) adds test cases to util.test for
correct rounding in difficult cases of TclDoubleDigits where fixed-
precision results are requested. (e) adds test cases to util.test for
the controversial aspects of [Bug 3105247]. As a side effect, two
more modules from libtommath (bn_mp_set_int.c and bn_mp_init_set_int.c)
are brought into the build, since the new code uses them.
|
| | |
|
| |
| |
| |
| | |
this resolves compiler warnings in 64-bit and static builds.
|
| |
| |
| |
| |
| | |
now implemented for cygwin and mingw32 too.
No longer disable tests Tcl_Main-1.4 and 1.6 on Windows, because those now work on all supported platforms.
|
| |
| |
| |
| | |
for mingw-w64
|
| |
| |
| |
| | |
mingw32 build!)
|
| | |
|
| | |
|
| |
| |
| |
| | |
Tcl on MSVC++
|
| |
| |
| |
| | |
(more clean-ups for pre-win2000 stuff)
|
| |
| |
| |
| | |
* win/tclWinSock.c (TcpGetOptionProc): NULL (a legal situation).
|
| | |
|
| | |
|
| |
| |
| |
| | |
Fix some MSVC 6.0 warnings
|
| | |
|
| |
| |
| |
| | |
Add netapi32 to the windows link line, so we no longer have to use LoadLibrary to access those functions.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
[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.
|
| |
| |
| |
| | |
as Tcl_SetVar.
|
| |
| |
| |
| | |
Many clean-ups in comments.
|
| |
| |
| |
| | |
MSVC++
|
| | |
|
| |
| |
| |
| |
| | |
Add -Wdeclaration-after-statement, so
this mistake cannot happen again.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* tclAssembly.h: to use a Tcl-like syntax (and use
* tests/assemble.test: Tcl_ParseCommand to parse it). The
* tests/assemble1.bench: refactoring also ensures that
Tcl_Tokens in the assembler have string ranges inside the source
code, which allows for [eval] and [expr] assembler directives
that simply call TclCompileScript and TclCompileExpr recursively.
|