Index: TODO =================================================================== diff -u -r187fbd20a453ae9d73e9b48f88b8d6a8c79685c2 -rf41ae7e802868efee95b5d5682edfdbbe9ba2f64 --- TODO (.../TODO) (revision 187fbd20a453ae9d73e9b48f88b8d6a8c79685c2) +++ TODO (.../TODO) (revision f41ae7e802868efee95b5d5682edfdbbe9ba2f64) @@ -3606,20 +3606,17 @@ in objectParameterSlots - doc: - * integrate ::nx::doc::make with Makefile.in + * integrated ::nx::doc::make with Makefile.in (provide shell calls and, targets and dependencies) - - * provide a different flag for the generation of the documentation + * provided a different flag for the generation of the documentation (-develop, .... or -final) to show/hide it. - SS: By "it", you refer to the glossary? - - * separate entries for methods and hooks (can't be called if not defined)? + * separated entries for methods and hooks (can't be called if not defined)? hooks: * recreate should only be called internally, similarly "init" etc. * __unknown unknown is a hook for Object but a method for Class -- strange refcounting bug in 8.6b2 bug-is-86.tcl +- fixed strange refcounting bug in 8.6b2 bug-is-86.tcl where 2 refcounted items are not freed (value:class, issued from nx.tcl around line 120). Compile with DEBUG86B2 for more info @@ -3638,6 +3635,17 @@ } ================================================= +- nsf.c: cleanup on DEBUG86B2 + +- nx.tcl: + * do not namespace import my into ::nx + * replace usages of "my" by colon invocations + +- doc: + * extended method resolution section + * documented invocation flags for colon + + TODO: - warnings for "numeric" names for args and nonpos-args? - special handling of values looking like nonpos-flags, Index: doc/next-migration.html =================================================================== diff -u -r686684910e44fac172d7bcd8440aa23e44c7df5b -rf41ae7e802868efee95b5d5682edfdbbe9ba2f64 --- doc/next-migration.html (.../next-migration.html) (revision 686684910e44fac172d7bcd8440aa23e44c7df5b) +++ doc/next-migration.html (.../next-migration.html) (revision f41ae7e802868efee95b5d5682edfdbbe9ba2f64) @@ -1768,7 +1768,7 @@ the default protection for properties. The defaults can be overwritten also e.g. on a class level.
NX provides means for method hiding via the method modifier
-private. Hidden methods can be invoked only via +my -local
+private. Hidden methods can be invoked only via the -local flag,
which means: "call the specified method defined in the same
class/object as the currently executing method".
# Hiding of methods via "private" # nx::Class create Base { - :private method baz {a b} { expr {$a + $b} } - :public method foo {a b} { my -local baz $a $b } + :private method baz {a b} {expr {$a + $b}} + :public method foo {a b} {: -local baz $a $b} } nx::Class create Sub -superclass Base { - :public method bar {a b} { my -local baz $a $b } - :private method baz {a b} { expr {$a * $b} } + :public method bar {a b} {: -local baz $a $b} + :private method baz {a b} {expr {$a * $b}} :create s1 } @@ -6856,7 +6856,7 @@