summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
Commit message (Collapse)AuthorAgeFilesLines
* Tcl_GetWideIntFromObj() -> TclGetWideIntFromObj(), and minor other ↵jan.nijtmans2017-06-071-5/+5
| | | | simplifications/optimizations. No functional change.
* Don't use "0%o" format in test-cases, as it suggest's it's the normal way to ↵jan.nijtmans2017-04-141-1/+1
| | | | | format octal numbers: it isn't. Better use "%#o". Add tests for "format" and "scan" corner-cases which weren't documented (except in TIP's) neither had tests before.
* bug fix for [42202ba1e5ff566e0f9abb9f890e460fbc6c1c5c]: segfault by coro injectfix_42202ba1e5ff566esebres2017-04-041-1/+31
| | | | rewritten callback for ::tcl::unsupported::inject, without leave the interpreter in unusable state (inaccurate environment exchange by adding eval callback), test covered now.
* Make 'clock' and 'encoding' into compilable ensembles that play with safe ↵kbk_clock_encoding_ensemblesKevin B Kenny2017-03-141-0/+1
| | | | interps
* Make 'clock' and 'encoding' into proper compilable ensemblesKevin B Kenny2017-03-141-5/+5
|
* 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
|
* 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.
* 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
| | | |
| | | |
| | \ \
| *-. \ \ merge trunkdgp2013-08-221-59/+32
| |\ \ \ \ | | | |/ /
| | | * | compiler warningdgp2013-08-221-1/+1
| | |/ /
| | * | Make Dispatch() the single point for calling a Tcl_ObjCmdProc, and attachdgp2013-08-221-59/+32
| | | | | | | | | | | | the DTRACE machinery there (one place, not two).
| * | | merge trunkdgp2013-08-221-24/+15
| |\ \ \ | | |/ /
| | * | Tidy the code and add a test.dgp_purge_NRRunObjProcdgp2013-08-211-39/+0
| | | |
| | * | Push out a trial patch for more eyes to see.dgp2013-08-201-0/+22
| | | |