David T. Lewis uploaded a new version of 51Deprecated to project The Trunk:
http://source.squeak.org/trunk/51Deprecated-dtl.52.mcz
==================== Summary ====================
Name: 51Deprecated-dtl.52
Author: dtl
Time: 19 February 2018, 7:41:19.828484 pm
UUID: 13333f50-41fe-49bb-a577-d20ef5afcff9
Ancestors: 51Deprecated-dtl.51
Do not deprecate PastePuMorph>>privateOuterDisplayWorld, see Morphic-dtl.1396.
=============== Diff against 51Deprecated-dtl.51 ===============
Item was removed:
- ----- Method: PasteUpMorph>>privateOuterDisplayWorld (in category '*51Deprecated-Morphic') -----
- privateOuterDisplayWorld
-
- self deprecated.
- worldState displayWorld: self submorphs: submorphs
- !
David T. Lewis uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-dtl.1396.mcz
==================== Summary ====================
Name: Morphic-dtl.1396
Author: dtl
Time: 18 February 2018, 4:53:20.499469 pm
UUID: 19d166b4-6992-40eb-b115-f0d605c9307b
Ancestors: Morphic-dtl.1395
For world-in-world uses such as a Worldlet, displayWorld should act upon the outermost containing world morph. Restore this behavior by un-deprecating PasteUpMorph>>privateOuterDisplayWorld and updating its implementation to match the current PasteUpMorph>>displayWorld, then reverting to the original version of PasteUpMorph>>displayWorld, which sends privateOuterDisplayWorld to the outermost world morph (which usually is self).
See discussion in [squeak-dev] Event Theatre in Object Catalog sparks DNU in 6.0-trunk
=============== Diff against Morphic-dtl.1395 ===============
Item was changed:
----- Method: PasteUpMorph>>displayWorld (in category 'world state') -----
displayWorld
+ self outermostWorldMorph privateOuterDisplayWorld
+ !
- (self valueOfProperty: #shouldDisplayWorld ifAbsent: [true])
- ifTrue: [worldState displayWorld: self submorphs: submorphs].!
Item was added:
+ ----- Method: PasteUpMorph>>privateOuterDisplayWorld (in category 'world state') -----
+ privateOuterDisplayWorld
+
+ (self valueOfProperty: #shouldDisplayWorld ifAbsent: [true])
+ ifTrue: [worldState displayWorld: self submorphs: submorphs].!
David T. Lewis uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-dtl.320.mcz
==================== Summary ====================
Name: EToys-dtl.320
Author: dtl
Time: 18 February 2018, 4:27:25.556073 pm
UUID: 20a128db-1e69-4ab6-aa02-5bd0facd67e3
Ancestors: EToys-eem.319
When opening an EventRecordingSpace, do not initialize flaps in the Worldlet until after opening in world (but before calling show). This allows displayWorld to find the outermost containing world for a worldlet by querying the owner of the worldlet. Earlier implementations relied on direct access to the global World, which is now discouraged.
See discussion in [squeak-dev] Event Theatre in Object Catalog sparks DNU in 6.0-trunk
=============== Diff against EToys-eem.319 ===============
Item was changed:
----- Method: EventRecordingSpace class>>open (in category 'instance creation') -----
open
"Open up a new instance of the receiver."
| anInst |
anInst := self new.
anInst visible: false.
anInst openInWorldOrWorldlet.
+ anInst initializeFlaps. "after placing anInst in its world"
anInst center: anInst owner center.
anInst show
"
EventRecordingSpace open.
"!
Item was changed:
----- Method: EventRecordingSpace>>initialize (in category 'initialization') -----
initialize
"Initialize the receiver to be a complete mentoring space"
super initialize.
eventRecorder := MentoringEventRecorder new.
eventRecorder recordingSpace: self.
self beSticky.
self listDirection: #topToBottom; hResizing: #shrinkWrap; vResizing: #shrinkWrap.
self extent: 1@1.
self borderWidth: 2; borderColor: Color gray.
self useRoundedCorners.
showingSoundPanel := false.
(contentArea := Worldlet new)
setNameTo: 'tutorial';
color: Color white;
setProperty: #automaticPhraseExpansion toValue: true;
beSticky.
self addMorphBack: contentArea.
controlsPanel := AlignmentMorph newRow.
controlsPanel hResizing: #spaceFill.
controlsPanel listCentering: #center.
controlsPanel listSpacing: #equal.
controlsPanel cellInset: 4.
controlsPanel minHeight: 32.
self addMorphBack: controlsPanel.
soundPanel := AlignmentMorph newRow.
soundPanel hResizing: #spaceFill.
soundPanel listCentering: #center.
soundPanel listSpacing: #equal.
soundPanel cellInset: 4.
soundPanel minHeight: 32.
soundPanel color: (Color r: 1.0 g: 0.839 b: 0.645).
self makeStatusButtons.
state := #readyToRecord.
self populateControlsPanel.
+ "initializeFlaps will be called later, after opening in world"
+
+ !
- SugarNavigatorBar showSugarNavigator
- ifTrue:
- [self addSugarNavigatorFlap]
- ifFalse:
- [self addSuppliesFlap.
- self addNavigatorFlap]!
Item was added:
+ ----- Method: EventRecordingSpace>>initializeFlaps (in category 'initialization') -----
+ initializeFlaps
+
+ SugarNavigatorBar showSugarNavigator
+ ifTrue:
+ [self addSugarNavigatorFlap]
+ ifFalse:
+ [self addSuppliesFlap.
+ self addNavigatorFlap]!
David T. Lewis uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-dtl.1395.mcz
==================== Summary ====================
Name: Morphic-dtl.1395
Author: dtl
Time: 15 February 2018, 2:23:08.923953 pm
UUID: dc6e5421-8043-46e3-92c2-c362f363d8a0
Ancestors: Morphic-mt.1394
Remove selectorPrefixForDispatch which was a remnant of the now defunct method dispatching hack for Project.
=============== Diff against Morphic-mt.1394 ===============
Item was removed:
- ----- Method: MorphicProject>>selectorPrefixForDispatch (in category 'dispatching') -----
- selectorPrefixForDispatch
- "A string to be prepended to selectors for project specific methods"
-
- ^ 'morphic'!
David T. Lewis uploaded a new version of ST80 to project The Trunk:
http://source.squeak.org/trunk/ST80-dtl.235.mcz
==================== Summary ====================
Name: ST80-dtl.235
Author: dtl
Time: 15 February 2018, 2:21:34.072453 pm
UUID: b54efb6f-08b5-4f31-a6f1-f48dfa89e6d2
Ancestors: ST80-dtl.233, ST80-tpr.234
Remove selectorPrefixForDispatch which was a remnant of the now defunct method dispatching hack for Project.
=============== Diff against ST80-tpr.234 ===============
Item was removed:
- ----- Method: MVCProject>>selectorPrefixForDispatch (in category 'dispatching') -----
- selectorPrefixForDispatch
- "A string to be prepended to selectors for project specific methods"
-
- ^ 'mvc'!
David T. Lewis uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-dtl.1003.mcz
==================== Summary ====================
Name: System-dtl.1003
Author: dtl
Time: 15 February 2018, 2:19:58.588317 pm
UUID: 9f36a39d-2c05-4401-8924-fab1c3c2df0f
Ancestors: System-dtl.1002
Remove selectorPrefixForDispatch which was a remnant of the now defunct method dispatching hack for Project.
=============== Diff against System-dtl.1002 ===============
Item was removed:
- ----- Method: Project>>selectorPrefixForDispatch (in category 'dispatching') -----
- selectorPrefixForDispatch
- "A string to be preppended to selectors for project specific methods"
-
- ^ self subclassResponsibility!
Marcel Taeumel uploaded a new version of Chronology-Core to project The Trunk:
http://source.squeak.org/trunk/Chronology-Core-mt.11.mcz
==================== Summary ====================
Name: Chronology-Core-mt.11
Author: mt
Time: 13 February 2018, 2:46:50.516993 pm
UUID: 60f877b7-27a3-44a5-8220-483429ebb9db
Ancestors: Chronology-Core-ul.10
Add a convenience message to wait on a duration. It is shorter than using Delay class >> #forDuration:.
=============== Diff against Chronology-Core-ul.10 ===============
Item was added:
+ ----- Method: Duration>>wait (in category 'squeak protocol') -----
+ wait
+ "Convert this duration in a delay and wait once. Return the created delay so that the client can wait on it again if needed.
+
+ Do-it: 3 minutes wait"
+
+ | delay |
+ delay := self asDelay.
+ delay wait.
+ ^ delay!