On 2010-03-18, at 12:35 AM, Stéphane Ducasse wrote:

> Thanks.
> I will publish what I did and we can iterate from here.
> 
> I have 
>       isUnix
>       isRiscOS
>       isMacOS
>       isWin32
>       isWin32CE
> 
> And I imagine that I will need 
>       isMacOS9
>       isMacOSX

isMac

isiPhone
        "Answer true if running on iPhone"

        ^ (self platformName = 'iPhone') 

So one of two things can happen here 

(1) that you retain the isMacOS9 and isMacOSX to retain the existing usage 
where we have an OS9 codebase and a OS-X subclassed codebase.

(2)  Or  you drop OS9 completely and folded the OSX & OS9 into a
single class. 

Personally I think folding the classes together is a better choice since a 
closure based image won't run on OS9.


>> What is the significance of version 1030?
> 
> Yes this was my question?

In that case the behavior of the operating system was different between 10.0 
and 10.3 versus 10.3 onwards. So 
to make the tests past on 10.2 it had to be different from what happens when 
you run 10.4

--
===========================================================================
John M. McIntosh <[email protected]>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================




Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to