[Mono-dev] using VS to embed mono...

2007-01-15 Thread Thomas Wiest
Hey, I'm trying to embed mono using Visual Studio 2005 (as per http://www.mono-project.com/Compiling_Mono_VSNET ). I've been able to work through most of the path / cygwin issues, but now while compiling test-invoke in VS I'm getting these errors: -- Build started: Project:

Re: [Mono-dev] using VS to embed mono...

2007-01-15 Thread Paolo Molaro
On 01/15/07 Thomas Wiest wrote: Hey, I'm trying to embed mono using Visual Studio 2005 (as per http://www.mono-project.com/Compiling_Mono_VSNET ). I've been able to work through most of the path / cygwin issues, but now while compiling test-invoke in VS I'm getting these errors:

Re: [Mono-dev] COM Interop - Lazy Initialization Patch

2007-01-15 Thread Paolo Molaro
On 01/12/07 Jon Chambers wrote: This patch doesn't initialize COM types in the runtime until they are needed, and also renames the COM wrapper methods to something more understandable. I'll work on supporting the DISABLE_COM flag in the near future. Do you really need all that many

Re: [Mono-dev] COM Interop - Lazy Initialization Patch

2007-01-15 Thread Jon Chambers
Paolo, I removed the additional wrappers. For COM Interop methods, there will either be two or three generated wrappers. For managed code calling an unmanaged COM object there will be 3. MONO_WRAPPER_COMINTEROP_INVOKE: This transitions the call made on the TransparentProxy to the underlying

[Mono-dev] Patch Review for HttpApplicationFactory.cs

2007-01-15 Thread Damien Churchill
Following Marek's advice I have improved on the previous patch updating the folder watching to cause an application restart. --- svn/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs 2007-01-15 20:33:52.0 + +++ mcs/System.Web/System.Web/HttpApplicationFactory.cs 2007-01-15

Re: [Mono-dev] Patch review request -- generic changes to support MIPS conditional exceptions

2007-01-15 Thread mason
Hello, On Fri, Jan 12, 2007 at 03:44:15PM +0100, Paolo Molaro wrote: On 01/11/07 mason wrote: Index: mono/mini/inssel.brg === --- mono/mini/inssel.brg(revision 70746) +++ mono/mini/inssel.brg(working copy) @@

Re: [Mono-dev] Patch Review for HttpApplicationFactory.cs

2007-01-15 Thread Robert Jordan
Damien Churchill wrote: +if (File.Exists(Path.Combine(physical_app_path, Web.config))) +WatchLocationForRestart(,Web.config); +if (File.Exists(Path.Combine(physical_app_path, web.config))) +

[Mono-dev] Revised Patch

2007-01-15 Thread Damien Churchill
Ok, done as suggested, also added an overloaded method for just a filter in the root of the virtual path to be watched. --- svn_clean/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs 2007-01-15 21:25:40.0 + +++ mcs/System.Web/System.Web/HttpApplicationFactory.cs 2007-01-15

Re: [Mono-dev] Some strange behavior of optimization options for JIT

2007-01-15 Thread Massimiliano Mantione
Hey, you sent this on Christmas :-) On Mon, 2006-12-25 at 19:11 +0300, Sergey Tikhonov wrote: As we see two locals were introduced to hold sum results. In mono_arch_allocate_vars the mono_allocate_stack_slots_full is called to allocate locals and calculate offsets for them. Somehow it doesn't

Re: [Mono-dev] Revised Patch

2007-01-15 Thread Marek Habersack
On Mon, 15 Jan 2007 23:37:05 +, Damien Churchill [EMAIL PROTECTED] scribbled: Ok, done as suggested, also added an overloaded method for just a filter in the root of the virtual path to be watched. Looks good, except that App_Code, App_Browser, App_GlobalResources should not be filtered on

Re: [Mono-list] Npgsql1.0 Protocol option not supported

2007-01-15 Thread Atsushi Eno
Hi, Robert Jordan wrote: On 2007-01-11 there was a large commit with new socket feature for the .NET 2.0 profile. Protocol option not supported sounds like an error message related to socket code. I think you have to update your runtime as well. Or downgrade to a monocharge before

