Skip to content
Tcl Source Code History Of Ticket d43f96c1a8
Login

History Of Ticket d43f96c1a8

Artifacts Associated With Ticket d43f96c1a8

  1. Ticket change [b9abd9432f] (rid 191741) by chw on 2021-02-14 05:19:56:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      set s "\ud83d\ude02A\ud83d\ude02"
      -> 😂A😂
      
      binary encode hex [encoding convertto utf-8 [string trimright $s]]
      -> f09f988241f09f9882
      
      binary encode hex [encoding convertto utf-8 [string trimright $s \ud93d\ude02]]
      -> f09f988241eda0bd
      
    5. foundin initialized to: "8.6.11"
    6. is_private initialized to: "0"
    7. login: "chw"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "0b3aff16612e1e9f3b675963fa64e01bd1d89307"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "chw"
    14. subsystem initialized to: "44. UTF-8 Strings"
    15. title initialized to: "string trimright is broken in 8.6.11"
    16. type initialized to: "Bug"
  2. Ticket change [7519f5ecda] (rid 191742) by chw on 2021-02-14 10:02:55:

    1. icomment:
      Why do I insist on 8.6.11? Since it pretends to support beyond BMP
      due to a working "puts \ud83d\ude02" despite severe deficiencies under
      the hood. In my not relevant oppinion this step had better be done
      in 8.7. Anyway, a POC patch against the core-8-6-11 branch is in the
      attached stringtrim.diff.
      
    2. login: "chw"
    3. mimetype: "text/plain"
  3. Add attachment "stringtrim.diff" [239db1793d] (rid 191743) by chw on 2021-02-14 10:03:05.

  4. Ticket change [db0851427a] (rid 191744) by chw on 2021-02-14 15:03:08:

    1. icomment:
      After trying my two latest POC patches with 'CFLAGS=-DTCL_UTF_MAX=4 configure ..."
      with new other errors popping up, I will give now up on trying to fix things
      until somebody TCT decides on how to proceed towards an ascertained future.
      
      However, let me nevertheless express my not relevant oppionion regarding the way
      to support full unicode (beyond BMP) for the record: TIP#389 was the wrong direction
      since it tries to hide if not even muddle the problem of representation. It is
      crucial to distinguish between internal and external representation. If external
      representation shall be unicode with all bells, whistles and smileys so shall the
      step from internal to external fulfill this requirement regardless what internally
      needs be done. If internally surrogate pairs are used, so what. But hopefully in
      all consequences and consistently.
      
      Regarding indexing of "characters": still no problem that a beyond BMP character
      accounts for 2 instead of 1 provided that everything(!) is consistent and clearly
      documented.
      
      Another minor point: due to the aforementioned problems there never ever will be
      an AndroWish/undroidwish release based on 8.6.11. It will be either 8.6.12 (if
      obvious problems of 8.6.11 got fixed) or a version of 8.7 (if it happens to not
      take over obvious problems of 8.6.11).
      
    2. login: "chw"
    3. mimetype: "text/plain"
  5. Ticket change [8275f29d68] (rid 191746) by jan.nijtmans on 2021-02-14 17:31:41:

    1. assignee changed to: "jan.nijtmans"
    2. icomment:
      This one is already fixed in 8.7, and it's difficult to fix in 8.6 without more internal changes. It's not a regression: all 8.6.x releases have the same behavior.
      
      Would you agree to close this as "Fixed in 8.7"? I don't think it's urgent enough to be backported to 8.6.
      
    3. login: "jan.nijtmans"
    4. mimetype: "text/x-fossil-wiki"
    5. resolution changed to: "Fixed"
    6. status changed to: "Pending"
  6. Ticket change [2095b07665] (rid 191747) by chw on 2021-02-14 20:06:56:

    1. icomment:
      Jan, I am not in the position to agree with something. I need to
      take things as they are or to fork. For me, definitely 8.6.11 is
      burned. And a nogo area as explained. I can wait for things in the
      certainly better future in the hopefully soon released 8.7 which
      fixes all those subtle problems. But that again is my humble not
      relevant opinion. However, there may be (Linux, whatever) distros
      out in the wild which adopt the latest and greatest (8.6.11)
      version and pick up and spread the unfixed things, so beware!
      
    2. login: "chw"
    3. mimetype: "text/plain"
  7. Ticket change [a4f2062178] (rid 191748) by sl1200mk2 on 2021-02-15 05:55:54:

    1. icomment:
      Hi,
      here's just a quick remark... please forgive me if it's not the subject but as I'm having issues with Emojis I thought you should know...
      I had a discussion with Csaba (the author of TableList package) about Emoji and here's what he told me:
      
      "I would like to add that I have also built a Tk 8.7a4 version on Linux,
      using Tcl 8.7a4.  This combination doesn't eliminate the emoji-related
      problems.  The only build that works for me as expected with respect to
      the emojis is Tk 8.7a4 built from trunk, using Tcl 9.0a2 built from
      trunk as well."
      
      so it would be good to move to Tcl9 or if Tcl8.7 behave like Tcl9 regarding Emojis.
      
      ++
      nicolas
      
    2. login: "sl1200mk2"
    3. mimetype: "text/plain"
  8. Ticket change [f1217693c1] (rid 191760) by jan.nijtmans on 2021-02-15 08:13:28:

    1. icomment:
      It turns, this isn't fully fixed in 8.7 yet. So, some work to do!
      
      Christian, thanks for the testcases and the patch!
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "None"
    5. status changed to: "Open"
  9. Ticket change [6dd66f1791] (rid 191768) by jan.nijtmans on 2021-02-15 12:13:56:

    1. icomment:
      It turns out that this bug is already fixed in the tip-575 branch. But this TIP is not voted on. Tcl_UtfPrev() is known not to work well with Emoji, that's what TIP #575 is meant to fix, and that's also the cause of this bug. A side-effect of TIP #575 is that this bug is fixed, without any additional code changes.
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  10. Ticket change [c60e46f5f3] (rid 191783) by jan.nijtmans on 2021-02-15 17:02:45:

    1. closedate changed to: "2459261.21025015"
    2. closer changed to: "jan.nijtmans"
    3. icomment: "Fixed now in core-8-6-branch and higher"
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
  11. Ticket change [affc688774] (rid 193723) by pooryorick on 2021-04-15 21:10:37:

    1. closer changed to: "nobody"
    2. icomment:
      Ever since [e10ffc2513de4b76], under a build with <code>--enable-symbols</code>
      and <code>-DPURIFY</code> <code>make valgrind</code> results in a huge number
      of "still reachable" reports, and valgrind itself ending in a segmentation
      fault.
      
    3. login: "pooryorick"
    4. mimetype: "text/x-fossil-wiki"
    5. resolution changed to: "Accepted"
    6. status changed to: "Open"
  12. Ticket change [3053d6d4bc] (rid 193725) by jan.nijtmans on 2021-04-16 09:42:53:

    1. icomment:
      The only thing [e10ffc2513de4b76] does is add testcases. Do these testcases expose a bug which already is present for more time?
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  13. Ticket change [8931d1cb4e] (rid 193801) by pooryorick on 2021-04-18 14:40:11:

    1. icomment:
      A bisect session adding the new tests to each checkout and testing each build with a full "make valgrind" run reveals that the segmentation fault began with [836cfc20b37d29abf].
      
    2. login: "pooryorick"
    3. mimetype: "text/x-fossil-wiki"
  14. Ticket change [e55457d403] (rid 193806) by jan.nijtmans on 2021-04-19 13:45:40:

    1. closedate changed to: "2459324.07338635"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      Sorry, @pouryorick, I don't see anything in your information that points to this ticket as the cause for your problem. Can you file a new ticket?
      
      I don't see any clue why [836cfc20b37d29abf] (the TIP 590 implementation) can cause this.
      
      closing (again)
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"