[squeak-dev] The Trunk: HelpSystem-Core-mt.120.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Oct 11 11:40:56 UTC 2020


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

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

Name: HelpSystem-Core-mt.120
Author: mt
Time: 11 October 2020, 1:40:55.555652 pm
UUID: ad2163d8-cd30-1249-9456-6cb2ff709fe0
Ancestors: HelpSystem-Core-mt.119

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 HelpSystem-Core-mt.119 ===============

Item was changed:
  ----- Method: SearchTopic>>triggerUpdateContents (in category 'private') -----
  triggerUpdateContents
  
  	self mutex critical: [
  		updatePending == true ifFalse: [
  			updatePending := true.
+ 			Project current addDeferredUIMessage: [Project current world
- 			Project current addDeferredUIMessage: [ActiveWorld
  				addAlarm: #updateContents withArguments: #()
+ 				for: self
+ 				at: Time millisecondClockValue + 250]]].!
- 				for: self at: Time millisecondClockValue + 250] ] ].
- !



More information about the Squeak-dev mailing list