summaryrefslogtreecommitdiffstats
path: root/generic/tclStringObj.c
Commit message (Collapse)AuthorAgeFilesLines
* Minor indent fixesdkf2025-09-041-1/+1
|
* Fix memory debugging infodkf2025-08-221-0/+4
|
* Merge 9.0jan.nijtmans2025-08-131-2/+2
|\
| * Remove more references to version 8.7jan.nijtmans2025-08-131-2/+2
| |
| * Backport: Add [[unreachable]] and [[fallthrough]] from C23 (where available)jan.nijtmans2025-06-021-8/+12
| |
| * Indenting and comments, backported from 9.1jan.nijtmans2025-04-291-3/+3
| |
| * * In-code comments reflect what is actually happening - eg:jan.nijtmans2025-02-211-30/+34
| | | | | | | | | | | | | | | | | | | | Tcl_GetRange() does *not* only convert the Obj values to a valid Unicode string, it will preserve a byte-array if a byte-array is what is passed in. * s/bytearray/byte-array/, consistent with (eg) Tcl_NewByteArrayObj(3) * update Tcl_GetRange(3) doc to reflect the byte-array -preserving aspect.
* | merge trunkdkf2025-05-291-1/+4
|\ \
| * | Use TclAttemptInitStringRep() in a few more places where it's possible. Fix ↵jan.nijtmans2025-05-261-1/+4
| | | | | | | | | | | | indenting.
* | | more unreachable/fallthrough marksdkf2025-05-291-8/+12
|/ /
* | Clean up indentation and overlong linesdkf2025-05-231-3/+3
| |
* | Deprecate (internal) TclVarHashCreateVar() function. It isn't (and ↵jan.nijtmans2025-05-021-2/+2
| | | | | | | | shouldn't) be used by any extension.
* | Another round of -Wconversion warning fixes, see [03cff7a777]jan.nijtmans2025-04-171-1/+1
| |
* | Bunch of whitespace basic fixes.dkf2025-03-021-2/+2
| |
* | * In-code comments reflect what is actually happening - eg:bch2025-02-211-30/+34
| | | | | | | | | | | | | | | | | | | | Tcl_GetRange() does *not* only convert the Obj values to a valid Unicode string, it will preserve a byte-array if a byte-array is what is passed in. * s/bytearray/byte-array/, consistent with (eg) Tcl_NewByteArrayObj(3) * update Tcl_GetRange(3) doc to reflect the byte-array -preserving aspect.
* | More accurate documentationjan.nijtmans2025-02-121-3/+4
| |
* | Slightly better: less code duplicationjan.nijtmans2025-02-061-13/+12
| |
* | Change implementation, based on community feedbackjan.nijtmans2025-02-061-4/+4
| |
* | New function Tcl_IsEmpty()jan.nijtmans2025-01-221-1/+44
|/
* Fix ungrammatical doubling of words in commentsminordkf2024-09-211-3/+3
|
* Fix logic that was inadvertently inverted back in [295715a1b1b2c3d5]pooryorick2024-08-271-1/+1
|
* Plug memory leak in format-19.4.1dgp2024-07-301-0/+6
|
* Merge trunkjan.nijtmans2024-06-191-61/+59
|\
| * Space before tab is an extremely unlikely to be correct indentation patterndkf2024-06-041-39/+39
| |
| * Some tidying up, mostly of indentationdkf2024-06-011-22/+20
| |
* | Make a start with new TIP implementation, handling '%d' for 'format' and ↵jan.nijtmans2024-05-311-26/+8
|/ | | | '%d'/'L'/'z'/'t'/'q'/'j' for 'scan'
* Fix [9c258a841a]: document %t/%z/%j/%q size field specifiers. Fix %j/%z/%t ↵jan.nijtmans2024-05-301-3/+16
|\ | | | | | | matching the C printf
| * Let's [9c258a841a|fix] the j%j/%q type specifiers, so they behave like C in ↵jan.nijtmans2024-05-301-1/+7
| | | | | | | | scripts, and document them
| * Let's [9c258a841a|fix] the %p/%z/%t type specifiers, so they behave like C ↵jan.nijtmans2024-05-291-3/+10
| | | | | | | | in scripts, and document them
* | Merge 8.7jan.nijtmans2024-05-231-8/+8
|\ \ | |/
| * Merge 8.6jan.nijtmans2024-05-231-9/+9
| |\
| | * Fix 2 warnings on Win32 (Thanks, Harald). Some more code cleanup, backported ↵jan.nijtmans2024-05-231-65/+60
| | | | | | | | | | | | from 8.7)
| | * Remove COMPAT==0 part, no longer makes sense. More code-cleanup, backported ↵jan.nijtmans2024-05-021-146/+62
| | | | | | | | | | | | from 8.7
* | | Backout the "dullest commit ever" (not my words ....). It breaks the build. jan.nijtmans2024-05-141-43/+40
| | | | | | | | | JN: Many of those changes are actually good, but there are too many changes to be able to search for a bug somewhere. Feel free to re-apply, after assuring it's really only whitespace changes. (my advise: do that after 9.0b2)
* | | Clean up a lot of small whitespace issues dkf2024-05-131-40/+43
| | | | | | | | | This is the dullest commit ever. Sorry.
* | | More whitespace cleanupdkf2024-05-101-2/+0
| | |
* | | One more TclHasInternalRep()jan.nijtmans2024-04-101-1/+1
| | |
* | | Merge 8.7jan.nijtmans2024-04-101-2/+2
|\ \ \ | |/ /
| * | Merge 8.6 Use TclHasInternalRep() macro in more places.jan.nijtmans2024-04-101-3/+3
| |\ \ | | |/
* | | Merge 8.7. encodingPtr -> encodingNamePtr (for consistency)jan.nijtmans2024-04-041-12/+12
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2024-04-041-17/+17
| |\ \ | | |/
| | * Tcl_GetString() -> TclGetString(), for minor speedup.jan.nijtmans2024-04-041-1/+1
| | |
| * | fixes SF [edb4b065f49b9e51]: cherry-picked from 5d52c6d7302b320e]sebres2024-03-271-2/+2
| | |
* | | Proposed fix for [edb4b065f4]apnadkarni2024-03-271-2/+2
| | |
* | | Merge 8.7. Tcl_GetStringFromObj() -> TclGetStringFromObj() (optimization)jan.nijtmans2024-03-211-16/+16
|\ \ \ | |/ /
* | | put back line accidently removedjan.nijtmans2024-03-201-0/+1
| | |
* | | Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release ↵jan.nijtmans2024-03-201-3/+1
|\ \ \ | |/ / | | | | | | (thanks, Sergey!)
| * | Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release ↵jan.nijtmans2024-03-201-1/+1
| |\ \ | | |/ | | | | | | (thanks, Sergey!)
| * | Restore TclListObjLength()/TclListObjGetElements() macro's, as they were in 8.6jan.nijtmans2024-03-131-2/+2
| | |
* | | more spacing/formatting tweaksdkf2024-03-191-7/+4
| | |