Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * generic/tclCompCmds.c: added a cast to silence a compiler | Kevin B Kenny | 2007-04-15 | 4 | -15/+33 |
| | | | | | | | | error on VC2005. * library/clock.tcl: Restored unique-prefix matching of keywords on the [clock] command. [Bug 1690041] * tests/clock.test: Added rudimentary test cases for unique-prefix matching of keywords. | ||||
* | * generic/tclExecute.c: removed some code at INSTEXPAND_SKTOP that | Miguel Sofer | 2007-04-14 | 2 | -8/+11 |
| | | | | duplicates functionality already present at checkForCatch. | ||||
* | Added keyword | dkf | 2007-04-13 | 1 | -3/+2 |
| | |||||
* | removed stray '//' | Miguel Sofer | 2007-04-11 | 1 | -2/+2 |
| | |||||
* | * generic/tclExecute.c: new macros OBJ_AT_TOS, OBJ_UNDER_TOS, | Miguel Sofer | 2007-04-11 | 2 | -141/+152 |
| | | | | | | OBJ_AT_DEPTH(n) and CURR_DEPTH that remove all direct references to tosPtr from TEBC (after initialisation and the code at the label cleanupV_pushObjResultPtr). | ||||
* | fixing comments | Miguel Sofer | 2007-04-11 | 1 | -4/+1 |
| | |||||
* | * generic/tclCompCmds.c: moved all exceptDepth management to the | Miguel Sofer | 2007-04-11 | 2 | -11/+20 |
| | | | | macros - the decreasing half was managed by hand. | ||||
* | assorted minor cleanup | dkf | 2007-04-10 | 1 | -12/+16 |
| | |||||
* | Don't use C++ keywords | dkf | 2007-04-10 | 1 | -4/+4 |
| | |||||
* | Reformat to standard function definition form | dkf | 2007-04-10 | 1 | -24/+27 |
| | |||||
* | Complete conversion to ANSI function definitions | dkf | 2007-04-10 | 1 | -3/+3 |
| | |||||
* | Reformat to standard function definition form; don't use C++ keywords | dkf | 2007-04-10 | 1 | -7/+9 |
| | |||||
* | Complete conversion to ANSI function definitions | dkf | 2007-04-10 | 1 | -3/+3 |
| | |||||
* | Reformat to standard function definition form | dkf | 2007-04-10 | 1 | -2/+5 |
| | |||||
* | Complete conversion to ANSI function definitions | dkf | 2007-04-10 | 1 | -8/+8 |
| | |||||
* | Handle creation of Tcl_Objs from constant strings better (easier to use, more | dkf | 2007-04-10 | 30 | -247/+266 |
| | | | | efficient). After [Patch 1529526] (afredd) | ||||
* | minor tidy | dkf | 2007-04-10 | 1 | -12/+10 |
| | |||||
* | * generic/tclCompile (tclInstructionTable): fixed bugs in | Miguel Sofer | 2007-04-08 | 2 | -6/+14 |
| | | | | description of dict instructions | ||||
* | * generic/tclCompile (tclInstructionTable): fixed bug in | Miguel Sofer | 2007-04-07 | 2 | -2/+7 |
| | | | | description of INST_START_COMMAND. | ||||
* | * generic/tclExecute.c (TEBC): small code reduction. | Miguel Sofer | 2007-04-07 | 2 | -25/+6 |
| | |||||
* | * generic/tclExecute.c (TEBC): | Miguel Sofer | 2007-04-06 | 4 | -450/+497 |
| | | | | | | | | * generic/tclNamespace.c (NsEnsembleImplementationCmd): * generic/tclProc.c (InitCompiledLocals, ObjInterpProcEx, TclObjInterpProcCore, ProcCompileProc): code reordering to reduce branching and improve branch prediction (assume that forward branches are typically not taken). | ||||
* | Extend/sort the "SEE ALSO" section | dkf | 2007-04-05 | 1 | -3/+3 |
| | |||||
* | Whitespace/formatting | dkf | 2007-04-05 | 1 | -17/+17 |
| | |||||
* | Simplification of some argument processing through introduction of a helper | dkf | 2007-04-05 | 1 | -26/+26 |
| | | | | macro. | ||||
* | Tighten up a comment | dkf | 2007-04-05 | 1 | -8/+7 |
| | |||||
* | added comments | Miguel Sofer | 2007-04-04 | 1 | -1/+5 |
| | |||||
* | * generic/tclExecute.c: INST_INVOKE optimisation [Patch 1693802] | Miguel Sofer | 2007-04-03 | 2 | -6/+28 |
| | |||||
* | restore line endings | dgp | 2007-04-03 | 1 | -475/+475 |
| | |||||
* | missing entry | dgp | 2007-04-03 | 1 | -0/+6 |
| | |||||
* | * generic/tclInt.decls: Moved TclGetNamespaceFromObj() to | Miguel Sofer | 2007-04-03 | 5 | -7/+29 |
| | | | | | | * generic/tclInt.h: the internal stubs table; regen. * generic/tclIntDecls.h: * generic/tclStubInit.c: | ||||
* | * generic/tclNamesp.c: Revised ErrorCodeRead and ErrorInfoRead | dgp | 2007-04-03 | 1 | -7/+21 |
| | | | | | trace routines so they guarantee the ::errorCode and ::errorInfo variable always appear to exist. [Bug 1693252]. | ||||
* | * generic/tclBasic.c: Added bytecode compilers for the | Miguel Sofer | 2007-04-03 | 8 | -85/+639 |
| | | | | | | | | * generic/tclCompCmds.c: variable linking commands: 'global', * generic/tclCompile.h: 'variable', 'upvar', 'namespace upvar' * generic/tclExecute.c: [Patch 1688593] * generic/tclInt.h: * generic/tclVar.c: | ||||
* | * generic/tclBasic.c: Replace arrays on the C stack and ckalloc | dgp | 2007-04-02 | 11 | -107/+66 |
| | | | | | | | | | | | | * generic/tclExecute.c: calls with TclStackAlloc calls to use memory * generic/tclFCmd.c: on Tcl's evaluation stack. * generic/tclFileName.c: * generic/tclIOCmd.c: * generic/tclIndexObj.c: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclTrace.c: * unix/tclUnixPipe.c: | ||||
* | Ensure that the count of commands commenced by bytecode is correct at all times | dkf | 2007-04-01 | 3 | -344/+609 |
| | | | | | | even though INST_START_CMD is now issued more efficiently. Changes definition of I_S_C, but that's an 8.5 opcode so that shouldn't matter; tbcload doesn't work with 8.5 at the moment anyway. | ||||
* | Minor simplification. | dkf | 2007-04-01 | 1 | -11/+12 |
| | |||||
* | * generic/tclCompile.c: | dgp | 2007-03-30 | 2 | -7/+10 |
| | | | | | | | * generic/tclCompExpr.c: * generic/tclCompCmds.c: Replace arrays on the C stack and ckalloc calls with TclStackAlloc calls to use memory on Tcl's evaluation stack | ||||
* | * generic/tclCompExpr.c: | dgp | 2007-03-30 | 2 | -13/+19 |
| | | | | | | * generic/tclCompCmds.c: Replace arrays on the C stack and ckalloc calls with TclStackAlloc calls to use memory on Tcl's evaluation stack | ||||
* | * generic/tclCompCmds.c: Replace arrays on the C stack and | dgp | 2007-03-30 | 2 | -43/+35 |
| | | | | | ckalloc calls with TclStackAlloc calls to use memory on Tcl's evaluation stack | ||||
* | * generic/tclCmdMZ.c: Revised [string to* $s $first $last] | dgp | 2007-03-30 | 2 | -8/+7 |
| | | | | implementation to reduce number of allocs/copies. | ||||
* | * tests/string.test: More [string reverse] tests. | dgp | 2007-03-30 | 2 | -1/+32 |
| | |||||
* | * generic/tclExecute.c: optimise the lookup of elements of indexed | Miguel Sofer | 2007-03-30 | 2 | -11/+44 |
| | | | | arrays. | ||||
* | * generic/tclProc.c (Tcl_ApplyObjCmd): | Miguel Sofer | 2007-03-29 | 3 | -6/+27 |
| | | | | | | * tests/apply.test (9.3): Fixed Tcl_Obj leak on error return; an unneeded ref to lambdaPtr was being set and not released on an error return path. | ||||
* | * generic/tclCmdMZ.c (STR_REVERSE): Implement the actual | dgp | 2007-03-28 | 4 | -38/+99 |
| | | | | | | | | | | | [string reverse] command in terms of the new TclStringObjReverse() routine. * generic/tclInt.h (TclStringObjReverse): New internal routine * generic/tclStringObj.c (TclStringObjReverse): that implements the [string reverse] operation, making use of knowledge/surgery of the String intrep to minimize the number of allocs and copies needed to do the job. | ||||
* | * generic/tclCmdMZ.c (STR_MAP): Replace ckalloc calls with | dgp | 2007-03-27 | 2 | -17/+24 |
| | | | | TclStackAlloc calls. | ||||
* | Thread exit handler marks the current thread as un-initialized. | vasiljevic | 2007-03-24 | 2 | -12/+14 |
| | | | | | | This allows exit handlers that are registered later to re-initialize this subsystem in case they need to use some sync primitives (cond variables) from this file again. | ||||
* | * generic/tclBasic.c (DeleteInterpProc): pop the root frame | Miguel Sofer | 2007-03-23 | 2 | -3/+9 |
| | | | | pointer before deleting the global namespace [Bug 1658572] | ||||
* | * win/Makefile.in: Added code to keep a Cygwin path name from | Kevin B Kenny | 2007-03-23 | 2 | -3/+8 |
| | | | | leaking into LIBRARY_DIR when doing 'make test' or 'make runtest'. | ||||
* | Reduce number of StackAlloc and StackFree calls. | dgp | 2007-03-23 | 1 | -26/+16 |
| | |||||
* | * generic/tclCmdAH.c (Tcl_ForeachObjCmd): Replaced arrays | dgp | 2007-03-22 | 2 | -39/+32 |
| | | | | | on the C stack and ckalloc calls with TclStackAlloc calls to use memory on Tcl's evaluation stack. | ||||
* | * generic/tclExecute.c: Revised GrowEvaluationStack to take an | dgp | 2007-03-22 | 2 | -30/+38 |
| | | | | | | argument specifying the growth required by the caller, so that a single reallocation / copy is the most that will ever be needed even when required growth is large. |