Skip to content
Tcl Source Code History Of Ticket fd21a14f5c8a5645
Login

History Of Ticket fd21a14f5c8a5645

Artifacts Associated With Ticket fd21a14f5c8a5645

  1. Ticket change [18190f6329] (rid 239474) by karelbilek on 2025-04-22 12:50:36:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      The tk_getOpenFile docs seem outdated and unclear about MacTypes.
      
      The docs say
      
      > On the Macintosh platform, a file matches a file pattern if its name matches at least one of the extension(s) AND it belongs to at least one of the macType(s) of the file pattern. For example, the C Source Files file pattern in the sample code matches with files that have a -c extension AND belong to the macType TEXT. To use the OR rule instead, you can use two file patterns, one with the extensions only and the other with the macType only. The GIF Files file type in the sample code matches files that EITHER have a -gif extension OR belong to the macType GIFF.
      >
      > On the Unix and Windows platforms, a file matches a file pattern if its name matches at at least one of the extension(s) of the file pattern. The macTypes are ignored.
      
      I have figured out Macintosh here is not OS X - which is Unix - but OS 9. Which makes the docs obsolete, OS X is 20 years old at this point, and it is using UTIs since around Snow Leopard (around 2006).
      
      I have not figured out what to do on OS X, how to properly call this. It seems the macType is still needed? I have figured out PDFs, for example, used to have four letter code "PDF " (with the space), but I cannot pass that to tk_getOpenFile?
      
    5. is_private initialized to: "0"
    6. login: "karelbilek"
    7. priority initialized to: "5 Medium"
    8. private_contact initialized to: "a065b26500bd4a9c5c35f8d0909d3a287ce576f7"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "karelbilek"
    13. subsystem initialized to: "37. File System"
    14. title initialized to: "Unclear docs on MacTypes in tk_getOpenFile"
    15. type initialized to: "Bug"
  2. Ticket change [fbbd53fabd] (rid 239475) by oehhar on 2025-04-22 13:09:40:

    1. closedate changed to: "2460788.04837991"
    2. closer changed to: "oehhar"
    3. icomment:
      Moved to tk ticket [https://core.tcl-lang.org/tk/tktview/1a15f7cc4d364cb91d22149c25e9c0d52dcef0aa]
      
    4. login: "oehhar"
    5. mimetype: "text/x-fossil-plain"
    6. resolution changed to: "Rejected"
    7. status changed to: "Closed"
    8. username: "oehhar"