nsf

Clone Tools
  • last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge branch 'nx-no-setter' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf into nx-no-setter

- disallow arguments for "... info configure"

Add todo item

Complete info lookup doc

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

Adjust filter|mixin method for recent changes; working on info ensemble doc

- improve handling of space in object names

nsfObj.c: - allow to omit "-guard" within arguments to flag definition of a filter/mixin guard - extended regression test

- name parameter option "slotset" instead of "slotassign"

- use "mixin|filter clear" instead of "mixin|filter unset"

nsf.c: - fixed unary argument passing notation for "-nocomplain" of nsf::var and for 42 other options of other commands

nx.tcl:

- added flag -nocomplain to "/obj/ /prop/ unset ?-nocomplain?"

- renamed nsf::relation to nsf::relation::set and added nsf::relation::get in accordance with nsf::var::get

    • -13
    • +13
    /library/serialize/serializer.tcl
  1. … 3 more files in changeset.
Merge branch 'nx-no-setter' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf into nx-no-setter

nsf.c: - added nsf::var::get and "::nx::var get" to provide selector based interface for variable reading (used in slotmethod get of nx::VariableSlot)

- cleanup of nx.tcl and TODO

    • -0
    • +10
    /library/mongodb/tests/nsf-mongo.test
Merge branch 'nx-no-setter' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf into nx-no-setter

Updated doc fragments to reflect recent changes

nsf.c: - finish implementation of NsfForwardPrintError() - use NsfForwardPrintError() in ForwardArg() for all error messages

traits: - define simple setter methods "requiredMethods" and "requiredVariables" to avoid to "set" these explicitly

    • -4
    • +4
    /doc/example-scripts/traits-composite.tcl
    • -2
    • +2
    /doc/example-scripts/traits-simple.tcl
- fix compilation for OpenSolaris (e.g. OmniOS)

- fix compilation for OpenSolaris (e.g. OmniOS)

- cleaned up relation slot mixin variants

nx.tcl: - reworked error message generation of slot-forwarder (list all available slot methods with prefix value=)

xotcl2:

- use xotcl::RelationSlot instead of nx::Relationslot in xotcl2

(we can more value=assign here).

- fix load paths for sublibs (e.g. mongodb) in regression test

    • -0
    • +78
    /tests/accessor.test
nx.tcl: - add slot method value=unset to nx::RelationSlot and nx::VariableSlot - extended regression test

- update TODO file

- added likely/unlikely to result == TCL_OK etc.

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

xotcl2: - use value=set instead of value=assign - simplify "-parameter" implementation - add setters for "name", "domain", and "default" to xotcl::Attribute for backward compatibility

    • -27
    • +35
    /library/xotcl/library/xotcl2.tcl
mongodb - by directing calls to the setter, it is now more complex to determine the true calling object for an converter, since the set operation might be routed though the slot object. It would be nice to have framework support for this. - fix 2 error messages - provide shorter tracebacks by using "return -code error ..." rather than "error ..."

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