[Mono-dev] [PATCH] Searching for Monodoc

2005-09-01 Thread Mario Sopena
Hey, A patch that I promised to send some time ago. The patch would require that you download my own stripped version of Lucene from here[1]. That version is just the Lucene you can download from http://www.dotlucene.net/ but modified to be in a Monodoc.Lucene... namespace, which let us keep

[Mono-dev] Behavior question / possible patch for NameValueCollection

2005-09-01 Thread Peter Williams
Hello all, In the process of tracking down an XSP crash I ran into what I *think* is a misbehavior in the current implementation of NameValueCollection. From my reading of the MSDN documentation, if you Add (foo, null) to a collection, the null value should get stored. The attached simple patch

[Mono-dev] ** ERROR **: file exceptions-ia64.c:

2005-09-01 Thread Kevin
Jonathan, thanks for the tip on monolite. I should have read more of the README myself. I am now facing an assertion problem and was wondering whether anyone came across the following? ** ERROR **: file exceptions-ia64.c: line 581 (mono_arch_handle_exception): assertion failed: (res = 0)

Re: [Mono-dev] [PATCH] mcs.exe rsp file support

2005-09-01 Thread Miguel de Icaza
Hello, using System.Windows.Forms; class TV : Form { public static void Main() { } } Compile time went up 0.01s at the most (often less, in multiple runs) for the above code, when all assemblies were referenced, compared to just /r:System.Windows.Forms.dll

Re: [Mono-dev] Why is UnmanagedType_80 required?

2005-09-01 Thread Raja R Harinath
Hi, Raja R Harinath [EMAIL PROTECTED] writes: Kornél Pál [EMAIL PROTECTED] writes: According to my experiences using no ArraySubType has the same result as ArraySubType = (UnmanagedType)80 on mcs and csc.exe as well. Could someone tell me please why UnmanagedType_80 is required? There was

[Mono-dev] [PATCH] Searching for Monodoc

2005-09-01 Thread Mario Sopena
Hey, A patch that I promised to send some time ago. The patch would require that you download my own stripped version of Lucene from here[1]. That version is just the Lucene you can download from http://www.dotlucene.net/ but modified to be in a Monodoc.Lucene... namespace, which let us keep

Re: [Mono-dev] mcs patch for preprocessor directive

2005-09-01 Thread Atsushi Eno
Here is a patch that contains some preprocessor fixes: - It didn't report expected location (tiny fix). - When -langversion:ISO-1 is specified, #pragma directive is always checked, even when it is actually disabled by #if directive. (Because of this bug,

[Mono-dev] .spec files?

2005-09-01 Thread Paul
Hi, Anyone know where on the Mono website I can find the .spec files for the packages? I'd like to get some rpms up. TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at Liverpool we always said we had the best

Re: [Mono-dev] __ComObject should not be public

2005-09-01 Thread Sebastien Pouliot
On Wed, 2005-31-08 at 12:55 +0200, Kornél Pál wrote: We have a public __ComObject in mscorlib. This is wrong. MS.NET has a __ComObject but it's internal. If there is some reason to have Mono a __ComObject as well we should mark it as internal. IIRC (have a look at the ChangeLog) it wasn't

Re: [Mono-dev] [PATCH] Add default code page to build system

2005-09-01 Thread Miguel de Icaza
Hello, Please review the patch and approve it if it's OK. First, I would like to do a survey and find what kinds of encodings we are using on the file system, and standardize those first. Miguel ___ Mono-devel-list mailing list

[Mono-dev] [PATCH] mcs.exe rsp file support

2005-09-01 Thread Peter Dennis Bartok
Hello, Microsoft's csc.exe automatically adds everything contained in a csc.rsp file as commandline switches whenever csc is called, unless /noconfig is explicitly specified. Mono's mcs.exe does not do that, which often causes confusion, especially for people coming from a Microsoft

[Mono-dev] default_opt and aot

