nsf

Clone Tools
  • last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

Adjust variable doc for recent changes

Extending mixin/filter doc to cover guards

Adding TODO

Adding filter doc fragment

Adjust mixin doc for recent changes

Adjusting property doc to reflect recent changes

- don't delete system slot ::xotcl::Attribute on cleanup

nx.tcl, xotcl2.tcl: - use value=* as names for interally called and forwarder-called accessor methods - disallow "assign" for nx::variableSlots

    • -4
    • +4
    /doc/example-scripts/traits-composite.tcl
    • -2
    • +2
    /doc/example-scripts/traits-simple.tcl
    • -16
    • +21
    /library/xotcl/library/xotcl2.tcl
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

nx.tcl: - use set/get/add as slot methods for get/configure/incremental operations - demangle slots for nx/xotcl2 further

xotcl2:

- use assign/get/add as slot methods for get/configure/incremental

operations

- use object system configuration for -slot.get and -slot.set