nsf

Clone Tools
  • last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- added example rosetta-unknown-method.tcl

- the added examples

    • -0
    • +43
    /doc/example-scripts/rosetta-abstract-type.tcl
- added example rosetta-abstract-type.tcl

- tests/tcloo.test: Added a prototype implementation of TclOO's export|unexport feature, as a mere test suite. - Makefile.in: Registered tests/tcloo.test

    • -0
    • +270
    /tests/tcloo.test
- new folder example-scripts * Added 8 of the rosetta examples and one classical OTcl example * all examples are tested via regression test * all examples are pretty-printed via asciidoc

    • -0
    • +1091
    /doc/example-scripts/bagel.html
    • -0
    • +185
    /doc/example-scripts/bagel.tcl
    • -0
    • +791
    /doc/example-scripts/rosetta-classes.html
    • -0
    • +26
    /doc/example-scripts/rosetta-classes.tcl
    • -0
    • +834
    /doc/example-scripts/rosetta-constraint-genericity.html
    • -0
    • +808
    /doc/example-scripts/rosetta-delegates.html
    • -0
    • +50
    /doc/example-scripts/rosetta-delegates.tcl
    • -0
    • +840
    /doc/example-scripts/rosetta-polymorphism.html
  1. … 5 more files in changeset.
- nx.tcl: * added parameter option incremental for "property" and "variable" * removed the nonpos argument "-incremental" from "property" and "variable" * adapted regression test for these cases

- nx.tcl: * added "/obj/ info slot definition" * added "/obj/ info slot name" * added "/obj/ info properties" (alias to "/obj/ info slot definition") * extended regression test

- merged one more change

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

Conflicts:

library/lib/doc-tools.tcl

- nx.tcl * renamed "info parameter name" to "info parameter names" (since it returns a list of names) * renamed "info parameter name" to "info parameter names" (since it returns a list of names) * renamed "info slots" to "info slot objects" * additional method "info slot definition" * additional method "info slot name" * additional method "info properties" (alias to "info slot definition") * removed "info parameter slot" * use term "noaccessor" and "noconfig" to deactivate accessors or object-parameters in property definitions * don't show slots with noconfig in "info parameter names" * don't show slots with noconfig in "info parameter definition" * renamed slot property "configparam" to "config" * renamed "::nsf::methods::class::info::slots" to "::nsf::methods::class::info::slotobjects" * additional public method ObjectParameterSlot.getPropertyDefinition * updated and extended regression test

- nx.tcl * renamed "attribute" to "property" * renamed "defaultAttributeCallProtection" to "defaultPropertyCallProtection" * renamed "nx::Attribute" to ""nx::VariableSlot" * renamed "BootStrapAttributeSlot" to "BootStrapVariableSlot" * renamed "createBootstrapAttributeSlots" to "createBootstrapVariableSlots" * removed method attributes * implemented old attributes definition in xotcl2 as method "parameter"

    • -107
    • +108
    /library/lib/doc-tools.tcl
    • -11
    • +11
    /library/mongodb/example-nx-bi.tcl
    • -12
    • +12
    /library/mongodb/example-nx-reference-many.tcl
    • -13
    • +13
    /library/mongodb/example-nx-reference-one.tcl
  1. … 18 more files in changeset.
- minor cleanup

- library/lib/doc-tools.tcl: Ported over the nxdoc core to reflect recent changes (i.e., modified attribute() signature and honouring that ::nsf::method::setter|forward are expected to return the method handle)

- generic/nsfError.c: Made sure that the colon prefix is not printed in occurrences of NsfObjWrongArgs() - generic/nsfInt.h: Advertising the MethodName() function prototype - tests/parameters.test: Added a corresponding test

- nsf.c: implemented "... info method origin ..." which returns the implementation handle (in contrast to the registration handle) of a method.

- small simplification

- cosmetical changes

- nx.tcl: extended object-parameter "switch" implementation: now, accessors of type boolean are created, when type "switch" is used.

-nsf.c: * move to greedy assert to an inner scope ("info method ...") * allow testwise "switch" as object parameter (when it is used, accessors are deactivated for this attribute) * extended regression test

- library/mongodb:updated to current interface in git HEAD

- changed Stack example in tutorial from constructor to :variable - allow just valid specs for :attribute and :variable methods - improved error message for invalid parameter specs (with leading colons) - extended regression test

- added tests for using submethod handles

- updated next-tutorial to the current naming conventions

- removed redundancy in TODO

- documented functions in nsfTrace.c

- fixed book-keeping for TclNamespace refcounting such that now alias.test, destroy.test and test.xotcl run now clean, 2 test are still open with tcl 8.5.10 (contains.test and xotcomm.test)

- tests/disposition.test: Corrected a temporarily silenced test, the dispo test suite now runs completely

backport of autoname fix from nsf

- nsf.c: fixed autoname problem with code from tcl trunk

* added paramPtr->name to MEM_COUNT tracing * renamed NEW_STRING to STRING_NEW * added STRING_FREE, calling MEM_COUNT macros * checked all ckfree in nsf.c, everything allocated is covered by the MEM_COUNT macros