David T. Lewis uploaded a new version of Balloon to project The Trunk:
http://source.squeak.org/trunk/Balloon-dtl.20.mcz
==================== Summary ====================
Name: Balloon-dtl.20
Author: dtl
Time: 22 February 2013, 11:42:35.522 am
UUID: b7a34c82-3dbc-458d-941f-fb76256b88c1
Ancestors: Balloon-egp.19
Check for sending ShortRunArray class>>swapRuns and ShortIntegerArray class>>swapShortObjects is needed only at image startup time, so use startUp: resuming rather than startUp. Categorize in system startup.
=============== Diff against Balloon-egp.19 ===============
Item was removed:
- ----- Method: ShortIntegerArray class>>startUp (in category 'class initialization') -----
- startUp
- "Check if the word order has changed from the last save"
- ((LastSaveOrder at: 1) = 42 and:[(LastSaveOrder at: 2) = 13])
- ifTrue:[^self]. "Okay"
- ((LastSaveOrder at: 2) = 42 and:[(LastSaveOrder at: 1) = 13])
- ifTrue:[^self swapShortObjects]. "Reverse guys"
- ^self error:'This must never happen'!
Item was added:
+ ----- Method: ShortIntegerArray class>>startUp: (in category 'system startup') -----
+ startUp: resuming
+ "Check if the word order has changed from the last save"
+ resuming ifFalse: [ ^ self ].
+ ((LastSaveOrder at: 1) = 42 and:[(LastSaveOrder at: 2) = 13])
+ ifTrue:[^self]. "Okay"
+ ((LastSaveOrder at: 2) = 42 and:[(LastSaveOrder at: 1) = 13])
+ ifTrue:[^self swapShortObjects]. "Reverse guys"
+ ^self error:'This must never happen'!
Item was removed:
- ----- Method: ShortRunArray class>>startUp (in category 'class initialization') -----
- startUp
- "Check if the word order has changed from the last save"
- ((LastSaveOrder valueAtRun: 1) = 42 and:[(LastSaveOrder lengthAtRun: 1) = 3])
- ifTrue:[^self]. "Okay"
- ((LastSaveOrder lengthAtRun: 1) = 42 and:[(LastSaveOrder valueAtRun: 1) = 3])
- ifTrue:[^self swapRuns]. "Reverse guys"
- ^self error:'This must never happen'!
Item was added:
+ ----- Method: ShortRunArray class>>startUp: (in category 'system startup') -----
+ startUp: resuming
+ "Check if the word order has changed from the last save"
+ resuming ifFalse: [ ^ self ].
+ ((LastSaveOrder valueAtRun: 1) = 42 and:[(LastSaveOrder lengthAtRun: 1) = 3])
+ ifTrue:[^self]. "Okay"
+ ((LastSaveOrder lengthAtRun: 1) = 42 and:[(LastSaveOrder valueAtRun: 1) = 3])
+ ifTrue:[^self swapRuns]. "Reverse guys"
+ ^self error:'This must never happen'!
David T. Lewis uploaded a new version of Balloon to project The Trunk:
http://source.squeak.org/trunk/Balloon-dtl.20.mcz
==================== Summary ====================
Name: Balloon-dtl.20
Author: dtl
Time: 22 February 2013, 11:42:35.522 am
UUID: b7a34c82-3dbc-458d-941f-fb76256b88c1
Ancestors: Balloon-egp.19
Check for sending ShortRunArray class>>swapRuns and ShortIntegerArray class>>swapShortObjects is needed only at image startup time, so use startUp: resuming rather than startUp. Categorize in system startup.
=============== Diff against Balloon-egp.19 ===============
Item was removed:
- ----- Method: ShortIntegerArray class>>startUp (in category 'class initialization') -----
- startUp
- "Check if the word order has changed from the last save"
- ((LastSaveOrder at: 1) = 42 and:[(LastSaveOrder at: 2) = 13])
- ifTrue:[^self]. "Okay"
- ((LastSaveOrder at: 2) = 42 and:[(LastSaveOrder at: 1) = 13])
- ifTrue:[^self swapShortObjects]. "Reverse guys"
- ^self error:'This must never happen'!
Item was added:
+ ----- Method: ShortIntegerArray class>>startUp: (in category 'system startup') -----
+ startUp: resuming
+ "Check if the word order has changed from the last save"
+ resuming ifFalse: [ ^ self ].
+ ((LastSaveOrder at: 1) = 42 and:[(LastSaveOrder at: 2) = 13])
+ ifTrue:[^self]. "Okay"
+ ((LastSaveOrder at: 2) = 42 and:[(LastSaveOrder at: 1) = 13])
+ ifTrue:[^self swapShortObjects]. "Reverse guys"
+ ^self error:'This must never happen'!
Item was removed:
- ----- Method: ShortRunArray class>>startUp (in category 'class initialization') -----
- startUp
- "Check if the word order has changed from the last save"
- ((LastSaveOrder valueAtRun: 1) = 42 and:[(LastSaveOrder lengthAtRun: 1) = 3])
- ifTrue:[^self]. "Okay"
- ((LastSaveOrder lengthAtRun: 1) = 42 and:[(LastSaveOrder valueAtRun: 1) = 3])
- ifTrue:[^self swapRuns]. "Reverse guys"
- ^self error:'This must never happen'!
Item was added:
+ ----- Method: ShortRunArray class>>startUp: (in category 'system startup') -----
+ startUp: resuming
+ "Check if the word order has changed from the last save"
+ resuming ifFalse: [ ^ self ].
+ ((LastSaveOrder valueAtRun: 1) = 42 and:[(LastSaveOrder lengthAtRun: 1) = 3])
+ ifTrue:[^self]. "Okay"
+ ((LastSaveOrder lengthAtRun: 1) = 42 and:[(LastSaveOrder valueAtRun: 1) = 3])
+ ifTrue:[^self swapRuns]. "Reverse guys"
+ ^self error:'This must never happen'!
David T. Lewis uploaded a new version of Balloon to project The Trunk:
http://source.squeak.org/trunk/Balloon-dtl.20.mcz
==================== Summary ====================
Name: Balloon-dtl.20
Author: dtl
Time: 22 February 2013, 11:42:35.522 am
UUID: b7a34c82-3dbc-458d-941f-fb76256b88c1
Ancestors: Balloon-egp.19
Check for sending ShortRunArray class>>swapRuns and ShortIntegerArray class>>swapShortObjects is needed only at image startup time, so use startUp: resuming rather than startUp. Categorize in system startup.
=============== Diff against Balloon-egp.19 ===============
Item was removed:
- ----- Method: ShortIntegerArray class>>startUp (in category 'class initialization') -----
- startUp
- "Check if the word order has changed from the last save"
- ((LastSaveOrder at: 1) = 42 and:[(LastSaveOrder at: 2) = 13])
- ifTrue:[^self]. "Okay"
- ((LastSaveOrder at: 2) = 42 and:[(LastSaveOrder at: 1) = 13])
- ifTrue:[^self swapShortObjects]. "Reverse guys"
- ^self error:'This must never happen'!
Item was added:
+ ----- Method: ShortIntegerArray class>>startUp: (in category 'system startup') -----
+ startUp: resuming
+ "Check if the word order has changed from the last save"
+ resuming ifFalse: [ ^ self ].
+ ((LastSaveOrder at: 1) = 42 and:[(LastSaveOrder at: 2) = 13])
+ ifTrue:[^self]. "Okay"
+ ((LastSaveOrder at: 2) = 42 and:[(LastSaveOrder at: 1) = 13])
+ ifTrue:[^self swapShortObjects]. "Reverse guys"
+ ^self error:'This must never happen'!
Item was removed:
- ----- Method: ShortRunArray class>>startUp (in category 'class initialization') -----
- startUp
- "Check if the word order has changed from the last save"
- ((LastSaveOrder valueAtRun: 1) = 42 and:[(LastSaveOrder lengthAtRun: 1) = 3])
- ifTrue:[^self]. "Okay"
- ((LastSaveOrder lengthAtRun: 1) = 42 and:[(LastSaveOrder valueAtRun: 1) = 3])
- ifTrue:[^self swapRuns]. "Reverse guys"
- ^self error:'This must never happen'!
Item was added:
+ ----- Method: ShortRunArray class>>startUp: (in category 'system startup') -----
+ startUp: resuming
+ "Check if the word order has changed from the last save"
+ resuming ifFalse: [ ^ self ].
+ ((LastSaveOrder valueAtRun: 1) = 42 and:[(LastSaveOrder lengthAtRun: 1) = 3])
+ ifTrue:[^self]. "Okay"
+ ((LastSaveOrder lengthAtRun: 1) = 42 and:[(LastSaveOrder valueAtRun: 1) = 3])
+ ifTrue:[^self swapRuns]. "Reverse guys"
+ ^self error:'This must never happen'!
Eliot Miranda uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-eem.199.mcz
==================== Summary ====================
Name: Graphics-eem.199
Author: eem
Time: 21 February 2013, 10:19:44.192 am
UUID: 659cfcf3-6c10-4ef4-bb07-e407c0b1faa2
Ancestors: Graphics-eem.198
Use isNumber in fixing MNU in Smalltalk specialObjectsArray printString.
Point>>printOn: shouldn't assume its inst vars are numbers.
=============== Diff against Graphics-eem.198 ===============
Item was changed:
----- Method: Point>>printOn: (in category 'printing') -----
printOn: aStream
"The receiver prints on aStream in terms of infix notation."
x printOn: aStream.
aStream nextPut: $@.
+ (y isNumber and: [y negative]) ifTrue:
- (y isInteger and: [y negative]) ifTrue:
"Avoid ambiguous @- construct"
[aStream space].
y printOn: aStream!