[squeak-dev] The Trunk: Monticello-ct.710.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Mar 5 20:04:09 UTC 2020


Nicolas Cellier uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-ct.710.mcz

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

Name: Monticello-ct.710
Author: ct
Time: 30 December 2019, 3:17:37.039602 pm
UUID: 6df89c06-6946-d141-9ebc-bc42ae6d9b7f
Ancestors: Monticello-ct.706

Improve support for traits by moving some class extensions up to ClassDefinition. This is possible because PackageInfo >> #includesClass: also works with metaclasses or traits.

Just by the way, this fixes some bugs introduced by SqueakIssueIntegration's UI extensions (see https://github.com/hpi-swa-teaching/SqueakIssueIntegration/blob/master/packages/IssueIntegration-UI.package/ClassDescription.extension/instance/toolIconSelector..st).

=============== Diff against Monticello-ct.706 ===============

Item was removed:
- ----- Method: Class>>packageInfo (in category '*monticello') -----
- packageInfo
- 	^ (PackageInfo allPackages select: [ : each | each includesClass: self ])
- 		ifEmpty: [ nil ]
- 		ifNotEmpty:
- 			[ : myPackages | "Select the most-qualified match."
- 			myPackages detectMax: [ : each | each packageName size ] ]!

Item was removed:
- ----- Method: Class>>workingCopy (in category '*monticello') -----
- workingCopy
- 	"Answer the MCWorkingCopy in which I am defined."
- 	^ self packageInfo ifNotNil: [ : pi | pi workingCopy ]!

Item was added:
+ ----- Method: ClassDescription>>packageInfo (in category '*monticello') -----
+ packageInfo
+ 	^ (PackageInfo allPackages select: [ : each | each includesClass: self ])
+ 		ifEmpty: [ nil ]
+ 		ifNotEmpty:
+ 			[ : myPackages | "Select the most-qualified match."
+ 			myPackages detectMax: [ : each | each packageName size ] ]!

Item was added:
+ ----- Method: ClassDescription>>workingCopy (in category '*monticello') -----
+ workingCopy
+ 	"Answer the MCWorkingCopy in which I am defined."
+ 	^ self packageInfo ifNotNil: [ : pi | pi workingCopy ]!



More information about the Squeak-dev mailing list