[squeak-dev] The Inbox: Multilingual-lrnp.283.mcz

Lauren Pullen drurowin at gmail.com
Mon May 9 19:24:17 UTC 2022


Hi Marcel,

On 5/9/22 09:10, Marcel Taeumel wrote:
> This does the trick. I will commit it as soon as source.squeak.org is working again:
> 
> TextConverter class >> #cleanUp: aggressive
> 
> aggressive ifTrue: [
> self allSubclassesDo: [:converterClass |
> converterClass initializeTables.
> converterClass allInstancesDo: [:converter |
> self flag: #discuss. "mt: Ensure to update all instances to make the optimization work. See #installLineEndConvention: and #decodeString:."
> (converter instVarNamed: #latin1Map) = "not == !"converterClass latin1Map
> ifTrue: [
> converter instVarNamed: #latin1Map put: converterClass latin1Map "i.e., == !".
> converter instVarNamed: #latin1Encodings put: converterClass latin1Encodings "i.e., == !"]]]].
> 
> Then we should add "TextConverter cleanUp: true" to the postscript + checkpoint.

Looks like the postscript already has "TextConverter cleanUp: true", so
that's one less thing to change.

Out of curiosity, what do you mean by checkpoint?


More information about the Squeak-dev mailing list