Skip to content
Tcl Source Code History Of Ticket 3f9b4e0c812462cc
Login

History Of Ticket 3f9b4e0c812462cc

Artifacts Associated With Ticket 3f9b4e0c812462cc

  1. Ticket change [b2f5a56256] (rid 194501) by chrstphrchvz on 2021-05-24 16:33:39:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      The functions documented in CrtObjCmd.3 and NRE.3 have expected <tt>const char *cmdName</tt> parameters for a long time (permanently as of [dc58eb7219]). Should the documentation reflect this? Maybe it was supposed to as of [94bf67038b] (as done for CrtAlias.3, CrtCommand.3, TraceCmd.3).
      
      <pre>
      --- doc/CrtObjCmd.3.orig
      +++ doc/CrtObjCmd.3
      @@ -46,7 +46,7 @@ Tcl_Command
       .AS Tcl_CmdDeleteProc *deleteProc in/out
       .AP Tcl_Interp *interp in
       Interpreter in which to create a new command or that contains a command.
      <span style="color:red">-.AP char *cmdName in</span>
      <span style="color:green">+.AP "const char" *cmdName in</span>
       Name of command.
       .AP Tcl_ObjCmdProc *proc in
       Implementation of the new command: \fIproc\fR will be called whenever
      --- doc/NRE.3.orig
      +++ doc/NRE.3
      @@ -40,7 +40,7 @@ void
       .AS Tcl_CmdDeleteProc *interp in
       .AP Tcl_Interp *interp in
       The relevant Interpreter.
      <span style="color:red">-.AP char *cmdName in</span>
      <span style="color:green">+.AP "const char" *cmdName in</span>
       Name of the command to create.
       .AP Tcl_ObjCmdProc *proc in
       Called in order to evaluate a command.  Is often just a small wrapper that uses
      </pre>
      
    5. foundin initialized to: "8.5 and later"
    6. is_private initialized to: "0"
    7. login: "chrstphrchvz"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Cosmetic"
    11. status initialized to: "Open"
    12. submitter initialized to: "chrstphrchvz"
    13. subsystem initialized to: "69. Other"
    14. title initialized to: "CrtObjCmd.3, NRE.3: constify cmdName"
    15. type initialized to: "Patch"
  2. Ticket change [f612dee08a] (rid 194502) by chrstphrchvz on 2021-05-24 17:14:08:

    1. comment changed to:
      The functions documented in CrtObjCmd.3 and NRE.3 have expected <tt>const char *cmdName</tt> parameters for a long time (permanently as of [dc58eb7219]). Should the documentation reflect this? Maybe it was supposed to as of [94bf67038b] (as done for CrtAlias.3, CrtCommand.3, TraceCmd.3).
      
      <pre>
      --- doc/CrtObjCmd.3.orig
      +++ doc/CrtObjCmd.3
      @@ -46,7 +46,7 @@ Tcl_Command
       .AS Tcl_CmdDeleteProc *deleteProc in/out
       .AP Tcl_Interp *interp in
       Interpreter in which to create a new command or that contains a command.
      <span style="color:red">-.AP char *cmdName in</span>
      <span style="color:green">+.AP "const char" *cmdName in</span>
       Name of command.
       .AP Tcl_ObjCmdProc *proc in
       Implementation of the new command: \fIproc\fR will be called whenever
      --- doc/NRE.3.orig
      +++ doc/NRE.3
      @@ -40,7 +40,7 @@ void
       .AS Tcl_CmdDeleteProc *interp in
       .AP Tcl_Interp *interp in
       The relevant Interpreter.
      <span style="color:red">-.AP char *cmdName in</span>
      <span style="color:green">+.AP "const char" *cmdName in</span>
       Name of the command to create.
       .AP Tcl_ObjCmdProc *proc in
       Called in order to evaluate a command.  Is often just a small wrapper that uses
      </pre>
      
      Edit: I think the same goes for <tt>*list</tt> in SplitList.3:
      <pre>
      --- doc/SplitList.3.orig
      +++ doc/SplitList.3
      @@ -36,7 +36,7 @@ int
       .AP Tcl_Interp *interp out
       Interpreter to use for error reporting.  If NULL, then no error message
       is left.
      <span style="color:red">-.AP char *list in</span>
      <span style="color:green">+.AP "const char" *list in</span>
       Pointer to a string with proper list structure.
       .AP int *argcPtr out
       Filled in with number of elements in \fIlist\fR.
      </pre>
      
    2. login: "chrstphrchvz"
    3. mimetype: "text/plain"
    4. title changed to:
      CrtObjCmd.3, NRE.3, SplitList.3: constify cmdName, list
      
  3. Ticket change [9d9e94af7b] (rid 194522) by jan.nijtmans on 2021-05-25 09:33:36:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2459359.89834265"
    3. closer changed to: "jan.nijtmans"
    4. icomment:
      Thanks! There were actually quite a few more where the documentation didn't match the actual header-files. I think I got all of them now.
      
      Merged now to core-8-6-branch, core-8-branch and trunk
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"