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

History Of Ticket 219293ffffffffff

Artifacts Associated With Ticket 219293ffffffffff

  1. Ticket change [617cee92bf] (rid 92246) by nobody on 2000-10-26 05:10:07:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 2498 RFE
      Version: 8.1.1
      SubmitDate: '1999-08-04'
      LastModified: '2000-04-03'
      Severity: MED
      Status: UnAssn
      Submitter: techsupp
      ChangedBy: hobbs
      OS: Windows 98
      Machine: X86
      FixedDate: '2000-10-25'
      ClosedDate: '2000-10-25'
      
      
      Name:
      Christopher Nelson
      
      DesiredBehavior:
      dde servername allows duplicate topic names. It should ensure unique
          names as tk appname does by appending #n.  Alternatively, each
          interpreter on Win32 systems should have a unique appname so you can do
          
             dde servername [tk appname]
          
          However, since 1) dde is a Tcl command and tk is a Tk command (doh!),
          that only solves the problem for wish interpreters and 2) I don't know
          that tk has any way to find out what other INTERPRETERS exists but dde
          could find out what other TOPICS exists in the TclEval service.
      
      
      
      
      
    4. foundin initialized to: "final: 8.1.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "81. Bundled Packages"
    10. title initialized to: "Need unique DDE servernames"
    11. type initialized to: "Support"
  2. Ticket change [a05745c84f] (rid 96795) by dkf on 2000-11-23 22:44:29:

    1. subsystem changed to: "90. FAQs"
  3. Ticket change [ffd2042b15] (rid 108830) by dkf on 2001-02-07 22:56:15:

    1. subsystem changed to: "28. dde Package"
  4. Ticket change [e04f5405d4] (rid 115165) by kennykb on 2001-02-27 05:58:16:

    1. assignee changed to: "kennykb"
    2. closedate changed to: "2001-02-26T22:58:16"
    3. closer changed to: "kennykb"
  5. Ticket change [8f782486a4] (rid 120279) by patthoyts on 2002-03-20 16:25:27:

    1. icomment:
      Logged In: YES 
      user_id=202636
      
      After thinking and testing with dde services I think that
      raising an error if the service/topic pair is already
      registered probably _IS_ the right way to go. This will make
      it simple for 'singleton' windows applications and it's
      trivial to make your topic name unique in the application.
      This also makes it simple for the application to modify
      itself to advertise the new name (eg by changing the
      titlebar text).
      
      For instance:
       set name [tk appname]
       set n 0
       while {[catch {dde servername $name}]} {
           incr $n
           set name "[tk appname] #$n"
       }
       wm title $name
      
      would be one suggestion.
      
      
    2. login: "patthoyts"
    3. mimetype: "text/plain"
    4. username: "patthoyts"
  6. Ticket change [2a4bea22aa] (rid 118530) by patthoyts on 2003-02-21 05:49:27:

    1. icomment:
      Logged In: YES 
      user_id=202636
      
      I have a patch for this if we want it. Basically we can call
      [dde services TclEval {}] during DdeSetServerName to get a
      list of the currently registered Tcl dde servers. We can
      then check the name against this list and if necessary add
      the numeric suffix as done for [tk appname]
      
      As I can't add files to items in this tracker - the patch
      file (patching win/tclWinDde.c and tests/winDde.test) is
      loaded in the patches tracker as #690354.
      
      (Note that this patch will almost certainly conflict with
      the TIP #120 implementation.)
      
      
      
    2. login: "patthoyts"
    3. mimetype: "text/plain"
    4. username: "patthoyts"
  7. Ticket change [872ee00cba] (rid 131650) by kennykb on 2003-03-22 06:58:08:

    1. assignee changed to: "patthoyts"
  8. Ticket change [e59e5def38] (rid 104150) by patthoyts on 2003-03-23 06:24:28:

    1. icomment:
      Logged In: YES 
      user_id=202636
      
      I think that this will require a TIP as fixing this problem
      will mean that dde servers must ensure they check the
      returned servername. I would add a -force option to force
      the given name to be used. There is no reason in DDE to
      require unique names - although then it's not possible to
      select which server you'll communicate with.
      
      
      
    2. login: "patthoyts"
    3. mimetype: "text/plain"
    4. username: "patthoyts"
  9. Ticket change [a1510d1315] (rid 109692) by patthoyts on 2003-05-17 07:01:52:

    1. closedate changed to: "2003-05-17T00:01:52"
    2. closer changed to: "patthoyts"
    3. icomment:
      Logged In: YES 
      user_id=202636
      
      This has become TIP #130 which has now been applied.
      
      
    4. login: "patthoyts"
    5. mimetype: "text/plain"
    6. resolution changed to: ""
    7. status changed to: "Closed"
    8. username: "patthoyts"
  10. Ticket change [a36d0b356b] (rid 110042) by dkf on 2008-11-21 21:31:01:

    1. foundin changed to: "None"
    2. icomment:
      
      
      data_type - 210894
      
      
      
    3. is_private changed to: "1"
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. subsystem changed to: "None"
    7. username: "dkf"
  11. Ticket change [1928267e26] (rid 122770) by patthoyts on 2008-11-28 07:22:23:

    1. icomment:
      
      
      IP - Comment Removed: 92.238.221.8
      
      
      
    2. login: "patthoyts"
    3. mimetype: "text/plain"
    4. username: "patthoyts"