nsf

Clone Tools
  • last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Adding todo on multiplicities

- add asserts to nsfError.c

- fixed all over-eager nonnull cases for optimizing with gcc and clang (works up to -O3 except gcc 4.9.0)

Merge branch 'master' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf

- added nonull for args of type Tcl_Command and ClientData

- add asserts for nonnull

Some cleanup

Starting documenting info ensemble

- provide nonnull statements for all functions in nsf.c

- some more code cleanup

- complete asserts due to nonnull

- update more copyright notices

  1. … 17 more files in changeset.
- update copyright notices

- update copyright notice

nsf.c: - simplify few inner code pieces based on assertions - add serveral more assertions based on nonnull sepcifications.

- use nx rather than xotcl2 terminology in nsf::method::forward

- renamed "-methodprefix" to "-prefix" in nx, since the prefix can be applied as well applied to a cmd.

Addding doc fragment about require method

    • -0
    • +10
    /doc/require.man.inc
Adding a todo

Merge branch 'master' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf

- nsf.c, NsfForwardMethod(): Make sure that a 2nd argument is available for prepending the methodprefix. Earlier, NSF crashed in case of a missing 2nd arg. - Added some basic tests on -methodprefix.

- use nonnull variable attributes for prototpyes (nsf.h, nsfInt.h, nsf.c)

nsf.c: - de-spaghetti precedence computations for multiple inheritance and improve documentation - get rid of // comments

- stubsPtr can't be NULL there

- remove false alarm

- deactivated "-onerror", since its semantics are expressible via try/catch, and there are no regression tests for xotcl and nx, and we could not find any script that uses this

Adjusting forward doc, adding TODO

forward.test: Adding some tests

- use in forwarders "-frame object" instead of "-objframe" in nx for consistency with other calls (e.g. dispatch). Other values for "-frame" are not allowed. (btw, XOTcl has "-objscope")

- move "checkalways for forwarders and aliases" to RFEs and comment it