[etoys-dev] Etoys: Etoys-kfr.56.mcz

commits at source.squeak.org commits at source.squeak.org
Mon May 16 17:15:23 EDT 2011

Karl Ramberg uploaded a new version of Etoys to project Etoys:

==================== 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.!

More information about the etoys-dev mailing list