Skip to content
Tcl Source Code History Of Ticket 450545ffffffffff
Login

History Of Ticket 450545ffffffffff

Artifacts Associated With Ticket 450545ffffffffff

  1. Ticket change [4016be8f52] (rid 121565) by stevenashe on 2001-08-13 17:31:34:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Tcl_ObjType(3) states that writers of new object types
      need to
      call tcl_RegisterObjType.  tk, for one, does not do
      this
      with any of the ObjTypes it manipulates.  It certainly
      is not
      self-evident that extensions can maintain private
      Object
      types unknown to the tcl core.  If maintaining private
      Object types is considered legal,  then the Tcl_Obj(3)
      man page
      should state this.
      
      For example, tcl might decide to verify that typePtr in
      the
      Tcl_Obj structure is something valid, possibly by
      checking
      against the registered types.  This would break tk.
      
      
    4. foundin initialized to: "obsolete: 8.4a1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "stevenashe"
    9. subsystem initialized to: "10. Objects"
    10. title initialized to: "unregistered ObjType's okay"
    11. type initialized to: "Bug"
  2. Ticket change [0a2f987521] (rid 113771) by dgp on 2001-08-14 04:30:48:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      I agree with this report that Tk ought to
      register its Tcl_ObjType's with appropriate
      calls to Tcl_RegisterObjType.  This would
      allow things like Tcl_ConvertToType to work
      with the Tk types.
      
      From that perspective, this is a Tk bug.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [b1d065853e] (rid 98224) by dkf on 2001-08-14 17:00:08:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Here's a patch to fix Tk by registering all its object types
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  4. Ticket change [a03897c36a] (rid 96764) by dkf on 2001-08-14 17:00:09:

    1. icomment:
      
      
      File Added - 9520: tkobj.patch
      
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  5. Ticket change [c58fb12ed1] (rid 112019) by msofer on 2001-08-14 18:52:06:

    1. assignee changed to: "hobbs"
    2. icomment:
      Logged In: YES 
      user_id=148712
      
      Comments and patch clearly mark this as a Tk bug. Jeff, I'm
      passing the ball to you :)
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. username: "msofer"
  6. Ticket change [f2202de8d5] (rid 109487) by dgp on 2001-08-15 02:28:50:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      The Tcl_ObjType's that are no longer static
      after this patch is applied -- shouldn't
      they be renamed to have a "tk" prefix?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [27c5f64475] (rid 88578) by dkf on 2001-08-15 16:24:45:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      That's a much larger change, and Tk wasn't exactly clean in
      that respect either.  Still, here's a revised version (which
      is also unfortunately a much larger patch...)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  8. Add attachment "tkobj.patch" [49e0bc1813] (rid 100114) by dkf on 2001-08-15 16:24:45.

  9. Ticket change [4408a63af4] (rid 116651) by dkf on 2001-08-15 16:24:46:

    1. icomment:
      
      
      File Added - 9564: tkobj.patch
      
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  10. Ticket change [ba23db59e4] (rid 129270) by dkf on 2001-08-15 16:25:15:

    1. icomment:
      
      
      File Deleted - 9520: 
      
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  11. Ticket change [a4c0bcf3b3] (rid 110258) by dgp on 2001-08-15 22:03:54:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Much better.  One more question:  should the new
      internal function TkRegisterObjTypes() go into
      the internal stub table ?  How does one decide
      whether a new non-static internal function goes
      in the internal stub table or not?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  12. Ticket change [cffa7910bb] (rid 113085) by dkf on 2001-08-15 22:35:21:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      I don't think its useful to put TkRegisterObjTypes() in the
      stub table; it only really needs calling when Tk is first
      loaded (currently it is called immediately after stub table
      initialisation IIRC, which should be good enough.)  Calling
      it again will just keep the reinit the types to the same
      value, which ought to be harmless enough...
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  13. Ticket change [1efde7cd76] (rid 91072) by dgp on 2001-08-15 22:39:42:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      So membership in the internal stub table is just a
      judgment call, then?  In that case, I agree it's
      not helpful to put it in.
      
      The patch looks good.  I've applied it and no new
      test failures result.  If you're looking for 
      approval for commit, you've got it from me.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  14. Ticket change [7649732e34] (rid 105562) by dkf on 2001-08-15 22:45:25:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Checked in.  I'll let Jeff figure out whether to close this
      bug... :^)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. resolution changed to: "Fixed"
    5. username: "dkf"
  15. Ticket change [de2c3f28c5] (rid 114799) by hobbs on 2001-08-21 03:14:40:

    1. closedate changed to: "2001-08-20T20:14:40"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      I'm going to leave it as-is, because while it is 
      not "necessary", I think it is the good citizenship thing 
      to do.  I don't see the problem in making people 
      (suggesting that they) register when it isn't strictly 
      necessary in the code.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "hobbs"