[Mono-dev] new Mono Windows installer

2006-02-16 Thread Michal Harakal
Hello, The dll files for sqlite could not be found with the new Mono Windows installer. After replacing the file names from libxxx.so to xxx.dll in the file "/etc/mono/config" sqlite works fine. Following is the changed version of /etc/mono/config: Regards, Michal __

Re: [Mono-dev] Building Mono on Linux/Alpha

2006-02-16 Thread Sergey Tikhonov
Hello, I made some progress, but still need help. :) Working with ICONSTs on Alpha is real pain. I would like to do the following: - allocate some memory at the end of method and store ICONSTs there - use some of the registers to hold base address of that memory - load ICONSTs from that memory

Re: [Mono-dev] [PATCH] MS/Mono incompatibility in System.Web.HttpRequest

2006-02-16 Thread Eyal Alaluf
Hi, Edward. Is it not enough to use: "<[a-zA-Z\\!]" as the RegEx instead of "<[a-zA-Z\\!]+"? It works much faster (since RegEx tries always for the biggest match possible) and it does exactly the same thing. Eyal. On Wed, 15 Feb 2006, Edward C. Eisenbrey wrote: Date: Wed, 15 Feb 2006 13:44:5

RE: [Mono-dev] SEGV in runtime related to GC

2006-02-16 Thread Thong Nguyen
Hi lupus, Thanks for the quick turnaround time. I'm still getting the following error: ** ERROR **: file marshal.c: line 3907 (mono_marshal_get_ldfld_wrapper): should not be reached Attached is a patch that I *think* is right. Only two days of experience with the mono vm so could just as easil

[Mono-dev] patch for String equality/inequality

2006-02-16 Thread Atsushi Eno
Hi, I noticed that String operator != just reuses == i.e. a != b returns ! (a == b). It could be more effective if operator!= has actual implementation code. Also, string.Equals() currently calls operator!= which performs extraneous null check (maybe static invocation was faster?). As far as I tr

[Mono-dev] Bug in System.Web.UI.WebControls.TableStyle

2006-02-16 Thread Vladimir Krasnov
Hi, There is a little bug in AddAttributesToRender function. If table's CellSpacing property is set to zero, then BorderCollapse:Collapse style attribute should be added. Test case is in the test suite I've recently submit. It's URL: /System_Web_UI_WebControls/CheckBoxList/CheckBoxList_CellSpacin

[Mono-dev] Bug in System.Web.UI.WebControls.BoundColumn

2006-02-16 Thread Vladimir Krasnov
Hi All, I've found a bug in InitializeCell function of BoundColumn. The problem is that if DataField is null or empty string, the cell should not be bound. Test case url: /System_Web_UI_WebControls/BoundColumn/BoundColumn_DataField.aspx Please approve attached patch. If no one objects, I will co

[Mono-dev] Bug in System.Web.UI.WebControls.CheckBox

2006-02-16 Thread Vladimir Krasnov
Hi, I've found a problem in Render function of CheckBox class. It renders an empty element if ControlStyleCreated, even if it empty. Test case Url: /System_Web_UI_WebControls/WebControl/WebControl_Height.aspx The attached patch fixes it, please approve. If no one objects, I will commit. Vladi

[Mono-dev] FW: Bug in System.Web.UI.WebControls.CheckBox

2006-02-16 Thread Vladimir Krasnov
Sorry, I forgot the patch -Original Message- From: Vladimir Krasnov Sent: Thursday, February 16, 2006 3:53 PM To: mono-devel-list@lists.ximian.com Subject: Bug in System.Web.UI.WebControls.CheckBox Hi, I've found a problem in Render function of CheckBox class. It renders an empty elem

RE: [Mono-dev] [PATCH] MS/Mono incompatibility in System.Web.HttpRequest

2006-02-16 Thread Edward C. Eisenbrey
You're right, that seems to work just as well. The updated patch file is attached. -Original Message- From: Eyal Alaluf [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 4:29 AM To: Edward C. Eisenbrey Cc: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] [PATCH] MS/Mo

