summaryrefslogtreecommitdiffstats
path: root/generic/tclStringObj.c
Commit message (Expand)AuthorAgeFilesLines
* 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
|\ \ | |/
| * Add warning commentary making important assumptions explicit.dgp2016-10-281-0/+2
* | Stop invading the String internals to work around a bug. Fix it instead.dgp2016-10-131-0/+10
* | Factor out string internal rep definition so fix for [1af8de570511] is less a...dkf2016-03-221-54/+1
* | Eliminate unnessessary end-of-line spacing. No functional change.jan.nijtmans2015-10-041-8/+8
|\ \ | |/
| * Eliminate unnessessary end-of-line spacing. No functional change.jan.nijtmans2015-10-041-2/+2
* | Merge the checkins of the dgp-read-bytes branch onto the trunk, up todgp2014-03-231-7/+48
|\ \ | |/
| * Revised ReadChars to restore an attempt to make sure we do not short readdgp2014-02-061-0/+32
| * Revise the Tcl_Append* machinery to tolerate NULL bytes to append.dgp2014-01-271-10/+19
| * Tcl_InvalidateStringRep -> TclInvalidateStringRepjan.nijtmans2013-02-071-6/+6
* | [2992970] Restore safety of Tcl_AppendObjToObj(x, x) for bytearrays.dgp2014-01-211-11/+31
|\ \
| * | [2992970] Restore the safety of Tcl_AppendObjToObj(x, x) for bytearrays.dgp2014-01-151-11/+31
|/ /
* | merge core-8-5-branchjan.nijtmans2013-01-311-2/+2
|\ \ | |/
| * Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly th...jan.nijtmans2013-01-311-2/+2
* | Converted the memcpy() calls in append operations to memmove() calls.dgp2012-02-091-2/+2
|\ \ | |/