Etoys: Etoys-kfr.56.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Etoys: Etoys-kfr.56.mcz

commits-2
Karl Ramberg uploaded a new version of Etoys to project Etoys:
http://source.squeak.org/etoys/Etoys-kfr.56.mcz

==================== Summary ====================

Name: Etoys-kfr.56
Author: kfr
Time: 16 May 2011, 11:14:32 pm
UUID: d8678646-d96f-af4a-8f7d-fe62cc77d4b5
Ancestors: Etoys-kfr.55

Updated with veryDeepFixupWith:

Fixes http://tracker.squeakland.org/browse/SQ-884

I'm a little unsure about the use of the deep copier and when you do weak copies etc...

=============== Diff against Etoys-kfr.55 ===============

Item was added:
+ ----- Method: WatcherWrapper>>veryDeepFixupWith: (in category 'copying') -----
+ veryDeepFixupWith: deepCopier
+ "If target and arguments fields were weakly copied, fix them here.  If they were in the tree being copied, fix them up, otherwise point to the originals!!!!"
+
+ super veryDeepFixupWith: deepCopier.
+ player := deepCopier references at: player ifAbsent: [player].
+ variableName := deepCopier references at: variableName ifAbsent: [variableName].
+ !

Item was changed:
  ----- Method: WatcherWrapper>>veryDeepInner: (in category 'copying') -----
  veryDeepInner: deepCopier
  "Copy all of my instance variables.  Some need to be not copied at all, but shared.   Warning!!!!  Every instance variable defined in this class must be handled.  We must also implement veryDeepFixupWith:.  See DeepCopier class comment."
  super veryDeepInner: deepCopier.
  player := player.
+ variableName := variableName. !
- variableName := variableName.!

_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev