| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
|
|
|
| |
platforms >win95
|
| |
|
|
|
|
| |
by install-tzdata. Temporary don't compile this with -DUNICODE, while investigating this bug.
|
|
|
|
| |
supported versions of compilers should now have it.
|
|
|
|
| |
Eliminate dynamical loading of advapi23 and kernal32 symbols.
|
|
|
|
| |
(no change in functionality)
|
| |
|
|
|
|
|
|
|
|
|
| |
Remove ascii variant of tkWinPocs table,
it is no longer necessary. Fix CreateProcess
signature and remove unused GetModuleFileName and lstrcpy
mingw/cygwin fixes: <tchar.h> should always
be included, and fix conflict in various macro values: Always force
the same values as in VC++.
|
|
|
|
|
| |
* win/tclWinFCmd.c: mingw on amd64 systems. Thanks to "mescalinum"
for reporting and testing. [Bug 3059922]
|
|
|
|
| |
Typo in rules.vc
|
|
|
|
|
| |
manifest handling on Win64.
* win/configure: Regenerated.
|
| |
|
|
|
|
|
|
|
| |
* win/configure, win/configure.in, win/tcl.m4: SC_EMBED_MANIFEST
macro and --enable-embedded-manifest configure arg added to
support manifest embedding where we know the magic. Help prevents
DLL hell with MSVC8+.
|
| |
|
|
|
|
|
|
|
| |
* win/tclWinPipe.c (TclpCreateProcess):
* win/stub16.c (removed): removed Win9x tclpip8x.dll build and
16-bit application loader stub support. Win9x is no longer
supported.
|
|
|
|
|
|
| |
unsupported platform with a panic. Code to support it still
exists in other files (to go away in time), but new APIs are being
used that don't exist on Win9x.
|
|
|
|
|
|
| |
* win/tclWinLoad.c (TclpDlopen): 'load' use LoadLibraryEx with
* win/tclWinInt.h (TclWinProcs): LOAD_WITH_ALTERED_SEARCH_PATH to
prefer dependent DLLs in same dir as loaded DLL.
|
| |
|
|
|
|
| |
formatting, spacing, cleanup unused variables
|
| |
|
|
|
|
|
|
| |
Change TclpThreadCreate and Tcl_CreateThread
signature, making clear that "proc" is a function
pointer, as in all other "proc" function parameters.
|
|
|
|
|
|
| |
* library/platform/pkgIndex.tcl: Package updated to version 1.0.9.
* unix/Makefile.in:
* win/Makefile.in:
|
| |
|
|
|
|
| |
Don't duplicate CYGWIN timezone #define from tclPort.h in tclWinPort.h
|
|
|
|
|
|
| |
* library/platform/pkgIndex.tcl: Package updated to version 1.0.8.
* unix/Makefile.in:
* win/Makefile.in:
|