[Mono-devel-list] Re: cosmetic patch for XmlNode.cs

2005-06-22 Thread Atsushi Eno
Hi Andrew, While looking on XmlNode.cs I found that AppendChildValues is called with _this_ passed as parameter _parent_. But it is a member of the same class, so it already has the same _this_. The patch does not change anything in the execution, only improves readability of the code.

Re: [Mono-devel-list] BIg Problem with webservices (client)

2005-06-22 Thread Hubert FONGARNAND
Have you got some news about this major bug... In fact, I can't use svn mono, because it is unable to understand MS.NET assembly (***cannot load type) I can't use Mono 1.1.8 (stable) because there's problem with fileencoding... Le Vendredi 17 Juin 2005 11:44, vous avez écrit : Can you please

[Mono-devel-list] Re: [Mono-patches] r46353 - trunk/mcs/class/System.XML/System.Xml

2005-06-22 Thread Andrew Skiba
Atsushi Enomoto ([EMAIL PROTECTED]) wrote: Don't remove ChangeLog entry BTW. I did not remove anything from ChangeLog: svn diff -r46346:46347 A bug in Subversion? :-) Andrew. ___ Mono-devel-list mailing list

[Mono-devel-list] Re: Find Object instance that called a method..

2005-06-22 Thread Robert Jordan
S Umadevi wrote: I guess I phrased my question too simplicitly...:( Anyway I found my answer with System.Diagonistics.StackFrame. StackFrame will not provide you the object *instance* of the caller, just the its MethodInfo and so its class. BTW, you're calling for big trouble because methods

Re: [Mono-devel-list] Re: [Mono-patches] r46353 - trunk/mcs/class/System.XML/System.Xml

2005-06-22 Thread Atsushi Eno
Oops, am sorry that was my bad that I failed to commit the first patch and it was kept uncommitted :( Atsushi Eno Andrew Skiba wrote: Atsushi Enomoto ([EMAIL PROTECTED]) wrote: Don't remove ChangeLog entry BTW. I did not remove anything from ChangeLog: svn diff -r46346:46347 A bug in

[Mono-devel-list] Satellite Assembly

2005-06-22 Thread Sridhar Kulkarni
Hi, What all information is inherited from the assebly when specified in the Al.exe /template: assembly_name option. MSDN documentation says this option is used to inherit metadat from the specified assembly. What all data inherited from the specified assembly in this option? Any idea? -Sri

[Mono-devel-list] Re: System.Xml patch

2005-06-22 Thread Andrew Skiba
Atsushi Eno wrote: Hi Andrew, Good catch :-) However the fix does not look correct. Your patch also avoids entity content evaluation, that means it sometimes results in incorrect well-formedness. Good catch, too ;-) How about this patch? To save iterations, I made the same check in

RE: [Mono-devel-list] Syslog support

2005-06-22 Thread Jörg Rosenkranz
Hi, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vorobiev Maksim Sent: Wednesday, June 22, 2005 5:35 PM Is there are any possibility to work with syslog daemon from Mono without developing additional unmanaged code? I cann't find support for

[Mono-devel-list] Re: [Mono-patches] r46370 - in trunk/mcs/class/corlib: System.Collections.Generic Test/System.Collections.Generic

2005-06-22 Thread Ben Maurer
On Wed, 2005-06-22 at 10:42 -0400, Raja R Harinath wrote: (GetSlot): Use _hcp to compare keys. Return the slot containing the key, rather than the index. Avoid move-to-front heuristic when there's an enumerator coursing through the table. There are probably races here. If

[Mono-devel-list] Re: [Mono-patches] r46353 - trunk/mcs/class/System.XML/System.Xml

2005-06-22 Thread Ben Maurer
On Wed, 2005-06-22 at 04:12 -0400, Atsushi Enomoto ([EMAIL PROTECTED]) wrote: Author: atsushi Date: 2005-06-22 04:12:53 -0400 (Wed, 22 Jun 2005) New Revision: 46353 Modified: trunk/mcs/class/System.XML/System.Xml/ChangeLog trunk/mcs/class/System.XML/System.Xml/XmlTextReader.cs Log:

Re: [Mono-devel-list] Syslog support

2005-06-22 Thread Gonzalo Paniagua Javier
On Wed, 2005-06-22 at 19:35 +0400, Vorobiev Maksim wrote: Good day. Is there are any possibility to work with syslog daemon from Mono without developing additional unmanaged code? I cann't find support for syslog in any Mono namaspaces. Does it exists?

Re: [Mono-devel-list] Re: [Mono-patches] r46353 - trunk/mcs/class/System.XML/System.Xml

