- handle change in tcl 8.5.8: http://tcl.cvs.sourceforge.net/viewvc/tcl/tcl/generic/tclObj.c?sortby=date&r1=1.139.2.1&r2=1.139.2.2&pathrev=core-8-5-branch in xotcl: * when e.g. the parent namespace is deleted with a "namespace delete", the change above causes, the no xotcl methods could be resolved (and called) anymore. * therefore, e.g. a "C dealloc c1" did not work, since dealloc passes c1 via tcl_obj, and the tcl_obj is as well converted to an xotcl object via Tcl_GetCommandFromObj(), which fails as well. - to bypass this problem, xotcl has now a C-function DoDealloc(), which is called, when this situation is detected. - some more cases, where xotcl could reference already freed memory were fixed (thanks to enable-symbols=mem) - as collateral damage, parts of the regression test don't work currently
- 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