Skip to content
Tcl Source Code History Of Ticket 7114ac6141b45ffa
Login

History Of Ticket 7114ac6141b45ffa

Artifacts Associated With Ticket 7114ac6141b45ffa

  1. Ticket change [4f2de39107] (rid 148456) by zoltan3 on 2016-08-25 10:12:14:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      Tcl_GetInt:
      - accepts white spaces behind as well.
      - "If the first two characters..." of the part with "digits".
      - new 8.5+ formats are not documented.
      
      Tcl_GetDouble:
      - decimal point can't be omitted in all of the cases. (e.g. "09")
      
      
      -------------
      Current docu:
      
      Tcl_GetInt expects src to consist of a collection of integer digits, optionally signed and optionally preceded by white space. If the first two characters of src after the optional white space and sign are “0x” then src is expected to be in hexadecimal form; otherwise, if the first such character is “0” then src is expected to be in octal form; otherwise, src is expected to be in decimal form.
      
      Tcl_GetDouble expects src to consist of a floating-point number, which is: white space; a sign; a sequence of digits; a decimal point; a sequence of digits; the letter “e”; a signed decimal exponent; and more white space. Any of the fields may be omitted, except that the digits either before or after the decimal point must be present and if the “e” is present then it must be followed by the exponent number.
      
    5. foundin initialized to: "8+"
    6. is_private initialized to: "0"
    7. login: "zoltan3"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "7dceb98053375d4287739ffc6e155c60ee006730"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "zoltan3"
    14. subsystem initialized to: "69. Other"
    15. title initialized to:
      Tcllib: Tcl_GetInt and Tcl_GetDouble: imperfect docu
      
    16. type initialized to: "Bug"
  2. Ticket change [d50dcf8c1e] (rid 149132) by dkf on 2016-10-09 15:24:21:

    1. assignee changed to: "dkf"
    2. closedate changed to: "2457671.14190991"
    3. closer changed to: "dkf"
    4. icomment:
      Those should have been documented when we changed the number parsing in 8.6. Docs fixed now and the test cases improved so that we're more sensitive to things in this area.
      
    5. login: "dkf"
    6. mimetype: "text/x-fossil-wiki"
    7. priority changed to: "3 Low"
    8. resolution changed to: "Fixed"
    9. status changed to: "Closed"
    10. subsystem changed to: "11. Conversions from String"
    11. username: "dkf"
  3. Ticket change [39ab4f8764] (rid 149133) by dkf on 2016-10-09 15:25:14:

    1. closedate changed to: "2457671.14253208"
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. title changed to:
      Tcl_GetInt and Tcl_GetDouble: imperfect documentation
      
  4. Ticket change [d6fe90c388] (rid 149150) by zoltan3 on 2016-10-10 04:57:50:

    1. closedate changed to: "2457671.7068334"
    2. closer changed to: "zoltan3"
    3. icomment:
      Thank you.
      
      The following parts are relevant e.g. in 8.4 and 8.5 as well:
      
      Tcl_GetInt:
      - accepts white spaces behind as well.
      - "If the first two characters..." of the part with "digits".
      
    4. login: "zoltan3"
    5. mimetype: "text/plain"