summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
Commit message (Collapse)AuthorAgeFilesLines
* Make read and write operations on Tcl_Var handles available in tclInt API.dkf2017-06-081-21/+24
|\
| * Expose some of the core variable access APIs. dkf_expose_ptrgetvar_8_6dkf2017-06-061-21/+24
| | | | | | (Cherrypick from [b4dfc30083])
* | Revert performance optimization as first step to providing a refactored one.dgp2017-06-051-24/+1
| |
* | merge core-8-6-branch (except: the "timerate" command and the clock ↵jan.nijtmans2017-05-311-1/+1
|\ \ | |/ | | | | performance-tests are kept)
* | performance of INST_STR_CONCAT1: closes ↵sebres2017-05-311-1/+24
| | | | | | | | | | | | [716b427f76f8f97a8d9a06043903c53bb2b592c2]: minor optimization in simplest cases, fixed performance regression of TclStringCatObjv usage from [fc9ed1e751180816384d569101950c1f8c4582ad], optimizes patterns like "$v[unset v]", "$v[set v {}]" etc.
* | silence uninit variable warningsdgp2017-04-281-1/+1
|\ \ | |/
| * silence uninit variable warningsdgp2017-04-281-1/+1
| |
* | [04e26c02c0] Remove useless condition that raises warnings.dgp2017-04-271-4/+2
|\ \ | |/
| * [04e26c02c0] Remove useless condition that raises warnings.dgp2017-04-271-4/+2
| |
* | redundant end-of-line spacingjan.nijtmans2017-03-151-1/+1
|\ \ | |/
| * 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].
| * Compile [clock clicks], [clock microseconds], [clock milliseconds] and ↵Kevin B Kenny2017-03-151-0/+33
| | | | | | | | [clock seconds].
* | Eliminate internal use of ↵jan.nijtmans2017-03-131-2/+2
| | | | | | | | TclNewBooleanObj()/TclSetBooleanObj()/TclSetIntObj(). Replace Tcl_DbNewBooleanObj() with trivial macro.
* | In TclGetNumberFromObj() macro (tclExecute.c): Don't fill in type if ↵jan.nijtmans2017-02-031-2/+2
| | | | | | | | | | TCL_ERROR is returned: The caller doesn't do anything with this. Don't access (non-const) variable tclEmptyStringRep any more, use its value (&tclEmptyString) directly. Only keep it in tclPkg.c, for error checking.
* | 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 [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
| | |
* | | Eliminate the internal macro/function TclNewIntObj: In all cases ↵jan.nijtmans2016-12-231-12/+12
| | | | | | | | | | | | TclNewLongObj is just as good.
* | | more internal use of size_t in stead of int.jan.nijtmans2016-12-201-4/+3
| | |
* | | 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.