[squeak-dev] The Trunk: Kernel-mt.1350.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Oct 11 11:37:01 UTC 2020


Marcel Taeumel uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-mt.1350.mcz

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

Name: Kernel-mt.1350
Author: mt
Time: 11 October 2020, 1:36:58.093652 pm
UUID: bf00c27b-c143-6747-b06a-0a16460949be
Ancestors: Kernel-eem.1349

Refactoring 'Active' variables -- Step 2 of 2. Removes all uses of Active(World|Hand|Event) by replacing those with "self current(World|Hand|Event)" or "Project current world" when required to not add/cement Morphic dependency.

See http://forum.world.st/Changeset-Eliminating-global-state-from-Morphic-td5121690.html

=============== Diff against Kernel-eem.1349 ===============

Item was changed:
  ----- Method: Object>>launchPartVia:label: (in category 'user interface') -----
  launchPartVia: aSelector label: aString
  	"Obtain a morph by sending aSelector to self, and attach it to the morphic hand.  This provides a general protocol for parts bins"
  
  	| aMorph |
  	aMorph := self perform: aSelector.
+ 	aMorph setNameTo: (Project current world unusedMorphNameLike: aString).
- 	aMorph setNameTo: (ActiveWorld unusedMorphNameLike: aString).
  	aMorph setProperty: #beFullyVisibleAfterDrop toValue: true.
+ 	aMorph openInHand.!
- 	aMorph openInHand!



More information about the Squeak-dev mailing list