summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * doc/clock.n: Corrected documentation to avoid periods in theKevin B Kenny2007-04-151-6/+6
| | | | 'A.M.' and 'P.M.' abbreviations.
* * generic/tclCompCmds.c: added a cast to silence a compilerKevin B Kenny2007-04-154-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 thatMiguel Sofer2007-04-142-8/+11
| | | | duplicates functionality already present at checkForCatch.
* Added keyworddkf2007-04-131-3/+2
|
* removed stray '//'Miguel Sofer2007-04-111-2/+2
|
* * generic/tclExecute.c: new macros OBJ_AT_TOS, OBJ_UNDER_TOS,Miguel Sofer2007-04-112-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 commentsMiguel Sofer2007-04-111-4/+1
|
* * generic/tclCompCmds.c: moved all exceptDepth management to theMiguel Sofer2007-04-112-11/+20
| | | | macros - the decreasing half was managed by hand.
* assorted minor cleanupdkf2007-04-101-12/+16
|
* Don't use C++ keywordsdkf2007-04-101-4/+4
|
* Reformat to standard function definition formdkf2007-04-101-24/+27
|
* Complete conversion to ANSI function definitionsdkf2007-04-101-3/+3
|
* Reformat to standard function definition form; don't use C++ keywordsdkf2007-04-101-7/+9
|
* Complete conversion to ANSI function definitionsdkf2007-04-101-3/+3
|
* Reformat to standard function definition formdkf2007-04-101-2/+5
|
* Complete conversion to ANSI function definitionsdkf2007-04-101-8/+8
|
* Handle creation of Tcl_Objs from constant strings better (easier to use, moredkf2007-04-1030-247/+266
| | | | efficient). After [Patch 1529526] (afredd)
* minor tidydkf2007-04-101-12/+10
|
* * generic/tclCompile (tclInstructionTable): fixed bugs inMiguel Sofer2007-04-082-6/+14
| | | | description of dict instructions
* * generic/tclCompile (tclInstructionTable): fixed bug inMiguel Sofer2007-04-072-2/+7
| | | | description of INST_START_COMMAND.
* * generic/tclExecute.c (TEBC): small code reduction.Miguel Sofer2007-04-072-25/+6
|
* * generic/tclExecute.c (TEBC):Miguel Sofer2007-04-064-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" sectiondkf2007-04-051-3/+3
|
* Whitespace/formattingdkf2007-04-051-17/+17
|
* Simplification of some argument processing through introduction of a helperdkf2007-04-051-26/+26
| | | | macro.
* Tighten up a commentdkf2007-04-051-8/+7
|
* added commentsMiguel Sofer2007-04-041-1/+5
|
* * generic/tclExecute.c: INST_INVOKE optimisation [Patch 1693802]Miguel Sofer2007-04-032-6/+28
|
* restore line endingsdgp2007-04-031-475/+475
|
* missing entrydgp2007-04-031-0/+6
|
* * generic/tclInt.decls: Moved TclGetNamespaceFromObj() toMiguel Sofer2007-04-035-7/+29
| | | | | | * generic/tclInt.h: the internal stubs table; regen. * generic/tclIntDecls.h: * generic/tclStubInit.c:
* * generic/tclNamesp.c: Revised ErrorCodeRead and ErrorInfoReaddgp2007-04-031-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 theMiguel Sofer2007-04-038-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 ckallocdgp2007-04-0211-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 timesdkf2007-04-013-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.dkf2007-04-011-11/+12
|
* * generic/tclCompile.c:dgp2007-03-302-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:dgp2007-03-302-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 anddgp2007-03-302-43/+35
| | | | | ckalloc calls with TclStackAlloc calls to use memory on Tcl's evaluation stack
* * generic/tclCmdMZ.c: Revised [string to* $s $first $last]dgp2007-03-302-8/+7
| | | | implementation to reduce number of allocs/copies.
* * tests/string.test: More [string reverse] tests.dgp2007-03-302-1/+32
|
* * generic/tclExecute.c: optimise the lookup of elements of indexedMiguel Sofer2007-03-302-11/+44
| | | | arrays.
* * generic/tclProc.c (Tcl_ApplyObjCmd):Miguel Sofer2007-03-293-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 actualdgp2007-03-284-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 withdgp2007-03-272-17/+24
| | | | TclStackAlloc calls.
* Thread exit handler marks the current thread as un-initialized.vasiljevic2007-03-242-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 frameMiguel Sofer2007-03-232-3/+9
| | | | pointer before deleting the global namespace [Bug 1658572]
* * win/Makefile.in: Added code to keep a Cygwin path name fromKevin B Kenny2007-03-232-3/+8
| | | | leaking into LIBRARY_DIR when doing 'make test' or 'make runtest'.
* Reduce number of StackAlloc and StackFree calls.dgp2007-03-231-26/+16
|
* * generic/tclCmdAH.c (Tcl_ForeachObjCmd): Replaced arraysdgp2007-03-222-39/+32
| | | | | on the C stack and ckalloc calls with TclStackAlloc calls to use memory on Tcl's evaluation stack.