summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate AuxDataType table: since this table only contains 4 constant ↵jan.nijtmans2015-12-151-2/+0
| | | | entries, it is overkill to use a hash table for that.
* Cherrypick [812a81812ebf89d2416059d45fabd27e45603f5e|812a81812e]: Turn off ↵jan.nijtmans2015-11-221-3/+0
| | | | NRE asserts by default. About a 5% speedup on [clock format].
* Proposed fix for invalid write, found by valgrind.bug_7a87a9bc5bdkf2015-08-171-1/+0
|
* Fix the documentation comment.Coverity_CID_1251203dkf2015-08-031-7/+8
|
* And another problem with continue in for-step clauses, this time a problem ↵dkf2015-08-021-9/+16
| | | | in how TEBC handled an edge case in the semantics.
* remove self-assignment - found by CoverityMiguel Sofer2015-07-301-1/+1
|
* Add the missing cleanup bits in INST_UNSET_ARRAY.bug_a3309d01dbdgp2015-07-181-0/+3
|
* [a0ece9d6d4] The cmd field of a CmdFrame when non-NULL must point within thedgp2015-07-051-1/+0
| | | string of the corresponding codePtr->source.
* Don't use internalRep.otherValuePtr any more, twoPtrValue.ptr1 is always a ↵jan.nijtmans2015-07-011-18/+18
| | | | | better idea. A few more consistancies in refcount management.
* Consistancy in refcount management.jan.nijtmans2015-06-301-1/+1
|
* Use twoPtrValue in stead of ptrAndLongRep for implementation of some ↵jan.nijtmans2015-06-301-8/+7
| | | | | internal Obj types. On most platforms this doesn't make a difference, as (void *) and (long) generially have the same size. The only exception where it makes a difference is win64, as we can now store 64 bits in this field in stead of only 32 bits, exactly what the processor is optimized for.
* [268b23df11] Revised patch to create phony source string when thedgp2015-06-031-5/+11
| | | | original script does not actually contain the command being invoked. (Example: the tcl::mathfunc::* command invoked via [expr] interpretation)
* [268b23df11] When GetSrcInfoForPc() returns NULL, make sure it also setsdgp2015-06-031-8/+6
| | | | the length to a non-positive value so nothing tries to read offsets from a NULL pointer.
* Correction suggested by miguel. Passes test suite and fixes bug demos.dgp2015-04-081-1/+1
|
* Proposed fix.dgp2015-04-081-0/+1
|
* Don't fetch values we don't need.dkf2015-04-041-1/+1
|
* completing the fix for bug d87cb182053fd79b3Miguel Sofer2015-03-231-0/+1
|
* [d87cb18205] Let compiled ensembles handle tailcalls properly.dgp2015-03-211-1/+0
|
* [0dca3bfa8f] Strengthen validity checks on fast-path string comparison.dkf2014-12-031-3/+5
|
* [e087812465] Trim back operatorStrings array to just the entries that are ↵dgp2014-11-241-4/+2
|\ | | | | | | needed. Trims away the part of the array that was out of sync with the opcodes.
| * [e087812465] Trim back operatorStrings array to just the entries that aredgp2014-11-241-4/+2
| | | | | | needed. Trims away the part of the array that was out of sync with the opcodes.
| * Fix more corner-cases like ↵jan.nijtmans2014-05-011-5/+5
| | | | | | | | [0e92c404f19ede5b2eb06e6db27647d3138cc56|0e92c404f1]: The only place where a type of &tclByteArrayType can be trusted is when determining its length, because the character length of a (UTF-8) string is always equal to the byte length of the byte array.
* | Addition of a cast in tclWinFile.c to match types in a comparison, andandreask2014-08-011-1/+1
| | | | | | | | | | fix of a TRACE string literal in tclExecute.c with a bogus escape. Both would otherwise bug a Windows debug build (where warnings are errors).
* | [b43f2b49f7] New compilation strategy for lappend that allows multi-valuedkf2014-07-181-1/+166
| | | | | | lappend to not have quadratic performance (through better reference management).
* | [9969cf8ca6] Move the bailout when the ->rewind flag is set down after alldgp2014-07-171-4/+4
| | | | | | the housekeeping matters tearing down frames (trace data) is complete.
* | [6a2d339e50] Plug memleak in INST_STR_REPLACE instruction.dgp2014-07-161-0/+2
| |
* | [9b352768e6] Plug memleak in INST_DICT_FIRST.dgp2014-07-111-0/+8
| |
* | Possible fix for [47d66253c92197d30bff280b02e0a9e62f07cee2|47d66253c9]: ↵bug_47d66253c9jan.nijtmans2014-05-121-24/+0
| | | | | | | | "lsearch -sorted -integer" on 64bit system
* | [82e7f67325] Fix an evil refcount problem in compiled [string replace].dkf2014-04-301-2/+12
| |
* | [e663138a06] Fix the new INST_NUM_TYPE instruction so that the boundarydgp2014-04-141-6/+22
| | | | | | | | cases of [string is] on integral values are computed right. Code is now correct, though still suffers from a large amount of ugly.
* | Fix bug [e663138a06]: Test failures in "string is"jan.nijtmans2014-04-101-0/+9
| |
* | [8d5f5b8034] Flush internal representations in [string tolower] of unshared objdkf2014-02-251-0/+3
| |
* | [971cb4f1db]: Make debugging traces less inclined to serious visual corruptiondkf2014-02-041-4/+24
| |
* | add compilation of [string is]dkf2014-02-021-0/+38
|\ \
| * | Compile [string is] with character classes in a non-awful way. Needs more ↵dkf2014-01-291-0/+19
| | | | | | | | | | | | work to make resulting bytecode disassemble nicely.
| * | merge principal development branchdkf2014-01-251-23/+191
| |\ \
| * | | extend [string is] to booleansdkf2014-01-131-0/+11
| | | |
| * | | a different approachdkf2014-01-101-0/+8
| | | |
* | | | Fix [4b3b7a3082]: tcl8.5.15/generic/tclExecute.c:7713: array index before ↵jan.nijtmans2014-01-311-1/+3
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| sanity check ?
| * | Fix [4b3b7a3082]: tcl8.5.15/generic/tclExecute.c:7713: array index before ↵jan.nijtmans2014-01-311-3/+5
| | | | | | | | | | | | sanity check ?
| * | Suggested fix for [bdd91c7e43]: tclsh crashes in [interp delete]bug_bdd91c7e43jan.nijtmans2013-09-131-0/+1
| | |
* | | [a90d9331bc]: must not crash when yieldto called in vanishing namespacedkf2014-01-221-0/+11
| | |
* | | implementation of [yieldto] in bytecodedkf2014-01-211-9/+62
| | |
* | | added compilation for [nextto]dkf2014-01-191-14/+118
| |/ |/|
* | reduce the overhead of NR-enabled TclOO [next]dkf2014-01-071-9/+127
| |
* | factor out a common stanzadkf2014-01-051-21/+40
| |
* | merge trunkdkf2014-01-051-24/+16
|\ \
| * | reducing TEBCdata: pc and cleanup now passed in the NREcallbackmig2014-01-051-24/+16
| | |
* | | merge main working branch; made opcode work by getting callback ordering rightdkf_bytecode_8_6_nextdkf2014-01-021-23/+17
|\ \ \
| * \ \ merge trunkdkf2014-01-021-4/+4
| |\ \ \ | | |/ /