nsf.c

Clone Tools
  • last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- improve code documentation

- nsf.c: fix small memory leak for nsf::is in error cases

  1. … 1 more file in changeset.
- nsf.c: use NsfObjectRefCountIncr() instead of object->refCount++

  1. … 1 more file in changeset.
- improve code documentation

  1. … 2 more files in changeset.
- removal of unneeded flags "-incontext" and "-nomixins" from * /obj/ info methods * /cls/ info methods These flags are correct for "info lookup", but unneeded for "info methods" + cleanup of ListDefinedMethods()

  1. … 3 more files in changeset.
- remove unneeded var when compiled without profile support

  1. … 3 more files in changeset.
* added profiling support for nsf::proc when NSF_INVOKE_SHADOWED_TRADITIONAL is turned off.

  1. … 4 more files in changeset.
- nsf.c: * added a new converter for converting mixins with guards (named mixinspec) * used mixinspec in nx.tcl and xotcl2.tcl * extended nx regression test.

  1. … 8 more files in changeset.
- nsf.c: generalized disposition handling (forward, alias, initcmd) for object parameter * disposition is now an option for object parameters rather than than an own type. Therefore, one can check the arguments passed to the disposition cases * changed specification of name of method from arg= to method= * this way "type" info in "info parameter syntax" is handled automatically

  1. … 12 more files in changeset.
- nsf.c: removed unneeded casts to (ClientData)

  1. … 1 more file in changeset.
- nsf.c: document two more functions

  1. … 1 more file in changeset.
- nsf.c: fixed bad interaction between mixins and ensembles in tcl8.6

  1. … 2 more files in changeset.
- nsf.c: fixed possible crash in tcl8.6 with nsfprocs, still one inconsistency

  1. … 2 more files in changeset.
- remove alias warnings from gcc under ubuntu (4.2.4)

  1. … 1 more file in changeset.
- added "link" from 2.4 (parameters) to "info parameters" in migration guide

  1. … 4 more files in changeset.
- bring defined commands in the source code in alphabetical order - generate interface for NsfUnsetUnknownArgsCmd() - delete some obsolete code

  1. … 3 more files in changeset.
- nsf.c: added cmd "::nsd::method::registered /handle/" that returns the object on which the method identified by the handle was registered, or empty. - extended regression test

  1. … 5 more files in changeset.
- nsf.c: NsfRelationCmd() returns per default list of actual values, therefore mixin add|... return now as well the actual values

  1. … 1 more file in changeset.
-nsf.c: added c-implementation of "/object/ info slots" to share implementation details and reduce scattering

  1. … 4 more files in changeset.
- nsf.c: require NSF_IS_SLOT_CONTAINER for slot-container

  1. … 5 more files in changeset.
- using slotcontainer porperty

  1. … 3 more files in changeset.
- 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

  1. … 6 more files in changeset.
- nsf.c: NsfClassInfoObjectparameterMethod() stumbled over empty paramspec strings returned from objectparamter() into a null pointer exception. Fixed. - Adjusted some fprint statements for recent changes.

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

  1. … 2 more files in changeset.
- nsf.c: removed all occurrences of Tcl_AppendElement() - nsf.c: passed around resultObj explicitly

  1. … 1 more file in changeset.
- nsf.c: removed all but one occurrance of Tcl_AppendElement()

  1. … 1 more file in changeset.
* Code cleanup and documentation

  1. … 1 more file in changeset.
- reorder code

  1. … 1 more file in changeset.
* Code cleanup and documentation

  1. … 1 more file in changeset.
-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

  1. … 5 more files in changeset.