Re: [Mono-dev] how to fix TextWriterTraceListener disposal problem

2011-04-14 Thread Atsushi Eno
Ah, nm, there actually wasn't any wrapper element to single log entry. I thought they were wrapped by an element for each running process. So, Flush() would mostly work. That does not solve custom trace listener, but I don't care :P Atsushi Eno (2011/04/15 12:36), Atsushi Eno wrote: > Hey, > >

Re: [Mono-dev] how to fix TextWriterTraceListener disposal problem

2011-04-14 Thread Atsushi Eno
Hey, (2011/04/15 6:31), Jonathan Pryor wrote: > On Apr 13, 2011, at 4:06 AM, Atsushi Eno wrote: >> Do you have any ideas how to solve this problem? > Is it actually a problem? :-) Sadly yes... it blocks us from creating useful WCF diagnostic xml logs. > The reason I ask is that I vaguely recall

Re: [Mono-dev] how to fix TextWriterTraceListener disposal problem

2011-04-14 Thread Jonathan Pryor
On Apr 13, 2011, at 4:06 AM, Atsushi Eno wrote: > Do you have any ideas how to solve this problem? Is it actually a problem? :-) The reason I ask is that I vaguely recall testing the same behavior under .NET at the time (circa 2002?), and .NET behaved the same way -- the stream was not flushed.

Re: [Mono-dev] Cross directory function call in Mono's build system

2011-04-14 Thread Martin Däumler
On 14.04.11 14:07, Zoltan Varga wrote: >Add a new entry to MonoRuntimeCallbacks and make the code in mini.c > initialize it to the function you want to call, then call this entry > from object.c. Hello, it works fine. Thanks a lot! With kind regards, Martin Däumler

Re: [Mono-dev] Suggestions for Visualizers please...

2011-04-14 Thread Tom Spink
On 14 April 2011 13:07, Abdul Rauf wrote: > On 12 April 2011 12:33, Abdul Rauf wrote: >> >> Hello everyone, I am participating in GSoC 11 and interested in working on >> "Debugger Visualizers". I have put up a proposal here >> (http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/

Re: [Mono-dev] String.Compare bug

2011-04-14 Thread Atsushi Eno
It is now fixed in git. If you would like to see what's inside the sausage: https://github.com/mono/mono/commit/8277f4a NET is too inconsistent on how to process \0 in Compare(), IndexOf() and LastIndexOf(). IMO We should totally switch to .NET 4's strategy to eliminate extraneous misuse of Comp

Re: [Mono-dev] Cross directory function call in Mono's build system

2011-04-14 Thread Zoltan Varga
Hi, Add a new entry to MonoRuntimeCallbacks and make the code in mini.c initialize it to the function you want to call, then call this entry from object.c. Zoltan On Thu, Apr 14, 2011 at 1:55 PM, Martin Däumler wrote: > Hello, > > I'm modifying Mono 2.6.1 and I want to call a func

Re: [Mono-dev] Suggestions for Visualizers please...

2011-04-14 Thread Abdul Rauf
On 12 April 2011 12:33, Abdul Rauf wrote: > > Hello everyone, I am participating in GSoC 11 and interested in working on > "Debugger Visualizers". I have put up a proposal here > (http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/edil/2002) > I have got some feedback and I am lo

[Mono-dev] Cross directory function call in Mono's build system

2011-04-14 Thread Martin Däumler
Hello, I'm modifying Mono 2.6.1 and I want to call a function from within function 'mono_delegate_ctor()' in source file "mono/metadata/object.c". The function to be called is a custom function defined in source file "mono/mini/mysourcefile.c" (which is already included in the build process of dir

Re: [Mono-dev] String.Compare bug

2011-04-14 Thread Nicklas Overgaard
Hi, It's now filed as bug #687444 /Nicklas On Wed, 2011-04-13 at 17:56 -0300, Rodrigo Kumpera wrote: > Please file a bug report so this bug isn't forgotten. > > On Wed, Apr 13, 2011 at 3:52 PM, Nicklas Overgaard > wrote: > Hi again, > > The previously attached patch do