The Trunk: ReleaseBuilder-mt.211.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: ReleaseBuilder-mt.211.mcz

commits-2
Marcel Taeumel uploaded a new version of ReleaseBuilder to project The Trunk:
http://source.squeak.org/trunk/ReleaseBuilder-mt.211.mcz

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

Name: ReleaseBuilder-mt.211
Author: mt
Time: 11 October 2020, 1:45:21.843652 pm
UUID: f248d73d-600e-114c-8a9e-543407e761fd
Ancestors: ReleaseBuilder-mt.210

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 ReleaseBuilder-mt.210 ===============

Item was changed:
  ----- Method: ReleaseBuilder class>>setProjectBackground: (in category 'scripts - support') -----
  setProjectBackground: aFormOrColorOrFillStyle
 
+ | world |
+ world := Project current world.
+ world fillStyle: aFormOrColorOrFillStyle.
+ MorphicProject defaultFill: world fillStyle.
+ world removeProperty: #hasCustomBackground.!
- ActiveWorld fillStyle: aFormOrColorOrFillStyle.
- MorphicProject defaultFill: ActiveWorld fillStyle.
- ActiveWorld removeProperty: #hasCustomBackground.!