Skip to content
Tcl Source Code History Of Ticket 3527238fffffffffffffffffffffffffffffffff
Login

History Of Ticket 3527238fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 3527238fffffffffffffffffffffffffffffffff

  1. Ticket change [0ed628fba8] (rid 94687) by nijtmans on 2012-05-16 09:27:24:

    1. assignee initialized to: "nijtmans"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      When Tcl communicates with other applications like
      Word or Excel, it communicates using the CF_TEXT
      clipboard format using utf-8. This goes wrong if
      the other application doesn't assume utf-8 but
      the system encoding, as Word and Excel do.
      
      Nowadays, Word and Excel communicate in
      the CF_UNICODETEXT clipboard format.
      If Tcl starts using that, it would immediately
      solve the encoding problem mentioned
      in TIP #106.
      
      The "-binary" option will still be needed
      in order to communicate with external
      programs which don't know
      CF_UNICODETEXT, and for test-cases
      that check upwards compabitbility.
      
      
    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: "28. dde Package"
    11. title initialized to: "implement CF_UNICODETEXT"
    12. type initialized to: "RFE"
  2. Ticket change [22d0b3fd0a] (rid 130819) by nijtmans on 2012-05-16 16:33:27:

    1. icomment:
      First implementation committed to branch frq-3527238.
      
      Although all tests cases pass, it still has a big TODO:
      In line 789, I have no idea how the XTYP_EXECUTE
      request can now whether the incoming string is
      Unicode or UTF-8. So I put in a simple test which
      asumes that the first character is ASCII, but
      obviously that's not how to do that.
      
      Ideas, anyone?
      
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  3. Ticket change [c2f2b48d7f] (rid 111572) by nijtmans on 2012-05-23 16:17:10:

    1. icomment:
      This FRQ definetely needs a TIP: just discovered that
      in order to make the "handler" accept other encodings
      than Unicode or utf-8, a "-binary" option is needed
      for the [dde servername] command. Looks like an
      oversight in TIP #106
      
      This "-binary" option now added in the frq-3527238
      branch. Test case still missing, but all current tests
      pass. doc is updated too.
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  4. Ticket change [cd2bc78574] (rid 95840) by nijtmans on 2012-05-29 18:14:28:

    1. icomment:
      Merging this with trunk [Bug 3525762] break
      test winDde-9.4, but it works fine running
      winDde-9.4 individually. The reason for
      this is that when an application connects
      with Dde using the UNICODE API, it
      cannot re-connect any more using
      the WINANSI API. This means that
      - The test-case needs to be re-written
        such that the server uses UNICODE,
        connecting with a WINANSI client.
      - The "dde servername" should give
        an error if the -binary option is used
        while the dde connection is already
        open.
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  5. Ticket change [361480bc26] (rid 107059) by nijtmans on 2012-06-11 18:25:49:

    1. icomment:
      It turns out that implementing the "-binary"
      option for [dde eval] and [dde servername]
      is not trivial. But the real question is: Is it
      really necessary. The [dde eval] and [dde
      servername]  are meant to be used for
      two tcl interpreters to communicate. If
      both use UNICODE or both use
      WINANSI, there is no problem at all. So
      the only possible problem exists when
      Tcl 8.5 interpreters access Tcl 8.6
      interpreters, and they each use a different
      dde version. But why should they
      do that?: dde 1.4 works fine in Tcl 8.5,
      and dde 1.3 works fine in Tcl 8.6 too.
      Just use the same dde version at both
      ends of the communication.
      
      Conclusion: Implement the UNICODE
      protocol for DDE, without implementing
      additional "-binary" options.
      
      So, there is a potential incompability:
      Any Tcl8.5/dde1.3 client accessing a
      Tcl8.6/dde1.4 server will handle
      characters outside of the ASCII range
      incorrectly: In this situation, Windows
      detects that Tcl8.6/dde1.4 handles
      UNICODE, and wil automaticially
      transform the data from WINANSI to
      UNICODE. Only .. the original data
      is UTF-8, not WINANSI.
      The other way around is no
      problem, assuing that dde 1.3.3
      is present implementing [Bug 473946]
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  6. Ticket change [ac97ab62e6] (rid 101325) by nijtmans on 2012-09-19 21:58:45:

    1. icomment:
      Branch frq-3527238 updated to the state of Tcl 8.6b3, and
      increased the dde version to 1.4.0b2
      
      Testcase winDde-4.3 shows the advantage of using
      CF_UNICODETEXT:  "dde request" now can handle
      unicode characters in variable names, something
      that was not possible with dde 1.4.0b1
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  7. Ticket change [c75f1cd7f1] (rid 121918) by nijtmans on 2012-09-21 04:14:11:

    1. title changed to: "Full unicode support for Dde"
  8. Ticket change [14b3b21b77] (rid 124439) by nijtmans on 2012-09-21 04:18:40:

    1. closedate changed to: "2012-09-20T21:18:40"
    2. closer changed to: "nijtmans"
    3. icomment:
      Committed to trunk.
      
      
    4. login: "nijtmans"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "nijtmans"