Index: TODO =================================================================== diff -u -N -r68d9af77ff619c859d4fe1d7123326c3cfa70b18 -r496f49d15463c79323454495e356de52137b46bd --- TODO (.../TODO) (revision 68d9af77ff619c859d4fe1d7123326c3cfa70b18) +++ TODO (.../TODO) (revision 496f49d15463c79323454495e356de52137b46bd) @@ -4621,24 +4621,41 @@ nx::test: - deactivate calling overhead calculation, since this is not reliable (sometimes larger than the call). -======================================================================== -TODO: -- handling of recreate (see regression test for class-level properties) +- Old TODO maybe obsolete: -- maybe "::nsf::object::property /obj/ volatile 0|1" to alter - volatile state. + handling of recreate (see regression test for class-level properties) -- document new setable object properties perobjectdispatch and keepcallerself + Could not find refernces about this in the parameters + or properties tests. -- behavior on keepcallerself on ordinary dispatches with implicit/explicit - receiver (currently the flag is ignored, the code just commented out) +nsf.m4: +- nsf.m4 currently unused (SC_PATH_NSFCONFIG and SC_LOAD_NSFCONFIG) + We can delete it from the current version. -- Aliases and forwards are not handled by NsfNSCopyCmdsCmd; object - cloning/copying remains incomplete; also, there might be object and - method properties not handled as well (as the "returns" method - property before the recent fix) +nsf.c +- fixed a bug in "info methods returns" in cases, where + no returns info was available. +- we can "/obj/ copy" now objects/classes containing + * aliases + * setter + * ensemble methods + * method protections + Instead of handling cmd copying in NsfNSCopyCmdsCmd, + it is replaced now by introspection. +- extended regression test +======================================================================== +TODO: + +- copycmds is obsolete, copyNSVarsAndCmds should be renamed +- methods.test: test case object+class-copy: + after copy, the following command lists "__a" etc as well + #? {lsort [::D info object methods -path]} "{oa b} {oa c} ofoo ofwd set" +- methods.test: when method "exists" is required in test case + object+class-copy, cleanup leads to a crash +- nx.tcl: cleanup of XXX cmds + Stefan: API-related items * the introspection interface uses "-type" for "class" or "instanceof", but the intercession interface refers to "-class", e.g. @@ -4716,9 +4733,6 @@ - maybe optional arg (true) to ::nsf::object::initialized to generalize -noinit -- nsf.m4 seems to be currently unused (SC_PATH_NSFCONFIG and SC_LOAD_NSFCONFIG) - Should we delete it? - - maybe: add a disposition=pipe - MixinComputeOrderFullList() could receive a flag to store source classes in checkList @@ -4915,6 +4929,9 @@ * extend traits (object-specific traits, test cases, etc.) + * add maybe "::nsf::object::property /obj/ volatile 0|1" to alter + volatile state. + * Reduce / remove hard-code names. Right now, "method"/"alias"/ "forward" is returend by "info definition" introspection. This is not serious, since e.g. XOTcl handles this on the @@ -4953,6 +4970,12 @@ - Use parameter syntax in genTclAPI - better handling of "c1 cget -noinit" ? + * experimental features: + - document/extend/generalize/remove the experimental object properties + perobjectdispatch and keepcallerself + - behavior on keepcallerself on ordinary dispatches with implicit/explicit + receiver (currently the flag is ignored, the code just commented out) + * C-Code * Several of the tracing options in nsf.h could be replaced by DTrace * Rework implict namespace completion (NameInNamespaceObj(),