Clone
Gustaf A. Neumann <neumann@gustaf-neumanns-imac.local>
committed
on 06 Feb 08
* Continued with info orthogonality change
<object> info mixin ?pattern?
<class> info instmixin ?pattern?

?pattern? b… Show more
 * Continued with info orthogonality change

       <object> info mixin ?pattern?

       <class> info instmixin ?pattern?

   ?pattern? behaves exactly like in the change of two days

   ago. Preceding colons in the name of the queried class are not

   required.

   Still to do "-closure" in

       <class> info instmixin -closure ?pattern?

 * In all mentioned calls, where pattern refers to an object/class

   and it contains wild-cards, a preceding :: is added automatically

   to the search pattern, if it is missing. Since all object names

   start with ::, an omitted leading :: in a search pattern is an

   obvious mistake

 * Made the behavior "pattern" in the following calls identical

   concerning wild cards and object lookups

       <object> mixin delete pattern

       <class> instmixin delete pattern

       <class> superclass delete pattern

 * extended regresson test

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