Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mt.1134.mcz
==================== Summary ====================
Name: System-mt.1134
Author: mt
Time: 21 February 2020, 1:27:02.501145 pm
UUID: 1e799587-17bb-7843-b196-e2a6782b5382
Ancestors: System-eem.1133
Clear the image-side clipboard cache when cleaning up the image aggressively such as in the release building process.
Why? Avoid sensitive information being accessible via the clipboard's "contents" instance variable.
=============== Diff against System-eem.1133 ===============
Item was added:
+ ----- Method: Clipboard class>>cleanUp: (in category 'initialize-release') -----
+ cleanUp: aggressive
+
+ aggressive ifTrue: [self default delete].!
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1628.mcz
==================== Summary ====================
Name: Morphic-mt.1628
Author: mt
Time: 20 February 2020, 5:02:22.195391 pm
UUID: 8b8588f6-82a7-5b40-9187-7502d12e6355
Ancestors: Morphic-mt.1627
Adds an extra re-draw call in text fields to fix help-text redrawing (in the search bar). Note that this does not add much new overhead.
(Actually, there is another issue consiering overhead on text re-draw, which I am investigating at the moment.)
=============== Diff against Morphic-mt.1627 ===============
Item was changed:
----- Method: PluggableTextMorph>>setText: (in category 'model access') -----
setText: aText
textMorph newContents: aText.
self hasUnacceptedEdits: false.
self setScrollDeltas.
+
+ self flag: #performance. "mt: Needed only to redraw overlays such as the help text."
+ self changed.!
- self changed. "Redraw the whole area. For example, it might not be necssary to draw the help text anymore."!
Item was changed:
----- Method: PluggableTextMorph>>textEdited: (in category 'editor access') -----
textEdited: someText
"Tell the model about some edits in the text if interested. This is not #accept, which means that it will be send on every keystroke."
self editTextSelector ifNotNil: [:selector |
+ model perform: selector with: someText].
+
+ self flag: #performance. "mt: Needed only to redraw overlays such as the help text."
+ self changed.!
- model perform: selector with: someText].!
Marcel Taeumel uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-tobe.425.mcz
==================== Summary ====================
Name: Graphics-tobe.425
Author: tobe
Time: 27 January 2020, 5:11:45.257843 pm
UUID: 2f66f6ea-c0d5-4487-bc4d-af76d67acc2e
Ancestors: Graphics-pre.424
Fixes an issue causing an infinite text composition loop when placing embedded morphs which exceed the current composition rectangle's width. The fix entails consistently returning Booleans which indicate whether the morph still fits.
=============== Diff against Graphics-pre.424 ===============
Item was changed:
----- Method: CharacterScanner>>embeddedObject (in category 'stop conditions') -----
embeddedObject
pendingKernX := 0.
((text attributesAt: lastIndex) reject: [:each | each anchoredMorph isNil])
+ ifNotEmpty: [:attributes | (self placeEmbeddedObjectsFrom: attributes) ifTrue: [^ true]].
- ifNotEmpty: [:attributes | self placeEmbeddedObjectsFrom: attributes].
self setFont.
"Note: if ever several objects are embedded on same character, only indent lastIndex once"
lastIndex := lastIndex + 1.
^false!
Item was changed:
----- Method: CharacterScanner>>placeEmbeddedObjectsFrom: (in category 'private-text-anchor') -----
placeEmbeddedObjectsFrom: textAttributes
textAttributes do: [:attr |
"Try to placeEmbeddedObject: - if it answers false, then there's no place left"
+ (self placeEmbeddedObjectFrom: attr) ifFalse: [^ self crossedX]].
+ ^ false!
- (self placeEmbeddedObjectFrom: attr) ifFalse: [^ self crossedX]]!