Skip to content
Tcl Source Code History Of Ticket 2961556
Login

History Of Ticket 2961556

Artifacts Associated With Ticket 2961556

  1. Ticket change [668f75f8d5] (rid 102733) by nijtmans on 2010-03-01 22:26:43:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      In all of Tcl, functions typedefs look like:
         typedef void (Tcl_FreeProc) (char *blockPtr);
      however, in TclOO, we have:
         typedef void (*Tcl_MethodDeleteProc)(ClientData clientData);
      
      I would like to suggest to keep function typedefs the
      same as all other functions typedefs in Tcl. Here is a
      patch that does exactly this.
      
      It has the advantage, that function pointers can be
      easily identified, simply because they really look like
      a pointer.
      
      This change is binary compatible, but not 100%
      source compatible. If an extension defines a variable
      of type function pointer, the syntax is a little bit different,
      a '*' has to be added. itcl does that once, the itcl change
      is included in the patch as well.
      
      If accepted, this has to be coordinated with Arnulf.
      Both TclOO and itcl are still in beta, so I don't think
      it's too late to fix this inconsitance between TclOO
      and other Tcl parts.
      
      Regards,
              Jan Nijtmans
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nijtmans"
    10. subsystem initialized to: "35. TclOO Package"
    11. title initialized to: "typedef functions in stead of function pointers"
    12. type initialized to: "Patch"
  2. Add attachment "tcloo.patch" [5c21d70348] (rid 118444) by nijtmans on 2010-03-02 05:26:43.

  3. Ticket change [91e3129e90] (rid 120694) by nijtmans on 2010-03-02 05:26:43:

    1. icomment:
      
      
      File Added - 365063: tcloo.patch
      
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  4. Ticket change [287cb75256] (rid 88706) by dkf on 2010-03-05 17:51:17:

    1. icomment:
      I'm not opposed to doing this (in part because I floundered back and forth on this a few times during development!) but it is an issue with source compatibility.
      
      Needs to be coordinated with the TDBC drivers too; some of them are implemented in C.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  5. Ticket change [355ad74571] (rid 106912) by kennykb on 2010-03-05 19:49:44:

    1. icomment:
      TDBC's methods are all installed by initialising static Tcl_MethodType structures.
      There are no variables of type "pointer to method". 
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  6. Ticket change [f6acf695ea] (rid 130335) by nijtmans on 2010-03-05 22:02:48:

    1. icomment:
      Arnulf Wiedemann wrote to me:
      >I have no problem to adjust itcl for that, if Donal is
      > adjusting that in TclOO.
      
      So, it looks like a go  :-)
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  7. Ticket change [888dbf5bd4] (rid 131884) by dkf on 2010-03-05 22:33:02:

    1. icomment:
      Applied to Tcl HEAD.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. resolution changed to: "Accepted"
    5. username: "dkf"
  8. Ticket change [cd9c5f9509] (rid 95923) by dkf on 2010-03-05 22:39:55:

    1. closedate changed to: "2010-03-05T15:39:55"
    2. closer changed to: "dkf"
    3. icomment:
      
      
      allow_comments - 1
      
      Also applied to standalone extension.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "dkf"