[Mono-list] Running Mono bonaries on environment without Mono..

2007-01-15 Thread Geula Vainappel
Hi, Can anyone please tell me if it is possible to compile a C# program in Mono, so that it will have all the Mono framework linked in, and then run it on a UNIX which doesn't have Mono installed? We have a customer who does not allow us to install anything on their servers, and our diagnostics

Re: [Mono-list] Running Mono bonaries on environment without Mono..

2007-01-15 Thread Atsushi Eno
Hi, You might want to check mkbundle. Atsushi Eno Geula Vainappel wrote: Hi, Can anyone please tell me if it is possible to compile a C# program in Mono, so that it will have all the Mono framework linked in, and then run it on a UNIX which doesn't have Mono installed? We have a

[Mono-list] Incorrect path interpretation(gacutil)

2007-01-15 Thread monoport
Hi Is there a bug in the gacutil on UNIX or my misunderstanding of the UNIX environment? I have used to produce such a command line: mono /usr/lib/mono/lib/mono/1.0/gacutil.exe -i -f /root/XXX/XXX/XXX/Assembly.dll And got the response: Option /root/XXX/XXX/XXX/Assembly.dll takes 1 argument

Re: [Mono-list] Access Denied in Socket constructor

2007-01-15 Thread jcmag
It was 1000 (It was hard-coded in a library). Changed it and now it works. Thanks for your quick answer! Jean-Christophe -- http://sourceforge.net/projects/myhal - Original Message From: Nuno Marques [EMAIL PROTECTED] To: jcmag [EMAIL PROTECTED];

Re: [Mono-list] Incorrect path interpretation(gacutil)

2007-01-15 Thread Rafael Teixeira
It is probably getting confused on parsing options. In your case it really gets confused because you have separated /i from it's argument (the path to the library) with the unnecessary -f. Try: mono /usr/lib/mono/lib/mono/1.0/gacutil.exe -i /root/XXX/XXX/XXX/Assembly.dll It should work. Try

[Mono-list] System.Array.Contains()?

2007-01-15 Thread Chris Seaton
System.Array has a Contains() method doesn't it? System.Array implements System.Collections.IList and I see the implementation in Array.cs, but when I try string[] x = new string[]{a, b}; Console.WriteLine(x.Contains(b)); I get error CS0117: `string[]' does not contain a definition for

Re: [Mono-list] System.Array.Contains()?

2007-01-15 Thread Kamil Skalski
You need to cast to IList explicitly, as it is hidden interface implementation: string[] x = new string[]{a, b}; Console.WriteLine(((IList)x).Contains(b)); (should work, though I didn't test) 2007/1/15, Chris Seaton [EMAIL PROTECTED]: System.Array has a Contains() method doesn't it?

[Mono-list] ASP.Net, about report writer. How I can print simple data ?

2007-01-15 Thread Romulo Hunter
if you want to write some data, we say one o two pages of data like a table data or grid with a result of query, and write through FireFox.File.Print(), This possible?. Sorry if is it a stupid question. (I really want to know if ASP.Net -and mono- have something like a basic print method?).

[Mono-list] Is the Form.MouseClick event not implemented?

2007-01-15 Thread Maser, Dan
I'm using a very recent snapshot tarball of mono (the Jan 5th, 2007 one to be specific) and when I add a MouseClick handler to a Form it doesn't appear to get triggered. I noted that I was compiling with gmcs, and I tried using mcs so I could see if that made a difference. My simple test app

Re: [Mono-list] Is the Form.MouseClick event not implemented?

2007-01-15 Thread Jonathan Pobst
It is a 2.0 addition, so compiling it with mcs will not work. As 2.0 is under development, the event had been added to Control, but was not being called anywhere. I added the call in so that it should work as of SVN r71080. Jonathan Maser, Dan wrote: I'm using a very recent snapshot

Re: [Mono-list] ASP.Net, about report writer. How I can print simple data ?

2007-01-15 Thread Will Murnane
This needs to be done client-side. Add some code like this to the output: form input type=button value=Print This Page onClick=window.print() / /form or a href=javascript:window.print()Print This Page/a HTH Will On 1/15/07, Romulo Hunter [EMAIL PROTECTED] wrote: if you want to write some