Skip to content
Tcl Source Code History Of Ticket 465213d1715f9e2c
Login

History Of Ticket 465213d1715f9e2c

Artifacts Associated With Ticket 465213d1715f9e2c

  1. Ticket change [9226dd2f90] (rid 142103) by dgp on 2015-06-19 15:54:10:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      The documentation for Tcl_NewMethod:
      
             Tcl_Method
             Tcl_NewMethod(interp, class, nameObj, isPublic,
                           methodTypePtr, clientData)
      
      ...
      
             int isPublic (in)                   A boolean flag saying  whether  the
                                                 method is to be exported.
      
      
      seems to be mistaken.
      
      The implementation of Tcl_NewMethod() calls its third argument "flags"
      and it pulls from "flags" the particular bit settings PUBLIC_METHOD
      and PRIVATE_METHOD for storing in the new Method struct .
      
      The upshot is that passing the values 1 or 2 or 3 which as booleans
      are all the same "true" value, actually will result in different
      behaviors, some potentially seriously broken.
      
      Either the documented interface or the implementation should be
      chosen to survive, with the other adjusted as needed.  If the interface
      is revised, the bit definitions will need exporting.
      
    5. foundin initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Important"
    11. status initialized to: "Open"
    12. submitter initialized to: "dgp"
    13. subsystem initialized to: "35. TclOO Package"
    14. title initialized to: "Tcl_NewMethod() documentation error"
    15. type initialized to: "Bug"
  2. Ticket change [954d8c1b80] (rid 142104) by dgp on 2015-06-19 15:54:26:

    1. assignee changed to: "dkf"
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. priority changed to: "7 High"
  3. Ticket change [b352e99fca] (rid 142853) by dkf on 2015-08-18 13:30:39:

    1. closedate changed to: "2457253.06295565"
    2. closer changed to: "dkf"
    3. icomment:
      Updated the documentation to say that supported values are 0 (non-exported) and 1 (exported), and what those values mean. The other possible values are currently kept for possible future definition.
      
    4. login: "dkf"
    5. mimetype: "text/html"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"