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

2006-12-05 Thread Igor Zelmanovich
Attached is patch fixes RadioButton and corresponding tests. - When GroupName is not defined UniqueID is used instead for name attribute. - CheckedChanged is raised only when control is checked. Please, review. Regards, Igor Zelmanovich. [EMAIL PROTECTED] RadioButton.patch Description:

[Mono-dev] [Patch] System.Web.UI.Page

2006-12-05 Thread Igor Zelmanovich
Attached is the patch fixes and optimizes ProcessPostData and corresponding tests. Please, review. Regards, Igor Zelmanovich. [EMAIL PROTECTED] Page.patch Description: Page.patch ___ Mono-devel-list mailing list

[Mono-dev] Patch for System.dll

2006-12-05 Thread Vladimir Krasnov
Hello, Please approve attached patch that implements System.Uri.UnescapeDataString method Vladimir system.dll.patch Description: system.dll.patch ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

[Mono-dev] Iterating the classes of a mono image using the embedding API

2006-12-05 Thread Argiris Kirtzidis
Hi all, Is there a way to get all the classes/types defined in a image using the embedding API ? I looked through all the functions and I can't find one that will allow iteration of all the classes, am I missing something ? How one would get a list of the classes that a mono image contains

Re: [Mono-dev] Iterating the classes of a mono image using the embedding API

2006-12-05 Thread Rafael Teixeira
Hi Argiris, You can make calls in the managed classes for reflection or from Mono.Cecil. But see that you need to repeat it for all managed libraries, already loaded, or that you are interested and so you load, as even a compacted image of Mono contains many independent libraries just attached in

Re: [Mono-dev] Iterating the classes of a mono image using the embedding API

2006-12-05 Thread Robert Jordan
Argiris Kirtzidis wrote: Hi all, Is there a way to get all the classes/types defined in a image using the embedding API ? I looked through all the functions and I can't find one that will allow iteration of all the classes, am I missing something ? How one would get a list of the

[Mono-dev] Text selection in webcontrol

2006-12-05 Thread nmmstuff
Hi, when I was using a textview there was a simple method to get the text selected by a user with the Selection property. Is there a similar method when using Gecko.WebControl? Also, where can I find some examples on more advance features of this control? So far I've only found a simple browser

[Mono-dev] Bug in Server.Execute

2006-12-05 Thread Hubert FONGARNAND
http://bugzilla.ximian.com/show_bug.cgi?id=80152 This bug breaks all apps using Server.Execute The cause is in : http://svn.myrealbox.com/viewcvs/trunk/mcs/class/System.Web/System.Web/HttpRequest.cs?rev=68776r1=61465r2=68776 I hope this regression is not in the mono 1.2.2 release! Thanks to

[Mono-dev] [PATCH] leak in ves_icall_Type_MakeGenericType

2006-12-05 Thread Robert Jordan
Hi, The `MonoType **types' local var is not free()d. I replaced the g_new with g_newa. Robert Index: metadata/icall.c === --- metadata/icall.c(revision 69048) +++ metadata/icall.c(working copy) @@ -1999,7 +1999,7 @@

Re: [Mono-dev] Iterating the classes of a mono image using the embedding API

2006-12-05 Thread Argiris Kirtzidis
Ok, after some digging into the Mono internals, I found a way. I post it in case someone else finds it useful too: static void print_all_types (MonoImage *image) { MonoClass *klass; int i; int rows = mono_image_get_table_rows (image, MONO_TABLE_TYPEDEF); /* we start the count from 1

Re: [Mono-dev] DataTable Select string comparison patch

2006-12-05 Thread Jaroslaw Pawlak
RE: [Mono-dev] DataTable Select string comparison patch Hi Konstantin , 1. If one object is string = 5 and the second object is Int32 = 5. Will the objects be equal? No, they won't even go into the if because o1 is string, but o2 is not string That's right, but the question is what

Re: [Mono-dev] [PATCH] leak in ves_icall_Type_MakeGenericType

2006-12-05 Thread Paolo Molaro
On 12/05/06 Robert Jordan wrote: Index: metadata/icall.c === --- metadata/icall.c (revision 69048) +++ metadata/icall.c (working copy) @@ -1999,7 +1999,7 @@ MONO_ARCH_SAVE_REGS; count = mono_array_length

Re: [Mono-dev] Updated Moma Results.

2006-12-05 Thread Miguel de Icaza
Hello, I've submitted reports against NUnit 2.4 and NUnitLite. In neither case did I notice anyplace where I might have provided any extra information. Once clicking on Submit Report, it's gone. What did I miss? Are you using the *new* Moma 1.1 or the original Moma?

Re: [Mono-dev] Updated Moma Results.

2006-12-05 Thread Daniel Morgan
How do you plan to handle methods which p/invoke into native libraries on Win32? I would hope this could be handled in a cross-platform way for Windows, Linux, etc... Such as, GetPrivateProfileString is very common for me to use. I know INI File handling is not the normal thing to do these

Re: [Mono-dev] SPAM-LOW: Re: Updated Moma Results.

2006-12-05 Thread Charlie Poole
Hi Miguel, I've submitted reports against NUnit 2.4 and NUnitLite. In neither case did I notice anyplace where I might have provided any extra information. Once clicking on Submit Report, it's gone. What did I miss? Are you using the *new* Moma 1.1 or the original Moma? Ah ha!

Re: [Mono-dev] DateTime/DateTimeFormatInfo patch to reduce Clone()

2006-12-05 Thread Atsushi Eno
Mirco Bauer wrote: On Mon, 2006-12-04 at 20:09 +0100, Paolo Molaro wrote: On 11/30/06 Atsushi Eno wrote: I noticed that many string[] properties in DateTimeFormatInfo are used directly in DateTime. They have to return Clone() which are not neccessary there. If the arrays are exposed to the