Clone
Gustaf A. Neumann <neumann@Gustaf-A-Neumanns-iMac.local>
committed
on 05 Jan 10
- modernize test a little: all local definitions of proc "?" are gone. - added interface to test: "Test parameter count SOMEVALUE" to speā€¦ Show more
- modernize test a little: all local definitions of proc "?" are gone. - added interface to test: "Test parameter count SOMEVALUE" to    specify conveniently e.g. the number of tests the be executed - add XOTCL_CM_NO_UNKNOWN to dispatch of defaultmethod

Show less

TODO (+2 -0)
1657 1657   "alias" and "forward." We do not support it for "setter"
1658 1658   and "attribute", since these require a parameter spec,
1659 1659   which does not have clear semantics for a method path.
1660 1660 - scripted definition of nx::Object.forward and nx::Class.forward
1661 1661
1662 1662 - cleanup of __resolve_method_path
1663 1663 - change TclShowStack into NsfShowStack() to avoid possible interference
1664 1664   with the Tcl* namespace
1665 1665 - made the following function static to avoid pollution of the
1666 1666   global link namespace: CompiledColonVarFree(), GetRegObject(), ParamGetType()
1667 1667
1668 1668 - changed option -expand in "info methods" and "info lookup methods" into
1669 1669   "-path" to associate with the method path
1670 1670 - changed method property name from "protected" to "call-protected"
1671 1671 - changed nx::defaultMethodProtection to nx::defaultMethodCallProtection
1672 1672 - nx::defaultMethodCallProtection is used for
1673 1673   scripted methods, forwarders and aliases
1674 1674 - added nx::defaultAttributeCallProtection,
1675 1675   used for setter and attributes
1676 1676
  1677 - call scripted converters without checking protection
  1678
1677 1679 TODO:
1678 1680
1679 1681 - cleanup of xotcl-aol
1680 1682
1681 1683 - method-modifiers/attribute-method.002:  incorrect result for 'set _ {}'
1682 1684         expected: '::C::A', got ''
1683 1685         in test file ./tests/method-modifiers.tcl
1684 1686   ... =>
1685 1687   FinalObjectDeletion obj 0x100915610 activationcount 2
1686 1688   Assertion failed: (object->activationCount == 0), function FinalObjectDeletion,
1687 1689             file ./generic/nsf.c, line 15788.
1688 1690
1689 1691 - use term "callprotection" in documentation for public|protected
1690 1692  (to be consistent with info command)
1691 1693
1692 1694 - extend coro regression test
1693 1695
1694 1696 - serializer:
1695 1697    * keep track of defaultMethodProtection
1696 1698    * handing of xo::at_cleanup in serializer