summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove some unnecessary "struct" definitions and some type casts no longer ↵jan.nijtmans2017-04-111-1/+1
| | | | necessary. No functional changes.
* If compiled with TCL_NO_DEPRECATED, the functions ↵jan.nijtmans2017-04-061-1/+1
| | | | TclpGetDate/TclpLocaltime/TclpGmtime can be removed: They are internal and not used for anything any more.
* If compiled with TCL_NO_DEPRECATED, remove some more stub entries which are ↵jan.nijtmans2017-03-201-0/+6
| | | | not used any more.
* If Tcl is compiled with -DTCL_NO_DEPRECATED, make sure that ↵jan.nijtmans2017-03-171-0/+10
| | | | iPtr->(resultSpace|appendResult|appendAvl|appendUsed) are not used any more.
* Make 'clock' and 'encoding' into compilable ensembles that play with safe ↵Kevin B Kenny2017-03-141-5/+6
|\ | | | | | | interps
| * 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
| |
* | More internal use of size_t in stead of int, e.g. for epoch'sjan.nijtmans2017-02-151-1/+1
| |
* | In TclGetNumberFromObj() macro (tclExecute.c): Don't fill in type if ↵jan.nijtmans2017-02-031-1/+1
| | | | | | | | | | 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.
* | If TCL_NO_DEPRECATED is defined, remove the "case" statement, and use much ↵jan.nijtmans2017-01-251-1/+1
| | | | | | | | less interp->result. Implementation mostly taken over from "novem". If TCL_NO_DEPRECATED is not defined, nothing changes.
* | Merge core-8-6-branch. jan.nijtmans2017-01-111-3/+2
|\ \ | |/ | | | | Do gcc-compiles with the option -Wwrite-strings, so we can detect mis-usage of "const". Make Tcl_AddErrorInfo() and Tcl_AddObjErrorInfo() a macro.
* | 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
| | |