[squeak-dev] The Trunk: Monticello-ar.348.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Dec 31 13:51:58 UTC 2009


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

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

Name: Monticello-ar.348
Author: ar
Time: 31 December 2009, 2:51:24 am
UUID: 43b5836c-c671-8844-8fbc-d381d5bd79f7
Ancestors: Monticello-ar.347

Final trait cleanup touches: Avoid direct MC extensions of traits (rather have traits check for MC presence). This will allow unloading of traits without modifying the MC package.

=============== Diff against Monticello-ar.347 ===============

Item was removed:
- ----- Method: Trait>>classDefinitions (in category '*monticello') -----
- classDefinitions
- 	| definitions |
- 	definitions := OrderedCollection with: self asClassDefinition.
- 	(self hasClassTrait
- 		and: [self classTrait hasTraitComposition]
- 		and: [self classTrait traitComposition isEmpty not])
- 			ifTrue: [definitions add: self classTrait asMCDefinition].
- 	^definitions asArray!

Item was removed:
- ----- Method: ClassTrait>>asMCDefinition (in category '*monticello') -----
- asMCDefinition
- 	^MCClassTraitDefinition
- 		baseTraitName: self baseTrait name
- 		classTraitComposition: self traitCompositionString
- 			!

Item was removed:
- ----- Method: Trait>>asClassDefinition (in category '*monticello') -----
- asClassDefinition
- 	^ MCTraitDefinition
- 		name: self name
- 		traitComposition: self traitCompositionString
- 		category: self category 
- 		comment: self organization classComment asString
- 		commentStamp: self organization commentStamp.!




More information about the Squeak-dev mailing list