nsf

Clone Tools
  • last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- checked "my" vs. "nsf::dispatch" in nx.tcl and xotcl2.tcl

- changed stub naming from "[Nn][Xx]*" to nsf (for next scripting framework)

    • -0
    • +178
    /generic/nsf.decls
    • -0
    • +445
    /generic/nsfDecls.h
    • -0
    • +117
    /generic/nsfInt.decls
    • -0
    • +57
    /generic/nsfIntDecls.h
    • -0
    • +88
    /generic/nsfStubInit.c
    • -0
    • +102
    /generic/nsfStubLib.c
  1. … 5 more files in changeset.
- new flag for configure: "nx::configure checkarguments on|off" - turn off argument-checking for non-converters, when checking is off (per default, it is on) - extended regression test for optional argument checking

- new flag for configure: "nx::configure checkresult on|off" - turn off result-checking for non-converters, when checking is off (per default, it is on) - extended regression test for optional result checking

- renamed slot attribute "noforwarder" to "nosetter" - method parameter can now use option "nosetter" to allow object parameterization witout providing a setter method (example: "Class create C -parameter {x:integer,nosetter}") - extended regression test to include "nosetter"

- make method EnsembleObject.methodPath more independet of Ensemble objects

- added handling of parameter options "allowemtpy" and "convert" in createFromParameterSyntax

- new parameter option "convert" to signal that an application specific parameter checker should convert the value (takes the result of the methods as conversion result) - added parameters for slots "allowemtpy" and "convert" - extended regression test

- extended regression test

- added flag -complain to ::nsf::is - removed ::nsf::parametercheck

- fixed reference counting problem with user-defined converters

- minor cleanup

    • -2
    • +2
    /library/xotcl/apps/scripts/soccerClub2.tcl
- report "invalid parameter" in nsf::is and parametercheck, even when no-complain is used.

- some cleanup

- changed argument order on nsf::is to make it conformant with Tcl conventions - removed objectproperty, replaced it by ::nsf::is - move functionalizy of objectproperty to make "obj info is ..." more efficient

- minimal changes

- fix onbsolete objectproperty inside catch

- fix editing

- replaced argument order on objectproperty to make it conformant with Tcl conventions - updated migration guide

- Replaced the former "exception" handling mechanism by a simplified one. This speeds up e.g. the generation of the current nx.tcl documentation by 15-20%. - Adjusted the tests for the modified CommentBlockParser interface. - Implemented a first version of the revised tagline notation. Changed the documentation in nx.tcl and predefined.tcl accordingly. - Discriminate between parsing simple and complex part entities. In the simple case, multi-line part sections are not allowed anymore. - Adopted the recent changes in the object introspection interfaces

    • -10
    • +10
    /library/lib/doc-assets/entity.html.tmpl
    • -161
    • +164
    /library/lib/doc-tools.tcl
- removed "infoObjectMethod" and "infoClassMethod" - replaced ::nsf::cmd::ClassInfo2 by ::nsf::cmd::ClassInfo - replaced ::nsf::cmd::ObjectInfo2 by ::nsf::cmd::ObjectInfo

    • -11
    • +11
    /library/serialize/serializer.tcl
    • -51
    • +51
    /library/xotcl/library/xotcl2.tcl
- introduced ::nsf::isobject - replaced in all scripts "::nsf::objectproperty ... object" by isobject

- removed "nsf::is ... -type ...." - adoped emulation layer in xotcl2 accordingly - extended regression test

- removed "objectproperty .... type" - renamed isSubType() to IsSubType() - adoped emulation layer in xotcl2 accordingly - added two tests for "info has type" in regression test

- removed "objectproperty .... hasmixin" - removed "nsd::is ... -hasmixin ...." - removed type-converter "type=hasmixin" - adoped emulation layer in xotcl2 accordingly - added two tests for "info has mixin" in regression test

- updated interface definitions for info methods, sort these alphabetically

- implemented XOTclObjInfoHasMixinMethod() and XOTclObjInfoHasTypeMethod() - renamed "$obj info hasnamespace" to "$obj info has namespace" - added "$obj info has mixin $class" - added "$obj info has type $class" - extended regression test for parametercheck/objectproperty/is

- documented incompatiblity of object-invocation via method interface (due to ensemble objects) in migration guide

- make sure to test next to non-existing shadowed method in connections with filters and unknwon handlers

Merge branch '2.0.0-develop' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/xotcl into 2.0.0-develop