Skip to content
Tcl Source Code History Of Ticket 0f3e1921c558aeb0
Login

History Of Ticket 0f3e1921c558aeb0

Artifacts Associated With Ticket 0f3e1921c558aeb0

  1. Ticket change [a1cd0f2eb2] (rid 226186) by apnadkarni on 2024-05-19 06:34:09:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      Only logging this ticket in case this is an oversight and not intentional. TIP 426 as voted defines the public API's `Tcl_RegisterCommandTypeName` and `Tcl_GetCommandTypeName`.
      
      I do not however find these functions defined in tcl.decls.
      
    5. foundin initialized to: "9.0"
    6. is_private initialized to: "0"
    7. login: "apnadkarni"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "apnadkarni"
    14. subsystem initialized to: "- New Builtin Commands"
    15. title initialized to: "TIP 426 C API not implemented"
    16. type initialized to: "Bug"
  2. Ticket change [11c91472c7] (rid 226187) by apnadkarni on 2024-05-19 06:34:29:

    1. assignee changed to: "dkf"
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  3. Ticket change [7639a87797] (rid 226189) by jan.nijtmans on 2024-05-19 11:15:52:

    1. foundin changed to: "8.7"
    2. icomment:
      I don't think it's difficult to add those to the public API: Those functions are MODULE_SCOPE, and named `TclRegisterCommandTypeName`/`TclGetCommandTypeName`. But ... would any extension need those?
      
      I think the answer to this question is `No`, so I would suggest to leave the implementation as-is. We can modify the TIP, mentioning this change-of-insight.
      
    3. login: "jan.nijtmans"
    4. mimetype: "text/x-fossil-wiki"
  4. Ticket change [16a2e6bbf3] (rid 226190) by jan.nijtmans on 2024-05-19 11:21:26:

    1. icomment:
      That said, I don't object to making this public (if there is an interest implementing the Tk-part, as mentioned in the TIP). In that case, I recommend only doing this for 9.0, not for 8.7.
      
    2. login: "jan.nijtmans"
    3. mimetype: "text/x-fossil-wiki"
  5. Ticket change [ad3a9f716d] (rid 226198) by apnadkarni on 2024-05-20 03:13:30:

    1. icomment:
      I do not have any particular need for the aforementioned functions so I am fine leaving things as they are. Only brought it up in case they were omitted as an oversight and not by intent.
      
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  6. Ticket change [8a63cfd03d] (rid 226401) by apnadkarni on 2024-05-22 03:43:53:

    1. icomment:
      Donal, please close ticket if the functions in question were not exported by intent.
      
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  7. Ticket change [6d764ca18d] (rid 236925) by juliannoble2 on 2025-01-18 14:48:42:

    1. icomment:
      I would like to see this as part of the public API to (hopefully) improve introspection in some mainstream packages.
      
      for example the command created by 'sqlite3 dbcmd' is of type native - and I'd like to identify it as belonging to sqlite3 (for documentation & command completion) without the risk of calling unknown native commands that may have side effects. 
      
      If this were public I'd be inclined to submit an RFE on the sqlite forum for adding a specific type such as sqlite3::dbcmd via this mechanism.
      
      Presumably some guidance for package developers to avoid collisions via something like a prefix matching the package name would be nice too.(?)
      
      I'd be interested also to hear if this may eventually be coming - or if there is perhaps some concern about collisions or type name proliferation?
      
    2. login: "juliannoble2"
    3. mimetype: "text/plain"