Re: [Mono-dev] [PATCH] Support for AvailableFreeSpace, TotalFreeSpace, TotalSize in System.IO.DriveInfo

2009-01-08 Thread Christian Prochnow
Hi, Gonzalo Paniagua Javier schrieb: AFAIR, statvfs() is not present on some systems that we support. is there a list of systems Mono supports? statvfs() is a POSIX-conform call, it should be present on mostly every UNIX system. Even if not, i can add a configure check for statvfs() and fall

Re: [Mono-dev] [PATCH] Support for AvailableFreeSpace, TotalFreeSpace, TotalSize in System.IO.DriveInfo

2009-01-08 Thread Raja R Harinath
Hi, Christian Prochnow cpr...@seculogix.de writes: Gonzalo Paniagua Javier schrieb: AFAIR, statvfs() is not present on some systems that we support. is there a list of systems Mono supports? statvfs() is a POSIX-conform call, it should be present on mostly every UNIX system. According to

Re: [Mono-dev] [PATCH] Support for AvailableFreeSpace, TotalFreeSpace, TotalSize in System.IO.DriveInfo

2009-01-08 Thread Christian Prochnow
Hi, Raja R Harinath schrieb: According to gnulib This function is missing on some platforms: MacOS X 10.3, OpenBSD 3.8, mingw. I've changed the implementation of GetDiskFreeSpaceEx() to use statvfs() or statfs(). It falls back to guint64 MaxValue if none of these functions are

[Mono-dev] Spring fails to register assembly:// URI handler

2009-01-08 Thread Leszek Ciesielski
I have a testcase + patch for a Mono bug that breaks new (1.2.0) Spring.Net release: https://bugzilla.novell.com/show_bug.cgi?id=464235 Is this ok to commit? And could this perhaps (I know it's late...) could be added to 2.2? Regards, Leszek 'skolima' Ciesielski

[Mono-dev] Exception not carrying .Msg when thrown from IL called constructor.

2009-01-08 Thread Lucas Meijer
Excuse the verbose subjectline :) When investigating the necessary steps to get NInject to work on Mono, I found several failing tests. One category of failing tests boil down to the following behaviour. It looks like a bug to me, but I could be wrong. The attached repro program prints out

Re: [Mono-dev] Exception not carrying .Msg when thrown from IL called constructor.

2009-01-08 Thread Jb Evain
Hey, On 1/8/09, Lucas Meijer lu...@lucasmeijer.com wrote: If someone can confirm I'm not doing anything silly, and this is indeed a bug, I'll file a bugzilla on it. Yes, it's a bug. It's triggered only when the constructor is simple enough to be inlined. -- Jb Evain j...@nurv.fr

[Mono-dev] GC.Collect() CLRMono difference.

2009-01-08 Thread Lucas Meijer
Here's another one. (Unsure if these are considered ontopic. If not, please let me know) This small test program shows GC.Collect() + WeakReference working different on CLR than they do on Mono. In mono, the WeakReference is still alive after GC.Collect(), in the clr, the WeakReference is no

Re: [Mono-dev] Mono C# Serial Port problem

2009-01-08 Thread Xavi de Blas
Hello all which is the status of the serial port in MacOSX implementation? i think Shawn code is not released, and i wonder if patching mono with this patch: https://bugzilla.novell.com/show_bug.cgi?id=384227 and re-compiling Mono will work on Mac. Worked for anyone? i have no MACs around.

Re: [Mono-dev] GC.Collect() CLRMono difference.

2009-01-08 Thread Sunny
On Thu, Jan 8, 2009 at 10:33 AM, Lucas Meijer lu...@lucasmeijer.com wrote: Here's another one. (Unsure if these are considered ontopic. If not, please let me know) This small test program shows GC.Collect() + WeakReference working different on CLR than they do on Mono. In mono, the

Re: [Mono-dev] GC.Collect() CLRMono difference.

2009-01-08 Thread Sunny
On Thu, Jan 8, 2009 at 11:45 AM, Sunny slon...@gmail.com wrote: According to this: http://msdn.microsoft.com/en-us/library/system.weakreference(VS.80).aspx IsAlive becomes false after the finalizer is done. It may be so, that under mono your call to IsAlive is made before the finalizer is

Re: [Mono-dev] GC.Collect() CLRMono difference.

2009-01-08 Thread Robert Jordan
Sunny wrote: On Thu, Jan 8, 2009 at 11:45 AM, Sunny slon...@gmail.com wrote: According to this: http://msdn.microsoft.com/en-us/library/system.weakreference(VS.80).aspx IsAlive becomes false after the finalizer is done. It may be so, that under mono your call to IsAlive is made before the

Re: [Mono-dev] How to run C# DotNet 2.x windows service on Mac OS X?

2009-01-08 Thread pablosantosl...@terra.es
It works on Mac. Problem with mono-service (all platforms) is that it creates a different app domain, and it's been really tough for us since for some reason we end up with huge memory leaks. We're still trying to isolate a test case, but seems impossible outside our app. Once you get rid of

Re: [Mono-dev] GC.Collect() CLRMono difference.

2009-01-08 Thread BGB
- Original Message - From: Sunny slon...@gmail.com To: mono-devel-list@lists.ximian.com Sent: Friday, January 09, 2009 3:50 AM Subject: Re: [Mono-dev] GC.Collect() CLRMono difference. On Thu, Jan 8, 2009 at 11:45 AM, Sunny slon...@gmail.com wrote: According to this:

Re: [Mono-dev] GC.Collect() CLRMono difference.

2009-01-08 Thread Rodrigo Kumpera
On Thu, Jan 8, 2009 at 6:05 PM, BGB cr88...@hotmail.com wrote: - Original Message - From: Sunny slon...@gmail.com To: mono-devel-list@lists.ximian.com Sent: Friday, January 09, 2009 3:50 AM Subject: Re: [Mono-dev] GC.Collect() CLRMono difference. On Thu, Jan 8, 2009 at 11:45 AM,

Re: [Mono-dev] [PATCH] Support for AvailableFreeSpace, TotalFreeSpace, TotalSize in System.IO.DriveInfo

2009-01-08 Thread Andreas Färber
Hi, Am 08.01.2009 um 10:49 schrieb Christian Prochnow: statvfs() is a POSIX-conform call, it should be present on mostly every UNIX system. It is part of the XSI extension, i.e. non-mandatory. Cf. http://www.opengroup.org/onlinepubs/009695399/functions/statvfs.html Andreas Even if not, i

Re: [Mono-dev] GC.Collect() CLRMono difference.

2009-01-08 Thread BGB
- Original Message - From: Rodrigo Kumpera To: BGB Cc: mono-devel-list Sent: Friday, January 09, 2009 6:44 AM Subject: Re: [Mono-dev] GC.Collect() CLRMono difference. On Thu, Jan 8, 2009 at 6:05 PM, BGB cr88...@hotmail.com wrote: - Original Message -