Skip to content
Tcl Source Code History Of Ticket 971cb4f1db
Login

History Of Ticket 971cb4f1db

Artifacts Associated With Ticket 971cb4f1db

  1. Ticket change [2104c6b508] (rid 136703) by miguel on 2014-02-03 18:52:06:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      In order to repro: launch tclsh, [set tcl_traceExec 3], enter (empty command) => watch the output, some of the strings reported are obviously garbage
      
    5. foundin initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "miguel"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "214bb5765a5d2d4513fe393de9e8c8431e3e869a"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "miguel"
    14. subsystem initialized to: "47. Bytecode Compiler"
    15. title initialized to: "garbage strings in trace execution"
    16. type initialized to: "Bug"
  2. Ticket change [df7a9547b6] (rid 136704) by miguel on 2014-02-03 18:53:07:

    1. assignee changed to: "dkf"
    2. icomment:
      assigning to dkf, hoping he sees immediately what's wrong
      
    3. login: "miguel"
    4. mimetype: "text/plain"
    5. username: "miguel"
  3. Ticket change [3e839ad3f7] (rid 136712) by dkf on 2014-02-03 22:57:11:

    1. icomment:
      It's the trim-set, which contains non-ASCII characters and which it seems that <tt>printf()</tt> doesn't do a good job of displaying. Not sure what to do about it, but it's really rather harmless.
      
    2. login: "dkf"
    3. mimetype: "text/html"
    4. priority changed to: "3 Low"
    5. severity changed to: "Cosmetic"
    6. username: "dkf"
  4. Ticket change [46447ca0a4] (rid 136716) by dkf on 2014-02-04 08:46:00:

    1. icomment:
      Such "garbage" as is there now is from <tt>TclPrintObject()</tt> rather than being injected by problems directly in <tt>printf()</tt>. I've only improved things in the tracing for the INST_STR_TRIM group of instructions because they're the only places where it is <i>very</i> likely to be a problem; elsewhere, problem characters are mostly rare.
      <p>
      I don't know if <tt>TclPrintObject()</tt> is doing the right thing, but it's what we use in other tricky cases (INST_PUSH for example).
      
    2. login: "dkf"
    3. mimetype: "text/html"
    4. priority changed to: "2"
    5. resolution changed to: "Fixed"
    6. username: "dkf"
  5. Ticket change [5ab9f99d88] (rid 136717) by dkf on 2014-02-04 08:50:43:

    1. icomment:
      Any further fix belongs in <tt>PrintSourceToObj()</tt> in <i>generic/tclCompile.c</i>, which everything else is focussed through.
      <p>
      <small>(Self note: this function moves to <i>tclDisassemble.c</i> on the <i>dkf-improved-disassembler</i> branch)</small>
      
    2. login: "dkf"
    3. mimetype: "text/html"
    4. username: "dkf"
  6. Ticket change [741dadd017] (rid 136720) by dkf on 2014-02-04 09:05:06:

    1. closedate changed to: "2456692.87854185"
    2. closer changed to: "dkf"
    3. icomment:
      Adjusted that function to be much less broken. (It assumed ASCII!) The result is that the reported case now produces code that can be much more easily understood.
      
    4. login: "dkf"
    5. mimetype: "text/html"
    6. status changed to: "Closed"
    7. username: "dkf"