nsf

Clone Tools
  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- extend documentation

- further cleanup and extend regression test

nsf.c: * fixed recration of object alias with a alias to a different cmd

- nsf.c: * minor cleanup * added regression tests

- fixed small memory leak in error case

- 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).

- documentation updates

- gentclAPI.tcl: * added option handling for every cmd/method/... * added option "-nxdoc" for outputting an index to ease maintenance in nxdoc

- nsf.nxd: * adapted to new namings * tend to use fully qualified names (make maintenance easier) * bring cmds to an alphabetical order (make maintenance easier) * add optical separators between doc items to ease reading

- fix inclusion of google profiler

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

- 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

- apps/utils/nxdoc: Created a first version of a command-line script around the nxdoc machinery, for Makefile integration. - Makefile.in: Added two experimental nxdoc make-targets: [make yuidoc] and [make xowiki]. In addition, provided for a doc-specific cleanup target: [make cleandoc]. Also changed the way TCLLIBPATH is initialised for makefile runs, to preserve the surrounding environment settings. - tests/doc.test: Deactivated obsolete sections; actual cleanup is pending. - Refactored nxdoc code fragments into sub-packages, namely the html and xowiki rendering components; renamed some file and directory. - Some necessary adjustments to make nxdoc work with the new property/variable nomenclature; spotted some misbehaviour of [namespace import] when running under 8.6b2 (to be investigated; see XOTcl-lanfRef.xotcl)

  1. … 68 more files in changeset.
- doc: * added section about ":variable" to the tutorial * fixed a few outdated places in tutorial

- doc: * fixed spacing in documentation * fixed documentation of "info slot objects", "info slot names", "info slot definition"

- library/lib/pp.tcl: improved handling of placeholders

- nx: * changed "info slot name" to "info slot names" (like "info parameter names")

- nx: * added namespace "nx::internal" * delete procs via "rename to emtpy" instead of "defining procs with empty argumentes and body" * provided "-properties" as a replacement for -attributes, but without magic variable * extended regression test

- reduced font size for main text

- extended list of highlighted words

- doc: * fixed naming of "attribute" in migration guide * added "private" to migration guide * some textual improvements in migration guide

- fix references

- fix references

- nsf.c: * added permissable value "private" to flag "-callprotection" for "info lookup method" and "info methods". * extended regression test

- small performance improvements

- minor optimizations

- minor optimizations

- renamed "nsf::method::dispatch" to "nsf::directdispatch" - renamed "nsf::object::dispatch" to "nsf::dispatch"

- cleanup