[squeak-dev] The Trunk: EToys-ar.61.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Feb 26 23:28:08 UTC 2010


Andreas Raab uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-ar.61.mcz

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

Name: EToys-ar.61
Author: ar
Time: 27 February 2010, 12:22:28.866 am
UUID: 5be1acc6-6a65-0841-a88f-2b8e01328e84
Ancestors: EToys-kfr.60

Move Player cleanUp from ScriptingSystem to Player. Protect Kedama from being nuked during aggressive cleanup.

=============== Diff against EToys-kfr.60 ===============

Item was added:
+ ----- Method: KedamaExamplerPlayer classSide>>isUniClass (in category 'compiling') -----
+ isUniClass
+ 	"Uni-classes end with digits"
+ 	^self name endsWithDigit!

Item was added:
+ ----- Method: KedamaTurtlePlayer classSide>>isUniClass (in category 'compiling') -----
+ isUniClass
+ 	"Uni-classes end with digits"
+ 	^self name endsWithDigit!

Item was added:
+ ----- Method: Player classSide>>cleanUp: (in category 'housekeeping') -----
+ cleanUp: aggressive
+ 	"Nuke uni-classes when aggressively cleaning up"
+ 	aggressive ifTrue:[
+ 		self withAllSubclassesDo:[:aClass|
+ 			aClass isUniClass ifTrue:[Smalltalk removeClassNamed: aClass name].
+ 		].
+ 	].!




More information about the Squeak-dev mailing list