summaryrefslogtreecommitdiffstats
path: root/generic/tclUtil.c
Commit message (Expand)AuthorAgeFilesLines
* merge 8.5; adapt fix for 8.6dgp2021-04-141-1/+8
|\
| * Bug fixdgp2021-04-141-1/+2
* | Fix Tcl_UtfPrev for TCL_UTF_MAX>3, so it can jump back over Emoji. Backported...jan.nijtmans2021-02-161-4/+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 stea...jan.nijtmans2020-10-131-1/+1
* | Use "Global" in stead of "Master" internally, where "Master" is not used in t...jan.nijtmans2020-07-201-2/+2
* | In some places, Tcl_UtfPrev()/Tcl_UtfNext() is used traversing the individual...jan.nijtmans2020-05-141-4/+5
* | More usage of TclUtfToUCS4(), so we can use the whole Unicode range better in...jan.nijtmans2020-05-051-22/+22
* | Code cleanup (more typecasts), making it more compatible with -Wc++-compat. L...jan.nijtmans2020-04-201-31/+30
* | Merge 8.5. Failing tests for now. To be remedied shortly.dgp2020-04-161-2/+2
|\ \ | |/
| * merge 8.5dgp2020-04-161-1/+1
| |\
| | * Create and use macro TclUtfPrev for Tcl_UtfPrev.dgp2020-04-161-1/+1
| * | Create and use an optimized macro TclUtfNext() for Tcl_UtfNext().dgp2020-04-141-1/+1
| |/
* | TclTrimRight/TclTrimLeft: removed mixed declarations and code (forbidden in I...sebres2020-04-151-3/+4
* | Merge 8.5. Failing tests highlight ticket [1b1f5f0b53].dgp2020-04-131-232/+181
|\ \ | |/
| * [a7f685a181] Eliminate botched call of Tcl_UtfPrev.dgp2020-04-131-3/+5
| * TclTrim() can also demand NUL-terminated arguments, and be simplified.dgp2020-04-131-64/+21
| * TclTrimLeft and TclTrimRight are internal routines. They demand NUL-terminateddgp2020-04-131-69/+25
| * [c61818e4c9] [string trimright] robustly handle backing up over incompletedgp2020-04-131-2/+9
| * Cherrypick partial fix.dgp2020-04-131-5/+4
| * [085913c760] Fix Tcl_DStringAppendElement quoting of #.dgp2020-04-091-12/+32
| * Guarantee TclNeedSpace and TclFindElement have common definition of whitespacedgp2020-04-091-70/+50
| * [afa4b28153] Correct TclNeedSpace handling of trailing escaped space.dgp2020-04-091-8/+36
* | More uppercase HEX representations in source-code.jan.nijtmans2020-03-181-4/+4
* | Minor optimization in TclFormatInt: No need to check for "0" as special value...jan.nijtmans2019-12-221-18/+5
* | Merge 8.5jan.nijtmans2019-12-191-1/+1
|\ \ | |/
| * Add type-cast, making sure that the unary minus is handled correctly on any c...jan.nijtmans2019-12-191-1/+1
* | Merge 8.5jan.nijtmans2019-12-191-15/+4
|\ \ | |/
| * Better fix for [3390638]: making the intVal variable unsigned prevents the ne...jan.nijtmans2019-12-161-15/+4
* | If TCL_UTF_MAX>=4, make Tcl_ParseBackslash combine two surrogates so they app...jan.nijtmans2019-12-021-1/+1
* | More code cleanup: Move more Tcl_UniChar initializations out of the loop. Rem...jan.nijtmans2019-09-121-27/+24
* | Code cleanup: Add some initialization to "Tcl_UniChar ch" declaration, making...jan.nijtmans2019-09-121-8/+8
* | end-of-line spacingjan.nijtmans2019-05-241-10/+10
|\ \ | |/
* | Backport [bd94500678e837d7] from 8.7, preventing endless loops in UTF-8 conve...jan.nijtmans2019-03-021-1/+1
* | merge 8.5dgp2018-11-091-0/+17
|\ \ | |/
| * Revise bug fix to support (length == 0) correctly.dgp2018-11-091-4/+17
| * closes [35a8f1c04a]: minimalist fix - beware of discrepancy between TclScanEl...sebres2018-11-091-0/+4
* | merge 8.5sebres2018-03-141-3/+3
|\ \ | |/
| * TclTrim: special case for TrimRight on single char result of TrimLeft (this c...sebres2018-03-141-3/+3
| |
| \
*-. \ merge 8.5dgp2018-03-141-72/+183
|\ \ \ | | |/
| | * TclTrim must write to *trimRight even when making a quick exit.dgp2018-03-141-0/+1
| |/
| * A few minor revisions.dgp2018-03-131-11/+16
| * remove unexpected panic by TclTrimLeft/TclTrimRight, handling rewritten:sebres2018-03-131-55/+173
* | Remove unused argument.dgp2018-03-101-6/+5
* | Return routine to file scope.dgp2018-03-091-5/+7
* | Refactor the index value encode/decode machinery for broader use.dgp2018-03-091-0/+137
* | New internal routine TclGetEndOffsetFromObj.dgp2018-03-061-7/+39
* | [8e6a9ac221] Stop false matching with bytearrays. (string-11.55)dgp2018-02-231-1/+2
|\ \ | |/
| * [8e6a9ac221] Stop false matching with bytearrays. (string-11.55)dgp2018-02-231-1/+2
* | Rewrite documentation in comments for brevity and clarity.pooryorick2018-02-141-16/+21