| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* win/configure.in: Add test that checks to
see if the compiler can cast to a union type.
* win/tclWinTime.c: Squelch compiler warning
about union initializer by casting to union
type when compiling with gcc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/configure.in: Define HAVE_ALLOCA_GCC_INLINE
when we detect that no alloca function is found
in malloc.h and we are compiling with GCC.
Remove HAVE_NO_ALLOC_DECL define.
* win/tclWin32Dll.c (TclpCheckStackSpace):
Don't define alloca as a cdecl function.
Doing this caused a tricky runtime bug because
the _alloca function expects the size argument
to be passed in a register and not on the stack.
To fix this problem, we use inline ASM when
compiling with gcc to invoke _alloca with the
size argument loaded into a register.
|
|
|
|
|
|
|
|
|
|
|
| |
* win/configure.in:
* win/tclWin32Dll.c (TclpCheckStackSpace): Rework
the SEH exception handler logic to avoid using
the stack since alloca will modify the stack.
This was causing a nasty bug that would set the
exception handler to 0 because it tried to pop
the previous exception handler off the top of
the stack.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.in: Check for typedefs like LPFN_ACCEPT
in winsock2.h and define HAVE_NO_LPFN_DECLS if not found.
* win/tclWinSock.c: Define LPFN_* typedefs if
HAVE_NO_LPFN_DECLS is defined. This fixes the build
under Mingw and Cygwin, it was broken by the changes
made on 2002-11-26.
|
|
|
|
|
|
|
| |
* win/configure.in: the 8.4.1.1 patchlevel.
* unix/configure: autoconf
* win/configure autoconf
|
|
|
|
|
|
|
|
|
| |
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Generate a fatal
configure error if no ar program can be found on the
path. [Bug #582039]
* win/configure: Regen.
* win/configure.in: Check that AR, RANLIB, and RC
are found on the path when building with gcc.
|
|
|
|
|
|
|
| |
* 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/configure:
* win/configure.in:
* win/Makefile.in:
* win/makefile.vc:
* win/makefile.bc: Updated to reg1.1
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h: of CVS snapshots with the actual 8.4.0
* tools/tcl.wse.in: release.
* unix/configure.in:
* unix/tcl.spec:
* win/configure.in:
* unix/configure: autoconf
* win/configure:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* unix/Makefile.in (MEM_DEBUG_FLAGS): Added usage of @MEM_DEBUG_FLAGS@.
* win/configure.in:
* unix/configure.in: Added usage of SC_ENABLE_MEMDEBUG.
* win/tcl.m4:
* unix/tcl.m4: Added macro SC_ENABLE_MEMDEBUG. Allows a user of
configure to (de)activate memory validation and debugging
(TCL_MEM_DEBUG). No need to modify the makefile anymore.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h: HEAD from the 8.4b2 release.
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/README.binary:
* win/configure.in:
* unix/configure: autoconf
* win/configure:
* library/http/http.tcl: Corrected installation directory of
* library/msgcat/msgcat.tcl: the package tcltest 2.2. Added
* library/opt/optparse.tcl: comments in other packages to remind
* library/tcltest/tcltest.tcl: that installation directories need
* unix/Makefile.in: updates to match increasing version
* win/Makefile.in: numbers. [Bug 597450]
* win/makefile.bc:
* win/makefile.vc:
|
|
|
|
|
|
|
|
|
| |
* unix/configure.in:
* win/configure:
* win/configure.in: Add AC_PREREQ(2.13) in an attempt
to make it more clear that the configure scripts
must be generated with autoconf version 2.13.
[Bug 583573]
|
|
|
|
| |
the 8.4b1 release.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/configure.in: Add configure time test for SEH
support in the compiler.
* win/tclWin32Dll.c (ESP, EBP, TclpCheckStackSpace,
_except_checkstackspace_handler):
* win/tclWinChan.c (ESP, EBP, Tcl_MakeFileChannel,
_except_makefilechannel_handler):
* win/tclWinFCmd.c (ESP, EBP, DoRenameFile,
_except_dorenamefile_handler,
DoCopyFile, _except_docopyfile_handler):
Implement SEH support under gcc using inline asm.
Tcl and Tk should now compile with Mingw 1.1. [Patch 525746]
|
|
|
|
| |
easier for now.
|
|
|
|
|
|
|
| |
* unix/configure.in:
* win/configure: Regen.
* win/configure.in: Use ${libdir} instead of ${exec_prefix}/lib
to properly support the --libdir option to configure. [Bug 489370]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
included by extensions that need to find Tcl include
headers in the install location. The user can override
the include install dir with --includedir so we need
to record this information for extensions. [Tcl bug 421835]
* unix/configure: Regen.
* unix/configure.in: Define TCL_INCLUDE_SPEC.
* unix/tclConfig.sh.in: Define TCL_INCLUDE_SPEC.
* win/configure: Regen.
* win/configure.in: Define TCL_INCLUDE_SPEC.
* win/tclConfig.sh.in: Define TCL_INCLUDE_SPEC.
|
|
|
|
|
|
|
|
|
|
|
|
| |
4.X is known not to work.
Indicate that Mingw is required and building with Cygwin
gcc is not supported. Include instructions that indicate
how to install Mingw and what URLs folks should use to
download the supported version of Mingw.
* win/configure: Regen.
* win/configure.in: Error out if user tries to compile the
Windows version of Tcl with Cygwin gcc. Users should compile
with Mingw gcc instead.
|
| |
|
|
|
|
|
|
|
|
| |
* unix/configure.in:
* win/configure:
* win/configure.in:
* win/tcl.m4: reworked to be a little cleaner in comparison to
each other, and to AC_SUBST even empty vars for win/tclConfig.sh
|
|
|
|
|
|
|
|
|
| |
* win/configure.in:
* win/makefile.bc:
* win/makefile.vc:
* library/reg/pkgIndex.tcl
* library/dde/pkgIndex.tcl: Fixed version numbers from bogus tcl
versions to independent versions for dde and registry packages.
|
|
|
|
|
| |
CVS snapshots from the 8.4a3 release. This does not necessarily
mean there will be an 8.4a4 release. [Bug 448938].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of relying on a variable. This will make Cygwin
build faster since an extra exec will be avoided.
* win/configure: Regen.
* win/configure.in: Subst DEPARG.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Move AC_MSG_CHECKING
after the AC_CHECK_PROG so that status messages do
not get mixed together. Set DEPARG based on the
results of the cygpath check so that we avoid using
an extra exec when it is not needed. Use ac_cv_cygwin
status flag instead of looking at the output of
gcc -v, which works in the case where -mno-cygwin is
set in the CFLAGS.
|
|
|
|
|
|
|
|
|
|
| |
* win/configure: Regen.
* win/configure.in: Don't subst PATHTYPE.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Remove PATHTYPE
variable. Set CYGPATH to "cygpath -w" if the
cygpath executable is found on the path. This
approach works for native Cygwin builds and
cross compiles.
|
|
|
|
|
|
|
|
| |
works for both Cygwin builds and cross builds, the VPSEP
variable is simply unneeded complexity.
* win/configure: Regen.
* win/configure.in: Don't subst VPSEP.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Remove VPSEP variable.
|
|
|
|
|
|
|
| |
* unix/configure.in: Fix last checkin by removing
export since that only works in bash.
* win/configure: Regen.
* win/configure.in: Ditto.
|
|
|
|
|
|
|
|
| |
* unix/configure.in: Set CFLAGS to "" if the user
did not set CFLAGS in the env. This keeps AC_PROG_CC
from adding "-g -O2" to the CFLAGS by default.
* win/configure: Regen.
* win/configure.in: Ditto.
|
|
|
|
|
|
| |
* win/configure.in: Use RC_DEFINE flag from tcl.m4.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Set RC_DEFINE
flag based on the compiler in use.
|
|
|
|
|
| |
* win/configure.in: Add resource compiler fix from
8.3.3 to fix compiling with mingw.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. Add LDFLAGS_DEBUG
and LDFLAGS_OPTIMIZE to match the way CFLAGS_DEFAULT works.
This will support user set CFLAGS or LDFLAGS at configure time.
* unix/configure: Regen.
* unix/configure.in: Don't set CFLAGS to CFLAGS_DEFAULT, instead
subst CFLAGS_DEFAULT into the Makefile. Add AC_SUBST for CFLAGS_DEFAULT,
LDFLAGS_DEFAULT, LDFLAGS_DEBUG, and LDFLAGS_OPTIMIZE.
* unix/tcl.m4 (SC_ENABLE_SYMBOLS): Modify LDFLAGS_DEFAULT so that
it uses a Makefile variable just like CFLAGS_DEFAULT.
* win/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.
Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@.
This will support user set CFLAGS or LDFLAGS at configure time.
* win/configure: Regen.
* win/configure.in: Don't set CFLAGS or LDFLAGS, instead subst
CFLAGS_DEFAULT and LDFLAGS_DEFAULT into the Makefile.
* win/tcl.m4 (SC_ENABLE_SYMBOLS): Modify LDFLAGS_DEFAULT so that
it uses a Makefile variable just like CFLAGS_DEFAULT.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Makefile instead of directly substing @LDFLAGS@.
* unix/configure: Regen.
* unix/tcl.m4: Fix CFLAGS_DEFAULT so that the name
of a Makefile variable is passed as @CFLAGS@.win/tcl.m4
* win/Makefile.in: Move the setting of CFLAGS
higher up in the Makefile.
* win/configure: Regen.
* win/configure.in: Use dnl to comment out macros
so that they are not accidently expanded.
* win/tcl.m4: Fix CFLAGS_DEFAULT so that the name
of a Makefile variable is passed as @CFLAGS@.
|
|
|
|
|
|
|
|
|
| |
* tools/tcl.wse.in:
* win/configure.in (VER):
* win/configure:
* unix/configure:
* unix/configure.in (VER):
* unix/tcl.spec: updated patchlevel information to 8.4a3
|
|
|
|
|
|
|
|
|
| |
* win/configure.in:
* win/Makefile.in:
* win/makefile.vc:
* win/tcl.rc:
* win/tclsh.rc: Added logic to derive filenames better in the resource
scripts based on compile options.
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h:
* library/tcltest1.0/tcltest.tcl:
* tools/tcl.wse.in:
* tools/tcltk-man2html.tcl:
* unix/configure.in:
* unix/tcl.spec:
* win/README.binary:
* win/configure.in: updated patchlevel to 8.4a2
|
| |
|
|
|
|
| |
include ${TCL_DBGX} in win/tclConfig.sh, fix that.
|
|
|
|
|
|
|
|
| |
${exec_prefix} like unix/configure.in.
Fix or add TCL_SRC_DIR, TCL_STUB_LIB_FILE,
TCL_STUB_LIB_FLAG, TCL_BUILD_STUB_LIB_SPEC,
TCL_STUB_LIB_SPEC, TCL_BUILD_STUB_LIB_PATH,
TCL_STUB_LIB_PATH.
|
|
|
|
| |
unix verison
|
|
|
|
|
|
| |
* win/configure.in:
* win/Makefile.in: Applied patch from [RFE: 5844], to extend
support for mingw compile environment on Windows.
|
|
|
|
| |
compile env and cross-compiling. [Bug: 5499]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h:
* library/init.tcl:
* library/reg1.0/pkgIndex.tcl:
* library/tcltest1.0/tcltest.tcl:
* mac/README:
* tools/tcl.hpj.in:
* tools/tcl.wse.in:
* unix/README:
* unix/configure.in:
* unix/tcl.spec:
* win/README:
* win/README.binary:
* win/configure.in:
* win/makefile.vc:
* win/tcl.m4: updated patchlevel to 8.4a1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h:
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/configure.in:
* win/README.binary: bumped version to 8.3.1
* win/tcl.hpj.in: updated copyright date
* generic/tclEnv.c: environment support for Mac OS/X
* unix/tclUnixPort.h: environment support for Mac OS/X
* unix/tclLoadDyld.c: new file for Mac OS/X dl functions
* unix/Makefile.in: added install-strip target; bindir, libdir,
mandir, includedir vars; tclLoadDyld.c target [Bug: 2527]
* unix/tclUnixChan.c (CreateSocket): force a socket back into
blocking mode (default state) after a -async connect succeeds.
[Bug: 4388]
* generic/tclEvent.c (TclInitSubsystems): Moved tclLibraryPath to
thread-local storage to prevent thread-related race condition.
[Bug: 5033]
* unix/tclAppInit.c (main): removed #ifdef TCL_TEST that sets the
library path as it was unnecessary and conflicts with move of
tclLibraryPath to thread-local storage.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclIntPlatDecls.h:
* generic/tclStubInit.c:
* win/tclWin32Dll.c: removed TclWinSynchSpawn (vestige of Win32s
support).
* win/tclWinReg.c: made use of TclWinGetPlatformId instead of
getting info again
* win/tclWinPort.h:
* win/Makefile.in:
* win/configure.in:
* win/tcl.m4: Added support for gcc/mingw on Windows [Bug: 4234]
|
|
|
|
|
|
|
|
|
| |
* win/configure.in:
* win/README:
* win/README.binary:
* generic/tcl.h (TCL_RELEASE_SERIAL): Moved to 8.3.0 patchlevel
* unix/tcl.m4: changed all -fpic to -fPIC
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h:
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.m4:
* win/README.binary:
* win/configure.in: updated to patchlevel 8.3b2
|
|
|
|
|
|
|
|
|
|
| |
* win/rmd.bat: removed necessity of tag.txt [Bug: 3874]
* win/tclWinThrd.c: changed CreateThread to _beginthreadex and
ExitThread to _endthreadex
* win/README.binary:
* win/configure.in: updated to patch level 8.3b1
|