summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
Commit message (Collapse)AuthorAgeFilesLines
* Added compilation of [array exists], [array set] and [array unset]. Fixed a ↵merge_to_trunkdkf2012-11-051-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 ↵dkf2012-11-031-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).dkf2012-11-031-0/+3
|
* Added more TclOO introspection bytecodes ([info object class], [info object ↵dkf2012-11-021-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 ↵dkf2012-11-011-0/+4
| | | | though; it does not detect tailcall-of-self as a special case.
* Added compilation of [dict create] and [dict merge].dkf2012-11-011-0/+6
|
* Added [dict exists] compilation; implementation is 95% shared with [dict get].dkf2012-10-301-2/+5
|
* Compilation of [string first] and [string range] (with constant indices).dkf2012-10-301-0/+6
|
* Added compilation of [regsub] (in the simplest, most restricted case).dkf2012-10-301-0/+3
|
* Added compilation of simplest practical case of [string map].dkf2012-10-291-0/+3
|
* Compiler for some of the simpler cases of [format].dkf2012-10-291-0/+3
|
* Merge corrected [yield] compilation. Many thanks to Miguel Sofer for help.dkf2012-10-291-0/+4
|\
| * Working towards a BCCed [yield]; this doesn't work right now.dkf2012-10-261-0/+4
| |
* | Compilation of [info commands] in the case of a fully-qualified literal name.dkf2012-10-291-0/+3
|/
* Compile [namespace which -command]; big performance saving in some contexts.dkf2012-10-261-0/+3
|
* Added compilation of [namespace code] (except for gnarly edge cases).dkf2012-10-251-0/+3
|
* merge trunkdkf2012-10-241-8/+7
|\
| * Added compilation of [dict unset]; the bytecode needed already existed anyway.dkf2012-10-241-0/+3
| |
| * Add "flags" parameter from Tcl_LoadFile to to various internal functions, so ↵jan.nijtmans2012-10-231-8/+4
| |\ | | | | | | | | | these flags are available through the whole filesystem for (future) internal use
| | * Remove unused TclpLoadFile function.jan.nijtmans2012-10-231-6/+0
| | |
| | * 3564735 Protection against namespace var resolvers that unexpectedly returnbug_3564735dgp2012-09-061-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.dgp2011-10-271-1/+1
| | |
| | * Fixed the inadvertently committed disabling of stack checks, see my ↵andreask2011-06-221-2/+0
| | | | | | | | | | | | 2010-11-15 commit [8902c8bc82].
* | | yet another small introspector: [self]dkf2012-10-191-0/+3
| | |
* | | merge trunkdkf2012-10-171-2/+24
|\ \ \ | |/ /
| * | compilation code adjusteddkf2012-10-051-10/+8
| | |
| * | merge trunkdkf2012-10-051-2/+6
| |\ \
| | * | 3564735 Protect against mem corruption when var resolvers misbehave.dgp2012-09-111-2/+6
| | | |
| * | | Rename 'mapeach' to 'lmap' per preferred alternative in TIP #405.twylite2012-08-081-8/+8
| | | |
| * | | Back-out 'foreacha' implementation but leave code cleanup of 'mapeach' and ↵twylite2012-08-081-10/+0
| | | | | | | | | | | | | | | | 'dict map'.
| * | | [Patch-3163961] Implementation of TIP #405 merged from private branch. ↵twylite2012-08-031-0/+30
| |/ / | | | | | | | | | Includes 'mapeach', 'dict map' and 'foreacha' commands, test suite (partial for 'foreacha') and man pages (except for 'foreacha').
* | | merge trunkdkf2012-08-041-0/+20
|\ \ \ | |/ /
| * | Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-0/+19
| | |
| * | * generic/tclUtil.c (TclDStringToObj): Added internal function to makedkf2012-04-251-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.dkf2012-03-041-0/+9
|/ /
* | * generic/tclCompCmds.c (TclCompileLreplaceCmd): Added a compilationdkf2012-02-151-0/+3
| | | | | | | | strategy for [lreplace] that tackles the cases which are equivalent to a static [lrange].
* | * generic/tclCompCmds.c (TclCompileLrangeCmd): Add compiler fordkf2012-02-151-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().dgp2012-01-271-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.dkf2011-10-031-2/+3
| |
* | Experimental compilation of the [dict with] subcommand. No tests yet, and notdkf2011-10-021-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]. ↵mig2011-08-291-1/+2
| | | | | | | | Thanks to Joe Mistachkin for detection and analysis.
* | [Bug 2919042] Restore "valgrindability" of Tcl that was lost by the ↵ferrieux2011-08-091-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 ↵ferrieux2011-08-091-0/+1
| | | | | | | | errostack when compiling a syntax error.
* | Change the signature of TclParseHex(), such that it can now parse up to 8 ↵jan.nijtmans2011-08-091-1/+1
| | | | | | | | hex characters
* | Remove TclCleanupLiteralTable (see 994838).dgp2011-06-021-2/+0
|\ \ | |/
| * Remove TclCleanupLiteralTable (see 994838).dgp2011-06-021-2/+0
| |
* | [Bug 3185407]: Extend the set of epochs that are potentially bumped (indkf2011-06-021-4/+7
|\ \ | |/ | | | | TclInvalidateNsCmdLookup) when a command is created, for a slight performance drop (in some circumstances) and improved semantics.
| * [Bug 3185407]: Extend the set of epochs that are potentially bumped (indkf2011-06-021-4/+7
| |\ | | | | | | | | | TclInvalidateNsCmdLookup) when a command is created, for a slight performance drop (in some circumstances) and improved semantics.
| | * Merge from 8.5 branch tipbug_3185407dkf2011-06-011-0/+4
| | |\ | | |/ | |/|
| | * is this a proper fix? Or is it invalidating too much?mig2011-05-081-0/+3
| | |