Mac Carbon VM 3.8.15b5 pending

Bruce O'Neel squeak at pckswarms.ch
Wed Mar 28 09:13:16 UTC 2007


Hi,

The only reason why I suspect a VM problem is that Windows, OpenBSD big endian, Linux little endian, Mac PPC and Mac Intel running the PPC VM all get the same display.  The only one which is different is the Mac Intel running the universal binary.

Is it possible that the problem is in  Squeak3D/b3dTypes.h?

/* An ugly hack but I can't find the global defs in CodeWarrior on the Mac */
#ifndef LSB_FIRST
        #define MSB_FIRST
#endif

#ifndef MSB_FIRST
        #define RED_INDEX 0
        #define GREEN_INDEX 1
        #define BLUE_INDEX 2
        #define ALPHA_INDEX 3
#else   
        #define ALPHA_INDEX 0
        #define BLUE_INDEX 1
        #define GREEN_INDEX 2
        #define RED_INDEX 3
#endif

Though, that said, I'm not sure.

I'll try to borrow the MacBook again in the next day or so to see if I can run enough experiements to find the problem.  I get the old PPC laptop, which, I prefer, but it's hard to test.

Thanks!

cheers

bruce



----- Message d'origine -----
De: Bert Freudenberg <bert at freudenbergs.de>
Date: Wed, 28 Mar 2007 10:00:54 +0200
Sujet: Re: Mac Carbon VM 3.8.15b5  pending
À: The general-purpose Squeak developers list <squeak-dev at lists.squeakfoundation.org>
Cc: johnmci at smalltalkconsulting.com

