Overview
| Comment: | * generic/tclBasic.c (TclAppendObjToErrorInfo): New internal routine that appends a Tcl_Obj to the errorInfo, saving the caller the trouble of extracting the string rep. * generic/tclStringObj.c (TclAppendLimitedToObj): New internal routine that supports truncated appends with optional ellipsis marking. This single routine supports UTF-8-safe truncated appends needed in several places throughout the Tcl source code, mostly for error and stack messages. Clean fix for [Bug 760872]. * generic/tclInt.h: Declarations for new internal routines. * generic/tclCmdMZ.c: Updated callers to use the new routines. * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclExecute.c: * generic/tclIOUtil.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclParseExpr.c: * generic/tclProc.c: * generic/tclStringObj.c: * mac/tclMacResource.c: * library/init.tcl: Updated ::errorInfo cleanup in [unknown] to reflect slight modifications to Tcl_LogCommandInfo(). Corrects failing init-4.* tests. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
3522d44090c0741244e00185be889a7f |
| User & Date: | dgp on 2003-10-14 15:44:52.000 |
| Other Links: | manifest | tags |
Context
|
2003-10-14
| ||
| 18:23 | regsub fix check-in: 67a6ac6109 user: vincentdarley tags: trunk | |
| 15:44 | * generic/tclBasic.c (TclAppendObjToErrorInfo): New internal routine that appends a ... check-in: 3522d44090 user: dgp tags: trunk | |
| 13:38 | TIP#127 Implementation. Thanks to Michael Schlenker for his implementation work check-in: 3dfa4104f6 user: dkf tags: trunk | |
Changes
Modified ChangeLog
from [3fcb2eafa4]
to [f07376b3c7].
[diff]
Modified generic/tclBasic.c
from [83f5223555]
to [e92b0ed1f5].
[diff]
Modified generic/tclCmdMZ.c
from [2213086a70]
to [3a653f983b].
[diff]
Modified generic/tclCompExpr.c
from [78a7657ea0]
to [eb40d25627].
[diff]
Modified generic/tclCompile.c
from [beee22f80a]
to [7be3bbb0dd].
[diff]
Modified generic/tclExecute.c
from [3646c69ab2]
to [1cd99b9695].
[diff]
Modified generic/tclIOUtil.c
from [b21ee8814d]
to [28ce980e69].
[diff]
Modified generic/tclInt.h
from [9fcc9afe86]
to [2af619c9a4].
[diff]
Modified generic/tclNamesp.c
from [585d54364a]
to [f59d2e3b0f].
[diff]
Modified generic/tclObj.c
from [580d15f2c5]
to [0f6faf804f].
[diff]
Modified generic/tclParseExpr.c
from [7750b41829]
to [21af801e50].
[diff]
Modified generic/tclProc.c
from [338ad16fd3]
to [432a4291cb].
[diff]
Modified generic/tclStringObj.c
from [f4c761893f]
to [d43b24ec27].
[diff]
Modified library/init.tcl
from [b00dc8435b]
to [f9880c1d8d].
[diff]
Modified mac/tclMacResource.c
from [f3c8d4be0b]
to [886fdb2752].
[diff]