Skip to content
Tcl Source Code History Of Ticket 1526581fff
Login

History Of Ticket 1526581fff

Artifacts Associated With Ticket 1526581fff

  1. Ticket change [12ffa5f520] (rid 124143) by avl42 on 2006-07-21 17:06:07:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Fix all examples for expr that idly do not use
      braces, by enclosing the arguments in a pair of
      braces.
      
      For those examples that only work unbraced
      (e.g. subexpression or operator in variable)
      combine braced parts with unbraced parts, and
      mention their exceptional nature.
      
      Make it absolutely clear that one should
      always think "braces" first.  Make it clear
      that passing unknown arguments to expr outside
      of braces is just as dangerous as passing them
      to eval.
      
      
    4. foundin initialized to: "obsolete: 8.4.13"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "avl42"
    9. subsystem initialized to: "None"
    10. title initialized to:
      Documentation of [expr]: fix all braceless examples
      
    11. type initialized to: "Bug"
  2. Ticket change [78590e7b17] (rid 89950) by avl42 on 2006-07-22 00:07:30:

    1. assignee changed to: "tallniel"
  3. Ticket change [ddff52e04f] (rid 114777) by avl42 on 2006-07-22 00:46:45:

    1. icomment:
      Logged In: YES 
      user_id=830354
      
      PS:
      
      "documentation" primarily means 
      man-pages, help-pages, what is shipped
      with tcl-core.  Of course it can be widened
      to any bit of documentation that is within
      any maintainer's reach, but that's probably
      too much for one bug-report :-)
      
      
    2. login: "avl42"
    3. mimetype: "text/plain"
    4. username: "avl42"
  4. Ticket change [473abd4f86] (rid 99661) by tallniel on 2006-07-22 21:38:29:

    1. assignee changed to: "dkf"
    2. icomment:
      Logged In: YES 
      user_id=102050
      
      I've fixed the tutorial so that all uses of expr/if/etc are
      properly braced, and added a warning box to the expr page
      explaining why you should always brace expressions. There
      are a couple of places in the tutorial that specifically
      show what happens when you don't brace expressions, so I
      have left those as they are.
      
      I only have responsibility for the tutorial, so I am
      reassigning this bug to dkf in case he wishes to check the
      man-pages too. :)
      
      
    3. login: "tallniel"
    4. mimetype: "text/plain"
    5. subsystem changed to: "75. Tutorial"
    6. username: "tallniel"
  5. Ticket change [a5e6c6d6a9] (rid 110451) by dkf on 2006-08-09 17:07:35:

    1. foundin changed to: "obsolete: 8.5a4"
    2. icomment:
      Logged In: YES 
      user_id=79902
      
      Fixed in core for 8.5; not high-enough prio to be worth
      backporting.
      
      
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. username: "dkf"
  6. Ticket change [ceca3dfd6c] (rid 96109) by dkf on 2006-08-09 17:09:08:

    1. closedate changed to: "2006-08-09T10:09:08"
    2. closer changed to: "dkf"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"
  7. Ticket change [90ddc4636f] (rid 120529) by avl42 on 2006-08-09 20:44:14:

    1. icomment:
      Logged In: YES 
      user_id=830354
      
      Fetched new version on Aug 9th: doc/expr.n still
      contained some braceless examples (while some
      others have indeed been bracified).
      
      e.g:
      line 33: \fBexpr 8.2 + 6\fR
      line 111-114: formatting changed but no braces added.
      
      in line 321 (an example explicitly without braces)
        there should be a warning nearby, explaining
        that this would be dangerous if "b" comes from
        untrusted sources.
      
      And this is just about expr.n, yet.
      
      
    2. login: "avl42"
    3. mimetype: "text/plain"
    4. resolution changed to: "Remind"
    5. status changed to: "Open"
    6. username: "avl42"
  8. Ticket change [4d07b77cb9] (rid 126994) by dkf on 2006-08-09 20:55:49:

    1. closedate changed to: "2006-08-09T13:55:49"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      
      That particular instance was deliberately left alone. The
      [expr] manual page contains numerous mentions of the fact
      that expressions should be in braces, but it is also
      necessary to mention the fact *there* that
      braces-round-everything isn't the only way.
      
      I will not change things further. Do not reopen this bug.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"