summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Clean up result handling, factor out some duplicated code, share objects.dkf2008-10-042-185/+143
|
* * doc/Hash.3: CONSTified the typePtr argumentnijtmans2008-10-044-10/+10
| | | | | | | | | * generic/tcl.decls: of Tcl_InitCustomHashTable. * generic/tcl.h * generic/tclHash.c * ChangeLog * generic/tclDecls.h: regenerated This change complies with TIP #27.
* * doc/RegConfig.3: CONSTified the configuration argumentnijtmans2008-10-044-9/+9
| | | | | | | | | * generic/tcl.decls: of Tcl_RegisterConfig. * generic/tclConfig.c * generic/tclPkgConfig.c * ChangeLog * generic/tclDecls.h: regenerated This change complies with TIP #27.
* * doc/GetIndex.3: CONSTified the tablePtr argumentnijtmans2008-10-043-8/+9
| | | | | | | | * generic/tcl.decls: of Tcl_GetIndexFromObj. * generic/tclIndexObj.c * ChangeLog * generic/tclDecls.h: regenerated This change complies with TIP #27.
* Tidying up formattingdkf2008-10-031-73/+73
|
* regen againdkf2008-10-032-8/+13
|
* typofixdkf2008-10-031-4/+4
|
* typodkf2008-10-031-2/+2
|
* Implemented TIP#195 - tcl::prefix command. [Patch 1040206]dkf2008-10-033-11/+410
|
* Regendkf2008-10-022-2/+10
|
* Reduce the number of (pointless) type-casts.dkf2008-10-021-38/+39
|
* Implement TIP #265. [FRQ 1446696]dkf2008-10-023-4/+446
|
* TIP #330 IMPLEMENTATIONdgp2008-10-026-22/+32
| | | | | | | | | | * generic/tcl.h: Remove the "result" and "freeProc" fields * generic/tclBasic.c: from the default public declaration of the * generic/tclResult.c: Tcl_Interp struct. Code should no longer * generic/tclStubLib.c: be accessing these fields. Access can be * generic/tclTest.c: restored by defining USE_INTERP_RESULT, but * generic/tclUtil.c: that should only be a temporary migration aid. *** POTENTIAL INCOMPATIBILITY ***
* remove outdated commentdgp2008-09-301-14/+1
|
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-291-5/+1
| | | | | | * doc/glob.n: Revise [glob] to accept zero patterns. * generic/tclFileName.c: * tests fileName.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-291-3/+3
| | | | | | * doc/linsert.n: Revise [linsert] to accept zero elements. * generic/tclCmdIL.c: * tests/linsert.test:
* TIP #326 IMPLEMENTATIONdkf2008-09-291-13/+115
|
* TIP #313 IMPLEMENTATIONdkf2008-09-291-19/+39
|
* Implement TIP 318.dkf2008-09-291-7/+15
|
* regendkf2008-09-282-33/+52
|
* Implement TIP 314. [Patch 1901783]dkf2008-09-283-40/+274
|
* * generic/tclBasic.c: Fix the numLevels computations onMiguel Sofer2008-09-282-5/+18
| | | | | * generic/tclInt.h: coroutine yield/resume * tests/unsupported.test:
* Fix [Bug 2130726].dkf2008-09-271-1/+24
|
* Stylistic improvements (consistent function separation standards, etc.) anddkf2008-09-271-324/+320
| | | | some reduction in nesting in functions.
* Corrected sanity test in zero-element casedkf2008-09-271-2/+3
|
* Fix [Bug 2130992].dkf2008-09-271-4/+20
|
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-261-9/+9
| | | | | | * doc/lrepeat.n: Revise [lrepeat] to accept both zero * generic/tclCmdIL.c: repetitions and zero elements to be repeated. * tests/lrepeat.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-261-3/+3
| | | | | | * doc/object.n: Revise standard oo method [my variable] to * generic/tclOOBasic.c: accept zero variable names. * tests/oo.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-261-3/+3
| | | | | | * doc/namespace.n: Revise [namespace upvar] to accept zero * generic/tclNamesp.c: variable names. * tests/upvar.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-261-3/+3
| | | | | | * doc/lassign.n: Revise [lassign] to accept zero variable names. * generic/tclCmdIL.c: * tests/cmdIL.test:
* Bump the TclOO version. (Forgot when checking in TIP320 impl.)dkf2008-09-261-3/+4
|
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-251-6/+1
| | | | | | | | * doc/global.n: Revise [global] to accept zero variable names. * doc/variable.n: Revise [variable] likewise. * generic/tclVar.c: * tests/proc-old.test: * tests/var.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-251-6/+1
| | | | | | | | | * doc/global.n: Revise [global] to accept zero variable names. * generic/tclVar.c: * tests/proc-old.test: * tests/var.test: * doc/global.n: Correct false claim about [info locals].
* slightly more efficientdkf2008-09-251-3/+1
|
* Fix [Bug 2120903]dkf2008-09-251-9/+8
|
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-242-12/+2
| | | | | | | | * doc/file.n: Revise [file delete] and [file mkdir] to * generic/tclCmdAH.c: accept zero "pathname" arguments (the * generic/tclFCmd.c: no-op case). * tests/cmdAH.test: * tests/fCmd.test:
* Remove obsolete debugging macro. [Bug 2124814]dkf2008-09-241-7/+1
|
* Implement TIP #316.dkf2008-09-244-4/+308
|
* Implementation of TIP #320.#320.#320.dkf2008-09-235-36/+473
|
* simplify TCL_CT_ASSERTMiguel Sofer2008-09-181-4/+2
|
* * generic/tclExecute.c (NEXT_INST_F):Miguel Sofer2008-09-182-40/+44
| | | | | * generic/tclInt.h (TCL_CT_ASSERT): new compile-time assertions, adapted from www.pixelbeat.org/programming/gcc/static_assert.html
* * generic/tclInt.h: Correct the TclGetLongFromObj,dgp2008-09-171-4/+4
| | | | | | TclGetIntFromObj, and TclGetIntForIndexM macros so that they retrieve the internalRep.longValue field instead of casting the internalRep.otherValuePtr field to type long.
* * generic/tclParse.c: move TclResetCancellation to be called onJoe Mistachkin2008-09-171-2/+2
| | | | | returning to level 0, as opposed to it being called on starting a substitution at level 0.
* * generic/tclBasic.c: move TclResetCancellation to be called onMiguel Sofer2008-09-171-2/+16
| | | | | | returning to level 0, as opposed to it being called on starting a command at level 0. Add a call on returning via Tcl_EvalObjEx to fix [Bug 2114165].
* * tests/nre.test: add missing constraints; enable test of foreachMiguel Sofer2008-09-103-5/+12
| | | | | | | | | recursion. * generic/tclBasic.c: * generic/tclCompile.h: * generic/tclExecute.c (INST_EVAL_STK): fix for [Bug 2102930], wrong numLevels when evaling a canonical list.
* Fix efficiency bug detected by Kieran Elby.dkf2008-09-101-2/+11
|
* * generic/tclCompile.c (TclCompileTokens):Miguel Sofer2008-09-082-21/+19
| | | | | | | * generic/tclExecute.c (CompileExprObj): fix a perf bug (found by Alex Ferrieux) where some variables in the LVT where not being accessed by index. Fix missing localCache management in compiled expressions found while analyzing the bug.
* * generic/tclTrace.test (TraceVarProc):Miguel Sofer2008-09-051-2/+15
| | | | | * generic/unsupported.test: insure that unset traces are run even when the coroutine is unwinding [Bug 2093947]
* * generic/tclExecute.c (CACHE_STACK_INFO):Miguel Sofer2008-09-041-2/+3
| | | | | * tests/unsupported.test: restore the execEnv's bottomPtr, fix for [Bug 2093188].
* * generic/tcl.h: Stripped "callers" of the _ANSI_ARGS_ macrodgp2008-09-031-190/+158
| | | | | | * compat/dirent2.h: to support a TCL_NO_DEPRECATED build. * compat/dlfcn.h: * unix/tclUnixPort.h: