summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove dup line.dgp_cmd_epochdgp2016-12-021-6/+5
|
* Reports from NSF that command epoch bumping isn't properly timed.dgp2016-12-011-7/+16
| | | | | | | | http://paste.tclers.tk/4030 Since the epoch should bump to indicate when Tcl_FindCommand() would produce a different result from the cached value, the bump ought to be connected to the state change that would have that effect. This checkin appears to be the more correct answer, and it makes the Delete path get into agreement with the Rename path. Review would be good.
* Make compileEpoch "unsigned int", and start counting at 1.jan.nijtmans2016-11-241-1/+1
|
* More internal use of size_t in stead of int.jan.nijtmans2016-11-211-4/+2
|
* Use more "size_t" in stead of "int" internall. Also eliminate a lot of ↵jan.nijtmans2016-11-161-9/+9
| | | | type-casts which are not necessary any more.
* Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵jan.nijtmans2016-07-081-7/+7
| | | | in many places where possible.
* Merge core-8-6-branch: jan.nijtmans2016-07-071-7/+14
|\ | | | | | | | | | | | | New tests to demo the remaining flaw in ensemble dispatch revisions. Itcl 4 also demonstrated these [bd7f17bce8] Revise ensemble dispatch to call TclNREvalObjv() which supports the TCL_EVAL_INVOKE Simplify all the Tcl_NRPostProc declarations Create and use a utility Tcl_NRPostProc when decr ref count of values is all that is needed Bugfix [5d7ea04580]. Treat .cmd and .ps1 files are executable on Windows
| * Create and use a utility Tcl_NRPostProc when decr ref count of values isdgp2016-07-061-6/+13
| | | | | | all that is needed.
| * Simplify all the Tcl_NRPostProc declarations.dgp2016-07-061-1/+1
| |
* | Tcl_SetVar -> Tcl_SetVar2 and comparable replacements, eliminating functions ↵jan.nijtmans2016-06-291-4/+4
| | | | | | | | which are deprecated.
* | Route all ensemble rewrite activity through a few utility routines.dgp2016-06-281-4/+2
|\ \ | |/
| * Appears that the TclInitRewriteEnsemble() routine was created with an intentdgp2016-05-241-4/+2
| | | | | | to refactor, but never actually got used. Work on continuing that effort.
* | Allow unstable Tcl releases to use unstable packages by default (this makes ↵jan.nijtmans2016-03-111-2/+3
|\ \ | |/ |/| | | "package require Tk" find the expected 8.7a0 version in stead of 8.6). Make many "package" test-cases work even when the environment variable TCL_PKG_PREFER_LATEST is set.
| * Let Tcl 8.7 allow Tk 8.7 to be used by defaultjn_Tcl_requirementjan.nijtmans2016-03-091-1/+1
|/
* Update comment with TIP number.tclPlatformEngineJoe Mistachkin2016-01-191-1/+1
|
* Add the tcl_platform(engine) element, TIP to be written.Joe Mistachkin2016-01-141-0/+7
|
* Cherrypick [812a81812ebf89d2416059d45fabd27e45603f5e|812a81812e]: Turn off ↵jan.nijtmans2015-11-221-3/+0
| | | | NRE asserts by default. About a 5% speedup on [clock format].
* explicitly ignore Tcl_PushCallFrame and TclPushStackFrame return value - it ↵Miguel Sofer2015-08-011-10/+2
| | | | is always TCL_OK. Inconsistency found by coverity (CID 1251197)
* Another round of refCount consistancy improvements.jan.nijtmans2015-07-021-15/+15
|
* improve comments for TclMarkTailcall and friendsMiguel Sofer2015-04-081-3/+10
|
* fix comments describing tailcall implementationMiguel Sofer2015-03-231-2/+2
|
* more commentsmig_tailcall_cleanupMiguel Sofer2015-03-231-2/+42
|
* updated, improved tailcall commentsMiguel Sofer2015-03-231-24/+21
|
* merge trunkdkf2014-02-081-10/+29
|\
| * [a4494e28ed] Use flag bit instead of NULL pointer to suppressdgp2014-02-061-10/+29
| |\ | | | | | | | | | | | | | | | teardown list of imported commands when the original command gets re-created. This prevents the panic otherwise possible when the invalid state represented by the NULL pointer is encountered during a command delete trace.
| | * [a4494e28ed] Use flag bit instead of NULL pointer to suppress teardown list ofdgp2014-02-061-10/+29
| | | | | | | | | | | | | | | imported commands when the original command gets re-created. This prevents the panic otherwise possible when the invalid state represented by the NULL pointer is encountered during a command delete trace.
* | | merge trunkdkf2014-02-031-14/+9
|\ \ \ | |/ /
| * | minor tidying updkf2014-01-221-3/+2
| | |
| * | [a90d9331bc]: must not crash when yieldto called in vanishing namespacedkf2014-01-221-11/+7
| | |
| * | implementation of [yieldto] in bytecodedkf2014-01-211-1/+1
| | |
* | | merge trunkdkf2014-01-091-2/+5
|\ \ \ | |/ /
| * | merge trunkdkf2013-12-231-0/+3
| |\ \
| | * | Making the optimizer pluggable by extensions; please review for committing ↵mig_tmp_optimizemig2013-12-181-0/+3
| | | | | | | | | | | | | | | | to trunk
| * | | First step in compiling [concat]: the trivial cases.dkf2013-10-241-1/+1
| | | |
| * | | Added 'linsert' compiler. Factored out constant list index parser.dkf2013-10-051-1/+1
| |/ /
* | | merge trunkdkf2013-09-201-211/+238
|\ \ \ | |/ /
| * | [86ceb4e2b6] Improve reaction when multiple *tm files purport to offer thedgp2013-09-071-2/+22
| |\ \ | | |/ | | | | | | | | | | | | | | | same version of the same package. Prefer the file that comes first on the tm path. Makes TCL*_TM_PATH variables more useful. Thanks to Gustaf Neumann for the suggestion. [a16752c252] Revise (partially revert) bug fix to stop crashes in buggy tclcompiler.
| | * Partial revert of [a16752c252] bug fix to stop crashes in buggy tclcompiler.unbreak_tclcompilerdgp2013-09-051-2/+22
| | |
| * | Add test and improve errorInfo.bug_010f4162efdgp2013-09-021-6/+16
| | |
| * | [010f4162ef] First step of fix on stammering errorstack. errorstack fixed.dgp2013-09-021-0/+6
| | | | | | | | | errorinfo revision still under consideration.
| * | New internal eval flag value so that all TclNREvalObjv() callers thatbug_2502002dgp2013-08-291-27/+48
| | | | | | | | | | | | pre-resolve command names can choose whether or not TclNREvalObjv() should attempt to re-do the resolution from objv[0] when something goes wrong.
| * | Rework the re-resolution after enter traces machinery with cleanerdgp2013-08-281-145/+69
| | | | | | | | | separations and neater interfaces.
| * | Clarfy and prettify influence of flag settings and command lookups.dgp2013-08-281-37/+40
| | |
| * | Tidy up indenting for clarity in refactoring.dgp2013-08-271-61/+62
| | |
| * | Exceptions raised from enter traces take priority over re-resolution games.dgp2013-08-271-6/+6
| | |
| * | Inline TEOV_RunEnterTraces() so its interface can be redesigned.dgp2013-08-271-3/+71
| | |
| * | merge trunkdgp2013-08-231-18/+33
| |\ \
| | * | Make sure all Tcl_NR*Eval*() routines do a schedule only. No errors raised.dgp2013-08-231-17/+32
| | | |
| * | | merge trunkdgp2013-08-231-19/+1
| |\ \ \ | | |/ /
| | * | Remove complications that no longer server any required purpose.dgp2013-08-231-19/+1
| | | |