Ah memories. That is "Oh is this running on a macintosh, if so then is it running on OSX versus OS 9?"
However I will point out that there is no way to run a pharo image on OS 9
because I've never built a Closure VM for that version of the operating system.
So looking at
FreeTypeFontProvider>>platformAbsoluteDirectories
you can dispose of the check for os-x since it will always be os-x if the
platform is macintosh
HostSystemMenuMacOSX>>isActiveHostMenuProxyClass
is still required since it's a subclass of the OS-9 behaviour.
HostSystemMenusTest
I note it won't trigger the OS-9 code, so you *could* remove those like in
testCommandIDMacOnly
" (SmalltalkImage current osVersion asNumber < 1000)
ifTrue: [^self].
"
but the
(SmalltalkImage current osVersion asNumber >= 1000 and: [SmalltalkImage
current osVersion asNumber < 1030])
still is valid.
testCountsMacOnly
has (SmalltalkImage current osVersion asNumber >= 1000)
The JapaneseEnvironment & KoreanEnvironment seem to be deciding if os-x
thenUTF8 fonts
Ffenestri
of course was written for os-9 and os-x, so there is os-9 and os-x
flavors/subclasses to decide on.
MacOSXPlatform>>isActivePlatform
confirms that it's osx, mind there is no os-9 flavour, so checking for os-x is
kinda pointless.
On 2010-03-17, at 1:43 PM, Stéphane Ducasse wrote:
> John
>
> Do you know the meaning of that
> Smalltalk isMacOS ifTrue: [ Smalltalk osVersion asNumber >= 1000]
> that I turn it into a nice message?
>
> Stef
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
===========================================================================
John M. McIntosh <[email protected]> Twitter: squeaker68882
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
===========================================================================
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
