Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6c82fda8064efc1c547a8a1060e0ea70f8e96db5
Ticket: 634642ffffffffffffffffffffffffffffffffff
tcl_platform as problems on MacOS X
User & Date: reowen on 2002-11-06 20:29:40
Changes

  1. assignee changed to: "das"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I don't seem to be able to use tcl_platform to distinguish between two important cases on MacOS X:
    - tcl and Tk built for aqua (using the macosx directories)
    - tcl and Tk built for regular unix and an X server (using the unix directories)
    I've only tested the former case, but for it tcl_platform(platform) is "unix" (sure this is also true for tcl/tk built for regular unix) and tcl_platform(os) is "Darwin" (again I'm assuming, though less sure, that this remains true when built for regular unix).
    
    The reason these cases are so important to me is due to a bug I just reported that lines are drawn offset relative to each other in these two cases. The nice way to work around that bug is to test for the platform and introduce the appropriate offset. Unfortunately, I've not been able to figure out how to do this for MacOS X.
    
    I agree that "unix" is a good choice for platform when tcl/tk is built as regular unix (i.e. built to use an X server instead of to use native aqua), but I think "Macintosh" is more suitable when built for native aqua. Still, anything that will allow me to distinguish would be fine.
    
    
  4. foundin changed to: "obsolete: 8.4.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "reowen"
  9. subsystem changed to: "68. Mac Classic (obsolete)"
  10. title changed to: "tcl_platform as problems on MacOS X"
  11. type changed to: "Bug"