MinimalMorphic report

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

MinimalMorphic report

Pavel Krivanek
Hi all,

I'm slowly working on MinimalMorphic cleanup. The latest version
(MinimalMorphicLoader-pk.17.mcz) has now 48 unimplemented methods.
I've got an experimental image that has 24 unimplemented methods it
needs some cleanup in the KernelImage code.

How to build the image:
1) load http://www.comtalk.net/Squeak/uploads/98/KernelImage-MC-7067.zip
2) maximize the window evaluate code
((MCHttpRepository location: 'http://squeaksource.com/KernelImage'
user: '' password: '') loadVersionFromFileNamed:
'MinimalMorphicLoader-pk.17.mcz') load.
3) evaluate MinimalMorphicLoader load

You may report bugs on Mantis in project Squeak Packages, category
MinimalMorpnic.
In the beginning some DNUs are common because of missing last events etc.

-- Pavel

Reply | Threaded
Open this post in threaded view
|

Re: MinimalMorphic report

Edgar J. De Cleene
Pavel Krivanek puso en su mail :

> Hi all,
>
> I'm slowly working on MinimalMorphic cleanup. The latest version
> (MinimalMorphicLoader-pk.17.mcz) has now 48 unimplemented methods.
> I've got an experimental image that has 24 unimplemented methods it
> needs some cleanup in the KernelImage code.
>
> How to build the image:
> 1) load http://www.comtalk.net/Squeak/uploads/98/KernelImage-MC-7067.zip
> 2) maximize the window evaluate code
> ((MCHttpRepository location: 'http://squeaksource.com/KernelImage'
> user: '' password: '') loadVersionFromFileNamed:
> 'MinimalMorphicLoader-pk.17.mcz') load.
> 3) evaluate MinimalMorphicLoader load
>
> You may report bugs on Mantis in project Squeak Packages, category
> MinimalMorpnic.
> In the beginning some DNUs are common because of missing last events etc.
>
> -- Pavel
>

For MinimalMorphic.7213.image, following this procedure , I confirm.

Smalltalk size 1274
Image size 7.y mb.
No problems on mac.
No problems for ChangeSet

The following is my proposal to Ralph, in ReleaseBuilder method form or you
could do in regular 7067 final.


makeSqueak3.10Release
    "
|  newVersion |
    World removeAllMorphs.
    Smalltalk
        at: #Player
        ifPresent: [:superCls | superCls
                allSubclassesDo: [:cls |
                    cls isSystemDefined
                        ifFalse: [cls removeFromSystem].
                    cls := nil]].
    Smalltalk garbageCollect.
     (MCPackage named: 'SMLoader') unload.
    TheWorldMenu removeObsolete. "this clear obsoletes for SMLoader".
    SmalltalkImage current fixObsoleteReferences.
 (MCPackage named: 'SMBase') unload.
    SmalltalkImage current fixObsoleteReferences.
(MCPackage named: 'Flash') unload.
    FileServices removeObsolete. "this clear obsoletes for Flash".
    SmalltalkImage current fixObsoleteReferences.
    (MCPackage named: 'StarSqueak') unload.
    SmalltalkImage current fixObsoleteReferences.
    (MCPackage named: 'Speech') unload.
    DataStream initialize.
    SmalltalkImage current fixObsoleteReferences.
   
   
    SystemOrganization removeEmptyCategories.
    Smalltalk garbageCollect.
    ScheduledControllers := nil.
    Behavior flushObsoleteSubclasses.
    3 timesRepeat: [Smalltalk garbageCollect].
SystemVersion current registerUpdate: SystemVersion current highestUpdate +
1.
    newVersion := '3.10alpha' , highestUpdate printString.

    SystemVersion newVersion: newVersion.
    SmalltalkImage current snapshot: true andQuit: false


Could all agree on grow MinimalMorphic to this setup or some what all work
on ?
I send a proposal to have all Test in one package for easy load/download ,
you got it ?

Edgar


__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar

Reply | Threaded
Open this post in threaded view
|

Re: MinimalMorphic report

Milan Zimmermann-2
In reply to this post by Pavel Krivanek
Hi Pavel,

As a test, I followed your instructions, after step 3) I was first getting
messages into the bottom panel, then obtained:

        - UndefinedObject>>includes:
        - UndefinedObject>>remove:
        - UndefinedObject>>nextPut:
        - UndefinedObject>>isEmpty:
        - UndefinedObject>>position:
        - UndefinedObject>>indexable:
        - UndefinedObject>>do:

I do not know if it makes sense, but for things to proceed, I added those
methods to Object (with somewhat randomly resonable content, such that
returning true for isEmpty).

The nice thing is that, I ended up with Squeak with user interface that seems
basically function, but I assume that is no surprise :)

I have several questions, naive, but let me go through them:

        - First of all when you did the load, did you get the same list
of "Undefined", and what did you do to resolve?

        - What is the process you used to arrive at the combination
of "KernelImage+MinimalMorphicLoader.mcz"? I imagine you started with 3.9 and
kept removing things from Squeak, but removing Morphic, at some point such
process would cut away your user interface, at which point things would go
crazy. So perhaps you have some sort of Workspace program that you "do-it"
and it runs the unload?( in which case it may not matter that the user
interface is being removed) Is it something like that?

        - Also, unload is one thing, but how do you then create
the "MinimalMorphicLoader.mcz", is it that you capture the changeset during
the unload, and then convert it to MCZ?

        - Looking at the result, there are some things missing, for example I do not
see Flaps in the Yellow-click->World Menu, so i assume, that you count flaps
to be part of eToys rather then Morhic. Do you have some guidelines that
define which objects and methods are part of Morphic versus eToys ?

        - When playing with the result, I obtained some errors, for example, when
setting fonts and somehow moving the mouse in a particular way, I get:

                MessageNotUnderstood: UndefinedObject>>at:ifPresent:

        Are you interested in reporting those problems on Mantis?

Thanks Milan

On 2006 November 26 09:22, Pavel Krivanek wrote:

> Hi all,
>
> I'm slowly working on MinimalMorphic cleanup. The latest version
> (MinimalMorphicLoader-pk.17.mcz) has now 48 unimplemented methods.
> I've got an experimental image that has 24 unimplemented methods it
> needs some cleanup in the KernelImage code.
>
> How to build the image:
> 1) load http://www.comtalk.net/Squeak/uploads/98/KernelImage-MC-7067.zip
> 2) maximize the window evaluate code
> ((MCHttpRepository location: 'http://squeaksource.com/KernelImage'
> user: '' password: '') loadVersionFromFileNamed:
> 'MinimalMorphicLoader-pk.17.mcz') load.
> 3) evaluate MinimalMorphicLoader load
>
> You may report bugs on Mantis in project Squeak Packages, category
> MinimalMorpnic.
> In the beginning some DNUs are common because of missing last events etc.
>
> -- Pavel