summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* The Tcl 9.0 way of how [dfc08326e3] should be fixed: Real integration of ↵rfe_dfc08326e3jan.nijtmans2013-10-132-8/+0
| | | | TclOO in Tcl means that calling the function Tcl_OOInitStubs() should be elminated in full. This branch shows how to do that.
* merge trunkjan.nijtmans2013-06-181-2/+2
|\
| * Updates to redirect bug reports to the new tracker location.dgp2013-06-171-2/+2
| |\
| | * Updates to redirect bug reports to the new tracker location.dgp2013-06-171-2/+2
| | |
| * | Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>jan.nijtmans2013-02-101-1/+0
| |\ \ | | |/
| | * Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>.jan.nijtmans2013-02-101-1/+0
| | |
* | | more Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj conversionsjan.nijtmans2013-02-111-1/+1
| | |
* | | merge trunkjan.nijtmans2013-02-071-1/+1
|\ \ \ | |/ /
| * | Tcl_InvalidateStringRep -> TclInvalidateStringRepjan.nijtmans2013-02-071-1/+1
| |\ \ | | |/
| | * Tcl_InvalidateStringRep -> TclInvalidateStringRepjan.nijtmans2013-02-071-1/+1
| | |
* | | merge trunkjan.nijtmans2013-02-041-1/+1
|\ \ \ | |/ /
| * | Eliminate all Tcl_ConvertToType calls and all direct calls to ↵jan.nijtmans2013-02-041-1/+1
| | | | | | | | | | | | typePtr->setFromAnyProc (except the call from inside the Tcl_ConvertToType function) from the Tcl core.
* | | merge trunkjan.nijtmans2013-01-191-1/+0
|\ \ \ | |/ /
| | |
| \ \
*-. \ \ merge trunkdgp2013-01-171-0/+1
|\ \ \ \ | | |/ /
| | * | revert [8abba84224], and make sure that every source file that uses ↵jan.nijtmans2013-01-171-0/+1
| | |\ \ | |/ / / | | | _ | | | Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
| | * revert [8abba84224], and make sure that every source file that uses ↵jan.nijtmans2013-01-171-0/+1
| | | | | | | | | | | | Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
* | | Kill Octal; bump to 9.0a0; make test suite work again.dgp2012-11-151-1/+1
|/ /
* | Remove another reference to tcl.wse.injan.nijtmans2012-11-082-4/+0
| |
* | Final part of result generation conversion (modulo any minor blunders)dkf2012-08-051-26/+31
| |
* | Fix roundoff gaffe in bignum-to-double conversion [Bug 3349507]Kevin B Kenny2011-07-022-0/+4
|\ \ | |/
| * Fix roundoff gaffe in bignum-to-double conversion [Bug 3349507]Kevin B Kenny2011-07-022-0/+4
| |
* | Make sure SetFooFromAny routines react reasonably when passed a NULL interp.dgp2011-04-211-3/+5
|\ \ | |/
| * Make sure SetFooFromAny routines react reasonably when passed a NULL interp.dgp2011-04-211-2/+4
| |\
* | | More generation of error codes (most platform-specific parts not already usingdkf2011-04-061-0/+3
| | | | | | | | | Tcl_PosixError).
* | | [3202030] Updated README files, repairing broken URLs and other rot.dgp2011-04-041-8/+3
|\ \ \ | |/ /
| * | [3202030] Updated README files, repairing broken URLs and other rot.dgp2011-04-041-8/+3
| |\ \ | | |/
| | * Updated README files, repairing broken URLs and other rot.dgp2011-04-041-8/+3
| | |
* | | Remove unused header file: unix/tclUnixThrd.hjan.nijtmans2011-04-042-4/+0
| | |
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-4/+4
| | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-0213-28/+2
|\ \ \ | |/ / | | | cause more harm than good. Purged them (except in zlib files).
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-0213-28/+2
| |\ \ | | |/ | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-016-12/+0
| | | | | | | | | more harm than good. Purged them.
| | * * macosx/tclMacOSXBundle.c: Workaround CF memory managment bug indas2009-10-051-11/+22
| | | | | | | | | | | | * unix/tclUnixInit.c: Mac OS X 10.4 & earlier. [Bug 2569449]
| | * Tcl_MacOSXOpenVersionedBundleResources: Fix leak, simplify logicdas2008-12-071-28/+36
| | |
| | * * macosx/tclMacOSXNotify.c: avoid using CoreFoundation after fork() ondas2008-03-111-7/+3
| | | | | | | | | | | | Darwin 9 even when TclpCreateProcess() uses vfork().
| | * * generic/tclDTrace.d (new file): add DTrace provider for Tcl; allowsdas2007-09-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/Makefile: enable DTrace support. * unix/configure: autoconf-2.13
| | * fix missing preprocessor \ line continuationdas2007-08-111-2/+2
| | |
| | * * macosx/tclMacOSXNotify.c (AtForkChild): don't call CoreFoundationdas2007-06-231-3/+22
| | | | | | | | | | | | APIs after fork() on systems where that would lead to an abort().
| | * * unix/configure.in (Darwin): add plist for tclsh; link thedas2007-06-061-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | * unix/Makefile.in (Darwin): Tcl and tclsh plists into their * macosx/Tclsh-Info.plist.in (new): binaries in all cases. * unix/tcl.m4 (Darwin): fix CF checks in fat 32&64bit builds. * unix/configure: autoconf-2.13
| | * * macosx/tclMacOSXNotify.c: fix warnings.das2007-04-295-134/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/README: sync whitespace/formatting with HEAD. * macosx/tclMacOSXBundle.c: * macosx/tclMacOSXNotify.c: * macosx/Makefile: fix/add copyright and license refs. * macosx/tclMacOSXBundle.c: * macosx/Tcl-Info.plist.in:
| | * * macosx/tclMacOSXNotify.c: add spinlock debugging and sanity checks.das2007-03-071-11/+30
| | | | | | | | | | | | | | | * unix/tcl.m4 (Darwin): s/CFLAGS/CPPFLAGS/ in macosx-version-min check. * unix/configure: autoconf-2.13
| | * * macosx/tclMacOSXNotify.c: accommodate changes to prototypes ofdas2007-01-191-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * * macosx/Makefile: don't redo prebinding of non-prebound binaires.das2006-10-161-4/+7
| | |
| | * typo: s/Xcode 2.3/Xcode 2.4/das2006-08-211-2/+2
| | |
| | * add support for building without -fconstant-cfstrings, e.g. when ↵das2006-08-211-3/+15
| | | | | | | | | | | | MACOSX_DEPLOYMENT_TARGET unset. [Bug 1543715]
| | * * macosx/tclMacOSXNotify.c (Tcl_WaitForEvent): if the run loop isdas2006-08-211-20/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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; sync panic msg changes from HEAD. * 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]
| | * * unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, fordas2006-08-181-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * typosdas2006-07-211-4/+2
| | |
| | * * macosx/tclMacOSXNotify.c (Tcl_InitNotifier, Tcl_WaitForEvent): createdas2006-07-202-45/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * * macosx/tclMacOSXNotify.c: implemented pthread_atfork() handler thatdas2006-05-271-3/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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