summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, fordas2006-08-181-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * generic/tclCompile.c: Revised the new set of expressiondgp2006-08-171-0/+5
| | | | * generic/tclParseExpr.c: parse error messages.
* * generic/tclParseExpr.c: Replace PrecedenceOf() functiondgp2006-08-161-0/+5
| | | | with prec[] static array.
* Added missing braces to validation codedkf2006-08-141-0/+5
|
* Applied [Patch 1352382]dkf2006-08-111-0/+6
|
* Various minor object file size efficiency fixes. [Bug 1530474]dkf2006-08-101-0/+11
|
* * generic/tclEncoding.c: Replace buffer copy in for loopdgp2006-08-091-0/+5
| | | | with call to memcpy(). Thanks to afredd. [Patch 1530262]
* Error message consistency improvements. [Bug 1534628]dkf2006-08-091-0/+3
|
* Fix silly error in error handling for uncompiled [dict for]. [Bug 1531184]dkf2006-08-091-0/+3
|
* Make [expr] use in examples more idiomatic [Bug 1526581]dkf2006-08-091-481/+458
|
* * unix/tclUnixPipe.c (TclpCreateProcess): for USE_VFORK: ensure standarddas2006-08-021-2/+18
| | | | | channels are initialized before vfork() so that the child doesn't potentially corrupt global state in the parent's address space.
* Bug 1531530Kevin B Kenny2006-07-311-0/+7
|
* Bug 1426279Kevin B Kenny2006-07-311-3/+10
|
* Fixed Bug 1494664Kevin B Kenny2006-07-301-1/+3
|
* Fixed Bug 1505383Kevin B Kenny2006-07-301-0/+10
|
* Fix typo [Bug 1496886]jenglish2006-07-301-0/+4
|
* * generic/tclExecute.c: Corrected flawed overflow detection indgp2006-07-261-0/+6
| | | | | * tests/expr.test: INST_EXPON that caused [expr 2**64] to return 0 instead of the same value as [expr 1<<64].
* * win/tclWinSock.c: Correct un-initialized Tcl_DString. Thanksdgp2006-07-241-0/+6
| | | | to afredd. [Bug 1518166]
* * generic/tclExecute.c:Miguel Sofer2006-07-211-0/+4
| | | | * tests/execute.test (execute-9.1): dgp's fix for [Bug 1522803].
* * macosx/tclMacOSXNotify.c (Tcl_InitNotifier, Tcl_WaitForEvent): createdas2006-07-201-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/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/tclParseExpr.c: Completely new expression parserdgp2006-07-051-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that builds a parse tree instead of operating with deep recursion. This corrects reports of stack-blowing crashes parsing long expressions [Bug 906201] and replaces a fundamentally O(N^2) algorithm with an O(N) one [RFE 903765]. The new parser is better able to generate error messages that clearly report both the nature and context of the syntax error [Bugs 1029267, 1381715]. For now, the code for the old parser is still present and can be activated with a "#define OLD_EXPR_PARSER 1". This is for the sake of a clean implementation patch, and for ease of benchmarking. The new parser is non-recursive, so much lighter in stack consumption, but it does use more heap, so there may be cases where parsing of long expressions that succeeded with the old parser will lead to out of memory panics with the new one. There are still more improvements possible on that point, though significant progress may require changes to the Tcl_Token specifications documented for the public Tcl_Parse*() routines. ***POTENTIAL INCOMPATIBILITY*** for any callers that rely on the exact (usually terrible) error messages generated by the old parser. This includes a large number of tests in the test suite. * generic/tclInt.h: Replaced TclParseWhiteSpace() with * generic/tclParse.c: TclParseAllWhiteSpace() which is what * generic/tclParseExpr.c: all the callers really needed. Breaking whitespace runs at newlines is useful only to the command parsing function, and it can call the file scoped routine ParseWhiteSpace() to do that. * tests/expr-old.test: Removed knownBug constraints that masked * tests/expr.test: failures due to revised error messages. * tests/parseExpr.test:
* * generic/tclIOUtil.c: Changed default configuration todgp2006-06-211-0/+19
| | | | | | | | | | | | | | | | | | | | * generic/tclInt.decls: #undef USE_OBSOLETE_FS_HOOKS which disables * generic/tclTest.c: access to the Tcl 8.3 internal routines for hooking into filesystem operations. Everyone ought to have migrated to Tcl_Filesystems by now. ***POTENTIAL INCOMPATIBILITY*** for any code still stuck in the pre-Tcl_Filesystem era. * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclStrToD.c: Removed dead code that permitted disabling of recognition of the new 0b and 0o numeric formats. * generic/tclExecute.c: Removed dead code that implemented alternative * generic/tclObj.c: design where numeric values did not automatically narrow to the smallest Tcl_ObjType required to hold them.
* * generic/tclCmdAH.c: Removed dead code that was old implementationdgp2006-06-201-0/+5
| | | | of [format].
* * 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.
* Added examples after prompting on the Tcler's chat.dkf2006-06-141-0/+5
|
* 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().
* Documentation improvements (including Tcl_Realloc(NULL,x) behaviour)dkf2006-06-051-0/+6
|
* Minor formatting fixesdkf2006-06-051-174/+182
|
* * 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-0/+14
| | | | | | | | | | | | | * 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
* Fix [Bug 1494160]dkf2006-05-241-0/+5
|
* Minor doc improvementsdkf2006-05-231-0/+5
|
* * 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/tclEvent.c (HandleBgErrors): fix leak. [Coverity issue 86]das2006-05-121-15/+19
|
* * 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.5a5dgp2006-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.59 * win/configure:
* * generic/tclBasic.c (ExprSrandFunc): Restore acceptance of wide/bigdgp2006-05-041-0/+5
| | | | * doc/mathfunc.n: integer values by srand() [Bug 1480509].
* * changes: Updates for another RC.core_8_5_a4dgp2006-04-261-2/+4
|
* * generic/tclBinary.c: Revised the handling of the Q and q formatdgp2006-04-261-0/+7
| | | | | | * generic/tclInt.h: specifiers for [binary] to account for the * generic/tclStrToD.c: "middle endian" floating point format used in Nokia N770.
* * doc/DoubleObj.3: More doc updates for TIP 237.dgp2006-04-261-0/+3
| | | | | | | | * doc/expr.n: * doc/format.n: * doc/mathfunc.n: * doc/scan.n: * doc/string.n:
* * doc/DoubleObj.3: More doc updates for TIP 237.dgp2006-04-251-0/+1
| | | | | * doc/format.n: * doc/scan.n:
* * doc/DoubleObj.3: More doc updates for TIP 237.dgp2006-04-251-0/+9
| | | | | | | | * doc/scan.n: * generic/tclScan.c: [scan $s %u] is documented to accept only * tests/scan.test: decimal formatted integers. Fixed code to match.
* correct ChangeLog to reflect 2006-04-19 commit ofKevin B Kenny2006-04-241-0/+4
| | | | generic/tclStrToD.c
* fix for Martin Lemburg's DST conversion bug.Kevin B Kenny2006-04-191-0/+8
| | | | http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/9a8b15a4dfc0b7a0
* Minor fixes post-review.dkf2006-04-181-0/+5
|
* * doc/IntObj.3: Documentation changes to account for TIP 237 changes.dgp2006-04-171-0/+5
| | | | * doc/Object.3: [Bug 1446971]
* Fix [1376892]dkf2006-04-121-59/+57
|