- forward: new option for handling flags syntax "%-SOMEFLAG ?insert?%" The option checks the actual arguments, if they start with "-", it compares it with the provided name. If it matches, the flag is consumed and added at the provided position in the output list. If the flag does not match, but "insert" is given with the value of 1, then the flag is output as well. Note that the last feature is added for omitting double inserts. - due to the new forward option, the following important cases work now: - adding/deleting/... per-object mixins for classes via slot methods C mixin -per-object add M - adding per-object mixins for classes in short form C mixin -per-object M
- added "what" argument to deprecated command to let the user be more exact, what is actually deprecated
- new method named "setter" * <Object> setter <varName> * <|Class> setter ?-per-object? <varName> - new info method named "method" * <Object|Class> info method ?-per-object? definition|name|type <methodName>" * "info method definition" returns full cmds (e.g. for scripted methods parameters, body, pre- and postconditions) * fixed proper list handling in AssertionList() * added tests for "info method" (infomethodtest.xotcl)
- changed method "alias" in xotcl2: * removed the long list of arguments ".... -cmd -source-object -source-method -source-per-object:switch" * determine method cmdname via "... info method name <methodName>" and pass it to alias
- method "parametercmd" and "instparametercmd" are gone (for xotcl2) we have now "<Object> setter <name>" "<Class> setter ?-per-object? <name>" - added emulation for old "parametercmd" and "instparametercmd" in xotcl1
- method "instforward" is gone (for xotcl2), we have now "<Object> forward <name> ... " "<Class> forward ?-per-object? <name> ... " - added emulation for old "forward" and "instforward" in xotcl1
- "info body" gone, added emulation in xotcl1 - "info instbody" gone, added emulation in xotcl1 - "info commands" gone, added emulation in xotcl1 - "info instcommands" gone, added emulation in xotcl1 - "info parametercmd" gone, added emulation in xotcl1 - "info instparametercmd" gone, added emulation in xotcl1