[Mono-dev] Bugs in System.Web.UI.WebControls.CheckBox and CheckBoxList

2006-02-16 Thread Vladimir Krasnov
Hello, There is a bug is in "disabled" attribute of CheckBox and CheckBoxList controls. CheckBoxList should put check boxes into . CheckBox control, if disabled, should also add disabled attribute to its element. Test case url: /System_Web_UI_WebControls/CheckBox/CheckBox_Enabled.aspx Another

Re: [Mono-dev] SEGV in runtime related to GC

2006-02-16 Thread Paolo Molaro
On 02/16/06 Thong Nguyen wrote: > Thanks for the quick turnaround time. I'm still getting the following > error: > > ** ERROR **: file marshal.c: line 3907 (mono_marshal_get_ldfld_wrapper): > should not be reached > > Attached is a patch that I *think* is right. Only two days of experience > wi

[Mono-dev] Bug in System.Web.UI.WebControls.Image

2006-02-16 Thread Vladimir Krasnov
Hello, The bug is missing border="0" attribute, when image has style, but border width is not specified. This will cause a border when image is a link. Test case url: /System_Web_UI_WebControls/Image/Image_AlternateText.aspx Please approve attached patch If no one objects, I will commit. Vladim

Re: [Mono-dev] PATCH for BitArray serialization compatibility with MS.

2006-02-16 Thread Lluis Sanchez
Patch committed. Thanks! El vie, 03-02-2006 a las 15:50 -0500, Sébastien Robitaille escribió: > Hi, > > To support serialization between Mono and MS, > I changed the member names of the BitArray class to reflect the names used > by MS. > > Can somebody review and commit this patch? > > Thanks

[Mono-dev] Bug System.Web.UI.WebControls.RadioButton and RadioButtonList

2006-02-16 Thread Vladimir Krasnov
Hello, The first problem that all radio buttons in RadioButtonList control are placed into , this is because RadioButtonList adds value of radio button as attribute. I think it's better to set radio button value via property, than via attribute collection. Test case URL: /System_Web_UI_WebControl

[Mono-dev] Bug System.Web.UI.WebControls.ListControl

2006-02-16 Thread Vladimir Krasnov
Hello, ListControl.DataSource should throw ArgumentException on incorrect value Test case URL: /System_Web_UI_WebControls/ListControl/ListControl_DataSource Please approve attached patch If no one objects, I will commit. Vladimir Krasnov ListControl.cs.1.patch Description: ListControl.cs.1.pa

[Mono-dev] Bug System.Web.UI.WebControls.ListControl.SelectedIndex

2006-02-16 Thread Vladimir Krasnov
Hello, If the value passed to SelectedIndex property is incorrect, selection should not be reset. Test case URL: /System_Web_UI_WebControls/ListControl/ListControl_SelectedIndex.aspx Please approve attached patch If no one objects, I will commit. Vladimir Krasnov ListControl.cs.2.patch Descr

[Mono-dev] 2.0 corcompare cleanup of System.Data

2006-02-16 Thread Chris Toshok
I'm doing some work to make the sqldatasource asp.net 2.0 control work, and am running into problems with the state of System.Data in the 2.0 profile. Would anyone mind me going through and cleaning up the #if NET_2_0 stuff so that it comes closer to parity? Will I be stepping on anyone's toes if

Re: [Mono-dev] The State Of Mono Assembly Verification?

2006-02-16 Thread Jim Purbrick
OK, I've uploaded a first batch of ~230 verifier tests based on ECMA-335 III here: http://homepage.ntlworld.com/james.purbrick/VerifierTests.tar I'd appreciate it if you could take a look and let me know if they look OK, especially the III,3.1 and III,3.3 tests which I'll mechanically copy and mo

[Mono-dev] Mono embedded scripting language advice

2006-02-16 Thread David Jung
Hi. I have an app in which I have a small 'console' text area in which I'd like to have users enter small snippet of code in a scripting language, that I can then execute. I'd also like to define some 'functions' up-front that will access my app's (C#) classes. Can someone recommend an imple

