summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdIL.c
Commit message (Collapse)AuthorAgeFilesLines
* Revised fix for memleak in [info frame]. Still pretty ugly, but not moredgp2014-07-171-1/+9
| | | so than a lot of TIP 280 machinery.
* Backout checkin that broke test io-39.1.dgp2014-07-161-9/+1
|
* Repair improper assertion.dgp2014-07-161-1/+1
|
* Stop memleak in [info frame].dgp2014-07-111-1/+9
|
* Possible fix for [47d66253c92197d30bff280b02e0a9e62f07cee2|47d66253c9]: ↵bug_47d66253c9jan.nijtmans2014-05-121-14/+15
| | | | "lsearch -sorted -integer" on 64bit system
* Big simplification of the bug fix.dgp2013-12-181-66/+34
|
* Factor out the level offsetting into a final pass. Let the firstdgp2013-12-171-16/+27
| | | pass of the "chain" operation just stitch things together and count levels.
* Refactoring work on the "chain" operation.dgp2013-12-161-53/+48
|
* Simplify the coding of the unchain operation.dgp2013-12-131-31/+9
|
* Draft fix for Bug 0b874c344d. Includes test.dgp2013-12-051-4/+56
|
* Consolidate some helper routines.dgp_bye_ctx_eval_flagdgp2013-08-141-19/+0
|
* Arrange for both execution traces and [info frame] to get their pre-substdgp2013-08-101-3/+22
| | | | source strings from a common routine, with care taken to reduce copying by that routine.
* Eliminate the union that is no longer needed.dgp2013-08-061-6/+3
|
* The value TCL_LOCATION_EVAL_LIST in the type field of a CmdFrame appears todgp2013-08-061-20/+5
| | | | | | | | | | exist only for the sake of taking great pains to make sure that pure list values remain pure list values. The value of pure list values is no longer what it once was. For a long long time now, any canonical list values have been equally good. This branch is Work In Progress eliminating the complication of the additional type value. Currently some minor botches are breaking execution tracing tests.
* silence compiler warningdgp2013-05-221-1/+2
|\
| * silence compiler warningdgp2013-05-221-1/+2
| |
* | [3613609]: Replace strcasecmp() with UTF-8-aware version.dkf2013-05-221-5/+5
|\ \ | |/
| * Proposed solution for 3613609: lsort -nocase does not sort non-ASCII correctlyjan.nijtmans2013-05-211-5/+5
| |
* | Add super-simple compiler to many ensemble subcommands to allow better codedkf2013-01-041-20/+20
| | | | | | | | | | generation where we can detect that we're not in the WrongNumArgs case. The compiler just checks that the argument count is in the right range and issues a standard dispatch; that's enough to do an efficient job.
* | 3587651 Fix [info functions] and Tcl_ListMathFuncs().dgp2012-11-161-8/+31
|\ \ | |/
| * 3587651 fix [info functions] (Re-implementation in Tcl)dgp2012-11-161-8/+31
| |
| * make some more internal tables constjan.nijtmans2012-04-181-60/+60
| |\ | | | | | | a few CONST -> const changes
* | | Compilation of [info commands] in the case of a fully-qualified literal name.dkf2012-10-291-1/+1
| | |
* | | merge trunkdkf2012-08-041-118/+133
|\ \ \
| * | | converting to using Tcl_Obj API for error message generation; part donedkf2012-08-031-118/+133
| | | |
* | | | Compilation of misc info sometimes used in high-performance code.dkf2012-03-041-2/+2
|/ / /
* | | Further corrections to [info frame] in a coroutine.dgp2011-09-231-21/+45
| | |
* | | Revise [info frame] so that it stops creating cyclesdgp2011-09-221-1/+1
| | | | | | | | | in the iPtr->cmdFramePtr stack.
* | | Small changes to quell gcc warnings and make message generation less ugly.dkf2011-08-161-6/+3
| | |
* | | Limits on list length were too strict. Revised panics to errors where possible.dgp2011-04-211-14/+5
|\ \ \ | |/ /
| * | Limits on list length were too strict. Revised panics to errors where possible.dgp2011-04-211-12/+5
| | |
* | | Use ListRepPtr(.) and other cleanup.dgp2011-04-181-21/+10
|\ \ \ | |/ /
| * | Use ListRepPtr(.) and other cleanup.dgp2011-04-181-23/+11
| | |
* | | Test _before_ commit, not after...dkf2011-04-041-2/+2
| | |
* | | More generation of error codes (miscellaneous commands mostly already handled).dkf2011-04-041-6/+31
| | |
* | | Better error-message in case of errors related to setting a variablejan.nijtmans2011-04-041-14/+8
| | |
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ \ | |/ / | | | cause more harm than good. Purged them (except in zlib files).
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ \ | | |/ | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * * generic/tclBasic.c: Modified TclArgumentGet to reject pure listsandreas_kupries2008-07-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdIL.c: immediately, without search. Reworked setup * generic/tclCompile.c: of eoFramePtr, doesn't need the line * tests/info.test: information, more sensible to have everything on line 1 when eval'ing a pure list. Updated the users of the line information to special case this based on the frame type (i.e. TCL_LOCATION_EVAL_LIST). Added a testcase demonstrating the new behaviour.
| | * * generic/tclCmdIL.c (InfoFrameCmd): Fixed unsafe idiom of settingandreas_kupries2008-07-071-2/+2
| | | | | | | | | | | | the interp result found by Don Porter.
| | * * generic/tclCmdIL.c (InfoFrameCmd): Backport of fix made on theandreas_kupries2008-06-161-26/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/info.test: head branch :: Moved the code looking up the information for key 'proc' out of the TCL_LOCATION_BC branch to after the switch, this is common to all frame types. Updated the testsuite to match. This was exposed by the 2008-06-08 commit (Miguel), switching uplevel from direct eval to compilation. Fixes [Bug 1987851].
| | * * generic/tclCmdIL.c (InfoFrameCmd): TIP #280 conditionalandreas_kupries2008-06-121-9/+18
| | | | | | | | | | | | | | | | | | feature. Added checks to validate HashEntry and HashTable information gotten from Command structures. This seems to be needed to handle structures managed by Itcl.
| | * Prevent shimmering crash in [lsearch] when -exact and -integer/-real aredkf2007-12-051-1/+3
| | | | | | | | | | | | mixed. [Bug 1844789]
| | * Fix [Bug 1675116] in a way suitable for 8.4.dkf2007-03-101-1/+13
| | |
| | * * generic/tclBasic.c: TIP #280 implementation, conditional on the define ↵andreas_kupries2006-11-281-6/+291
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TCL_TIP280. * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompCmds.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclIOUtil.c: * generic/tclInt.h: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclProc.c: * tests/compile.test: * tests/info.test: * tests/platform.test: * tests/safe.test:
| | * Fix [Bug 1374778]dkf2005-12-091-2/+13
| | |
| | * Fix [Bug 1366683]dkf2005-11-291-3/+18
| | |
| | * * generic/tclBasic.c:Miguel Sofer2005-10-231-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclExecute.c: * generic/tclLink.c: * generic/tclMain.c: * generic/tclProc.c: * generic/tclScan.c: * generic/tclTest.c: * generic/tclVar.c: * mac/tclMacInit.c: * unix/tclUnixInit.c: * win/tclWinInit.c: Insure that the core never calls TclPtrSetVar, Tcl_SetVar2Ex, Tcl_ObjSetVar2 or Tcl_SetObjErrorCode with a 0-ref new value. It is not possible to handle error returns correctly in that case [Bug 1334947], one has the choice of leaking the object in some cases, or else risk crashing in some others.
| | * Take care with globals that have an entry in the var table but "don't exist"dkf2005-07-291-3/+6
| | |