Skip to content
Tcl Source Code History Of Ticket 415179ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 415179ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 415179ffffffffffffffffffffffffffffffffff

  1. Ticket change [081f034c38] (rid 89510) by kennykb on 2001-04-10 16:09:40:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "3 Low"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "kennykb"
    9. subsystem initialized to: "45. Parsing and Eval"
    10. title initialized to: "TIP#27: tclBasic.c and related files."
    11. type initialized to: "Patch"
  2. Add attachment "tip27.tclBasic.patch" [cda59b211d] (rid 95931) by kennykb on 2001-04-10 23:09:41.

  3. Ticket change [7f1ce130db] (rid 97520) by kennykb on 2001-04-10 23:09:42:

    1. icomment:
      
      
      File Added - 5193: tip27.tclBasic.patch
      
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  4. Ticket change [dcc0311ce8] (rid 114540) by dkf on 2001-04-11 20:26:10:

    1. 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.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  5. Ticket change [8aeefd5d01] (rid 127470) by hobbs on 2001-04-12 02:26:26:

    1. assignee changed to: "kennykb"
    2. 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
      
      
      
      
    3. login: "hobbs"
    4. mimetype: "text/plain"
    5. username: "hobbs"
  6. Ticket change [c2ecfa69c2] (rid 111566) by hobbs on 2001-04-25 03:39:56:

    1. 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.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  7. Ticket change [5fc35b5fe6] (rid 115871) by kennykb on 2001-04-25 04:00:57:

    1. closedate changed to: "2001-04-24T21:00:57"
    2. closer changed to: "kennykb"
    3. icomment:
      Logged In: YES 
      user_id=99768
      
      Changes committed to the HEAD.
      
      
    4. login: "kennykb"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "kennykb"
  8. Ticket change [7cbafadb0d] (rid 97131) by dkf on 2002-02-08 16:04:38:

    1. closedate changed to: "2002-02-08T09:04:38"
    2. closer changed to: "dkf"
    3. foundin changed to: "CONSTify"