Skip to content
Tcl Source Code History Of Ticket 1834288
Login

History Of Ticket 1834288

Artifacts Associated With Ticket 1834288

  1. Ticket change [dc489a1a39] (rid 114452) by hobbs on 2007-11-19 00:51:41:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The genstubs script has some code to prevent duplication of entries for macosx and unix items.  Unfortunately it doesn't seem to work very well.  If you create a unix item in tclInt.decls after slot 20 (listed for macosx), you lose the macosx items completely.  This should not happen.
      
      This needs to be corrected prior to 8.5.0 otherwise we will lost binary compat with any attempt to add more stubs in the currently broken generation script.
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "8"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "hobbs"
    10. subsystem initialized to: "52. Portability Support"
    11. title initialized to: "genStubs.tcl (or something) is broken"
    12. type initialized to: "Bug"
  2. Ticket change [fa9834c0f1] (rid 91902) by dgp on 2007-11-19 12:30:23:

    1. assignee changed to: "jenglish"
  3. Ticket change [d852327ef1] (rid 107411) by jenglish on 2007-11-20 00:51:01:

    1. icomment:
      Logged In: YES 
      user_id=68433
      Originator: NO
      
      Status query: is the stubs table currently broken, or is it just _going to be_ broken if anything new is added?
      
      
    2. login: "jenglish"
    3. mimetype: "text/plain"
    4. username: "jenglish"
  4. Ticket change [bf2e2b62ac] (rid 102214) by hobbs on 2007-11-20 04:09:39:

    1. icomment:
      Logged In: YES 
      user_id=72656
      Originator: YES
      
      The current stubs table is OK, but it is VERY fragile, and this needs to be addressed prior to 8.5.0 because any new "unix" entries will mysteriously kill the existing macosx ones on regen.  I had to reorder to make this work, which makes 8.5b3's internal stubs different than 8.5b2s.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  5. Ticket change [a2a00c47b3] (rid 109928) by das on 2007-11-20 04:20:07:

    1. assignee changed to: "das"
    2. icomment:
      Logged In: YES 
      user_id=90580
      Originator: NO
      
      looking into this, the problem is that the current code assumes there will never be any unix entries with higher indexes than macosx or aqua or x11 ones.
      
      
    3. login: "das"
    4. mimetype: "text/plain"
    5. username: "das"
  6. Ticket change [fd1c43b670] (rid 108354) by das on 2007-12-05 17:06:23:

    1. icomment:
      Logged In: YES 
      user_id=90580
      Originator: NO
      
      back to working on this, block 8.5.0 for this, my new code will make the generated files look significantly different (but functionally identical)
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. priority changed to: "9 Immediate"
    5. username: "das"
  7. Ticket change [8ede9c841b] (rid 120190) by dgp on 2007-12-07 02:35:52:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      Please give me the best ETA you can on this,
      so I can plan for whether an additional RC
      makes sense.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [767bc467bf] (rid 105599) by das on 2007-12-07 03:50:05:

    1. icomment:
      Logged In: YES 
      user_id=90580
      Originator: NO
      
      need another 24hrs, no time to work on it today, sorry...
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"
  9. Add attachment "tclGenStubs.diff" [b43ce70a3f] (rid 124992) by das on 2007-12-10 23:06:06.

  10. Ticket change [5f33b14b3e] (rid 115774) by das on 2007-12-10 23:06:11:

    1. closedate changed to: "2007-12-10T16:06:11"
    2. closer changed to: "das"
    3. icomment:
      
      
      File Added - 257996: tclGenStubs.diff
      
      Logged In: YES 
      user_id=90580
      Originator: NO
      
      fix committed, patches against tcl and tk HEAD attached, sorry this took
      longer than anticipated...
      
      Unfortunately, I discovered that genStubs.tcl had a bug that could cause
      it to erroneously generate both a 'unix' entry and an 'aqua' entry for a
      given stubs table slot. To preserve stubs table backwards compatibility,
      I now generate a dummy stubs entry before every aqua entry, however this
      also preserves the bug that the correspondence between emitted entry
      number and actual position of the entry in the stubs table is broken,
      e.g. TkIntStubs entry 113 for aqua is in fact at position 114 in the
      table, entry 114 at position 116 etc (this should only affect things
      like ffidl which look up stubs table entries by number, I considered
      preserving stubs table backwards compat to be more important).
      
      
      File Added: tclGenStubs.diff
      
      
    4. login: "das"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "das"
  11. Add attachment "tkGenStubs.diff" [f9381f5fdb] (rid 91671) by das on 2007-12-10 23:06:47.

  12. Ticket change [000ac4b940] (rid 119253) by das on 2007-12-10 23:06:47:

    1. icomment:
      
      
      File Added - 257998: tkGenStubs.diff
      
      Logged In: YES 
      user_id=90580
      Originator: NO
      
      File Added: tkGenStubs.diff
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"
  13. Ticket change [4395c038fc] (rid 116584) by hobbs on 2007-12-11 02:05:04:

    1. icomment:
      Logged In: YES 
      user_id=72656
      Originator: YES
      
      Isn't this only for the internal stubs though?  The only possible consumer would be Tile.  If tile isn't using it, I think correcting this for 8.5.0 is probably the "Right Thing".
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. status changed to: "Open"
    5. username: "hobbs"
  14. Ticket change [bf6ede95b3] (rid 102251) by das on 2007-12-11 03:37:46:

    1. icomment:
      Logged In: YES 
      user_id=90580
      Originator: NO
      
      yes, the functions affected by this are all in tkIntStubs, specifically:
      TkClipBox, TkCreateRegion, TkDestroyRegion, TkIntersectRegion, TkRectInRegion, TkSetRegion, TkUnionRectWithRegion, TkpCreateNativeBitmap, TkpDefineNativeBitmaps, TkpGetNativeAppBitmap
      If we fix the bug for 8.5.0 (not opposed to it), any extensions using these via stubs will have an 8.4 <-> 8.5 compatibility problem
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"
  15. Ticket change [cb455fe557] (rid 95487) by das on 2007-12-11 03:52:55:

    1. icomment:
      Logged In: YES 
      user_id=90580
      Originator: NO
      
      FWIW tktreectrl uses a number of the affected functions: TkCreateRegion, TkDestroyRegion, TkUnionRectWithRegion, TkClipBox, TkSetRegion
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"
  16. Ticket change [c0f455eb5c] (rid 102512) by nobody on 2007-12-11 03:54:03:

    1. icomment:
      Logged In: NO 
      
      It would probably be better to fix this now.  An 8.4 <-> 8.5 transition problem is less bad than an 8.5.0 <-> 8.5.1 problem would be.
      
      
    2. login: "[email protected]"
    3. mimetype: "text/plain"
    4. username: "[email protected]"
  17. Ticket change [03f7e3969e] (rid 119913) by das on 2007-12-11 04:06:10:

    1. icomment:
      Logged In: YES 
      user_id=90580
      Originator: NO
      
      if we decide to fix the bug, it certainly should be done now, before 8.5.0
      
      I don't see a huge downside to keeping the status quo however; and given there is at least one widely used extension that will break, the disadvantages of the fix may outweigh the benefits?
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"
  18. Ticket change [bbc8169ca3] (rid 129548) by das on 2007-12-13 06:41:40:

    1. icomment:
      Logged In: YES 
      user_id=90580
      Originator: NO
      
      in fact many more entries in tkIntStubs are affected, anything above entry 112 will be shifted on aqua if we fix this issue, including the generic entries from 135 to 157, so this likely would affect much more extension code than previously thought...
      Given this, I no longer believe fixing the issue is a viable option, but if the consensus is to go ahead and fix it, I'll go along...
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"
  19. Ticket change [1db7bbf319] (rid 90859) by hobbs on 2007-12-13 06:55:25:

    1. icomment:
      Logged In: YES 
      user_id=72656
      Originator: YES
      
      OK, the extra entries I can live with, but I'm a little concerned with the shifting stubs numbers for aqua entries.  I have myself pointed directly at stub entry numbers for magic upwards compat (build on 8.4, work with new stuff in 8.5 if available).  Is that part addressable?
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  20. Ticket change [220f8ef7da] (rid 130692) by das on 2007-12-13 07:22:01:

    1. icomment:
      Logged In: YES 
      user_id=90580
      Originator: NO
      
      I don't see how, the extra entries are what creates the shifting stub numbers (or maybe I don't understand your question):
      every aqua entry in tkIntStubs will be preceded by a bogus entry, causing entry 113 to be at position 114 in the TkIntStubs array, entry 114 at position 116, entry 115 at position 118 etc. This is exactly what is broken in the 8.4 stubs table, and to preserve backwards compat we have to reproduce that shift in 8.5
      
      
    2. login: "das"
    3. mimetype: "text/plain"
    4. username: "das"
  21. Ticket change [2ee29c7de9] (rid 92959) by das on 2008-12-08 05:25:40:

    1. closedate changed to: "2008-12-07T22:25:40"
    2. closer changed to: "das"
    3. foundin changed to: "obsolete: 8.5.0"
    4. icomment:
      no idea why this is still open, nothing further that needs to be done here, closing
      
      
    5. login: "das"
    6. mimetype: "text/plain"
    7. status changed to: "Closed"
    8. username: "das"