Skip to content
Tcl Source Code History Of Ticket 1184069
Login

History Of Ticket 1184069

Artifacts Associated With Ticket 1184069

  1. Ticket change [f0060bf354] (rid 109103) by dkf on 2005-04-15 23:14:26:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      It would be really nice (especially for error
      generation) if we could have a function that let us
      write strings into the interpreter result as a
      replacement for the old trick of:
        sprintf(interp->result, "pattern")
      
      Notes on implementation: Need to use vsnprintf
      internally to work out the required size of buffer
      before allocating it and feeding it through vsprintf
      (the trick done in glib is not portable enough without
      this).
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dkf"
    9. subsystem initialized to: "45. Parsing and Eval"
    10. title initialized to: "New API function: Tcl_PrintfResult"
    11. type initialized to: "RFE"
  2. Ticket change [73424019cb] (rid 105015) by jenglish on 2005-05-04 04:54:49:

    1. icomment:
      Logged In: YES 
      user_id=68433
      
      vsnprintf() is new in C99, it's not part of C89.
      
      Since C99 still isn't widely supported (and the core hasn't
      even been fully update to C89 yet), we should tread
      carefully when approaching C9X-isms.
      
      
      
    2. login: "jenglish"
    3. mimetype: "text/plain"
    4. username: "jenglish"
  3. Ticket change [73dc469eda] (rid 105105) by dkf on 2005-05-04 06:07:11:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Yuck. The problem is that only (v)snprintf() returns the
      number of characters that would have been written instead of
      the number of characters actually written. Without it,
      sizing the buffer for vsprintf() is tricky/impossible.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  4. Ticket change [81297eb243] (rid 116992) by dgp on 2005-11-01 23:54:39:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      See TclObjPrintf() and
      TclFormatToErrorInfo()
      on the HEAD.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [b600da8692] (rid 125348) by msofer on 2005-11-26 17:41:04:

    1. assignee changed to: "dkf"
  6. Ticket change [4e51c6fa16] (rid 127208) by dkf on 2006-08-09 17:24:52:

    1. assignee changed to: "dgp"
  7. Ticket change [7311b5507b] (rid 104981) by dgp on 2006-08-09 20:53:27:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      See TIP 270.  In terms of
      the routines proposed there:
      
        objPtr = Tcl_NewObj();
        Tcl_ObjPrintf(NULL, objPtr, format, arg, arg);
        Tcl_SetObjResult(interp, objPtr);
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [121ec6ad6b] (rid 95259) by dgp on 2006-11-03 02:40:55:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      After some revisions to
      TIP 270, this request is
      satisfied in terms of the
      proposed routines by:
      
        Tcl_SetObjResult(interp,
            Tcl_ObjPrintf(format, arg, arg));
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [c1c6fc93e7] (rid 111377) by dgp on 2006-11-14 23:33:49:

    1. closedate changed to: "2006-11-14T16:33:49"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      TIP 270 accepted for 8.5a6.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Accepted"
    7. status changed to: "Closed"
    8. username: "dgp"