summaryrefslogtreecommitdiffstats
path: root/generic/tclUtil.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix ungrammatical doubling of words in commentsminordkf2024-09-211-2/+2
|
* Merge 8.7. Random indent fixesjan.nijtmans2024-06-271-28/+28
|\
* | Fix CFLAGS=-ftrapv buildjan.nijtmans2024-06-071-0/+2
| |
* | Fix [57daa91ea]: Tcl_GetIntForIndex handling of n-m (m > n). With testcases.jan.nijtmans2024-06-061-8/+2
|\ \ | |/
| * Fix [57daa91ea]: Tcl_GetIntForIndex handling of n-m (m > n). With testcases.jan.nijtmans2024-06-061-2/+0
| |
* | Space before tab is an extremely unlikely to be correct indentation patterndkf2024-06-041-11/+11
| |
* | Missing ',' between "INDEX" and "OUTOFRANGE"jan.nijtmans2024-05-271-4/+2
| |
* | Remove TclSetProcessGlobalValue() "encoding" parameter: it should always be ↵jan.nijtmans2024-05-241-6/+7
| | | | | | | | NULL
* | Code optimization: no need for encoding = Tcl_GetEncoding(NULL, NULL). Use ↵jan.nijtmans2024-05-241-2/+1
|\ \ | |/ | | | | Tcl_DStringToObj where possible
| * Merge 8.6jan.nijtmans2024-05-241-2/+1
| |\
| | * Code optimization: no need for encoding = Tcl_GetEncoding(NULL, NULL). Use ↵jan.nijtmans2024-05-241-2/+1
| | | | | | | | | | | | TclDStringToObj where possible
* | | Fix [3fc3287497]: TclGetProcessGlobalValue encodes information twice on Windowsjan.nijtmans2024-05-231-4/+13
|\ \ \ | |/ /
| * | Fix [3fc3287497]: TclGetProcessGlobalValue encodes information twice on Windowsjan.nijtmans2024-05-231-4/+12
| |\ \ | | |/
| | * Possible fix for [3fc3287497]: TclGetProcessGlobalValue encodes information ↵jan.nijtmans2024-05-231-4/+12
| | | | | | | | | | | | twice on Windows
* | | Backout the "dullest commit ever" (not my words ....). It breaks the build. jan.nijtmans2024-05-141-207/+205
| | | | | | | | | JN: Many of those changes are actually good, but there are too many changes to be able to search for a bug somewhere. Feel free to re-apply, after assuring it's really only whitespace changes. (my advise: do that after 9.0b2)
* | | Clean up a lot of small whitespace issues dkf2024-05-131-205/+207
| | | | | | | | | This is the dullest commit ever. Sorry.
* | | More whitespace cleanupdkf2024-05-101-4/+4
| | |
* | | Merge 8.7. encodingPtr -> encodingNamePtr (for consistency)jan.nijtmans2024-04-041-8/+8
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2024-04-041-8/+8
| |\ \ | | |/
| | * Tcl_GetString() -> TclGetString(), for minor speedup.jan.nijtmans2024-04-041-4/+4
| | |
* | | 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-15/+15
|\ \ \ | |/ / | | | | | | (thanks, Sergey!)
| * | Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release ↵jan.nijtmans2024-03-201-15/+15
| |\ \ | | |/ | | | | | | (thanks, Sergey!)
| * | Restore TclListObjLength()/TclListObjGetElements() macro's, as they were in 8.6jan.nijtmans2024-03-131-1/+1
| | |
* | | Fix indentation/brace usage style issuesdkf2024-03-191-22/+17
| | |
* | | Restore TclListObjGetElements()/TclListObjLength() as they were in 8.6 too.jan.nijtmans2024-03-121-1/+1
| | |
* | | Merge 8.7jan.nijtmans2024-01-061-30/+0
|\ \ \ | |/ /
* | | Tcl_GetByteArrayFromObj -> Tcl_GetBytesFromObj everywhere in core, since it ↵jan.nijtmans2023-11-081-2/+2
| | | | | | | | | | | | has the possibility of better error-reporting. This fixes the -DTCL_NO_DEPRECATED build failure
* | | Remaining fixes for [26870862f0]: Wrong sentinel in Tcl_SetErrorCode usagejan.nijtmans2023-10-221-6/+1
| | |
* | | Merge 8.7jan.nijtmans2023-10-191-7/+7
|\ \ \ | |/ /
| * | Handle sentinels for any C++ compilerjan.nijtmans2023-10-171-7/+7
| | |
* | | Merge 8.7jan.nijtmans2023-09-121-15/+15
|\ \ \ | |/ /
| | |
| | \
| *-. \ TIP #665: Remove support for internal utf-16 for Tcl 8.7 (and 9.0)jan.nijtmans2023-09-121-17/+17
| |\ \ \ | | | |/
| | | * Correct spelling errors in comments and documentation, but also non-comment pooryorick2023-04-121-2/+2
| | | | | | | | | | | | corrections in history.tcl and tcltest.test.
| | * | Rebase to 8.7jan.nijtmans2023-08-301-15/+15
| | |\ \ | |/ / /
| | * | Rebase to 8.7jan.nijtmans2023-07-091-15/+15
| | |\ \
| | | * | Remove internal use of TCL_UTF_MAX=3 as much as possible, without ↵jan.nijtmans2023-05-011-15/+15
| | | | | | | | | | | | | | | | | | | | compromizing existing TIP's
| * | | | The experiment deployment of TclDuplicatePureObj() has been reverted fromdgp2023-08-211-5/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-57/+163
|\ \ \ \
| * | | | Merge in fix for end+1 indices.apnadkarni2023-08-131-4/+5
| | | | |
| * | | | Fix for Tk [a9929f112a]apnadkarni2023-08-131-4/+11
| | | | |
| * | | | Revert [0b05b5c750df] that broke bigdata tests and lseq-1.13apnadkarni2023-08-131-60/+158
| | | | |
* | | | | merge trunkgriffin2023-08-131-2/+2
|\ \ \ \ \ | |/ / / /
| * | | | Rename Tcl_BumpObj() to Tcl_BounceRefCount().griffin2023-08-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
| | | | |
* | | | | Revert more bits.griffin2023-08-101-3/+0
| | | | |
* | | | | Revert DupolicatePureObj back to DuplicateObj.griffin2023-08-101-2/+1
|/ / / /
* | | | Fix bug [c25d2cd3e6], as well as memory leaks in lsearch and concat.griffin2023-07-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Add cleanup to some tests. Fix bug and leak in tclTestABSList.c Correct comment in tclArithSeries.c
* | | | merge trunkgriffin2023-06-301-163/+68
|\ \ \ \
| * \ \ \ Merge 9.0jan.nijtmans2023-06-271-16/+15
| |\ \ \ \