nsf.c

Clone Tools
  • last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- continuing with nonnull assertions, various small cleanups

- complete nonnull assertion cleanup to 80% of nsf.c

- complete nonnull assertion cleanup to 33% of nsf.c - improve source code documentation

- simplify SuperclassAdd() - improve code documentation - complete nonnull assertion cleanup to 50% of nsf.c

  1. … 1 more file in changeset.
- simplify FilterInvalidateObjOrders() and FilterRemoveDependentFilterCmds() - complete nonnull assertion cleanup to 33% of nsf.c

  1. … 1 more file in changeset.
- finishing checking of first 25% of of nonnall assertions in nsf.c

- added still more nonnull assertions

  1. … 1 more file in changeset.
- added shortcut for MixinSearchProc when mixinOrder is NULL

- work on nonnull

  1. … 2 more files in changeset.
- made nsf::is using the "-strict" option when tcl's "string is" is called.

  1. … 2 more files in changeset.
- fixed all over-eager nonnull cases for optimizing with gcc and clang (works up to -O3 except gcc 4.9.0)

  1. … 3 more files in changeset.
- added nonull for args of type Tcl_Command and ClientData

- add asserts for nonnull

- provide nonnull statements for all functions in nsf.c

- some more code cleanup

- complete asserts due to nonnull

  1. … 1 more file in changeset.
- update copyright notice

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

  1. … 4 more files in changeset.
- use nx rather than xotcl2 terminology in nsf::method::forward

  1. … 8 more files in changeset.
- renamed "-methodprefix" to "-prefix" in nx, since the prefix can be applied as well applied to a cmd.

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

  1. … 2 more files in changeset.
- use nonnull variable attributes for prototpyes (nsf.h, nsfInt.h, nsf.c)

  1. … 3 more files in changeset.
nsf.c: - de-spaghetti precedence computations for multiple inheritance and improve documentation - get rid of // comments

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

  1. … 4 more files in changeset.
- 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")

  1. … 4 more files in changeset.
forwarders: - use for output of forward ... -verbose NsfLog(...NSF_LOG_NOTICE...) instead of fprintf() to make it redirect-able

  1. … 1 more file in changeset.
small introspection reform: - Introspection for commands and arguments did not work for cmds defined in subpackages (such as mongodb). We keep now this information in hashtables and maintain a slim interface for this. - fix generation of pkgIndex.tcl for mongodb

  1. … 13 more files in changeset.
- remove redundant NULL tests - improve safety mof macro ObjStr()

  1. … 1 more file in changeset.
- improve code documentation - add some more tests to the regression test suite

  1. … 2 more files in changeset.