Avi Bryant puso en su mail :
> For some reason, on a MacBook Pro, the prebuilt image only works with > a unix VM - the Carbon VM never shows a window for it. > > Avi John M McIntosh puso en su mail : > I'll note the mac vm does not show the window until the first > primitiveShowHostWindowRect is made.. As I said in previous work, I saw this problem before. And a user of SqueakLight complaint for "phantom" desk patter I attach my cure for SqueakLight and , believe or not, seems cure also the Mac VM start problem for Pavel image. Slow dirty solution 1) Start the image in Unix Vm 2) Install the change set, change name as necessary, save the image 3) Start the image in Mac VM Seems work for me, some could confirm ? Edgar 419PasteUpMorph-doOneCycle.2.cs (384 bytes) Download Attachment |
In reply to this post by Pavel Krivanek
Yes,
I am using the image Squeak3.9g-7061-basicMorphic.zip and I was following the procedure on the website, and executed the following in a Workspace: #('Compression-pk.10.mcz' 'Network-pk.41.mcz' 'PackageInfo-al.6.mcz' 'Monticello-pk.309.mcz') do: [:packageName | ((MCHttpRepository location: 'http://www.squeaksource.com/ KernelImage' user: '' password: '') loadVersionFromFileNamed: packageName) load ] The install never reached the monticello package, but fails on the PackageInfo-al.6 Brian On Nov 7, 2006, at 2:05 AM, Pavel Krivanek wrote: > Hi Brian, > > can you describe your procedure more closely? BTW., monticello package > includes PackageInfo too, it's a mistake that should be removed in > next version. > > -- Pavel > > On 11/7/06, Brian Brown <[hidden email]> wrote: >> >> On Nov 6, 2006, at 4:03 PM, Pavel Krivanek wrote: >> >> > Hi all, >> > >> > here - http://www.comtalk.net/Squeak/98 - you can download special >> > package for the KernelImage that includes basic Morphic without >> eToys. >> > Prepared image is included too (6.8 MB). This image has no >> > obsoleteClasses and Undeclared. >> > >> > enjoy... >> > >> > -- Pavel >> > >> >> >> Hey Pavel, thanks alot for this work :) >> >> I was following instructions on the page you reference and I get a >> failure trying to load 'PackageInfo-al.6.mcz'; Message Not >> Understood: PackageOrganizer>>packageNamed:ifAbsent: >> >> Any thoughts? >> >> Brian >> >> >> > |
In reply to this post by Pavel Krivanek
Pavel Krivanek wrote:
> do you know what class does similar behavior in the official image? > This should probably be part of startUp code of some class. Yes. To find out who sends it I did a little hack which would dump the call stack to a file when calling World>>install and it turns out we're calling it three times in a regular startup sequence: 1) Via AutoStart>>checkForUpdates 2) Via AutoStart>>checkForPluginUpdates 3) Via ProjectLauncher>>startUp. The Right Thing (tm) to do is probably to add PasteUpMorph to the startup list and have it handle the initialization of Morphic. Cheers, - Andreas |
Andreas Raab puso en su mail :
> Yes. To find out who sends it I did a little hack which would dump the > call stack to a file when calling World>>install and it turns out we're > calling it three times in a regular startup sequence: > 1) Via AutoStart>>checkForUpdates > 2) Via AutoStart>>checkForPluginUpdates > 3) Via ProjectLauncher>>startUp. > The Right Thing (tm) to do is probably to add PasteUpMorph to the > startup list and have it handle the initialization of Morphic. > > Cheers, > - Andreas Smalltalk addToStartUpList: PasteUpMorph cure the trouble. Forget my previous mail Edgar __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar |
The Sophie team lately had a bit of fun with this, you see we used
CPlatform to resolve which platform the image is on at startup time then of course there is platform specific code that runs, say to find out the directory structure (ie where is the temp directory), what the specialized quicktime FFI is by platform, etc. Perhaps a call like CPlatform current tempDirectoryURL Now when CPlatform runs *after* PasteUpMorph then you find that PasteUpMorph triggers a draw event which perculates down and say then tries to load the freetype fonts for the macintosh, when it fact the image is starting up on a windows machine, because of course CPlatform startup hasn't run yet and that saved image on the mac is rather confused when started on windows. Thus when using addToStartUpList: beware of what you wish for. On 7-Nov-06, at 2:59 PM, Edgar J. De Cleene wrote: > Andreas Raab puso en su mail : > >> Yes. To find out who sends it I did a little hack which would dump >> the >> call stack to a file when calling World>>install and it turns out >> we're >> calling it three times in a regular startup sequence: >> 1) Via AutoStart>>checkForUpdates >> 2) Via AutoStart>>checkForPluginUpdates >> 3) Via ProjectLauncher>>startUp. >> The Right Thing (tm) to do is probably to add PasteUpMorph to the >> startup list and have it handle the initialization of Morphic. >> >> Cheers, >> - Andreas > > Smalltalk addToStartUpList: PasteUpMorph cure the trouble. > Forget my previous mail > > Edgar > > > __________________________________________________ > Correo Yahoo! > Espacio para todos tus mensajes, antivirus y antispam ¡gratis! > ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar > -- ======================================================================== === John M. McIntosh <[hidden email]> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ======================================================================== === |
In reply to this post by Andreas.Raab
On 11/7/06, Andreas Raab <[hidden email]> wrote:
> Pavel Krivanek wrote: > > do you know what class does similar behavior in the official image? > > This should probably be part of startUp code of some class. > > Yes. To find out who sends it I did a little hack which would dump the > call stack to a file when calling World>>install and it turns out we're > calling it three times in a regular startup sequence: > 1) Via AutoStart>>checkForUpdates > 2) Via AutoStart>>checkForPluginUpdates > 3) Via ProjectLauncher>>startUp. > The Right Thing (tm) to do is probably to add PasteUpMorph to the > startup list and have it handle the initialization of Morphic. > > Cheers, > - Andreas Thank you Andreas, "AutoStart initialize" solves it. StartUp of this class is disabled in the KernelImage. Your information will help us with the soulution of drawing problems of the KernelImage on Mac. -- Pavel |
In reply to this post by Brian Brown-2
Hi Brian,
this script and packages are intended for the KernelImage so you are using the wrong image. -- Pavel On 11/7/06, Brian Brown <[hidden email]> wrote: > Yes, > I am using the image Squeak3.9g-7061-basicMorphic.zip and I was > following the procedure on the website, and executed the following in > a Workspace: > > > #('Compression-pk.10.mcz' > 'Network-pk.41.mcz' > 'PackageInfo-al.6.mcz' > 'Monticello-pk.309.mcz') do: [:packageName | > ((MCHttpRepository location: 'http://www.squeaksource.com/ > KernelImage' user: '' password: '') > loadVersionFromFileNamed: packageName) load ] > > > The install never reached the monticello package, but fails on the > PackageInfo-al.6 > > > Brian > > On Nov 7, 2006, at 2:05 AM, Pavel Krivanek wrote: > > > Hi Brian, > > > > can you describe your procedure more closely? BTW., monticello package > > includes PackageInfo too, it's a mistake that should be removed in > > next version. > > > > -- Pavel > > > > On 11/7/06, Brian Brown <[hidden email]> wrote: > >> > >> On Nov 6, 2006, at 4:03 PM, Pavel Krivanek wrote: > >> > >> > Hi all, > >> > > >> > here - http://www.comtalk.net/Squeak/98 - you can download special > >> > package for the KernelImage that includes basic Morphic without > >> eToys. > >> > Prepared image is included too (6.8 MB). This image has no > >> > obsoleteClasses and Undeclared. > >> > > >> > enjoy... > >> > > >> > -- Pavel > >> > > >> > >> > >> Hey Pavel, thanks alot for this work :) > >> > >> I was following instructions on the page you reference and I get a > >> failure trying to load 'PackageInfo-al.6.mcz'; Message Not > >> Understood: PackageOrganizer>>packageNamed:ifAbsent: > >> > >> Any thoughts? > >> > >> Brian > >> > >> > >> > > > > > |
In reply to this post by Edgar J. De Cleene
I checked with Pavel and based on his recommendations I have added two
categories to the Squeak Packages project on http://bugs.impara.de/ . MinimalMorphic and KernelImage. Ken signature.asc (196 bytes) Download Attachment |
Ken Causey puso en su mail :
> I checked with Pavel and based on his recommendations I have added two > categories to the Squeak Packages project on http://bugs.impara.de/ . > MinimalMorphic and KernelImage. > > Ken Ok , I put all there. Two until now, the preferences one and restoring missed methods for MCVersionReader. The Morphic list seems dead and I have suggestions for slowly changes what hope in a future end in Etoys / Nebraska proper reload. Edgar __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar |
In reply to this post by Pavel Krivanek
I just got through reading the package universes stuff on the wiki and it
looks very nice. Why is this not used? It would take a little time to set it up initially, but once it's done it seems like it would make everything easier. It would be good to have a seaside universe, for example, instead of having to do all the downloads like now (i.e. get pier so it pulls everything, then go to monicello and upgrade every package by hand). _________________________________________________________________ Get FREE company branded e-mail accounts and business Web site from Microsoft Office Live http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/ |
J J puso en su mail :
> Why is this not used? Because people just choose ignore this super job of Lex. He eventually got tired, take a vacation of this list, and now we have he again. This time , read any what he post and follow. Edgar __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar |
In reply to this post by J J-6
"J J" <[hidden email]> writes:
> I just got through reading the package universes stuff on the wiki and > it looks very nice. Why is this not used? It would take a little > time to set it up initially, but once it's done it seems like it would > make everything easier. The main requirement is some sort of editing staff to update the entries. Someone has to do the work of putting packages on the list that work and, in principle, eventually taking off ones that do not work any longer. We can imagine various setups for the editing staff. How it works now is that anyone may edit, but the first person who edits a package name comes to be the "maintainer" for that package entry. Only the maintainer may post later updates to that entry. (I can reassign maintainers whenever that becomes an issue.) Ideally, the maintainer of a package also puts an entry in the main Squeak universe of the day. However, anyone can post entries, just like on a wiki. Info on how to do it is on the main Squeak wiki. http://minnow.cc.gatech.edu/squeak/3785 -Lex |
Free forum by Nabble | Edit this page |