|
From: Stephen D. <sd...@us...> - 2005-03-26 14:25:56
|
Update of /cvsroot/naviserver/naviserver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3873 Modified Files: ChangeLog Log Message: * include/ns.h: * nsd/nsd.h: * nsd/tclobjv.c: * nsd/tclcmds.c: * tests/ns_parseargs.test: Change the signature of Ns_ObjvProc()s to return either TCL_OK, TCL_ERROR or TCL_BREAK. Fixes a bug where options were being double-counted as args. Also simplified the Ns_ObjvProc interface by passing the Ns_ObjvSpec directly. Added a new Tcl command: ns_parseargs specification args. It parses options, args and handles defaults. * nsd/tclobj.c: Added some wrapper procs for handling Tcl obj types. * nsd/tclinit.c: Added Ns_TclPrintfResult() as a convenience for writing ints into a formatted string result. Index: ChangeLog =================================================================== RCS file: /cvsroot/naviserver/naviserver/ChangeLog,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** ChangeLog 24 Mar 2005 01:17:54 -0000 1.26 --- ChangeLog 26 Mar 2005 14:25:13 -0000 1.27 *************** *** 1,2 **** --- 1,22 ---- + 2005-03-26 Stephen Deasey <sd...@us...> + + * include/ns.h: + * nsd/nsd.h: + * nsd/tclobjv.c: + * nsd/tclcmds.c: + * tests/ns_parseargs.test: Change the signature of Ns_ObjvProc()s + to return either TCL_OK, TCL_ERROR or TCL_BREAK. Fixes a bug + where options were being double-counted as args. Also simplified + the Ns_ObjvProc interface by passing the Ns_ObjvSpec directly. + + Added a new Tcl command: ns_parseargs specification args. It + parses options, args and handles defaults. + + * nsd/tclobj.c: Added some wrapper procs for handling Tcl obj + types. + + * nsd/tclinit.c: Added Ns_TclPrintfResult() as a convenience for + writing ints into a formatted string result. + 2005-03-23 Vlad Seryakov <vl...@cr...> |