Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | New internal routine TclFetchLiteral() for better CompileEnv encapsulation. | dgp | 2013-03-05 | 1 | -2/+1 |
| | |||||
* | [3603163]: Prevent odd crashes in 'eval {array set ...}' | dkf | 2013-02-04 | 1 | -18/+23 |
| | |||||
* | More extensive use of the techniques to improve other edge cases in ensemble ↵ | dkf | 2013-01-28 | 1 | -41/+37 |
| | | | | compilation. | ||||
* | Slightly better compilation of some [array] cases. | dkf | 2013-01-28 | 1 | -5/+25 |
| | |||||
* | First attempt at fixing problems caused by [array set] inside [namespace eval], | dkf | 2013-01-11 | 1 | -6/+15 |
| | | | | | which caused partial bytecode generation followed by a reject which triggered the issuing of generic ensemble code with an extra push of the variable name at the start (which got the stack depth wrong). | ||||
* | Fix memory leak in [format] compiler. | dkf | 2013-01-04 | 1 | -1/+1 |
| | |||||
* | All tests pass except one; not sure what's wrong there. | dkf | 2013-01-02 | 1 | -4/+4 |
| | |||||
* | Added compilation of [array exists], [array set] and [array unset]. Fixed a ↵merge_to_trunk | dkf | 2012-11-05 | 1 | -22/+257 |
| | | | | whole bunch of issues with opcode issuing that were causing problems with stack depth calculations. | ||||
* | Added compilation of [string last] and improved the compilation of [string ↵ | dkf | 2012-11-03 | 1 | -0/+73 |
| | | | | range]. This in turn enables compilation of [namespace qualifiers] and [namespace tail] (also done). | ||||
* | Added compilation of [info object isa object] (i.e., object verification). | dkf | 2012-11-03 | 1 | -0/+36 |
| | |||||
* | Added more TclOO introspection bytecodes ([info object class], [info object ↵ | dkf | 2012-11-02 | 1 | -0/+40 |
| | | | | namespace]). Also moved TclOO-in-8.6 to using the main Tcl internal ensemble builder. | ||||
* | Added compilation of [dict create] and [dict merge]. | dkf | 2012-11-01 | 1 | -2/+205 |
| | |||||
* | Added [dict exists] compilation; implementation is 95% shared with [dict get]. | dkf | 2012-10-30 | 1 | -0/+36 |
| | |||||
* | Added compilation of [regsub] (in the simplest, most restricted case). | dkf | 2012-10-30 | 1 | -0/+174 |
| | |||||
* | Minor: correct a comment | dkf | 2012-10-29 | 1 | -2/+3 |
| | |||||
* | Compiler for some of the simpler cases of [format]. | dkf | 2012-10-29 | 1 | -0/+219 |
| | |||||
* | Compilation of [info commands] in the case of a fully-qualified literal name. | dkf | 2012-10-29 | 1 | -0/+58 |
| | |||||
* | Added [self namespace] to bytecoded command set. | dkf | 2012-10-28 | 1 | -5/+34 |
| | |||||
* | Compile [namespace which -command]; big performance saving in some contexts. | dkf | 2012-10-26 | 1 | -0/+46 |
| | |||||
* | Added compilation of [namespace code] (except for gnarly edge cases). | dkf | 2012-10-25 | 1 | -0/+50 |
| | |||||
* | merge trunk | dkf | 2012-10-24 | 1 | -0/+61 |
|\ | |||||
| * | Added compilation of [dict unset]; the bytecode needed already existed anyway. | dkf | 2012-10-24 | 1 | -0/+61 |
| | | |||||
* | | yet another small introspector: [self] | dkf | 2012-10-19 | 1 | -0/+34 |
| | | |||||
* | | merge trunk | dkf | 2012-10-17 | 1 | -8/+183 |
|\ \ | |/ | |||||
| * | ...and all the compilation and tests now work/passtip_vote | dkf | 2012-10-05 | 1 | -23/+32 |
| | | |||||
| * | compilation code adjusted | dkf | 2012-10-05 | 1 | -69/+73 |
| | | |||||
| * | Rename 'mapeach' to 'lmap' per preferred alternative in TIP #405. | twylite | 2012-08-08 | 1 | -5/+5 |
| | | |||||
| * | Back-out 'foreacha' implementation but leave code cleanup of 'mapeach' and ↵ | twylite | 2012-08-08 | 1 | -21/+2 |
| | | | | | | | | 'dict map'. | ||||
| * | [Patch-3163961] Implementation of TIP #405 merged from private branch. ↵ | twylite | 2012-08-03 | 1 | -8/+189 |
| | | | | | | | | Includes 'mapeach', 'dict map' and 'foreacha' commands, test suite (partial for 'foreacha') and man pages (except for 'foreacha'). | ||||
* | | merge trunk | dkf | 2012-08-04 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Factor out a number of common patterns of use of Tcl_DStringAppend. | dkf | 2012-07-03 | 1 | -2/+2 |
| | | |||||
* | | Compilation of misc info sometimes used in high-performance code. | dkf | 2012-03-04 | 1 | -8/+94 |
|/ | |||||
* | * generic/tclCompCmds.c (TclCompileLreplaceCmd): Added a compilation | dkf | 2012-02-15 | 1 | -0/+124 |
| | | | | strategy for [lreplace] that tackles the cases which are equivalent to a static [lrange]. | ||||
* | * generic/tclCompCmds.c (TclCompileLrangeCmd): Add compiler for | dkf | 2012-02-15 | 1 | -3/+110 |
| | | | | | | [lrange] with constant indices so we can take advantage of existing TCL_LIST_RANGE_IMM opcode. (TclCompileLindexCmd): Improve coverage of constant-index-style compliation using technique developed for [lrange] above. | ||||
* | * generic/tclCompCmds.c (TclCompileDictForCmd): [Bug 3487626]: Fix | dkf | 2012-02-15 | 1 | -1/+2 |
|\ | | | | | | | crash in compilation of [dict for] when its implementation command is used directly rather than through the ensemble. | ||||
| * | * generic/tclCompCmds.c (TclCompileDictForCmd): [Bug 3487626]: Fix | dkf | 2012-02-15 | 1 | -1/+2 |
| | | | | | | | | crash in compilation of [dict for] when its implementation command is used directly rather than through the ensemble. | ||||
| * | 3485022 Disable ensemble subcommand compile inside a Tcl_Create*Trace(). | dgp | 2012-02-06 | 1 | -1/+2 |
| | | |||||
| * | 3485022 TclCompileEnsemble() avoid compile when exec traces set. | dgp | 2012-02-06 | 1 | -1/+2 |
| |\ | |||||
| * | | Drop old code.dgp_switch_compile | dgp | 2011-05-02 | 1 | -155/+2 |
| | | | |||||
| * | | Revised TclFindElement() interface. | dgp | 2011-05-02 | 1 | -14/+5 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The final argument had been bracePtr, the address of a boolean var, where the caller can be told whether or not the parsed list element was enclosed in braces. In practice, no callers really care about that. What the callers really want to know is whether the list element value exists as a literal substring of the string being parsed, or whether a call to TclCopyAndCollpase() is needed to produce the list element value. Now the final argument is changed to do what callers actually need. This is a better fit for the calls in tclParse.c, where now a good deal of post-processing checking for "naked backslashes" is no longer necessary. ***POTENTIAL INCOMPATIBILITY*** For any callers calling in via the internal stubs table who really do use the final argument explicitly to check for the enclosing brace scenario. Simply looking for the braces where they must be is the revision available to those callers, and it will backport cleanly. New TclFindElement() is also a better fit for the [switch] compiler. | ||||
| * \ \ | Replace TclCountSpaceRuns() with TclMaxListLength() which is the function we | dgp | 2011-05-02 | 1 | -13/+2 |
| |\ \ \ | | |/ / | | | | | actually want. | ||||
| * | | | Tighten up the patch. | dgp | 2011-05-02 | 1 | -13/+16 |
| | | | | |||||
| * | | | Rewrite of parts of the [switch] compiler to better use the powers of | dgp | 2011-04-28 | 1 | -3/+104 |
| |/ / | | | | | | | TclFindElement() and do less parsing on its own. Needs review and testing. | ||||
* | | | Minor: make comments accurate in [catch] compiler. | dkf | 2012-01-30 | 1 | -22/+22 |
| | | | |||||
* | | | * generic/tclCompCmds.c (TclCompileCatchCmd): Added a more efficient | dkf | 2012-01-30 | 1 | -1/+29 |
| | | | | | | | | | | | | bytecode generator for the case where 'catch' is used without any variable arguments; don't capture the result just to discard it. | ||||
* | | | * generic/tclCompCmds.c (TclCompileDictWithCmd): Corrected handling of | dkf | 2011-10-09 | 1 | -303/+312 |
| | | | | | | | | | | | | qualified names, and added spacial cases for empty bodies (used when [dict with] is just used for extracting variables). | ||||
* | | | Added support for having the dict var itself referenced by LVT index. | dkf | 2011-10-03 | 1 | -14/+55 |
| | | | |||||
* | | | Experimental compilation of the [dict with] subcommand. No tests yet, and not | dkf | 2011-10-02 | 1 | -0/+179 |
| | | | | | | | | | | | | yet certain that the added bytecode opcodes are correct; evaluation is still needed (but the test suite does pass...) | ||||
* | | | [Bug 3386417] avoid a reference loop between the bytecode and its companion ↵ | ferrieux | 2011-08-09 | 1 | -1/+1 |
| | | | | | | | | | | | | errostack when compiling a syntax error. | ||||
* | | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts in | dkf | 2011-03-12 | 1 | -19/+18 |
| | | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless. |