summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdIL.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.7jan.nijtmans2024-04-111-35/+35
|\
| * Merge 8.6. Use Tcl_NewBooleanObj for booleans; we should say what we meanjan.nijtmans2024-04-111-37/+37
| |\
| | * Use Tcl_NewBooleanObj for booleans; we should say what we mean. Fix ↵jan.nijtmans2024-04-111-4/+4
| | | | | | | | | | | | sentinels and type-casts.
| | * Tcl_GetString() -> TclGetString(), for minor speedup.jan.nijtmans2024-04-041-31/+31
| | |
* | | Use Tcl_NewBooleanObj for booleans; we should say what we meandkf2024-04-111-2/+2
| | |
* | | Merge 8.7. Tcl_GetStringFromObj() -> TclGetStringFromObj() (optimization)jan.nijtmans2024-03-211-5/+5
|\ \ \ | |/ /
* | | Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release ↵jan.nijtmans2024-03-201-2/+2
|\ \ \ | |/ / | | | | | | (thanks, Sergey!)
| * | Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release ↵jan.nijtmans2024-03-201-2/+2
| |\ \ | | |/ | | | | | | (thanks, Sergey!)
| | * Correct spelling errors in comments and documentation, but also non-comment pooryorick2023-04-121-5/+5
| | | | | | | | | corrections in history.tcl and tcltest.test.
| * | Restore TclListObjLength()/TclListObjGetElements() macro's, as they were in 8.6jan.nijtmans2024-03-131-21/+21
| | |
* | | Fix indentation/brace usage style issuesdkf2024-03-191-14/+14
| | |
* | | Restore TclListObjGetElements()/TclListObjLength() as they were in 8.6 too.jan.nijtmans2024-03-121-21/+21
| | |
* | | Remove some dead codejan.nijtmans2024-02-211-47/+1
| | |
* | | twice ClientData -> void * (for consistancy)jan.nijtmans2023-12-131-1/+1
| | |
* | | Added introspectiondkf2023-12-051-0/+2
| | |
* | | Revise macro usagejan.nijtmans2023-11-161-2/+2
| | |
* | | Merge 8.7jan.nijtmans2023-10-191-35/+35
|\ \ \ | |/ /
| * | Handle sentinels for any C++ compilerjan.nijtmans2023-10-171-35/+35
| | |
* | | 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.