[Mono-dev] PATH: PostgreSQL Linq2Sql provider fix

2009-06-12 Thread Federico Di Gregorio
Currently it is impossible to use the DbLinqProvider and DbLinqConnectionType connection parameters with PostgreSQL because Npgsql does not like extra aguments. The attached patch fixes this. Ok to commit? federico -- Federico Di Gregorio http://people.initd.org/fog

[Mono-dev] Installing Mono on rhel and CentOS

2009-06-12 Thread APS
Hi, a customer request me to installa mono on his CentOS server. I saw that from version 2.0 distributions different from Suse are not yet released. There's some unofficial repository or the solution is to install from source code? Thanks in advance.

Re: [Mono-dev] PATH: PostgreSQL Linq2Sql provider fix

2009-06-12 Thread Jonathan Pryor
On Fri, 2009-06-12 at 10:19 +0200, Federico Di Gregorio wrote: Currently it is impossible to use the DbLinqProvider and DbLinqConnectionType connection parameters with PostgreSQL because Npgsql does not like extra aguments. The attached patch fixes this. Four comments. 1. It would likely be

Re: [Mono-dev] PATH: PostgreSQL Linq2Sql provider fix

2009-06-12 Thread Federico Di Gregorio
Il giorno ven, 12/06/2009 alle 09.32 -0400, Jonathan Pryor ha scritto: On Fri, 2009-06-12 at 10:19 +0200, Federico Di Gregorio wrote: Currently it is impossible to use the DbLinqProvider and DbLinqConnectionType connection parameters with PostgreSQL because Npgsql does not like extra

[Mono-dev] assert in mono_local_regalloc in head/trunk

2009-06-12 Thread Lucas Meijer
Hey, I'm getting this stacktrace. (embedded mono trunk, windows). If I replace the trunk dll with a mono 2.4 dll, things work fine. Here's the stacktrace. I'm hoping someone has a hunch on what might be causing this: asserts in line 1070 in mono_local_regalloc, with the following

[Mono-dev] Problem with Marshing c arrays as UnmanagedType.LPArray using SizeParamIndex when doing Native - Managed COM method calls.

2009-06-12 Thread Tom Hindle
Hi, I have implement a Managed class which implements System.Runtime.InteropServices.ComTypes.IStream (defined in mcs/class/corlib/System.Runtime.InteropServices.ComTypes/IStream.cs) When I attempt to use IStream.Write from C++ I get a System.Runtime.InteropServices.MarshalDirectiveException:

[Mono-dev] Unhandled Exception in Normalization.cs Combine()

2009-06-12 Thread Tom Philpot
The following program throws an UnhandledException when trying to normalize a series of greek characters. I’ve tested this with Mono 2.4.7 and the latest code from SVN as of about 1 week ago. The same program works fine under Visual Studio. I’m new to Unicode, but I thought I’d put this out there

Re: [Mono-dev] Problem with Marshing c arrays as UnmanagedType.LPArray using SizeParamIndex when doing Native - Managed COM method calls.

2009-06-12 Thread Tom Hindle
Robert, You patch alone (without changing cominterop_get_native_wrapper_adjusted as well) fixes my test cases. (as my test cases are doing native-managed with respect to array marshaling) Thanks Tom On Fri, 2009-06-12 at 20:08 +0200, Robert Jordan wrote: Tom Hindle wrote: When checking

Re: [Mono-dev] Problem with Marshing c arrays as UnmanagedType.LPArray using SizeParamIndex when doing Native - Managed COM method calls.

2009-06-12 Thread Zoltan Varga
That looks ok. Zoltan On Fri, Jun 12, 2009 at 8:08 PM, Robert Jordan robe...@gmx.net wrote: Tom Hindle wrote: When checking param index type (which is 1 as SizeParamIndex == 1) (about line 6778) the Array itself is being checked (byte[] pv) as m-sig has had and extra parameter