summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * macosx/tclMacOSXNotify.c (Tcl_InitNotifier, Tcl_WaitForEvent): createdas2006-07-201-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-141-0/+7
| | | | | | <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-111-0/+5
| | | | has been garbage-collected.
* * generic/tclIO.c (Tcl_CreateChannel): allow Tcl std channelhobbs2006-07-101-2/+7
| | | | inheritance to be #defined out (default remains in).
* * changes: changes to start prep for an 8.4.14 release.dgp2006-06-151-1/+5
|
* * unix/tclUnixPort.h (Darwin): support for MAC_OS_X_VERSION_MAX_ALLOWEDdas2006-06-141-0/+6
| | | | | define from AvailabilityMacros.h: override configure detection and only use API available in the indicated OS version or earlier.
* Enable building Tcl with Microsoft's latest compiler offeringpatthoyts2006-06-141-0/+11
| | | | | | (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-131-0/+5
|
* * doc/GetStdChan.3: Added recommendation that each call todgp2006-06-061-0/+5
| | | | Tcl_SetStdChannel() be accompanied by a call to Tcl_RegisterChannel().
* * generic/tclNamesp.c (NamespaceInscopeCmd): revert [Bug 1400572]hobbs2006-05-311-0/+7
| | | | | | 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-301-0/+5
| | | | placement in unbraced outer if/else conditions. (jcw)
* * macosx/tclMacOSXNotify.c: implemented pthread_atfork() handler thatdas2006-05-271-6/+24
| | | | | | | | | | | | * 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
* * generic/tclFileName.c (TclDoGlob): Disabled the partialdgp2006-05-131-0/+5
| | | | | | 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-131-0/+9
| | | | | | | | 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-051-0/+7
| | | | | | * 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-041-0/+11
| | | | | | | | | | | | * 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-041-1/+6
| | | | * tests/expr-old.test: integer values by srand() [Bug 1480509].
* * changes: updates for another RC.dgp2006-04-121-2/+6
|
* typosdas2006-04-111-2/+2
|
* * generic/tclCmdMZ.c: Stop some interference between enter tracesdgp2006-04-111-0/+5
| | | | * tests/trace.test: and enterstep traces. [Bug 1458266]
* *** 8.4.13 TAGGED FOR RELEASE ***dgp2006-04-101-2/+6
| | | | * changes: updates for another RC.
* * generic/tclRegexp.c (FinalizeRegexp): full reset data tohobbs2006-04-071-0/+5
| | | | indicate that readiness for reinitialization.
* * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): It seemsdgp2006-04-061-0/+8
| | | | | | | * 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-061-19/+23
| | | | | 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-051-5/+3
|
* * library/dde/pkgIndex.tcl: Backport dde 1.3.2 from HEAD.dgp2006-04-051-3/+5
| | | | | | | * 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-051-0/+4
| | | | | | 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-051-0/+6
| | | | | * 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-051-2/+2
| | | | | strings to be matched by the Tcl_GetIndexFromObj machinery, in the same manner as any other key. [Bug 1464039]
* Fix [Bug 1646039]dkf2006-04-051-0/+6
|
* * generic/tclPkg.c: Revised Bug 1162286 fix from 2005-11-08dgp2006-04-051-4/+4
| | | | * tests/pkg.test: to be even more forgiving of package version mismatch errors in [package ifneeded] commands, not even logging any warning messages. This further reduces the ***POTENTIAL INCOMPATIBILITY*** noted for that change.
* * generic/tclPkg.c: Revised Bug 1162286 fix from 2005-11-08dgp2006-04-051-0/+8
| | | | | | | to be even more forgiving of package version mismatch errors in [package ifneeded] commands, not even logging any warning messages. This further reduces the ***POTENTIAL INCOMPATIBILITY*** noted for that change.
* * generic/tclIO.c (ReadChars): Added check and panic andandreas_kupries2006-04-051-0/+22
| | | | | | | | | | | | | | | | | | | | | commentary to a piece of code which relies on BUFFER_PADDING to create enough space at the beginning of each buffer forthe insertion of partial multi-byte data at the beginning of a buffer. To explain why this code is ok, and as precaution if someone twiddled the BUFFER_PADDING into uselessness. * generic/tclIO.c (ReadChars): [SF Tcl Bug 1462248]. Added code temporarily suppress the use of TCL_ENCODING_END set when eof was reached while the buffer we are converting is not truly the last buffer in the queue. together with the Utf bug below it was possible to completely bollox the buffer data structures, eventually crashing Tcl. * generic/tclEncoding.c (UtfToUtfProc): Fixed problem where the function accessed memory beyond the end of the input buffer. When TCL_ENCODING_END is set and the last bytes of the buffer start a multi-byte sequence. This bug contributed to [SF Tcl Bug 1462248].
* * win/configure, win/tcl.m4: define MACHINE for gcc builds as well.hobbs2006-03-281-0/+3
| | | | Needed by Tk for manifest generation.
* * win/tclWinConsole.c: revert 2005-11-03 [Patch 1256872] changehobbs2006-03-281-0/+6
| | | | | to add win32 unicode console support as it broke the ability to modify the encoding to the console.
* * unix/tclUnixFCmd.c (TclpObjNormalizePath): deal with *BSD/Darwindas2006-03-281-0/+10
| | | | realpath() converting relative paths into absolute paths. [Bug 1064247]
* Fixes for bug #1456373 and general warning silencing for gcc build.patthoyts2006-03-271-0/+4
|
* * tests/expr.test: Nan self-inquality test silenced. [Bug 761471]dgp2006-03-231-0/+4
|
* tag movedgp2006-03-221-2/+2
|
* * changes: updates for another RC.dgp2006-03-221-0/+4
|
* backport of file writable fixesvincentdarley2006-03-191-0/+10
|
* * doc/open.n: Documented the changed behaviour of 'a'ppend mode.andreas_kupries2006-03-161-2/+2
|
* * tests/io.test (io-43.1 io-44.[1234]): Rewritten to beandreas_kupries2006-03-161-0/+5
| | | | self-contained with regard to setup and cleanup. [Bug 681793].
* * generic/tclIOUtil.c (TclGetOpenMode): Added the flag O_APPEND toandreas_kupries2006-03-161-0/+10
| | | | | | | | | the list of POSIX modes used when opening a file for 'a'ppend. This enables the proper automatic seek-to-end-on-write by the OS. See [Bug 680143] for longer discussion. * tests/ioCmd.test (iocmd-13.7.*): Extended the testsuite to check the new handling of 'a'.
* * tests/socket.test: Extended the timeout in socket-11.11 from 10andreas_kupries2006-03-161-0/+13
| | | | | | | | | | to 40 seconds to allow for really slow machines. Also extended actual/expected results with value of variable 'done' to make it clearer when a test fails due to a timeout. [Bug 792159]. * generic/tclPipe.c (TclCreatePipeline): Modified the processing of pipebars to fail if the last bar is followed only by redirections. [Bug 768659].
* * doc/fconfigure.n: Clarified that -translation is binary isandreas_kupries2006-03-141-0/+7
| | | | | | reported as lf when queried, because it is identical to lf, except for the special additional behaviour when setting it. [Bug 666770].
* * win/tclWinPipe.c (Tcl_WaitPid): Backport of fix made to the headandreas_kupries2006-03-141-0/+11
| | | | | | | | | | by David Gravereaux in 2004. See ChangeLog entry 2004-01-19. [Bug 1381436]. Fixed a thread-safety problem with the process list. The delayed cut operation after the wait was going stale by being outside the list lock. It now cuts within the lock and does a locked splice for when it needs to instead. [Bug 859820]
* * generic/tclEncoding.c: Report error when an escape encodingdgp2006-03-131-0/+3
| | | | is missing one of its sub-encodings [Bug 506653].
* * unix/configure.in: Revert change from 2005-07-26 that sometimesdgp2006-03-131-0/+6
| | | | | * unix/configure: added $prefix/share to the tcl_pkgPath. See [Patch 1231015]. autoconf-2.13.
* typodgp2006-03-101-1/+1
|