nsf

Clone Tools
  • last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
all artifacts saved

- generic/nsf.c: DispatchUnknownMethod() In the re-entrant case, the unknown dispatcher was too greedy by skipping the first element in the objv at basically all times. For CallConfigureMethod() case in XOTcl2, the actual method name was so skipped. Generally speaking, the "skipping rules" in DispatchUnknownMethod() feel a touch too particular to me: For instance, the dispatch flag "-local", "-system" etc. must be handled. Also, unknowns in method ensembles have the unknown method listed first in objv. Alternatively, we might review how objc/objv make it into DispatchUnknownMethod() (there are just two call sites). But this would merely shift/spread the skipping. Changing the arg vectors, to begin with, (e.g. removing "-local", "-system", etc. from the objv) would requiring rebuilding the arg vector. - tests/parameters.test: Added a simplistic test case to catch the error reporting for XOTcl 2's residualargs handling.

- nsf.c: fix call of DispatchDefaultMethod() in cases it triggers an error for 8.6b - nx.tcl: give a slightly better error message in case the root-object of an ensemble is called directly

- updated TODO

nsf.c: - added method NsfMethodNamePath() to compute the ensemble path in error messages - reduce verbosity - extended regression test

- minor reformatting

nsf.c: - removed conditionals in AddInstance() and RemoveInstance() - dropped result from RemoveInstance()

- Replaced hash-table for GetAllInstances() with a linear list. As a result, mass-destroy on exit is now much faster. Valgrind reports that the full cicrcle of creating 100.000 objects and destroying it on exit became about 15% faster. - added additional argument adEnd to CmdListAdd() - renamed CmdListRemoveList() to CmdListFree() - improved code documentation - removed unneeded AddInstance() and RemoveInstance() - deactivated uncalled ReverseLookupCmdFromCmdTable() and GetHiddenObjectFromCmd() since apparently not needed any more

- fixed documentation bug in migration guide, since arguments in "info slot ..." were deleted in the code, but not in the guide

- fix requiredness of subcmd in "info method subcmd"

- bump version number to 2.0b3

- library/nx/nx.tcl: Some slight renamings for the sake of consistency in the docs

- library/nx/nx.nxd: Rewrote and completed API doc for nx::Class

- library/lib/nxdoc-assets/submethod.html.yuidoc: Supporting origin resolution for submethods.

- TODO: Noted down some observations, issues. To be reviewed. - library/nx/nx.nxd: Completed doc of ::nx::Object - library/nx/nx.tcl: While documenting ::nx::Object, I applied some changes along the way. For example, adding a missing element to the require() API, removing some unwanted params from the "info slot *" sub-interface, added some parameter types where appropriate, ...

- generic/nsfAPI.decls, generic/nsfAPI.h: NsfObjInfoFiltermethodsMethod() Fixed a parameter name, from "fileName" to "filter"

- generic/nsf.c: SuperclassAdd() Make sure that we do not free a class structure prematurely, in an error path. Crashed in a --enable-symbols=mem built.

- added copyright notice to c code generators

- add print statements for debugging wierd missing free operations for internal reps of tcl objs

- remove obsolete comments

- handle preallocated namespace - fix a small memory leak of a varname

- exclude generated .txt files from tar

- updated build scripts to reflect dropped files and to reduce xotcl-references

- updated and shorted README.aol and TODO - removed the following files from the repository. deleted: COMPILE deleted: COMPILE.win deleted: ChangeLog deleted: unix/xotcl.spec.in deleted: win/Makefile.vc These files should be probably added again at some later time, but need some rework. Old versions are still available from the 2.0.0-develop branch

Having rewritten 2/3 of nx::Object

- provided a minimal nsf based README file for people having just the source code distribution

- updated indentation

- update of "baustellen"

- updated migration guide

- added copyright notice to nx.tc and xotcl2.tcl