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

History Of Ticket 875701ffffffffff

Artifacts Associated With Ticket 875701ffffffffff

  1. Ticket change [1e4b30acb0] (rid 90944) by davygrvy on 2004-01-12 21:56:00:

    1. assignee initialized to: "davygrvy"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Initial patch..  work in progress, aiming for inclusion in 
      8.5.0
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "davygrvy"
    9. subsystem initialized to: "25. Channel System"
    10. title initialized to:
      ver 4 update for Tcl_ChannelType to support cut/splice
      
    11. type initialized to: "Patch"
  2. Ticket change [41628016b0] (rid 116183) by davygrvy on 2004-01-13 04:56:01:

    1. icomment:
      
      
      File Added - 73183: patch.txt
      
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  3. Ticket change [7d0c530526] (rid 97178) by davygrvy on 2004-01-13 07:45:23:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      Only tested on Win2K.
      
      All tests pass for rev#2 !!!
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  4. Ticket change [fc2e047002] (rid 108184) by davygrvy on 2004-01-13 07:45:24:

    1. icomment:
      
      
      File Added - 73204: patch.txt
      
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  5. Ticket change [a0b96cb5c4] (rid 96862) by davygrvy on 2004-01-13 07:46:02:

    1. icomment:
      
      
      File Deleted - 73183: 
      
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  6. Ticket change [3402924c33] (rid 106691) by davygrvy on 2004-01-13 07:47:07:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      Untested on unix and mac, but those area where touched by 
      the patch and needs testers.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  7. Ticket change [5d9866f23a] (rid 115495) by davygrvy on 2004-01-13 07:48:24:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      Note to self: add Tcl_DriverCutProc and Tcl_DriverSpliceProc 
      to the Tcl_Channel man page.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  8. Ticket change [093ddde74b] (rid 89687) by davygrvy on 2004-01-13 16:58:39:

    1. assignee changed to: "andreas_kupries"
    2. closedate changed to: "2004-01-13T09:58:39"
    3. closer changed to: "davygrvy"
    4. icomment:
      Logged In: YES 
      user_id=7549
      
      Andreas,
      
      Could you have a look at this?  Am I on-track?  It looks 
      complete to me ('cept for docs).  How does it look to you?
      
      
    5. login: "davygrvy"
    6. mimetype: "text/plain"
    7. status changed to: "Pending"
    8. username: "davygrvy"
  9. Ticket change [1358b3facf] (rid 124199) by dkf on 2004-01-13 17:16:46:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      David, please don't set Status to Pending since it means
      that it is Pending Deletion if further information is not
      supplied.  Which is not what you meant at all!
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. status changed to: "Open"
    5. username: "dkf"
  10. Ticket change [2db17a593e] (rid 119105) by davygrvy on 2004-01-14 04:58:56:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      rev #3 patch ready.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  11. Ticket change [5c6f01c628] (rid 115298) by davygrvy on 2004-01-14 04:58:57:

    1. icomment:
      
      
      File Deleted - 73204: 
      
      
      
      File Added - 73335: patch.txt
      
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  12. Ticket change [5773851d0c] (rid 94488) by davygrvy on 2004-01-14 10:13:19:

    1. icomment:
      
      
      File Added - 73366: patch.txt
      
      Logged In: YES 
      user_id=7549
      
      Final patch ready that includes doc changes.
      
      Things to note:
      
      1) transformChannelType of generic/tclIOGT.c had the version 
      set to 2, not 3.  It is setting a wideSeekProc.  Is 3 or 2 the 
      correct version?
      
      2) *ALL* channel drivers that maintain any tsd data are all 
      now at version 4.  This includes every win channel type, 
      now.  Not just restricted to file and socket.
      
      3) HaveVersion() should be fine, re. email note.
      
      4) All internal channel types are at or greater than v2.  Even 
      the mac/ ones that no longer are maintained by anyone.
      
      5) Do a 'make genstubs' after applying patch.
      
      6) all tests pass for a threaded build of Tcl.  Does testthread 
      do a transfer test and are there test cases?  I haven't looked 
      yet.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  13. Add attachment "patch.txt" [1178c9649f] (rid 95148) by davygrvy on 2004-01-14 10:13:19.

  14. Ticket change [66c46fa9e5] (rid 102778) by davygrvy on 2004-01-14 10:14:22:

    1. icomment:
      
      
      File Deleted - 73335: 
      
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  15. Ticket change [47c841eff5] (rid 99763) by davygrvy on 2004-01-17 03:00:52:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      Just discovered something interesting.
      
      If I create a v4 driver in an extension and load it into 8.4, 
      Tcl_ChannelVersion incorrectly returns 
      TCL_CHANNEL_VERSION_1 rather than 
      TCL_CHANNEL_VERSION_3
      
      The proper logic, I think would be to add a ceiling expecting 
      more revisions in the future.  Example:
      
      Tcl_ChannelTypeVersion
      Tcl_ChannelVersion(chanTypePtr)
          Tcl_ChannelType *chanTypePtr;/* Pointer to channel 
      type. */
      {
          if (chanTypePtr->version == TCL_CHANNEL_VERSION_2) {
      return TCL_CHANNEL_VERSION_2;
          } else if (chanTypePtr->version == 
      TCL_CHANNEL_VERSION_3) {
      return TCL_CHANNEL_VERSION_3;
          } else if (chanTypePtr->version == 
      TCL_CHANNEL_VERSION_4) {
      return TCL_CHANNEL_VERSION_4;
          /* reserve this space for future revisions. */
          } else if (chanTypePtr->version < 15) {
      return TCL_CHANNEL_VERSION_4;
          } else {
      /*
       * In <v2 channel versions, the version field is 
      occupied
       * by the Tcl_DriverBlockModeProc
       */
      return TCL_CHANNEL_VERSION_1;
          }
      }
      
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  16. Ticket change [4085117f7e] (rid 121639) by davygrvy on 2004-01-17 03:03:41:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      Your note about checking HaveVersion was right.
      
      It will work in the forward direction, a v3 loaded into a core 
      that understands up to v4, but not the other way.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  17. Ticket change [e9c015f7b4] (rid 104863) by davygrvy on 2004-01-23 11:40:32:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      This patch is not safe to use in its current form.  I've found a 
      bug i'm re-evaluating, a watchmask issue I need to solve.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  18. Ticket change [47b1358b82] (rid 99743) by andreas_kupries on 2004-09-10 03:37:44:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      > 1) transformChannelType of generic/tclIOGT.c
      > had the version  set to 2, not 3.  It is setting
      > a wideSeekProc.  Is 3 or 2 the correct version?
      
      3 is the correct version.
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  19. Add attachment "threadaction.tar.gz" [c04b4b96e5] (rid 102381) by andreas_kupries on 2004-09-10 05:55:44.

  20. Ticket change [028e2656c0] (rid 119671) by andreas_kupries on 2004-09-10 05:55:44:

    1. icomment:
      
      
      File Added - 100954: threadaction.tar.gz
      
      Logged In: YES 
      user_id=75003
      
      The patch had three components.
      (a) Bugs & Nits
      (b) v4 channel driver code.
      (c) Conversion of core drivers to v4.
      
      (a) can go into the core without TIP.
      (b) requires a TIP
      (c) is based on (b).
      
      Now enclosing a tarball for 8.4 and 8.5 implementing (b).
      The only thing missing are testcases for the new
      functionality. It does compile, and it does pass the
      unextended testsuite.
      
      I am ignoring (c) for now, until we get the TIP approved.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. priority changed to: "7 High"
    5. username: "andreas_kupries"
  21. Ticket change [f4708a6061] (rid 129916) by andreas_kupries on 2004-09-10 05:58:07:

    1. icomment:
      
      
      File Added - 100955: channel_transfer.tip
      
      Logged In: YES 
      user_id=75003
      
      Attaching the TIP draft as well.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. title changed to: "TIP #... (Tcl Channel Driver Thread State Actions)"
    5. username: "andreas_kupries"
  22. Ticket change [36759ed2ca] (rid 107105) by dkf on 2004-09-10 15:47:12:

    1. foundin changed to: "TIP Implementation"
    2. title changed to: "TIP#218 (Tcl Channel Driver Thread State Actions)"
  23. Ticket change [9c46e72fbe] (rid 96121) by andreas_kupries on 2004-09-11 03:05:45:

    1. icomment:
      
      
      File Deleted - 100955: 
      
      Logged In: YES 
      user_id=75003
      
      The TIP is in the official repository, with official
      formatting and such. Removing the draft.
      
      The (a) class patches (bugfixes not requiring a TIP) are now
      committed to HEAD (8.5 dev) and 8.4 branch head.
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  24. Ticket change [28b311b031] (rid 88744) by andreas_kupries on 2004-09-11 03:07:19:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      The TIP can be found at http://tip.tcl.tk/218
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  25. Ticket change [38d89e17c8] (rid 112283) by andreas_kupries on 2004-10-09 03:07:33:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      Adding an updated ref. ipmlementation of the basics. The use
      of the thread actions when opening a channel means that
      existing code to add the instance data to a thread-global
      list is obsolete now, actually bogus, i.e. we get a damaged
      list. The updated diffs make the minimal changes necessary
      for the core to be ok again. This is not the convrsion of
      the existing drivers.
      
      This is enough for external channel drivers to use the API.
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  26. Add attachment "threadaction-v2.tar.gz" [3102a5b548] (rid 93350) by andreas_kupries on 2004-10-09 03:07:34.

  27. Ticket change [ebffd02e7e] (rid 103636) by andreas_kupries on 2004-10-09 03:07:34:

    1. icomment:
      
      
      File Added - 104396: threadaction-v2.tar.gz
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  28. Ticket change [a8533a9753] (rid 98961) by davygrvy on 2004-10-09 03:15:10:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      I'll modify my extensions to experiment on this.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  29. Ticket change [b173de6713] (rid 98147) by davygrvy on 2004-10-09 03:36:36:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      Interesting..  I see TclpSpliceFileChannel(chan); and
      TclpSpliceSockChannel(chan); still there..
      
      If this patch is step#2, we'll save removing those for
      step#3 when we convert all the channel types to v4, yes?
      
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  30. Ticket change [253db35abd] (rid 88138) by andreas_kupries on 2004-10-09 03:45:59:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      Yes, the removal of the Tclp{Cut,Splice}... from the old
      hackish fix will happen as part of the conversion of all
      internal drivers to v4. 
      
      For this patch I just wanted to get the API completely
      implemented, and the core running flawlessly, without
      touching the core drivers and their hardwired threadactions.
      I had to touch the hardwired socket splice, or cut, because
      of a bug regarding "socketList" and "socketListLock".
      Wherever I did that I added commentary about the removed
      code, as explanation.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  31. Ticket change [1ebe870d66] (rid 91032) by andreas_kupries on 2004-10-15 04:00:04:

    1. icomment:
      
      
      File Added - 105145: driverconv_v1.tar.gz
      
      Logged In: YES 
      user_id=75003
      
      And here is the first patch for the conversions of all
      in-core channel drivers to v4. Even if it was just something
      like changing the version number and adding NULLs to the
      structure.
      
      The patches passed compilation and testsuite of Tcl, on
      linux and windows, for regular and threaded build.
      
      _Not_ tested yet is that these changes actually work when a
      channel for their is truly transfered. Because (I believe)
      this is not tested by the in-core testsuite. The thread
      extension might test this. Investigation will start on that.
      
      Still, others are welcome to play with this now.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  32. Add attachment "driverconv_v1.tar.gz" [a5b0b735c1] (rid 110417) by andreas_kupries on 2004-10-15 04:00:04.

  33. Ticket change [7186118b6a] (rid 100692) by andreas_kupries on 2004-10-15 04:23:46:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      Seems that the thread extension does some basic tests of
      'transfer', but only for files, in essence. It seems that I
      will have to extend this to cover all in-core drivers in
      some way or other.
      
      Uh, tests which are interdependent (18.1, .2, .3 for example).
      
      Nevertheless. This can be used for a basic first test.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  34. Ticket change [8968a160b1] (rid 132020) by andreas_kupries on 2004-10-21 04:26:24:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      I added some more tests. I have now run tests against 8.5
      head, and 8.4 head, pristine, with base patch, and
      base+driver patch (= 6 configs).
      
      I am unable to crash 8.5 with my tests, patches or not. 8.4
      crashes the extended tests without patches, or only the base
      patch applied. It is ok if both base and driver patch are
      applied.
      
      This is for sockets.
      
      For pipes I was unable to crash my tests anywhere. It should
      however be possible to either crash transfered pipe
      channels, or to stop them from working (no events, due
      misdirected thread-alerts).
      
      I have found a limitation regarding transfered pipe channels
      and linux: Closing a transfered pipe channel in a different
      thread than it was created by causes an error, child lost.
      That seems to be a limitation in linux thread impl., and its
      interaction with waitpid. It is not a crash, just an error
      message about a lost child which is bogus. cleanup and all
      that seems to be ok however.
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  35. Ticket change [a0e0eee617] (rid 96884) by andreas_kupries on 2004-10-22 03:50:43:

    1. icomment:
      
      
      File Added - 105992: refimpl_218.tar.gz
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  36. Add attachment "refimpl_218.tar.gz" [aaa58bd5fa] (rid 100961) by andreas_kupries on 2004-10-22 03:50:43.

  37. Ticket change [922825f5e0] (rid 120730) by andreas_kupries on 2004-10-22 03:54:56:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      I have merged the base patch and driver conversion together,
      and updated them both to apply to the current 8.[45] CVS
      head. This patch has been called the "Full Ref.
      Implementation V1".
      
      I was able to create tests for fileevents for pipes which
      fail under windows for an unpatched core, and are ok for the
      patched core. These tests are 17.11[ab] in the package
      Thread, and were committed today as well.
      
      I consider this patch good enough for wider testing. I
      believe that this patch is ok.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. priority changed to: "8"
    5. username: "andreas_kupries"
  38. Ticket change [4574568eca] (rid 99355) by andreas_kupries on 2004-10-27 02:48:28:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      See also the bug report
      http://sourceforge.net/tracker/index.php?func=detail&aid=1021078&group_id=10894&atid=110894
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  39. Ticket change [761ec7fc9f] (rid 105515) by davygrvy on 2004-11-24 05:51:55:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      Andreas,
      trying patch today with my iocpsock extension.  I'll post
      progress notes here later.
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  40. Ticket change [2c387f908b] (rid 118865) by andreas_kupries on 2004-11-24 07:05:35:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      Very good, thanks.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  41. Ticket change [7a8160d3ed] (rid 90334) by davygrvy on 2004-11-24 08:40:01:

    1. icomment:
      Logged In: YES 
      user_id=7549
      
      looks good so far
      will be testing over the next few days
      
      
    2. login: "davygrvy"
    3. mimetype: "text/plain"
    4. username: "davygrvy"
  42. Ticket change [bdd4c90f3b] (rid 101977) by andreas_kupries on 2005-01-27 05:33:25:

    1. resolution changed to: "Accepted"
  43. Ticket change [7596d40317] (rid 105417) by andreas_kupries on 2005-01-27 05:33:26:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      The TIP has been accepted (6 yes, 0 no, 0 present).
      Updated the 8.5 patch with correct numbers for the new stub
      slots.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  44. Ticket change [86efbea7f5] (rid 131604) by andreas_kupries on 2005-01-27 05:33:29:

    1. icomment:
      
      
      File Added - 117284: tcl8.5_all_002.diff
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  45. Add attachment "tcl8.5_all_003.diff" [4208f5c7f8] (rid 116296) by andreas_kupries on 2005-01-27 06:43:32.

  46. Ticket change [84edf3f4f1] (rid 117645) by andreas_kupries on 2005-01-27 06:43:33:

    1. icomment:
      
      
      File Deleted - 117284: 
      
      
      
      File Added - 117297: tcl8.5_all_003.diff
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  47. Ticket change [a9bd0c33ac] (rid 99200) by andreas_kupries on 2005-01-27 06:44:35:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      Reupload, found one small problem on windows, a new change
      by Mo used the old Cut function and I was not aware of it
      yet. Found it when the link failed.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  48. Add attachment "tcl8.4_all_002.diff" [cee411575d] (rid 112863) by andreas_kupries on 2005-01-28 05:51:23.

  49. Ticket change [03d95427f4] (rid 119897) by andreas_kupries on 2005-01-28 05:51:23:

    1. icomment:
      
      
      File Added - 117453: tcl8.4_all_002.diff
      
      Logged In: YES 
      user_id=75003
      
      Upload of 8.4 final patch.
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  50. Ticket change [8969722a2a] (rid 132022) by andreas_kupries on 2005-01-28 05:54:15:

    1. closedate changed to: "2005-01-27T22:54:15"
    2. closer changed to: "andreas_kupries"
    3. icomment:
      Logged In: YES 
      user_id=75003
      
      Both final patches have been committed to 8.4 branch head
      and 8.5 head respectively.
      
      
      
      
    4. login: "andreas_kupries"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "andreas_kupries"