| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
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.
|
|
|
|
| |
for mingw-w64
|
| |
|
| |
|
|
|
|
|
| |
tkWinX.c,winMain.c: Make compilable with -DUNICODE
tkAppInit.c,winMain.c: Many clean-ups in comments, so all (tcl|tk)AppInit.c variants use the same style.
|
|
|
|
|
|
| |
mingw should always link with -ladvapi32
Remove ascii variant of tkWinPocs table,
it is no longer necessary.
|
|
|
|
|
| |
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+.
|
|
|
|
|
| |
[Bug 2982540] configure and install* script files
should always have LF
|
|
|
|
|
|
| |
make sure that TkpCmapStressed is exported
clean up unused Tk_CreatePhotoOption
Make more internal arrays "const"
|
|
|
|
|
|
|
| |
Eliminate use of __argc and __argv for CYGWIN
Make cygwin configuration error into
a warning: CYGWIN compilation works
although there still are test failures.
|
|
|
|
|
|
| |
routines MODULE_SCOPE
copy win/tcl.m4 from Tcl (latest) to Tk
and regenerate win/configure
|
|
|
|
|
| |
win/tcl.m4 Should have been checked in together with
the 2009-08-09 check in of "win/configure"
|
| |
|
|
|
|
|
| |
avoid CC manipulation that can screw up later configure checks.
Use 'd'ebug runtime in 64-bit builds.
|
|
|
|
| |
"-Wno-implicit-int" added an extra warning)
|
|
|
|
|
| |
Use tkUnixDefault.h under CygWin. With this change,
at least the X11 version of Tk can be built with cygwin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h:
* library/tk.tcl:
* macosx/Wish-Common.xcconfig:
* unix/configure.in:
* unix/tk.spec:
* win/README:
* win/configure.in:
* win/tcl.m4:
* unix/configure: autoconf-2.59
* win/configure:
* generic/tkConsole.c: Relax Tcl_InitStubs() calls so that a Tk 8.6
* generic/tkMain.c: might [load] into a Tcl 8.5 interp.
* generic/tkWindow.c:
* generic/tkStubLib.c: Update to compatibility with a libtcl.so
that contains no "tclStubsPtr" [Tcl Bug 1819422].
* generic/tkDecls.h: make genstubs
* generic/tkIntDecls.h:
* generic/tkIntPlatDecls.h:
* generic/tkIntXlibDecls.h:
* generic/tkPlatDecls.h:
|
|
|
|
| |
-loleaut32 but not msvc for Tk's [send]. [Bug 1844749]
|
|
|
|
| |
(LIBS): add ws2_32.lib for static builds with Tcl.
|
|
|
|
|
| |
This was removed from unix/tcl.m4 2004-07-16 but not from here.
* win/configure: Regenerated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkMain.c: version, now using full patchlevel instead of
* generic/tkWindow.c: major.minor
* library/tk.tcl:
* unix/configure:
* unix/Makefile.in:
* unix/tcl.m4:
* win/configure:
* win/Makefile.in:
* win/makefile.vc:
* win/rules.vc:
* win/tcl.m4:
|
| |
|
|
|
|
|
|
|
| |
* win/tcl.m4 (SC_CONFIG_CFLAGS): Define MACHINE
for gcc builds. The lack of a definition of this
variable in the manifest file was causing a
runtime error in wish built with gcc.
|
|
|
|
|
|
|
|
|
| |
* win/configure: --enable-64bit now accepts =amd64|ia64 for
* win/Makefile.in: Windows 64-bit build variants (default: amd64)
* win/makefile.vc: [Bug 1369597]
* win/configure.in: Add CE build support (some C code fixes needed)
* win/wish.exe.manifest.in (new): manifest must map in MACHINE
* win/rc/wish.exe.manifest (removed): and VERSION to be correct.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/configure: Regen.
* unix/configure.in: Update minimum autoconf version
to 2.59. Invoke SC_PROG_TCLSH and SC_BUILD_TCLSH.
* unix/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH):
* win/Makefile.in: Subst BUILD_TCLSH and TCL_EXE.
* win/configure: Regen.
* win/configure.in: Update minimum autoconf version
to 2.59. Invoke SC_BUILD_TCLSH.
* win/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH):
Split confused search for tclsh on PATH and
build and install locations into two macros.
SC_PROG_TCLSH searches just the PATH.
SC_BUILD_TCLSH determines the name of the tclsh
executable in the Tcl build directory.
[Tcl bug 1160114]
[Tcl patch 1244153]
|
|
|
|
| |
allow msys alone as an alternative.
|
|
|
|
|
|
| |
-Gs (included in -O2) and -GD (outdated). Use "link -lib" instead
of "lib" binary and remove -YX for MSVC7 portability. Add
-fomit-frame-pointer for gcc OPT compiles. [Bug 1092952, 1091967]
|
|
|
|
| |
* win/tcl.m4: add necessary ole libs to VC LIBS_GUI line.
|
|
|
|
|
|
|
|
| |
* win/configure:
* win/Makefile.in:
* win/tkWinSend.c: Clean up some warnings from gcc -Wall.
* win/tkWinSendCom.c:
|
|
|
|
|
|
| |
* win/tcl.m4: removed incorrect checks for existence of
optimization. TCL_CFG_OPTIMIZED is now defined whenever the user
does not build with --enable-symbols.
|
|
|
|
|
| |
* win/tcl.m4: Update from Tcl to fix
Tcl bug 781109.
|
|
|
|
|
|
|
| |
* win/configure.in: Set stub lib flag based
on new LIBFLAGSUFFIX variable.
* win/tcl.m4: Update from Tcl to get new
LIBFLAGSUFFIX variable.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for a detailed explanation of why this is good.
This will no doubt break the build on some
platforms, let the flaming begin.
* unix/configure: Regen with autoconf 2.57.
* unix/configure.in: Require autoconf 2.57.
* unix/tcl.m4: Update from Tcl.
* win/configure: Regen with autoconf 2.57.
* win/configure.in: Require autoconf 2.57.
* win/tcl.m4: Update from Tcl.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tk.h: Tk to 8.5a0.
* library/tk.tcl:
* mac/README:
* macosx/Wish.pbproj/project.pbxproj:
* unix/README:
* unix/configure.in:
* unix/tk.spec:
* win/README:
* win/configure.in:
* win/makefile.vc:
* win/tcl.m4:
* unix/configure: autoconf
* win/configure:
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
so that compiler flags defined by Tcl get
passed to the compiler. Add empty rule
for cat.c so that Tk compiles under msys.
* win/configure: Regen.
* win/tcl.m4: Update from Tcl, this pulls
in a subst of TCL_DEFS, it also defines
USE_THREAD_ALLOC when threads are used
and it updates the SC_ENABLE_SYMBOLS
and SC_PROG_TCLSH macros to match the
ones used in Tcl.
|
|
|
|
|
|
|
|
| |
* win/tcl.m4 (SC_CONFIG_CFLAGS): Check for bug in Cygwin version
of windres and work around that case by passing a POSIX path
instead of a Windows native path. One can't always pass a POSIX
path because the mingw native toolchain accepts only Windows
native paths. (dejong)
|
|
|
|
| |
* win/tcl.m4: Add --enable-shared=mem support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added basic Cygwin support.
* win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build.
(SC_PATH_TKCONFIG): Likewise.
(SC_PROG_TCLSH): Likewise.
(SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin
flags. Add -mwin32 to extra_cflags and extra_ldflags.
Remove ``-e _WinMain@16'' from LDFLAGS_WINDOW.
* win/configure: Regenerate.
* win/tkWinPort.h (tchar.h): Do not include on Cygwin.
(_T): Define for Cygwin.
* win/winMain.c (main): Conditionally define.
|
|
|
|
|
| |
* win/tcl.m4: added shell32 to libs for updated native Windows
tk_chooseDirectory dialog.
|
|
|
|
|
|
|
| |
* win/tcl.m4: Enabled COFF as well as CV style debug info with
--enable-symbols to allow Dr. Watson users to see function info.
More info on debugging levels can be obtained at:
http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp
|
|
|
|
|
|
|
|
|
| |
* unix/configure: Regen.
* unix/configure.in: Don't subst vars that are already
taken care of in SC_LOAD_TCLCONFIG.
* unix/tcl.m4: Update from Tcl.
* win/configure: Regen.
* win/tcl.m4: Update from Tcl.
|
|
|
|
|
|
| |
* unix/tcl.m4: Update from Tcl.
* win/configure: Regen.
* win/tcl.m4: Update from Tcl.
|
|
|
|
|
| |
* win/tcl.m4: added shell32.lib to link libs, as these are
necessary for new directory chooser (when enabled).
|
|
|
|
|
|
|
| |
* win/configure.in: Don't AC_SUBST CFLAGS_DEBUG, CFLAGS_OPTIMIZE,
or CFLAGS_WARNING since it is now done in SC_CONFIG_CFLAGS.
* win/tcl.m4 (SC_CONFIG_CFLAGS): AC_SUBST DL_LIBS, CFLAGS_DEBUG,
CFLAGS_OPTIMIZE, and CFLAGS_WARNING.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* win/tcl.m4: fixed DLLSUFFIX definition to always be ${DBGX}.dll.
This is necessary for TEA compliant builds that build shared
against a static-built Tk.
* win/Makefile.in ($(WISH)): added $(TK_STUB_LIB_FILE) to build
target, otherwise it wouldn't get generated in a static build.
|