summaryrefslogtreecommitdiffstats
path: root/generic/tclStringObj.c
Commit message (Expand)AuthorAgeFilesLines
* Fix [05ff16e799]: signed integer overflow in ExtendStringRepWithUnicode()jan.nijtmans2022-04-081-1/+1
* Backport fix and test for typecasting bug in Tcl_GetUniChar().dgp2022-03-081-2/+2
* Fix [112e7aa36d]: signed integer overflow in Tcl_SetObjLength(), Tcl_AttemptS...jan.nijtmans2022-03-061-4/+4
* Use TclListObjLength/TclListObjGetElements in stead of Tcl_ListObjLength/Tcl_...jan.nijtmans2022-02-101-1/+1
* Undo part of [26539e78a7]. Although Tcl_GetRange() does it's own parameter ch...jan.nijtmans2022-01-211-3/+4
* Possible fix for [e9a2715d91]: Tcl 8.6.11: Incompatible Tcl_GetRange()jan.nijtmans2022-01-171-4/+8
* Tcl_NewObj() -> TclNewObj()jan.nijtmans2022-01-171-4/+7
* Follow-up to [767e070d35]: Tcl_GetRange and Tcl_GetUniChar do not validate in...jan.nijtmans2022-01-171-4/+3
* Fix [816913a65e]: GrowStringBuffer(): signed integer overflow. And a few simi...jan.nijtmans2022-01-131-3/+3
* Fix [d1434179b5]: avoid signed integer overflow in AppendUtfToUtfRep()jan.nijtmans2021-12-161-2/+2
* Undo prevous commit. See [41b1406f51] for the reasonjan.nijtmans2021-12-161-1/+1
* Addendum to [41b1406f51]: change '<=' in range-check to '<'jan.nijtmans2021-12-151-1/+1
* Fix [41b1406f51]: AppendUtfToUtfRep(): undefined behavior involving pointersjan.nijtmans2021-12-131-2/+2
* IntRep -> InternalRep. Internal changes only.jan.nijtmans2021-10-191-1/+1
* Fix bug in previous commit: Don't update stringPtr->numChars when doing a "st...jan.nijtmans2021-02-161-3/+0
* Fix [22324bcbd]: string reverse is broken for Emoji. Thanks to Chrisian Werne...jan.nijtmans2021-02-161-3/+41
* More usage of TclNewObj() in stead of Tcl_NewObj() and TclNewIntObj() in stea...jan.nijtmans2020-10-131-8/+11
* New internal function TclGetUCS4() only available when TCL_UTF_MAX=4. This fi...jan.nijtmans2020-05-041-2/+76
* Merge 8.5. Failing tests for now. To be remedied shortly.dgp2020-04-161-3/+3
|\
| * Create and use macro TclUtfPrev for Tcl_UtfPrev.dgp2020-04-161-3/+3
* | Merge 8.5. Failing tests highlight ticket [1b1f5f0b53].dgp2020-04-131-8/+16
|\ \ | |/
| * Bulletproof the calls to Tcl_UtfPrev in Tcl_AppendLimitedToObj.dgp2020-04-091-10/+17
* | Fix [767e070d35]: Tcl_GetRange and Tcl_GetUniChar do not validate index inputsjan.nijtmans2020-03-271-62/+115
* | Fix Valgrind problem reported as follow-up in [fc4393e9b0]. Since it happens ...jan.nijtmans2019-12-081-2/+2
* | Add /* FALLTHRU */ markers in various places (silencing possible GCC warnings...jan.nijtmans2019-08-281-0/+2
* | Merge 8.5jan.nijtmans2019-05-291-2/+2
|\ \ | |/
| * Update some libtommath functions to the latest trunk versions. Small step for...jan.nijtmans2019-05-291-2/+2
* | end-of-line spacingjan.nijtmans2019-05-241-1/+1
|\ \ | |/
* | Merge 8.5jan.nijtmans2019-05-141-5/+5
|\ \ | |/
| * DIGIT_BIT -> MP_DIGIT_BIT, since DIGIT_BIT is deprecated in future libtommath...jan.nijtmans2019-05-141-5/+5
* | Backport [bd94500678e837d7] from 8.7, preventing endless loops in UTF-8 conve...jan.nijtmans2019-03-021-3/+3
* | Fix some comments: "upper" -> "high" (when talking about surrogates)jan.nijtmans2019-02-191-1/+1
* | amend after merge: 8.6th provide additionally an error-code (so missing `errC...sebres2018-07-261-0/+1
* | merge 8.5 - bug [d051b77fc1] fixedsebres2018-07-261-0/+4
|\ \ | |/
| * closes [d051b77fc18d7340]: fixed segfault by integer overflow (if width by fo...sebres2018-07-261-0/+4
| * resolves some warnings by compiling with new gcc-versions (>= 7.x):sebres2018-06-081-1/+1
* | Fix [53cad613d8]: TIP 389 implementation makes Tk tests font-4.12 and font-4....jan.nijtmans2018-06-181-0/+6
* | Avoid generating string representation when comparing the empty string.pooryorick2018-05-051-0/+45
* | Fix behavior of Tcl_GetRange() and "string range" regarding surrogates, when ...jan.nijtmans2018-01-111-1/+12
* | [5808081213] Permit all bytearrays (including impure ones) to report length w...dgp2017-11-301-4/+8
* | Make "scan %c" and the internal function ExtendUnicodeRepWithString() work as...jan.nijtmans2017-11-091-3/+3
* | Handle Unicode surrogates correctly in Tcl_AppendFormatToObj() and BuildCharS...jan.nijtmans2017-09-011-1/+1
* | merge core-8-6-branchjan.nijtmans2017-07-031-10/+9
|\ \
| * | Eliminate use of (expensive) Tcl_UtfToUpper() from "format": Just generate t...jan.nijtmans2017-06-281-10/+9
* | | Better UTF-8 surrogate handling, only functional when TCL_UTF_MAX>3jan.nijtmans2017-06-081-2/+2
|/ /
* | Tcl_UtfToUniChar() -> TclUtfToUniChar() in various places: No change in funct...jan.nijtmans2017-05-291-13/+13
* | Revert recent commit [80252e0aed]. TIP 237 is clear that %llu is invalid.dgp2017-04-121-9/+5
* | Fix [4b12ccb3363e81b132e8dbe12aeec596102be1a8|4b12ccb336]: format/scan %llu d...jan.nijtmans2017-04-051-5/+9
* | Code optimization/reduction: If TCL_WIDE_INT_IS_LONG is defined, the variable...jan.nijtmans2017-04-031-5/+12
* | Add warning commentary making important assumptions explicit.dgp2016-10-281-0/+2
|\ \ | |/