summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| * | 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
| | | |