nsf

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

- fixed silent (scripted) unknown handler. - reavtivated corresponding regression test - extended regression tests (call unknown method with filter with and without unknown handlers)

- Refactoring templating code: Separated generic and backend-specific templating behaviour into distinct classes: BaseTemplateData and NxDocTemplateData. Rewrote the getter logic for the @doc strings to retrieve different representations (as_text() and as_list()). - Multi-line block markers: To achieve this, I moved the handling of block markers into the template data classes. - Adjusted the tests for the changes ...

    • -9
    • +9
    /library/lib/doc-assets/class.html.tmpl
    • -6
    • +6
    /library/lib/doc-assets/command.html.tmpl
    • -1
    • +1
    /library/lib/doc-assets/package.html.tmpl
    • -161
    • +182
    /library/lib/doc-tools.tcl
- fixed test with UnknownClass in xotcl/tests/testx.xotcl