Re: [Mono-dev] Regression in String tests

2007-03-06 Thread Jamie Cansdale
PropertyInfo[] props = typeof(String).GetProperties(); AssertEquals(props[0].Name, Chars); AssertEquals(props[1].Name, Length); I'm curious it know what this is testing for. I thought the ordering of reflected members

Re: [Mono-dev] Regression in String tests

2007-03-06 Thread Roei Erez
Yes, I you are right, I will fix the test. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jamie Cansdale Sent: Tuesday, March 06, 2007 10:04 AM To: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] Regression in String tests

[Mono-dev] [Patch] System.Web.UI.WebControls.DataGrid

2007-03-06 Thread Igor Zelmanovich
Attached is patch fixes DataGrid.AutoGenerateColumns feature: Auto-generated columns are restored properly on postback from view state. Please preview. Regards, Igor Zelmanovich. [EMAIL PROTECTED] DataGrid.patch Description: DataGrid.patch ___

Re: [Mono-dev] [Mono-patches] r73707 - in trunk/mcs/class/System.Web:System.Web.Compilation System.Web.Util

2007-03-06 Thread Igor Zelmanovich
This patch causes 7 regressions in tests (System.Web.UI.WebControls.ThemeTest.cs). Please fix or revert. Igor. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marek Habersack ([EMAIL PROTECTED]) Sent: Monday, March 05, 2007 3:58 PM To:

Re: [Mono-dev] [Mono-patches] r73707 - in trunk/mcs/class/System.Web:System.Web.Compilation System.Web.Util

2007-03-06 Thread Marek Habersack
On Tue, 6 Mar 2007 05:57:41 -0800, Igor Zelmanovich [EMAIL PROTECTED] scribbled: This patch causes 7 regressions in tests (System.Web.UI.WebControls.ThemeTest.cs). Please fix or revert. I'm aware of the regressions. Prior to this patch there were 15 of them. I'll fix the rest this week.

Re: [Mono-dev] [Mono-patches] r73587 -trunk/mcs/class/System.Web/System.Web.Compilation

2007-03-06 Thread Igor Zelmanovich
This patch causes 3 regressions in tests (System.Web.UI.WebControls.XmlDataSource.cs). Please fix or revert. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marek Habersack ([EMAIL PROTECTED]) Sent: Thursday, March 01, 2007 3:57 PM To:

Re: [Mono-dev] [Mono-patches] r73587 -trunk/mcs/class/System.Web/System.Web.Compilation

2007-03-06 Thread Marek Habersack
On Tue, 6 Mar 2007 06:41:29 -0800, Igor Zelmanovich [EMAIL PROTECTED] scribbled: This patch causes 3 regressions in tests (System.Web.UI.WebControls.XmlDataSource.cs). Please fix or revert. This patch fixes a bug in a parser, so it won't get reversed. I will examine the failing tests this

Re: [Mono-dev] [Mono-patches] r73587 -trunk/mcs/class/System.Web/System.Web.Compilation

2007-03-06 Thread Marek Habersack
On Tue, 6 Mar 2007 16:17:30 +0100, Marek Habersack [EMAIL PROTECTED] scribbled: On Tue, 6 Mar 2007 06:41:29 -0800, Igor Zelmanovich [EMAIL PROTECTED] scribbled: This patch causes 3 regressions in tests (System.Web.UI.WebControls.XmlDataSource.cs). Please fix or revert. This patch

[Mono-dev] (More) Bugzilla bugs with patches

2007-03-06 Thread David Mitchell
So.I've been kind of busy, and consequently, I've made patches for the following three bugs: http://bugzilla.ximian.com/show_bug.cgi?id=81046 http://bugzilla.ximian.com/show_bug.cgi?id=81047 http://bugzilla.ximian.com/show_bug.cgi?id=81048 All three of these are very minor patches

[Mono-dev] Regression of bug 80260?

2007-03-06 Thread David Mitchell
I just did a Subversion get and attempted to build a project that used to be affected by this bug: http://bugzilla.ximian.com/show_bug.cgi?id=80260 Yesterday, the patch to fix it was applied, and everything worked fine. However, after my most recent update, it is broken again. Does

Re: [Mono-dev] Regression of bug 80260?

2007-03-06 Thread Miguel de Icaza
Hello, I just did a Subversion get and attempted to build a project that used to be affected by this bug: I backed out that patch temporarily, but it should be enabled again (maybe AnonSVN is still behind the main release?) http://bugzilla.ximian.com/show_bug.cgi?id=80260

