Re: [Mono-dev] Compiling Mono on Cygwin

2005-10-28 Thread Raja R Harinath
Hi, Kevin Thompson [EMAIL PROTECTED] writes: ok i got past that but now i am having another problem. it says that I need to have a version of mcs installed... so I installed the latest release and added it to my path but I get some basic-profile-check error. Any ideas? I also tried to

Re: [Mono-dev] Compiling Mono on Cygwin

2005-10-28 Thread Kevin Thompson
Looks like it is compiling now. Thank you for the help. On 10/27/05, Raja R Harinath [EMAIL PROTECTED] wrote:Hi,Kevin Thompson [EMAIL PROTECTED] writes: ok i got past that but now i am having another problem. it says that I need to have a version of mcs installed... so I installed the latest

[Mono-dev] Problem when compiling (at runtime) a user web control

2005-10-28 Thread Hubert FONGARNAND
I've made a very simple web control: namespace MonoTestLib { public class TestComposant:System.Web.UI.WebControls.Label { public enum CWebContextMenuStyle { Test1, Test2, Standard } public TestComposant():base() { } public CWebContextMenuStyle

[Mono-dev] [PATCH] Friend access for class members

2005-10-28 Thread Carlos Alberto Cortez
Hey, The attached patch implements friend access for class members (methods, properties, fields). I'm not including the type-check section, since that part will be modified (next merge to gmcs) and I'm waiting for that to happen. However, that change should be small (I will send the patch).

Re: [Mono-dev] [PATCH] Friend access for class members

2005-10-28 Thread Raja R Harinath
Hi, Carlos Alberto Cortez [EMAIL PROTECTED] writes: The attached patch implements friend access for class members (methods, properties, fields). I'm not including the type-check section, since that part will be modified (next merge to gmcs) and I'm waiting for that to happen. However,

Re: [Mono-dev] Relocatable Mono.

2005-10-28 Thread Paolo Molaro
On 10/26/05 Miguel de Icaza wrote: The following patch makes Mono relocatable. Currently our installer uses a bunch of wrapper scripts around everything (mono, monodis and others) to overwrite the built-in prefixes that we use during the build process. With this patch, Mono

Re: [Mono-dev] [PATCH] Friend access for class members

2005-10-28 Thread Carlos Alberto Cortez
Hey, I applied your suggestion and also removed some redundant comparations in the same place (for family, famor and famand). Also I've applied the changes to access friend internal classes. Finally, more tests are added, so I'm attaching them. Carlos. BTW, the tests are running just fine.

Re: [Mono-dev] [PATCH] Friend access for class members

2005-10-28 Thread Carlos Alberto Cortez
I forgot to attach the patch ;-) Carlos. El vie, 28-10-2005 a las 16:23 +0530, Raja R Harinath escribió: Hi, Carlos Alberto Cortez [EMAIL PROTECTED] writes: The attached patch implements friend access for class members (methods, properties, fields). I'm not including the

Re: [Mono-dev] [PATCH] Friend access for class members

2005-10-28 Thread Marek Safar
Hello Carlos, My comments. +foreach (object o in attrs) { +InternalsVisibleToAttribute attr = o as InternalsVisibleToAttribute; I think you can use InternalsVisibleToAttribute directly in foreach +static string this_fullname; + +static void

Re: [Mono-dev] [PATCH] Friend access for class members

2005-10-28 Thread Carlos Alberto Cortez
Hey Marek, Comments below: El vie, 28-10-2005 a las 14:51 +0100, Marek Safar escribió: Hello Carlos, My comments. +foreach (object o in attrs) { +InternalsVisibleToAttribute attr = o as InternalsVisibleToAttribute; I think you can use InternalsVisibleToAttribute

Re: [Mono-dev] [PATCH] Friend access for class members

2005-10-28 Thread Marek Safar
Hello, My comments. +foreach (object o in attrs) { +InternalsVisibleToAttribute attr = o as InternalsVisibleToAttribute; I think you can use InternalsVisibleToAttribute directly in foreach +static string this_fullname; + +static void

Re: [Mono-dev] [PATCH] Friend access for class members

2005-10-28 Thread Carlos Alberto Cortez
Hey +foreach (object o in attrs) { +InternalsVisibleToAttribute attr = o as InternalsVisibleToAttribute; I think you can use InternalsVisibleToAttribute directly in foreach +static string this_fullname; + +static void Error_FriendAccessNameNotMatching

Re: [Mono-dev] [PATCH] Friend access for class members

2005-10-28 Thread Miguel de Icaza
Hello, One final comment: please profile the code before and after, and lets explore if there are any regressions memory-allocation wise. Miguel. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

[Mono-dev] XSP crash and patch

2005-10-28 Thread Mike Glenn
I've run into a problem with the latest xsp from the trunk. Under mono 1.1.9.1 I can repeatedly cause xsp to crash by simply pointing Microsoft's Web Application Stress Tool at it and having it request any file, even a static file. When the Stress tool finishes its run xsp crashes from what

[Mono-dev] System.Colletions.Generic.SortedList

2005-10-28 Thread Felix Marthaler
Hi I implemented a SortedList for the Mono Framework. I would be great if we can put it to the Source Tree. I need if for a implementation of the BitTorrent Protokol in C#. Sorry, for this question i know that i will find it some where on the wiki, but it's simpler in this way =). When is planed

Re: [Mono-dev] System.Colletions.Generic.SortedList

2005-10-28 Thread Ben Maurer
This is looking pretty good: * Since the enumerator is private, can you use a `yield' based one? that will be cleaner. * The indentation is a bit funkey, please use tags * When you do int pos = Array.IndexOf(this.sortedKeys, key); for Contains, etc, you should