Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reduce shimmering: If a conclusion can be drawn about the number of list ↵ | jan.nijtmans | 2022-11-28 | 1 | -0/+8 |
| | | | | elements, don't get the elements before the list length is checked | ||||
* | If CFLAGS contains -DTCL_NO_DEPRECATED, remove TclInitCompiledLocals. More ↵ | jan.nijtmans | 2022-11-02 | 1 | -45/+51 |
| | | | | code cleanup (backported from 9.0) | ||||
* | Merge 8.6 | jan.nijtmans | 2022-09-22 | 1 | -3/+2 |
|\ | |||||
| * | Do the "#undef TclObjInterpProc" slightly earlier | jan.nijtmans | 2022-09-22 | 1 | -2/+1 |
| | | |||||
* | | Merge 8.6 | jan.nijtmans | 2022-09-22 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Make TclObjInterpProc a macro (since it always should be used through ↵ | jan.nijtmans | 2022-09-22 | 1 | -50/+25 |
| | | | | | | | | | | TclGetObjInterpProc()) Add some unused stub entries. Add some more type-casts to tclProc.c | ||||
* | | New (internal) function TclGetObjInterpProc2() and macro TclObjInterpProc2. ↵ | jan.nijtmans | 2022-09-19 | 1 | -5/+48 |
| | | | | | | | | Will be needed for Itcl (in combination with TIP #626). Should have been part of TIP #627. | ||||
* | | Change TclObjInterpProc() to a macro, since extensions should never invoke ↵ | jan.nijtmans | 2022-09-09 | 1 | -0/+2 |
| | | | | | | | | it directly, always through TclGetObjInterpProc() | ||||
* | | [37108037b9]: Code cleanups to support CHERI: Apply patch 0007 (modified) | jan.nijtmans | 2022-08-26 | 1 | -1/+1 |
| | | |||||
* | | amend for [4eb3a155ac] SF-fix: 8.7 specific implementation and warnings ↵ | sebres | 2022-07-29 | 1 | -5/+5 |
| | | | | | | | | silencing | ||||
* | | merge 8.6 (apply SF fix) | sebres | 2022-07-29 | 1 | -2/+15 |
|\ \ | |/ | |||||
| * | fixes [4eb3a155ac] and similar segfaults: reset corresponding ↵ | sebres | 2022-07-27 | 1 | -2/+15 |
| | | | | | | | | bodyPtr->procPtr if procPtr gets released in TclProcCleanupProc, also recompile body if its procPtr is not the same as supplied. | ||||
* | | Unneeded type-cast | jan.nijtmans | 2022-06-20 | 1 | -1/+1 |
| | | |||||
* | | Deprecate 2 internal typedefs: TclCmdProcType/TclObjCmdProcType. Too little ↵ | jan.nijtmans | 2022-05-25 | 1 | -2/+2 |
| | | | | | | | | benefit to keep them | ||||
* | | Rename macro's TclListObjGetElements -> TclListObjGetElementsM and ↵ | jan.nijtmans | 2022-05-17 | 1 | -4/+4 |
| | | | | | | | | TclListObjLength -> TclListObjLengthM (prevent conflict with TIP #616) | ||||
* | | Handle Tcl_GetCharLength | jan.nijtmans | 2022-03-16 | 1 | -1/+1 |
| | | |||||
* | | Merge 8.6 | jan.nijtmans | 2022-02-10 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Use TclListObjLength/TclListObjGetElements in stead of ↵ | jan.nijtmans | 2022-02-10 | 1 | -3/+3 |
| | | | | | | | | Tcl_ListObjLength/Tcl_ListObjGetElements everywhere. This is slightly more efficient if the refered list already has the correct type | ||||
* | | Merge 8.6 | jan.nijtmans | 2022-01-14 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix [816913a65e]: GrowStringBuffer(): signed integer overflow. And a few ↵ | jan.nijtmans | 2022-01-13 | 1 | -1/+1 |
| | | | | | | | | similar situations in other place | ||||
* | | Merge 8.6 | jan.nijtmans | 2022-01-13 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix [6cb3db4965]: pointer arithmetic using NULL in InitArgsAndLocals() | jan.nijtmans | 2022-01-13 | 1 | -1/+1 |
| | | |||||
* | | Merge 8.7 | jan.nijtmans | 2021-10-11 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix for issue [a8579d906a28], "argument with no name". | pooryorick | 2021-10-08 | 1 | -1/+1 |
| | | |||||
* | | Change "IntRep" to "InternalRep", as discussed in the Tcl Core mailing list | jan.nijtmans | 2021-10-06 | 1 | -36/+36 |
| | | |||||
* | | Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵ | jan.nijtmans | 2020-12-08 | 1 | -4/+4 |
| | | | | | | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet | ||||
* | | Merge 8.6 | jan.nijtmans | 2020-09-25 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | When sourcing script files (even when simulating that through open|read), ↵ | jan.nijtmans | 2020-09-25 | 1 | -1/+1 |
| |\ | | | | | | | | | | | | | always set -eofchar \032 just like the source command does. Possible security issue: this could make it possible to evaluate hidden content at the end of pkgIndex files. | ||||
* | \ | Merge 8.6 | dgp | 2020-09-20 | 1 | -16/+14 |
|\ \ \ | |/ / | |||||
| * | | Make the check to avoid generating a string representation in [uplevel] a ↵ | pooryorick | 2020-09-20 | 1 | -16/+14 |
| | | | | | | | | | | | | little less intrusive. | ||||
| * | | Fix for [b9ecf3ce98], [uplevel] unnecessarily generates string representation. | pooryorick | 2020-09-19 | 1 | -11/+34 |
| | | | |||||
* | | | Fix for [b9ecf3ce98], [uplevel] unnecessarily generates string representation. | pooryorick | 2020-09-19 | 1 | -11/+34 |
| | | | |||||
* | | | Merge 8.6. Remove tests/safe-stock86.test for win builds too (GIT, what are ↵ | jan.nijtmans | 2020-09-11 | 1 | -3/+4 |
|\ \ \ | |/ / | | | | | | | you doing ...!) | ||||
| * | | Fix [https://core.tcl-lang.org/tk/tktview?name=3bc0f44ef3|3bc0f44ef3]: UBSan ↵ | jan.nijtmans | 2020-09-11 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | complains about body.chars[] usage. (Yes, I know, this one is for Tk, but Tcl was using the same construct too ....) | ||||
* | | | Backout uncomplete fix for [3422267ed6b79922]: segmentation fault from ↵ | jan.nijtmans | 2020-08-13 | 1 | -7/+0 |
| | | | | | | | | | | | | | | | deleting the the target of an imported alias during a trace on the target of the alias. Since it causes build failures. | ||||
* | | | Fix for [3422267ed6b7], segmentation fault with imported alias. | pooryorick | 2020-08-12 | 1 | -0/+7 |
| | | | |||||
* | | | Merge 8.6 | jan.nijtmans | 2020-05-14 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | In some places, Tcl_UtfPrev()/Tcl_UtfNext() is used traversing the ↵ | jan.nijtmans | 2020-05-14 | 1 | -45/+45 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | individual bytes of a string searching for '(', ')', '::' or other single bytes. It is overkill to use Tcl_UtfPrev/Tcl_UtfNext for that, since those characters can only appear as their ASCII byte, not as any other sequence. This effectively removes the last Tcl_UtfNext() call from the core, the only ones left are in tclTest.c for test commands. So the TclUtfNext() macro doesn't make sense any more. Remove "register" keyword from many files. | ||||
| | * | | In some places, Tcl_UtfPrev()/Tcl_UtfNext() is used traversing the ↵ | jan.nijtmans | 2020-05-13 | 1 | -2/+2 |
| |/ / | | | | | | | | | | individual bytes of a string searching for '(', ')', '::' or other single bytes. It is overkill to use Tcl_UtfPrev/Tcl_UtfNext for that, since those characters can only appear as their ASCII byte, not as any other sequence. | ||||
| * | | Merge 8.5 | jan.nijtmans | 2019-09-10 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| * | | merge 8.5 | sebres | 2019-09-06 | 1 | -2/+7 |
| |\ \ | | |/ | |||||
| | * | if frameName (actual level) does not contain a real level (#0 or 1) ↵ | sebres | 2019-09-06 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | historically TclGetFrame and Tcl_UpVar2 uses current level - 1, so to put supplied name in case of bad level (error at top - 1) is wrong; be more consistent with TclObjGetFrame (at least in error case if relative level used). | ||||
| | * | fix bad level (if specified argument is not a level at all) | sebres | 2019-09-06 | 1 | -0/+1 |
| | | | |||||
* | | | TIP 569 - remove lint comments | dgp | 2020-03-17 | 1 | -2/+0 |
| | | | |||||
* | | | More TCL_UNUSED. | dgp | 2020-03-08 | 1 | -19/+12 |
| | | | |||||
* | | | Merge 8.7 | jan.nijtmans | 2019-09-19 | 1 | -1/+1 |
|\ \ \ | |||||
* \ \ \ | Merge 8.7 | jan.nijtmans | 2019-09-14 | 1 | -6/+12 |
|\ \ \ \ | |/ / / | |||||
| * | | | simple and binary compatible fix for [775ee88560]: use correct relative ↵ | sebres | 2019-09-06 | 1 | -5/+11 |
| | | | | | | | | | | | | | | | | level (1) in case of top-1, "bad level" message points "below global level" (no regressions anymore, all tests pass) | ||||
| * | | | cherry-pick [af744d56e0ffcc65] fixed segfault of [775ee88560] in 8.7 | sebres | 2019-09-06 | 1 | -1/+1 |
| | | | | |||||
* | | | | Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and ↵ | jan.nijtmans | 2019-09-05 | 1 | -0/+8 |
|\ \ \ \ | |/ / / | | | | | | | | | Windows) without -Wunused-parameters warnings |