Overview
| Comment: | * macosx/tclMacOSXNotify.c (Tcl_InitNotifier, Tcl_WaitForEvent): create 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. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
95ec29253654b71bcf47e25490d735c7 |
| User & Date: | das on 2006-07-20 06:18:37.000 |
| Other Links: | manifest | tags |
Context
|
2006-07-20
| ||
| 07:39 | cleanup quoting and whitespace check-in: af1d21a5e1 user: das tags: trunk | |
| 06:18 | * macosx/tclMacOSXNotify.c (Tcl_InitNotifier, Tcl_WaitForEvent): create notifier thread lazily upo... check-in: 95ec292536 user: das tags: trunk | |
| 06:17 | * generic/regc_locale.c (cclass): * generic/tclExecute.c (TclExecuteByteCode): * generic/tclIOCmd... check-in: 25ff7e8b0a user: das tags: trunk | |
Changes
Modified ChangeLog
from [6569392f1c]
to [8d2fbeaacb].
[diff]
Modified macosx/README
from [f55a712503]
to [f83456408d].
[diff]
Modified macosx/Tcl.xcodeproj/project.pbxproj
from [6d96712884]
to [ac66d82536].
[diff]
Modified macosx/tclMacOSXFCmd.c
from [d8ebbdbfea]
to [23a89c5af4].
[diff]
Modified macosx/tclMacOSXNotify.c
from [cc8d493197]
to [65e73fb0e1].
[diff]
Modified unix/configure
from [f1900331b4]
to [26426c5401].
[diff]
Modified unix/configure.in
from [e3a88cee1d]
to [0d93e2cf5e].
[diff]
Modified unix/tcl.m4
from [4236cd3bf0]
to [91755e2dec].
[diff]
Modified unix/tclConfig.h.in
from [610264388d]
to [c99218672a].
[diff]
Modified unix/tclLoadDyld.c
from [7f7ef7d995]
to [497dcd1d9c].
[diff]
Modified unix/tclUnixFCmd.c
from [0ab55f2e71]
to [4967d5a659].
[diff]
Modified unix/tclUnixInit.c
from [b865e7e784]
to [d04b35d38f].
[diff]
Modified unix/tclUnixPort.h
from [2461d6db7a]
to [256bce07f9].
[diff]