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

Bert Freudenberg bert at freudenbergs.de
Fri May 27 10:21:44 EDT 2011


On 27.05.2011, at 13:04, commits at source.squeak.org wrote:

> Karl Ramberg uploaded a new version of Etoys to project Etoys:
> http://source.squeak.org/etoys/Etoys-kfr.71.mcz
> 
> ==================== Summary ====================
> 
> Name: Etoys-kfr.71
> Author: kfr
> Time: 27 May 2011, 3:04:38 pm
> UUID: 10a6974c-fc1d-4d4a-997e-0d382c3bfbef
> Ancestors: Etoys-kfr.70
> 
> Put Kedama object in category UserObjects
> 
> =============== Diff against Etoys-kfr.70 ===============
> 
> Item was changed:
>  ----- Method: KedamaExamplerPlayer>>copyAllMethodsAgain2 (in category 'debug support') -----
>  copyAllMethodsAgain2
> 
>  	| c result |
>  	c _ turtles class.
>  	result _ (ClassBuilder new)
>  		name: c name
>  		inEnvironment: c environment
>  		subclassOf: c superclass
>  		type: c typeOfClass
>  		instanceVariableNames: KedamaTurtleVectorPlayer2 instanceVariablesString
>  		classVariableNames: KedamaTurtleVectorPlayer2 classVariablesString
>  		poolDictionaries: KedamaTurtleVectorPlayer2 sharedPoolsString
> + 		category: 'UserObjects'.
> - 		category: c category.
>  	turtles class copyAllCategoriesUnobtrusivelyFrom: KedamaTurtleVectorPlayer2.
>  	sequentialStub ifNotNil: [sequentialStub class copyAllCategoriesUnobtrusivelyFrom: KedamaSequenceExecutionStub].
>  !

This should use "Object categoryForUniclasses", not hard-code the category name.

Also, did you test this works after loading the project? Meaning my analysis of #declareAndPossiblyRename: was wrong?

- Bert -




More information about the etoys-dev mailing list