summaryrefslogtreecommitdiffstats
path: root/generic/tclListObj.c
Commit message (Collapse)AuthorAgeFilesLines
* merge 8.7 (BF [a9625d1f53554f9d])sebres2024-03-071-1/+1
|\
| * fixes segfault [a9625d1f53554f9d]: elemObj used uninitialized, lindex on ↵sebres2024-03-071-1/+1
| | | | | | | | lseq wo args must return whole list
* | Merge 8.7jan.nijtmans2023-12-271-1/+1
|\ \ | |/
| * Don't use TCL_SIZE_MODIFIER "u", since Tcl_Size can be negativejan.nijtmans2023-12-261-9/+14
| |
* | Merge 8.7jan.nijtmans2023-10-191-4/+4
|\ \ | |/
| * Handle sentinels for any C++ compilerjan.nijtmans2023-10-171-4/+4
| |
* | Merge 8.7jan.nijtmans2023-10-101-1/+1
|\ \ | |/
| * The experiment deployment of TclDuplicatePureObj() has been reverted fromdgp2023-08-211-53/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | merge trunkgriffin2023-08-141-0/+5
|\ \
| * | Merge in fix for end+1 indices.apnadkarni2023-08-131-0/+8
| | |
| * | Revert [0b05b5c750df] that broke bigdata tests and lseq-1.13apnadkarni2023-08-131-3/+0
| | |
* | | Replace more DuplicateObj with ListObjCopy.griffin2023-08-121-5/+2
| | |
* | | Replace DuplicateObj with ListObjCopy where appropriate.griffin2023-08-111-4/+49
| | |
* | | Revert more bits.griffin2023-08-101-40/+22
| | |
* | | Revert DupolicatePureObj back to DuplicateObj.griffin2023-08-101-9/+5
|/ /
* | Merge 8.7jan.nijtmans2023-07-191-2/+2
|\ \ | |/
| * Improve error-reporting possibilities for ↵jan.nijtmans2023-07-191-2/+2
| | | | | | | | Tcl_ExternalToUtfDStringEx/Tcl_UtfToExternalDStringEx in case no interpreter is available, by setting "errno".
* | Merge 8.7 - Bug [a366c6efee]apnadkarni2023-07-161-5/+10
|\ \ | |/
| * Bug [a366c6efee]apnadkarni2023-07-161-5/+10
| |
* | Merge 8.7jan.nijtmans2023-07-141-1/+1
|\ \ | |/
| * Correct wording in Commentoehhar2023-07-131-1/+1
| |
* | Merge 8.7jan.nijtmans2023-07-131-19/+21
|\ \ | |/
| * Backport changes in tclListObj.c from Tcl 9.0jan.nijtmans2023-07-131-161/+207
| |
| * Code cleanup for arithSeries, all backported from 9.0jan.nijtmans2023-07-101-1/+0
| |
| * Fix [26960060d7]: lseq-3.14 triggers use-after-freejan.nijtmans2023-06-281-0/+1
| |
| * Fix 3 "lset" testcasesjan.nijtmans2023-06-211-0/+3
| |
| * Use TclDuplicatePureObj() in stead of TclListObjCopy() where appropriate. ↵jan.nijtmans2023-05-311-57/+15
| | | | | | | | Backported from 9.0
* | Fix foreach bug [a34733451b].griffin2023-07-121-11/+3
| | | | | | | | Other code cleanup discovered by code review.
* | Cleanup abstract list ObjType function definitions.griffin2023-07-071-24/+18
| |
* | TIP #636 cleanup: Eliminate the use of Tcl_ObjTypeLength() et al, which look ↵jan.nijtmans2023-07-071-76/+81
| | | | | | | | public but are internal and not documented anywhere.
* | merge trunkgriffin2023-06-301-0/+3
|\ \
| * | WIP for fixing [https://core.tcl-lang.org/tk/tktview/a9929f112a|a9929f112a]jan.nijtmans2023-06-221-0/+3
| | |
* | | Fix build issue with no_deprecated.griffin2023-06-231-8/+2
| | |
* | | Remove getdbl abstraction.griffin2023-06-131-1/+0
| | |
* | | Clean up logic to detect failures.griffin2023-06-061-32/+35
| | |
* | | Function name cleanup.griffin2023-05-261-11/+11
| | |
* | | Merge trunkgriffin2023-05-231-86/+76
|\ \ \ | |/ /
| * | Merge trunkapnadkarni2023-05-191-78/+87
| |\ \
| | * | Improve TclDuplicatePureObj(), remove unnecessary increment/decrement pairs, ↵pooryorick2023-05-171-26/+55
| | | | | | | | | | | | | | | | and add more error checking.
| | * | Fix for [5ee01098824881b5], lseq list conversion results in attempt to accesspooryorick2023-05-171-0/+1
| | | | | | | | | | | | freed memory.
| * | | More refactoring into common codeapnadkarni2023-05-191-40/+21
| | | |
| * | | Merge trunkapnadkarni2023-05-101-24/+37
| |\ \ \
| * \ \ \ Merge trunkapnadkarni2023-05-051-1/+1
| |\ \ \ \
| * | | | | Refactor reallocation in preparation for experimentation with different ↵apnadkarni2023-05-041-52/+32
| | | | | | | | | | | | | | | | | | | | | | | | growth factors
* | | | | | Merge trunkgriffin2023-05-171-66/+38
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | |
| * | | | | New function, TclDuplicatePureObj(), doesn't duplicate the string pooryorick2023-05-161-54/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 TclRelaxRefCount, and also try to take the fast path more often in ↵pooryorick2023-05-131-0/+23
| | |_|/ / | |/| | | | | | | | | | | | | byte-compiled [lindex].
* | | | | Add Tcl_BumpObj() used to prevent leaks from Abstract List elements.griffin2023-05-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | merge trunkgriffin2023-05-091-65/+77
|\ \ \ \ \ | |/ / / /
| * | | | Make TclLindexFlat() a litle more straightforward.pooryorick2023-05-081-21/+34
| | | | |