[squeak-dev] The Trunk: EToys-nice.292.mcz

H. Hirzel hannes.hirzel at gmail.com
Sun Oct 8 22:17:03 UTC 2017


On 10/8/17, Bob Arning <arning315 at comcast.net> wrote:
> #convertToCurrentVersion:refStream: might be used to fix up such problems

Seems to be the regular way to do this whereas

SmartRefStream>>initKnownRenames

looks more like a hack. However it is not etoys specific as it is
present in Squeak 5.0 (screen shot)


#initKnownRenames  is called in


SmartRefStream>>initShapeDicts


It has a flag #bobconv

Looks like unfinished business.  Bob, what would you see as the way forward?

initShapeDicts
	"Initialize me. "

	self flag: #bobconv.	

	"These must stay constant.  When structures read in, then things can change."
	steady := {Array. Dictionary. Association. ByteString. SmallInteger.
Character} asSet.

	renamed ifNil: [
		renamed := Dictionary new.  "(old class name symbol -> new class name)"
		renamedConv := Dictionary new "(oldClassNameSymbol ->
conversionSelectorInNewClass)"
	].
	self initKnownRenames


>
> On 10/8/17 5:33 PM, Tobias Pape wrote:
>> So 'presentationText' and  'presentationLines' will shadow 'caretRect' and
>> 'showCaret'...
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: convertToCurrentVersion_refStream_Screenshot_2017-10-09.png
Type: image/png
Size: 68689 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20171009/a190de00/attachment-0001.png>


More information about the Squeak-dev mailing list