nsf.c

Clone Tools
  • last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* nsf.c (ArgumentCheck): Avoid double dispatching to value checkers (built-in and type=*) for "slotset" parameters. Previously, configure and then the value=set (value=add) method triggered one dispatch each. Now, the configure pass skips the check and shifts sole responsibility on the value=set/ value=add methods. Added basic test cases to parameters.test to capture the intended call semantics.

  1. … 1 more file in changeset.
Fix potential bug in forwarder code (it was possible, that a subsituted %proc was freed to early)

- include all enum values in case statements

- use preprocessor variables more consistently

  1. … 1 more file in changeset.
- remove old-style function definitions

  1. … 1 more file in changeset.
- remove implicit conversion to 'unsigned int' from 'int' m

- ISO C90 forbids mixed declarations and code

- don't shadow local variable

Reduce memory consumption via better aligning (esp on 64bit machines)

  1. … 3 more files in changeset.
- don't shadow variables

  1. … 1 more file in changeset.
- removed unneeded arguments - mark unused arguments as UNUSED

  1. … 4 more files in changeset.
- added a new configure option --enable-development=test (in addition to --enable-development or --disable-development) for activating more expensive runtime tests. --enable-development alone activates just assertion checking

  1. … 2 more files in changeset.
- define NsfObjDispatch as Tcl_ObjCmdProc

  1. … 1 more file in changeset.
- fix potential crash on deletes and recomputations of precedence orders in connection with multiple inheritance. One assumption in the precedence order computation is that the precedence orders of superclasses are computed before the precedence orders of the class itself. The check, when to perform this computation was to simple minded so fr, since it checked this requirement only on the current class, but not on superclasses.

- reduce implicit conversions

- reduce implicit conversions when compiled under tcl 8.5.*

  1. … 2 more files in changeset.
- reduce implicit conversions

- don't add extra newlines to log lines

- improve variable names - avoid call of strcmp more often

  1. … 1 more file in changeset.
Merge branch '2-1-0-rc' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf into 2-1-0-rc

- remove configure trace|profile

  1. … 2 more files in changeset.
merged

  1. … 1 more file in changeset.
- fix bug that sneaked-in in last commit

- prefer boolean expressions - reduce number of implicit signed/unsigned conversions

  1. … 3 more files in changeset.
- remove unneeded code in cases, when compiled with NDEBUG

- address cmdflags conversion

* nsf.c (ProcDispatchFinalize): Silence compiler warning on ckfree.

- fix debug output wen compiled without --enable-profile

* nsf.c (InvokeShadowedProc): Fix debug output when compiled without --enable-profile. Was originally added on 2-1-0-rc.

merging changes from master brach - move result reporting of nsf::procs into ProcDispatchFinalize() this fixes the result value reporting and timings for nsf::procs

  1. … 1 more file in changeset.