summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* 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
* * win/tcl.m4: Applied patch by Jeff fixing issues with theandreas_kupries2010-08-312-4/+8
| | | | | manifest handling on Win64. * win/configure: Regenerated.
* [Freq 2965056]: Windows build with -DUNICODEnijtmans2010-08-309-29/+46
|
* * win/Makefile.in (VC_MANIFEST_EMBED_DLL VC_MANIFEST_EMBED_EXE):hobbs2010-08-274-3/+123
| | | | | | | * 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+.
* [Patch #2994165] Change signature of Tcl_FSGetNativePath and TclpDeleteFilenijtmans2010-08-141-10/+11
|
* * win/Makefile.in, win/makefile.bc, win/makefile.vc, win/tcl.dsp:hobbs2010-08-046-319/+14
| | | | | | | * 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.
* * win/tclWin32Dll.c (TclWinInit): hard-enforce Windows 9x as anhobbs2010-08-041-7/+10
| | | | | | 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/tclWin32Dll.c (asciiProcs, unicodeProcs):hobbs2010-08-043-8/+10
| | | | | | * 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.
* * win/Makefile.in (%.${OBJEXT}): better implicit rules supporthobbs2010-08-041-2/+2
|
* [Bug #3020677] wish can't link reg1.2nijtmans2010-07-011-4/+4
| | | | formatting, spacing, cleanup unused variables
* [Bug 3019634] errno.h and tclWinPort.h have conflicting definitions.nijtmans2010-06-241-92/+115
|
* Simplify Tcl_AppInit and *_Init definitions.nijtmans2010-06-161-2/+2
| | | | | | Change TclpThreadCreate and Tcl_CreateThread signature, making clear that "proc" is a function pointer, as in all other "proc" function parameters.
* * library/platform/platform.tcl: Added OSX Intel 64bitandreas_kupries2010-06-091-3/+3
| | | | | | * library/platform/pkgIndex.tcl: Package updated to version 1.0.9. * unix/Makefile.in: * win/Makefile.in:
* remove some "BUILD_tcloo" leftoversnijtmans2010-06-021-1/+1
|
* Unnecessary type casts, See Tcl [Patch #2997087]nijtmans2010-05-118-30/+25
| | | | Don't duplicate CYGWIN timezone #define from tclPort.h in tclWinPort.h
* * library/platform/platform.tcl: Fix cpu name for Solaris/Intel 64bit.andreas_kupries2010-05-071-3/+3
| | | | | | * library/platform/pkgIndex.tcl: Package updated to version 1.0.8. * unix/Makefile.in: * win/Makefile.in: