Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * generic/tclCmdIL.c (TclInfoFrame): check fPtr->line before | das | 2008-08-14 | 1 | -2/+4 |
| | | | | | | dereferencing as line info may not exists when TclInfoFrame() is called from a DTrace probe. | ||||
* | nr-enabling [if] | Miguel Sofer | 2008-07-31 | 1 | -4/+14 |
| | |||||
* | * generic/tclBasic.c: Modified TclArgumentGet to reject pure lists | andreas_kupries | 2008-07-23 | 1 | -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. | ||||
* | fix [2021443] inconsistant "wrong # args" messages (follow-up) | nijtmans | 2008-07-21 | 1 | -2/+2 |
| | |||||
* | more consistent wrong # arg messages: change all messages containing ↵ | nijtmans | 2008-07-13 | 1 | -5/+5 |
| | | | | ?options? to the form ?-option value ...? | ||||
* | * generic/tclCmdIL.c (InfoFrameCmd): Fixed unsafe idiom of setting | andreas_kupries | 2008-07-07 | 1 | -2/+2 |
| | | | | the interp result found by Don Porter. | ||||
* | formatting, whitespace | das | 2008-06-30 | 1 | -39/+49 |
| | |||||
* | Lrange cleanup and in-place optimization [Patch 1890831] | ferrieux | 2008-06-29 | 1 | -36/+48 |
| | |||||
* | * generic/tclCmdIL.c (TclInfoFrame): Moved the code looking up the | andreas_kupries | 2008-06-16 | 1 | -41/+47 |
| | | | | | | | | * tests/info.test: 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]. | ||||
* | Small clarifications that code a bit nicer to read. | dkf | 2008-05-30 | 1 | -8/+8 |
| | |||||
* | Get rid of pre-C89-isms (esp. CONST vs const). | dkf | 2008-04-27 | 1 | -61/+61 |
| | |||||
* | * generic/tclCmdIL.c (Tcl_LsortObjCmd): Use ckalloc() to allocate | dgp | 2008-03-14 | 1 | -4/+3 |
| | | | | | SortElement arrays instead of TclStackAlloc() which isn't getting alignment right. Workaround for [Bug 1914503]. | ||||
* | * generic/tclCmdIl.c (Tcl_LreverseObjCmd): | Miguel Sofer | 2008-01-22 | 1 | -1/+10 |
| | | | | | * tests/cmdIL.test (cmdIL-7.7): fix crash on reversing an empty list [Bug 1876793]. | ||||
* | * generic/tclCmdIL.c: more [lsort] data handling streamlines. The | Miguel Sofer | 2007-12-26 | 1 | -137/+108 |
| | | | | | | | | function MergeSort is gone, essentially inlined into Tcl_LsortObjCmd. It is not a straight inlining, two loops over all lists elements where merged in the process: the linked list elements are now built and merged into the temporary sublists in the same pass. | ||||
* | * generic/tclCmdIL.c: more [lsort] data handling streamlines. | Miguel Sofer | 2007-12-25 | 1 | -51/+63 |
| | | | | | | Extra mem reqs of latest patches removed, restored to previous mem profile. Improved -unique handling, now eliminating repeated elems immediately instead of marking them to avoid reinsertion at the end. | ||||
* | * generic/tclCmdIL.c: speed patch for lsort [Patch 1856994]. | Miguel Sofer | 2007-12-23 | 1 | -41/+109 |
| | |||||
* | * generic/tclCmdIL.c (Tcl_LsortObjCmd, Tcl_LsearchObjCmd): avoid | Miguel Sofer | 2007-12-22 | 1 | -23/+36 |
| | | | | calling SelectObjFromSublist when there are no sublists. | ||||
* | * generic/tclCmdIL.c (Tcl_LsortObjCmd): preallocate a listObj of | Miguel Sofer | 2007-12-22 | 1 | -12/+24 |
| | | | | | | sufficient length for the sorted list instead of growing it. Second commit replaces calls to Tcl_ListObjAppenElement with direct access to the internal rep. | ||||
* | * generic/tclCmdIL.c (Tcl_LsortObjCmd): preallocate a listObj of | Miguel Sofer | 2007-12-22 | 1 | -2/+2 |
| | | | | sufficient length for the sorted list instead of growing it. | ||||
* | merge stable branch onto HEAD | dgp | 2007-12-13 | 1 | -1/+1 |
| | |||||
* | Prevent shimmering crash in [lsearch] when -exact and -integer/-real are mixed. | dkf | 2007-12-05 | 1 | -1/+15 |
| | | | | [Bug 1844789] | ||||
* | Factor out the core compiled-ensemble builder for simplicity. | dkf | 2007-11-21 | 1 | -42/+3 |
| | |||||
* | Greatly improved ensemble compiler. This one now can handle any ensemble. | dkf | 2007-11-16 | 1 | -34/+36 |
| | | | | | It is usually not enabled though; only worth it when a subcommand is actually expected to undergo bytecode compilation. | ||||
* | Compile [info exists] into bytecode. Includes new instructions to support it. | dkf | 2007-11-14 | 1 | -7/+12 |
| | |||||
* | [Patch 1830038]: Increased usage of macros to detect and take advantage of ↵ | Miguel Sofer | 2007-11-11 | 1 | -36/+36 |
| | | | | objTypes. | ||||
* | * generic/tclCmdIL.c: factor our core of InfoFrameCmd() into internal | das | 2007-09-13 | 1 | -14/+41 |
| | | | | TclInfoFrame() for use by DTrace probes. | ||||
* | VarReform [Patch 1750051] | Miguel Sofer | 2007-07-31 | 1 | -449/+6 |
| | | | | *** POTENTIAL INCOMPATIBILITY *** (tclInt.h and tclCompile.h) | ||||
* | fix typo ... donal broke the build | Miguel Sofer | 2007-07-01 | 1 | -2/+2 |
| | |||||
* | Plug a memory leak caused by a missing Tcl_DecrRefCount on an error path. ↵ | dkf | 2007-06-30 | 1 | -9/+11 |
| | | | | [Bug 1717186] | ||||
* | * generic/tclCmdIL.c: More conversions to use TclStackAlloc. | dgp | 2007-06-22 | 1 | -3/+5 |
| | | | | * generic/tclScan.c: | ||||
* | * generic/tclInt.decls: Revised the interfaces of the routines | dgp | 2007-06-20 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: | ||||
* | * generic/tclCmdIL.c (InfoFrameCmd): | Miguel Sofer | 2007-06-18 | 1 | -10/+15 |
| | | | | | | | * 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. | ||||
* | Convert [info] into an ensemble command. | dkf | 2007-06-12 | 1 | -183/+145 |
| | |||||
* | Changes to allow the tip257 code to work as an extension properly post-tip280 | dkf | 2007-05-05 | 1 | -7/+16 |
| | |||||
* | Whitespace policing, replacing commas in varargs with constant string ↵ | Kevin B Kenny | 2007-04-20 | 1 | -3/+3 |
| | | | | catenation, and fixed an oversight in the fix for NZA time zones. | ||||
* | Handle creation of Tcl_Objs from constant strings better (easier to use, more | dkf | 2007-04-10 | 1 | -45/+31 |
| | | | | efficient). After [Patch 1529526] (afredd) | ||||
* | Fix [Bug 1679072] | dkf | 2007-03-12 | 1 | -33/+43 |
| | |||||
* | Fix [Bug 1675044] | dkf | 2007-03-11 | 1 | -3/+15 |
| | |||||
* | * generic/tclCmdIL (Tcl_LsortObjCmd): changed fix to [Bug 1675116] | Miguel Sofer | 2007-03-10 | 1 | -10/+13 |
| | | | | to use the cheaper TclListObjCopy() instead of Tcl_DuplicateObj() | ||||
* | Fix [Bug 1675116] | dkf | 2007-03-09 | 1 | -13/+20 |
| | |||||
* | Moved [lindex] guts to tclListObj.c, same as [lset] guts. | dkf | 2007-03-08 | 1 | -187/+23 |
| | |||||
* | * generic/tclCmdIL.c (TclLindex*): Rewrites to make efficient ↵ | dgp | 2007-03-07 | 1 | -180/+66 |
| | | | | | | | | | | private copies of the list and indexlist arguments, so we can operate on the list elements directly with no fear of shimmering effects. Replaces defensive coding schemes that are otherwise required. End result is that TclLindexList is entirely a wrapper around TclLindexFlat, which is now the core engine of all [lindex] operations. | ||||
* | * generic/tclCmdIL.c (Tcl_LreverseObjCmd): Added missing | dgp | 2007-03-02 | 1 | -1/+2 |
| | | | | | TclInvalidateStringRep() call when we directly manipulate the intrep of an unshared "list" Tcl_Obj. [Bug 1672585]. | ||||
* | Added comments warning against certain optimizations | dgp | 2007-03-02 | 1 | -1/+10 |
| | |||||
* | * generic/tclCmdIL.c (Tcl_JoinObjCmd): Revised [join] implementation | dgp | 2007-03-02 | 1 | -20/+11 |
| | | | | to append Tcl_Obj's instead of strings. [RFE 1669420] | ||||
* | * generic/tclCmdIL.c (Info*Cmd): Code simplifications and | dgp | 2007-03-02 | 1 | -28/+20 |
| | | | | optimizations. | ||||
* | * generic/tclCmdIL.c (Tcl_LinsertObjCmd): Code simplifications | dgp | 2007-03-01 | 1 | -15/+6 |
| | | | | and optimizations. | ||||
* | * generic/tclCmdIL.c (Tcl_LreplaceObjCmd): Code simplifications | dgp | 2007-03-01 | 1 | -19/+5 |
| | | | | and optimizations. | ||||
* | Remove line with no effect | dgp | 2007-03-01 | 1 | -2/+1 |
| | |||||
* | * generic/tclCmdIL.c (Tcl_LrangeObjCmd): Rewrite in the same | dgp | 2007-03-01 | 1 | -47/+24 |
| | | | | spirit; avoid shimmer effects rather than react to them. |