RE: [Mono-dev] Mono embedded scripting language advice

2006-02-16 Thread mail.matt.mcdonald
It depends a lot on what you want to do, but why not just use C#? It can compile at runtime and interact with your existing code no problem. I've done this before in MS .NET 1.1 and 2.0, and I'd assume it works in mono as well. This article is a good place to get an idea of what you're getting into

RE: [Mono-dev] SEGV in runtime related to GC

2006-02-16 Thread Thong Nguyen
Hi Lupus, Yeah, my program now works perfectly. Thanks again. ^Tum > -Original Message- > From: [EMAIL PROTECTED] [mailto:mono-devel-list- > [EMAIL PROTECTED] On Behalf Of Paolo Molaro > Sent: Friday, 17 February 2006 3:53 a.m. > To: mono-devel-list@lists.ximian.com > Subject: Re: [Mono

Re: [Mono-dev] Bug System.Web.UI.WebControls.RadioButton and RadioButtonList

2006-02-16 Thread Chris Toshok
I don't like the Attribute[]/ViewState[] change very much. Can you verify that Value is indeed stored in the ViewState? If it isn't, you should change your property to use Attribute instead of ViewState. The TabIndex change looks ok. Chris On Thu, 2006-02-16 at 08:20 -0800, Vladimir Krasnov wr

Re: [Mono-dev] Bug System.Web.UI.WebControls.ListControl

2006-02-16 Thread Chris Toshok
Looks good. please commit. Chris On Thu, 2006-02-16 at 08:35 -0800, Vladimir Krasnov wrote: > Hello, > > ListControl.DataSource should throw ArgumentException on incorrect value > > Test case URL: > /System_Web_UI_WebControls/ListControl/ListControl_DataSource > > Please approve attached patc

Re: [Mono-dev] Bug in System.Web.UI.WebControls.Image

2006-02-16 Thread Chris Toshok
The change looks fine, but before you commit please alter the text of the comment above that line to reflect the current state of things. Chris On Thu, 2006-02-16 at 06:48 -0800, Vladimir Krasnov wrote: > Hello, > > The bug is missing border="0" attribute, when image has style, but > border widt

Re: [Mono-dev] Bug in System.Web.UI.WebControls.BoundColumn

2006-02-16 Thread Chris Toshok
This patch looks okay, except for the switch from 'df != ""' to 'df.Length != 0'. I'd prefer the former (and in general I'd rather adapt whatever my thoughts are on the matter to what the original author wrote.) Chris On Thu, 2006-02-16 at 05:46 -0800, Vladimir Krasnov wrote: > Hi All, > > I've

Re: [Mono-dev] FW: Bug in System.Web.UI.WebControls.CheckBox

2006-02-16 Thread Chris Toshok
looks good. Chris On Thu, 2006-02-16 at 05:57 -0800, Vladimir Krasnov wrote: > Sorry, I forgot the patch > > -Original Message- > From: Vladimir Krasnov > Sent: Thursday, February 16, 2006 3:53 PM > To: mono-devel-list@lists.ximian.com > Subject: Bug in System.Web.UI.WebControls.CheckBo

Re: [Mono-dev] Bugs in System.Web.UI.WebControls.CheckBox and CheckBoxList

2006-02-16 Thread Chris Toshok
It seems that with this change, you can remove the following identical lines from 386 (the else branch of the "if (align == TextAlign.Right)" in Render()), as they're just a few lines above the call to InternalAddAttributesToRender: if (!Enabled) w.AddAttribute (HtmlTextWri

Re: [Mono-dev] 2.0 corcompare cleanup of System.Data

2006-02-16 Thread T Senganal
Hi >> Would anyone mind me going through and cleaning up the #if >> NET_2_0 stuff so that it comes closer to parity? Pls go ahead and make the changes in 2.0 profile.. just make sure that build works fine.. Regards Senga ___ Mono-devel-list mailin