nsf.c

Clone Tools
  • last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
nsf.c: - finish implementation of NsfForwardPrintError() - use NsfForwardPrintError() in ForwardArg() for all error messages

  1. … 1 more file in changeset.
- added likely/unlikely to result == TCL_OK etc.

nsf.c: - fix one more subtle case of an error being swallowed: for xotcl, the constructor returns the list of residual arguments. In case there was an error, it was possible that the returned residual arguments overwrote the error message in the interp result

nsf.c: - rename default slot methods add/get to value=add/value=get - provide an error message, when refering to a non-existing slot object

  1. … 1 more file in changeset.
- allow configuration of internally called "slot.get" and "slot.assign" methods via objectsystem::create

  1. … 1 more file in changeset.
nsf.c: - allow parameter option "method=" for slotassign as well. rationale: this allows to use the parameter "forwardername" to specify a different forwarder target method (e.g. in case of object-mixins). The method is used both in "configure" and "cget". - allow methodname to consist of max tow words in relation slots (e.g. "-methodname {mixin set}"}

- add flag "-onerror" to nsf::forward::method to handle errors during dispatch of a forwarder (not all error messags of forwarder are already transformed) - added log-level Info which prints always, e.g. for "-verbose" flag of forwarder - drop setter-rule from properties (use always forwarder) - drop "/obj/ /prop/" and "/obj/ /prop/ /value/" in favor of "/obj/ /prop/ get" and "/obj/ /prop/ assign /value/" to achieve better orthogonality with e.g. incremental properties

  1. … 16 more files in changeset.
- remove over-eager nonnull declaration

  1. … 1 more file in changeset.
- add fixes for tcl 8.6

  1. … 1 more file in changeset.
- finish non-null handling for tcl 8.5

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