[Mono-devel-list] problems wih decimal on cygwin

2005-07-06 Thread Konstantin Triger
Hello, I run the following code on cygwin: decimal d1 = 0; decimal d = d1 / 1M; Console.WriteLine( d 0 ); decimal d2 = 1; decimal d3 = d2 + d; Console.WriteLine( d3 ); and the output it produces is: True Unhandled Exception: System.OverflowException: Overflow on

Re: [Mono-devel-list] problems wih decimal on cygwin

2005-07-06 Thread Atsushi Eno
Hi Kosta, Maybe the same or similar bug as #71287? http://bugzilla.ximian.com/show_bug.cgi?id=71287 Atsushi Eno Konstantin Triger wrote: Hello, I run the following code on cygwin: decimal d1 = 0; decimal d = d1 / 1M; Console.WriteLine( d 0 ); decimal d2 = 1;

[Mono-devel-list] [PATCH] Fix null reference exceptions in System.Data.DataView

2005-07-06 Thread Marc Haisenko
Hi folks, I just noticed that a bug in DataView.cs is still/again present in the current revision (r46988, svn://svn.myrealbox.com/source/trunk/mcs/) The problem is that a variable, rowCache, is often set to null but no null checks are done. That way a fresh instance of DataView throws a

Re: [Mono-devel-list] problems wih decimal on cygwin

2005-07-06 Thread Konstantin Triger
Hi Eno, I think not: In the reported bug mono divides exactly, while in .Net the result is rounded. I have a situation when the result is wrong (0/x != 0) and an exception is thrown. When I test it with mono 2.0 it works correctly. I also suppose that on linux the issue will disappear.

Re: [Mono-devel-list] problems wih decimal on cygwin

2005-07-06 Thread Atsushi Eno
Then bugzilla is the way to go ;-) Atsushi Eno Konstantin Triger wrote: Hi Eno, I think not: In the reported bug mono divides exactly, while in .Net the result is rounded. I have a situation when the result is wrong (0/x != 0) and an exception is thrown. When I test it with mono 2.0 it

[Mono-devel-list] Mono-Folks in Germany wanted

2005-07-06 Thread Jan Waiz
Hi Folks, i am a poor Developer who is trying to run an ASP.NET-Application (thats works well under VS 2003) under Mono. Of course: The Problem is still in Front of the Keyboard J I am sure, that the Mono-Stuff will work fine if the poor man know how J Problem is, that there isn´t

[Mono-devel-list] OASIS XSLT tests converted to nunit

2005-07-06 Thread Andrew Skiba
Hi Eno. I did what we talked about 2 days ago. So I converted the standalone testsuite to be an NUnit [Suite]. I did not want to support few entry points, so I made dll instead of exe (exactly as in W3C xmlconf). To create reference results on dotnet I made a separate module, generate.cs. So

[Mono-devel-list] Re: OASIS XSLT tests converted to nunit

2005-07-06 Thread Atsushi Eno
Hi Andrew, So I converted the standalone testsuite to be an NUnit [Suite]. I did not want to support few entry points, so I made dll instead of exe (exactly as in W3C xmlconf). To create reference results on dotnet I made a separate module, generate.cs. So to avoid code duplication, I took

Re: [Mono-devel-list] [PATCH] Fix null reference exceptions in System.Data.DataView

2005-07-06 Thread Konstantin Triger
Hello Marc, My view that a problem is deeper: probably we run into a situation where the DataView is not functional when it should be. Replacing the assignment of rowCache to an empty array will prevent throwing an exception, but will not solve the logical problem. Please open a bugzilla

[Mono-devel-list] Problems with Fedora Core 4 (FC4)

2005-07-06 Thread Alexandre Miguel Pedro Gomes
Hi, I've managed to rebuild everything I had in previous FC3 installation under FC4. To bootstrap I installed fc3 mono-core rpm, distclean build svn tree, then removed the rpm. Mono seems to run partially O.K. - for instance, mcs is able to build anything, helloworld-like applications work,

[Mono-devel-list] [Fwd: Re: OASIS XSLT tests converted to nunit]

2005-07-06 Thread Andrew Skiba
Am OK with that change, including the credit in README (hehe ;-) Otherwise it would look like you signed under my words. This way, at least, the responsibility is divided ;-) I'll commit the patch tomorrow, then. Thanks, Andrew. ___

