summaryrefslogtreecommitdiffstats
path: root/generic/tclUtil.c
Commit message (Expand)AuthorAgeFilesLines
* Use TclAttemptInitStringRep() in a few more places where it's possible. Fix i...jan.nijtmans2025-05-261-2/+2
* Clean up indentation and overlong linesdkf2025-05-231-73/+74
* Merge trunkjan.nijtmans2025-05-131-0/+175
|\
| * Merge 9.0jan.nijtmans2025-05-121-5/+0
| |\
| | * _BitScanReverse64() is tested now, so remove comment. Slight speedup for TclL...jan.nijtmans2025-05-121-5/+0
| | * [fd1585e2a1] Adopt efficient internal indexing calculation utility TclMSB().dgp2025-05-091-0/+180
| * | merge trunkdgp2025-05-091-4/+6
| |\ \
| * | | High performance implementation using GNU compiler builtin.core-dgp-msbdgp2025-04-231-1/+14
| * | | Speculative high performance implementation using Microsoft compiler intrinsics.dgp2025-04-231-0/+24
| * | | Apply Tcl 9 guarantees and conventions.dgp2025-04-221-51/+13
| * | | Port the Brodnik adaptation implementaton of TclMSB() from dgp-refactor branchdgp2025-04-221-6/+153
| * | | The callers of TclLog2() needed its range to be limited to [0..31].dgp2025-04-171-0/+34
* | | | Rebase to trunkjan.nijtmans2025-04-201-4/+2
|\ \ \ \ | |_|/ / |/| | |
| * | | Fully functional now, with a lot of examples for the improvement. Also, merge...jan.nijtmans2025-04-131-4/+2
| |/ /
* | | Merge trunk. Another round of (harmless) -Wconversion fixesjan.nijtmans2025-04-191-4/+6
|/ /
* | Mostly whitespace fixes, but also a bug in Tcl_SetWideUIntObjdkf2025-03-031-3/+3
* | Bunch of whitespace basic fixes.dkf2025-03-021-50/+50
|/
* Turn constants into an enumdkf2024-12-131-46/+61
* 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
* | Code optimization: no need for encoding = Tcl_GetEncoding(NULL, NULL). Use Tc...jan.nijtmans2024-05-241-2/+1
|\ \ | |/
| * Merge 8.6jan.nijtmans2024-05-241-2/+1
| |\
| | * Code optimization: no need for encoding = Tcl_GetEncoding(NULL, NULL). Use T...jan.nijtmans2024-05-241-2/+1
* | | 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 t...jan.nijtmans2024-05-231-4/+12
* | | Backout the "dullest commit ever" (not my words ....). It breaks the build. jan.nijtmans2024-05-141-207/+205
* | | Clean up a lot of small whitespace issues dkf2024-05-131-205/+207
* | | 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 (than...jan.nijtmans2024-03-201-15/+15
|\ \ \ | |/ /
| * | Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release (than...jan.nijtmans2024-03-201-15/+15
| |\ \ | | |/
| * | 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 h...jan.nijtmans2023-11-081-2/+2
* | | 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
|\ \ \ | |/ /