| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
and with corefoundation disabled; updates and cleanup for Xcode 3.1 and
for Leopard.
* macosx/Tcl.xcode/project.pbxproj: sync Tcl.xcodeproj changes.
* macosx/README: document new build configs.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* macosx/Tcl.xcodeproj/default.pbxuser: CODE_SIGN_IDENTITY and
* macosx/Tcl-Common.xcconfig: 'xcodebuild install'.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* macosx/Tcl-Common.xcconfig: ${builddir} and ${INSTALL_ROOT}
* unix/Makefile.in: to contain spaces.
* unix/configure.in:
* unix/install-sh:
* unix/tcl.m4:
* tests/ioCmd.test:
* unix/Makefile.in (install-strip): strip non-global symbols from
dynamic library.
|
|
|
|
|
|
|
|
|
|
|
| |
* macosx/Tcl.xcodeproj/default.pbxuser: targets for building with
* macosx/Tcl-Common.xcconfig: gcc-4.2 and llvm-gcc-4.2.
* unix/tclUnixPort.h: workaround vfork() problems
in llvm-gcc-4.2.1 -O4 build.
* unix/tclUnixPort.h: move MODULE_SCOPE compat define
to top [Bug 1911102].
|
|
|
|
| |
Darwin 9 even when TclpCreateProcess() uses vfork().
|
| |
|
|
|
|
| |
* macosx/Tcl.xcode/project.pbxproj:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclCompile.h: tracing of proc and command entry &
* generic/tclBasic.c: return, bytecode execution, object
* generic/tclExecute.c: allocation and more; with essentially
* generic/tclInt.h: zero cost when tracing is inactive;
* generic/tclObj.c: enable with --enable-dtrace configure
* generic/tclProc.c: arg (disabled by default, will only
* unix/Makefile.in: enable if DTrace is present).
* unix/configure.in: [Patch 1793984]
* macosx/GNUmakefile: enable DTrace support.
* macosx/Tcl-Common.xcconfig:
* macosx/Tcl.xcodeproj/project.pbxproj:
* unix/configure: autoconf-2.59
* unix/tclConfig.h.in: autoheader-2.59
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* macosx/Tcl.xcode/default.pbxuser: for Xcode 1.5; replace by Xcode2
project for use on Tiger (with Tcl.xcodeproj to be used on Leopard).
* macosx/Tcl.xcodeproj/project.pbxproj: updates for Xcode 2.5 and 3.0.
* macosx/Tcl.xcodeproj/default.pbxuser:
* macosx/Tcl.xcode/project.pbxproj:
* macosx/Tcl.xcode/default.pbxuser:
* macosx/Tcl-Common.xcconfig:
* macosx/README: document project changes.
|
|
|
|
| |
make identical to current Tcl.xcodeproj.
|
|
|
|
| |
EXTRA_CFLAGS var
|
|
|
|
|
|
|
|
|
| |
* unix/dltest/pkgb.c: unused pkgf.c.
* unix/dltest/pkgc.c:
* unix/dltest/pkge.c:
* unix/dltest/pkgf.c (removed):
* unix/dltest/pkgua.c:
* macosx/Tcl.xcodeproj/project.pbxproj:
|
| |
|
|
|
|
|
|
|
| |
* macosx/Tcl.xcodeproj/default.pbxuser: source dir; add 10.5 SDK build
* macosx/Tcl-Common.xcconfig: config; remove tclMathOp.c.
* macosx/README: document Tcl.xcodeproj changes.
|
|
|
|
| |
APIs after fork() on systems where that would lead to an abort().
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* unix/configure.in (Darwin): add plist for tclsh; link the
* unix/Makefile.in (Darwin): Tcl and tclsh plists into their
* macosx/Tclsh-Info.plist.in (new): binaries in all cases.
* macosx/Tcl-Common.xcconfig:
* unix/tcl.m4 (Darwin): fix CF checks in fat 32&64bit builds.
* unix/configure: autoconf-2.59
|
|
|
|
|
| |
* macosx/Tcl.xcodeproj/default.pbxuser: 'DebugLeaks' targets and env
var settings needed to run the 'leaks' tool.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* macosx/Tcl.xcodeproj/project.pbxproj: add 'DebugMemCompile' build
configuration that calls configure with --enable-symbols=all; override
configure check for __attribute__((__visibility__("hidden"))) in Debug
configuration to restore availability of ZeroLink.
* macosx/tclMacOSXNotify.c: fix warnings.
* macosx/tclMacOSXFCmd.c: const fixes.
* macosx/Tcl-Common.xcconfig: fix whitespace.
* macosx/Tcl-Debug.xcconfig:
* macosx/Tcl-Release.xcconfig:
* macosx/README:
* macosx/GNUmakefile: fix/add copyright and license refs.
* macosx/tclMacOSXBundle.c:
* macosx/Tcl-Info.plist.in:
* macosx/Wish-Info.plist.in:
* macosx/Tcl.xcode/project.pbxproj:
* macosx/Tcl.xcodeproj/project.pbxproj:
|
|
|
|
|
|
|
|
|
|
| |
* macosx/Tcl.xcodeproj/project.pbxproj: ensure gcc version used by
* macosx/Tcl.xcodeproj/default.pbxuser: Xcode and configure/make are
* macosx/Tcl-Common.xcconfig: consistent and independent of
gcc_select default and CC env var; fixes for Xcode 3.0.
* unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check.
* unix/configure: autoconf-2.59
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* macosx/Tcl.xcodeproj/default.pbxuser: were common to multiple
* macosx/Tcl-Common.xcconfig (new file): configurations into external
* macosx/Tcl-Debug.xcconfig (new file): xcconfig files; add extra
* macosx/Tcl-Release.xcconfig (new file): configurations for building
with SDKs and 64bit; convert legacy jam-based 'Tcl' target to native
target with single script phase; correct syntax of build setting
references to use $() throughout.
* macosx/README: document new Tcl.xcodeproj configurations; other minor
updates/corrections.
* generic/tcl.h: update location of version numbers in macosx files.
* macosx/Tcl.xcode/project.pbxproj: restore 'tcltest' target to working
* macosx/Tcl.xcode/default.pbxuser: order by replicating applicable
changes to Tcl.xcodeproj since 2006-07-20.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of Mac OS X, truncate() fails on resource forks, in that case use
open() with O_TRUNC instead.
* macosx/tclMacOSXNotify.c: accommodate changes to prototypes of
OSSpinLock(Un)Lock API.
* macosx/Tcl.xcodeproj/project.pbxproj: ensure HOME and USER env vars
* macosx/Tcl.xcodeproj/default.pbxuser: are defined when running
testsuite from Xcode.
* tests/env.test: add extra system env vars that need to be preserved
on some Mac OS X versions for testsuite to work.
* unix/Makefile.in: move libtommath defines into configure.in to avoid
* unix/configure.in: replicating them across multiple buildsystems.
* macosx/Tcl.xcodeproj/project.pbxproj:
* 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.59
* unix/tclConfig.h.in: autoheader-2.59
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/load.test: unloading on Darwin (in addition to
* tests/unload.test: existing tests of .dylib loading).
* macosx/Tcl.xcodeproj/project.pbxproj: add building of dltest binaries
so that testsuite run from Xcode can use them; fix testsuite run script.
* unix/configure.in: add support for building dltest binaries as
* unix/dltest/Makefile.in: .bundle (in addition to .dylib) on Darwin.
* unix/Makefile.in: add stub lib dependency to dltest target.
* unix/configure: autoconf-2.59
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
symlinks.
* macosx/Tcl.xcodeproj/project.pbxproj: remove tclParseExpr.c; when
running testsuite from inside Xcdoe, skip stack-3.1 (it only fails
under those circumstances).
* unix/tcl.m4 (Darwin): suppress linker arch warnings when building
universal for both 32 & 64 bit and no 64bit CoreFoundation is
available; sync with tk tcl.m4 change.
* unix/configure.in: whitespace.
* unix/configure: autoconf-2.59
|
|
|
|
| |
status and stop build if they fail.
|
| |
|
|
|
|
|
|
| |
thread, where pthread_get_stacksize_np() returns incorrect info.
* macosx/GNUmakefile: don't redo prebinding of non-prebound binaires.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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).
* library/tcltest/tcltest.tcl: add 'line' verbose level: prints source
* doc/tcltest.n: file line information of failing tests.
* macosx/Tcl.xcodeproj/project.pbxproj: add new tclUnixCompat.c file;
revise tests target to use new tcltest 'line' verbose level.
* unix/configure.in: add descriptions to new AC_DEFINEs for MT-safe.
* unix/tcl.m4: add caching to new SC_TCL_* macros for MT-safe wrappers.
* unix/configure: autoconf-2.59
* unix/tclConfig.h.in: autoheader-2.59
|
| |
|
| |
|
|
|
|
| |
MACOSX_DEPLOYMENT_TARGET unset. [Bug 1543715]
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
already running (e.g. if Tcl_WaitForEvent was called recursively),
re-run it in a custom run loop mode containing only the source for the
notifier thread, otherwise wakeups from other sources added to the
common run loop modes might get lost.
* unix/tclUnixNotfy.c (Tcl_WaitForEvent): on 64-bit Darwin,
pthread_cond_timedwait() appears to have a bug that causes it to wait
forever when passed an absolute time which has already been exceeded by
the system time; as a workaround, when given a very brief timeout, just
do a poll on that platform. [Bug 1457797]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.59
* unix/tclConfig.h.in: autoheader-2.59
* generic/tcl.h: add fixes for building on Leopard and support
* unix/tclUnixPort.h: for 64-bit CoreFoundation on Leopard.
* macosx/tclMacOSXFCmd.c:
* unix/tclUnixPort.h: on Darwin x86_64, disable use of vfork as it
causes execve to fail intermittently. (rdar://4685553)
* generic/tclTomMath.h: on Darwin 64-bit, for now disable use of 128-bit
arithmetic through __attribute__ ((mode(TI))), as it leads to link
errors due to missing fallbacks. (rdar://4685527)
* macosx/Tcl.xcodeproj/project.pbxproj: add x86_64 to universal build,
switch native release targets to use DWARF with dSYM, Xcode 3.0 changes.
* macosx/README: updates for x86_64 and Xcode 2.3.
* macosx/Tcl.xcodeproj/default.pbxuser: add test suite target that runs
* macosx/Tcl.xcodeproj/project.pbxproj: the tcl test suite at build time
and shows clickable test suite errors in the GUI build window.
* tests/macOSXFCmd.test: fix use of deprecated resource fork paths.
* unix/tclUnixInit.c (TclpInitLibraryPath): move code that is only
needed when TCL_LIBRARY is defined to run only in that case.
* generic/tclLink.c (LinkTraceProc): fix 64-bit signed-with-unsigned
comparison warning from gcc4 -Wextra.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/tclMacOSXFCmd.c (TclMacOSXCopyFileAttributes): add support
* macosx/tclMacOSXNotify.c (Tcl_InitNotifier): for weakly
* unix/tclUnixInit.c (Tcl_GetEncodingNameFromEnvironment): importing
symbols not available on OSX 10.2 or 10.3, enables binaires built on
later OSX versions to run on earlier ones.
* macosx/Tcl.xcodeproj/project.pbxproj: enable weak-linking; turn on
extra warnings.
* 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 and help messages.
* unix/configure: autoconf-2.59
* unix/tclConfig.h.in: autoheader-2.59
* unix/tclLoadDyld.c (TclpLoadMemory): fix signed-with-unsigned
comparison and other warnings from gcc4 -Wextra.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
* unix/tclConfig.h.in: autoheader-2.59
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* macosx/Tcl.xcodeproj/default.pbxuser: tcltest to ease test debugging.
* macosx/Tcl.xcode/project.pbxproj: removed $prefix/share from
* macosx/Tcl.xcodeproj/project.pbxproj: TCL_PACKAGE_PATH as per change
to unix/configure.in of 2006-03-13.
|
|
|
|
|
|
|
|
|
| |
* macosx/tclMacOSXFCmd.c: codes and 'hidden' flag, as documented in
* tests/macOSXFCmd.test: glob.n; objectified OSType handling in [glob]
* unix/tclUnixFile.c: and [file attributes]; fix globbing for hidden
files with pattern==NULL arg. [Bug 823329]
* generic/tclIntPlatDecls.h:
* generic/tclStubInit.c: make genstubs
|
|
|
|
|
|
|
| |
* macosx/Tcl.xcodeproj/project.pbxproj:
* unix/Makefile.in: add new tclTomMath* files.
* generic/tclBasic.c: replace panic with Tcl_Panic.
|