Artifacts Associated With Ticket 415179ffffffffff
Ticket change [081f034c38] (rid 89510) by kennykb on 2001-04-10 16:09:40:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Patches to CONST-ify the public API's of tclBasic.c and related files. The following maintainer areas are affected: Fundamental Parsing and Evaluation[Sofer, Hobbs] * doc/AssocData.3 * doc/CrtCommand.3 * doc/CrtMathFnc.3 * doc/CrtObjCmd.3 * doc/ExprLong.3 * generic/tclBasic.c Fundamental Built-In Commands * M-Z[Fellows, Hobbs] * generic/tclCmdMZ.c * [interp][Hobbs] * doc/CrtSlave.3 * [namespace][Sofer, Hobbs] * generic/tclNamesp.c Shared Files * generic/tcl.decls * generic/tcl.h * generic/tclInt.decls * generic/tclInt.h Generated Files * generic/tclDecls.h * generic/tclIntDecls.h
- foundin initialized to: "None"
- priority initialized to: "3 Low"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "kennykb"
- subsystem initialized to: "45. Parsing and Eval"
- title initialized to: "TIP#27: tclBasic.c and related files."
- type initialized to: "Patch"
Add attachment "tip27.tclBasic.patch" [cda59b211d] (rid 95931) by kennykb on 2001-04-10 23:09:41.
Ticket change [7f1ce130db] (rid 97520) by kennykb on 2001-04-10 23:09:42:
- icomment:
File Added - 5193: tip27.tclBasic.patch
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Ticket change [dcc0311ce8] (rid 114540) by dkf on 2001-04-11 20:26:10:
- icomment:
Logged In: YES user_id=79902 Assuming the change to generic/tclBasic.c is OK, the change to generic/tclCmdMZ.c is OK too.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [8aeefd5d01] (rid 127470) by hobbs on 2001-04-12 02:26:26:
- assignee changed to: "kennykb"
- icomment:
Logged In: YES user_id=72656 Tcl_CreateCommand: OK (cmdName) Tcl_CreateMathFunc: OK (name) Tcl_CreateObjCommand: OK (cmdName) Tcl_DeleteAssocData: OK (name) Tcl_DeleteCommand: OK (cmdName) Tcl_ExposeCommand: OK (hiddenCmdToken) Tcl_Expr*: OK (string) Danger Will Robinson! Let's look at Tcl_ExprDouble and watch for a careful gotcha that might hit somewhere in the future. Tcl_ExprDouble first creates a Tcl_Obj, which is the only thing that makes this OK, but Tcl_NewStringObj makes a copy of string. However, following the call tree of Tcl_ExprDouble, we reach Tcl_ParseExpr, which *will* modify the string that could be a shared string in Tcl_Obj. This doesn't affect the CONST'ifying here, but in general exposes a Bad Thing (tm). It could lead to odd problems in a threaded environment.... That said, I go on... Tcl_GetAssocData: OK (name) Tcl_GetCommandInfo: OK (cmdName) Tcl_HideCommand: OK (cmdName) Tcl_SetAssocData: OK (name) Tcl_SetCommandInfo: OK (cmdName) CallCommandTraces: OK (oldName, newName) TraceCommandProc: OK (oldName, newName) Danger Will Robinson! Previously Tcl_VarTraceProc didn't enforce CONST (directly related to the above), and now it will. This will be an incompatability for anyone that modified the passed in strings (I don't know why they would, but it was legal before). TclGetNameSpaceForQualName: OK (qualName, *simpleNamePtr) Tcl_CreateNamespace: OK (name) Tcl_FindCommand: OK (name) Those need to be made public, BTW
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
Ticket change [c2ecfa69c2] (rid 111566) by hobbs on 2001-04-25 03:39:56:
- icomment:
Logged In: YES user_id=72656 Forget the note about Tcl_VarTraceProc, it's Tcl_CommandTraceProc (oldName) that is CONST'ed, which should not have been modified before. OK to commit.
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [5fc35b5fe6] (rid 115871) by kennykb on 2001-04-25 04:00:57:
- closedate changed to: "2001-04-24T21:00:57"
- closer changed to: "kennykb"
- icomment:
Logged In: YES user_id=99768 Changes committed to the HEAD.
- login: "kennykb"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "kennykb"
Ticket change [7cbafadb0d] (rid 97131) by dkf on 2002-02-08 16:04:38:
- closedate changed to: "2002-02-08T09:04:38"
- closer changed to: "dkf"
- foundin changed to: "CONSTify"