Eliot Miranda uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-eem.763.mcz
==================== Summary ====================
Name: Monticello-eem.763
Author: eem
Time: 30 December 2021, 12:02:50.794873 pm
UUID: 05d83387-607f-405a-b895-891651a739a1
Ancestors: Monticello-mt.762
MCPatchOperation's subclasses implementations of #= prevent comparison with arbitr5ary objects. Add Object>>isMCPatchOperation and use it in the #= implementations. Sp now one can do e.g.
SequenceableCollection allSubInstances select: [:s| s isCompiledCode not and: [(s indexOfSubCollection: #(2 2 2 2 3 2 2 1 1 1 2 3 3 3 3 4)) > 0]]
without error.
=============== Diff against Monticello-mt.762 ===============
Item was changed:
----- Method: MCAddition>>= (in category 'comparing') -----
= other
+ ^other isMCPatchOperation
+ and: [other isAddition
+ and: [definition = other definition]]!
- ^ other isAddition and: [definition = other definition]!
Item was changed:
----- Method: MCModification>>= (in category 'comparing') -----
= other
+ ^other isMCPatchOperation
+ and: [other isModification
+ and: [obsoletion = other obsoletion
+ and: [modification = other modification]]]!
- ^ other isModification
- and: [obsoletion = other obsoletion
- and: [modification = other modification]]!
Item was added:
+ ----- Method: MCPatchOperation>>isMCPatchOperation (in category 'testing') -----
+ isMCPatchOperation
+ ^true!
Item was changed:
----- Method: MCRemoval>>= (in category 'comparing') -----
= other
+ ^other isMCPatchOperation
+ and: [other isRemoval
+ and: [definition = other definition]]!
- ^ other isRemoval and: [definition = other definition]!
Item was added:
+ ----- Method: Object>>isMCPatchOperation (in category '*Monticello-Patching-testing') -----
+ isMCPatchOperation
+ ^false!
Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mt.1274.mcz
==================== Summary ====================
Name: System-mt.1274
Author: mt
Time: 30 December 2021, 5:43:11.303026 pm
UUID: 05fbd735-bfd5-f74c-9205-2d7835c12f88
Ancestors: System-mt.1273
Fixes a minor glitch with themes not applying correctly when using scale factors with pre-rendered fonts (i.e., 100%, 125%, 150%).
=============== Diff against System-mt.1273 ===============
Item was changed:
----- Method: UserInterfaceTheme>>setScaleFactor: (in category 'private - display scale') -----
setScaleFactor: aFloat
"Private. Use #applyScaled:. In the receiver, change the fonts to have a scale of aFloat. Change all fonts to be TrueType fonts if no pre-rendered fonts exist. Never change the 100% reference theme but make a copy. Apply the receiver to the system."
(self isTTCBased not and: [aFloat = self localScaleFactor])
+ ifTrue: [self apply. ^ self].
- ifTrue: [self isCurrent ifFalse: [self apply]. ^ self].
(self isTTCBased not and: [self localScaleFactor = 1.0]) "!!!! Never change the reference theme !!!!"
ifTrue: [^ self lookupSimilar ifNil: [self copyWithScaleFactor: aFloat] ifNotNil: [:other | other setScaleFactorPreApply: aFloat]].
aFloat = 1.0 ifTrue: [^ self doScale100].
aFloat = 1.25 ifTrue: [^ self doScale125].
aFloat = 1.5 ifTrue: [^ self doScale150].
"And now transition from the pre-rendered world into the TrueType world. Or re-use an existing TrueType-based theme with new values. See #lookupSimilar above."
TextStyle pixelsPerInch: 96.0 * RealEstateAgent scaleFactor "current, based on pixels".
self makeTTCBased.
self applyAfter: [TextStyle pixelsPerInch: 96.0 * aFloat "new, not rounded"].!
Marcel Taeumel uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-mt.762.mcz
==================== Summary ====================
Name: Monticello-mt.762
Author: mt
Time: 30 December 2021, 4:35:07.485234 pm
UUID: 2a1ee58e-ee0e-2c49-bd17-c45b397b3e1a
Ancestors: Monticello-mt.761
I meant too well. Reduce the window for MCVersionInspector again by 50px.
=============== Diff against Monticello-mt.761 ===============
Item was changed:
----- Method: MCVersionInspector>>defaultExtent (in category 'morphic ui') -----
defaultExtent
+ ^ 450@200!
- ^ 500@200!
Marcel Taeumel uploaded a new version of ST80 to project The Trunk:
http://source.squeak.org/trunk/ST80-mt.274.mcz
==================== Summary ====================
Name: ST80-mt.274
Author: mt
Time: 30 December 2021, 4:26:56.874748 pm
UUID: 65cb7397-5a05-9c4a-bdfb-7f702dc3c931
Ancestors: ST80-mt.273
Complements Graphics-mt.455
=============== Diff against ST80-mt.273 ===============
Item was changed:
----- Method: Controller>>interActivityPause (in category 'basic control sequence') -----
interActivityPause
"if we are looping quickly, insert a short delay. Thus if we are just doing UI stuff, we won't take up much CPU"
| currentTime wait |
MinActivityLapse ifNotNil: [
lastActivityTime ifNotNil: [
currentTime := Time millisecondClockValue.
wait := lastActivityTime + MinActivityLapse - currentTime.
wait > 0 ifTrue: [
wait <= MinActivityLapse "big waits happen after a snapshot"
+ ifTrue: [DisplayScreen checkForNewScreenScaleFactor; checkForNewScreenSize.
- ifTrue: [DisplayScreen checkForNewScreenSize.
(Delay forMilliseconds: wait) wait ]. ]. ]. ].
lastActivityTime := Time millisecondClockValue.!