From: SourceForge.net <no...@so...> - 2005-04-18 13:06:56
|
Feature Requests item #1156107, was opened at 2005-03-03 12:04 Message generated for change (Comment added) made by sdeasey You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=719009&aid=1156107&group_id=130646 Category: Tcl-API Group: None Status: Open Resolution: None Priority: 5 Submitted By: Zoran Vasiljevic (vasiljevic) Assigned to: Zoran Vasiljevic (vasiljevic) Summary: Scrap optional connid parameter from Tcl API Initial Comment: Some Tcl-API commands still accept optional connection-id parameter which is left as the compatibility trace from older 2.x nsd servers. This complicates argument processing and serves no other obvious purpose. The idea is to scrap this optional connid parsing from the Tcl-API calls making them simpler to document and implement. I never used any code running for the 2.x servers hence for me it is OK to remove those. Any thoughts on that? ---------------------------------------------------------------------- >Comment By: Stephen Deasey (sdeasey) Date: 2005-04-18 07:06 Message: Logged In: YES user_id=87254 I removed connid suuport from conn.c and tclresp.c. Is there anything left? ---------------------------------------------------------------------- Comment By: Zoran Vasiljevic (vasiljevic) Date: 2005-03-08 11:34 Message: Logged In: YES user_id=95086 I will do this on as-encountered basis. If others are about to rewrite some command that still parses this ugly argument, I suggest to remove it entirely. Furthermore, we should gradually start to use Stephens new tclobjv arg parsing. Stephen, you mind checkin in some example command rewrite so we can all see and use this as a guidance while rewriting or implementing new parsers? ---------------------------------------------------------------------- Comment By: Zoran Vasiljevic (vasiljevic) Date: 2005-03-04 01:38 Message: Logged In: YES user_id=95086 ns_conn ns_register_filter ns_return (some of them) They all accept a weird syntax: <proc> ?connid? args which is PITA to parse and maintain. Yet, it is not used any more... It is only there to be able to run 2.x server-side Tcl code ---------------------------------------------------------------------- Comment By: Vlad Seryakov (seryakov) Date: 2005-03-03 15:08 Message: Logged In: YES user_id=184124 Which commands are you talking about? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=719009&aid=1156107&group_id=130646 |