Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Better version that can handle simple composite array keys as well. As long as | dkf | 2012-12-18 | 1 | -10/+23 |
| | | | | they are free of command substitutions, we can still safely omit the exception processor code. | ||||
* | Generate better code for the common case of subst-ed variables where the | dkf | 2012-12-18 | 1 | -0/+15 |
| | | | variable is a simple scalar or an array with a simple literal element name. | ||||
* | silence compiler warning | dgp | 2012-11-29 | 1 | -7/+7 |
| | |||||
* | Added compilation of [array exists], [array set] and [array unset]. Fixed a ↵merge_to_trunk | dkf | 2012-11-05 | 1 | -1/+18 |
| | | | | 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 | -176/+76 |
| | | | | range]. This in turn enables compilation of [namespace qualifiers] and [namespace tail] (also done). | ||||
* | Added compilation of [tailcall]. Not a particularly efficient compilation ↵ | dkf | 2012-11-01 | 1 | -0/+44 |
| | | | | though; it does not detect tailcall-of-self as a special case. | ||||
* | Compilation of [string first] and [string range] (with constant indices). | dkf | 2012-10-30 | 1 | -70/+209 |
| | |||||
* | Added compilation of simplest practical case of [string map]. | dkf | 2012-10-29 | 1 | -0/+82 |
| | |||||
* | Working towards a BCCed [yield]; this doesn't work right now. | dkf | 2012-10-26 | 1 | -0/+43 |
| | |||||
* | Factor out a number of common patterns of use of Tcl_DStringAppend. | dkf | 2012-07-03 | 1 | -2/+1 |
| | |||||
* | Rewrite of parts of the switch compiler to better use the powers of | dgp | 2011-05-02 | 1 | -104/+45 |
| | | | TclFindElement() and do less parsing on its own. | ||||
* | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts in | dkf | 2011-03-12 | 1 | -18/+17 |
| | | | rest of Tcl source code. No ABI change. API change *should* be harmless. | ||||
* | * generic/tclBasic.c: More replacements of Tcl_UtfBackslash() calls | dgp | 2011-03-06 | 1 | -1/+2 |
| | | | | | | * generic/tclCompile.c: with TclParseBackslash() where possible. * generic/tclCompCmdsSZ.c: * generic/tclParse.c: * generic/tclUtil.c: | ||||
* | Now that we're no longer using SCM based on RCS, the RCS Keyword lines | dgp | 2011-03-02 | 1 | -2/+0 |
| | | | cause more harm than good. Purged them (except in zlib files). | ||||
* | fix leaks in throw and unset compilers | mig | 2011-03-01 | 1 | -0/+2 |
| | |||||
* | Various mismatches between Tcl_Panic format string and its arguments, | nijtmans | 2011-01-18 | 1 | -8/+8 |
| | | | | discovered thanks to [Bug 3159920] | ||||
* | * generic/tclCompCmdsSZ.c (IssueTryFinallyInstructions): [3007374]: | dkf | 2010-05-28 | 1 | -45/+57 |
| | | | | | Corrected error in handling of catch contexts to prevent crash with chained handlers. | ||||
* | * generic/tclCompCmdsSZ.c (TclSubstCompile): If the first token does | dkf | 2010-04-08 | 1 | -3/+22 |
| | | | | | | | | not result in a *guaranteed* push of a Tcl_Obj on the stack, we must push an empty object. Otherwise it is possible to get to a 'concat1' or 'done' without enough values on the stack, resulting in a crash. Thanks to Joe Mistachkin for identifying a script that could trigger this case. | ||||
* | [Freq 2974744] share exception codes (ObjType?) | nijtmans | 2010-03-27 | 1 | -7/+2 |
| | |||||
* | Make error message in "try" implementation | nijtmans | 2010-03-23 | 1 | -3/+3 |
| | | | | exactly the same as the one in "return" | ||||
* | Compile the [throw] command. | dkf | 2010-03-19 | 1 | -1/+111 |
| | |||||
* | Fix silly error in bytecode generation for [try]. | dkf | 2010-03-18 | 1 | -1/+3 |
| | |||||
* | [Bug 2971921]: Corrected jump so that it doesn't skip into the middle | dkf | 2010-03-18 | 1 | -33/+40 |
| | | | | | of an instruction! Tightened the instruction issuing. Moved endCatch calls closer to their point that they guard. | ||||
* | Code Audit results: | dkf | 2010-03-05 | 1 | -4/+4 |
| | | | | | | | | * use do { ... } while (0) in macros * avoid shadowing one local variable with another * use clearer 'foo.bar++;' instead of '++foo.bar;' where result not required (i.e., semantically equivalent) * follow Engineering Manual rules on spacing and declarations | ||||
* | Split tclCompCmds.c into two pieces to improve developer sanity. | dkf | 2010-02-26 | 1 | -0/+3499 |