summaryrefslogtreecommitdiffstats
path: root/generic/tclStringObj.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
* | | Fix indentation/brace usage style issuesdkf2024-03-191-14/+26
| | |
* | | Restore TclListObjGetElements()/TclListObjLength() as they were in 8.6 too.jan.nijtmans2024-03-121-2/+2
| | |
* | | Merge 8.7jan.nijtmans2024-02-061-17/+21
|\ \ \ | |/ /
| * | Fix util-18.13/util-18.14 constraint, which masked the wrong result on ↵jan.nijtmans2024-02-061-17/+21
| | | | | | | | | | | | 64-bit windows. Fixed that as well.
* | | Merge 8.7jan.nijtmans2024-02-051-25/+10
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2024-02-051-23/+8
| |\ \ | | |/
| | * Fix indentingjan.nijtmans2024-02-051-9/+9
| | |
| | * Fix [2089279]: StringObj.3 Tcl_ObjPrintf inaccuracies.jan.nijtmans2024-02-051-2/+19
| | | | | | | | | Not only the documentation, also the behavior in the "unsigned long" case was wrong. Testcases added.
* | | Merge 8.7jan.nijtmans2024-02-011-4/+26
|\ \ \ | |/ /
| * | Fix [0d78177f20]: unsigned use of Tcl_ObjPrintf() doesn't work as expected. ↵jan.nijtmans2024-02-011-4/+26
| | | | | | | | | | | | With testcases.
* | | merge 8.7sebres2024-01-291-2/+35
|\ \ \ | |/ /
| * | merge 8.6sebres2024-01-291-2/+35
| |\ \ | | |/
| | * closes [db4f2843cd]: fixes SF by BO in ReadChars (and Tcl_ReadChars with ↵sebres2024-01-291-2/+35
| | | | | | | | | | | | append) caused by wrong buffer enlarge if objPtr shimmering to unicode for whatever reason, since Tcl_AppendToObj prefers unicode to bytes, whereas TclAppendUtfToUtf always extend bytes (that handled by ReadChars)
* | | Fix [abd489a1c]: TclStringCmp() calls functions through pointer to incorrect ↵jan.nijtmans2023-12-291-5/+116
|\ \ \ | |/ / | | | | | | type
| * | Merge 8.6jan.nijtmans2023-12-291-5/+36
| |\ \ | | |/
* | | Fix binary/format/string testcase failures on 32-bit platforms. Reported by ↵jan.nijtmans2023-11-161-11/+9
| | | | | | | | | | | | Harald Oehlmann.
* | | Tcl_GetByteArrayFromObj -> Tcl_GetBytesFromObj everywhere in core, since it ↵jan.nijtmans2023-11-081-25/+25
| | | | | | | | | | | | has the possibility of better error-reporting. This fixes the -DTCL_NO_DEPRECATED build failure
* | | Merge 8.7jan.nijtmans2023-10-191-11/+11
|\ \ \ | |/ /
| * | Handle sentinels for any C++ compilerjan.nijtmans2023-10-171-11/+11
| | |
| * | int -> Tcl_Size (where appropriate)jan.nijtmans2023-09-181-99/+98
| | |
| * | Backport [891a74b941]: format %#d not consistent with other radix prefixes ↵jan.nijtmans2023-09-181-6/+2
| | | | | | | | | | | | or TIP 472 description