[Test] BackToTheFuture.morph saved from Squeak 2.5 dropped onto a desktop of a Squeak6.0a image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Test] BackToTheFuture.morph saved from Squeak 2.5 dropped onto a desktop of a Squeak6.0a image

Hannes Hirzel
Hello

This is a follow up post on the thread
    http://forum.world.st/Dropping-a-morph-gives-me-a-funny-menu-td4939787.html

You need to do
    FileServices   unregisterFileReader: CornerGripMorph

to get only one 'Load as morph' button when you drop a *.morph file
onto a desktop.

You then may verify this with the following test:

The attached morph BackToTheFuture.morph was exported from a Squeak
2.5 image (Aug 1999, see attachment and [1])  and then dropped into a
recent Squeak6.0a image (attachment).

Besides a font problem which mostly causes trouble on page 3 it works well!

Regards

--Hannes


[1] The export in the Squeak 2.5 image was done as follows

1. Bring up the 'World' menu in the 'Play with me - 4' window.
2. Choose 'debug'
3. Choose 'explore world'
4. Click on the 'BookMorph' in the 'submorphs' collection
5. Choose 'Inspect'
6. Evaluate
       self saveOnFile

Morph saveOnFile uses a SmartRefStream
http://wiki.squeak.org/squeak/614


P.S.

      FileServices   unregisterFileReader: CornerGripMorph

has not been commited to trunk yet. Probably good to do a comment on
FileServices as the same time

Current comment:

A FileServices is xxxxxxxxx.

Instance Variables



BackToTheFuture.morph (20K) Download Attachment
Back_to_the_Future_Squeak2.5_aMorph_saveOnFile_Screenshot.png (59K) Download Attachment
BackToTheFuture.morph_from_Squeak2.5_dropped_into_Sq6.0a_image_2017-03-30.png (224K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Test] BackToTheFuture.morph saved from Squeak 2.5 dropped onto a desktop of a Squeak6.0a image

Bert Freudenberg
Very nice! And agreed on the file services. Wonder how CornerGripMorph got in there?

- Bert -

On Thu, Mar 30, 2017 at 1:23 PM, H. Hirzel <[hidden email]> wrote:
Hello

This is a follow up post on the thread
    http://forum.world.st/Dropping-a-morph-gives-me-a-funny-menu-td4939787.html

You need to do
    FileServices   unregisterFileReader: CornerGripMorph

to get only one 'Load as morph' button when you drop a *.morph file
onto a desktop.

You then may verify this with the following test:

The attached morph BackToTheFuture.morph was exported from a Squeak
2.5 image (Aug 1999, see attachment and [1])  and then dropped into a
recent Squeak6.0a image (attachment).

Besides a font problem which mostly causes trouble on page 3 it works well!

Regards

--Hannes


[1] The export in the Squeak 2.5 image was done as follows

1. Bring up the 'World' menu in the 'Play with me - 4' window.
2. Choose 'debug'
3. Choose 'explore world'
4. Click on the 'BookMorph' in the 'submorphs' collection
5. Choose 'Inspect'
6. Evaluate
       self saveOnFile

Morph saveOnFile uses a SmartRefStream
http://wiki.squeak.org/squeak/614


P.S.

      FileServices   unregisterFileReader: CornerGripMorph

has not been commited to trunk yet. Probably good to do a comment on
FileServices as the same time

Current comment:

A FileServices is xxxxxxxxx.

Instance Variables