Re: [Mono-dev] Regression of bug 80260?

2007-03-06 Thread Miguel de Icaza
Hello, I just did a Subversion get and attempted to build a project that used to be affected by this bug: http://bugzilla.ximian.com/show_bug.cgi?id=80260 My mistake, I forgot to reapply it; I will do so tomorrow morning. ___ Mono-devel-list

Re: [Mono-list] Adding Solaris/amd64 support

2007-03-06 Thread Andreas Färber
Hi Miguel, Thanks for the quick reply! By default, Solaris' gcc compiles to 32-bit unless overwritten by - m64. I have therefore patched configure.in to infer the x86/amd64 architecture from the pointer size (as seen for another platform). This sounds like a choice that the Solaris gcc

[Mono-list] xsp throws FileNotFoundException

2007-03-06 Thread Frederik Carlier
Hi, I'm trying to make a simple website run under Mono. I created a NAnt build script to build the website and tested it under Windows with Cassini. That works. Running the same website with xsp, however, yields an FileNotFoundException: System.IO.FileNotFoundException: File or assembly name

Re: [Mono-list] color of the font textbox

2007-03-06 Thread David Anes
Hi admin. You must not change directly the color. Is Gtk and the current theme for Gtk who will change the color for you. If it does not change, is probably because the current Gtk theme you are using does not define a text color for disabled items, for example. Cheers, David Anes. 2007/3/6,

Re: [Mono-list] What do I do with my images...

2007-03-06 Thread David Anes
Hi again Jose. I've been trying to get this working directlywith streams, but I did not have any success. The simple approach that I've found is to save the stream to a temporary file and then load it again. Of course, this is not the way to go, so you must invest why you can do it directly. If

Re: [Mono-list] Xml Entity Resolution

2007-03-06 Thread colin
Tried that (see below) but it still gets System.Xml.XmlException: Reference to undeclared entity exceptions. Thanks again, C. XmlDocument doc = new XmlDocument(); XmlTextReader reader = new XmlTextReader(new StringReader(xml_text_with_entities)); reader.XmlResolver = null; doc.Load(reader); On

Re: [Mono-list] What do I do with my images...

2007-03-06 Thread J. Pablo Fernández
Hello David, On Tuesday March 6 2007 06:40, David Anes wrote: Hi again Jose. I've been trying to get this working directlywith streams, but I did not have any success. The simple approach that I've found is to save the stream to a temporary file and then load it again. Of course, this is

Re: [Mono-list] Combining JIT and interpreter

2007-03-06 Thread Miguel de Icaza
Hello, Any suggestions as to what these other things could be ? Here are some: * Implement generic code sharing (this is when the compiler detects that the generated code for two different instantiations of a generic method would have the same code).

Re: [Mono-list] Adding Solaris/amd64 support

2007-03-06 Thread Miguel de Icaza
Hello, I adapted it from this snippet in configure.in: sparc*-*-*) if test x$ac_cv_sizeof_void_p = x8; then TARGET=SPARC64 else TARGET=SPARC fi So that if I pass CFLAGS=-m64 it compiles 64-bit amd64 or

Re: [Mono-list] Combining JIT and interpreter

