Launching a squeak image from the shell on mac

John M McIntosh johnmci at smalltalkconsulting.com
Mon Jul 28 21:24:55 UTC 2003


Right I've fixed it by using a spin lock to throttle access to the  
array until squeak can grab the pending drag&drop event. That will go  
into a pending 3.6, folks can ask me for an early copy...

I'll also look at the argc/v issue too.


On Monday, July 28, 2003, at 01:22  PM, John M McIntosh wrote:

> Ha, it's not bug, just an implementation issue. Seems when you open  
> the application it then sends open apple events for each document,  
> versus one open requests for that list of files. That then triggers an  
> implementation issue since we stuff each file name into an array and  
> we have a race condition between the reading of that data, and the  
> writting of that data. Mmm oh well I guess it's a bug. I'll look at  
> fixing in 3.6
>
>
> On Monday, July 28, 2003, at 12:57  PM, John M McIntosh wrote:
>
>> Try this
>>
>> open -a /Users/johnmci/Documents/Squeak3.5.0/build/Squeak\  
>> 3.5.2Beta1.app /Users/Shared/Squeak3.5a-5180\  
>> Folder/Squeak3.5-MacOS-Full/temp2.image *.c
>>
>> Mmm actually this has a bug in it, if you've three 'c' files then it  
>> opens three text views on the same file? Didn't look to see where the  
>> problem is so I can't say if it's in the VM, or in the Smalltalk  
>> code. Guess I'll need to look tonight.
>>
>> If Squeak is running already, then the open just asks squeak to show  
>> the documents including the image via drag/drop, so you might need to  
>> determine if Squeak is already running.
>>
>> In the squeak mac VM I do get argc/argv but don't do anything with  
>> them now. Could change that for 3.6
>>
>> --
>> ====================================================================== 
>> =====
>> John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
>> Corporate Smalltalk Consulting Ltd.   
>> http://www.smalltalkconsulting.com
>> ====================================================================== 
>> =====
>>
>>
>>
>>
> --
> ======================================================================= 
> ====
> John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> ======================================================================= 
> ====
>
>
>
>
--
======================================================================== 
===
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
======================================================================== 
===



More information about the Squeak-dev mailing list