nsf

Clone Tools
  • last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- nsf.c: NsfClassInfoObjectparameterMethod() stumbled over empty paramspec strings returned from objectparamter() into a null pointer exception. Fixed. - Adjusted some fprint statements for recent changes.

- minor update

- nx.tcl: * splitted method "delete" into a "delete method" and "delete attribute" * remove flag "-per-object" in method "delete" * delete per-object methods of classes with "/cls/ class delete method name" and "/cls/ class delete attribute name" * extended regression test

- nsf.c: fix and document GetMatchObject() - extend regression test

- nsf.c: removed all occurrences of Tcl_AppendElement() - nsf.c: passed around resultObj explicitly

- nsf.c: removed all but one occurrance of Tcl_AppendElement()

- update of TODO

-nx.tcl: * added method "delete" to delete methods and attributes * extended regression test

* Code cleanup and documentation

- reorder code

* Code cleanup and documentation

-nsf.c:

* Added argument "-reg-object" to ::nsf::method::create to

distinguish between a registration and a definition object for

ensemble methods, similar as on other places. If no reg-object is

provided, it is the same as the definition object. One should

take care that the registration objects are deleted after the

definition objects, which is the case for the usages of the

reg-objects in nx/xotcl.

* The namespaces within plain scripted methods and scripted

ensemble objects are now the same.

* Extended regression test

- updated TODO

- nx.tcl: * removed "info slot handle" and "info slot parameter" * added "info parameter spec", "info parameter list", "info parameter name", and "info parameter syntax" * extended regression test

- nsf:c * added C-implemented class level method "info objectparameter list|name|parameter|parametersyntax" * added enum to handle different print styles for parameters * renamed ParamDefsList() to ParamDefsNames(), added true ParamDefsList()

- adding TODO for release process

- make metadata analyzer more silent

- nsf.c: Since the method "objectparameter" is just based on the class (and object parameters are invalidates as well over the class), we moved the method from obj to class to avoid potential confusions

Merge branch '2.0.0-develop' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/xotcl into 2.0.0-develop

- added: "info slot handle /name/" "info slot parameter /name/"

- added: "info slot handle /name/" "info slot parameter /name/"

- nx.tcl, xotcl2.tcl: removed unsafe {*}$pattern

    • -18
    • +32
    /library/xotcl/library/xotcl2.tcl
- nsf.c * added "pattern" to "info lookup slots" * added "pattern" to "info slots" * extended regression test

update doc

* base objectparameter on "info slots -closure"

* added switch "-source" to "info slots -closure" and "info lookup slots" (similar to "info lookup methods") * extended regression test

- nsf.c * first version of c-bases "info slots" for classes * switch "-closure" just for class info method

- nsf.c: * renamed old flag "-order" of "info mixin classes" to "-heritage" since it computes same heritage as in "info heritage" (but potentially for a list of classes) * added compatibility layer for xotcl2 * added lost option "-heritage" to "/cls/ info mixin classes" (was only there for "/obj/ info mixin classes") * extended regression test

- code cleanup

Merge branch '2.0.0-develop' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/xotcl into 2.0.0-develop