summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
* * generic/tcl.h: Bump version number to 8.5b2.1 to distinguishdgp2007-10-301-2/+2
| | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5b2 * unix/configure.in: release. * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure:
* * generic/tclUtil.c (Tcl_ConcatObj): optimise for some of theMiguel Sofer2007-10-281-13/+38
| | | | concatenees being empty objs [Bug 1447328]
* Embed the definition of the iso8859-1 encoding directly in Tcl.dkf2007-10-281-2/+46
|
* * generic/tclNamesp.c (Tcl_FindCommand): insure that FQ commandMiguel Sofer2007-10-271-2/+2
| | | | | names are searched from the global namespace, ie, bypassing resolvers of the current namespace [Bug 1114355].
* Part of fix for [Bug 1810264]dkf2007-10-271-1/+1
|
* * generic/tclCompile.h:Miguel Sofer2007-10-272-4/+4
| | | | | | * generic/tclInt.h: moved declaration of TclSetCmdNameObj from tclCompile.h to tclInt.h, reverting linker [Bug 1821159] caused by commit of 2007-10-11 (both I and gcc missed one dep).
* * generic/tclVar.c: try to preserve Tcl_Objs when doing variableMiguel Sofer2007-10-271-55/+97
| | | | lookups by name, partially addressing [Bug 1793601]
* * README: Bump version number to 8.5b2.dgp2007-10-261-3/+3
| | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure:
* whitespacedas2007-10-251-4/+4
|
* Added TclpMasterLock/Unlock arround calls to ForgetSyncObject invasiljevic2007-10-251-1/+10
| | | | | Tcl_MutexFinalize and Tcl_ConditionFinalize to prevent from garbling the internal list that track synchronization objects.
* * generic/tclCompile.c: Fix comments.Miguel Sofer2007-10-202-5/+5
| | | | * generic/tclExecute.c:
* * generic/tclResult.c (TclMergeReturnOptions): Make sure any -codedgp2007-10-182-3/+11
| | | | | | | | values get pulled out of the dictionary, even if they are integer valued. * generic/tclCompCmds.c (TclCompileReturnCmd): Added code to more optimally compile [return -level 0 $x] to "push $x". [RFE 1794073]
* * generic/tcl.h: Remove TCL_LL_MODIFIER_SIZE. [RFE 1811837]dgp2007-10-181-11/+1
|
* * generic/tclCompExpr.c: Moved a misplaced declaration that blockedKevin B Kenny2007-10-172-7/+12
| | | | | | compilation on VC++. * generic/tclExecute.c: Silenced several VC++ compiler warnings about converting 'long' to 'unsigned short'.
* * generic/tclIOCmd.c: Revise [open] so that it interprets leadingdgp2007-10-153-6/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | zero strings passed as the "permissions" argument as octal numbers, even if Tcl itself no longer parses integers in that way. * unix/tclUnixFCmd.c: Revise the "-permissions" [file attribute] so that it interprets leading zero strings as octal numbers, even if Tcl itself no longer parses integers in that way. * generic/tclCompExpr.c: Corrections to code that produces * generic/tclUtil.c: extended "bad octal" error messages. * tests/cmdAH.test: Test revisions so that tests pass whether or * tests/cmdIL.test: not Tcl parses leading zero strings as octal. * tests/compExpr-old.test: * tests/compExpr.test: * tests/compile.test: * tests/expr-old.test: * tests/expr.test: * tests/incr.test: * tests/io.test: * tests/lindex.test: * tests/link.test: * tests/mathop.test: * tests/parseExpr.test: * tests/set.test: * tests/string.test: * tests/stringComp.test:
* * generic/tclParse.c (Tcl_ParseBraces): fix for possible readMiguel Sofer2007-10-151-2/+2
| | | | after the end of buffer, [Bug 1813528] (Joe Mistachkin).
* comment typodas2007-10-121-2/+2
|
* * generic/tclCmdMZ.c: Correct [string is (wide)integer] failuredgp2007-10-112-81/+43
| | | | | | | | | | | | | | | | | | * tests/string.test: to report correct failindex values for non-decimal integer strings. [Bug 1805887]. * compat/strtoll.c (removed): The routines strtoll() and strtoull() * compat/strtoull.c (removed): are no longer called by the Tcl source * generic/tcl.h: code. (Their functionality has been replaced * unix/Makefile.in: by TclParseNumber().) Remove outdated comments * unix/configure.in: and mountains of configury autogoo that * unix/tclUnixPort.h: allegedly support the mythical systems where * win/Makefile.in: these routines might not have been available. * win/makefile.bc: * win/makefile.vc: * win/tclWinPort.h: * unix/configure: autoconf-2.59
* * generic/tclObj.c: remove superfluous #include of tclCompile.hMiguel Sofer2007-10-111-2/+1
|
* Fix my silly blunder with an undeclared variable.dkf2007-10-091-2/+3
|
* * generic/tcl.h (Tcl_DecrRefCount): Update change from 2006-05-29hobbs2007-10-021-3/+4
| | | | to make macro more warning-robust in unbraced if code.
* * generic/tcl.h: Bump version number to 8.5b1.1 to distinguishdgp2007-10-021-2/+2
| | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5b1 * unix/configure.in: release. * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure:
* Add a new command, ::tcl::unsupported::disassembledkf2007-09-256-166/+406
|
* fix 'make checkstubs' complaint about Tcl_PkgInitStubsCheckcore_8_5_b1das2007-09-201-1/+4
|
* * README: Bump version number to 8.5b1dgp2007-09-191-4/+4
| | | | | | | | | * generic/tcl.h: Merge from core-stabilizer-branch. * library/init.tcl: Stabilizing toward 8.5b1 release now done * tools/tcl.wse.in: on the HEAD. core-stabilizer-branch is * unix/configure.in: now suspended. * unix/tcl.spec: * win/configure.in:
* formattingdgp2007-09-191-9/+5
|
* Replace isdigit call with an internal implementation to avoid libc linkage ↵patthoyts2007-09-191-2/+11
| | | | on windows
* * generic/tclStubLib.c: Remove C library calls from Tcl_InitStubs()dgp2007-09-181-2/+8
| | | | | * win/makefile.vc: so that we don't need the C library linked in to libtclStub.
* * generic/tcl.h: Revised Tcl_InitStubs() to restore Tcl 8.4dgp2007-09-173-5/+70
| | | | | | * generic/tclPkg.c: source compatibility with callers of * generic/tclStubLib.c: Tcl_InitStubs(interp, TCL_VERSION, 1). [Bug 1578344].
* (CopyData): avoid leaking msg and errObj (if interp == NULL)das2007-09-171-15/+27
|
* Generate literal values more efficiently using TclNewLiteralStringObj macro.dkf2007-09-174-53/+54
|
* Minor cleanup of NULL usagedkf2007-09-171-13/+16
|
* Only invalidate the namespace path once on command creation. [1519940]dkf2007-09-141-2/+1
|
* * generic/tclDTrace.d (new file): add DTrace provider for Tcl; allowsdas2007-09-137-22/+561
| | | | | | | | | | | | | | | | | | * 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.
* * doc/package.n: Restored the functioning ofdgp2007-09-111-188/+57
| | | | | * generic/tclPkg.c: [package require -exact] to be compatible * tests/pkg.test: with Tcl 8.4. [Bug 1578344].
* * generic/tclCompCmds.c (TclCompileDictCmd-update):Miguel Sofer2007-09-113-21/+37
| | | | | | * 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-111-3/+25
| | | | | 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-101-2/+9
| | | | unlinked. [Bug 1740631] (maros)
* * generic/tclCompile.c: fix tclInstructionTable entry forMiguel Sofer2007-09-102-10/+3
| | | | | | | 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-101-55/+35
| | | | | * 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-095-242/+112
| | | | | | | | | | | | | | | | | | | * 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-094-63/+74
| | | | | | | | | * 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-091-7/+16
| | | | routine to compile ** to account for its different associativity.
* * generic/tclVar.c (Tcl_SetVar2, TclPtrSetVar): [Bug 1710710]Miguel Sofer2007-09-081-7/+4
| | | | fixed correctly, reverted fix of 2007-05-01.
* Fix [Bug 1786481]dkf2007-09-082-2/+20
|
* * generic/tclEvent.c ([::tcl::Bgerror]): Corrections to Tcl'sdgp2007-09-071-13/+27
| | | | | | * 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-071-2/+4
| | | | | resolved variables was being managed without checking if they were Var or VarInHash: itcl [Bug 1790184]