summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
Commit message (Collapse)AuthorAgeFilesLines
* Expose some of the core variable access APIs. dkf_expose_ptrgetvar_8_6dkf2017-06-061-21/+24
| | | (Cherrypick from [b4dfc30083])
* silence uninit variable warningsdgp2017-04-281-1/+1
|
* [04e26c02c0] Remove useless condition that raises warnings.dgp2017-04-271-4/+2
|
* redundant end-of-line spacingjan.nijtmans2017-03-151-1/+1
|
* Compile [clock clicks], [clock microseconds], [clock milliseconds] and ↵Kevin B Kenny2017-03-151-0/+33
| | | | [clock seconds].
* Fix [d0f7ba56f0e8f93b7efb5b09ebc30a824bdd577a|d0f7ba56f0]: INST_EQ ↵jan.nijtmans2017-02-011-18/+4
|\ | | | | | | first-argument NaN shortcut is too aggressive
| * Fix [d0f7ba56f0e8f93b7efb5b09ebc30a824bdd577a|d0f7ba56f0]: INST_EQ ↵jan.nijtmans2017-02-011-18/+4
| | | | | | | | first-argument NaN shortcut is too aggressive
| * Fix compiler warnings (discovered on latest clang/gcc6), suggested by Gustaf ↵jan.nijtmans2016-01-211-5/+7
| | | | | | | | Neumann. All harmless, no change of functionality.
| * Eliminate a few gcc compiler warnings, when using -Wwrite-strings (tested ↵jan.nijtmans2015-10-011-15/+15
| | | | | | | | with the brand-new gcc 5.2.0)
| * Backport the fixes to handling of continue in for-step clauses.dkf2015-08-031-15/+23
| |
* | Repair recently opened memleak.dgp2016-10-201-2/+6
| |
* | [eb6b68c1a9] Simple fix for [string replace] error demonstrated by new test.dgp2016-10-141-11/+0
| |
* | Another streamline.dgp2016-10-131-29/+19
| |
* | Stop invading the String internals to work around a bug. Fix it instead.dgp2016-10-131-13/+0
| |
* | Streamline the substring copying case of [string replace] bytecode execution.dgp2016-10-131-43/+23
| |
* | Allow additional optional "interp" argument for testinterpresolver command. ↵jan.nijtmans2016-09-051-1/+1
| | | | | | | | | | | | Not used yet in any test-case. Protect panic in tclLiteral.c for possible null-pointer access. (cherry-picked from Gustaf Neuman's interpresolver patch). Eliminate some unecessary spacing.
* | [cea0344a1] Restore a clearing of the ensemble rewrite in one execution pathdgp2016-07-111-0/+7
| | | | | | | | so attempts to use the data after free are not made. Test namespace-50.9 demonstrates the need for this.
* | [96fe2f1cc7] Plug memory leak.dgp2016-07-101-0/+1
| |
* | Revise INST_INVOKE_REPLACE to call EvalObjv with TCL_EVAL_INVOKE anddgp2016-07-091-15/+14
| | | | | | | | no longer call EvalObjEx which does not support it reliably. Also convert to conventional list operations.
* | Expose the AVOID_RESOLVERS flag to [namespace upvar] implementations, which ↵bug_1493a43044dkf2016-07-071-2/+2
| | | | | | | | seem to need it.
* | Fixup the ensemble rewrite conversions.core_8_6_branch_forkdgp2016-07-041-2/+0
| |
* | merge 8.6dgp2016-06-231-0/+4
|\ \
| * | [d553228d9f] Stop crashes in [dict update] with low refcount dictionaries.dkf2016-06-231-0/+4
| | |
* | | excise debug scaffoldingdgp2016-05-261-6/+1
| | |
* | | Reduce to minimum set of TclResetRewriteEnsemble() calls.dgp2016-05-261-0/+2
| | |
* | | Put in some missing Resets.dgp2016-05-251-1/+3
| | |
* | | Appears that the TclInitRewriteEnsemble() routine was created with an intentdgp2016-05-241-3/+5
|/ / | | | | to refactor, but never actually got used. Work on continuing that effort.
* | Factor out string internal rep definition so fix for [1af8de570511] is less ↵dkf2016-03-221-4/+4
| | | | | | | | awful.
* | [1af8de570511] Fix crash in [string replace] caused by cut-n-paste.dkf2016-03-201-22/+13
| |
* | 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.