[squeak-dev] The Trunk: Morphic-cmm.1408.mcz

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Thu Apr 5 07:59:21 UTC 2018


But we replaced a global World by another global Project.
It's more about limiting the number of globals to a set of more universal
roots?

2018-04-05 9:42 GMT+02:00 Marcel Taeumel <marcel.taeumel at hpi.de>:

> Because with "Project current world" we have messaging (#current, #world)
> as point of variation. Pure state access via globals is too limited.
>
> Best,
> Marcel
>
> Am 04.04.2018 20:18:58 schrieb Eliot Miranda <eliot.miranda at gmail.com>:
>
>
> On Tue, Apr 3, 2018 at 11:44 PM, Marcel Taeumel <marcel.taeumel at hpi.de>
> wrote:
>
>> It should be "Project current world" then.
>>
>
> But World == Project current world. Why not just World?  (That's a sincere
> question, not an attempt to disagree)
>
>
>>
>> Best,
>> Marcel
>>
>> Am 04.04.2018 06:17:03 schrieb commits at source.squeak.org <
>> commits at source.squeak.org>:
>> Chris Muller uploaded a new version of Morphic to project The Trunk:
>> http://source.squeak.org/trunk/Morphic-cmm.1408.mcz
>>
>> ==================== Summary ====================
>>
>> Name: Morphic-cmm.1408
>> Author: cmm
>> Time: 3 April 2018, 11:15:51.160237 pm
>> UUID: 35b2e2ad-c421-4510-a635-774bfd84e597
>> Ancestors: Morphic-cmm.1407
>>
>> The responsibility of #anyOpenWindowLikeMe, as indicated by its name, is
>> to look in the actual World world for any open window like the receiver,
>> not the receivers #world (which is nil, because because we wish to look in
>> the real world first!).
>> Fixes the Reuse Windows preference.
>>
>> =============== Diff against Morphic-cmm.1407 ===============
>>
>> Item was changed:
>> ----- Method: SystemWindow>>anyOpenWindowLikeMe (in category
>> 'open/close') -----
>> anyOpenWindowLikeMe
>>
>> self class reuseWindows ifFalse: [ ^Array empty ].
>> ^ SystemWindow
>> + windowsIn: World
>> - windowsIn: self world
>> satisfying:
>> [ : each |
>> each model class = self model class
>> and: [ (each model respondsTo: #representsSameBrowseeAs:)
>> and: [ each model representsSameBrowseeAs: self model ] ] ]
>> !
>>
>>
>>
>>
>>
>>
>
>
> --
> _,,,^..^,,,_
> best, Eliot
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180405/5fda0baa/attachment.html>


More information about the Squeak-dev mailing list