Skip to content
Tcl Source Code History Of Ticket 219229
Login

History Of Ticket 219229

Artifacts Associated With Ticket 219229

  1. Ticket change [f0550334dc] (rid 109172) by nobody on 2000-10-26 05:03:52:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 4226 RFE
      Version: 8.3
      SubmitDate: '2000-02-22'
      LastModified: '2000-04-26'
      Severity: SER
      Status: Assigned
      Submitter: welch
      ChangedBy: hobbs
      RelatedBugIDs: 1453
      OS: All
      FixedDate: '2000-10-25'
      ClosedDate: '2000-10-25'
      
      
      The source command should accept all the fconfigure options
      so that you can source files in different encodings,
      different eofchars, etc. etc.  Remember that the Mac has
      a -rsrc (-resource?) flag that we'll have to pay attention to, too.
      
      
      
    4. foundin initialized to: "obsolete: 8.3"
    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: "37. File System"
    10. title initialized to: "source should accept all fconfigure options"
    11. type initialized to: "RFE"
  2. Ticket change [84b309e33b] (rid 117604) by dkf on 2000-11-10 21:00:45:

    1. icomment:
      You can just use open/read to load in the file any way you want and then eval (or uplevel) the result.  This gets you 99% compatability, and very few people seem to use [info script] which is the other 1%...
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [4f3dedf58e] (rid 125793) by dgp on 2000-11-10 22:42:56:

    1. icomment:
      ...and the expanded syntax [info script ?filename?]
      in Tcl 8.4 looks like it will provide (most of?)
      that other 1%.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [6cb296f36d] (rid 128561) by andreas_kupries on 2000-11-17 19:12:31:

    1. foundin changed to: "obsolete: 8.4a3"
    2. priority changed to: "3 Low"
  5. Ticket change [72149ca6cf] (rid 100797) by nobody on 2000-11-18 00:34:12:

    1. icomment:
      I don't agree that open/fconfigure/read/eval is an adequate work-around.  For a large script, that seems to impose significant memory overhead on the applicatoin.  Perhaps I'm wrong, but doesn't [source] eval and discard the script each time [info complete] would return 1?  -- Chris Nelson
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  6. Ticket change [7f245f12d5] (rid 97527) by dgp on 2000-11-18 05:35:38:

    1. icomment:
      No, Chris, [source] is just script-level access to
      Tcl_EvalFile(), and that slurps up the whole contents
      of the file into a script, then Tcl_EvalEx()'s the script.
      No memory savings in [source].
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [6dfb0a1e0c] (rid 128800) by dkf on 2000-11-21 16:50:02:

    1. closedate changed to: "2000-11-21T09:50:02"
    2. closer changed to: "dkf"
    3. icomment:
      Closing this, as a full workaround (which can also do more than was envisaged by the original bug submitter) is available.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Wont Fix"
    7. status changed to: "Closed"
    8. username: "dkf"
  8. Ticket change [7daaeb5de1] (rid 97278) by dgp on 2001-03-02 06:25:07:

    1. closedate changed to: "2001-03-01T23:25:07"
    2. closer changed to: "dgp"
  9. Ticket change [1f0a589651] (rid 91077) by dgp on 2001-04-04 03:49:08:

    1. closedate changed to: "2001-04-03T20:49:08"
    2. closer changed to: "dgp"
    3. subsystem changed to: "18. Commands M-Z"
  10. Ticket change [0c005b8476] (rid 114097) by dgp on 2003-09-08 23:18:53:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      FWIW, TIP 137 supplies the -encoding
      option to [source] in Tcl 8.5.  Also
      the cross-platform -eofchar for [source]
      is fixed as the character \u001a (Control-Z)
      starting with Tcl 8.4 (Starkit support).
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"