Index: TODO =================================================================== diff -u -r475bb7279b7df4c5bbdb90986ec3dfd988cf8776 -r6f127ecf78a90478bc889376cb0cb0c05d55b451 --- TODO (.../TODO) (revision 475bb7279b7df4c5bbdb90986ec3dfd988cf8776) +++ TODO (.../TODO) (revision 6f127ecf78a90478bc889376cb0cb0c05d55b451) @@ -1198,6 +1198,9 @@ - make sure to test next to non-existing shadowed method in connections with filters and unknwon handlers +- documented incompatiblity of object-invocation via method + interface (due to ensemble objects) in migration guide + TODO: - check "my" vs. "nsf::dispatch" in xotcl2.tcl @@ -1218,12 +1221,7 @@ - aliases on procs are a problem, when upvar is used (see info default/instdefault in xotcl2.tcl) -- add incompatiblity to migration guide - Foo slot ints eval { set :incremental 1; :optimize} - should become: - Foo::slot::ints eval { set :incremental 1; :optimize} - - interfaces in documentation for slots (see for more details ::nx::Class#superclass in nx.tcl). - nameing Index: doc/next-migration.html =================================================================== diff -u -re849d060161385466c782e46c19344428934cd7f -r6f127ecf78a90478bc889376cb0cb0c05d55b451 --- doc/next-migration.html (.../next-migration.html) (revision e849d060161385466c782e46c19344428934cd7f) +++ doc/next-migration.html (.../next-migration.html) (revision 6f127ecf78a90478bc889376cb0cb0c05d55b451) @@ -1394,15 +1394,33 @@
The resolvers of the Next Scripting Framework are used as well -within XOTcl 2.0. When names starting with single colons are used in -XOTcl 1.* scripts, conflicts will arise. -
+The resolvers (variable resolvers, function resolvers) of the Next +Scripting Framework are used as well within XOTcl 2.0. When names +starting with single colons are used in XOTcl 1.* scripts, conflicts +will arise.
+ +Since the next framework uses a different handling of objects
+registered as methods (so called ensemble objects), sub-objects can't
+be called in the same way as before. In XOTcl 1.*, it was possible to
+call e.g. a method foo
of the slot object
+Foo::slot::ints
via
+
Foo::slot::ints foo ...
or via
+ Foo slot ints foo ...
+self
+of foo
is now the calling object Foo
.
+
+
All slots are now always next-scripting objects. -
+All slot objects (also those in XOTcl) are now always +next-scripting objects of baseclass ::nx::Slot
+Parameterclasses were rarely used and have been replaced by the more @@ -1415,12 +1433,6 @@ 1.*. For example, the requiredness of slots in XOTcl was just a comment, while Next enforces it.
-The exit hander interface changed from a method of @@ -1435,6 +1447,6 @@