nsf

Clone Tools
  • last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- migration-guide: add third level to toc

- fix test for 8.6 to use nx prefix

- nx.tcl: added "info parameter slot" to return slotobject(s) - added "info parameter slot" to migration guide - extended regression test

- nsf.c: NsfRelationCmd() returns per default list of actual values, therefore mixin add|... return now as well the actual values

- Allow for defining type specifications for @param entities as an @spec part. - Corrected some inconsistencies in the doc templates for attribute methods - Added object parametersyntax in @class templates (though they appear quite lengthy, keep them at the end of the day?) - Distinguish between the "cls" and "obj" as affices

- migration guide * included change in "info heritage" * included "info slots" * included "info parameter" * included "delete method" * included "delete attribute"

-nsf.c: added c-implementation of "/object/ info slots" to share implementation details and reduce scattering

- nx.tcl: improve code documentation

- nx.tcl: ne proc ::nx::setSlotContainerProperties to handle slot container properties in a uniform way - reduce verbosity

- reduce name dependencies

    • -15
    • +11
    /library/xotcl/library/xotcl2.tcl
- nsf.c: require NSF_IS_SLOT_CONTAINER for slot-container

- xotcl2:tcl * made "info heritage" in xotcl2 compatible with xotcl1 * fixed "info slots" in xotcl2 * extended regression test

    • -0
    • +18
    /library/xotcl/tests/slottest.xotcl
- using slotcontainer porperty

- minor updates in TODO

- nsf.c: * handling of same named per-object and provided slots for Class objects * per-object slots are saved now under <obj>::per-object-slot::* * returning correct results when per-object slots are used * removed obsolete functions: NsfObjectListFree(), NsfObjectListAdd() * removed obsolete type NsfObjects * transformed ComputeSlotObjects() into a more generic AddSlotObjects() that can handle per-object slots as well - nx.tcl: * generalized slot object handling. * extended regression test

- added test cases for "info slots"

- 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