2005-06-22 Thread Atsushi Eno
Ok, it is an interesting tip. Now checked in svn as r46380. Thanks. Atsushi Eno I think this needs to be changed to make it optimal for the normal case. Gonzalo's situation is a corner case: 1 huge field in the middle of tons of stuff. However, normally, there are many, small, similarly sized

[Mono-devel-list] MonoDevelop : looking for mozilla

2005-06-22 Thread xiii29
Hi, When I launch Monodevellop, I get this message : which: no mozilla in (/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/maitrebn/bin) Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory ... Is there a way to use

Re: [Mono-devel-list] Re: [Mono-patches] r46370 - in trunk/mcs/class/corlib: System.Collections.Generic Test/System.Collections.Generic

2005-06-22 Thread Ben Maurer
On Wed, 2005-06-22 at 19:27 -0600, David Waite wrote: Enumerating needs to be locked, inserts need to be locked, but all locking is external to the collection. But you can enumerate and read from multiple threads at the same time. -- Ben ___

Re: [Mono-devel-list] How to handle huge string collation resources?

2005-06-22 Thread Ben Maurer
On Wed, 2005-06-22 at 04:26 +0900, Atsushi Eno wrote: 3. run make. It will automatically downloads some files from some sites. For now without this step the build b0rks. Of course, this will need to be changed ;-). Here is a serious problem. In step 3 it makes 1.2MB

[Mono-devel-list] autogen/bootstrap variable not defined errors

2005-06-22 Thread Scott Walters
Hi, I can build ok with the source tarballs (./configure, make, etc...) but lately I've been trying to run bootstrap on the latest from svn to add optional packages to the make and consistently have problems with variable not defined errors. The latest is from gtk-sharp. The variable it's

Re: [Mono-devel-list] How to handle huge string collation resources?

2005-06-22 Thread Atsushi Eno
Hey, Ben Maurer wrote: On Wed, 2005-06-22 at 04:26 +0900, Atsushi Eno wrote: 3. run make. It will automatically downloads some files from some sites. For now without this step the build b0rks. Of course, this will need to be changed ;-). duh ;-) It will be checked in

Re: [Mono-devel-list] How to handle huge string collation resources?

2005-06-22 Thread Ben Maurer
On Thu, 2005-06-23 at 12:41 +0900, Atsushi Eno wrote: Ben Maurer wrote: Here is a serious problem. In step 3 it makes 1.2MB of a C# source file that results in 500KB increase of mscorlib.dll. If you are generating a file in C#, you are going to be managing memory badly. C# has no sense

Re: [Mono-devel-list] [PATCH] Reworked unified Locale classes

2005-06-22 Thread Miguel de Icaza
Hello, So please tell me whether you want: - drop this patch - drop localization at all - or approve this patch The patch only has one bug as it stands today: it uses a double check lock, which is race prone: if (x == null){ lock (...){ if (x

Re: [Mono-devel-list] How to handle huge string collation resources?

2005-06-22 Thread Miguel de Icaza
Hello, BTW doesn't that mean all that kind of culture resources had better become managed resources, unless they are required at runtime? We also have huge culture-info-table.h and char-conversions.h in metadata. They are in C, where they are a const array. One advantage of having

[Mono-devel-list] Re: System.Xml patch

2005-06-22 Thread Atsushi Eno
Hi Andrew, How about this patch? To save iterations, I made the same check in ResolveExternalEntityReplacementText, please tell me, if it's unnecessary. This patch looks fine. Let's check it in svn. I'll apply the patch attached after your commit. Index: DTDReader.cs

Re: [Mono-devel-list] How to handle huge string collation resources?

2005-06-22 Thread Miguel de Icaza
Hello, Just to follow up some more: since the tables generated contain various arrays of short and int sizes, I rather go down the path of embedding that into the C code, so we get the automatic endian adjustment rather than forcing the managed code to deal with it. We can add an internal

Re: [Mono-devel-list] How to handle huge string collation resources?

2005-06-22 Thread Ben Maurer
On Thu, 2005-06-23 at 01:05 -0400, Miguel de Icaza wrote: Hello, BTW doesn't that mean all that kind of culture resources had better become managed resources, unless they are required at runtime? We also have huge culture-info-table.h and char-conversions.h in metadata. They

Re: [Mono-devel-list] [PATCH] Reworked unified Locale classes

2005-06-22 Thread Ben Maurer
On Thu, 2005-06-23 at 00:45 -0400, Miguel de Icaza wrote: Also, to apply this kind of patch that will affect everything, I would like to know in advance the memory footprint (running mono --profile before/after should tell us this) and how much extra code is JITed at startup (how much slower