Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | | * | | | | | | | | | | Implement Tcl_NewBooleanObj, Tcl_DbNewBooleanObj and Tcl_SetBooleanObj as ↵ | jan.nijtmans | 2013-04-23 | 1 | -19/+10 | |
| | | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | macros using Tcl_NewIntObj, Tcl_DbNewLongObj and Tcl_SetIntObj. Starting with Tcl 8.5, this is exactly the same, it only eliminates code duplication. Eliminate use of NO_WIDE_TYPE everywhere: It's exactly the same as TCL_WIDE_INT_IS_LONG | |||||
| | * | | | | | | | | | | | | New internal routine TclNRInvoke() - NR-enabled path through the machinery | dgp | 2013-04-11 | 1 | -0/+1 | |
| | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | behind invokehidden commands. | |||||
| | * | | | | | | | | | | | LimitHandler struct used only locally. Remove from tclInt.h | dgp | 2013-02-25 | 1 | -29/+0 | |
| | |\ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / | ||||||
| | * | | | | | | | | | | | Remove unused struct InterpList. | dgp | 2013-02-25 | 1 | -11/+0 | |
| | |\ \ \ \ \ \ \ \ \ \ \ | ||||||
| | * \ \ \ \ \ \ \ \ \ \ \ | Array Search struct used only locally. Remove from tclInt.h. | dgp | 2013-02-25 | 1 | -24/+0 | |
| | |\ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| | * | | | | | | | | | | | | | Eliminate all Tcl_ConvertToType calls and all direct calls to ↵ | jan.nijtmans | 2013-02-04 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | typePtr->setFromAnyProc (except the call from inside the Tcl_ConvertToType function) from the Tcl core. | |||||
| | * | | | | | | | | | | | | | merge core-8-5-branch | jan.nijtmans | 2013-01-31 | 1 | -5/+5 | |
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ | ||||||
| | * | | | | | | | | | | | | | | Name functions according to 'what' instead of 'how' in the [tailcall] | mig | 2013-01-11 | 1 | -2/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | machinery, in view of making public some parts of it. | |||||
| | * | | | | | | | | | | | | | | tailcall now running in a simpler model, with no eval-flags and no nre-stack ↵ | mig | 2013-01-10 | 1 | -33/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rewriting; yieldto also requires one fewer bounce. Mostly from mig-nre-mods | |||||
| | * | | | | | | | | | | | | | | 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 | |
| | |/ / / / / / / / / / / / / | ||||||
| * | | | | | | | | | | | | | | merge main dev branch | dkf | 2013-01-03 | 1 | -1/+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 | |||||
| * | | | | | | | | | | | | | merge main dev branch | dkf | 2012-11-05 | 1 | -0/+27 | |
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / | ||||||
| | * | | | | | | | | | | | | 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. | |||||
| * | | | | | | | | | | | Work on compilation of [string is]. | dkf | 2012-11-02 | 1 | -0/+3 | |
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hit some problem edge cases with differences in strictness of edge cases that will force a rethink ([string is boolean] is significantly more strict than Tcl_GetBooleanFromObj). | |||||
| * | | | | | | | | | | 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 | |||||
| * | | | | | | | | | | | | 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. |