summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdIL.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.7jan.nijtmans2023-09-181-3/+2
|\
| * 3 more places where -wtrapv errors are triggered running the test-suitejan.nijtmans2023-09-151-2/+2
| |
* | Refactor to eliminate list dup as no longer necessaryapnadkarni2023-09-171-37/+40
| |
* | Add test for lassign/lseq memoryapnadkarni2023-09-171-1/+1
| |
* | Avoid list shimmering with uncompiled lassign on lseqapnadkarni2023-09-171-13/+34
| |
* | Merge 8.7jan.nijtmans2023-09-121-2/+2
|\ \ | |/
| * Rebase to 8.7jan.nijtmans2023-08-311-2/+2
| |\
| | * Rebase to 8.7jan.nijtmans2023-08-301-2/+2
| | |\
| | | * Rebase to 8.7jan.nijtmans2023-07-261-2/+2
| | | |\
| | | | * Rebase to 8.7jan.nijtmans2023-07-091-2/+2
| | | | |\
| | | | | * Remove internal use of TCL_UTF_MAX=3 as much as possible, without ↵jan.nijtmans2023-05-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | compromizing existing TIP's
| * | | | | Backport some test improvements from 9.0jan.nijtmans2023-08-311-1/+1
| |/ / / /
| * | | | Merge "revert-dup-pure" branch: get rid of TclDuplicatePureObj()jan.nijtmans2023-08-251-119/+103
| |\ \ \ \ | | |/ / / | |/| | |
| | * | | The experiment deployment of TclDuplicatePureObj() has been reverted fromdgp2023-08-211-23/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the trunk. This branch attempts to prepare a reversion for the core-8-branch also, via a cherrypick and resolution of conflicts. Starting an experiment in one new release to reject it in the next is at best odd. Also, valgrind test runs of core-8-branch show memory leaks with TclDuplicatePureObj() on the stack trace. This checkin shows a clean valgrind run. There are three test failures on this checkin, which I hope someone versed in the ArithSeries work can resolve. They are the tests: lseq-3.14 lseq-4.19 lseq-bug-54329e39c7 merge bug-bc7ddc7944 (revert use of TclDuplicatePureObj)
| * | | Code cleanup for arithSeries, all backported from 9.0jan.nijtmans2023-07-101-1/+0
| |/ /
* | | merge trunkgriffin2023-08-131-7/+7
|\ \ \
| * | | Rename Tcl_BumpObj() to Tcl_BounceRefCount().griffin2023-08-121-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After the presentation on Abstract Lists at the 2023 OpenACS/Tcl Conference, there was a strong opinion that this function should be renamed. The results of an informal poll had a tie between Tcl_DoneWithObj() and Tcl_BounceRefCount(). Having seen a reference to "Bounce" in a research paper on Ref Counting, I chose to use Tcl_BounceRefCount().
* | | | More replacements of DuplicateObj with ListObjCopy.griffin2023-08-121-7/+10
| | | |
* | | | Revert more bits.griffin2023-08-101-19/+0
| | | |
* | | | Revert DupolicatePureObj back to DuplicateObj.griffin2023-08-101-7/+7
|/ / /
* | | Fix bug [c25d2cd3e6], as well as memory leaks in lsearch and concat.griffin2023-07-161-4/+20
| | | | | | | | | | | | | | | | | | Add cleanup to some tests. Fix bug and leak in tclTestABSList.c Correct comment in tclArithSeries.c
* | | Cleanup abstract list ObjType function definitions.griffin2023-07-071-17/+12
| | |
* | | TIP #636 cleanup: Eliminate the use of Tcl_ObjTypeLength() et al, which look ↵jan.nijtmans2023-07-071-14/+19
| | | | | | | | | | | | public but are internal and not documented anywhere.
* | | merge trunkgriffin2023-06-191-7/+8
|\ \ \
| * | | Proposed fix for [c13819225e]: Problem with lsort|lsearch -stride on 32-bit ↵jan.nijtmans2023-06-161-7/+8
| | | | | | | | | | | | | | | | linux. Also fix some compiler warnings
* | | | merge trunkgriffin2023-06-061-6/+7
|\ \ \ \ | |/ / /
| * | | Merge 8.7jan.nijtmans2023-06-021-6/+7
| |\ \ \ | | |/ /
| | * | New (internal) macro TclAttemptInitStringRep()jan.nijtmans2023-06-021-2/+3
| | | |
| | * | Use TclDuplicatePureObj() in stead of TclListObjCopy() where appropriate. ↵jan.nijtmans2023-05-311-70/+99
| | |/ | | | | | | | | | Backported from 9.0
* | | Function name cleanup.griffin2023-05-261-6/+6
| | |
* | | Merge trunkgriffin2023-05-231-9/+27
|\ \ \ | |/ /
| * | Improve TclDuplicatePureObj(), remove unnecessary increment/decrement pairs, ↵pooryorick2023-05-171-9/+27
| | | | | | | | | | | | and add more error checking.
* | | Merge trunkgriffin2023-05-171-37/+60
|\ \ \ | |/ /
| * | Fix memory leaks and remove unnecessary reference count bounce.pooryorick2023-05-161-15/+26
| | |
| * | New function, TclDuplicatePureObj(), doesn't duplicate the string pooryorick2023-05-161-23/+35
| | | | | | | | | | | | | | | representation when duplicating an object, unless necessary. Remove TclListObjCopy() in favor of TclDuplicatePureObj(), allowing internal representation to change after the copy rather than before.
* | | Add Tcl_BumpObj() used to prevent leaks from Abstract List elements.griffin2023-05-171-2/+15
| | | | | | | | | | | | | | | | | | | | | Add Abstract List (ArithSeries) support in Tcl_ListObjIndex(). Fix obj leaks in lsearch operatations on ArithSeries. Fix obj leaks in concat operations on ArithSeries. Add concat and lsearch tests using lseq lists.
| | |
| \ \
| \ \
| \ \
| \ \
| \ \
*-----. \ \ Partial sync-up with trunk.griffin2023-04-301-104/+118
|\ \ \ \ \ \ | | | | |/ /
| | | | * | Merge 8.7 - [d90fee06d0] (lassign) and [203792a48c] (Utf32ToUtf)apnadkarni2023-04-231-2/+15
| | | | |\ \ | | | | | |/
| | | | | * Use TclListObjRange in lassign for performance reasonsapnadkarni2023-04-221-2/+15
| | | | | |
| | | | | * Reduce diff between 8.7 and 9.0. Add some testcasesjan.nijtmans2023-04-211-39/+48
| | | | | |
| | | | * | Fix gcc warning about format specifier in error messageapnadkarni2023-04-211-1/+1
| | | | | |
| | | | * | Bugs [4ce858a049] (lrepeat), [f4d15772f1] (foreach), [6926a21840] (lmap).apnadkarni2023-04-201-3/+3
| | | | | |
| | | | * | Fix [a4617c8e90] - lsearch index truncationapnadkarni2023-04-191-2/+3
| | | |/ /
| | | * | Merge trunkapnadkarni2023-04-141-4/+4
| | | |\ \ | | | |/ / | | |/| |
| | * | | Correct spelling errors in comments and documentation, but also a ↵pooryorick2023-04-121-4/+4
| | |\ \ \ | |/ / / / | | | | _ | | | | non-comment corrections in history.tcl and tcltest.test.
| | * | Correct spelling errors in comments and documentation, but also a non-comment pooryorick2023-04-121-4/+4
| | | | | | | | | | | | corrections in history.tcl and tcltest.test.
| | | * TIP 660. No compiler warnings. Tests suite pass on Win and Ubuntuapnadkarni2023-03-301-93/+93
| | |/ | |/|
| * | Fix memory leak in Tcl_JoinObjCmd().pooryorick2023-03-261-0/+1
| | |
* | | Merge trunkgriffin2023-03-251-36/+36
|\ \ \ | |/ /
| * | Another round of -1 -> TCL_INDEX_NONEjan.nijtmans2023-03-051-36/+36
| | |