>That may well be not a VM problem.
>
>- Bert -
>
>On Mar 28, 2007, at 9:56 , Bruce O'Neel wrote:
>
>> Hi,
>>
>> Yea, sorry, that was a horrible description of the glitch.
>>
>> Yes, what I see is that only on B3D surfaces does yellow not show up.
>> The colors normally are just perfect.
>>
>> Thanks!
>>
>> cheers
>>
>> bruce
>>
>> ----- Message d'origine -----
>> De: John M McIntosh <johnmci at smalltalkconsulting.com>
>> Date: Tue, 27 Mar 2007 09:30:12 -0700
>> Sujet: Re: Mac Carbon VM 3.8.15b5  pending
>> À: "Bruce O'Neel" <squeak at pckswarms.ch>
>> Cc: The general-purpose Squeak developers list <squeak- 
>> dev at lists.squeakfoundation.org>
>>
>>> Actually if you click on appeaarance and set the window or desktop
>>> color you'll see the colors in the color picker *are* the same.
>>> But what is going on here is that the application is calculating a
>>> Balloon 3D surface, however something is wrong somewhere so the
>>> surface colors aren't the same between the two platforms.
>>>
>>> Someone would have to dig deeper to understand why the colors are not
>>> correct.
>>>
>>> On Mar 27, 2007, at 8:55 AM, Bruce O'Neel wrote:
>>>
>>>> Hi,
>>>>
>>>> There seems to be a small problem with yellow on intel macs only,  
>>>> with
>>>> Squeak 3.8.15beta1U from the FTP site.
>>>>
>>>> If you download http://earth.pckswarms.ch/
>>>> earthSwarms-1.0_Mac.dmg.gz and run it on a PPC system then the
>>>> mountain peaks will be yellowish/brownish, but,
>>>> on an intel mac the mountain peaks will be purblish/bluish.  As you
>>>> push the
>>>> button labeled topography until it says cloud fraction, it's  
>>>> different
>>>> yellows on a PPC but all white on an Intel mac.
>>>>
>>>> The PPC behavior is the same as Linux and Windows.
>>>>
>>>> Thanks very much for all your work on the Mac VM!
>>>>
>>>> cheers
>>>>
>>>> bruce
>>>>
>>>> ----- Message d'origine -----
>>>> De: John M McIntosh <johnmci at smalltalkconsulting.com>
>>>> Date: Sat, 10 Mar 2007 16:32:23 -0800
>>>> Sujet: Mac Carbon VM 3.8.15b5  pending
>>>> À: The general-purpose Squeak developers list <squeak-
>>>> dev at lists.squeakfoundation.org>
>>>>
>>>>> I've pushed out a 3.8.15b5 to address an error in the 3.8.15b4 VM
>>>>> with the new browser plugin interface and firefox.
>>>>>
>>>>> http://www.smalltalkconsulting.com/squeak.html
>>>>>
>>>>> I added three new features. One is SqueakDebug setting in the VM  
>>>>> and
>>>>> browser plugin to enable you to print some
>>>>> diagnostics messages for the browser interface and module loading,
>>>>> I'll add more message in the future.
>>>>>
>>>>> The second is a SqueakQuitOnQuitAppleEvent flag that is used to  
>>>>> quit
>>>>> the VM immediately if we get the quit event, which happens
>>>>> when a user logs out. Likely this is the wrong choice, still for
>>>>> people doing vertical apps you need someone to prevent the VM from
>>>>> cancelling the logout process.  MIT's Scratch will use this  
>>>>> feature.
>>>>>
>>>>> Finally I altered the logic when we look at the edit menu 'Quit do
>>>>> not save' If the application has used the VM's builtin feature
>>>>> to modify the mac menus then they might have changed the menu item
>>>>> from 'Quit do not save' to perform Foobar.
>>>>>
>>>>>
>>>>> 3.8.15b5
>>>>> 			squeakBrowser-info.plist 	add SqueakDebug parm (1) debug  
>>>>> msgs, (0)
>>>>> no debug msgs
>>>>>
>>>>> 			npsqueak.c		streamline context usage a bit, make local var  
>>>>> versus
>>>>> on structure
>>>>> 							add logic to print msgs based on info.plist
>>>>>
>>>>> 			sqMacMain.c		Add SqueakDebug parm (1) debug msgs, (0) no debug
>>>>> msgs
>>>>> 							debug messages for browser interface, and module loading
>>>>> 							Add SqueakQuitOnQuitAppleEvent, true if we should quit
>>>>> immediately if
>>>>> 							operating system sends us quit msg, as a result of logout.
>>>>> Normally false.
>>>>>
>>>>> 			sqMacUIAppleEvents.c	If you logout we get a quit apple event  
>>>>> msg,
>>>>> normally we ignore,
>>>>> 							unless SqueakQuitOnQuitAppleEvent is set.
>>>>>
>>>>> 			sqMacUIEventsUniversal.c  If the user picks edit menu, item one,
>>>>> actually check to see if
>>>>> 							the string is "Quit do not save", if so then quit, otherwise
>>>>> pass revised menu
>>>>> 							choice to Smalltalk.
>>>>>
>>>>> 			sqMacUnixExternalPrims.c	Look to SqueakDebug for msg printing
>>>>>
>>>>> 		
>>>>> 			sqMacWindowUniversal.c	Look to SqueakDebug for msg printing,  
>>>>> mind
>>>>> file does not print any msgs yet
>>>>>
>>>>> --
>>>>> =================================================================== 
>>>>> ==
>>>>> ===
>>>>> ===
>>>>> John M. McIntosh <johnmci at smalltalkconsulting.com>
>>>>> Corporate Smalltalk Consulting Ltd.  http://
>>>>> www.smalltalkconsulting.com
>>>>> =================================================================== 
>>>>> ==
>>>>> ===
>>>>> ===
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>> --
>>> ===================================================================== 
>>> ===
>>> ===
>>> John M. McIntosh <johnmci at smalltalkconsulting.com>
>>> Corporate Smalltalk Consulting Ltd.  http:// 
>>> www.smalltalkconsulting.com
>>> ===================================================================== 
>>> ===
>>> ===
>>>
>>>
>>>
>>>
>>
>
>
>
>
>



More information about the Squeak-dev mailing list