[Mono-devel-list] Re: OASIS XSLT tests converted to nunit

2005-07-06 Thread Atsushi Eno
Well, look in depth ;-) +Andrew Skiba [EMAIL PROTECTED] Atsushi Eno Andrew Skiba wrote: Am OK with that change, including the credit in README (hehe ;-) Otherwise it would look like you signed under my words. This way, at least, the responsibility is divided ;-) I'll commit the patch

[Mono-devel-list] Strange behavior while enumerating font families

2005-07-06 Thread Christoph Feller
Hallo, a strange NullReferenceException occured when i used Font font = new Font(FontFamily.GenericSansSerif, 10.0f); two times in (not immediate) succession. As I couldn't isolate the source of this Exception I wrote this little Test: --

Re: [Mono-devel-list] problem with DB2Command class

2005-07-06 Thread Pablo Cardona
I'm running the process with my user account, after executing db2profile at /home/db2instl I' ve tried to running as root after executing db2profile and a different exception is thrown: Unhandled Exception: IBM.Data.DB2.DB2Exception: ERROR [08003] [IBM][CLI Driver] CLI0106E Connection is

[Mono-devel-list] dllimport and 64bits library

2005-07-06 Thread Pierre Brunet
Hi, is there anybody who has a problem when calling a C-64bits library with dllimport on a 64bits system? I've compiled this library with gcc and -fPIC -shared options without pbs. But when I launch the program using the library, I catch the System.DllNotFoundException. On a 32 bits system,

Re: [Mono-devel-list] dllimport and 64bits library

2005-07-06 Thread Zoltan Varga
Hi, Try running mono with the MONO_LOG_LEVEL=debug env var set. It will print out more detailed information about DllImport. Zoltan On 7/6/05, Pierre Brunet [EMAIL PROTECTED] wrote: Hi, is there anybody who has a problem when calling a C-64bits library

[Mono-devel-list] Profile 2.0 assembly versions

2005-07-06 Thread Kornél Pál
Hi, .NET Framework 2.0 Beta 2 assemblies have the version 2.0.0.0 while Mono's ones have 2.0.3600.0. Is there any reason to do this? Kornél ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

Re: [Mono-devel-list] Bug in System.Drawing.Graphics.DrawPie/FillPie

2005-07-06 Thread Jordi Mas
El dt 05 de 07 del 2005 a les 14:06 +0200, en/na Patrick Michel va escriure: Hello! While using the System.Drawing package we found the following bug: Graphics.DrawPie(...) and Graphics.FillPie(...) both draw lines in the correct angles, but the ark always starts at 0. For the fill

Re: [Mono-devel-list] Bug in System.Drawing.Graphics.DrawPie/FillPie

2005-07-06 Thread Peter Dennis Bartok
Actually, I already filed a bug, #75475. Peter -Original Message- From: Jordi Mas [EMAIL PROTECTED] To: Patrick Michel [EMAIL PROTECTED] Cc: mono-devel-list@lists.ximian.com Date: Wednesday, 06 July, 2005 09:58 Subject: Re: [Mono-devel-list] Bug in

[Mono-devel-list] SetHandler not working for mod-mono ?

2005-07-06 Thread Bert_De_Ridder
Hi, all, I'm running Apache 2 on SuSE Linux 9.0 and I'm trying to make mod_mono work. I have already had succes with it on SuSE 9.3 without Apache virtual host. However, somehow on the 9.0 the handler seems to be bypassed. When I request a page index.aspx, I get the content of the file,

Re: [Mono-devel-list] Profile 2.0 assembly versions

2005-07-06 Thread Bas Westerbaan
If I`m correct the other .net framework beta's had other versions; they weren't consistent. Although I guess the version numbers should follow microsoft's. On 7/6/05, Kornél Pál [EMAIL PROTECTED] wrote: Hi, .NET Framework 2.0 Beta 2 assemblies have the version 2.0.0.0 while Mono's ones

Re: [Mono-devel-list] make test error

2005-07-06 Thread Toan Ly
Thank you, when I make test, it compiled. However, when I make run-test I got thefollowing error $ make run-testok=:; make run-test-recursive || ok=false; make run-test-local || ok=false; $okmake[1]: Entering directory `/monosrc/mcs/mbas'make[2]: Entering directory