2005-09-01 Thread Gary Smithrud
I'm trying to get the 8/29 source tarball built on Solaris and it is core dumping when performing make check. The issue is that mono_aot_get_method is being called and aot_mutex is 0 (the coredump is occurring in LeaveCriticalSection.) It looks like that the default_opt of 0 is causing

Re: [Mono-dev] Patch for compiling System.Wen/httpApplicationFactory.cs under TARGET_J2EE

2005-09-01 Thread Gonzalo Paniagua Javier
On Mon, 2005-08-29 at 13:25 +0300, Eyal Alaluf wrote: Hi, all. The attached diff is a patch compiling for System.Web/HttpApplicationFactory.cs under the TARGET_J2EE (Grasshoper) configuration. This is ok to check in. -gonzalo ___

Re: [Mono-dev] Mono.Cairo add Cairo.Surface.WriteToPng

2005-09-01 Thread Miguel de Icaza
Hello, Another small patch for Mono.Cairo to write a surface to a png along with an example to test it with. Could you provide documentation as well? Or maybe Hisham can do it ;-) ___ Mono-devel-list mailing list

RE: [Mono-dev] Type.GetType inside of dynamic assembly

2005-09-01 Thread Jonathan S. Chambers
I had a bug in my code. I've fixed it and everything works as expected now. Sorry for the false bug. - Jon -Original Message- From: [EMAIL PROTECTED] on behalf of Robert Jordan Sent: Wed 8/31/2005 4:32 AM To: mono-devel-list@lists.ximian.com

Re: [Mono-dev] ThreadAbortException during compilation path

2005-09-01 Thread Gonzalo Paniagua Javier
On Thu, 2005-08-25 at 11:08 -0400, Miguel de Icaza wrote: Hello, We have encounted an issue with CSharpCodeCompiller class. Then there is a termination of thread, that startups compilation (and waits for ExitCode), it gots ThreadAbortException and goes to finally block. But the

[Mono-dev] Mono on OSX 10.4 (Cocoa and Threading)

2005-09-01 Thread Frank Bergmann
Hello, I'm using Mono 1.1.8 happily on Linux and now thought of running my assemblies on OSX. Though I ran into two problems: 1. My application uses three threads. The main thread initializes the app and then manages a message queue. A next thread manages incoming messages over a TCPIP

Re: [Mono-dev] Type.GetType inside of dynamic assembly

2005-09-01 Thread Robert Jordan
Hi Jon, Might be a simple question, but I'll ask anyway. I have a small program that calls Type.GetType(MyType, MyAssembly). This works fine. The program references MyAssembly at compile time. I also reference another assembly (say MyAssembly2) in the executable. MyAssembly2 doesn't

Re: [Mono-dev] Mono.Cairo add Cairo.Surface.WriteToPng

2005-09-01 Thread John Luke
Hey, Miguel de Icaza wrote: Hello, Another small patch for Mono.Cairo to write a surface to a png along with an example to test it with. Could you provide documentation as well? I added docs to monodoc for this method. ___

[Mono-dev] Interest in java.awt-like Robot?

2005-09-01 Thread Jose Cornado
Guys: We have in the plans writing a Mono/Gtk Robot along the lines of java.awt.Robot for our internal consumption. We poked around VJ# but the whole java.awt.Robot class is missing which lead us to develop one for .Net/Win32. If there is interest we will turn over some of the Mono/Gtk Robot to

[Mono-dev] Mono.Cairo add Cairo.Surface.WriteToPng

