Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [2992970] Restore the safety of Tcl_AppendObjToObj(x, x) for bytearrays.bug_2992970 | dgp | 2014-01-15 | 2 | -52/+64 |
| | | | | | | | | | Also moves overflow checking to TclAppendBytesToByteArray() and adds the ability to call TABTBA() with bytes==NULL, for appending unspecified bytes. That is, the string grows, but the new bytes are of undetermined value. Like Tcl_NewByteArrayObj(NULL, length) this option is useful for manipulating buffers. The TABTBA growth algorithm is also enhanced a bit, copying over a fuller implementation from GrowStringBuffer() in tclStringObj.c | ||||
* | Make DEFAULT_TRIM_SET a MODULE_SCOPE string constant, so its value can be ↵ | jan.nijtmans | 2014-01-08 | 3 | -35/+43 |
| | | | | | shared in tclCmdMZ.o and TclCompCmdsSZ.o and it no longer pollutes the tclStringTrim.h header file. | ||||
* | Add compilations for the following commands: | dkf | 2014-01-07 | 16 | -306/+1560 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | * concat * linsert * namespace origin * next * string replace * string tolower * string totitle * string toupper * string trim * string trimleft * string trimright | ||||
| * | make function static once more; not needed outside of source file | dkf | 2014-01-07 | 2 | -13/+9 |
| | | |||||
| * | reduce the overhead of NR-enabled TclOO [next] | dkf | 2014-01-07 | 1 | -9/+127 |
| | | |||||
| * | factor out a common stanza | dkf | 2014-01-05 | 1 | -21/+40 |
| | | |||||
| * | merge trunk | dkf | 2014-01-05 | 3 | -66/+50 |
| |\ | |/ |/| | |||||
* | | fix arraySet compiler to set -errorcode instead of -errorCode in return options | mig | 2014-01-05 | 1 | -2/+2 |
| | | |||||
* | | skip the switch(result) on returning TCL_OK from a proc | mig | 2014-01-05 | 1 | -40/+32 |
| | | |||||
* | | reducing TEBCdata: pc and cleanup now passed in the NREcallback | mig | 2014-01-05 | 1 | -24/+16 |
| | | |||||
| * | merge main working branch; made opcode work by getting callback ordering rightdkf_bytecode_8_6_next | dkf | 2014-01-02 | 1 | -23/+17 |
| |\ | |||||
| | * | merge trunk | dkf | 2014-01-02 | 1 | -4/+4 |
| | |\ | |_|/ |/| | | |||||
* | | | ... and more silly errors | dkf | 2014-01-02 | 1 | -4/+4 |
| | | | |||||
| | * | merge trunk | dkf | 2014-01-02 | 1 | -1/+1 |
| | |\ | |_|/ |/| | | |||||
* | | | oops... | dkf | 2014-01-02 | 1 | -1/+1 |
| | | | |||||
| * | | merge main working branch | dkf | 2014-01-02 | 6 | -474/+502 |
| |\ \ | | |/ | |||||
| | * | merge trunk | dkf | 2014-01-02 | 1 | -251/+232 |
| | |\ | |_|/ |/| | | |||||
* | | | more fixes to instruction tracing; ensure all places that need ↵ | dkf | 2014-01-02 | 1 | -90/+123 |
| | | | | | | | | | | | | DECACHE_STACK_INFO have it. jan.nijtmans: Branch moved aside an hidden, so future bisects are not affected by this branch mistakes. | ||||
* | | | factor out a common peephole stanza | dkf | 2014-01-01 | 1 | -137/+79 |
| | | | |||||
* | | | another jump peephole, this time with string comparisons | dkf | 2013-12-31 | 1 | -0/+14 |
| | | | |||||
| | * | more cleaning up of error-case instruction tracing | dkf | 2013-12-31 | 1 | -13/+8 |
| | | | |||||
| | * | merge trunk | dkf | 2013-12-31 | 1 | -176/+226 |
| | |\ | |_|/ |/| | | |||||
* | | | more peephole optimizations in TEBC, and better instruction execution traces | dkf | 2013-12-31 | 1 | -148/+212 |
| | | | |||||
* | | | clarify the resume sequence in TEBCresume; make checkInterp a local ↵ | mig | 2013-12-31 | 1 | -28/+14 |
| | | | | | | | | | | | | variable, remove it from the saved struct | ||||
* | | | merge trunkdkf_asm_crash_20131022 | dgp | 2013-12-30 | 25 | -357/+532 |
|\ \ \ | |||||
* \ \ \ | merge trunk | dgp | 2013-10-23 | 2 | -1/+6 |
|\ \ \ \ | |||||
| | | | * | put the other definition of a trim set in the header file too | dkf | 2013-12-30 | 3 | -13/+17 |
| | | | | | |||||
| | | | * | Factor out the definition of the default string trim set; define it once only. | dkf | 2013-12-30 | 3 | -65/+63 |
| | | | | | |||||
| | | * | | merge main working branch | dkf | 2013-12-30 | 91 | -7623/+11266 |
| | | |\ \ | | | | |/ | |||||
| | | | * | implement [namespace origin] in bytecode | dkf | 2013-12-30 | 7 | -4/+59 |
| | | | | | |||||
| | | | * | allow generation by assembler | dkf | 2013-12-30 | 2 | -7/+8 |
| | | | | | |||||
| | | | * | corrected comment | dkf | 2013-12-30 | 1 | -2/+2 |
| | | | | | |||||
| | | | * | precondition was wrong, and needed to flush part of the string/internal repdkf_bytecode_8_6_string_replace | dkf | 2013-12-29 | 1 | -5/+27 |
| | | | | | |||||
| | | | * | use the new instruction | dkf | 2013-12-29 | 1 | -3/+16 |
| | | | | | |||||
| | | | * | completed instruction implementation | dkf | 2013-12-28 | 3 | -22/+57 |
| | | | | | |||||
| | | | * | interim commit; not yet working | dkf | 2013-12-24 | 1 | -0/+120 |
| | | | | | |||||
| | | | * | merge trunk | dkf | 2013-12-23 | 13 | -65/+145 |
| | | | |\ | | | |_|/ | | |/| | | |||||
| | * | | | Added new tools for managing and verifying the stack depth during ↵ | mig | 2013-12-23 | 3 | -11/+48 |
| | | | | | | | | | | | | | | | | | | | | compilation. Used it in some spots in the compiler and in TclCompileCatchCommand. | ||||
| | * | | | remove unnecessary messing around INST_CONTINUE and INST_BREAK: local ↵ | mig | 2013-12-22 | 1 | -10/+4 |
| | | | | | | | | | | | | | | | | | | | | continue/break are already converted to jumps, so that these are either caught or returned - in either case, the stacks are cleaned up properly by TEBC itself. | ||||
| | * | | | remove duplicate statement in previous commit | mig | 2013-12-22 | 1 | -1/+0 |
| | | | | | |||||
| | * | | | fix stack counting bug in new catch compiler, commit 62a51cdb45. | mig | 2013-12-22 | 1 | -2/+8 |
| | | | | | |||||
| | * | | | remove INST_TRY_CVT_TO_NUMERIC when it is known not be necessary (cherrypick ↵ | mig | 2013-12-20 | 4 | -0/+16 |
| | | | | | | | | | | | | | | | | | | | | from mig-optimize) | ||||
| | * | | | Add TclRegisterLiteral() to internal stub table (from "mig-optimize" branch, ↵ | jan.nijtmans | 2013-12-19 | 5 | -3/+15 |
| | | | | | | | | | | | | | | | | | | | | looks like a good idea anyway) | ||||
| | * | | | merge trunkbug_0b874c344d | dgp | 2013-12-18 | 7 | -261/+355 |
| | |\ \ \ | |||||
| | | * | | | Making the optimizer pluggable by extensions; please review for committing ↵mig_tmp_optimize | mig | 2013-12-18 | 5 | -4/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | to trunk | ||||
| | * | | | | Big simplification of the bug fix. | dgp | 2013-12-18 | 1 | -66/+34 |
| | | | | | | |||||
| | * | | | | Factor out the level offsetting into a final pass. Let the first | dgp | 2013-12-17 | 1 | -16/+27 |
| | | | | | | | | | | | | | | | | | | pass of the "chain" operation just stitch things together and count levels. | ||||
| | * | | | | Refactoring work on the "chain" operation. | dgp | 2013-12-16 | 1 | -53/+48 |
| | | | | | | |||||
| | * | | | | Simplify the coding of the unchain operation. | dgp | 2013-12-13 | 1 | -31/+9 |
| | | | | | | |||||
| | * | | | | Draft fix for Bug 0b874c344d. Includes test. | dgp | 2013-12-05 | 1 | -4/+56 |
| | | | | | |