summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
Commit message (Collapse)AuthorAgeFilesLines
* more internal use of size_t (in stead of int)jan.nijtmans2016-11-291-3/+3
|
* Merge trunk. Re-generate tclTomMath.h. Use faster exponentiation-function ↵jan.nijtmans2016-11-171-1/+1
| | | | from libtommath 1.0 (in tclExecute.c).
* Use more "size_t" in stead of "int" internall. Also eliminate a lot of ↵jan.nijtmans2016-11-161-4/+4
| | | | type-casts which are not necessary any more.
* Route all [string last] operations through a common implementation.dgp2016-11-081-14/+1
|
* Purge disabled code.dgp2016-11-071-17/+0
|
* First draft refactoring the [string first] functionality.dgp2016-11-041-0/+4
|
* Trim away obsolete code.dgp2016-11-011-145/+1
|
* WIPdgp2016-10-281-2/+2
|
* Convert INST_STR_CONCAT1 to the common `string cat` implementation.dgp2016-10-271-0/+8
|
* merge 8.6dgp2016-10-211-2/+6
|\
| * 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
|\ \ | |/
| * [eb6b68c1a9] Simple fix for [string replace] error demonstrated by new test.dgp2016-10-141-11/+0
| |
* | Merge INST_STR_REPLACE fixes and improvements.dgp2016-10-131-85/+42
|\ \ | |/
| * 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
| |
* | Fix [d4e7780ca1681cd095dbd81fe264feff75c988f7|d4e7780ca1]: "global" cmd ↵jan.nijtmans2016-09-071-1/+1
|\ \ | |/ | | | | literal sharing vs. per-interp resolvers
| * 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.
* | Don't ever allow UTF-8 sequences of more than 4 characters to be generated ↵jan.nijtmans2016-08-301-1/+1
|\ \ | |/ | | | | | | or parsed, even when TCL_UTF_MAX>4: According to current Unicode standard, a byte string of >4 characters can never form a single UTF-8 character. And a few minor micro-optimizations related to UTF-8 handling.
* | Stop internals intrusion into lists.dgp2016-07-201-17/+4
| |
* | merge 8.6dgp2016-07-111-0/+7
|\ \ | |/
| * [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.
* | merge 8.6dgp2016-07-101-0/+1
|\ \ | |/
| * [96fe2f1cc7] Plug memory leak.dgp2016-07-101-0/+1
| |
* | merge 8.6dgp2016-07-091-17/+16
|\ \ | |/
| * 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.
* | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵jan.nijtmans2016-07-081-3/+3
| | | | | | | | in many places where possible.
* | Fixup the ensemble rewrite conversionsjan.nijtmans2016-07-051-2/+0
|\ \ | |/
| * Fixup the ensemble rewrite conversions.core_8_6_branch_forkdgp2016-07-041-2/+0
| |
* | Route all ensemble rewrite activity through a few utility routines.dgp2016-06-281-3/+4
|\ \ | |/
| * merge 8.6dgp2016-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.
* | | [d553228d9f] Stop crashes in [dict update] with low refcount dictionaries.dkf2016-06-231-0/+4
|\ \ \ | | |/ | |/|
| * | [d553228d9f] Stop crashes in [dict update] with low refcount dictionaries.dkf2016-06-231-0/+4
| |/
* | Parameterize TclInitByteCodeObj to callers sense of typePtr.dgp_init_bytecodedgp2016-04-291-3/+1
| |
* | Refactor bytecode cleanup.dgp2016-04-221-12/+5
| |
* | Merge *both* commits to get the TclAsyncReady optimization. Withoutdgp2016-04-041-10/+17
|/ | | both parts, the test interp-34.3.1 hangs.
* 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
|