summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add support for building without -fconstant-cfstrings, e.g. when ↵das2006-08-211-3/+15
| | | | MACOSX_DEPLOYMENT_TARGET unset. [Bug 1543715]
* update with recent Darwin changesdas2006-08-211-2/+12
|
* * macosx/tclMacOSXNotify.c (Tcl_WaitForEvent): if the run loop isdas2006-08-213-21/+69
| | | | | | | | | | | | | 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/tclUnixChan.c (TclUnixWaitForFile): with timeout < 0, if select()das2006-08-182-1/+8
| | | | | returns early (e.g. due to a signal), call it again instead of returning a timeout result. Fixes intermittent event-13.8 failures.
* * unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, fordas2006-08-186-285/+398
| | | | | | | | | | | | | | 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.
* * generic/tclEncoding.c: Replace buffer copy in for loopdgp2006-08-092-4/+7
| | | | with call to memcpy(). Thanks to afredd. [Patch 1530262]
* * unix/tclUnixPipe.c (TclpCreateProcess): for USE_VFORK: ensure standarddas2006-08-022-1/+24
| | | | | channels are initialized before vfork() so that the child doesn't potentially corrupt global state in the parent's address space.
* Bug 1513489Kevin B Kenny2006-07-302-24/+37
|
* Fix typo [Bug 1496886]jenglish2006-07-302-2/+6
|
* typosdas2006-07-211-4/+2
|
* cleanup quoting and whitespacedas2006-07-202-38/+39
|
* * macosx/tclMacOSXNotify.c (Tcl_InitNotifier, Tcl_WaitForEvent): createdas2006-07-2011-914/+1192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * unix/tclUnixPort.h: Added the inclusion ofandreas_kupries2006-07-142-1/+13
| | | | | | <AvailabilityMacros.h>. The missing header caused the upcoming #if conditions to wrongly exclude realpath, causing file normalize to ignore symbolic links in the path.
* Made Tcl_AsyncDelete() more tolerant when called after all thread TSDvasiljevic2006-07-112-14/+28
| | | | has been garbage-collected.
* * generic/tclIO.c (Tcl_CreateChannel): allow Tcl std channelhobbs2006-07-102-5/+15
| | | | inheritance to be #defined out (default remains in).
* add ref to darwin fixdas2006-06-151-1/+4
|
* typodgp2006-06-151-2/+2
|
* * changes: changes to start prep for an 8.4.14 release.dgp2006-06-152-3/+23
|
* * unix/tclUnixPort.h (Darwin): support for MAC_OS_X_VERSION_MAX_ALLOWEDdas2006-06-142-10/+33
| | | | | define from AvailabilityMacros.h: override configure detection and only use API available in the indicated OS version or earlier.
* Remove test chunkpatthoyts2006-06-141-4/+4
|
* Enable building Tcl with Microsoft's latest compiler offeringpatthoyts2006-06-149-64/+201
| | | | | | (VS2005). We have to handle a number of oddities as they have deprecated most of the standard C library and now generate manifest files to be linked into the binaries. SF bug #1424909
* Workaround for silly compiler bug. [Bug 1503729]dkf2006-06-132-3/+14
|
* * doc/GetStdChan.3: Added recommendation that each call todgp2006-06-062-1/+16
| | | | Tcl_SetStdChannel() be accompanied by a call to Tcl_RegisterChannel().
* * generic/tclNamesp.c (NamespaceInscopeCmd): revert [Bug 1400572]hobbs2006-05-312-5/+10
| | | | | | fix of 2006-01-09 for [namespace inscope] as it seems to mess with itcl scope decoding. Leaving namespace-29.6 test failure until final cause it determined.
* * generic/tcl.h (Tcl_DecrRefCount): use if/else construct to allowhobbs2006-05-302-2/+10
| | | | placement in unbraced outer if/else conditions. (jcw)
* * macosx/tclMacOSXNotify.c: implemented pthread_atfork() handler thatdas2006-05-274-321/+504
| | | | | | | | | | | | * 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
* autoconf-2.13das2006-05-261-2/+2
|
* sync 2006-05-24 change to tcl HEADdas2006-05-261-1/+1
|
* Silence compiler warning.dgp2006-05-151-2/+3
|
* * generic/tclFileName.c (TclDoGlob): Disabled the partialdgp2006-05-132-4/+13
| | | | | | normalization done by the recursive glob routine, since changing the precise string of the pathname broke [glob] on some Tcl_Filesystems. [Bug 943995]
* * generic/tclProc.c (ProcCompileProc): When a bump of the compiledgp2006-05-132-7/+96
| | | | | | | | epoch forces the re-compile of a proc body, take care not to overwrite any Proc struct that may be referred to on the active call stack. This fixes [Bug 148218]. Note that the fix will not be effective for code that calls the private routine TclProcCompileProc() directly.
* * generic/tclMain.c (Tcl_Main): Corrected flaw that requireddgp2006-05-053-68/+96
| | | | | | * tests/main.test: (Tcl_Main-4.5): processing of one interactive command before passing control to the loop routine registered with Tcl_SetMainLoop() [Bug 1481986].
* * README: Bump version number to 8.4.14dgp2006-05-0410-16/+27
| | | | | | | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf-2.13 * win/configure:
* * generic/tclExecute.c (ExprSrandFunc): Restore acceptance of widedgp2006-05-043-14/+19
| | | | * tests/expr-old.test: integer values by srand() [Bug 1480509].
* typocore_8_4_13dgp2006-04-131-2/+2
|
* * changes: updates for another RC.dgp2006-04-122-4/+10
|
* silence re_syntax.n warningdas2006-04-121-0/+1
|
* fix make-html errordas2006-04-121-2/+2
|
* cosmetic fix to 'install' targetsdas2006-04-121-1/+3
|
* typosdas2006-04-111-2/+2
|
* * generic/tclCmdMZ.c: Stop some interference between enter tracesdgp2006-04-113-6/+53
| | | | * tests/trace.test: and enterstep traces. [Bug 1458266]
* *** 8.4.13 TAGGED FOR RELEASE ***dgp2006-04-102-4/+28
| | | | * changes: updates for another RC.
* * generic/tclRegexp.c (FinalizeRegexp): full reset data tohobbs2006-04-072-1/+12
| | | | indicate that readiness for reinitialization.
* * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): It seemsdgp2006-04-064-7/+19
| | | | | | | * tests/indexObj.test: there are extensions that rely on the prior * doc/GetIndex.3: behavior that the empty string cannot succeed as a unique prefix matcher, so I'm restoring Donal Fellow's solution. Added mention of this detail to the documentation. [Bug 1464039]
* * unix/tcl.m4: removed TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKINGdas2006-04-063-250/+249
| | | | | define on Darwin. [Bug 1457515] * unix/configure: autoconf-2.13
* Revert attempted backport of dde 1.3 to the core-8-4-branch.dgp2006-04-056-1058/+859
|
* * library/dde/pkgIndex.tcl: Backport dde 1.3.2 from HEAD.dgp2006-04-056-859/+1058
| | | | | | | * win/tclWinDde.c: * win/Makefile.in: * win/configure.in: * win/configure: autoconf 2.13
* * library/reg/pkgIndex.tcl: Long overlooked bump to registry ↵dgp2006-04-053-4/+8
| | | | | | package * win/tclWinReg.c: version 1.1.4 (should have been done for the Tcl 8.4.8 release!)
* * library/dde/pkgIndex.tcl: Long overlooked bump to dde packagedgp2006-04-053-4/+10
| | | | | * win/tclWinDde.c: version 1.2.4 (should have been done for the Tcl 8.4.8 release!)
* * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Allow emptydgp2006-04-054-14/+13
| | | | | strings to be matched by the Tcl_GetIndexFromObj machinery, in the same manner as any other key. [Bug 1464039]