2007-03-06 Thread Jonathan Chambers
I added some updates to two of the tasks below. On 3/6/07, Miguel de Icaza [EMAIL PROTECTED] wrote: Hello, Any suggestions as to what these other things could be ? Here are some: * Implement generic code sharing (this is when the compiler detects that the generated code

[Mono-list] ASP.NET - WebServices - EnableSession property not supported ?

2007-03-06 Thread Guillaume Mouron
Hi, I am trying to create a webservice (.asmx file) with session enabled by using the property EnableSession = true. My project is built under Visual Studio 2005 SP1 and deployed to the SuSE 10.2 VMWare image provided by the Mono project (with Mono 1.2.3.1). So, to be clear, the dll is not

[Mono-list] GTK# Treeview/Dataset example

2007-03-06 Thread tom potts
Is there an example anywhere of using a Treeview widget and a DataSet in a similar way to the DataGrid in windows forms? It seems to be requested on the forums frequently but I've never found one. Or tips on how to do it and I'll try and put one together. Tom

[Mono-list] XSP error on windows 2000

2007-03-06 Thread Jim Chappell
I just installed Mono on windows 2000. I'm getting the error below after starting XSP from a Mono command prompt and browsing to port 8080. What's wrong? C:\Program Files\Mono-1.2.3.1\lib\xsp\testxsp xsp Listening on port: 8080 (non-secure) Listening on address: 0.0.0.0 Root directory:

Re: [Mono-list] xsp throws FileNotFoundException

2007-03-06 Thread Frederik Carlier
Seems like a bug in the VBCodeCompiler class. I filed a bug against vbnc: http://bugzilla.ximian.com/show_bug.cgi?id=81057 Frederik. Frederik Carlier schreef: Hi, I'm trying to make a simple website run under Mono. I created a NAnt build script to build the website and tested it under

Re: [Mono-list] xsp throws FileNotFoundException

2007-03-06 Thread Frederik Carlier
Seems like a bug in the VBCodeCompiler class. I filed a bug against vbnc: http://bugzilla.ximian.com/show_bug.cgi?id=81057 Frederik. Frederik Carlier schreef: Hi, I'm trying to make a simple website run under Mono. I created a NAnt build script to build the website and tested it under

Re: [Mono-list] Combining JIT and interpreter

2007-03-06 Thread Massimiliano Mantione
On Mon, 2007-03-05 at 20:02 -0800, Aram Melkoumian wrote: Any suggestions as to what these other things could be ? Yet another idea is adding support for dynamic recompilation of jitted code, which IMHO is close in spirit to what you wanted to have (adding an interpreter), even if different...

Re: [Mono-list] Combining JIT and interpreter

2007-03-06 Thread Miguel de Icaza
Hello, Yet another idea is adding support for dynamic recompilation of jitted code, which IMHO is close in spirit to what you wanted to have (adding an interpreter), even if different... Dynamic recompilation is not hard, the issue is what kind of guarantees you want to make. For example, is

Re: [Mono-list] Adding Solaris/amd64 support

2007-03-06 Thread Andreas Färber
Hello, Replace the g_assert in the line with the error with a call to G_BREKAPOINT. Then run with gdb: gdb mono (gdb) run program.exe wait for breakpoint (gdb) x/20i address Address is whatever address the method is trying to decode, you will have to look that one up on the source. I

Re: [Mono-list] Adding Solaris/amd64 support

2007-03-06 Thread Miguel de Icaza
Hello, However, Solaris does not seem to ship with a gdb. I installed gdb 6.2.1 from Solaris' Companion DVD. But apparently it does not support 64-bit debugging! According to the gdb mailing list that was contributed for 6.4, and neither sunfreeware.com nor blastwave.org provide a

[Mono-list] Converting list types

2007-03-06 Thread Chris Seaton
gmcs says that it Cannot convert from `System.Collections.Generic.ListKatahdin.Grammars.ParseGraphNode' to `System.Collections.Generic.ListKatahdin.Grammars.IParseable' ParseGraphNode implements IParseable, so I would have thought that the compiler would allow that, but since it doesn't,

Re: [Mono-list] Adding Solaris/amd64 support

2007-03-06 Thread Andreas Färber
Miguel, Replace the g_assert in the line with the error with a call to G_BREKAPOINT. Then run with gdb: gdb mono (gdb) run program.exe wait for breakpoint (gdb) x/20i address Address is whatever address the method is trying to decode, you will have to look that one up on the source.

Re: [Mono-list] Adding Solaris/amd64 support

2007-03-06 Thread Miguel de Icaza
Hello, Program received signal SIGTRAP, Trace/breakpoint trap. amd64_patch (_field_data=0xfd7ffe3f077b ?@@\221?I\213??, her=0x4e53c4) at mini-amd64.c:182 182 x86_patch (code, (unsigned char*)target); (gdb) Now how/where do I find the address? Do I need to

Re: [Mono-list] Converting list types

2007-03-06 Thread Jonathan Pryor
On Tue, 2007-03-06 at 23:46 +, Chris Seaton wrote: gmcs says that it Cannot convert from `System.Collections.Generic.ListKatahdin.Grammars.ParseGraphNode' to `System.Collections.Generic.ListKatahdin.Grammars.IParseable' ParseGraphNode implements IParseable, so I would have thought

Re: [Mono-list] Xml Entity Resolution

2007-03-06 Thread Atsushi Eno
Well, you are confused. You can't use XmlDocument.Load() even with your blablaXmlReader. XmlTextReader.XmlResolver = null is just a replacement to your class. The workaround (using ReadNode method) is *still* required. To summarize technical side: - XmlDocument.Load() does need corresponding