Skip to content
Tcl Source Code History Of Ticket 3008541
Login

History Of Ticket 3008541

Artifacts Associated With Ticket 3008541

  1. Ticket change [f7eff59697] (rid 91454) by nijtmans on 2010-05-28 13:30:59:

    1. assignee initialized to: "ferrieux"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      When the TIP #348 fields were added to the Interp
      structure, all fields after that where shifted up. This
      means that any extension which uses any of those
      internal Interp fields needs to be recompiled, or 
      it will stop working.
      
      Suggestion: When adding fields to a structure, please
      do that in a clearly marked region at the end of the
      structure. See patch. Agreed? (no offence)....
      
      P.S. ByteCodeStats stats should be the
      last field, otherwise the field order depends on
      the value of TCL_COMPILE_STATS. But
      the TIP #348 implementation cannot be
      blamed for that, that was my fault.......
      
                   Jan Nijtmans
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "3 Low"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nijtmans"
    10. subsystem initialized to: "None"
    11. title initialized to: "order of TIP #348 fields in Interp structure"
    12. type initialized to: "Patch"
  2. Add attachment "tclInt.h.patch" [b6d63d67a6] (rid 125486) by nijtmans on 2010-05-28 20:30:59.

  3. Ticket change [cb2630c9b4] (rid 95475) by nijtmans on 2010-05-28 20:31:00:

    1. icomment:
      
      
      File Added - 375459: tclInt.h.patch
      
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  4. Ticket change [ccecd86471] (rid 95793) by ferrieux on 2010-05-28 20:42:42:

    1. icomment:
      Yes, Don told me that already, but since there was that conditional part with COMPILE_STATS, we agreed to do nothing :}
      
      Now if we decide that COMPILE_STATS has a fixed value for all production code, I agree that it's better that evolution be monotonic. Please commit your patch.
      
      Side note: the #ifdef at the end is better than in the middle, but still not bullet-proof in case of further extensions of the interp struct. I'd prefer it to be unconditional. But at the same time I see it is quite big. What about making an indirection ? In this case the 4 bytes can be harmlessly wasted and set to NULL when we don't want compilation statistics...
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  5. Ticket change [8e04aaaece] (rid 120046) by nijtmans on 2010-05-28 20:58:54:

    1. closedate changed to: "2010-05-28T13:58:54"
    2. closer changed to: "nijtmans"
    3. icomment:
      
      
      allow_comments - 1
      
      Thanks, committed!
      
      The ByteCodeStats stats at the end is indeed
      not perfect, but any other solution I can think
      of is not perfect either. And since changing
      COMPILE_STATS means that Tcl has to
      be re-compiled anyway, having this field
      at the end is at least "almost perfect".
      
      
    4. login: "nijtmans"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "nijtmans"