| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
more accurate test for correct <intrin.h>
|
|
|
|
| |
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.
|
|
|
|
| |
for mingw-w64
|
| |
|
|
|
|
| |
Add netapi32 to the windows link line, so we no longer have to use LoadLibrary to access those functions.
|
|
|
|
| |
MSVC++
|
|
|
|
|
| |
Add -Wdeclaration-after-statement, so
this mistake cannot happen again.
|
|
|
|
|
|
|
|
|
| |
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++.
|
|
|
|
|
| |
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+.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
resolve the CYGWIN inclusion problems by
re-arranging the inclusions at other places.
Make cygwin configuration error into
a warning: CYGWIN compilation works
although there still are test failures.
|
|
|
|
|
|
|
|
|
|
|
| |
sure that Xxxxx_Init is always exported even when Tcl is built
static (otherwise we cannot create a DLL).
tclThreadTest.c: Make all functions static, except TclThread_Init.
fCmd.test Enable fCmd-30.1 when registry is available.
tcl.m4 Fix ${SHLIB_LD_LIBS} definition, fix conflicts
configure.in between static libraries and import library on windows.
configure (regenerated)
Makefile.in Simplifications related to tcl.m4 changes.
|
|
|
|
| |
get created with static Tcl build
|
|
|
|
|
| |
And modified the same for unicows.dll, as a
preparation for [Enh 2819611]
|
|
|
|
|
| |
avoid CC manipulation that can screw up later configure checks.
Use 'd'ebug runtime in 64-bit builds.
|
| |
|
|
|
|
| |
Improve autoconf magic on Unix and Win
|
|
|
|
|
| |
with msvc compiler. A few more 'const' optimizations.
fix Windows build (msvc) for TIP #234 implementation
|
|
|
|
|
|
| |
incompatible pointer type
reverted change from 2008-11-06 (was under the impression that
"-Wno-implicit-int" added an extra warning)
|
|
|
|
| |
eliminate an 'array index out of bounds' warning on HP-UX'
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/io.test (io-53.9): Made test cleanup robust against
the possibility of slow process shutdown on Windows.
* win/tcl.m4: Added -D_CRT_SECURE_NO_DEPRECATE and
-DCRT_NONSTDC_NO_DEPRECATE to the MSVC compilation flags
so that the compilation doesn't barf on perfectly reasonable
Posix system calls.
* win/configure: Manually patched (don't have the right autoconf
to hand).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h:
* library/init.tcl:
* macosx/Tcl-Common.xcconfig:
* macosx/Tcl.pbproj/default.pbxuser:
* macosx/Tcl.pbproj/project.pbxproj:
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/README:
* win/configure.in:
* win/makefile.bc:
* win/tcl.m4:
* unix/configure: autoconf-2.59
* win/configure:
* generic/tclBasic.c: Revised stubs-generation tool and interp
* tools/genStubs.tcl: creation so that "tclStubsPtr" is not present
* unix/Makefile.in: in libtcl.so, but is present only in
libtclstub.a. This tightens up the rules for users of the stubs
interfaces. [Bug 1819422]
* generic/tclDecls.h: make genstubs
* generic/tclIntDecls.h:
* generic/tclIntPlatDecls.h:
* generic/tclPlatDecls.h:
* generic/tclTomMathDecls.h:
|
|
|
|
| |
-loleaut32 but not msvc for Tk's [send]. [Bug 1844749]
|
| |
|
|
|
|
|
| |
* win/tclWinSock.c: remove dyn loading of winsock, assume that it
is always available now.
|
|
|
|
|
| |
This was removed from unix/tcl.m4 2004-07-16 but not from here.
* win/configure: Regenerated.
|
| |
|
|
|
|
|
|
|
| |
* 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/tcl.m4, win/configure: CE still requires C code fixes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH):
* win/configure: Regen.
* 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]
Align LIBS_GUI with Tk head needs.
|
| |
|
|
|
|
|
|
| |
* 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 (SC_ENABLE_SYMBOLS): Use test instead
of -eq, which does not work. [Bug 781109]
|
|
|
|
|
|
|
|
|
| |
* win/configure: Now committing the remaining changes.
* win/configure.in: Note: In active contact with Helmut Giese
* win/makefile.vc: about the borland relatedchanges. This part
* win/rules.vc: will see future updates.
* win/tcl.m4:
* win/makefile.bc:
|
|
|
|
|
|
|
|
|
|
|
| |
* win/configure.in: Set stub lib flag based
on new LIBFLAGSUFFIX variable.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Set new
LIBFLAGSUFFIX that works like LIBSUFFIX,
it is used when creating library names.
The previous implementation would generate
-ltclstub85 instead of -ltclstub85s when
configured with --disable-shared.
|
|
|
|
| |
fix that was made in tk instead of tcl sources.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h: Tcl to 8.5a0.
* library.init.tcl:
* mac/README:
* macosx/Tcl.pbproj/project.pbxproc:
* tests/basic.test:
* tools/configure.in:
* tools/tcl.hpj.in:
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/README:
* win/README.binary:
* win/configure.in:
* win/makefile.bc:
* win/makefile.vc:
* win/tcl.m4:
* tools/configure: autoconf
* unix/configure:
* win/configure:
|
|
|
|
|
|
|
|
|
| |
* win/tcl.m4 (SC_CONFIG_CFLAGS): Set SHLIB_SUFFIX
so that TCL_SHLIB_SUFFIX will be set to a useful
value in the generated tclConfig.sh.
Set SHLIB_LD_LIBS to "" or '${LIBS}' based on
the --enable-shared flag. This matches the
UNIX implementation.
|
|
|
|
|
|
|
| |
* win/tcl.m4 (SC_CONFIG_CFLAGS): Pull in
addition of shell32.lib to LIBS_GUI that
was added to the Tk tcl.m4 but never made
it back into the Tcl version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SHORT, and LONG when HAVE_WINNT_IGNORE_VOID
is defined. This avoids a bunch of compiler
warnings when building with Cygwin or Mingw.
* win/configure: Regen.
* win/configure.in: Define HAVE_WINNT_IGNORE_VOID
when we detect a winnt.h that still defines
CHAR, SHORT, and LONG when VOID has already
been defined.
* win/tcl.m4 (SC_LOAD_TCLCONFIG): Subst the
TCL_DEFS loaded from tclConfig.sh so that
Tcl defines can make it into the Tk Makefile.
|
|
|
|
|
|
|
| |
* win/configure: regen
* win/configure.in: removed SC_ENABLE_MEMDEBUG call
* win/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent
SC_ENABLE_SYMBOLS that takes yes|no|mem|compile|all as options now.
|
|
|
|
| |
* win/tcl.m4 (SC_CONFIG_CFLAGS): problem. [Patch #624010] (howell)
|
|
|
|
|
| |
* win/tcl.m4: enable USE_THREAD_ALLOC (new threaded allocator) by
default in cygwin configure on Windows.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.in: Allow Cygwin build.
(SEH test): Define to be 1 instead of empty value.
(EXCEPTION_DISPOSITION): Add test.
* win/configure: Regenerate.
* generic/tcl.h: Don't explicitly define __WIN32__ for Cygwin, let
the user decide whether to use Windows or POSIX personality.
(TCL_WIDE_INT_TYPE, TCL_LL_MODIFIER, struct Tcl_StatBuf): Define
for Cygwin.
* generic/tclEnv.c (Tcl_CygwinPutenv): putenv replacement for
Cygwin.
* generic/tclFileName.c (Tcl_TranslateFileName): Convert POSIX
to native format.
(TclDoGlob): Likewise.
* generic/tclPlatDecls.h (TCHAR): Define for Cygwin.
* win/tclWinPort.h (putenv, TclpSysAlloc, TclpSysFree,
TclpSysRealloc): Define for Cygwin.
|