2005-09-01 Thread John Luke
Hello, Another small patch for Mono.Cairo to write a surface to a png along with an example to test it with. using System; using Cairo; class T { static void Main () { Surface s = Surface.CreateForImage (Format.ARGB32, 400, 400); Graphics g = new Graphics (s); g.LineWidth = 15;

[Mono-dev] python as a debugger command language

2005-09-01 Thread Zoltan Varga
Hi, One of the MS debugger devs wrote an interesting blog entry about embedding IronPython into their managed debugger sample: http://blogs.msdn.com/jmstall/archive/2005/08/31/Mdbg_Python_ext.aspx

Re: [Mono-dev] AIX / Mono System Requirements

2005-09-01 Thread Zoltan Varga
Hi, Mono has not been ported to AIX. The interpreter might work but it is not supported at all. So you are way better off using linux. Zoltan On 8/31/05, Bernhard Herzog [EMAIL PROTECTED] wrote: Hi, I have a newbie question about Mono

[Mono-dev] Bug Day

2005-09-01 Thread Paul F. Johnson
Hi, We had some good movement on this, but the idea seems to have gone dead. Are we going to have a Gnome style bug splatting day on the 3rd or 10th Sept? TTFN Paul -- A lot of football success is in the mind. You must believe you are the best and then make sure that you are. In my time at

[Mono-dev] Nemerle Language Forum Courses

2005-09-01 Thread Alejandro Serrano
Hi, For every who doesn't know it, Nemerle (http://nemerle.org) is a object-oriented powerful language that targets the CLR (better the Mono platform), and also combines some functional constructs. Type inference (that means that you don't have to write type information every time, as in C#)

Re: [Mono-dev] __ComObject should not be public

2005-09-01 Thread Kornél Pál
Hi, I've done some research on .NET Framework versions 1.0, 1.1 and 2.0 Beta 2 and all of the Service Packs of them. System.__ComObject is internal in all of them and I don't think it was public is any beta version after 1.0 was released. If it was listed in mscorlib.xml it was a bug in the

RE: [Mono-dev] Fatal Error In GC: Too Many Threads

2005-09-01 Thread JD Conley
The default in the GC for windows is to use 256 threads MAX. We should increase this. Now, the fact that you have 200+ threads running: is that by design in your app or is that a bug in itself? Is there any way I can adjust this value using an environment variable or an API somewhere? -JD

Re: [Mono-dev] Why is UnmanagedType_80 required?

2005-09-01 Thread Raja R Harinath
Hi, Raja R Harinath [EMAIL PROTECTED] writes: Raja R Harinath [EMAIL PROTECTED] writes: Kornél Pál [EMAIL PROTECTED] writes: According to my experiences using no ArraySubType has the same result as ArraySubType = (UnmanagedType)80 on mcs and csc.exe as well. Could someone tell me please

[Mono-dev] setuid() + Mono = boom

2005-09-01 Thread Peter Williams
Hi all, I'm trying to write a Mono app that starts out running as root but quickly drops privileges by calling Mono.Unix.Syscall.setuid (user_id); Unfortunately this doesn't work because the wapi layer loses its ability to read the .wapi files and very quickly asserts and kills the

Re: [Mono-dev] mono_aot_get_method, aot_mutex, and default_opt

2005-09-01 Thread Zoltan Varga
Hi, The type of aot_mutex is CRITICAL_SECTION, which is a structure, so it cannot be NULL. Try putting debug statements into mono_aot_get_method and mono_aot_init to see which one is called first. Also, you can run your program with -O=-aot to disable the AOT

Re: [Mono-dev] mono_aot_get_method, aot_mutex, and default_opt

2005-09-01 Thread Gary Smithrud
Bleep! You are right. dbx printed out that it was 0, but apparently it was confused. I will try turning off aot tomorrow (I was performing a make check before installing, so I'll try installing anyway and turning off aot.) Thanks. On Sep 1, 2005, at 6:37 PM, Zoltan Varga wrote:

[Mono-dev] patch to add Mono.Cairo.Graphics.Antialias property

2005-09-01 Thread John Luke
Hello, A small patch to add antialias settings for Mono.Cairo. Changelog included. Index: Mono.Cairo/Cairo.cs === --- Mono.Cairo/Cairo.cs (revision 49296) +++ Mono.Cairo/Cairo.cs (working copy) @@ -506,11 +506,25 @@

[Mono-dev] patch to change Mono.Cairo p/invoke to win32 name

2005-09-01 Thread John Luke
Hello, Here is a patch to p/invoke the win32 dll name so Mono.Cairo will work on .net. It didn't look like any of the assemblies in mcs are using the .dll.config's like gtk# so I added it to the mono wide one. Index: Mono.Cairo/Cairo.cs

[Mono-dev] [PATCH] add MakeGenericMethod to MethodInfo

2005-09-01 Thread Michal Moskal
Hello, The MS Aug CTP release removes BindGenericParameters/Arguments methods from System.Type and MethodInfo. Instead MakeGenericType and MakeGenericMethod should be used. Mono has the first one implemneted. The attached patch implemnets the second one. 2005-08-30 Michal Moskal [EMAIL

Re: [Mono-dev] [PATCH] mcs.exe rsp file support

2005-09-01 Thread Atsushi Eno
Hello, IMHO those people who really care about performance should use /noconfig (that's exactly the same behavior that csc does as well as Peter's patch does). It could be also used to build mscorlib, System and System.Xml dlls. Or at least we could provide something like /rsp to enable rsp file

RE: [Mono-dev] C++ to C# to C++ interop, how can I do this in a mono-compliant way?

2005-09-01 Thread Ring, Kevin
Hi Jason, I have a similar situation, except that Im planning to address it on Windows using COM interop rather than mixed-mode C++. I posted to this list last week asking for advice on how to best do something similar with Mono. Jonathan Pryor pointed me to the Mono embedding API

RE: [Mono-dev] Novell.Directory.Ldap in the Mono tree

2005-09-01 Thread Rajkumar V
Miguel, Regarding the developer contact you could reach either me or Sunil Kumar. Regarding the developer support contact you could reach Susan Perrin. Regarding the repository maintenance and sync we will get back to you ASAP. Hope this is fine. Thanks RegardsRajkumar Miguel de Icaza

[Mono-dev] Re: [Mono-docs-list] [PATCH] Searching for Monodoc

2005-09-01 Thread Rafael Ferreira
Mario, my 2 cents follow: On Thu, 2005-09-01 at 11:17 +0200, Mario Sopena wrote: Hey, A patch that I promised to send some time ago. The patch would require that you download my own stripped version of Lucene from here[1]. That version is just the Lucene you can download from

Re: [Mono-dev] Why is UnmanagedType_80 required?

2005-09-01 Thread Raja R Harinath
Hi, Kornél Pál [EMAIL PROTECTED] writes: According to my experiences using no ArraySubType has the same result as ArraySubType = (UnmanagedType)80 on mcs and csc.exe as well. Could someone tell me please why UnmanagedType_80 is required? There was a bug in ancient versions of mcs wrt.

Re: [Mono-dev] mcs patch to say goodbye to SeekableStreamReader

2005-09-01 Thread Atsushi Eno
Hello, Thanks to Kornél's msg I noticed that I shouldn't reset cached token on identifier partial. Thus I created fixed patch. Now I blame SeekableStreamReader on bringing UTF8 related bug (without proof ;-) so I made a patch to eliminate this class. Additionally I made tiny modification for

Re: [Mono-dev] [PATCH] mcs.exe rsp file support

2005-09-01 Thread Miguel de Icaza
Hello, IMHO those people who really care about performance should use /noconfig (that's exactly the same behavior that csc does as well as Peter's patch does). It could be also used to build mscorlib, System and System.Xml dlls. Or at least we could provide something like /rsp to enable

RE: [Mono-dev] Mono on OSX 10.4 (Cocoa and Threading)

2005-09-01 Thread Frank Bergmann
Thanks kangaroo, No, make a test case and file a bug. I must say I had trouble creating a test case (since it is a rather big project). I found out the following though: Under Win32 I used the Mutex class during thread spawning to ensure thread safety. Under OS X these Mutex's caused a

[Mono-dev] Build problems on Solaris 9/sparc

2005-09-01 Thread Jason Downs
Hi, I've been trying to get mono 1.1.8.3 built on Solaris 9/sparc. It's not going very well. The first problem encountered is when the build process attempts to use mcs for the first time. mcs is there, and is a working .exe, but it appears to be *invoking* it wrong (note the usage line):