summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclBasic.c (TEOvI): Made sure that leaveMiguel Sofer2007-06-214-99/+127
| | | | | | | * generic/tclExecute.c (INST_INVOKE): traces that were created * tests/trace.test (trace-36.2): during execution of an originally untraced command do not fire [Bug 1740962], partial fix.
* Fix comments referring to {expand}. [Bug 1600859]dkf2007-06-214-12/+17
|
* * generic/tclVar.c: streamline namespace vars deletion: onlyMiguel Sofer2007-06-202-11/+51
| | | | compute the variable's full name if the variable is traced.
* correct pointer type mismatch in latest commitdgp2007-06-201-2/+2
|
* * generic/tclInt.decls: Revised the interfaces of the routinesdgp2007-06-2020-93/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclExecute.c: TclStackAlloc and TclStackFree to make them easier for callers to use (or more precisely, harder to misuse). TclStackFree now takes a (void *) argument which is the pointer intended to be freed. TclStackFree will panic if that's not actually the memory the call will free. TSA/TSF also now tolerate receiving (interp == NULL), in which case they simply fall back to be calls to Tcl_Alloc/Tcl_Free. * generic/tclIntDecls.h: make genstubs * generic/tclBasic.c: Updated callers * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCompCmds.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclIOCmd.c: * generic/tclIndexObj.c: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclProc.c: * generic/tclTrace.c: * unix/tclUnixPipe.c:
* * tools/tcltk-man2html.tcl: revamp of html doc output to use CSS,hobbs2007-06-202-163/+254
| | | | standardized headers, subheaders, dictionary sorting of names.
* improve comments on Tcl stack managementMiguel Sofer2007-06-191-1/+12
|
* adding comments to GrowEvaluationStackMiguel Sofer2007-06-191-1/+13
|
* * tools/tcltk-man2html.tcl: clean up copyright merging and output.hobbs2007-06-192-89/+119
| | | | clean up coding constructs.
* * generic/tclCmdIL.c (InfoFrameCmd):Miguel Sofer2007-06-186-69/+94
| | | | | | | * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): * generic/tclCompile.c (TclInitCompileEnv): * generic/tclProc.c (Tcl_ProcObjCmd, SetLambdaFromAny): Moved the CmdFrame off the C stack and onto the Tcl stack.
* * generic/tclExecute.c (TEBC): Moved the CmdFrame off the C stackMiguel Sofer2007-06-182-21/+27
| | | | and onto the Tcl stack, between the catch and the execution stacks
* * generic/tclBasic.c (TclEvalEx,TclEvalObjEx): Moved the CmdFrame offdgp2007-06-182-31/+36
| | | | the C stack and onto the Tcl stack.
* * generic/tclBasic.c (TclEvalEx): Moved the CmdFrame off the C ↵dgp2007-06-182-32/+38
| | | | | | stack and onto the Tcl stack.
* Fix [Bug 1738542]dkf2007-06-173-142/+186
|
* * generic/tclProc.c (TclObjInterpProcCore): Use switch instead of adkf2007-06-162-88/+98
| | | | chain of if's for a modest performance gain and a little more clarity.
* * generic/tclCompCmds.c: Simplified [variable] compiler andMiguel Sofer2007-06-153-47/+45
| | | | | * generic/tclExecute.c: executor. Missed updates to "there is always a valid frame".
* * generic/tclCompile.c: reverted TclEvalObjvInternal andMiguel Sofer2007-06-155-277/+114
| | | | | | | | | | | | * generic/tclExecute.c: INST_INVOKE to essentially what they were * generic/tclBasic.c: previous to the commit of 2007-04-03 [Patch 1693802] and the subsequent optimisations, as they break the new trace tests described below. * generic/trace.test: added tests 36 to 38 for dynamic trace creation and addition. These tests expose a change in dynamics due to a recent round of optimisations. The "correct" behaviour is not described in docs nor TIP 62.
* * generic/trace.test: added tests 36.* for dynamic trace creationMiguel Sofer2007-06-152-1/+59
| | | | | | | and addition. These tests expose a change in dynamics due to a recent round of optimisations. The "correct" behaviour is not described in docs nor TIP 62. Currently test 36.2 fails, the opts will be rolled back.
* Tidy up a bitdkf2007-06-151-67/+66
|
* Changelog fixMiguel Sofer2007-06-141-1/+0
|
* * generic/tclInt.decls: Modif to the internals ofMiguel Sofer2007-06-145-222/+294
| | | | | | | * generic/tclInt.h: TclObjInterpProc to reduce stack * generic/tclIntDecls.h: consumption and improve task * generic/tclProc.c: separation. Changes the interface of TclObjInterpProcCore (patching TclOO simultaneously).
* * generic/tclProc.c (TclObjInterpProcCore): simplified objMiguel Sofer2007-06-142-10/+10
| | | | management in wrongNumArgs calls.
* remove C99 var declarationhobbs2007-06-141-3/+4
|
* * generic/tclCompile.c: SetByteCodeFromAny() can no longer returndgp2007-06-144-46/+31
| | | | | * generic/tclExecute.c: any code other than TCL_OK, so remove code * generic/tclProc.c: that formerly handled exceptional codes.
* * generic/tclExecute.c (TclCompEvalObj): missed update to "thereMiguel Sofer2007-06-143-21/+35
| | | | | | | | | is always a valid frame". * generic/tclProc.c (TclObjInterpProcCore): call TEBC directly instead of going through TclCompEvalObj - no need to check the compilation's freshness, this has already been done. This improves speed and should also provide some relief to [Bug 1066755].
* added Changelog comment wrt the TEOvI and TEBC changes:Miguel Sofer2007-06-121-1/+7
| | | | | | | | ***POTENTIAL INCOMPAT*** There is a subtle issue with the timing of execution traces that is changed here - first change appeared in my commit of 2007-04-03 [Patch 1693802], which caused some divergence between compiled and non-compiled code. ***THIS CHANGE IS UNDER REVIEW***
* Silence a 'const'ness warning.dkf2007-06-121-2/+2
|
* Convert [info] into an ensemble command.dkf2007-06-127-422/+392
|
* Improve the argument substitution behaviour of Tcl_WrongNumArgs when faced withdkf2007-06-124-46/+80
| | | | ensemble and interp-alias rewrites.
* * generic/tclNamesp.c: tweaks to Tcl_GetCommandFromObj andMiguel Sofer2007-06-113-111/+73
| | | | | | * generic/tclObj.c: TclGetNamespaceFromObj; modified the usage of structs ResolvedCmdName and ResolvedNsname so that the field refNsPtr is NULL for fully qualified names.
* * generic/tclNamesp.c: tweaks to Tcl_GetCommandFromObj andMiguel Sofer2007-06-113-13/+15
| | | | * generic/tclObj.c: TclGetNamespaceFromObj
* * generic/tclExecute.c: comments added to explain iPtr->numLevelsMiguel Sofer2007-06-112-2/+10
| | | | management.
* * generic/tclBasic.c: Further TEOvI split, creating a newMiguel Sofer2007-06-104-78/+93
| | | | | | | * generic/tclCompile.h: TclEvalObjvKnownCommand() function to * generic/tclExecute.c: handle commands that are already known and are not traced. INST_INVOKE now calls into this function instead of inlining parts of TEOvI. Same perf, better isolation.
* fix Tcl_Panic error message typo [Bug 1712602]hobbs2007-06-101-2/+2
|
* * README: updated links. [Bug 1715081]hobbs2007-06-102-34/+23
|
* * generic/tclExecute.c (TclExecuteByteCode): restore support forhobbs2007-06-102-9/+146
| | | | | INST_CALL_BUILTIN_FUNC1 and INST_CALL_FUNC1 bytecodes to support 8.4- precompiled sources (math functions). [Bug 1720895]
* * generic/tclInt.h:Miguel Sofer2007-06-105-103/+108
| | | | | | | | | * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclvar.c: new macros TclGetCurrentNamespace() and TclGetGlobalNamespace(); Tcl_GetCommandFromObj and TclGetNamespaceFromObj rewritten to make the logic clearer; slightly faster too.
* fix for ne TclCleanupCommandMacro (doh!)Miguel Sofer2007-06-101-2/+2
|
* * generic/tclExecute.c (INST_INVOKE): isolated two vars to theMiguel Sofer2007-06-092-3/+6
| | | | small block where they are actually used.
* * generic/tclObj.c (Tcl_GetCommandFromObj): rewritten to make theMiguel Sofer2007-06-092-41/+35
| | | | logic clearer; slightly faster too.
* added incompat warning in ChangelogMiguel Sofer2007-06-091-0/+8
|
* * generic/tclBasic.c: Split TEOv in two, by separating aMiguel Sofer2007-06-097-159/+359
| | | | | | | | | | | | | | | | | | | | | | processor for non-TCL_OK returns. Also spli TEOvI in a full version that handles non-existing and traced commands, and a separate shorter version for the regular case. * generic/tclBasic.c: Moved the generation of command strings for * generic/tclTrace.c: traces: previously in Tcl_EvalObjv(), now in TclCheck[Interp|Execution]Traces(). Also insured that the strings are properly nul terminated at the correct length [Bug 1693986] * generic/tclBasic.c: Extend usage of TclLimitReady() and * generic/tclExecute.c: (new) TclLimitExceeded() macros. * generic/tclInt.h: * generic/tclInterp.c: * generic/tclInt.h: New TclCleanupCommandMacro for core usage. * generic/tclBasic.c: * generic/tclExecute.c: * generic/tclObj.c:
* * macosx/Tcl.xcodeproj/project.pbxproj: add new Tclsh-Info.plist.in.das2007-06-092-2/+8
|
* Forgot to fix the relevant testsdkf2007-06-082-8/+8
|
* Make [string first] and [string last] clearerdkf2007-06-083-14/+22
|
* * generic/tclParse.c: fix for uninit read [Bug 1732414].Miguel Sofer2007-06-062-2/+7
|
* * macosx/Tcl.xcodeproj/project.pbxproj: add settings for Fix&Continue.das2007-06-068-30/+100
| | | | | | | | | | * unix/configure.in (Darwin): add plist for tclsh; link the * unix/Makefile.in (Darwin): Tcl and tclsh plists into their * macosx/Tclsh-Info.plist.in (new): binaries in all cases. * macosx/Tcl-Common.xcconfig: * unix/tcl.m4 (Darwin): fix CF checks in fat 32&64bit builds. * unix/configure: autoconf-2.59
* * generic/tclBasic.c: Added interp flag value ERR_LEGACY_COPY todgp2007-06-057-12/+51
| | | | | | | | * generic/tclInt.h: control the timing with which the global * generic/tclNamesp.c: variables ::errorCode and ::errorInfo get * generic/tclProc.c: updated after an error. This keeps more * generic/tclResult.c: precise compatibility with Tcl 8.4. * tests/result.test (result-6.2): [Bug 1649062]
* * generic/tclInt.h:Miguel Sofer2007-06-053-190/+301
| | | | * generic/tclExecute.c: Tcl-stack reform, [Patch 1701202]
* Add missing constraintsdgp2007-06-041-3/+3
|