Re: [Mono-dev] GBK support error

2005-11-16 Thread zhu shi song
Dear Sir, (1) codepage = GB18030 String s = 12\u7f51\u9875; Encoding e = Encoding.GetEncoding(GB18030); byte[] bytebuf = e.GetBytes(s); for ( int i =0; i bytebuf.Length ; i++) Console.Write({0:X2},(byte)bytebuf[i]); The result is

[Mono-dev] mono string internal representation problem

2005-11-16 Thread zhu shi song
Dear sir, I found that string internal representation in mono is different from in ms VS.Net. For example, In Mono: --- ldstr 12\u795D\u798F Mono uses ucs-2BE as default string internal representation In MS: --- ldstr 12\u5D79\u8F79 MS uses ucs-2LE as default string

Re: [Mono-dev] ./configure --enable-minimal=aot, profiler gives error.

2005-11-16 Thread conn intel
Hello Friends, Once again thank you for your mail. But i am again getting error even after renaming the directory. could you pls get me out from this... Thank You in advance. Regards, Ankur. /*Error

[Mono-dev] accessing file on a windows share

2005-11-16 Thread Buderya Roshan
Hi, I am trying to access a file on a remote share (Windows share with full access to everyone). On windows using .net I can access and read the file as StreamReader sr = new StreamReader(@\\server_name\share_name\file_name); string line = sr.ReadLine(); But when I compile run the same under

Re: [Mono-dev] GBK support error

2005-11-16 Thread Atsushi Eno
Hello, Both of the bugs were now fixed in svn. Thanks, Atsushi Eno zhu shi song wrote: Dear Sir, (1) codepage = GB18030 String s = 12\u7f51\u9875; Encoding e = Encoding.GetEncoding(GB18030); byte[] bytebuf = e.GetBytes(s); for ( int i =0; i bytebuf.Length

Re: [Mono-dev] typemanager patch to get correct indexer signature

2005-11-16 Thread Marek Safar
Hello Eno, I have a patch for typemanager.cs to fix the signature of an indexer to report (i.e. GetSignatureForError()). Currently it does not differentiate things like this[int] and this[string]. Actually it did not detect indexer getter methods (since the existing code expects more than one

[Mono-dev] ANN: NUnit 2.2.3 Released

2005-11-16 Thread Charlie Poole
Hi All, I just released NUnit 2.2.3. It has a few new features and a lot of bug fixes. It's compatible with VS2005 and .NET 2.0, but is still built with .NET 1.1 under VS2003. Only the msi file is available right now - others will follow. You can download it at http://nunit.sf.net. The release

[Mono-dev] BINARY INCOMPATIBILITY

2005-11-16 Thread Hubert FONGARNAND
Since this morning, my mono r.53109. produces .exe that are not recognized by the MS.NET Framework 1.1 My code is : // project created on 28/09/2005 at 10:43 using System; class MainClass { public static void Main(string[] args) { Console.WriteLine(Hello World); } } ~ I do mcs test.cs and

Re: [Mono-dev] BINARY INCOMPATIBILITY

2005-11-16 Thread Hubert FONGARNAND
I've opened a bugzilla entry : #76723 http://bugzilla.ximian.com/show_bug.cgi?id=76723 Le mercredi 16 novembre 2005 13:57 +0100, Hubert FONGARNAND a crit : Since this morning, my mono r.53109. produces .exe that are not recognized by the MS.NET Framework 1.1 My code is : //

[Mono-dev] OpenBSD?

2005-11-16 Thread pablosantosluac
 Is there any port of mono for OpenBSD? thanks ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

RE: [Mono-dev] COM Interop in Mono

2005-11-16 Thread Jonathan S. Chambers
Well, no one has responded yet, so here comes the next email ;-) This work is coming along, so I'd like to get it in svn soon. Would this go under the trunk, as in /trunk/cominterop or something like that? If anyone has a better name, please suggest. Also, I think this work will also be similar

[Mono-dev] XSP debugging

2005-11-16 Thread Carlos Solorzano
Whats the easiest way to do some debugging of XSP, is there a way to turn on logs for XSP? Thanks, --Carlos ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] COM Interop in Mono

2005-11-16 Thread Kornél Pál
Hi, You are referencing something that you want to upload to SVN but did not show it yet. What is it exactly? Note that there were discussions about COM interop previously you should look at them as well. Some important things: COM is Windows specific. If you want to use it you can use MS.NET

Re: [Mono-dev] BINARY INCOMPATIBILITY

2005-11-16 Thread Miguel de Icaza
Hello, I've opened a bugzilla entry : #76723 http://bugzilla.ximian.com/show_bug.cgi?id=76723 Thanks for filing the bug. Zoltan has now fixed this. Miguel ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

RE: [Mono-dev] COM Interop in Mono

2005-11-16 Thread Jonathan S. Chambers
Attached is a diff of some current progress. These changes are all in place right now, they would of course need moved to an external library. Kornel, to answer your questions: This is intended to be the beginning of a framework to leverage multiple component technologies. COM Interop

Re: [Mono-dev] COM Interop in Mono

2005-11-16 Thread Kornél Pál
Hi, The attached code looks promising. I absolutely agree with you that any kind of ABI (including COM ABI) can be implemented. The problem that I tried to point out is however that implementing COM interop in Mono using an ABI that cannot be accessed by compilers is useless. On Windows you can

RE: [Mono-dev] COM Interop in Mono

2005-11-16 Thread Jonathan S. Chambers
Anyone have any advice about beginning to make this all an external library accessible to mono? Where does it go? How is mono aware of it/find it? How does mono load it/call methods, etc. Thanks, Jonathan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [Mono-dev] XSP debugging

2005-11-16 Thread Marek Habersack
On Wed, Nov 16, 2005 at 11:00:05AM -0600, Carlos Solorzano scribbled: Whats the easiest way to do some debugging of XSP, is there a way to turn on logs for XSP? personally I use log4net (catches also Console.Write/WriteLine) with the following config: ?xml version=1.0 encoding=utf-8 ? log4net

[Mono-dev] XSP Crash on binding empty dataview to MONO

2005-11-16 Thread Yogendra Thakur
Please see following bug. http://bugzilla.ximian.com/show_bug.cgi?id=76732 If DataGrid control is binded with EmptyDataView and rebinded again it crashes XSP. See attached crash message and test page. - Yogendra Thakur TestGrid.aspx Description: TestGrid.aspx [EMAIL PROTECTED] test]# xsp

Re: [Mono-dev] XSP debugging

2005-11-16 Thread Carlos Solorzano
I use log4net as well in my code, however there are times when XSP quits taking in any new calls, I am guessing there is a bug in it but I can't even begin to file a bug report unless I figure out what causes it and when so I wanted to know if there is a way to turn on logs for XSP.

[Mono-dev] how to improve mono performance

2005-11-16 Thread zhu shi song
Dear lists, I've got one test example and tested it using linux mono and windows .NET on the same machine. The results showed that the performance of linux mono is much bad than windows .NET. Linux Mono: ArrayList strings test.3311 ms StringBuilder test.4008 ms

[Mono-dev] monodevelop with debugger can't start

2005-11-16 Thread zhu shi song
Dear lists, I got monodevelop from svn and compiled it with enable-debugger correctly. But when I run it, there are some errors: 2005-11-17 12:44:01,029 [-1208621376] ERROR MonoDevelop.Core.ILoggingService [(null)] - Add-in failed to load: SharpDevelop Core 2005-11-17

Re: [Mono-dev] how to improve mono performance

2005-11-16 Thread ted leslie
see mono options: --aot Compiles the assembly to native code --optimize=OPT Turns on or off a specific optimization Use --list-opt to get a list of optimizations MS might has similar so it might not mean much for comparisons, but

Re: [Mono-dev] how to improve mono performance

2005-11-16 Thread Christopher Bergström
On Wed, 16 Nov 2005 20:30:23 -0800 (PST) zhu shi song [EMAIL PROTECTED] wrote: Dear lists, I've got one test example and tested it using linux mono and windows .NET on the same machine. The results showed that the performance of linux mono is much bad than windows .NET. I'd like to

Re: [Mono-dev] accessing file on a windows share

2005-11-16 Thread Buderya Roshan
Buderya Roshan 11/17/05 12:25 PM Buderya Roshan [EMAIL PROTECTED] 11/16/05 5:07 PM Hi, I am trying to access a file on a remote share (Windows share with full access to everyone). On windows using .net I can access and read the file as StreamReader sr = new