Re: [Mono-dev] [Gtk-sharp-list] Gtk depends on Winform s ¿?

2009-09-09 Thread Stefanos A.
Την Wed, 09 Sep 2009 23:14:07 +0300,ο(η) Christian Hoff έγραψε: > Bingo! It's the foster window that enables theming. At least it worked > on a XP machine at school which I contaminated with Gtk# :-) . I > attached the new test application which should now work at least on XP > (the visual styl

Re: [Mono-dev] [PATCH] Calling COM methods with delegates

2009-09-09 Thread Zoltan Varga
Looks ok. Zoltan On Wed, Sep 9, 2009 at 11:19 PM, Bill Holmes wrote: > Hi, > > The attached patch fixes a bug with calling a COM method using a > delegate. I have also added a unit test for this bug. > > 2009-09-09 Bill Holmes > >* object.c (mono_object_get_virtual_method) :

[Mono-dev] [PATCH] Calling COM methods with delegates

2009-09-09 Thread Bill Holmes
Hi, The attached patch fixes a bug with calling a COM method using a delegate. I have also added a unit test for this bug. 2009-09-09 Bill Holmes * object.c (mono_object_get_virtual_method) : Call mono_cominterop_get_invoke if the object is a COM object. * mini-tra

Re: [Mono-dev] [Gtk-sharp-list] Gtk depends on Winform s ¿?

2009-09-09 Thread Christian Hoff
Christian Hoff wrote: Stefanos A. wrote: Την Wed, 09 Sep 2009 18:05:42 +0300,ο(η) Christian Hoff έγραψε: I would really appreciate some feedback from the community as to whether the new approach works (that is, if the attached application appears with visual styles enabled). Just rep

Re: [Mono-dev] Compacting GC

2009-09-09 Thread Diego Frata
Miguel, This build option hasn't been working for a while when compiling from trunk. Did anyone fix it recently? Diego Frata diego.fr...@gmail.com On Wed, Sep 9, 2009 at 1:30 PM, Miguel de Icaza wrote: > Hello, > > > Is is possible to try the upcoming compacting GC? Is it in a status > > clos

Re: [Mono-dev] libtool blowing up

2009-09-09 Thread Mark Mason
Hello, I tried reverting that change -- no luck. It's still blowing up. /Mark On Sep 9, 2009, at 7:45 AM, Zoltan Varga wrote: Hi, Try reverting this: http://lists.ximian.com/pipermail/mono-patches/2009-September/156282.html Zoltan On Wed, Sep 9, 2009 at 4:23 PM, Mark Mason

Re: [Mono-dev] Mono SVN doesn't build on Mac OSX Snow Leopard

2009-09-09 Thread Miguel de Icaza
Hello, > The primary reason seems to be that the default version of gcc on Snow > Leopard, 4.2.1, no longer defines __i386__. gcc 4.2.1 defines __x86_64__. In general, and moving forward, we should stop using the GCC __platform__ macros, and instead use TARGET_ defines. This is becoming mor

Re: [Mono-dev] Compacting GC

2009-09-09 Thread Miguel de Icaza
Hello, > Is is possible to try the upcoming compacting GC? Is it in a status > close to be usable? You can try it, but it is not finished. Compile Mono with: ./configure --with-gc=sgen Miguel ___ Mono-devel-list mailing list Mono-devel-list@

Re: [Mono-dev] [Gtk-sharp-list] Gtk depends on Winform s ¿?

2009-09-09 Thread Christian Hoff
Stefanos A. wrote: > Την Wed, 09 Sep 2009 18:05:42 +0300,ο(η) Christian Hoff > έγραψε: > >> I would really appreciate some feedback from the community as to whether >> the new approach works (that is, if the attached application appears >> with visual styles enabled). Just reply with a screenshot

Re: [Mono-dev] [Gtk-sharp-list] Gtk depends on Winform s ¿?

2009-09-09 Thread Jonathan Pobst
Stefanos A. wrote: > Την Wed, 09 Sep 2009 18:05:42 +0300,ο(η) Christian Hoff > έγραψε: > >> I would really appreciate some feedback from the community as to whether >> the new approach works (that is, if the attached application appears >> with visual styles enabled). Just reply with a screensh

Re: [Mono-dev] [Gtk-sharp-list] Gtk depends on Win forms ¿?

2009-09-09 Thread Tom Spink
Hi Stefanos, 2009/9/9 Stefanos A. : > What magic sauce is Application.DoEvents using? I wonder if it is > performing any static initialization (static constructors and/or fields). That is what I thought, so I went on a hunt... but couldn't find anything conclusive. I paid particular attention to

Re: [Mono-dev] [Gtk-sharp-list] Gtk depends on Winform s ¿?

2009-09-09 Thread Stefanos A.
Την Wed, 09 Sep 2009 18:05:42 +0300,ο(η) Christian Hoff έγραψε: > I would really appreciate some feedback from the community as to whether > the new approach works (that is, if the attached application appears > with visual styles enabled). Just reply with a screenshot of the running > app on X

Re: [Mono-dev] Gtk depends on Winforms ¿?

2009-09-09 Thread Leszek Ciesielski
Unfortunately, the button does not appear to use native themes on my WinXP machine (SP3, GTK# installed with Mono 2.4.2.3). On Wed, Sep 9, 2009 at 5:05 PM, Christian Hoff wrote: > Hi folks, > > as you may have noticed, old Gtk# versions (< 2.12.8) did not use XP's > visual styles. Later versions h

Re: [Mono-dev] Gtk depends on Winforms ¿?

2009-09-09 Thread Christian Hoff
Hi folks, as you may have noticed, old Gtk# versions (< 2.12.8) did not use XP's visual styles. Later versions have a workaround: they call System.WIndows.Forms.Application.DoEvents which seems to enable XP's theming. This workaround is far from optimal as it created a Winforms dependency.

Re: [Mono-dev] libtool blowing up

2009-09-09 Thread Zoltan Varga
Hi, Try reverting this: http://lists.ximian.com/pipermail/mono-patches/2009-September/156282.html Zoltan On Wed, Sep 9, 2009 at 4:23 PM, Mark Mason wrote: > Hello, > > I just upgraded to ToT of svn, and now libtool is blowing up on > Debian/MIPS. Any pointers anyone? > > Thanks, >

[Mono-dev] BinaryReader does not reset decoder

2009-09-09 Thread Martin Dvořák
Hi, While looking at the source code of System.IO.BinaryReader [1] I noticed it reuses char decoder and I'm just wondering whether it is ok that the BinaryReader does not reset its internal state before the loop in ReadString method. What if the code fails e.g. on line 498 (sb.Append...) while the

[Mono-dev] libtool blowing up

2009-09-09 Thread Mark Mason
Hello, I just upgraded to ToT of svn, and now libtool is blowing up on Debian/MIPS. Any pointers anyone? Thanks, Mark CC mono-stdlib.lo CC mono-property-hash.lo CC mono-value-hash.lo LD libmonoutils.la /home/mason/mono-svn/mono/mono/utils/../../libtool: line 759: X--tag=CC: c

Re: [Mono-dev] [patch] coreclr fix for internal calls

2009-09-09 Thread Rodrigo Kumpera
LGTM On Tue, Sep 8, 2009 at 11:23 AM, Sebastien Pouliot < sebastien.poul...@gmail.com> wrote: > Hello, > > Here's a patch to throw SecurityException (unlike p/invokes > MethodAccessException) for internal calls defined outside platform code. The > patch also tries to reduce some code duplication