nsf.c

Clone Tools
  • last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- added configure option: enable-assertions (default on)

  1. … 8 more files in changeset.
nsf.c: improve iPtr cleanup for memcount debugging

  1. … 1 more file in changeset.
nsf.c: * provide an intermediary fix for the final memcount problem of elements in on the iPtr->errorStack

  1. … 1 more file in changeset.
build-environment: * make configure.in Makefile.in more in line with the TEA sample app (removing leftovers from prior versions of TEA) * remove GNU-Makefile-isms from Makefile.in

  1. … 5 more files in changeset.
- further cleanup and extend regression test

  1. … 1 more file in changeset.
nsf.c: * fixed recration of object alias with a alias to a different cmd

  1. … 3 more files in changeset.
- nsf.c: * minor cleanup * added regression tests

  1. … 2 more files in changeset.
- fixed small memory leak in error case

  1. … 1 more file in changeset.
- generic/nsf.c: A tentative patch for two (related) misbehaviors of alias methods binding objects (4 MEM_COUNT scores in contains.test). The in-code comments include synthetic examples and some hints. While the first case (repetitive alias registrations of identical objects) is rather obvious, the second turned out tricky: When aliasing a nested (!) object, NSDeleteChild() won't clean up the alias object references properly. The current patch requires a thorough review ... for now, the patch closes the leaks.

- generic/nsf.c: Fixing a small leak in SuperclassAdd(), only showing for an error condition specifically tested in contains.test. This accounted for 1 MEM_COUNT score (out of 5).

- fix inclusion of google profiler

  1. … 1 more file in changeset.
- nsf.c: * reduce eagerness of methodName computation in ResolveMethodName() and GetRegObject() * reduce eagerness of DString computation in ResolveMethodName() * use conditional assignments in ResolveMethodName() * make use of Tcl_Obj type in ResolveMethodName() to reduce number of string operations

  1. … 1 more file in changeset.
- nsf.c: * added permissable value "private" to flag "-callprotection" for "info lookup method" and "info methods". * extended regression test

  1. … 5 more files in changeset.
- small performance improvements

- minor optimizations

  1. … 2 more files in changeset.
- minor optimizations

  1. … 1 more file in changeset.
- renamed "nsf::method::dispatch" to "nsf::directdispatch" - renamed "nsf::object::dispatch" to "nsf::dispatch"

  1. … 16 more files in changeset.
- cleanup

  1. … 3 more files in changeset.
- nsf.c: experimental implementation of ::nsf::method::dispatch

  1. … 8 more files in changeset.
- nsf.c: small performance improvements

  1. … 1 more file in changeset.
- nsf.c: * removed warning about resetting cmd to 0 for private method invocations.

  1. … 2 more files in changeset.
- minor optimizations

- nsf.c: * "private" implies now "protected". This means, setting "private" sets as well "protected", unsetting "protected" unsets "private" * make sure the "... method definition" of private methods is returned as "private" * extended regression test

  1. … 3 more files in changeset.
- nsf.c * implemented NsfObjDispatchNRE and NsfObjDispatch * this fixed all issues of tcl8.6 and interp.test (xocomm still hangs in tcl 8.6)

  1. … 3 more files in changeset.
- nsf.c: * factored out CmdIsNsfObject() for NRE handling with slave interpreters. * added flag ZSE_NRE_PROC for using nreProc instead of objProc

  1. … 2 more files in changeset.
* removed "-local", "-system" and "-intrinsic" from plain dispatch (like e.g. "o1 -system method") * removed flag "-local" from nsf::object::dispatch

  1. … 5 more files in changeset.
* added support for calling private methods via -local and filters * extended regression test for private + filters

  1. … 6 more files in changeset.
- nsf.c: * allow protected and private methods to be used as filters * added regression tests * some cleanup in regression tests

  1. … 2 more files in changeset.
- remove interp from MEM_COUNT implementation

  1. … 3 more files in changeset.
* added transparency for per-object private methods * extended regression test

  1. … 2 more files in changeset.