[Mono-winforms-list] Remove horrible MONO_MWF_USE_CARBON_BACKENDenv vars

Geoff Norton gnorton at novell.com
Tue Jan 22 14:31:48 EST 2008


I've updated the mcs portion of the patch with a little hacklet  
comment about that; and added in MONO_MWF_MAC_FORCE_X11 env var for  
people that want to work on / support that behaviour.

-g
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mcs.diff
Type: application/octet-stream
Size: 8114 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20080122/dbab6f0f/attachment-0001.obj 
-------------- next part --------------


On 22-Jan-08, at 2:03 PM, Sebastien Pouliot wrote:

> Hey,
>
> Hmm... it's a kind of hackish way to call (well marshal) uname
> (sysname). It's worth a littl'comment IMO.
>
> Otherwise I think it's a good idea to drop, by default, the need for  
> an
> environment variable :)
>
> Sebastien
>
> On Tue, 2008-01-22 at 13:46 -0500, Geoff Norton wrote:
>> Attached is a few patches (1 against mcs for Sys.D and MWF; 1 against
>> gdi+) that does a few things:
>>
>> #1 Properly determine dpi on the mac
>> #2 Remove all usage of MONO_MWF_USE_CARBON_BACKEND and refactor it to
>> using uname os detection
>> #3 Remove all usage of MONO_MWF_USE_COCOA_BACKEND as its deprecated,
>> unsupported and unworking.
>>
>> This changes the default behaviour to use the carbon backend on the
>> mac in all cases.  Thoughts?  Comments?
>>
>> We could possible provide a env override to force back to X11 on the
>> mac, but since we dont work on 10.5 anyways (x11) I'm not sure how
>> much value there is in this.
>>
>> I'll be commiting tomorrow unless people have objections.
>>
>> ps> tested on Leopard x86, Leopard ppc, openSUSE 10.3 x86_64; no
>> regressions
>>
>> -g
>>
>> _______________________________________________
>> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>



More information about the Mono-winforms-list mailing list