| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check.
* unix/configure: autoconf-2.13
FossilOrigin-Name: fbb83f13b9710ef3c2bc30b842e5bfa953127ad4
|
|
|
|
|
|
| |
* unix/configure: autoconf-2.13
FossilOrigin-Name: bf48f35b4d228294ddb18a47b7a6a28d5115a956
|
|
|
| |
FossilOrigin-Name: 0f9be7c4ad48230d21689a02af9a5e431f4f3400
|
|
|
| |
FossilOrigin-Name: bbc46461de2be7e5d0c242f4102d7a890423c908
|
|
|
| |
FossilOrigin-Name: 6a19c61d46d33c8a66d36583aba62c86520b5852
|
|
|
|
|
|
|
|
|
|
| |
* unix/configure.in: and move (rather than duplicate) -isysroot flags
from CFLAGS to CPPFLAGS to avoid errors about multiple -isysroot flags
from some older gcc builds.
* unix/configure: autoconf-2.13
FossilOrigin-Name: dee12fbe420358e1fa601eb9dc34769053aa23d7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OSSpinLock(Un)Lock API.
* tests/env.test: add extra system env vars that need to be preserved
on some Mac OS X versions for testsuite to work.
* unix/tcl.m4: ensure CPPFLAGS env var is used when set. [Bug 1586861]
(Darwin): add -isysroot and -mmacosx-version-min flags to CPPFLAGS when
present in CFLAGS to avoid discrepancies between what headers configure
sees during preprocessing tests and compiling tests.
* unix/configure: autoconf-2.13
FossilOrigin-Name: b9b6ddc3498588189763d36228cb32ba4af2d89b
|
|
|
|
|
|
|
| |
flag succeeds before enabling 64bit build.
* unix/configure: autoconf-2.13
FossilOrigin-Name: 77a5587d556ef9a3b9a848ad2bbb538bdfb73cc2
|
|
|
|
|
|
| |
* configure: autoconf-2.13
FossilOrigin-Name: 13f4724dd4f8925ebdb3691462701c9f7d66b6d1
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/msgcat.test: default msgcat locale to
* unix/tclUnixInit.c (TclpSetVariables): current CFLocale identifier
if available (via private ::tcl::mac::locale global, set at interp init
when on Mac OS X 10.3 or later with CoreFoundation).
* unix/tcl.m4: add caching to new SC_TCL_* macros for MT-safe wrappers.
* unix/configure: autoconf-2.13
FossilOrigin-Name: 6d22c64949b909db405d46f98f9f11f174b45442
|
|
|
|
|
|
| |
See Tcl Bug 999544 for more information.
FossilOrigin-Name: fa1da032d77a63dbe9ece8e7f3883953fb6a8ea8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
universal builds including x86_64, for 64-bit CoreFoundation on Leopard
and for use of -mmacosx-version-min instead of MACOSX_DEPLOYMENT_TARGET.
* unix/configure: autoconf-2.13
* generic/tcl.h: add fixes for building on Leopard and support for
* unix/tclUnixPort.h: 64-bit CoreFoundation on Leopard.
* unix/tclUnixPort.h: on Darwin x86_64, disable use of vfork as it
causes execve to fail intermittently. (rdar://4685553)
* macosx/README: updates for x86_64 support and Xcode 2.3.
FossilOrigin-Name: a341c3758d1036ad7599b6e42f887de70114e95a
|
|
|
| |
FossilOrigin-Name: 92c414d8d1405b0d7dfd0816e3f0cd87c8b0bc27
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
notifier thread lazily upon first call to Tcl_WaitForEvent() rather than
in Tcl_InitNotifier(). Allows calling exeve() in processes where the
event loop has not yet been run (Darwin's execve() fails in processes
with more than one thread), in particular allows embedders to call
fork() followed by execve(), previously the pthread_atfork() child
handler's call to Tcl_InitNotifier() would immediately recreate the
notifier thread in the child after a fork.
* macosx/tclMacOSXNotify.c (Tcl_InitNotifier): add support for
* unix/tclUnixFCmd.c (DoRenameFile, CopyFileAtts): weakly importing
* unix/tclUnixInit.c (TclpSetInitialEncodings): symbols not available
on OSX 10.2 or 10.3, enables binaires built on later OSX versions to run
on earlier ones.
* macosx/README: document how to enable weak-linking; cleanup.
* unix/tclUnixPort.h: add support for weak-linking; conditionalize
AvailabilityMacros.h inclusion; only disable realpath on 10.2 or earlier
when threads are enabled.
* unix/tclLoadDyld.c (TclpLoadMemoryGetBuffer): change runtime Darwin
* unix/tclUnixInit.c (TclpInitPlatform): release check to use
global initialized once.
* unix/tclUnixFCmd.c (DoRenameFile, TclpObjNormalizePath): add runtime
Darwin release check to determine if realpath is threadsafe.
* unix/configure.in: add check on Darwin for compiler support of weak
* unix/tcl.m4: import and for AvailabilityMacros.h header; move
Darwin specific checks & defines that are only relevant to the tcl build
out of tcl.m4; restrict framework option to Darwin; cleanup quoting.
* unix/configure: autoconf-2.13
* unix/tclLoadDyld.c (TclpLoadMemory):
* unix/tclUnixPipe.c (TclpCreateProcess): fix signed-with-unsigned
comparison and other warnings from gcc4 -Wextra.
FossilOrigin-Name: fc99321d6695fb452519db28ea6020c0fcaa3050
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/tcl.m4 (Darwin): recreates CoreFoundation state and notifier
thread in the child after a fork(). Note that pthread_atfork() is
available starting with Tiger only. Because vfork() is used by the core
on Darwin, [exec]/[open] are not affected by this fix, only extensions
or embedders that call fork() directly (such as TclX). However, this
only makes fork() safe from corefoundation tcl with --disable-threads;
as on all platforms, forked children may deadlock in threaded tcl due to
the potential for stale locked mutexes in the child. [Patch 923072]
* unix/configure: autoconf-2.59
FossilOrigin-Name: 48693e32e0f3133685eb63dd86101d9cded97d33
|
|
|
| |
FossilOrigin-Name: 0981367f4e35a76d1dbaafcbacf95505f5f40764
|
|
|
|
|
|
|
| |
define on Darwin. [Bug 1457515]
* unix/configure: autoconf-2.13
FossilOrigin-Name: dc20ceeca603b93b3ac2076ca08d51d74e8776c0
|
|
|
| |
FossilOrigin-Name: 3f497ca2d8cda8aebf6349a0919a9255626ce982
|
|
|
|
|
|
| |
* unix/configure: issues on NetBSD. Regenerated configure script.
FossilOrigin-Name: a09f4828c50c9ff96135701983ecce7a797abfd1
|
|
|
|
|
|
|
|
|
| |
* unix/configure.in: AC_CACHE_VAL where possible, consistent message
* unix/tcl.m4: quoting, sync relevant tclconfig/tcl.m4 and HEAD
changes and gratuitous formatting differences, fix SC_CONFIG_MANPAGES
with default argument, Darwin improvements to SC_LOAD_*CONFIG.
FossilOrigin-Name: 759eddee0c3e6b7caabf5a377ba34353653c5f8c
|
|
|
|
|
|
| |
bash-3.1+ [Bug 1377619] (schafer)
FossilOrigin-Name: 37c33cae9747dc897bb7edbcac90cd049dfef4ea
|
|
|
|
|
|
| |
* unix/configure: regen.
FossilOrigin-Name: 321bc1bb2d9245cdd4775131af33a17801ea266f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to
configure (flag can't be present twice, so can't be in both CFLAGS and
LDFLAGS during configure), don't use -prebind when deploying on 10.4,
define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542).
(SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete
autoconf macros. Sync with tk/unix/tcl.m4, sync whitespace with HEAD.
* unix/configure.in: fix obsolete autoconf macros, sync gratuitous
formatting/ordering differences with tk/unix/configure.in.
* unix/Makefile.in: add CFLAGS to tclsh/tcltest link to make executable
linking the same as during configure (needed to avoid loosing any linker
relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS).
Avoid concurrent linking of tclsh and compiling of tclTestInit.o or
xtTestInit.o during parallel make.
(checkstubs, checkdoc, checkexports): dependency and Darwin fixes
* unix/tclLoadDyld.c (TclpDlopen): use NSADDIMAGE_OPTION_WITH_SEARCHING
on second NSAddImage only. [Bug 1204237]
(TclGuessPackageName): should not be MODULE_SCOPE.
(TclpLoadMemory): ppc64 and endian (i386) fixes, add support for loading
universal (fat) bundles from memory.
* unix/tclUnixPort.h:
* unix/tclUnixFCmd.c: add support for new Tiger copyfile() API to enable
copying of xattrs & ACLs by [file copy].
* generic/tcl.h: add Darwin specifc configure overrides for TCL_WIDE
defines to support fat compiles of ppc and ppc64 at the same time,
(replaces Darwin CVS fix by emoy, rdar://3693001).
add/correct location of version numbers in macosx files.
* generic/tclInt.h: clarify fat compile comment.
* unix/tclUnixPort.h: add Darwin specifc configure overrides to support
fat compiles, where configure runs only once for multiple architectures
(replaces Darwin CVS fix by emoy, rdar://3693001).
* macosx/tclMacOSXBundle.c:
* macosx/tclMacOSXNotify.c:
* unix/tclUnixNotfy.c:
* unix/tclUnixPort.h: fix #include order to support compile time
override of HAVE_COREFOUNDATION in tclUnixPort.h when building for ppc64
* macosx/Tcl.pbproj/default.pbxuser (new file):
* macosx/Tcl.pbproj/jingham.pbxuser:
* macosx/Tcl.pbproj/project.pbxproj: sync with HEAD.
* macosx/README: clarification/cleanup, sync with HEAD, document
universal (fat) builds via CFLAGS (i.e. all of ppc ppc64 i386 at once).
* macosx/Makefile: add support for reusing configure cache, build target
fixes, remove GENERIC_FLAGS override now handled by tcl.m4.
* generic/tclIOUtil.c:
* generic/tclRegexp.c:
* generic/tclVar.c: declare globals used only in own file as static
(sync with HEAD).
* generic/rege_dfa.c (getvacant):
* generic/regexec.c (cfind):
* generic/tclCompExpr.c (CompileSubExpr):
* unix/tclUnixChan.c (TclUnixWaitForFile): initialise variables to
silence gcc 4 warnings.
* generic/regguts.h: only #define NDEBUG if not already #defined.
* macosx/tclMacOSXNotify.c: sync whitespace & comments with HEAD
* unix/configure: regen.
FossilOrigin-Name: c6e668d19d55753d85abd5c21ef4e1589d54fade
|
|
|
|
|
|
|
|
| |
heidibr@users.sf.net for the patch. [Bug 1163896].
* unix/configure: autoconf-2.13.
FossilOrigin-Name: 5e50e72970f7325b6d35ba068a313feafcde938b
|
|
|
| |
FossilOrigin-Name: 3ca7f7f35dea6851c960ca7af79e8b7c725863ee
|
|
|
|
|
|
|
|
| |
* unix/tclLoadDyld.c (TclpDlopen, TclpLoadMemory): workarounds
for bugs/changes in behaviour in Mac OS X 10.4 Tiger, sync
formatting changes from HEAD.
FossilOrigin-Name: aab38a9d9629af736ebb4f9aef59525dca6ef56f
|
|
|
|
|
|
| |
Darwin only for SHARED_BUILD
FossilOrigin-Name: 0ed358ea9d1cbd82766040e2c676f710f53e54ba
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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]
FossilOrigin-Name: 9ed6cc87ea6d90aa4acb1bfa389fdd4a0eb60b61
|
|
|
|
|
|
|
| |
* unix/tclUnixPort.h: any use of readdir_r as it is not
* unix/tclUnixThrd.c: necessary and just confuses things.
FossilOrigin-Name: 75375ce5559385e127ba9d349adc2c3e8a47361c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h: ensure WORDS_BIGENDIAN is defined correctly with fat
compiles on Darwin (i.e. ppc and i386 at the same time), the configure
AC_C_BIGENDIAN check is not sufficient in this case because a single run
of the compiler builds for two architectures with different endianness.
* unix/tcl.m4 (Darwin): add -headerpad_max_install_names to LDFLAGS to
ensure we can always relocate binaries with install_name_tool.
* unix/configure: autoconf-2.13
FossilOrigin-Name: c197218ee402a9beb56d39df2894ce8ad5185f88
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* macosx/README:
* macosx/Tcl-Info.plist.in (new file):
* unix/Makefile.in:
* unix/configure.in:
* unix/tcl.m4:
* unix/tclUnixInit.c: moved all Darwin framework build support from
macosx/Makefile into the standard unix configure/make buildsystem, the
macosx/Makefile is no longer required to build Tcl.framework (but its
functionality is still available for backwards compatibility).
* unix/configure: autoconf-2.13
FossilOrigin-Name: c065af454badcf388e21944e884c49e64a4b8af0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/tclUnixInit.c:
* unix/tcl.m4 (Darwin): made use of CoreFoundation API configurable
and added test of CoreFoundation availablility to allow building on
ppc64, replaced HAVE_CFBUNDLE by HAVE_COREFOUNDATION; test for
availability of Tiger or later OSSpinLockLock API.
* unix/tclUnixNotfy.c:
* unix/Makefile.in:
* macosx/tclMacOSXNotify.c (new file): when CoreFoundation is
available, use new CFRunLoop based notifier: allows easy integration
with other event loops on Mac OS X, in particular the TkAqua Carbon
event loop is now integrated via a standard tcl event source (instead
of TkAqua upon loading having to finalize the exsting notifier and
replace it with its custom version). [Patch 1202052]
* tests/unixNotfy.test: don't run unthreaded tests on Darwin
since notifier may be using threads even in unthreaded core.
* unix/tclUnixPort.h:
* unix/tcl.m4 (Darwin): test for thread-unsafe realpath durning
configure, as Darwin 7 and later realpath is threadsafe.
* macosx/tclMacOSXBundle.c:
* unix/tclLoadDyld.c:
* unix/tclUnixInit.c: fixed gcc 4.0 warnings.
* unix/configure: autoconf-2.13
FossilOrigin-Name: c4f7ce27bfc6d0d03d8e6553de074175e52da582
|
|
|
|
|
|
| |
add support for x86_64 Solaris cc builds.
FossilOrigin-Name: 5a2808481b736b6ac52cad10105ab3562bae965d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
build on Mac OS X 10.1 again.
* generic/tclNotify.c (TclFinalizeNotifier): fixed notifier not being
finalized in unthreaded core (was testing for notifier initialization in
current thread by checking thread id != 0 but thread id is always 0 in
untreaded core).
* unix/tclUnixNotfy.c (Tcl_WaitForEvent): sync with HEAD: only declare
and use timeout var in unthreaded core.
* unix/Makefile.in: added @PLAT_SRCS@ to SRCS and split out NOTIFY_SRCS
from UNIX_SRCS for parity with UNIX_OBJS & NOTIFY_OBJS.
* unix/configure.in: only run check for broken strstr implementation if
AC_REPLACE_FUNCS(strstr) hasn't already determined that strstr is
unavailable, otherwise compat/strstr.o will be used twice (resulting in
duplicate symbol link errors on Mac OS X 10.1)
* unix/tcl.m4 (Darwin): added configure checks for recently added linker
flags -single_module and -search_paths_first to allow building with
older tools (and on Mac OS X 10.1), use -single_module in SHLIB_LD and
not just T{CL,K}_SHLIB_LD_EXTRAS, added unexporting from Tk of symbols
from libtclstub to avoid duplicate symbol warnings, added PLAT_SRCS
definition for Mac OS X.
(SC_MISSING_POSIX_HEADERS): added caching of dirent.h check.
(SC_TCL_64BIT_FLAGS): fixed 'checking for off64_t' message output.
* unix/configure: autoconf-2.13
FossilOrigin-Name: 74b7355f7077725411d9e1ffca40b89d80d661db
|
|
|
|
|
|
|
| |
TCL_SHLIB_LD_EXTRAS and TK_SHLIB_LD_EXTRAS.
* unix/configure: autoconf-2.13
FossilOrigin-Name: 482141dca97e352b13fd83ab7f2aea1425399aa1
|
|
|
| |
FossilOrigin-Name: 5a7a92a16360a8135885d0c447abb500de770242
|
|
|
|
|
|
|
|
| |
* unix/tcl.m4: into SHLIB_LD). Combine AIX-* and AIX-5
* unix/configure: branches in SC_CONFIG_CFLAGS. Enable 64-bit
gcc builds for AIX-4+, correct gcc builds for HP-UX-11.
FossilOrigin-Name: abcbb0a2782d7b75dbb7218c9adf1aeee5f97a61
|
|
|
| |
FossilOrigin-Name: 33585e82df2751b635480e9f2cfa8d96bf6f5aa3
|
|
|
|
|
|
| |
[Bug 1021871]
FossilOrigin-Name: 384d5ba7b5bb8e4bea23073d121964b8e06316d6
|
|
|
|
|
|
|
|
|
| |
dynamic library in /usr/lib etc instead of linking to static library
earlier in search path. [Tcl Bug 956908]
Removed obsolete references to Rhapsody.
* unix/configure: autoconf-2.13
FossilOrigin-Name: 78fab13e56937929c65f2e3cbb06e6fa1144b807
|
|
|
|
|
|
|
|
| |
the number of arguments for readdir_r on SunOS systems. [Bug 1071701]
* unix/configure: autoconf-2.13
FossilOrigin-Name: 6c8167568c76be4adf564764772e34c5bcc478d6
|
|
|
|
|
|
|
|
|
|
|
| |
3-argument readdir_r [Bug 1001325].
* unix/configure: Regenerated.
* unix/tclUnixNotfy.c: Corrected all uses of 'select' to
manage their masks using the FD_CLR, FD_ISSET, FD_SET, and
FD_ZERO macros rather than bit-whacking that failed under
Solaris-Sparc-64. [Bug 1071807]
FossilOrigin-Name: 8e08d8ca273aa986aa522658537517a527cfd749
|
|
|
|
|
|
|
|
|
| |
* unix/tcl.m4 (SC_TCL_64BIT_FLAGS): Define HAVE_TYPE_OFF64_T
only when off64_t, open64(), and lseek64() are defined.
IRIX 5.3 is known to not include an open64 function.
[Bug 1030465]
FossilOrigin-Name: 670b018d62f7cdd588a587e09835f1f6b33bdf58
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/tcl.m4 (SC_ENABLE_THREADS): Check for a 2
argument version of readdir_r that is known to
exists under IRIX 5.3.
* unix/tclUnixThrd.c (TclpReaddir): Use either
2 arg or 3 arg version of readdir_r.
[Bug 1001325]
FossilOrigin-Name: 63b8c61faa1688fff349142bdd64bd0e94fac7e3
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/tcl.m4 (SC_CONFIG_MANPAGES): Applied an improved version of
* unix/configure.in: patch #996085, that introduces
* unix/Makefile.in: --enable-man-suffix.
* unix/installManPage: added
* unix/mkLinks.tcl: removed
* unix/mkLinks: removed
FossilOrigin-Name: 3a48a79704ca578128fa5cea83fd8c992e9978fb
|
|
|
|
|
|
|
|
| |
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS
to explict object files in tcl.m4, refer to MAC_OSX_OBJS makefile var.
* unix/Makefile.in: added MAC_OSX_OBJS variable.
FossilOrigin-Name: 26f728866cd4a45be52ebe5bff08c9b344226f71
|
|
|
|
|
|
|
|
|
|
| |
recent CFLAGS reordering.
* unix/configure: regen
* unix/tclConfig.sh.in: replaced EXTRA_CFLAGS with CFLAGS.
* unix/dltest/Makefile.in: replaced EXTRA_CFLAGS with DEFS.
FossilOrigin-Name: 7553cb7e69197bca8dc10c457333d7484900fa27
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/configure.in, unix/configure: _DEFAULT to allow for env
setting to override m4 switches.
Consolidate header checks to limit redundancy in configure.
(CFLAGS_WARNING): Remove -Wconversion, add -fno-strict-aliasing
for gcc builds (need to suppress 3.x type puning warnings).
(SC_ENABLE_THREADS): Set m4 to force threaded build when built
against a threaded Tcl core.
Reorder configure.in for better 64-bit build configuration,
replacing EXTRA_CFLAGS with CFLAGS. [Bug #874058]
FossilOrigin-Name: 2917edc1d3e74a25ebf7d254337f8a5cc88b4cdd
|
|
|
|
|
|
|
| |
IRIX64-6.5* systems. [Bug 218561]
* unix/configure: autoconf-2.13
FossilOrigin-Name: fc34f6da268bbb95a35d19e4a3fe5ad9f9f7d72c
|
|
|
| |
FossilOrigin-Name: 9fab8c9b07b7dc558399c8e8cf89cfa14b2e36cd
|