[Pkg] The Trunk: Services-Base-ul.62.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Apr 24 12:25:25 UTC 2017


Levente Uzonyi uploaded a new version of Services-Base to project The Trunk:
http://source.squeak.org/trunk/Services-Base-ul.62.mcz

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

Name: Services-Base-ul.62
Author: ul
Time: 24 April 2017, 1:11:43.659972 pm
UUID: 7b52364a-ab0b-498c-9704-a716eef0e8ed
Ancestors: Services-Base-ul.61

- ServiceAction's #execute and #executeCondition don't have to clone their blocks anymore
- BlockContext >> #valueWithRequestor: was an extension method, but without BlockContext it got auto-removed.

=============== Diff against Services-Base-ul.61 ===============

Item was removed:
- ----- Method: BlockContext>>valueWithRequestor: (in category '*services-base') -----
- valueWithRequestor: aRequestor 
- 	"To do later: make the fillInTheBlank display more informative captions.
- 	Include the description of the service, and maybe record steps"
- 
- 	^ self numArgs isZero 
- 		ifTrue: [self value]
- 		ifFalse: [self value: aRequestor]!

Item was changed:
  ----- Method: ServiceAction>>execute (in category 'executing') -----
  execute
+ 	^ action valueWithRequestor: World focusedRequestor!
- 	^ action clone valueWithRequestor: World focusedRequestor!

Item was changed:
  ----- Method: ServiceAction>>executeCondition (in category 'executing') -----
  executeCondition
+ 	^ [condition valueWithRequestor: World focusedRequestor]
- 	^ [condition clone valueWithRequestor: World focusedRequestor]
  		on: Error
  		do: [false]!



More information about the Packages mailing list