Artifacts Associated With Ticket 760872ffffffffff
Ticket change [09577ac4db] (rid 89702) by dgp on 2003-06-26 00:52:55:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Tcl_LogCommandInfo truncates messages added to the ::errorInfo variable to at most 150 bytes in length. There is no check that this doesn't break apart a UTF-8 encoded character. Seem more sensible to truncate based on the number of characters rather than the number of bytes. Tests init-4.6.* have been committed to call attention to this problem There are similar ellipsis issues in tclProc.c, tclCompile.c, and tclExecute.c.
- foundin initialized to: "obsolete: 8.4.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "45. Parsing and Eval"
- title initialized to: "ellipsis logic is not Unicode-safe"
- type initialized to: "Bug"
Ticket change [5ad972ba89] (rid 118216) by dgp on 2003-06-27 23:00:19:
- icomment:
Logged In: YES user_id=80530 the ellipsis in tclExecute.c and one of them in tclProc.c just write directly to stderr (TCL_COMPILE_DEBUG). Since they don't store the truncated string in ::errorInfo, they are not bugs.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [69fe1c3df3] (rid 128068) by dgp on 2003-06-27 23:26:52:
- icomment:
File Added - 54288: 760872.patch Logged In: YES user_id=80530 Here's a patch. Please review.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [8dd54f1a3a] (rid 128006) by msofer on 2003-07-08 03:55:35:
- assignee changed to: "dkf"
- icomment:
Logged In: YES user_id=148712 The patch applies cleanly and passes the testsuite - and that is as far as my knowledge of unicode things allows me to judge.
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
Ticket change [cf3c68b797] (rid 112936) by dkf on 2003-07-08 04:18:42:
- assignee changed to: "dgp"
- icomment:
Logged In: YES user_id=79902 The patch misses a place in tclBasic.c (in function TclObjInvoke) but otherwise looks fine from a quick glance.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
Ticket change [c34687c327] (rid 111631) by dgp on 2003-07-08 23:58:24:
- assignee changed to: "dkf"
- icomment:
File Deleted - 54288: File Added - 55273: 760872.patch Logged In: YES user_id=80530 updated patch.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
Add attachment "760872.patch" [397764bd09] (rid 112392) by dgp on 2003-07-08 23:58:24.
Ticket change [ad41c31ec5] (rid 101440) by dkf on 2003-07-09 15:29:28:
- assignee changed to: "dgp"
- icomment:
Logged In: YES user_id=79902 The patch looks OK on the alterations it does make, but code review (this time, I've looked at everything that matches ".*\.\.\. so I think I've found everything :^/ ) has found *another* two places that do ellipsis handling which might matter: LogSyntaxError() in tclParseExpr.c TclRegError() in tclRegexp.c Would it be easier to have a single (internal) Tcl function to do ellipsis handling and do it right instead of spreading the logic all over the core? In Tk, GetEntryText in tkMacOSXMenu.c looks dodgy, but not UNICODE-dodgy. Just very strange and inefficient (and with some odd spelling too.) I'm also not 100% sure about TkpDisplayWarning in tkWinInit.c but that might actually be OK. However, Tk doesn't seem to do any direct ellipsis handling, which is good.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
Ticket change [8c67db0276] (rid 127736) by dgp on 2003-07-17 04:20:19:
- priority changed to: "9 Immediate"
Ticket change [d00cc18294] (rid 113096) by vincentdarley on 2003-07-17 16:58:36:
- icomment:
Logged In: YES user_id=32170 Is it planned to put this in 8.4.4?
- login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"
- icomment:
Ticket change [63674ad25d] (rid 92570) by dgp on 2003-07-17 22:50:43:
- icomment:
Logged In: YES user_id=80530 there will be some fix for the bug in 8.4.4, either this patch, or an improved one I'm working on.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [d813ee8b02] (rid 107377) by dgp on 2003-07-19 06:35:43:
- foundin changed to: "obsolete: 8.4.4"
- icomment:
Logged In: YES user_id=80530 commiting this patch to get the bug fixed for 8.4.4 release. leaving this open for better solutions still under development.
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "5 Medium"
- username: "dgp"
Ticket change [0214b6962f] (rid 119584) by dgp on 2003-10-14 22:45:29:
- icomment:
Logged In: YES user_id=80530 clean fix applied to HEAD that makes use of two new internal routines, TclAppendObjToErrorInfo() and TclAppendLimitedToObj().
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"
- icomment:
Ticket change [01477dc08a] (rid 119450) by dgp on 2003-10-14 22:45:30:
- closedate changed to: "2003-10-14T15:45:30"
- closer changed to: "dgp"