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

Marcel Taeumel marcel.taeumel at hpi.de
Thu Apr 5 08:03:26 UTC 2018


Ah, sorry. In my mind, I separate classes from other globals. I was referring to these other globals. Classes are fine -- even though one should always evaluate the need for any new class in the system, too.

Best,
Marcel
Am 05.04.2018 09:59:29 schrieb Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com>:
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 [mailto: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 [mailto:eliot.miranda at gmail.com]>:


On Tue, Apr 3, 2018 at 11:44 PM, Marcel Taeumel <marcel.taeumel at hpi.de [mailto: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 [mailto:commits at source.squeak.org] <commits at source.squeak.org [mailto: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 [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/976d3e05/attachment.html>


More information about the Squeak-dev mailing list