Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve code generation for many simple core ensemble subcommands. | dkf | 2013-01-04 | 1 | -0/+36 |
|\ | |||||
| * | Add super-simple compiler to many ensemble subcommands to allow better code | dkf | 2013-01-04 | 1 | -0/+36 |
| | | | | | | | | | | 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. | ||||
* | | Insure that PURIFY builds cannot exploit the Tcl stack to hide mem defects. | mig | 2013-01-04 | 1 | -0/+1 |
|/ | |||||
* | remove stray calls to Tcl_Alloc and friends: the core should only use ↵ | mig | 2013-01-02 | 1 | -1/+1 |
| | | | | ckalloc to allow MEM_DEBUG to work properly | ||||
* | Added compilation of [array exists], [array set] and [array unset]. Fixed a ↵merge_to_trunk | dkf | 2012-11-05 | 1 | -0/+9 |
| | | | | 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/+9 |
| | | | | 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/+3 |
| | |||||
* | Added more TclOO introspection bytecodes ([info object class], [info object ↵ | dkf | 2012-11-02 | 1 | -0/+6 |
| | | | | namespace]). Also moved TclOO-in-8.6 to using the main Tcl internal ensemble builder. | ||||
* | Added compilation of [tailcall]. Not a particularly efficient compilation ↵ | dkf | 2012-11-01 | 1 | -0/+4 |
| | | | | though; it does not detect tailcall-of-self as a special case. | ||||
* | Added compilation of [dict create] and [dict merge]. | dkf | 2012-11-01 | 1 | -0/+6 |
| | |||||
* | Added [dict exists] compilation; implementation is 95% shared with [dict get]. | dkf | 2012-10-30 | 1 | -2/+5 |
| | |||||
* | Compilation of [string first] and [string range] (with constant indices). | dkf | 2012-10-30 | 1 | -0/+6 |
| | |||||
* | Added compilation of [regsub] (in the simplest, most restricted case). | dkf | 2012-10-30 | 1 | -0/+3 |
| | |||||
* | Added compilation of simplest practical case of [string map]. | dkf | 2012-10-29 | 1 | -0/+3 |
| | |||||
* | Compiler for some of the simpler cases of [format]. | dkf | 2012-10-29 | 1 | -0/+3 |
| | |||||
* | Merge corrected [yield] compilation. Many thanks to Miguel Sofer for help. | dkf | 2012-10-29 | 1 | -0/+4 |
|\ | |||||
| * | Working towards a BCCed [yield]; this doesn't work right now. | dkf | 2012-10-26 | 1 | -0/+4 |
| | | |||||
* | | Compilation of [info commands] in the case of a fully-qualified literal name. | dkf | 2012-10-29 | 1 | -0/+3 |
|/ | |||||
* | Compile [namespace which -command]; big performance saving in some contexts. | dkf | 2012-10-26 | 1 | -0/+3 |
| | |||||
* | Added compilation of [namespace code] (except for gnarly edge cases). | dkf | 2012-10-25 | 1 | -0/+3 |
| | |||||
* | merge trunk | dkf | 2012-10-24 | 1 | -8/+7 |
|\ | |||||
| * | Added compilation of [dict unset]; the bytecode needed already existed anyway. | dkf | 2012-10-24 | 1 | -0/+3 |
| | | |||||
| * | Add "flags" parameter from Tcl_LoadFile to to various internal functions, so ↵ | jan.nijtmans | 2012-10-23 | 1 | -8/+4 |
| |\ | | | | | | | | | | these flags are available through the whole filesystem for (future) internal use | ||||
| | * | Remove unused TclpLoadFile function. | jan.nijtmans | 2012-10-23 | 1 | -6/+0 |
| | | | |||||
| | * | 3564735 Protection against namespace var resolvers that unexpectedly returnbug_3564735 | dgp | 2012-09-06 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | a pointer to Var while Tcl expects pointer to VarInHash. This may not be the total solution to Bug 3564735 (Itcl may be misbehaving), but this will prevent memory corruption. | ||||
| | * | CONST-ification update. | dgp | 2011-10-27 | 1 | -1/+1 |
| | | | |||||
| | * | Fixed the inadvertently committed disabling of stack checks, see my ↵ | andreask | 2011-06-22 | 1 | -2/+0 |
| | | | | | | | | | | | | 2010-11-15 commit [8902c8bc82]. | ||||
* | | | yet another small introspector: [self] | dkf | 2012-10-19 | 1 | -0/+3 |
| | | | |||||
* | | | merge trunk | dkf | 2012-10-17 | 1 | -2/+24 |
|\ \ \ | |/ / | |||||
| * | | compilation code adjusted | dkf | 2012-10-05 | 1 | -10/+8 |
| | | | |||||
| * | | merge trunk | dkf | 2012-10-05 | 1 | -2/+6 |
| |\ \ | |||||
| | * | | 3564735 Protect against mem corruption when var resolvers misbehave. | dgp | 2012-09-11 | 1 | -2/+6 |
| | | | | |||||
| * | | | Rename 'mapeach' to 'lmap' per preferred alternative in TIP #405. | twylite | 2012-08-08 | 1 | -8/+8 |
| | | | | |||||
| * | | | Back-out 'foreacha' implementation but leave code cleanup of 'mapeach' and ↵ | twylite | 2012-08-08 | 1 | -10/+0 |
| | | | | | | | | | | | | | | | | 'dict map'. | ||||
| * | | | [Patch-3163961] Implementation of TIP #405 merged from private branch. ↵ | twylite | 2012-08-03 | 1 | -0/+30 |
| |/ / | | | | | | | | | | 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 | -0/+20 |
|\ \ \ | |/ / | |||||
| * | | Factor out a number of common patterns of use of Tcl_DStringAppend. | dkf | 2012-07-03 | 1 | -0/+19 |
| | | | |||||
| * | | * generic/tclUtil.c (TclDStringToObj): Added internal function to make | dkf | 2012-04-25 | 1 | -0/+1 |
| | | | | | | | | | | | | the fairly-common operation of converting a DString into an Obj a more efficient one. | ||||
* | | | Compilation of misc info sometimes used in high-performance code. | dkf | 2012-03-04 | 1 | -0/+9 |
|/ / | |||||
* | | * generic/tclCompCmds.c (TclCompileLreplaceCmd): Added a compilation | dkf | 2012-02-15 | 1 | -0/+3 |
| | | | | | | | | 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 | -0/+3 |
| | | | | | | | | | | | | [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. | ||||
* | | 3479689 New internal routine TclJoinPath(). | dgp | 2012-01-27 | 1 | -0/+1 |
| | | | | | | | | Refactor all the *Join*Path* routines to give them more useful interfaces that are easier to manage getting the refcounts right. | ||||
* | | Added support for having the dict var itself referenced by LVT index. | dkf | 2011-10-03 | 1 | -2/+3 |
| | | |||||
* | | Experimental compilation of the [dict with] subcommand. No tests yet, and not | dkf | 2011-10-02 | 1 | -0/+8 |
| | | | | | | | | yet certain that the added bytecode opcodes are correct; evaluation is still needed (but the test suite does pass...) | ||||
* | | Fix eval's faulty objProc, it was actually an nreProc [3399564|Bug 3399564]. ↵ | mig | 2011-08-29 | 1 | -1/+2 |
| | | | | | | | | Thanks to Joe Mistachkin for detection and analysis. | ||||
* | | [Bug 2919042] Restore "valgrindability" of Tcl that was lost by the ↵ | ferrieux | 2011-08-09 | 1 | -0/+2 |
| | | | | | | | | streamlining of [exit], by conditionally forcing a full Finalize: use -DPURIFY or ::env(TCL_FINALIZE_ON_EXIT) | ||||
* | | [Bug 3386417] avoid a reference loop between the bytecode and its companion ↵ | ferrieux | 2011-08-09 | 1 | -0/+1 |
| | | | | | | | | errostack when compiling a syntax error. | ||||
* | | Change the signature of TclParseHex(), such that it can now parse up to 8 ↵ | jan.nijtmans | 2011-08-09 | 1 | -1/+1 |
| | | | | | | | | hex characters | ||||
* | | Remove TclCleanupLiteralTable (see 994838). | dgp | 2011-06-02 | 1 | -2/+0 |
|\ \ | |/ | |||||
| * | Remove TclCleanupLiteralTable (see 994838). | dgp | 2011-06-02 | 1 | -2/+0 |
| | |