summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* (CopyData): avoid leaking msg and errObj (if interp == NULL)das2007-09-171-15/+27
|
* coverity id 102das2007-09-171-13/+4
|
* coverity id 100das2007-09-171-4/+4
|
* Generate literal values more efficiently using TclNewLiteralStringObj macro.dkf2007-09-175-53/+62
|
* Minor cleanup of NULL usagedkf2007-09-171-13/+16
|
* Cleaned up formatting so that lines don't wrap on standard width terminalsdkf2007-09-171-731/+742
|
* Do not error on warnings for amd64 symbols build.patthoyts2007-09-171-4/+4
|
* Default for 8.5 is threaded buildpatthoyts2007-09-171-6/+6
|
* * unix/tcl.m4: replace all direct references to compiler by ${CC} todas2007-09-153-71/+87
| | | | | | | | | enable CC overriding at configure & make time; run check for visibility "hidden" with all compilers; quoting fixes from TEA tcl.m4. (SunOS-5.1x): replace direct use of '/usr/ccs/bin/ld' in SHLIB_LD by 'cc' compiler driver. * unix/configure: autoconf-2.59
* Only invalidate the namespace path once on command creation. [1519940]dkf2007-09-142-2/+6
|
* typodas2007-09-141-1/+1
|
* typodas2007-09-131-1/+1
|
* * generic/tclDTrace.d (new file): add DTrace provider for Tcl; allowsdas2007-09-1315-35/+883
| | | | | | | | | | | | | | | | | | * 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/GNUmakefile: enable DTrace support. * macosx/Tcl-Common.xcconfig: * macosx/Tcl.xcodeproj/project.pbxproj: * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* * generic/tclCmdIL.c: factor our core of InfoFrameCmd() into internaldas2007-09-131-14/+41
| | | | TclInfoFrame() for use by DTrace probes.
* * unix/Makefile.in: Perform missing updates of the tcltest Tcldgp2007-09-123-6/+12
| | | | | * win/Makefile.in: Module installed filename that should have been part of the bump to tcltest 2.3b1. Thanks Larry Virden.
* Use nmakehlp to substitute values for tclConfig.sh (helps cross-compiling).patthoyts2007-09-124-76/+223
|
* * library/tcltest/tcltest.tcl: Accept underscores and colons indgp2007-09-114-11/+15
| | | | | | | * library/tcltest/pkgIndex.tcl: constraint names. Properly handle constraint expressions that return non-numeric boolean results like "false". Bump to tcltest 2.3b1. [Bug 1772989; RFE 1071322] * tests/info.test: Disable fragile tests.
* * doc/package.n: Restored the functioning ofdgp2007-09-114-213/+87
| | | | | * generic/tclPkg.c: [package require -exact] to be compatible * tests/pkg.test: with Tcl 8.4. [Bug 1578344].
* Changelog incompat warning for precompiled scriptsMiguel Sofer2007-09-111-0/+4
|
* * generic/tclCompCmds.c (TclCompileDictCmd-update):Miguel Sofer2007-09-114-21/+44
| | | | | | * generic/tclCompile.c (tclInstructionTable): * generic/tclExecute.c (INST_DICT_UPDATE_END): fix stack management in [dict update] [Bug 1786481].
* * generic/tclExecute.c: Corrected an off-by-one error in theKevin B Kenny2007-09-112-3/+31
| | | | | setting of MaxBaseWide for certain powers. [Bug 1767293 - problem reported in comments when bug was reopened].
* * generic/tclLink.c (Tcl_UpdateLinkedVar): guard against var beinghobbs2007-09-102-2/+14
| | | | unlinked. [Bug 1740631] (maros)
* * generic/tclCompile.c: fix tclInstructionTable entry forMiguel Sofer2007-09-103-10/+11
| | | | | | | dictUpdateEnd * generic/tclExecute.c: remove unneeded setting of 'cleanup' variable before jumping to checkForCatch.
* * doc/package.n: Restored the document parallel syntax of thedgp2007-09-104-65/+51
| | | | | * generic/tclPkg.c: [package present] and [package require] * tests/pkg.test: commands. [Bug 1723675]
* Minor cleanup of RE compiler code, gradually gradually making it more Tcl-ish.dkf2007-09-103-344/+332
|
* * generic/tclInt.h: Removed the "nsName" Tcl_ObjType from thedgp2007-09-0911-295/+175
| | | | | | | | | | | | | | | | | | | * generic/tclNamesp.c: registered set. Revised the management of * generic/tclObj.c: the intrep of that Tcl_ObjType. Revised the * tests/obj.test: TclGetNamespaceFromObj() routine to return TCL_ERROR and write a consistent error message when a namespace is not found. [Bug 1588842. Patch 1686862] ***POTENTIAL INCOMPATIBILITY*** For callers of Tcl_GetObjType() on the name "nsName". * generic/tclExecute.c: Update TclGetNamespaceFromObj() callers. * generic/tclProc.c: * tests/apply.test: Updated tests to expect new consistent * tests/namespace-old.test: error message when a namespace is not * tests/namespace.test: found. * tests/upvar.test:
* Correct stack effect value in table.dgp2007-09-091-2/+2
|
* * generic/tclCompCmds.c: Use the new INST_REVERSE instructiondgp2007-09-096-66/+86
| | | | | | | | | * tests/mathop.test: to correct the compiled versions of math operator commands. [Bug 1724437]. * generic/tclCompile.c: New bytecode instruction INST_REVERSE to * generic/tclCompile.h: reverse the order of N items at the top of * generic/tclExecute.c: stack.
* * generic/tclCompCmds.c (TclCompilePowOpCmd): Make a separatedgp2007-09-092-7/+21
| | | | routine to compile ** to account for its different associativity.
* * generic/tclVar.c (Tcl_SetVar2, TclPtrSetVar): [Bug 1710710]Miguel Sofer2007-09-082-7/+9
| | | | fixed correctly, reverted fix of 2007-05-01.
* Fix [Bug 1786481]dkf2007-09-084-22/+90
|
* * generic/tclEvent.c ([::tcl::Bgerror]): Corrections to Tcl'sdgp2007-09-073-14/+74
| | | | | | * tests/event.test: default [interp bgerror] handler so that when it falls back to a hidden [bgerror] in a safe interp, it gets the right error context data. [Bug 1790274].
* * generic/tclProc.c (TclInitCompiledLocals): the refCount ofMiguel Sofer2007-09-072-2/+10
| | | | | resolved variables was being managed without checking if they were Var or VarInHash: itcl [Bug 1790184]
* * generic/tclResult.c (Tcl_GetReturnOptions): Take care that adgp2007-09-074-35/+37
| | | | | | | | * tests/init.test: non-TCL_ERROR code doesn't cause existing -errorinfo, -errorcode, and -errorline entries to be omitted. * generic/tclEvent.c: With -errorInfo no longer lost, generate more complete ::errorInfo when calling [bgerror] after a non-TCL_ERROR background exception.
* header cleanupdgp2007-09-072-4/+3
|
* * generic/tclInterp.c (Tcl_Init): Removed constraint on abilitydgp2007-09-062-3/+7
| | | | | to define a custom [tclInit] before calling Tcl_Init(). Until now the custom command had to be a proc. Now it can be any command.
* * generic/tclInt.decls: New internal routine TclBackgroundException()dgp2007-09-069-41/+135
| | | | | | | | | | | | | | | | * generic/tclEvent.c: that for the first time permits non-TCL_ERROR exceptions to trigger [interp bgerror] handling. Closes a gap in TIP 221. When falling back to [bgerror] (which is designed only to handle TCL_ERROR), convert exceptions into errors complaining about the exception. * generic/tclInterp.c: Convert Tcl_BackgroundError() callers to call * generic/tclIO.c: TclBackgroundException(). * generic/tclIOCmd.c: * generic/tclTimer.c: * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c:
* typodas2007-09-061-2/+2
|
* * macosx/Tcl.xcode/project.pbxproj: discontinue unmaintained supportdas2007-09-067-127/+77
| | | | | | | | | | | | | * macosx/Tcl.xcode/default.pbxuser: for Xcode 1.5; replace by Xcode2 project for use on Tiger (with Tcl.xcodeproj to be used on Leopard). * macosx/Tcl.xcodeproj/project.pbxproj: updates for Xcode 2.5 and 3.0. * macosx/Tcl.xcodeproj/default.pbxuser: * macosx/Tcl.xcode/project.pbxproj: * macosx/Tcl.xcode/default.pbxuser: * macosx/Tcl-Common.xcconfig: * macosx/README: document project changes.
* discontinue support for Xcode 1.5 (project was no longer being maintained); ↵das2007-09-062-7845/+2561
| | | | make identical to current Tcl.xcodeproj.
* replace (ab)use of GENERIC_FLAGS as a unix/Makefile override by dedicated ↵das2007-09-062-7/+7
| | | | EXTRA_CFLAGS var
* * generic/tclBasic.c: Removed support for the unmaintaineddgp2007-09-054-43/+18
| | | | | * generic/tclExecute.c: -DTCL_GENERIC_ONLY configuration. [Bug 1264623] * unix/Makefile.in:
* correct autoconf/autoheader dependenciesdas2007-09-051-9/+8
|
* fix building on Pantherdas2007-09-051-1/+2
|
* * unix/Makefile.in: It's unreliable to count on the releasedgp2007-09-042-2/+6
| | | | | manager to remember to `make genstubs` before `make dist`. Let the Makefile remember the dependency for us.
* * unix/Makefile.in: Corrections to `make dist` dependencies to bedgp2007-09-041-2/+2
| | | | sure that macosx/configure gets generated whenever it does not exist.
* * unix/Makefile.in: Corrections to `make dist` dependencies to bedgp2007-09-042-3/+10
| | | | sure that macosx/configure gets generated whenever it does not exist.
* * tests/lindex.test (lindex-17.[01]): Added code to detect theKevin B Kenny2007-09-033-3/+38
| | | | | | error when a script does [lindex {} end foo]; an overaggressive optimisation caused this call to return an empty object rather than an error.
* Olson's tzdata2007gKevin B Kenny2007-09-0317-2550/+2617
|
* * generic/tclObj.c (TclInitObjSubsystem): restore registration of thedas2007-09-032-2/+41
| | | | | "wideInt" Tcl_ObjType for compatibility with 8.4 extensions that access the tclWideIntType Tcl_ObjType; add setFromAnyProc for tclWideIntType.