Marcel Taeumel uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-mt.260.mcz
==================== Summary ====================
Name: MorphicExtras-mt.260
Author: mt
Time: 6 September 2019, 4:05:04.787193 pm
UUID: ecf49e67-c28b-b649-bb7b-3ce5209f0462
Ancestors: MorphicExtras-mt.259
Complements Morphic-mt.1516
=============== Diff against MorphicExtras-mt.259 ===============
Item was changed:
----- Method: PasteUpMorph class>>newWorldTesting (in category '*MorphicExtras-project') -----
newWorldTesting
| world ex |
ex := 500@500.
world := PasteUpMorph newWorldForProject: nil.
world extent: ex; color: Color orange.
world openInWorld.
- world viewBox: (0@0 extent: ex).
BouncingAtomsMorph new openInWorld: world.
"-----
| world window |
world := PasteUpMorph newWorldForProject: nil.
world extent: 300@300; color: Color orange.
world viewBox: (0@0 extent: 300@300).
window := (SystemWindow labelled: 'the new world') model: world.
window color: Color orange.
window addMorph: world frame: (0@0 extent: 1.0(a)1.0).
window openInWorld.
---"
!
A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-ct.1266.mcz
==================== Summary ====================
Name: Kernel-ct.1266
Author: ct
Time: 6 September 2019, 1:16:39.325698 pm
UUID: a5b0464f-61cf-4749-9ad3-92e7d8c85341
Ancestors: Kernel-eem.1265
Add shorthands for interval collecting
There are enough senders of #timesRepeat: that manually fill a collection, same goes for #to:do:
=============== Diff against Kernel-eem.1265 ===============
Item was added:
+ ----- Method: Integer>>timesCollect: (in category 'enumerating') -----
+ timesCollect: aBlock
+
+ ^ (1 to: self) collect: [:i | aBlock value]!
Item was added:
+ ----- Method: Number>>to:collect: (in category 'intervals') -----
+ to: stop collect: aBlock
+ "Evaluate aBlock for each element of the interval (self to: stop by: 1) and return the results."
+
+ ^ (self to: stop) collect: aBlock!
A new version of Graphics was added to project The Inbox:
http://source.squeak.org/inbox/Graphics-ct.411.mcz
==================== Summary ====================
Name: Graphics-ct.411
Author: ct
Time: 6 September 2019, 1:02:01.259698 pm
UUID: ac0b5286-28f7-614c-adfb-4729ed485475
Ancestors: Graphics-mt.410
Add a the #fullFrame constant to LayoutFrame
This is a value used quite often ...
=============== Diff against Graphics-mt.410 ===============
Item was added:
+ ----- Method: LayoutFrame class>>fullFrame (in category 'instance creation') -----
+ fullFrame
+
+ ^ self fractions: (0 @ 0 corner: 1 @ 1)!
Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.1265.mcz
==================== Summary ====================
Name: Kernel-eem.1265
Author: eem
Time: 5 September 2019, 9:44:47.807982 am
UUID: 69e1a0f1-43f5-435e-999d-b8e81b52401a
Ancestors: Kernel-mt.1264
Fix a regression in COmpiledMethod>>messagesSequence caused by the method not having been correctly commented in the first place.
=============== Diff against Kernel-mt.1264 ===============
Item was added:
+ ----- Method: CompiledCode>>messagesSequence (in category 'scanning') -----
+ messagesSequence
+ "Answer a sequence of all the message selectors sent by this method in the order
+ they are sent. Unlike messages this may include duplicates."
+
+ ^Array streamContents:
+ [:str| | scanner |
+ scanner := InstructionStream on: self.
+ scanner scanFor:
+ [:x | | selectorOrSelf |
+ (selectorOrSelf := scanner selectorToSendOrSelf) == scanner ifFalse:
+ [str nextPut: selectorOrSelf].
+ false "keep scanning"]]!
Item was removed:
- ----- Method: CompiledMethod>>messagesSequence (in category 'scanning') -----
- messagesSequence
-
- self flag: #todo. "mt: Better change #messages to return an array instead of a set?"
- ^ self messages asArray!
A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-mt.1266.mcz
==================== Summary ====================
Name: Kernel-mt.1266
Author: mt
Time: 6 September 2019, 8:11:10.403526 am
UUID: 61361169-2419-8e48-9661-e79017d0c837
Ancestors: Kernel-eem.1265
Make #messagesSequence compatible with SistaV1 and CompiledBlcoks again *and* keep the meaning of #messagesSequence as restored in the previous commit by eem.
=============== Diff against Kernel-eem.1265 ===============
Item was changed:
----- Method: CompiledCode>>messagesSequence (in category 'scanning') -----
messagesSequence
+ "Answer a sequence of all the message selectors sent by this method in the order they are sent. Unlike #messages this may include duplicates. Note that both the sources and the decompiled sources might suggest different results. The returned information reflect the actual bytecode."
- "Answer a sequence of all the message selectors sent by this method in the order
- they are sent. Unlike messages this may include duplicates."
+ ^ Array streamContents: [:result |
+ self messagesDo: [:selector | result nextPut: selector]]!
- ^Array streamContents:
- [:str| | scanner |
- scanner := InstructionStream on: self.
- scanner scanFor:
- [:x | | selectorOrSelf |
- (selectorOrSelf := scanner selectorToSendOrSelf) == scanner ifFalse:
- [str nextPut: selectorOrSelf].
- false "keep scanning"]]!