[squeak-dev] The Inbox: System-kfr.1036.mcz

Edgar J. De Cleene edgardec2005 at gmail.com
Sun Jun 24 09:41:01 UTC 2018


+1 and is another step forward.
Thanks Hannes


On 23/06/2018, 11:02, "H. Hirzel" <hannes.hirzel at gmail.com> wrote:

> Adding the two lines
> 
> "make sure we don't try to convert classes not in structures to renamed
> classes"
> renamed keysDo:[ :renamedClass | structures at: renamedClass
> ifAbsent:[ renamed removeKey: renamedClass]].
> 
> 
> to
> 
> SmartRefStream>>reshapedClassesIn:
> 
> 
> makes a number of *.pr  (SqueakLand project files) load into Squeak
> 5.2a which previously did not load.  See screen shot. This does not
> necessarily mean that they work, but they load without an error
> message.
> 
> The instance variable 'renamed' of SmartRefStream contains a
> dictionary of Classes who have a different name.
> 
> When loading a project an instance of the new class is made and a
> conversion call is sent to that instance.
> 
> (old class name symbol -> new class name).
> 
> 
> The instance variable 'structures' contains the structure of classes
> (class version and order and names of instance variables written then
> the *.pr file was saved
> 
> Example:
> 
> structures  
> 
> Dictionary of (#Rectangle -> #(<classVersionInteger> 'origin' 'corner')).
> 
> Inst var names are strings.
> 
> 
> ------------------------------------------------------------------------------
> ----
> Recommendation: This fix should be moved to the trunk
> ------------------------------------------------------------------------------
> ----




More information about the Squeak-dev mailing list