summaryrefslogtreecommitdiffstats
path: root/generic/tclUtil.c
Commit message (Collapse)AuthorAgeFilesLines
* merge 8.7dgp2022-10-111-75/+84
|\
| * More -1 -> TCL_INDEX_NONEjan.nijtmans2022-10-071-63/+68
| |
| * Merge 8.6jan.nijtmans2022-10-071-1/+4
| |\
| | * Follow-up to [1599352cca]: Tcl_Merge(): out-of-bounds write, more signed ↵jan.nijtmans2022-10-071-1/+4
| | | | | | | | | | | | integer overflow. Better panic message when argc < 0.
| * | Merge 8.6jan.nijtmans2022-10-061-13/+14
| |\ \ | | |/
| | * Fix [1599352cca] and related issuesjan.nijtmans2022-10-051-6/+7
| | |
| | * Fix [4789e18fcb]: signed integer overflow during obj-31.6jan.nijtmans2022-03-061-3/+3
| | |
* | | TIP implementation to add/use public routines Tcl_GetNumber(FromObj).dgp2022-09-181-5/+5
|/ /
* | Don't use TCL_HASH_TYPE for epoch/refCount type variables, keep it the same ↵jan.nijtmans2022-06-241-1/+1
| | | | | | | | as it was in Tcl 8.6
* | Merge 8.7jan.nijtmans2022-05-171-1/+1
|\ \
| * | Rename macro's TclListObjGetElements -> TclListObjGetElementsM and ↵jan.nijtmans2022-05-171-1/+1
| | | | | | | | | | | | TclListObjLength -> TclListObjLengthM (prevent conflict with TIP #616)
* | | Merge 8.7. Add macro's for situation without UTF_TCL_STUBSjan.nijtmans2022-05-171-3/+4
|\ \ \ | |/ /
| * | When compiled with TCL_NO_DEPRECATED, remove the UTF16 compatibility layer. ↵jan.nijtmans2022-03-241-1/+1
| | | | | | | | | | | | So, we make sure that it is never used internally for the Core. This means that extensions using the compatibility layer won't work any more in this mode; extensions should be compiled using TCL_UTF_MAX=4 then they work again.
| * | Start defining "utf32string" typejan.nijtmans2022-03-121-2/+2
|/ /
* | Deprecate internal macro's TclIsInfinite() and TclIsNan(), since C99 has ↵jan.nijtmans2022-02-171-2/+2
| | | | | | | | isinf() and isnan()
* | Merge 8.6jan.nijtmans2022-02-101-1/+1
|\ \ | |/
| * IntRep -> InternalRep. Internal changes only.jan.nijtmans2021-10-191-1/+1
| |
* | Correct previous commit (Windows build error)jan.nijtmans2022-02-081-1/+1
| |
* | Fix [1fe745559a]: 8.7, 9.0: Conditional jump or move depends on ↵jan.nijtmans2022-02-071-1/+3
| | | | | | | | uninitialised value in Tcl_UniCharToUtf
* | Fix another bug in Tcl_GetIntForIndex() (demonstrated by the new testcases ↵jan.nijtmans2022-01-241-1/+1
| | | | | | | | from the previous commit)
* | Add test-cases for Tcl_GetIntForIndex(). This reveals a minor bugjan.nijtmans2022-01-211-5/+2
| |
* | (partial) fix for ↵jan.nijtmans2022-01-191-1/+4
| | | | | | | | [https://core.tcl-lang.org/tk/tktview?name=a9929f112a|a9929f112a]. WIP
* | Change "IntRep" to "InternalRep", as discussed in the Tcl Core mailing listjan.nijtmans2021-10-061-11/+11
| |
* | merge 8.6dgp2021-04-141-1/+8
|\ \ | |/
| * merge 8.5; adapt fix for 8.6dgp2021-04-141-1/+8
| |\
| | * Bug fixdgp2021-04-141-1/+2
| | |
* | | Merge 8.7jan.nijtmans2021-02-161-4/+4
|\ \ \
| * \ \ Merge 8.6jan.nijtmans2021-02-161-4/+5
| |\ \ \ | | |/ /
| | * | Fix Tcl_UtfPrev for TCL_UTF_MAX>3, so it can jump back over Emoji. ↵jan.nijtmans2021-02-161-4/+4
| | | | | | | | | | | | | | | | | | | | Backported from 8.7, no change for TCL_UTF_MAX=3. This way, the previous fix can be slightly more simplified, and working for TCL_UTF_MAX>3 too.
| * | | Merge 8.6jan.nijtmans2021-02-151-1/+4
| |\ \ \ | | |/ /
| | * | Fix [d43f96c1a8]: string trimright is broken for Emojijan.nijtmans2021-02-151-8/+9
| | | |
| | * | More usage of TclNewObj() in stead of Tcl_NewObj() and TclNewIntObj() in ↵jan.nijtmans2020-10-131-1/+1
| | | | | | | | | | | | | | | | stead of Tcl_NewIntObj()
* | | | Merge 8.7jan.nijtmans2020-12-131-3/+3
|\ \ \ \ | |/ / /
| * | | Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵jan.nijtmans2020-12-081-3/+3
| | | | | | | | | | | | | | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet
* | | | Merge 8.7jan.nijtmans2020-11-051-6/+6
|\ \ \ \ | |/ / /
* | | | Merge 8.7jan.nijtmans2020-10-141-222/+231
|\ \ \ \ | |/ / /
| * | | Merge 8.6jan.nijtmans2020-09-281-2/+2
| |\ \ \ | | |/ /
| * | | Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> ↵jan.nijtmans2020-09-171-1/+1
| | | | | | | | | | | | | | | | TclNewIntObj or Tcl_NewWideIntObj)
| * | | Fix for test lindex-18.0dgp2020-09-021-9/+8
| | | |
| * | | Merge 8.6jan.nijtmans2020-07-201-2/+2
| |\ \ \ | | |/ /
| | * | Use "Global" in stead of "Master" internally, where "Master" is not used in ↵jan.nijtmans2020-07-201-2/+2
| | | | | | | | | | | | | | | | the Master-Slave paradigm and where this makes sense.
| * | | Make Tcl_GetIntForIndex() do reasonable things when endValue < -1 and when ↵jan.nijtmans2020-06-161-9/+13
| | | | | | | | | | | | | | | | indexPtr == NULL.
| * | | Merge 8.7jan.nijtmans2020-05-241-244/+193
| |\ \ \
| * \ \ \ Merge 8.7jan.nijtmans2020-04-081-6/+6
| |\ \ \ \
| * \ \ \ \ Merge 8.7jan.nijtmans2020-03-201-4/+4
| |\ \ \ \ \
| * \ \ \ \ \ Merge 8.7jan.nijtmans2020-03-171-2/+1
| |\ \ \ \ \ \
| * | | | | | | Complete implementation. Let's take some time for testing.jan.nijtmans2020-03-161-8/+10
| | | | | | | |
| * | | | | | | More WIPjan.nijtmans2020-03-161-13/+32
| | | | | | | |
| * | | | | | | Further simply TclIndexEncode(), and fix range checks.jan.nijtmans2020-03-161-46/+34
| | | | | | | |
| * | | | | | | Simplify TclIndexEncode(). Range checks not 100% correct yet. More WIP.jan.nijtmans2020-03-151-180/+168
| | | | | | | |