summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* This is [Patch 3168398], Joe Mistachkin's optimisation of Tip #285mig2011-03-011-3/+3
|
* Fix various gcc-4.5.2 64-bit warning messages,nijtmans2011-01-259-66/+51
| | | | e.g. by using full 64-bits for socket fd's
* handle --enable-64bit=ia64 for gccnijtmans2011-01-123-45/+58
| | | | more accurate test for correct <intrin.h>
* VS 2005 64-bit does not have intrin.h, and does not need it.nijtmans2011-01-121-2/+2
|
* Use _vsnprintf in stead of vsnprintf, because MSVC 6 doesn't have it. ↵nijtmans2011-01-121-2/+2
| | | | Reported by andreask.
* [Patch 3059922]: fixes for mingw64 - gcc4.5.1 tdm64-1: completed for all ↵nijtmans2010-12-211-3/+18
| | | | environments.
* cannot use '['/']' in configure.in, or re-generation will go wrongnijtmans2010-12-212-5/+3
|
* fix cpuid determinationnijtmans2010-12-202-4/+4
|
* Explicitely test for intrinsics support in compiler, before assuming only ↵nijtmans2010-12-202-1/+97
| | | | MSVC has it.
* [Patch 3124554]: fixes for mingw64 - gcc4.5.1 tdm64-1:nijtmans2010-12-191-5/+36
| | | | Fixed for gcc, not yet for MSVC 64-bit.
* [Patch 3124554]: Move WishPanic from Tk to Tclnijtmans2010-12-161-14/+12
| | | | Better communication with debugger, if present.
* Restore abort() in Tcl_Panic() as it was before.nijtmans2010-12-151-2/+9
| | | | [Patch 3124554] use ExitProcess() here, like in wish.
* * win/tclWinSock.c (CreateSocket): Swap the loops overrmax2010-12-141-5/+5
| | | | | | | * 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.
* Use gcc's __builtin_trap(), when available, to enter the debugger after a panic.nijtmans2010-12-131-4/+49
| | | | Undocumented feature, see [Patch 3124554]: Move WishPanic from Tk to Tcl.
* Change first parameter of TclSockMinimumBuffers to ClientData, and ↵nijtmans2010-12-104-15/+323
| | | | TclWin(Get|Set)SockOpt to SOCKET, because on Win64 those are 64-bit, which does not fit.
* silence gcc warning when using -Wwrite-stringsnijtmans2010-12-034-20/+35
| | | | | | 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.
* 2010-11-29 Kevin B. Kenny <kennykb@acm.org>Kevin B Kenny2010-11-282-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* fix gcc warnings: unused variable 'registration'nijtmans2010-11-193-7/+7
|
* Set NO_VIZ=1 when zlib is compiled in libtcl,nijtmans2010-11-182-1/+6
| | | | this resolves compiler warnings in 64-bit and static builds.
* [FRQ 491789]: "setargv() doesn't support a unicode cmdline"nijtmans2010-11-181-43/+51
| | | | | 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.
* [FRQ 491789]: "setargv() doesn't support a unicode cmdline" now implemented ↵nijtmans2010-11-172-2/+86
| | | | for mingw-w64
* Bring compilation under mingw-w64 a bit closer to reality (but don't break ↵nijtmans2010-11-171-3/+3
| | | | mingw32 build!)
* [Bug #3110161]: Extensions using TCHAR don't compile on VS2005 SP1nijtmans2010-11-161-1/+5
|
* Bring compilation under mingw-w64 a bit closer to realitynijtmans2010-11-164-32/+39
|
* [FRQ 491789]: "setargv() doesn't support a unicode cmdline" implemented for ↵nijtmans2010-11-045-11/+21
| | | | Tcl on MSVC++
* [FRQ 2965056]: Windows build with -DUNICODEnijtmans2010-11-033-40/+20
| | | | (more clean-ups for pre-win2000 stuff)
* * unix/tclUnixSock.c (TcpGetOptionProc): Prevent crash if interp isdkf2010-10-261-2/+3
| | | | * win/tclWinSock.c (TcpGetOptionProc): NULL (a legal situation).
* Add support for ::tcl::unsupported::noReverseDNSrmax2010-10-261-4/+9
|
* tclWinThrd.h: (removed) because it is just empty en used nowherenijtmans2010-10-132-25/+0
|
* Eliminate many tclWinProcs-> indirect calls, which are no longer needed.nijtmans2010-10-127-233/+186
| | | | Fix some MSVC 6.0 warnings
* Update for VS10nijtmans2010-10-111-2/+4
|
* [FRQ 2965056]: Windows build with -DUNICODEnijtmans2010-10-117-416/+164
| | | | Add netapi32 to the windows link line, so we no longer have to use LoadLibrary to access those functions.
* re-generate configure with autoconf-2.59nijtmans2010-09-291-33/+143
|
* * doc/socket.n: Document the changes to the [socket] and rmax2010-09-283-200/+325
| | | | | | | | | | | | | | | | | | | | | | | | | | | [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.
* * tclWinsock.c: [Bug 3056775]: Fixed race condition between threadandreas_kupries2010-09-241-1/+47
| | | | | | 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.
* Make Tcl_SetPanicProc and Tcl_GetStringResult callable without stubs, just ↵nijtmans2010-09-231-2/+2
| | | | as Tcl_SetVar.
* Make compilable with -DUNICODE (not actived yet)nijtmans2010-09-231-74/+89
| | | | Many clean-ups in comments.
* Add kernel32 to LIBS, so the link line for mingw is exactly the same as for ↵nijtmans2010-09-222-2/+2
| | | | MSVC++
* [Bug 3069278]: Breakage on head Windows triggered by install-tzdata, final fixnijtmans2010-09-212-17/+9
|
* Fix declaration after statement.nijtmans2010-09-213-4/+5
| | | | | Add -Wdeclaration-after-statement, so this mistake cannot happen again.
* Eliminate tclWinProcs->useWide everywhere, since the value is always "1" on ↵dogeen_assembler_splitnijtmans2010-09-203-189/+54
| | | | platforms >win95
* Oops, didn't mean to check in this file.nijtmans2010-09-181-15/+7
|
* [Bug 3069278]: breakage on head Windows triggerednijtmans2010-09-182-12/+26
| | | | by install-tzdata. Temporary don't compile this with -DUNICODE, while investigating this bug.
* * win/tclWinFile.c: remove define of FINDEX_INFO_LEVELS as allhobbs2010-09-161-23/+1
| | | | supported versions of compilers should now have it.
* Allow all Win2000+ API entries in Tclnijtmans2010-09-142-110/+69
| | | | Eliminate dynamical loading of advapi23 and kernal32 symbols.
* Various clean-ups, converting from tclWinProc->xxxProc directly to Xxxnijtmans2010-09-136-33/+31
| | | | (no change in functionality)
* Partly revert yesterday's change, to make it work on VC++ 6.0 again.nijtmans2010-09-101-22/+74
|
* mingw should always link with -ladvapi32nijtmans2010-09-097-292/+80
| | | | | | | | | 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/tclWinChan.c: #ifdef protections to permit builds withdgp2010-09-082-25/+34
| | | | | * win/tclWinFCmd.c: mingw on amd64 systems. Thanks to "mescalinum" for reporting and testing. [Bug 3059922]
* [Patch 2997642] many type casts needed when using Tcl_Pkg* API. Remaining part.nijtmans2010-08-311-2/+2
| | | | Typo in rules.vc