From www-data@subversions.gnu.org Thu May 01 10:44:05 2003
Return-Path: <www-data@subversions.gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 400 invoked from network); 1 May 2003 10:44:04 -0000
Received: from unknown (HELO subversions.gnu.org) (199.232.41.2)
  by 0 with SMTP; 1 May 2003 10:44:04 -0000
Received: from www-data by subversions.gnu.org with local (Exim 3.35 #1 (Debian))
	id 19BBKU-0004EU-00; Thu, 01 May 2003 06:30:18 -0400
To: rweather@zip.com.au,rweather@zip.com.au,gopalv82@symonds.net,pnet-developers@dotgnu.org
From: nobody@savannah.gnu.org
Message-Id: <E19BBKU-0004EU-00@subversions.gnu.org>
Date: Thu, 01 May 2003 06:30:18 -0400
Subject: [Pnet-developers] [Bug #3387] string[]'s and PInvode
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

=================== BUG #3387: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3387&group_id=353

Changes by: Rhys Weatherley <rweather@zip.com.au>
Date: Thu 05/01/2003 at 10:30 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Fix committed to CVS - 1 May 2003.



=================== BUG #3387: FULL BUG SNAPSHOT ===================


Submitted by: None                    Project: DotGNU Portable.NET          
Submitted on: Tue 04/29/2003 at 10:50
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  Fixed                    
Assigned to:  None                    Status:  Closed                       

Summary:  string[]'s and PInvode

Original Submission:  After calling a C method that takes a char**, the result is garbage (not even a partial conversion.)

For example:

------------------- C Library -----------------------------

extern "C" void c_myFunc(int i, const char* str[])
{
    /* This prints garbage */
    printf(str);
}

-------------------- C# Class -----------------------------

...

[DllImport("mylib")] static extern void c_myFunc(int i, string[] str);
public void myFunc(int i, string[] str)
{
    c_myFunc(i, str);
}

...

Follow-up Comments
*******************

-------------------------------------------------------
Date: Thu 05/01/2003 at 10:30       By: rweather
Fix committed to CVS - 1 May 2003.


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3387&group_id=353

From gopalv82@softhome.net Thu May 01 19:26:35 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 30339 invoked from network); 1 May 2003 19:26:35 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 1 May 2003 19:26:35 -0000
Received: (qmail 8602 invoked by uid 417); 1 May 2003 19:12:43 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 1 May 2003 19:12:43 -0000
Received: from gopal ([61.1.229.184])
  by softhome.net with esmtp; Thu, 01 May 2003 13:12:39 -0600
Received: by gopal (Postfix, from userid 500)
	id 575526DF3; Fri,  2 May 2003 06:09:09 +0530 (IST)
Date: Fri, 2 May 2003 06:09:09 +0530
From: Gopal V <gopalv82@symonds.net>
To: Pnet Developers <pnet-developers@dotgnu.org>
Message-ID: <20030502060909.A10343@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	Pnet Developers <pnet-developers@dotgnu.org>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=_jive-8281-1051816363-0001-2"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Useless-Header: Look ma, no windows !
Subject: [Pnet-developers] A bug & possible patch as well
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_jive-8281-1051816363-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,
	This is confusing the hell out of me ... how come only the 
indexers are matched using the interfaces . So the attached file
gives an error only for the indexers. But anyway , I thought a
lot about it and decided.

Hopefully the patch should be the right one ... I'm putting it up
for comment (otherwise it should go to savannah !) and not committed
coz I'm not really sure whether this is a bug at all .

Gopal
-- 
The difference between insanity and genius is measured by success

--=_jive-8281-1051816363-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="multiple_indexers.cs"

using System;

public interface IXList
{
	object this[int i] { get; set; }
	object getThis(int i) ;
}

public class Indexers : IXList
{
	private int this[int i]
	{
		get
		{
			return 42;
		}
	}

	public object getThis(int i)
	{
		return 42;
	}

	object IXList.this[int i]
	{
		get
		{
			return 42;
		}
		set
		{
		}
	}

	object IXList.getThis(int i)
	{
		return 42;
	}

	public static void Main()
	{
		Indexers x=new Indexers();
#if !D
		Console.WriteLine(x[0]);
#endif
		Console.WriteLine(x.getThis(42));
	}
}

--=_jive-8281-1051816363-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=patch

--- /opt/cvs/dotgnu/pnet/cscc/csharp/cs_lookup.c	Thu Feb 27 19:54:07 2003
+++ cscc/csharp/cs_lookup.c	Fri May  2 06:02:20 2003
@@ -712,20 +712,24 @@
 					/* This is a virtual override, so skip it */
 					continue;
 				}
+				if(ILOverrideFromMethod(method)!=0)
+				{
+					/* override using the `.override X::Y` form 
+					 * like overriding interfaces with IFace.this[] */
+					continue;
+				}
 				AddMember(results, (ILProgramItem *)member, info,
 						  IL_META_MEMBERKIND_PROPERTY);
 			}
 		}
 
-		/* If this is an interface, then scan its base interfaces */
-		if(ILClass_IsInterface(info))
+		/* scan its base interfaces . Duplicate entries will be cleaned
+		 * up during TrimMemberList */
+		impl = 0;
+		while((impl = ILClassNextImplements(info, impl)) != 0)
 		{
-			impl = 0;
-			while((impl = ILClassNextImplements(info, impl)) != 0)
-			{
-				FindIndexers(ILImplementsGetInterface(impl),
-						     accessedFrom, results);
-			}
+			FindIndexers(ILImplementsGetInterface(impl),
+					     accessedFrom, results);
 		}
 
 		/* Move up to the parent */

--=_jive-8281-1051816363-0001-2--

From rweather@zip.com.au Thu May 01 23:09:45 2003
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 14621 invoked from network); 1 May 2003 23:09:45 -0000
Received: from unknown (HELO mta06bw.bigpond.com) (139.134.6.96)
  by 0 with SMTP; 1 May 2003 23:09:45 -0000
Received: from comet.southern-storm.com.au ([144.135.24.84]) by
          mta06bw.bigpond.com (Netscape Messaging Server 4.15 mta06bw Jul
          16 2002 22:47:55) with SMTP id HE8D1200.7Z9; Fri, 2 May 2003
          08:55:50 +1000 
Received: from CPE-203-45-171-47.qld.bigpond.net.au ([203.45.171.47]) by bwmam06bpa.bigpond.com(MailRouter V3.2g 53/18062318); 02 May 2003 08:55:50
Content-Type: text/plain;
  charset="iso-8859-1"
From: Rhys Weatherley <rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
To: Gopal V <gopalv82@symonds.net>,
 Pnet Developers <pnet-developers@dotgnu.org>
Subject: Re: [Pnet-developers] A bug & possible patch as well
Date: Fri, 2 May 2003 08:51:49 +1000
User-Agent: KMail/1.4.3
References: <20030502060909.A10343@md3.vsnl.net.in>
In-Reply-To: <20030502060909.A10343@md3.vsnl.net.in>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200305020851.49926.rweather@zip.com.au>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Friday 02 May 2003 10:39 am, Gopal V wrote:
> Hi,
> =09This is confusing the hell out of me ...

Me too.  It took me a while to understand the problem and the patch.  But=
 the=20
patch is correct.  I made the comments a little more verbose to explain w=
hat=20
is going on and committed it.

Cheers,

Rhys.


From abansod@fullenergy.com Thu May 01 23:57:58 2003
Return-Path: <abansod@fullenergy.com>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 26853 invoked from network); 1 May 2003 23:57:58 -0000
Received: from unknown (HELO smtp016.mail.yahoo.com) (216.136.174.113)
  by 0 with SMTP; 1 May 2003 23:57:58 -0000
Received: from abansod-wireless.dynamic.ucsd.edu (HELO MSRPORT3500) (hyperionab@128.54.55.107 with login)
  by smtp.mail.vip.sc5.yahoo.com with SMTP; 1 May 2003 23:44:04 -0000
Reply-To: <abansod@fullenergy.com>
From: "Aditya P. Bansod" <abansod@fullenergy.com>
To: "'Pnet Developers'" <pnet-developers@dotgnu.org>
Subject: RE: [Pnet-developers] A bug & possible patch as well
Date: Thu, 1 May 2003 16:44:04 -0700
Message-ID: <000601c3103b$8d6cf9b0$6b373680@MSRPORT3500>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.4510
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
In-Reply-To: <20030502060909.A10343@md3.vsnl.net.in>
Importance: Normal
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

FYI:

C:\Documents and Settings\abansod\Desktop>csc multiple_indexers.cs
Microsoft (R) Visual C# .NET Compiler version 7.00.9466
for Microsoft (R) .NET Framework version 1.0.3705
Copyright (C) Microsoft Corporation 2001. All rights reserved.


C:\Documents and Settings\abansod\Desktop>multiple_indexers.exe
42
42

--Aditya

> -----Original Message-----
> From: Gopal V [mailto:gopalv82@symonds.net] 
> Sent: Thursday, May 01, 2003 5:39 PM
> To: Pnet Developers
> Subject: [Pnet-developers] A bug & possible patch as well
> 
> 
> Hi,
> 	This is confusing the hell out of me ... how come only the 
> indexers are matched using the interfaces . So the attached 
> file gives an error only for the indexers. But anyway , I 
> thought a lot about it and decided.
> 
> Hopefully the patch should be the right one ... I'm putting 
> it up for comment (otherwise it should go to savannah !) and 
> not committed coz I'm not really sure whether this is a bug at all .
> 
> Gopal
> -- 
> The difference between insanity and genius is measured by success
> 


From www-data@subversions.gnu.org Fri May 02 17:11:57 2003
Return-Path: <www-data@subversions.gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 26529 invoked from network); 2 May 2003 17:11:57 -0000
Received: from unknown (HELO subversions.gnu.org) (199.232.41.2)
  by 0 with SMTP; 2 May 2003 17:11:57 -0000
Received: from www-data by subversions.gnu.org with local (Exim 3.35 #1 (Debian))
	id 19BdrJ-00066R-00; Fri, 02 May 2003 12:58:05 -0400
To: gopalv82@symonds.net,rweather@zip.com.au,gopalv82@symonds.net,pnet-developers@dotgnu.org
From: nobody@savannah.gnu.org
Message-Id: <E19BdrJ-00066R-00@subversions.gnu.org>
Date: Fri, 02 May 2003 12:58:05 -0400
Subject: [Pnet-developers] [Bug #2556] Constants to ObjectRefs for Attribute Arguments
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

=================== BUG #2556: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2556&group_id=353

Changes by: Gopal.V <gopalv82@symonds.net>
Date: Fri 05/02/2003 at 22:28 (Asia/Calcutta)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
I think I fixed this today ... but not 100% sure if this the best way to do this . Also enum serialization is suspect (where do I find documentation of this ?)



=================== BUG #2556: FULL BUG SNAPSHOT ===================


Submitted by: t3rmin4t0r              Project: DotGNU Portable.NET          
Submitted on: Sat 02/15/2003 at 00:35
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  Fixed                    
Assigned to:  None                    Status:  Closed                       

Summary:  Constants to ObjectRefs for Attribute Arguments

Original Submission:  What it seems to do is convert the enum into a
type-0x55 serialization value (IL_META_SERIALTYPE_ENUM), which we don't
currently handle properly.

If I'm understanding it correctly, type-0x55 represents an enum constant that
is converted into a boxed object at runtime, rather than a simple integer
enum value.

There are two things to be fixed: (a) recognise that it is OK to coerce a
constant to a reference type (ILTypeIsReference) in an attribute argument, as
long as regular type coercion says its OK; (b) fix the serialization code (in
multiple places) to handle reference types appropriately.


Follow-up Comments
*******************

-------------------------------------------------------
Date: Fri 05/02/2003 at 22:28       By: t3rmin4t0r
I think I fixed this today ... but not 100% sure if this the best way to do this . Also enum serialization is suspect (where do I find documentation of this ?)


CC list is empty


File Attachments
****************

-------------------------------------------------------
Date: Sat 02/15/2003 at 00:35  Name: attr-enum.cs  Size: 0KB   By: t3rmin4t0r
test case
http://savannah.gnu.org/bugs/download.php?group_id=353&amp;bug_id=2556&amp;bug_file_id=301


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2556&group_id=353

From gopalv82@softhome.net Fri May 02 19:16:54 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 13484 invoked from network); 2 May 2003 19:16:54 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 2 May 2003 19:16:54 -0000
Received: (qmail 25946 invoked by uid 417); 2 May 2003 19:02:57 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 2 May 2003 19:02:57 -0000
Received: from gopal ([61.1.229.192])
  by softhome.net with esmtp; Fri, 02 May 2003 13:02:53 -0600
Received: by gopal (Postfix, from userid 500)
	id 77F976E3F; Sat,  3 May 2003 00:25:42 +0530 (IST)
Date: Sat, 3 May 2003 00:25:41 +0530
From: Gopal V <gopalv82@symonds.net>
To: Pnet Developers <pnet-developers@dotgnu.org>
Message-ID: <20030503002541.A11089@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	Pnet Developers <pnet-developers@dotgnu.org>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=_jive-25660-1051902177-0001-2"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Useless-Header: Look ma, no windows !
Subject: [Pnet-developers] Bug , Patch and doubts
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_jive-25660-1051902177-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,
	This is probably the simplest stuff I must have had doubts about.
To be more precise "have doubts" as well...

So postulates (which I assumed).

*) No attribute argument is a single identifier 
*) The only way a single identifier can be semanalysed inside an attr arg
   is if it is part of a qualified identifier
*) Considering all the possible qualified identifiers in the attribute 
   args , they'll all be member accesses . So obviously , whenever 
   CSResolveSimpleName is called inside ILNode_ToAttrConst , we will need
   either a namespace or type but never a class member . So avoid them in
   CSResolveSimpleName :-)

   .. and hence the proof ..

So the attached patch & code should make things a lot more clear ...

Gopal
PS: writing under the influence of too much maths and coffee ...
-- 
The difference between insanity and genius is measured by success

--=_jive-25660-1051902177-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=patch

--- /opt/cvs/dotgnu/pnet/codegen/cg_gen.h	Thu Feb 27 19:53:52 2003
+++ codegen/cg_gen.h	Fri May  2 23:51:24 2003
@@ -103,6 +103,7 @@
 	int				semAnalysis : 1;	/* Non-zero during semantic analysis */
 	int				typeGather : 1;		/* Non-zero during type gathering */
 	int				inSemType : 1;		/* Semantic analysis on a type */
+	int				inAttrArg : 1;		/* Non-zero inside an attribute arg */
 	int				useJavaLib : 1;		/* Use Java and not C# library */
 	int				outputIsJava : 1;	/* Output Java bytecode */
 	int				debugFlag : 1;		/* Non-zero if debug is enabled */
--- /opt/cvs/dotgnu/pnet/cscc/csharp/cs_oper.tc	Sun Mar  9 13:54:28 2003
+++ cscc/csharp/cs_oper.tc	Fri May  2 23:56:54 2003
@@ -1384,6 +1384,8 @@
 	CSSemValue value;
 	ILNode_TypeOf *typeofNode;
 
+	info->inAttrArg=1;
+
 	/* Special case: types can be used as attribute constants */
 	if(yyisa(node->expr, ILNode_TypeOf))
 	{
@@ -1439,6 +1441,8 @@
 		}
 	}
 
+	info->inAttrArg=0;
+
 	/* Return the semantic information to the caller */
 	return value;
 }
--- /opt/cvs/dotgnu/pnet/cscc/csharp/cs_lookup.c	Fri May  2 11:52:08 2003
+++ cscc/csharp/cs_lookup.c	Sat May  3 00:21:48 2003
@@ -1217,7 +1217,9 @@
 	accessedFrom = ILClassResolve(CSGetAccessScope(genInfo, 1));
 
 	/* Scan the start type and its nested parents */
-	while(startType != 0)
+	/* Note: do not lookup class members while resolving the simple names
+	 * inside an attribute argument */
+	while(startType != 0 && !genInfo->inAttrArg)
 	{
 		/* Resolve cross-image references */
 		startType = ILClassResolve(startType);

--=_jive-25660-1051902177-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="PropertyAndAttribute.cs"

using System;
using X;

public class MyAttribute : Attribute 
{
	public MyAttribute(Dino d)
	{
	}
	public MyAttribute(Type x)
	{
	}
}

namespace X { public enum Dino { Rex } }

public class XYZ
{
	[MyAttribute(Dino.Rex)]
	public static Dino Dino;

	[MyAttribute(typeof(X.Dino))]
	public static Dino Dino2;
}

--=_jive-25660-1051902177-0001-2--

From rweather@zip.com.au Fri May 02 23:27:46 2003
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 15874 invoked from network); 2 May 2003 23:27:45 -0000
Received: from unknown (HELO mta01bw.bigpond.com) (139.134.6.78)
  by 0 with SMTP; 2 May 2003 23:27:45 -0000
Received: from comet.southern-storm.com.au ([144.135.24.81]) by
          mta01bw.bigpond.com (Netscape Messaging Server 4.15 mta01bw Jul
          16 2002 22:47:55) with SMTP id HEA8J700.DUZ for
          <pnet-developers@dotgnu.org>; Sat, 3 May 2003 09:13:55 +1000 
Received: from CPE-203-45-171-47.qld.bigpond.net.au ([203.45.171.47]) by bwmam05bpa.bigpond.com(MailRouter V3.2g 44/19721207); 03 May 2003 09:13:45
Content-Type: text/plain;
  charset="us-ascii"
From: Rhys Weatherley <rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
To: pnet-developers@dotgnu.org
Date: Sat, 3 May 2003 09:09:40 +1000
User-Agent: KMail/1.4.3
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200305030909.40256.rweather@zip.com.au>
Subject: [Pnet-developers] Temporary code freeze
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

A temporary code freeze on pnet and pnetlib is in place while I deal with=
 last=20
minute issues prior to 0.5.6.  Please don't check anything in without=20
checking with me first in #dotgnu.

Cheers,

Rhys.


From gopalv82@softhome.net Sun May 04 14:34:43 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 27371 invoked from network); 4 May 2003 14:34:43 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 4 May 2003 14:34:43 -0000
Received: (qmail 11783 invoked by uid 417); 4 May 2003 14:20:37 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 4 May 2003 14:20:37 -0000
Received: from gopal ([61.1.229.96])
  by softhome.net with esmtp; Sun, 04 May 2003 08:20:33 -0600
Received: by gopal (Postfix, from userid 500)
	id AFE416DD7; Sun,  4 May 2003 19:48:48 +0530 (IST)
Date: Sun, 4 May 2003 19:48:48 +0530
From: Gopal V <gopalv82@symonds.net>
To: Pnet Developers <pnet-developers@dotgnu.org>
Message-ID: <20030504194848.A1062@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	Pnet Developers <pnet-developers@dotgnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Useless-Header: Look ma, no windows !
Subject: [Pnet-developers] Java compiler issues
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hi All,
	So here are the current road blocks to the java compiler design 
right now ... I'm putting this down now because I hope to get some 
quick answers in tonight's meeting.

Let me start by mentioning what we arrived at in the last meeting .

The idea was to use a builtin library in the compiler which will
imitate the libraries to  be replaced during later stages.

Hopefully a library written in C# marked with various [Java*Map]
attributes can be used to correctly update the builtin library as
well as generate a replacement table. Otherwise the process will
get out of hand very very easily ...

Replacement table will be similar to the internal call table , with
all methods returning ILNode* replacements for methods.

BEGIN_REPLACE_TABLE("java.lang.Object")
	IL_CTOR(".ctor", "()V", _java_lang_Object_ctor)
	IL_METHOD("equals", "(Tjava.lang.Object;)V", _java_lang_Object_equals,
					_java_lang_Object_equals_Override)
END_REPACE_TABLE

BEGIN_REPLACE_TABLE("java.lang.String")
	IL_FIELD("CASE_INSENSITIVE_ORDER", "Tjava.util.Comparator;", _java_lang_String_CASE_INSENSITIVE_ORDER_get , _java_lang_String_CASE_INSENSITIVE_ORDER_set)
END_REPACE_TABLE

ILNode * _java_lang_Object_ctor(ILGenInfo *info,ILNode *ctorExpression)
{
	ILNode* ident =ILNode_SystemType_create("Object");
	return ILNode_ObjectCreationExpression(ident,NULL);
}

Which are unfortunately needed for each & every replacement ... (since
each of them are subtly different in some way). But this would be a nice
way for people to chip-in and help.

All the equals() method override will therefore need an .override 
System.Object::Equals() which should be done in type gathering...

To determine which class will be obtained where , ie where shall I get 
java.lang.Object and where System.Object , is a mind bogglingly complicated
question here.

And last but not least , how the heck do I generate the right error 
messages on compilation ?. For that I'd need a backwards hashtable
of the replace table as well. 

It's soooo complicated that I feel like quitting or going on with the
wrapped object format I have ...

And this is all replacing things that work 75% of the cases ... JNI is
another bag of tough nuts ... Even a pnet-specific to spec IL JNI system
sounds impossible.

Is there some other easier way  ?
Gopal
-- 
The difference between insanity and genius is measured by success

From www-data@subversions.gnu.org Mon May 05 10:36:17 2003
Return-Path: <www-data@subversions.gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 17140 invoked from network); 5 May 2003 10:36:16 -0000
Received: from unknown (HELO subversions.gnu.org) (199.232.41.2)
  by 0 with SMTP; 5 May 2003 10:36:16 -0000
Received: from www-data by subversions.gnu.org with local (Exim 3.35 #1 (Debian))
	id 19Cd6n-0003hf-00; Mon, 05 May 2003 06:22:09 -0400
To: Yannis.BRES@sophia.inria.fr,rweather@zip.com.au,gopalv82@symonds.net,pnet-developers@dotgnu.org
From: nobody@savannah.gnu.org
Message-Id: <E19Cd6n-0003hf-00@subversions.gnu.org>
Date: Mon, 05 May 2003 06:22:09 -0400
Subject: [Pnet-developers] [Bug #3467] Fail to compile mscorlib.dll 0.5.6
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

=================== BUG #3467: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3467&group_id=353

Submitted by: yannis_bres             Project: DotGNU Portable.NET          
Submitted on: Mon 05/05/03 at 10:22
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  Fail to compile mscorlib.dll 0.5.6

Original Submission:  There is a problem when compiling mscorlib.dll 0.5.6 under Cygwin on Windows XP SP1, when running cscc on the .cs files that compose the runtime.
It looks like there is a limit in the size of a command-line, either coming from Cygwin's bash or Win32.

cscc can be lauched successfully with the file list up to ./System/Runtime/CompilerServices/CompilerGlobalScopeAttribute.cs (but there are a lot of errors due to missing types).

If we add ./System/Runtime/CompilerServices/CustomConstantAttribute.cs, then it fails:
L:\Cygwin\usr\local\bin\cscc.exe: *** fork: can't reserve memory for stack 0x40000 - 0x240000, Win32 error 487
   2049 [main] cscc 4048 sync_with_child: child 3684(0x724) died before initialization with status code 0x1
   2938 [main] cscc 4048 sync_with_child: *** child state waiting for longjmp
fork: Resource temporarily unavailable

If we include some more files, or all the files, or if we try to reduce the list length with wildcards that will be expanded by the shell, then we end up with:
bash: /usr/local/bin/cscc: Invalid argument

Any idea/workaround ?




No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3467&group_id=353

From rweather@zip.com.au Mon May 05 11:49:33 2003
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 30892 invoked from network); 5 May 2003 11:49:33 -0000
Received: from unknown (HELO mta01bw.bigpond.com) (139.134.6.78)
  by 0 with SMTP; 5 May 2003 11:49:33 -0000
Received: from comet.southern-storm.com.au ([144.135.24.87]) by
          mta01bw.bigpond.com (Netscape Messaging Server 4.15 mta01bw Jul
          16 2002 22:47:55) with SMTP id HEEW7700.D7Z for
          <pnet-developers@dotgnu.org>; Mon, 5 May 2003 21:35:31 +1000 
Received: from CPE-203-45-171-47.qld.bigpond.net.au ([203.45.171.47]) by bwmam07bpa.bigpond.com(MailRouter V3.2g 62/23724858); 05 May 2003 21:35:20
Content-Type: text/plain;
  charset="iso-8859-1"
From: Rhys Weatherley <rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
To: pnet-developers@dotgnu.org
Subject: Re: [Pnet-developers] [Bug #3467] Fail to compile mscorlib.dll 0.5.6
Date: Mon, 5 May 2003 21:31:02 +1000
User-Agent: KMail/1.4.3
References: <E19Cd6n-0003hf-00@subversions.gnu.org>
In-Reply-To: <E19Cd6n-0003hf-00@subversions.gnu.org>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200305052131.02827.rweather@zip.com.au>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Monday 05 May 2003 08:22 pm, nobody@savannah.gnu.org wrote:

> Original Submission:  There is a problem when compiling mscorlib.dll 0.=
5.6
> under Cygwin on Windows XP SP1, when running cscc on the .cs files that
> compose the runtime. It looks like there is a limit in the size of a
> command-line, either coming from Cygwin's bash or Win32.

I was wondering when we'd hit a command-line limit on one of the operatin=
g=20
systems.  Looks like I have my answer. :-)

I will be able to work around this with response files - should be fixed =
in a=20
couple of days.  Thanks for tracking it down.

Cheers,

Rhys.


From gopalv82@softhome.net Tue May 06 08:26:15 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 28676 invoked from network); 6 May 2003 08:26:14 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 6 May 2003 08:26:14 -0000
Received: (qmail 26529 invoked by uid 417); 6 May 2003 08:12:00 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 6 May 2003 08:12:00 -0000
Received: from gopal ([61.1.229.39])
  by softhome.net with esmtp; Tue, 06 May 2003 02:11:54 -0600
Received: by gopal (Postfix, from userid 500)
	id 7DDFC6DD8; Tue,  6 May 2003 13:39:06 +0530 (IST)
Date: Tue, 6 May 2003 13:39:06 +0530
From: Gopal V <gopalv82@symonds.net>
To: Pnet Developers <pnet-developers@dotgnu.org>
Subject: Re: [Pnet-developers] Bug , Patch and doubts
Message-ID: <20030506133906.A1418@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	Pnet Developers <pnet-developers@dotgnu.org>
References: <20030503002541.A11089@md3.vsnl.net.in>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20030503002541.A11089@md3.vsnl.net.in>; from gopalv82@symonds.net on Sat, May 03, 2003 at 12:25:41AM +0530
X-Useless-Header: Look ma, no windows !
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

If memory serves me right, Gopal V wrote:
> *) Considering all the possible qualified identifiers in the attribute 
>    args , they'll all be member accesses . So obviously , whenever 
>    CSResolveSimpleName is called inside ILNode_ToAttrConst , we will need
>    either a namespace or type but never a class member . So avoid them in
>    CSResolveSimpleName :-)
> 
>    .. and hence the proof ..

Any comments on the patch ? .... Can I commit ?

Gopal
-- 
The difference between insanity and genius is measured by success

From rweather@zip.com.au Tue May 06 08:56:10 2003
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 31768 invoked from network); 6 May 2003 08:56:09 -0000
Received: from unknown (HELO mta03ps.bigpond.com) (144.135.25.135)
  by 0 with SMTP; 6 May 2003 08:56:09 -0000
Received: from comet.southern-storm.com.au ([144.135.25.84]) by
          mta03ps.bigpond.com (Netscape Messaging Server 4.15 mta03ps Jul
          16 2002 22:47:55) with SMTP id HEGISY00.CY0; Tue, 6 May 2003
          18:41:22 +1000 
Received: from CPE-203-45-171-47.qld.bigpond.net.au ([203.45.171.47]) by psmam06bpa.bigpond.com(MailRouter V3.2g 116/1539503); 06 May 2003 18:41:23
Content-Type: text/plain;
  charset="iso-8859-1"
From: Rhys Weatherley <rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
To: Gopal V <gopalv82@symonds.net>
Subject: Re: [Pnet-developers] Bug , Patch and doubts
Date: Tue, 6 May 2003 18:37:00 +1000
User-Agent: KMail/1.4.3
References: <20030503002541.A11089@md3.vsnl.net.in> <20030506133906.A1418@md3.vsnl.net.in>
In-Reply-To: <20030506133906.A1418@md3.vsnl.net.in>
Cc: pnet-developers@dotgnu.org
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200305061837.00501.rweather@zip.com.au>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Tuesday 06 May 2003 06:09 pm, Gopal V wrote:

> Any comments on the patch ? .... Can I commit ?

Sorry about not replying sooner.  When I had a look at it, it seemed to b=
e=20
missing the "using" clause for resolving the identifiers in the attribute=
s. =20
The patch didn't appear to address this, so I'd like to know whether you'=
ve=20
investigated that?

Cheers,

Rhys.


From gopalv82@softhome.net Tue May 06 13:11:12 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 12469 invoked from network); 6 May 2003 13:11:12 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 6 May 2003 13:11:12 -0000
Received: (qmail 13357 invoked by uid 417); 6 May 2003 12:56:54 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 6 May 2003 12:56:54 -0000
Received: from gopal ([61.1.229.187])
  by softhome.net with esmtp; Tue, 06 May 2003 06:56:51 -0600
Received: by gopal (Postfix, from userid 500)
	id 3EE776DD7; Tue,  6 May 2003 18:25:23 +0530 (IST)
Date: Tue, 6 May 2003 18:25:22 +0530
From: Gopal V <gopalv82@symonds.net>
To: Rhys Weatherley <rweather@zip.com.au>
Cc: pnet-developers@dotgnu.org
Subject: Re: [Pnet-developers] Bug , Patch and doubts
Message-ID: <20030506182522.A1265@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	Rhys Weatherley <rweather@zip.com.au>, pnet-developers@dotgnu.org
References: <20030503002541.A11089@md3.vsnl.net.in> <20030506133906.A1418@md3.vsnl.net.in> <200305061837.00501.rweather@zip.com.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200305061837.00501.rweather@zip.com.au>; from rweather@zip.com.au on Tue, May 06, 2003 at 06:37:00PM +1000
X-Useless-Header: Look ma, no windows !
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

If memory serves me right, Rhys Weatherley wrote:
> Sorry about not replying sooner.  When I had a look at it, it seemed to be 
> missing the "using" clause for resolving the identifiers in the attributes.  
> The patch didn't appear to address this, so I'd like to know whether you've 
> investigated that?

Nope it's picking up the "using" clause ... the problem is this fragment of
code ...

	[MyAttribute(Dino.Rex)]
	public static Dino Dino;

Where Dino -the-member- is picked as the parameter ... so if I comment
out the field decl , it compiles fine ... You could solve this bug by
implementing backtracking lookups for qualified identifiers to solve
the ambiguity of ".field Dino" vs ".class Dino" .. 

Right now an easy way to solve this ambiguity is to assume (correctly) 
that the first identifier in a qualident in an attribute arg is always
a type or namespace , so avoid lookups for members in CSResolveSimpleName.

Gopal
PS: a lot of cases occurr with DefaultValue attributes in System.Data ...
-- 
The difference between insanity and genius is measured by success

From www-data@subversions.gnu.org Tue May 06 19:27:48 2003
Return-Path: <www-data@subversions.gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 21273 invoked from network); 6 May 2003 19:27:48 -0000
Received: from unknown (HELO subversions.gnu.org) (199.232.41.2)
  by 0 with SMTP; 6 May 2003 19:27:48 -0000
Received: from www-data by subversions.gnu.org with local (Exim 3.35 #1 (Debian))
	id 19D7se-0001DC-00; Tue, 06 May 2003 15:13:36 -0400
To: dcorking@yahoo.fr,rweather@zip.com.au,gopalv82@symonds.net,pnet-developers@dotgnu.org
From: nobody@savannah.gnu.org
Message-Id: <E19D7se-0001DC-00@subversions.gnu.org>
Date: Tue, 06 May 2003 15:13:36 -0400
Subject: [Pnet-developers] [Bug #3487] Formatter.cs decimal padding passes negative arg to StringBuilder.Insert
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

=================== BUG #3487: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3487&group_id=353

Submitted by: dcorking                Project: DotGNU Portable.NET          
Submitted on: Tue 05/06/2003 at 19:13
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  Formatter.cs decimal padding passes negative arg to StringBuilder.Insert

Original Submission:  I hope that documenting this glitch is some use even though I am a newbie at pnetlib and in CLI in
general.

The following patch against pnetlib-0.5.4 to Formatter.cs works for me
at least.  It fixes what seems to be an incorrect call to
StringBuilder.Insert in the decimal string padding code in pnetlib.

(Sorry I couldn't test CVS or 0.5.6 ?bug #3467 - but the relevant code
 hasn't changed)

Please *do not commit* this patch to CVS - it is only to explain the
glitch I think I found - I don't know my way around the library sources so someone that does should make the definitive patch.

I have attached a tiny test program to demonstrate this.  Here is the runtime output before the patch

$ ilrun ./a.out.exe
Testing 0.00m - no format specifier
Testing 0.00m : N2
Uncaught exception: System.ArgumentOutOfRangeException: Value must not be negati
ve
Parameter name: count
        at System.Text.StringBuilder.Insert(Int32, String, Int32) in ./System/Te
xt/StringBuilder.cs:646
        at System.Private.NumberFormat.Formatter.FormatDecimal(Decimal) in ./Sys
tem/Private/NumberFormat/Formatter.cs:384
        at System.Private.NumberFormat.Formatter.FormatAnyRound(Object, Int32) i
n ./System/Private/NumberFormat/Formatter.cs:307
        at System.Private.NumberFormat.NumberFormatter.Format(Object, IFormatPro
vider) in ./System/Private/NumberFormat/NumberFormatter.cs:84
        at System.Decimal.ToString(String, IFormatProvider) in ./System/Decimal.
cs:322
        at System.Decimal.ToString(String) in ./System/Decimal.cs:313
        at DCorking.DecimalToStringTester.Main()

After the patch the test value 0.00m : N2 works correctly.  However some
of my other test values are causing different (int overflow) problems
which I haven't addressed

Here is the output from my little test program after the patch

$ ilrun ./a.out.exe
Testing 0.00m - no format specifier
Testing 0.00m : N2
Testing 1.00m - no format specifier
Testing 1234567899123456789912345678m - no format specifier
Uncaught exception: System.OverflowException: Valid Int32 values are between -21
47483648 and 2147483647, inclusive
        at System.Decimal.ToInt32(Decimal) in ./System/Decimal.cs:511
        at System.Decimal.op_Explicit(Decimal) in ./System/Decimal.cs:172
        at System.Private.NumberFormat.Formatter.FormatDecimal(Decimal) in ./Sys
tem/Private/NumberFormat/Formatter.cs:376
        at System.Private.NumberFormat.Formatter.FormatAnyRound(Object, Int32) i
n ./System/Private/NumberFormat/Formatter.cs:307
        at System.Private.NumberFormat.FixedPointFormatter.Format(Object, IForma
tProvider) in ./System/Private/NumberFormat/FixedPointFormatter.cs:43
        at System.Private.NumberFormat.GeneralFormatter.Format(Object, IFormatPr
ovider) in ./System/Private/NumberFormat/GeneralFormatter.cs:121
        at System.Decimal.ToString(String, IFormatProvider) in ./System/Decimal.
cs:322
        at System.Decimal.ToString() in ./System/Decimal.cs:309
        at DCorking.DecimalToStringTester.Main()

Finally here is the successful output from the same executable with
runtime from another vendor.  My program looks correct to my eyes:

$ ./a.out.exe
Testing 0.00m - no format specifier
Testing 0.00m : N2
Testing 1.00m - no format specifier
Testing 1234567899123456789912345678m - no format specifier
Testing 1234567899123456789912345678m : N2
If no exceptions so far, then all tests passed.

My three tests were done under cygwin on W2K SP3.

Inline below is the patch and an incomplete test procedure

diff --unified --recursive pnetlib-0.5.4original/runtime/System/Private/NumberFormat/Formatter.cs pnetlib-0.5.4/runtime/System/Private/NumberFormat/Formatter.cs
--- pnetlib-0.5.4original/runtime/System/Private/NumberFormat/Formatter.cs	2003-03-29 04:44:51.000000000 -0500
+++ pnetlib-0.5.4/runtime/System/Private/NumberFormat/Formatter.cs	2003-05-04 08:13:04.000000000 -0400
@@ -381,7 +381,7 @@
 		//  Pad out significant digits
 		if (ret.Length < scale) 
 		{
-			ret.Insert(0, "0", ret.Length - scale);
+			ret.Insert(0, "0", scale - ret.Length);
 		}
 
 		//  Insert a decimal point

I hope line wrapping hasn't garbled this too badly.





No Followups Have Been Posted


CC list is empty


File Attachments
****************

-------------------------------------------------------
Date: Tue 05/06/2003 at 19:13  Name: DecimalToStringGlitch.cs  Size: 0KB   By: dcorking
simple test to demonstrate glitch
http://savannah.gnu.org/bugs/download.php?group_id=353&amp;bug_id=3487&amp;bug_file_id=431


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3487&group_id=353

From rweather@zip.com.au Tue May 06 21:56:05 2003
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 22240 invoked from network); 6 May 2003 21:56:05 -0000
Received: from unknown (HELO mta06ps.bigpond.com) (144.135.25.138)
  by 0 with SMTP; 6 May 2003 21:56:05 -0000
Received: from comet.southern-storm.com.au ([144.135.25.78]) by
          mta06ps.bigpond.com (Netscape Messaging Server 4.15 mta06ps May
          23 2002 23:53:28) with SMTP id HEHIXM00.57A; Wed, 7 May 2003
          07:41:46 +1000 
Received: from CPE-203-45-171-47.qld.bigpond.net.au ([203.45.171.47]) by psmam04bpa.bigpond.com(MAM V3.3.2 98/1217104); 07 May 2003 07:41:46
Content-Type: text/plain;
  charset="iso-8859-1"
From: Rhys Weatherley <rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
To: Gopal V <gopalv82@symonds.net>
Subject: Re: [Pnet-developers] Bug , Patch and doubts
Date: Wed, 7 May 2003 07:37:21 +1000
User-Agent: KMail/1.4.3
Cc: pnet-developers@dotgnu.org
References: <20030503002541.A11089@md3.vsnl.net.in> <200305061837.00501.rweather@zip.com.au> <20030506182522.A1265@md3.vsnl.net.in>
In-Reply-To: <20030506182522.A1265@md3.vsnl.net.in>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200305070737.21647.rweather@zip.com.au>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Tuesday 06 May 2003 10:55 pm, Gopal V wrote:

> Nope it's picking up the "using" clause ... the problem is this fragmen=
t of
> code ...
>
> =09[MyAttribute(Dino.Rex)]
> =09public static Dino Dino;

OK.  Check it in for now, together with initializing "inAttrArg" to zero =
in=20
"cg_gen.c" which I didn't see in the patch.

Cheers,

Rhys.


From gopalv82@softhome.net Wed May 07 06:25:24 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 13178 invoked from network); 7 May 2003 06:25:23 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 7 May 2003 06:25:23 -0000
Received: (qmail 3202 invoked by uid 417); 7 May 2003 06:11:05 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 7 May 2003 06:11:05 -0000
Received: from gopal ([61.1.229.248])
  by softhome.net with esmtp; Wed, 07 May 2003 00:10:56 -0600
Received: by gopal (Postfix, from userid 500)
	id DBCA66DD7; Wed,  7 May 2003 11:38:56 +0530 (IST)
Date: Wed, 7 May 2003 11:38:56 +0530
From: Gopal V <gopalv82@symonds.net>
To: dcorking@yahoo.fr
Cc: pnet-developers@dotgnu.org
Message-ID: <20030507113856.A2411@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>, dcorking@yahoo.fr,
	pnet-developers@dotgnu.org
References: <E19D7se-0001DC-00@subversions.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <E19D7se-0001DC-00@subversions.gnu.org>; from nobody@savannah.gnu.org on Tue, May 06, 2003 at 03:13:36PM -0400
X-Useless-Header: Look ma, no windows !
Subject: [Pnet-developers] Re: [Bug #3487] Formatter.cs decimal padding passes negative arg to StringBuilder.Insert
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

If memory serves me right, nobody@savannah.gnu.org wrote:
>  		//  Pad out significant digits
>  		if (ret.Length < scale) 
>  		{
> -			ret.Insert(0, "0", ret.Length - scale);
> +			ret.Insert(0, "0", scale - ret.Length);
>  		}

The patch looks Ok , and I'm committing this now ... (it's obviously correct !).
Nice catch !

For the rest of the problem , I think we'll all need more help :-) ... The
most exasperating thing about all this is that you can't use Console.WriteLine
with the formatting code :-( ...

Gopal
-- 
The difference between insanity and genius is measured by success

From www-data@subversions.gnu.org Wed May 07 06:31:05 2003
Return-Path: <www-data@subversions.gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 13875 invoked from network); 7 May 2003 06:31:04 -0000
Received: from unknown (HELO subversions.gnu.org) (199.232.41.2)
  by 0 with SMTP; 7 May 2003 06:31:04 -0000
Received: from www-data by subversions.gnu.org with local (Exim 3.35 #1 (Debian))
	id 19DIEV-0003G2-00; Wed, 07 May 2003 02:16:51 -0400
To: dcorking@yahoo.fr,gopalv82@symonds.net,rweather@zip.com.au,gopalv82@symonds.net,pnet-developers@dotgnu.org
From: nobody@savannah.gnu.org
Message-Id: <E19DIEV-0003G2-00@subversions.gnu.org>
Date: Wed, 07 May 2003 02:16:51 -0400
Subject: [Pnet-developers] [Bug #3487] Formatter.cs decimal padding passes negative arg to StringBuilder.Insert
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

=================== BUG #3487: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3487&group_id=353

Changes by: Gopal.V <gopalv82@symonds.net>
Date: Wed 05/07/2003 at 11:46 (Asia/Calcutta)

------------------ Additional Follow-up Comments ----------------------------
The patch has hit the CVS (under David Corking) , the question here is -- is anyone else behind the rest of the bug ?



=================== BUG #3487: FULL BUG SNAPSHOT ===================


Submitted by: dcorking                Project: DotGNU Portable.NET          
Submitted on: Wed 05/07/2003 at 00:43
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  Formatter.cs decimal padding passes negative arg to StringBuilder.Insert

Original Submission:  I hope that documenting this glitch is some use even though I am a newbie at pnetlib and in CLI in
general.

The following patch against pnetlib-0.5.4 to Formatter.cs works for me
at least.  It fixes what seems to be an incorrect call to
StringBuilder.Insert in the decimal string padding code in pnetlib.

(Sorry I couldn't test CVS or 0.5.6 ?bug #3467 - but the relevant code
 hasn't changed)

Please *do not commit* this patch to CVS - it is only to explain the
glitch I think I found - I don't know my way around the library sources so someone that does should make the definitive patch.

I have attached a tiny test program to demonstrate this.  Here is the runtime output before the patch

$ ilrun ./a.out.exe
Testing 0.00m - no format specifier
Testing 0.00m : N2
Uncaught exception: System.ArgumentOutOfRangeException: Value must not be negati
ve
Parameter name: count
        at System.Text.StringBuilder.Insert(Int32, String, Int32) in ./System/Te
xt/StringBuilder.cs:646
        at System.Private.NumberFormat.Formatter.FormatDecimal(Decimal) in ./Sys
tem/Private/NumberFormat/Formatter.cs:384
        at System.Private.NumberFormat.Formatter.FormatAnyRound(Object, Int32) i
n ./System/Private/NumberFormat/Formatter.cs:307
        at System.Private.NumberFormat.NumberFormatter.Format(Object, IFormatPro
vider) in ./System/Private/NumberFormat/NumberFormatter.cs:84
        at System.Decimal.ToString(String, IFormatProvider) in ./System/Decimal.
cs:322
        at System.Decimal.ToString(String) in ./System/Decimal.cs:313
        at DCorking.DecimalToStringTester.Main()

After the patch the test value 0.00m : N2 works correctly.  However some
of my other test values are causing different (int overflow) problems
which I haven't addressed

Here is the output from my little test program after the patch

$ ilrun ./a.out.exe
Testing 0.00m - no format specifier
Testing 0.00m : N2
Testing 1.00m - no format specifier
Testing 1234567899123456789912345678m - no format specifier
Uncaught exception: System.OverflowException: Valid Int32 values are between -21
47483648 and 2147483647, inclusive
        at System.Decimal.ToInt32(Decimal) in ./System/Decimal.cs:511
        at System.Decimal.op_Explicit(Decimal) in ./System/Decimal.cs:172
        at System.Private.NumberFormat.Formatter.FormatDecimal(Decimal) in ./Sys
tem/Private/NumberFormat/Formatter.cs:376
        at System.Private.NumberFormat.Formatter.FormatAnyRound(Object, Int32) i
n ./System/Private/NumberFormat/Formatter.cs:307
        at System.Private.NumberFormat.FixedPointFormatter.Format(Object, IForma
tProvider) in ./System/Private/NumberFormat/FixedPointFormatter.cs:43
        at System.Private.NumberFormat.GeneralFormatter.Format(Object, IFormatPr
ovider) in ./System/Private/NumberFormat/GeneralFormatter.cs:121
        at System.Decimal.ToString(String, IFormatProvider) in ./System/Decimal.
cs:322
        at System.Decimal.ToString() in ./System/Decimal.cs:309
        at DCorking.DecimalToStringTester.Main()

Finally here is the successful output from the same executable with
runtime from another vendor.  My program looks correct to my eyes:

$ ./a.out.exe
Testing 0.00m - no format specifier
Testing 0.00m : N2
Testing 1.00m - no format specifier
Testing 1234567899123456789912345678m - no format specifier
Testing 1234567899123456789912345678m : N2
If no exceptions so far, then all tests passed.

My three tests were done under cygwin on W2K SP3.

Inline below is the patch and an incomplete test procedure

diff --unified --recursive pnetlib-0.5.4original/runtime/System/Private/NumberFormat/Formatter.cs pnetlib-0.5.4/runtime/System/Private/NumberFormat/Formatter.cs
--- pnetlib-0.5.4original/runtime/System/Private/NumberFormat/Formatter.cs	2003-03-29 04:44:51.000000000 -0500
+++ pnetlib-0.5.4/runtime/System/Private/NumberFormat/Formatter.cs	2003-05-04 08:13:04.000000000 -0400
@@ -381,7 +381,7 @@
 		//  Pad out significant digits
 		if (ret.Length < scale) 
 		{
-			ret.Insert(0, "0", ret.Length - scale);
+			ret.Insert(0, "0", scale - ret.Length);
 		}
 
 		//  Insert a decimal point

I hope line wrapping hasn't garbled this too badly.



Follow-up Comments
*******************

-------------------------------------------------------
Date: Wed 05/07/2003 at 11:46       By: t3rmin4t0r
The patch has hit the CVS (under David Corking) , the question here is -- is anyone else behind the rest of the bug ?


CC list is empty


File Attachments
****************

-------------------------------------------------------
Date: Wed 05/07/2003 at 00:43  Name: DecimalToStringGlitch.cs  Size: 0KB   By: dcorking
simple test to demonstrate glitch
http://savannah.gnu.org/bugs/download.php?group_id=353&amp;bug_id=3487&amp;bug_file_id=431


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3487&group_id=353

From gopalv82@softhome.net Wed May 07 07:40:53 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 3305 invoked from network); 7 May 2003 07:40:53 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 7 May 2003 07:40:53 -0000
Received: (qmail 7002 invoked by uid 417); 7 May 2003 07:26:34 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 7 May 2003 07:26:34 -0000
Received: from gopal ([61.1.229.226])
  by softhome.net with esmtp; Wed, 07 May 2003 01:26:28 -0600
Received: by gopal (Postfix, from userid 500)
	id C29C16DD7; Wed,  7 May 2003 12:52:19 +0530 (IST)
Date: Wed, 7 May 2003 12:52:19 +0530
From: Gopal V <gopalv82@symonds.net>
To: pnet-developers@dotgnu.org
Subject: Re: [Pnet-developers] Re: [Bug #3487] Formatter.cs decimal padding passes negative arg to StringBuilder.Insert
Message-ID: <20030507125219.A2961@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	pnet-developers@dotgnu.org
References: <E19D7se-0001DC-00@subversions.gnu.org> <20030507113856.A2411@md3.vsnl.net.in>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=_jive-6598-1052292394-0001-2"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20030507113856.A2411@md3.vsnl.net.in>; from gopalv82@symonds.net on Wed, May 07, 2003 at 11:38:56AM +0530
X-Useless-Header: Look ma, no windows !
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_jive-6598-1052292394-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

If memory serves me right, Gopal V wrote:
> For the rest of the problem , I think we'll all need more help :-) ... The
> most exasperating thing about all this is that you can't use Console.WriteLine
> with the formatting code :-( ...

IF you're trying to debug this .... I think there's a bug in the 
ILDecimal multiplication stuff ... I mean , Decimal is supposed to
be a small range x accurate decimals type , right ?.

So here's the bug ....
		
		Console.WriteLine((123456789912345678991234567m*10.0m) == 1234567899123456789912345670m);

		Comes out (thanks to constant folding) as 

	ldc.i4.0
	call	void ['mscorlib']'System'.'Console'::'WriteLine'(bool)


 	-O0 doesnot disable constant folding ... This is what I got when I 
force-dumped it by passing to another function. Obviously we got some 
data muddled up here ....

	ldc.i4	3596737606
	ldc.i4	3932153566
	ldc.i4	66926050
	ldc.i4.0
	ldc.i4.0
	newobj	instance void [.library]System.Decimal::.ctor(int32, int32, int32, bool, unsigned int8)
	ldc.i4	3596737606
	ldc.i4	3932153570
	ldc.i4	66926059
	ldc.i4.0
	ldc.i4.0
	newobj	instance void [.library]System.Decimal::.ctor(int32, int32, int32, bool, unsigned int8)

	So somewhere in the deep recesses of pnet's support/decimal.c lurks a 
bug ... Or am I missing some checked {} or similar arithmetic crap ?.

Gopal
-- 
The difference between insanity and genius is measured by success

--=_jive-6598-1052292394-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="FormatDecimal.cs"

using System;
public class DecimalTest
{
	public static string BitWiseCompare(Decimal m1,Decimal m2)
	{
		int[] b1=Decimal.GetBits(m1);
		int[] b2=Decimal.GetBits(m2);
		String ret="|";
		for(int i=0;i<4;i++)
		{
			ret+= " " + (b1[i] ^  b2[i])  + " |";
		}
		return ret;
	}
	public static void Main()
	{
		Decimal part3= Decimal.Truncate(1234567899123456789912345678m*0.1m) ;
		Console.Write("part3 == 123456789912345678991234567m :");
		Console.WriteLine(part3 == 123456789912345678991234567m);
		Console.Write("(part3*10.0m) == 1234567899123456789912345670m :");
		Console.WriteLine((part3*10.0m) == 1234567899123456789912345670m);
		Console.WriteLine(BitWiseCompare((part3*10.0m) , 1234567899123456789912345670m));
		Console.Write("(123456789912345678991234567m*10.0m) == 1234567899123456789912345670m :");
		Console.WriteLine((123456789912345678991234567m*10.0m) == 1234567899123456789912345670m);
		Console.WriteLine(BitWiseCompare((123456789912345678991234567m*10.0m) , 1234567899123456789912345670m));
	}	
}

--=_jive-6598-1052292394-0001-2--

From rweather@zip.com.au Wed May 07 08:04:53 2003
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 6656 invoked from network); 7 May 2003 08:04:52 -0000
Received: from unknown (HELO mta04ps.bigpond.com) (144.135.25.136)
  by 0 with SMTP; 7 May 2003 08:04:52 -0000
Received: from comet.southern-storm.com.au ([144.135.25.81]) by
          mta04ps.bigpond.com (Netscape Messaging Server 4.15 mta04ps Jul
          16 2002 22:47:55) with SMTP id HEIB4700.76E; Wed, 7 May 2003
          17:50:31 +1000 
Received: from CPE-203-45-171-47.qld.bigpond.net.au ([203.45.171.47]) by psmam05bpa.bigpond.com(MailRouter V3.2g 107/2012422); 07 May 2003 17:50:31
Content-Type: text/plain;
  charset="iso-8859-1"
From: Rhys Weatherley <rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
To: Gopal V <gopalv82@symonds.net>,
 pnet-developers@dotgnu.org
Subject: Re: [Pnet-developers] Re: [Bug #3487] Formatter.cs decimal padding passes negative arg to StringBuilder.Insert
Date: Wed, 7 May 2003 17:46:04 +1000
User-Agent: KMail/1.4.3
References: <E19D7se-0001DC-00@subversions.gnu.org> <20030507113856.A2411@md3.vsnl.net.in> <20030507125219.A2961@md3.vsnl.net.in>
In-Reply-To: <20030507125219.A2961@md3.vsnl.net.in>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200305071746.04373.rweather@zip.com.au>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Wednesday 07 May 2003 05:22 pm, Gopal V wrote:

> IF you're trying to debug this .... I think there's a bug in the
> ILDecimal multiplication stuff ... I mean , Decimal is supposed to
> be a small range x accurate decimals type , right ?.

Definitely looks like something screwy in decimal.c.  I'll look into it.

Cheers,

Rhys.


From www-data@subversions.gnu.org Wed May 07 11:04:22 2003
Return-Path: <www-data@subversions.gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 3366 invoked from network); 7 May 2003 11:04:21 -0000
Received: from unknown (HELO subversions.gnu.org) (199.232.41.2)
  by 0 with SMTP; 7 May 2003 11:04:21 -0000
Received: from www-data by subversions.gnu.org with local (Exim 3.35 #1 (Debian))
	id 19DMUf-0000uq-00; Wed, 07 May 2003 06:49:49 -0400
To: Yannis.BRES@sophia.inria.fr,rweather@zip.com.au,rweather@zip.com.au,gopalv82@symonds.net,pnet-developers@dotgnu.org
From: nobody@savannah.gnu.org
Message-Id: <E19DMUf-0000uq-00@subversions.gnu.org>
Date: Wed, 07 May 2003 06:49:49 -0400
Subject: [Pnet-developers] [Bug #3467] Fail to compile mscorlib.dll 0.5.6
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

=================== BUG #3467: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3467&group_id=353

Changes by: Rhys Weatherley <rweather@zip.com.au>
Date: Wed 05/07/2003 at 10:49 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Fix committed 7 May 2003



=================== BUG #3467: FULL BUG SNAPSHOT ===================


Submitted by: yannis_bres             Project: DotGNU Portable.NET          
Submitted on: Mon 05/05/2003 at 10:22
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  Fixed                    
Assigned to:  None                    Status:  Closed                       

Summary:  Fail to compile mscorlib.dll 0.5.6

Original Submission:  There is a problem when compiling mscorlib.dll 0.5.6 under Cygwin on Windows XP SP1, when running cscc on the .cs files that compose the runtime.
It looks like there is a limit in the size of a command-line, either coming from Cygwin's bash or Win32.

cscc can be lauched successfully with the file list up to ./System/Runtime/CompilerServices/CompilerGlobalScopeAttribute.cs (but there are a lot of errors due to missing types).

If we add ./System/Runtime/CompilerServices/CustomConstantAttribute.cs, then it fails:
L:\Cygwin\usr\local\bin\cscc.exe: *** fork: can't reserve memory for stack 0x40000 - 0x240000, Win32 error 487
   2049 [main] cscc 4048 sync_with_child: child 3684(0x724) died before initialization with status code 0x1
   2938 [main] cscc 4048 sync_with_child: *** child state waiting for longjmp
fork: Resource temporarily unavailable

If we include some more files, or all the files, or if we try to reduce the list length with wildcards that will be expanded by the shell, then we end up with:
bash: /usr/local/bin/cscc: Invalid argument

Any idea/workaround ?


Follow-up Comments
*******************

-------------------------------------------------------
Date: Wed 05/07/2003 at 10:49       By: rweather
Fix committed 7 May 2003


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3467&group_id=353

From www-data@subversions.gnu.org Wed May 07 11:05:08 2003
Return-Path: <www-data@subversions.gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 3492 invoked from network); 7 May 2003 11:05:08 -0000
Received: from unknown (HELO subversions.gnu.org) (199.232.41.2)
  by 0 with SMTP; 7 May 2003 11:05:08 -0000
Received: from www-data by subversions.gnu.org with local (Exim 3.35 #1 (Debian))
	id 19DMVT-0000xs-00; Wed, 07 May 2003 06:50:39 -0400
To: nb@thinkcoach.com,rweather@zip.com.au,rweather@zip.com.au,gopalv82@symonds.net,pnet-developers@dotgnu.org
From: nobody@savannah.gnu.org
Message-Id: <E19DMVT-0000xs-00@subversions.gnu.org>
Date: Wed, 07 May 2003 06:50:39 -0400
Subject: [Pnet-developers] [Bug #3046] GTk# isn't working yet
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

=================== BUG #3046: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3046&group_id=353

Changes by: Rhys Weatherley <rweather@zip.com.au>
Date: Wed 05/07/2003 at 10:50 (GMT)

------------------ Additional Follow-up Comments ----------------------------
The library naming issue has been addressed, but there
is still a PInvoke marshalling issue somewhere that needs
to be investigated.



=================== BUG #3046: FULL BUG SNAPSHOT ===================


Submitted by: nb                      Project: DotGNU Portable.NET          
Submitted on: Wed 04/02/2003 at 05:48
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  GTk# isn't working yet

Original Submission:  the library naming issue needs to be addressed

Follow-up Comments
*******************

-------------------------------------------------------
Date: Wed 05/07/2003 at 10:50       By: rweather
The library naming issue has been addressed, but there
is still a PInvoke marshalling issue somewhere that needs
to be investigated.


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3046&group_id=353

From gopalv82@softhome.net Fri May 09 08:15:12 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 32714 invoked from network); 9 May 2003 08:15:12 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 9 May 2003 08:15:12 -0000
Received: (qmail 19737 invoked by uid 417); 9 May 2003 08:00:43 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 9 May 2003 08:00:43 -0000
Received: from gopal ([61.1.229.30])
  by softhome.net with esmtp; Fri, 09 May 2003 02:00:40 -0600
Received: by gopal (Postfix, from userid 500)
	id 6E86D6DD7; Fri,  9 May 2003 02:31:52 +0530 (IST)
Date: Fri, 9 May 2003 02:31:52 +0530
From: Gopal V <gopalv82@symonds.net>
To: Pnet Developers <pnet-developers@dotgnu.org>
Message-ID: <20030509023152.A9822@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	Pnet Developers <pnet-developers@dotgnu.org>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=_jive-19548-1052467243-0001-2"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Useless-Header: Look ma, no windows !
Subject: [Pnet-developers] A verifier bug , curious one too
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_jive-19548-1052467243-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi All,
	This has to do with the use of delegate variables as the parameter
to a delegate creation expression ...

So the code used is 

		Blah f = new Blah ();

		MyDelegate del = new MyDelegate (f.Foo);

		MyDelegate another = new MyDelegate (del);

Generated :
	.locals init	(class 'Blah', class 'MyDelegate', class 'MyDelegate')
	newobj	instance void 'Blah'::'.ctor'()
	stloc.0
	ldloc.0
	ldftn	instance int32 'Blah'::'Foo'(int32, int32)
	newobj	instance void 'MyDelegate'::.ctor(class [.library]System.Object, native int)
	stloc.1
	ldloc.1
	dup
	ldvirtftn	instance int32 'MyDelegate'::'Invoke'(int32, int32)
	newobj	instance void 'MyDelegate'::.ctor(class [.library]System.Object, native int)
	stloc.2

	The verifier exception is thrown in the second ldvirtftn because some
how it loads the Blah.Foo() directly ... since the stack is now 

<Blah.Foo>
<MyDelegate>

The verifier exits with a security exception .. saying the "MyDelegate" is
not assigncompatible to "Blah". From the looks, the code generated is fine , 
though my interpretation of the spec might be the problem here ...

Will report in savannah as soon as we reach the assumption that "this won't
be fixed in a jiffy" .. :-)

Gopal
PS: and thus ends a hard night's hacking on pnet
-- 
The difference between insanity and genius is measured by success

--=_jive-19548-1052467243-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="delegate4.cs"

using System;

public class Blah 
{

	public int Foo (int i, int j)
	{
		return i+j;
	}
}

public delegate int MyDelegate (int i, int j);

public class Test
{
	
	public static void Main()
	{
		Blah f = new Blah ();

		MyDelegate del = new MyDelegate (f.Foo);

		MyDelegate another = new MyDelegate (del);

	}
}

--=_jive-19548-1052467243-0001-2--

From gopalv82@softhome.net Sat May 10 07:52:52 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 26052 invoked from network); 10 May 2003 07:52:51 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 10 May 2003 07:52:51 -0000
Received: (qmail 18786 invoked by uid 417); 10 May 2003 07:38:18 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 10 May 2003 07:38:18 -0000
Received: from gopal ([61.1.229.36])
  by softhome.net with esmtp; Sat, 10 May 2003 01:38:15 -0600
Received: by gopal (Postfix, from userid 500)
	id DFC276DD8; Sat, 10 May 2003 13:07:09 +0530 (IST)
Date: Sat, 10 May 2003 13:07:09 +0530
From: Gopal V <gopalv82@symonds.net>
To: Pnet Developers <pnet-developers@dotgnu.org>
Message-ID: <20030510130709.B5682@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	Pnet Developers <pnet-developers@dotgnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Useless-Header: Look ma, no windows !
Subject: [Pnet-developers] Getting method slots for classes
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hello All,
	Suppose I want to lookup a particular virtual method in a class .
And I don't just need the newslot declaration (cscc gets away with
callvirt orginal virtual method) , I need the latest override in the
class heirarchy.

I'll explain where I need this ... in Type.GetMethod() which is 
currently giving multiple entries of the same method , but if I
filter out virtual overrides , I get the wrong method to invoke !

The runtime while invocations gets away with it as it needs only 
1 method and can exit as soon as it discovers one ... but in this
case I need to report ambiguity if any later on into the hierarchy.

Other than filtering the final list using inheritance precedence 
and ILOverride stuff there seems no way out now ?. But since these 
things are supposed to be slotted in the bytecode or something , I 
sort of thought if the method slot number can be obtained ?.

ie while traversing down , ignore members which had the same slot 
number as the list ...

The best case scenario will be a real life array which I can traverse
and pick up the members by offset ... (this could be generated at class 
load time) ..

Any comments ?

Gopal
-- 
The difference between insanity and genius is measured by success

From Yannis.BRES@sophia.inria.fr Mon May 12 09:35:19 2003
Return-Path: <Yannis.BRES@sophia.inria.fr>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 9132 invoked from network); 12 May 2003 09:35:18 -0000
Received: from unknown (HELO BISHOP.inria.fr) (138.96.248.53)
  by 0 with SMTP; 12 May 2003 09:35:18 -0000
From: "Yannis BRES" <Yannis.BRES@sophia.inria.fr>
To: <rweather@zip.com.au>,
	<rweather@zip.com.au>,
	<gopalv82@symonds.net>,
	<pnet-developers@dotgnu.org>
Date: Mon, 12 May 2003 11:19:41 +0200
Organization: INRIA - ESSI
Message-ID: <001201c31867$9edf2c70$35f8608a@BISHOP>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.4510
Importance: Normal
In-Reply-To: <E19DMUf-0000uq-00@subversions.gnu.org>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-GCMulti: 1
Subject: [Pnet-developers] RE : [Bug #3467] Fail to compile mscorlib.dll 0.5.6
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

     Hi !
     Could someone tell me which files were changed in order to correct =
this
bug ?  I can't find any relevant file updated since "Wed 05/07/2003 at =
10:49
(GMT)" in the CVS repository...
     Thanks in advance,
          Yannis

> -----Original Message-----
> From: nobody@savannah.gnu.org [mailto:nobody@savannah.gnu.org]=20
> Sent: Wednesday, May 07, 2003 12:50 PM
> To: Yannis.Bres@sophia.inria.fr; rweather@zip.com.au;=20
> rweather@zip.com.au; gopalv82@symonds.net; pnet-developers@dotgnu.org
> Subject: [Bug #3467] Fail to compile mscorlib.dll 0.5.6
>=20
>=20
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D BUG #3467: =
LATEST MODIFICATIONS =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =
http://savannah.gnu.org/bugs/?func=3Ddetailbug&bug_id=3D3467&group_id=3D3=
53
>=20
> Changes by: Rhys Weatherley <rweather@zip.com.au>
> Date: Wed 05/07/2003 at 10:49 (GMT)
>=20
>             What     | Removed                   | Added
> --------------------------------------------------------------
> -------------
>           Resolution | None                      | Fixed
>               Status | Open                      | Closed
>=20
>=20
> ------------------ Additional Follow-up Comments=20
> ----------------------------
> Fix committed 7 May 2003
>=20
>=20
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D BUG #3467: =
FULL BUG SNAPSHOT =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
>=20
> Submitted by: yannis_bres             Project: DotGNU=20
> Portable.NET         =20
> Submitted on: Mon 05/05/2003 at 10:22
> Category:  None                       Severity:  5 - Major   =20
>              =20
> Bug Group:  None                      Resolution:  Fixed     =20
>              =20
> Assigned to:  None                    Status:  Closed        =20
>              =20
>=20
> Summary:  Fail to compile mscorlib.dll 0.5.6
>=20
> Original Submission:  There is a problem when compiling=20
> mscorlib.dll 0.5.6 under Cygwin on Windows XP SP1, when=20
> running cscc on the .cs files that compose the runtime.
> It looks like there is a limit in the size of a command-line,=20
> either coming from Cygwin's bash or Win32.
>=20
> cscc can be lauched successfully with the file list up to=20
> ./System/Runtime/CompilerServices/CompilerGlobalScopeAttribute
> .cs (but there are a lot of errors due to missing types).
>=20
> If we add=20
> ./System/Runtime/CompilerServices/CustomConstantAttribute.cs,=20
> then it fails:
> L:\Cygwin\usr\local\bin\cscc.exe: *** fork: can't reserve=20
> memory for stack 0x40000 - 0x240000, Win32 error 487
>    2049 [main] cscc 4048 sync_with_child: child 3684(0x724)=20
> died before initialization with status code 0x1
>    2938 [main] cscc 4048 sync_with_child: *** child state=20
> waiting for longjmp
> fork: Resource temporarily unavailable
>=20
> If we include some more files, or all the files, or if we try=20
> to reduce the list length with wildcards that will be=20
> expanded by the shell, then we end up with:
> bash: /usr/local/bin/cscc: Invalid argument
>=20
> Any idea/workaround ?
>=20
>=20
> Follow-up Comments
> *******************
>=20
> -------------------------------------------------------
> Date: Wed 05/07/2003 at 10:49       By: rweather
> Fix committed 7 May 2003
>=20
>=20
> CC list is empty
>=20
>=20
> No files currently attached
>=20
>=20
> For detailed info, follow this link:
> =
http://savannah.gnu.org/bugs/?func=3Ddetailbug&bug_id=3D3467&group_id=3D3=
53


From gopalv82@softhome.net Mon May 12 09:53:31 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 12449 invoked from network); 12 May 2003 09:53:31 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 12 May 2003 09:53:31 -0000
Received: (qmail 8327 invoked by uid 417); 12 May 2003 09:38:47 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 12 May 2003 09:38:47 -0000
Received: from gopal ([61.1.229.21])
  by softhome.net with esmtp; Mon, 12 May 2003 03:38:44 -0600
Received: by gopal (Postfix, from userid 500)
	id 649B26DD7; Mon, 12 May 2003 15:08:39 +0530 (IST)
Date: Mon, 12 May 2003 15:08:39 +0530
From: Gopal V <gopalv82@symonds.net>
To: Yannis BRES <Yannis.BRES@sophia.inria.fr>
Cc: pnet-developers@dotgnu.org
Subject: Re: [Pnet-developers] RE : [Bug #3467] Fail to compile mscorlib.dll 0.5.6
Message-ID: <20030512150839.A9058@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	Yannis BRES <Yannis.BRES@sophia.inria.fr>, pnet-developers@dotgnu.org
References: <E19DMUf-0000uq-00@subversions.gnu.org> <001201c31867$9edf2c70$35f8608a@BISHOP>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <001201c31867$9edf2c70$35f8608a@BISHOP>; from Yannis.BRES@sophia.inria.fr on Mon, May 12, 2003 at 11:19:41AM +0200
X-Useless-Header: Look ma, no windows !
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

If memory serves me right, Yannis BRES wrote:
>      Hi !
>      Could someone tell me which files were changed in order to correct this
> bug ?  I can't find any relevant file updated since "Wed 05/07/2003 at 10:49
> (GMT)" in the CVS repository...
>      Thanks in advance,

Is it still causing problems ?

Apparently Rhys fixed it IIRC ...

2003-05-07  Rhys Weatherley  <rweather@southern-storm.com.au>

	* support/spawn.c: use the Win32 version of ILSpawnProcess under
	both Cygwin and non-Cygwin environments.

So a fresh compile of pnet (ie cscc) should have no problems with this ..

Gopal
-- 
The difference between insanity and genius is measured by success

From rweather@zip.com.au Mon May 12 11:15:21 2003
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 28412 invoked from network); 12 May 2003 11:15:21 -0000
Received: from unknown (HELO mta02bw.bigpond.com) (144.135.24.138)
  by 0 with SMTP; 12 May 2003 11:15:21 -0000
Received: from comet.southern-storm.com.au ([144.135.24.87]) by
          mta02bw.bigpond.com (Netscape Messaging Server 4.15 mta02bw Jul
          16 2002 22:47:55) with SMTP id HERT8Z00.7VU for
          <pnet-developers@dotgnu.org>; Mon, 12 May 2003 21:00:35 +1000 
Received: from CPE-203-45-171-47.qld.bigpond.net.au ([203.45.171.47]) by bwmam07bpa.bigpond.com(MailRouter V3.2g 62/5979133); 12 May 2003 21:00:35
Content-Type: text/plain;
  charset="iso-8859-1"
From: Rhys Weatherley <rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
Date: Mon, 12 May 2003 20:55:43 +1000
User-Agent: KMail/1.4.3
To: pnet-developers@dotgnu.org
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200305122055.43697.rweather@zip.com.au>
Subject: [Pnet-developers] Fwd: Bad link
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

I think the CVS snapshots stopped working a while ago.  Could we have a=20
volunteer to restart them?

Cheers,

Rhys.

----------  Forwarded Message  ----------

Subject: Bad link
Date: Mon, 12 May 2003 11:05:11 +0200
From: "Yannis BRES" <Yannis.BRES@sophia.inria.fr>
To: <rweather@southern-storm.com.au>

     Hi !
     On the page
http://www.southern-storm.com.au/portable_net.html#download, the link und=
er
"Daily CVS snapshots of the source can be obtained from" is incorrect.  I
guess it should point somewhere to savannah.gnu.org.
     Best regards,
          Yannis


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ESSI                                    http://www.essi.fr
Attach=E9 Temporaire d'Enseignement et de Recherche
----------------------------------------------------------------------
INRIA  -  Equipe Mimosa                 http://www-sop.inria.fr/mimosa
Collaborateur Ext=E9rieur                 +33 (4) 92 38 79 67
----------------------------------------------------------------------
+33 (6) 60 38 79 52                     http://www.yannis.bres.name
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

-------------------------------------------------------


From Yannis.BRES@sophia.inria.fr Mon May 12 19:14:59 2003
Return-Path: <Yannis.BRES@sophia.inria.fr>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 16965 invoked from network); 12 May 2003 19:14:58 -0000
Received: from unknown (HELO BISHOP) (212.11.38.69)
  by 0 with SMTP; 12 May 2003 19:14:58 -0000
From: "Yannis BRES" <Yannis.BRES@sophia.inria.fr>
To: "'Gopal V'" <gopalv82@symonds.net>
Cc: <pnet-developers@dotgnu.org>
Subject: RE : [Pnet-developers] RE : [Bug #3467] Fail to compile mscorlib.dll 0.5.6
Date: Mon, 12 May 2003 20:59:54 +0200
Organization: INRIA - ESSI
Message-ID: <000301c318b8$ad233280$0201000a@BISHOP>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.4510
In-Reply-To: <20030512150839.A9058@md3.vsnl.net.in>
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal
X-GCMulti: 1
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

> > Could someone tell me which files were changed in order to 
> > correct this bug ?  I can't find any relevant file updated 
> > since "Wed 05/07/2003 at 10:49 (GMT)" in the CVS repository...
> > Thanks in advance,
> Is it still causing problems ?
> Apparently Rhys fixed it IIRC ...
> 2003-05-07  Rhys Weatherley  <rweather@southern-storm.com.au>
> 	* support/spawn.c: use the Win32 version of ILSpawnProcess under
> 	both Cygwin and non-Cygwin environments.
> So a fresh compile of pnet (ie cscc) should have no problems 
> with this ..
     Great !
     My apologies, I was expecting a patch in the pnetlib Makefile...
     Thanks for your answer,
          Yannis


======================================================================
ESSI                                    http://www.essi.fr
Attache Temporaire d'Enseignement et de Recherche
----------------------------------------------------------------------
INRIA  -  Equipe Mimosa                 http://www-sop.inria.fr/mimosa
Collaborateur Exterieur                 +33 (4) 92 38 79 67
----------------------------------------------------------------------
+33 (6) 60 38 79 52                     http://www.yannis.bres.name
======================================================================


From murray@smigel.org Wed May 21 19:42:36 2003
Return-Path: <murray@smigel.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 16318 invoked from network); 21 May 2003 19:42:36 -0000
Received: from unknown (HELO smtp10.atl.mindspring.net) (207.69.200.246)
  by 0 with SMTP; 21 May 2003 19:42:36 -0000
Received: from h-69-3-110-52.nycmny83.covad.net ([69.3.110.52] helo=spud)
	by smtp10.atl.mindspring.net with esmtp (Exim 3.33 #1)
	id 19IZEy-0001Pe-00
	for pnet-developers@dotgnu.org; Wed, 21 May 2003 15:27:08 -0400
From: Murray Smigel <murray@smigel.org>
Reply-To: murray@smigel.org
To: pnet-developers@dotgnu.org
Date: Wed, 21 May 2003 15:27:06 -0400
User-Agent: KMail/1.5.2
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Description: clearsigned data
Content-Disposition: inline
Message-Id: <200305211527.07001.murray@smigel.org>
Subject: [Pnet-developers] Can't run mahjongg example with pnet-0.5.6
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
I am just getting started with dotGnu. I built the pnet-0.5.6 and the vario=
us=20
libs and qsharp libs. The text samples work fine.  When I try to run=20
mahjongg, I get

/usr/local/bin/ilrun mahjongg.exe
/usr/local/lib/libqtc.so: /usr/local/lib/libqtc.so: undefined symbol:=20
create__10QGLContextPC10QGLContext
Uncaught exception: System.MissingMethodException: Attempted to access a=20
non-existing method
        at Qt.QApplication..ctor(String[])
        at Mahjongg.MainGame.Main(String[]) in MainGame.cs:102

I assume this is a problem with the qsharp part of the world, rather then t=
he=20
dot gnu part, but I was wondering if anyone else had run it down.

Thanks,
murray smigel

=2D --=20
use http://pgp.mit.edu/
with id 0x4176EECA to find my public key=20
or search on murray@smigel.org

=2D -----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GE/S/CS d-- s:+ a++ C++(++++) UL*++ P-- L++ E W+(+++) N o-- K- w O- M-=20
V-- PS++ PE- Y+ PGP++ t+ 5- X- R tv-- b++++ DI++ D- G e++++ y++
=2D ------END GEEK CODE BLOCK------
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+y9MKx8lQe0F27soRAjEJAJ9evRAxA2Ob19nyX/BKkbzoYdoy4ACfYaw5
ulgjqVjNGK5iOaO9qVbvC/8=3D
=3D9nto
=2D----END PGP SIGNATURE-----


From gopalv82@softhome.net Thu May 22 14:30:04 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 5198 invoked from network); 22 May 2003 14:30:03 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 22 May 2003 14:30:03 -0000
Received: (qmail 2203 invoked by uid 417); 22 May 2003 14:14:32 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 22 May 2003 14:14:32 -0000
Received: from gopal ([61.1.227.102])
  by softhome.net with esmtp; Thu, 22 May 2003 08:14:27 -0600
Received: by gopal (Postfix, from userid 500)
	id 11A556DD7; Thu, 22 May 2003 17:44:26 +0530 (IST)
Date: Thu, 22 May 2003 17:44:26 +0530
From: Gopal V <gopalv82@symonds.net>
To: pnet-developers@dotgnu.org
Subject: Re: [Pnet-developers] Can't run mahjongg example with pnet-0.5.6
Message-ID: <20030522174426.A1258@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	pnet-developers@dotgnu.org
References: <200305211527.07001.murray@smigel.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200305211527.07001.murray@smigel.org>; from murray@smigel.org on Wed, May 21, 2003 at 03:27:06PM -0400
X-Useless-Header: Look ma, no windows !
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

If memory serves me right, Murray Smigel wrote:
> I am just getting started with dotGnu. I built the pnet-0.5.6 and the various 
> libs and qsharp libs. The text samples work fine.  When I try to run 
> mahjongg, I get

The last Qt# release is working for me ... (a recent pnet as well...)

> /usr/local/lib/libqtc.so: /usr/local/lib/libqtc.so: undefined symbol: 
> create__10QGLContextPC10QGLContext

Hmmm... where would mahjongg use QGLContext ?

Gopal
-- 
The difference between insanity and genius is measured by success

From gopalv82@softhome.net Sun May 25 09:10:19 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 30902 invoked from network); 25 May 2003 09:10:18 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 25 May 2003 09:10:18 -0000
Received: (qmail 7485 invoked by uid 417); 25 May 2003 08:54:34 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 25 May 2003 08:54:34 -0000
Received: from gopal ([61.1.229.90])
  by softhome.net with esmtp; Sun, 25 May 2003 02:54:31 -0600
Received: by gopal (Postfix, from userid 500)
	id 523986DD7; Sun, 25 May 2003 14:12:04 +0530 (IST)
Date: Sun, 25 May 2003 14:12:04 +0530
From: Gopal V <gopalv82@symonds.net>
To: Pnet Developers <pnet-developers@dotgnu.org>
Message-ID: <20030525141204.A1659@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	Pnet Developers <pnet-developers@dotgnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Useless-Header: Look ma, no windows !
Subject: [Pnet-developers] A question about verifier code
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hi,

case IL_OP_LDELEMA:
{
	/* Load the address of an array element */
	if(STK_BINARY_1 == ILEngineType_O &&
	   (STK_BINARY_2 == ILEngineType_I4 || STK_BINARY_2 == ILEngineType_I) &&
	   (elemType = ArrayElementType(stack[stackSize - 2].typeInfo)) != 0)
	{
		classType = GetTypeToken(method, pc);
		if(classType &&
		   (elemType == ILType_Void || ILTypeIdentical(elemType, classType)))
		{
			ILCoderArrayAccess(coder, opcode, STK_BINARY_2, classType);

So why are we outputting the type of the elemType ?.. Shouldn't we be like
outputting &elemType ? ... That seems to be what rectangular arrays are
spitting out .. 

call instance valuetype MyStruct & valuetype MyStruct[,]::Address(int32, int32)

Which means that I ran into quite a few problems handling both cases..
Any quick advice ?.

Gopal
-- 
The difference between insanity and genius is measured by success

From rweather@zip.com.au Sun May 25 11:18:02 2003
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 19378 invoked from network); 25 May 2003 11:18:02 -0000
Received: from unknown (HELO mta01bw.bigpond.com) (139.134.6.78)
  by 0 with SMTP; 25 May 2003 11:18:02 -0000
Received: from comet.southern-storm.com.au ([144.135.24.87]) by
          mta01bw.bigpond.com (Netscape Messaging Server 4.15 mta01bw Jul
          16 2002 22:47:55) with SMTP id HFFW0100.874; Sun, 25 May 2003
          21:02:25 +1000 
Received: from CPE-138-130-193-163.qld.bigpond.net.au ([138.130.193.163]) by bwmam07bpa.bigpond.com(MailRouter V3.2g 62/20762733); 25 May 2003 21:02:10
Content-Type: text/plain;
  charset="iso-8859-1"
From: Rhys Weatherley <rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
To: Gopal V <gopalv82@symonds.net>,
 Pnet Developers <pnet-developers@dotgnu.org>
Subject: Re: [Pnet-developers] A question about verifier code
Date: Sun, 25 May 2003 20:56:38 +1000
User-Agent: KMail/1.4.3
References: <20030525141204.A1659@md3.vsnl.net.in>
In-Reply-To: <20030525141204.A1659@md3.vsnl.net.in>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200305252056.38898.rweather@zip.com.au>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Sunday 25 May 2003 06:42 pm, Gopal V wrote:
> Hi,
>
> case IL_OP_LDELEMA:
> {
> =09/* Load the address of an array element */
> =09if(STK_BINARY_1 =3D=3D ILEngineType_O &&
> =09   (STK_BINARY_2 =3D=3D ILEngineType_I4 || STK_BINARY_2 =3D=3D ILEng=
ineType_I) &&
> =09   (elemType =3D ArrayElementType(stack[stackSize - 2].typeInfo)) !=3D=
 0)
> =09{
> =09=09classType =3D GetTypeToken(method, pc);
> =09=09if(classType &&
> =09=09   (elemType =3D=3D ILType_Void || ILTypeIdentical(elemType, clas=
sType)))
> =09=09{
> =09=09=09ILCoderArrayAccess(coder, opcode, STK_BINARY_2, classType);
>
> So why are we outputting the type of the elemType ?.. Shouldn't we be l=
ike
> outputting &elemType ? ... That seems to be what rectangular arrays are
> spitting out ..

The next two lines take care of creating "&elemType" in the stack:

            stack[stackSize - 2].engineType =3D ILEngineType_M;
            stack[stackSize - 2].typeInfo =3D classType;

A type "M" stack item is a managed pointer to "classType".  The=20
ILCoderArrayAccess function is passed the LDELEMA opcode, which tells it =
to=20
generate an addressof operation rather than a value fetch.

> Which means that I ran into quite a few problems handling both cases..
> Any quick advice ?.

I'm not really sure that I understand what the problem is.  If rank =3D=3D=
 1, use=20
LDELEMA, otherwise use "::Address".  The code looks fine to me.  Do you h=
ave=20
a specific test case that demonstrates whatever problem it is that you're=
=20
seeing?

Cheers,

Rhys.


From gopalv82@softhome.net Sun May 25 13:40:57 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 8721 invoked from network); 25 May 2003 13:40:56 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 25 May 2003 13:40:56 -0000
Received: (qmail 14287 invoked by uid 417); 25 May 2003 13:25:11 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 25 May 2003 13:25:11 -0000
Received: from gopal ([61.1.227.180])
  by softhome.net with esmtp; Sun, 25 May 2003 07:25:08 -0600
Received: by gopal (Postfix, from userid 500)
	id 589756DD7; Sun, 25 May 2003 18:55:06 +0530 (IST)
Date: Sun, 25 May 2003 18:55:06 +0530
From: Gopal V <gopalv82@symonds.net>
To: Pnet Developers <pnet-developers@dotgnu.org>
Subject: Re: [Pnet-developers] A question about verifier code
Message-ID: <20030525185505.A1112@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	Pnet Developers <pnet-developers@dotgnu.org>
References: <20030525141204.A1659@md3.vsnl.net.in> <200305252056.38898.rweather@zip.com.au>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=_jive-14071-1053869111-0001-2"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200305252056.38898.rweather@zip.com.au>; from rweather@zip.com.au on Sun, May 25, 2003 at 08:56:38PM +1000
X-Useless-Header: Look ma, no windows !
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_jive-14071-1053869111-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

If memory serves me right, Rhys Weatherley wrote:
> On Sunday 25 May 2003 06:42 pm, Gopal V wrote:

> > Which means that I ran into quite a few problems handling both cases..
> > Any quick advice ?.
> 
> I'm not really sure that I understand what the problem is.  If rank == 1, use 
> LDELEMA, otherwise use "::Address".  The code looks fine to me.  Do you have 
> a specific test case that demonstrates whatever problem it is that you're 
> seeing?

Here , this is the failing test case ..  

Where it gets a ValueType & from the Address() call and
the checks in the stfld fails ...

Gopal
-- 
The difference between insanity and genius is measured by success

--=_jive-14071-1053869111-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="stfld.cs"

using System;

struct A
{
	public int X=42;
}

public class Stfld
{
	static A[,] a=new A[10,10];
	public static void Main()
	{
		a[0,0].X=a[0,0].X +1 ;
	}
}

--=_jive-14071-1053869111-0001-2--

From gopalv82@softhome.net Sun May 25 18:42:16 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 15015 invoked from network); 25 May 2003 18:42:16 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 25 May 2003 18:42:16 -0000
Received: (qmail 7163 invoked by uid 417); 25 May 2003 18:26:29 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 25 May 2003 18:26:29 -0000
Received: from gopal ([61.1.229.38])
  by softhome.net with esmtp; Sun, 25 May 2003 12:26:26 -0600
Received: by gopal (Postfix, from userid 500)
	id 9F3516DD7; Sun, 25 May 2003 23:48:15 +0530 (IST)
Date: Sun, 25 May 2003 23:48:14 +0530
From: Gopal V <gopalv82@symonds.net>
To: Pnet Developers <pnet-developers@dotgnu.org>
Message-ID: <20030525234814.A4774@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	Pnet Developers <pnet-developers@dotgnu.org>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=_jive-6868-1053887189-0001-2"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Useless-Header: Look ma, no windows !
Subject: [Pnet-developers] The stack trace bug revisited
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_jive-6868-1053887189-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


Some time ago , Rhys Weatherley wrote this:
> triggers on your machine due to differences in the compiler.  I can't
> reproduce it here, so I hope that you can track it down.  Setting a

Ok, so here is the bug I'm faced with ... it has something to do with
the empty try {} catch{} in the method .... Possibly (I hazard a guess) , 
the try offsets are overflowing , jumping to the non-existent handler
and rethrowing the exception ?. 

Returning to NumberParser::ParseNumber (35)
Stack: 0x8114E04 0x0 0x0 0x0 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
0x401D7471:  set_stack_trace     
0x401D7473:  throw_caller        
Throw Caller Stack: 0x8114E04 0x0 0x0 0x0 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
Throwing Back To NumberParser::ParseInt32
Throwing Back To Int32::Parse
Throwing Back To Int32::Parse
Throwing Back To One::CallIntParse
Throw Stack: 0x8114E04 0xA
0x401D2093:  set_stack_trace     
0x401D2095:  throw_caller        
Throw Caller Stack: 0x8114E04 0xA
Throwing Back To One::Main

it is the second set_stack_trace that I don't like .... why should it 
catch something there ?.

Also I'm removing the skipframes hack from engine/lib_diag.c now that
we don't need it ..

This one has been irritated me a lot when I was debugging Jabber.net ...

But, if you really want some fun , try putting something in a Finalize()
or destructor .. watch it pop up suddenly out of the blue and crash the 
entire system :-) And then , try reading *that* stacktrace !

Gopal
-- 
The difference between insanity and genius is measured by success

--=_jive-6868-1053887189-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="tracebug.cs"

using System;
public class One
{
	public static void CallIntParse()
	{
		try
		{
		}
		catch
		{
		}
		int i=10;
		Int32.Parse(null);
	}
	public static void Main()
	{
		CallIntParse();
	}
}

--=_jive-6868-1053887189-0001-2--

From rweather@zip.com.au Sun May 25 21:33:24 2003
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 1897 invoked from network); 25 May 2003 21:33:24 -0000
Received: from unknown (HELO mta04bw.bigpond.com) (139.134.6.87)
  by 0 with SMTP; 25 May 2003 21:33:24 -0000
Received: from comet.southern-storm.com.au ([144.135.24.87]) by
          mta04bw.bigpond.com (Netscape Messaging Server 4.15 mta04bw Jul
          16 2002 22:47:55) with SMTP id HFGOH900.2GC; Mon, 26 May 2003
          07:17:33 +1000 
Received: from CPE-138-130-193-163.qld.bigpond.net.au ([138.130.193.163]) by bwmam07bpa.bigpond.com(MailRouter V3.2g 62/21353762); 26 May 2003 07:17:33
Content-Type: text/plain;
  charset="iso-8859-1"
From: Rhys Weatherley <rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
To: Gopal V <gopalv82@symonds.net>,
 Pnet Developers <pnet-developers@dotgnu.org>
Subject: Re: [Pnet-developers] The stack trace bug revisited
Date: Mon, 26 May 2003 07:11:59 +1000
User-Agent: KMail/1.4.3
References: <20030525234814.A4774@md3.vsnl.net.in>
In-Reply-To: <20030525234814.A4774@md3.vsnl.net.in>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200305260711.59207.rweather@zip.com.au>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Monday 26 May 2003 04:18 am, Gopal V wrote:

> it is the second set_stack_trace that I don't like .... why should it
> catch something there ?.

In CVM, exception catcher blocks extend across the entire method, not jus=
t the=20
parts with try blocks.  The exception filtering code at the end of the me=
thod=20
sorts out which part should get the exception.  If no part wants it, then=
 it=20
rethrows it.

It was simpler this way: CVM walks up the stack to find the first excepti=
on=20
catcher and passes control to it.  It doesn't has to do any type filterin=
g,=20
because the code can do it.

The engine seems to be doing the right thing execution-wise, but I'm now=20
seeing the missing line number information too.  Reproducible at last!

> Also I'm removing the skipframes hack from engine/lib_diag.c now that
> we don't need it ..

Good.

Cheers,

Rhys.


From gopalv82@softhome.net Mon May 26 05:30:03 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 22311 invoked from network); 26 May 2003 05:30:03 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 26 May 2003 05:30:03 -0000
Received: (qmail 19006 invoked by uid 417); 26 May 2003 05:14:11 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 26 May 2003 05:14:11 -0000
Received: from gopal ([61.1.227.102])
  by softhome.net with esmtp; Sun, 25 May 2003 23:14:08 -0600
Received: by gopal (Postfix, from userid 500)
	id D36516DD7; Mon, 26 May 2003 10:41:34 +0530 (IST)
Date: Mon, 26 May 2003 10:41:34 +0530
From: Gopal V <gopalv82@symonds.net>
To: Pnet Developers <pnet-developers@dotgnu.org>
Subject: Re: [Pnet-developers] The stack trace bug revisited
Message-ID: <20030526104134.A1823@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	Pnet Developers <pnet-developers@dotgnu.org>
References: <20030525234814.A4774@md3.vsnl.net.in> <200305260711.59207.rweather@zip.com.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200305260711.59207.rweather@zip.com.au>; from rweather@zip.com.au on Mon, May 26, 2003 at 07:11:59AM +1000
X-Useless-Header: Look ma, no windows !
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

If memory serves me right, Rhys Weatherley wrote:

verify_except.c:109

		/* If execution falls off the end of the matching code,
		   then throw the exception to the calling method */
		ILCoderThrow(coder, 0);

		/* Mark the end of the handler */
		ILCoderTryHandlerEnd(coder);

		/* Advance to the next region within the code */
		offset = end;
	}

	/* If execution gets here, then there were no applicable catch blocks,
	   so we always throw the exception to the calling method */
	ILCoderTryHandlerStart(coder, 0, IL_MAX_UINT32);
	ILCoderThrow(coder, 0);

So why is this outputting a set_stack_trace ?. ILCoderThrow does indeed
generate a set_stack_trace ..

IMHO, we should have a new coder function ILCoderSetStackTrace() to have 
a bit more fine-tuning in our hands, Or at least one more arg to the 
ILCoderThrow ..

I tried to add one , but ended up having an undebuggable stack smash 
right now ... The positional struct thing is getting on my nerves :-)

> Reproducible at last!

It's REALLY hard to debug without a stacktrace and line number info ...

Gopal
-- 
The difference between insanity and genius is measured by success

From rweather@zip.com.au Mon May 26 05:44:33 2003
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 24228 invoked from network); 26 May 2003 05:44:32 -0000
Received: from unknown (HELO mta08bw.bigpond.com) (144.135.24.137)
  by 0 with SMTP; 26 May 2003 05:44:32 -0000
Received: from comet.southern-storm.com.au ([144.135.24.72]) by
          mta08bw.bigpond.com (Netscape Messaging Server 4.15 mta08bw Jul
          16 2002 22:47:55) with SMTP id HFHB7U00.7HC; Mon, 26 May 2003
          15:28:42 +1000 
Received: from cpe-138-130-193-163.qld.bigpond.net.au ([138.130.193.163]) by bwmam02bpa.bigpond.com(MAM V3.3.2 17/6601721); 26 May 2003 15:28:42
Content-Type: text/plain;
  charset="iso-8859-1"
From: Rhys Weatherley <rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
To: Gopal V <gopalv82@symonds.net>,
 Pnet Developers <pnet-developers@dotgnu.org>
Subject: Re: [Pnet-developers] The stack trace bug revisited
Date: Mon, 26 May 2003 15:23:05 +1000
User-Agent: KMail/1.4.3
References: <20030525234814.A4774@md3.vsnl.net.in> <200305260711.59207.rweather@zip.com.au> <20030526104134.A1823@md3.vsnl.net.in>
In-Reply-To: <20030526104134.A1823@md3.vsnl.net.in>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200305261523.06075.rweather@zip.com.au>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Monday 26 May 2003 03:11 pm, Gopal V wrote:

> IMHO, we should have a new coder function ILCoderSetStackTrace() to hav=
e
> a bit more fine-tuning in our hands, Or at least one more arg to the
> ILCoderThrow ..

ILCoderSetStackTrace sounds like the right solution to me.

Cheers,

Rhys.


From gopalv82@softhome.net Mon May 26 06:01:58 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 25978 invoked from network); 26 May 2003 06:01:58 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 26 May 2003 06:01:58 -0000
Received: (qmail 29778 invoked by uid 417); 26 May 2003 05:46:09 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 26 May 2003 05:46:09 -0000
Received: from gopal ([61.1.227.137])
  by softhome.net with esmtp; Sun, 25 May 2003 23:45:57 -0600
Received: by gopal (Postfix, from userid 500)
	id 58E936DD7; Mon, 26 May 2003 11:15:54 +0530 (IST)
Date: Mon, 26 May 2003 11:15:54 +0530
From: Gopal V <gopalv82@symonds.net>
To: Pnet Developers <pnet-developers@dotgnu.org>
Subject: Re: [Pnet-developers] The stack trace bug revisited
Message-ID: <20030526111554.A3717@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	Pnet Developers <pnet-developers@dotgnu.org>
References: <20030525234814.A4774@md3.vsnl.net.in> <200305260711.59207.rweather@zip.com.au> <20030526104134.A1823@md3.vsnl.net.in> <200305261523.06075.rweather@zip.com.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200305261523.06075.rweather@zip.com.au>; from rweather@zip.com.au on Mon, May 26, 2003 at 03:23:05PM +1000
X-Useless-Header: Look ma, no windows !
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

If memory serves me right, Rhys Weatherley wrote:
> 
> > IMHO, we should have a new coder function ILCoderSetStackTrace() to have
> > a bit more fine-tuning in our hands, Or at least one more arg to the
> > ILCoderThrow ..
> 
> ILCoderSetStackTrace sounds like the right solution to me.

As I usually like to say "done and committing" :-)

Gopal
-- 
The difference between insanity and genius is measured by success

From gopalv82@softhome.net Mon May 26 18:35:36 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 30217 invoked from network); 26 May 2003 18:35:36 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 26 May 2003 18:35:36 -0000
Received: (qmail 7770 invoked by uid 417); 26 May 2003 18:19:44 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 26 May 2003 18:19:44 -0000
Received: from gopal ([61.1.229.15])
  by softhome.net with esmtp; Mon, 26 May 2003 12:19:40 -0600
Received: by gopal (Postfix, from userid 500)
	id 5811B6DD7; Mon, 26 May 2003 23:47:13 +0530 (IST)
Date: Mon, 26 May 2003 23:47:13 +0530
From: Gopal V <gopalv82@symonds.net>
To: Pnet Developers <pnet-developers@dotgnu.org>
Message-ID: <20030526234713.A24744@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	Pnet Developers <pnet-developers@dotgnu.org>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=_jive-7419-1053973184-0001-2"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Subject: [Pnet-developers] Implementing ILNode_BaseElement
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_jive-7419-1053973184-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,
	I'm in the middle of getting an external lib to run on pnet , but
I'm getting errors on Base element accesses ... I see that's a TODO in
the code , could someone (Rhys !) gimme a pointer about how to go about
this thing ?.
	
	I think I could lift the indices coercion and resolving the indexer
from a parent class by combining the Indexer part of ArrayAccess and 
parts of BaseAccess. But I doubt if I could get it working just like
that :-( ..

See attached code to see where it b0rks ... :-)

Gopal
-- 
The difference between insanity and genius is measured by success

--=_jive-7419-1053973184-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="base.cs"

using System;

public class Parent
{
	public virtual String this[String input]
	{
		get
		{
			return input;
		}
	}
}

public class Child : Parent
{
	public override String this[String input]
	{
		get
		{
			return base [input];
		}
	}
}

public class Test
{
	public static void Main()
	{
	}
}

--=_jive-7419-1053973184-0001-2--

From rweather@zip.com.au Tue May 27 11:45:19 2003
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 3653 invoked from network); 27 May 2003 11:45:19 -0000
Received: from unknown (HELO mta06bw.bigpond.com) (139.134.6.96)
  by 0 with SMTP; 27 May 2003 11:45:19 -0000
Received: from comet.southern-storm.com.au ([144.135.24.75]) by
          mta06bw.bigpond.com (Netscape Messaging Server 4.15 mta06bw Jul
          16 2002 22:47:55) with SMTP id HFJMKW00.BU0 for
          <pnet-developers@dotgnu.org>; Tue, 27 May 2003 21:29:20 +1000 
Received: from cpe-138-130-193-163.qld.bigpond.net.au ([138.130.193.163]) by bwmam03bpa.bigpond.com(MAM V3.3.2 26/242888); 27 May 2003 21:29:20
Content-Type: text/plain;
  charset="us-ascii"
From: Rhys Weatherley <rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
To: pnet-developers@dotgnu.org
Date: Tue, 27 May 2003 21:23:37 +1000
User-Agent: KMail/1.4.3
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200305272123.37136.rweather@zip.com.au>
Subject: [Pnet-developers] SSL/TLS support in pnetlib
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hi all,

I've added a new assembly to pnetlib CVS called "DotGNU.SSL".  This is a=20
PInvoke wrapper around the OpenSSL library, intended mainly for use in=20
implementing https within the "System.Net" namespace.  But it can also be=
=20
used by other C# DotGNU components that need SSL/TLS functionality.

The wrapper is flexible enough to support multiple SSL/TLS toolkits at th=
e=20
same time, if someone wants to try their hand at wrapping GNUTLS or some=20
other toolkit.

The code is in "pnetlib/DotGNU.SSL", with an example program in=20
"pnetlib/samples/sslfetch.cs".

Cheers,

Rhys.


From support@microsoft.com Tue May 27 18:53:48 2003
Return-Path: <support@microsoft.com>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 22134 invoked from network); 27 May 2003 18:53:48 -0000
Received: from unknown (HELO DOTS-DOODLE3) (128.125.62.27)
  by 0 with SMTP; 27 May 2003 18:53:48 -0000
From: <support@microsoft.com>
To: <pnet-developers@dotgnu.org>
Date: Tue, 27 May 2003 11:37:52 --0700
Importance: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MSMail-Priority: Normal
X-Priority: 3 (Normal)
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="CSmtpMsgPart123X456_000_421866EC"
Subject: [Pnet-developers] Re: My details
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This is a multipart message in MIME format

--CSmtpMsgPart123X456_000_421866EC
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

All information is in the attached file.
--CSmtpMsgPart123X456_000_421866EC--


From j_post@pacbell.net Tue May 27 20:40:11 2003
Return-Path: <j_post@pacbell.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 20837 invoked from network); 27 May 2003 20:40:11 -0000
Received: from unknown (HELO mta5.snfc21.pbi.net) (206.13.28.241)
  by 0 with SMTP; 27 May 2003 20:40:11 -0000
Received: from there ([67.117.10.25])
 by mta5.snfc21.pbi.net (iPlanet Messaging Server 5.1 HotFix 1.6 (built Oct 18
 2002)) with SMTP id <0HFK00IPIBCAMA@mta5.snfc21.pbi.net> for
 pnet-developers@dotgnu.org; Tue, 27 May 2003 13:24:11 -0700 (PDT)
Date: Tue, 27 May 2003 13:24:02 -0700
From: j_post <j_post@pacbell.net>
To: pnet-developers@dotgnu.org
Reply-to: j_post@pacbell.net
Message-id: <0HFK00IPKBCBMA@mta5.snfc21.pbi.net>
MIME-version: 1.0
X-Mailer: KMail [version 1.3.1]
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Subject: [Pnet-developers] What's with the spam?
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

[Pnet-developers] Re: My details
 From: <support@microsoft.com>
 To: <pnet-developers@dotgnu.org>
 
All information is in the attached file.

From chris@nfluid.co.uk Tue May 27 22:03:30 2003
Return-Path: <chris@nfluid.co.uk>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 9973 invoked from network); 27 May 2003 22:03:29 -0000
Received: from unknown (HELO mail.nfluid.com) (81.174.136.138)
  by 0 with SMTP; 27 May 2003 22:03:29 -0000
Received: from puck (puck [10.1.1.2])
	by mail.nfluid.com (8.11.6/NFT-CDS-0.7.2) with SMTP id h4RLl9412864
	for <pnet-developers@dotgnu.org>; Tue, 27 May 2003 22:47:09 +0100
Message-ID: <003b01c32499$49be2460$0201010a@home.net>
From: "Chris Smith" <chris@nfluid.co.uk>
To: <pnet-developers@dotgnu.org>
References: <200305272123.37136.rweather@zip.com.au>
Subject: Re: [Pnet-developers] SSL/TLS support in pnetlib
Date: Tue, 27 May 2003 22:45:28 +0100
Organization: netFluid Technology Ltd
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

> The wrapper is flexible enough to support multiple SSL/TLS toolkits at the
> same time, if someone wants to try their hand at wrapping GNUTLS or some
> other toolkit.

Supurb.  I will check it out presently.
Incidentally, GNUTLS provides an abstraction layer in their 'extras' lib
that
provides function signature compatibility with openSSL... so that means that
we could go with GnuTLS right away with a little hacking - for the
GNU heads among us.

But then again I know openSSL so I'm happy right now.

Chris


From norbert@quill.cisto.com Tue May 27 22:13:34 2003
Return-Path: <norbert@quill.cisto.com>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 12468 invoked from network); 27 May 2003 22:13:34 -0000
Received: from unknown (HELO quill.cisto.com) (80.254.164.116)
  by 0 with SMTP; 27 May 2003 22:13:34 -0000
Received: by quill.cisto.com (Postfix, from userid 500)
	id 13DB429C53; Wed, 28 May 2003 02:03:51 +0200 (CEST)
From: Norbert Bollow <nb@cisto.com>
Prefer-Language: de, en, fr
To: j_post@pacbell.net
Cc: pnet-developers@dotgnu.org
In-reply-to: <0HFK00IPKBCBMA@mta5.snfc21.pbi.net> (message from j_post on Tue,
	27 May 2003 13:24:02 -0700)
Subject: Re: [Pnet-developers] What's with the spam?
References:  <0HFK00IPKBCBMA@mta5.snfc21.pbi.net>
Message-Id: <20030528000351.13DB429C53@quill.cisto.com>
Date: Wed, 28 May 2003 02:03:51 +0200 (CEST)
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

> [Pnet-developers] Re: My details
>  From: <support@microsoft.com>
>  To: <pnet-developers@dotgnu.org>
>  
> All information is in the attached file.

That's a pretty common email worm, I get several copies of this every
day via various email addresses.  I'm changing the list's
configuration to make sure it won't go through to the list again.

Greetings, Norbert.

-- 
Founder & Steering Committee member of http://gnu.org/projects/dotgnu/
Free Software Business Strategy Guide   --->  http://FreeStrategy.info
Norbert Bollow, Weidlistr.18, CH-8624 Gruet (near Zurich, Switzerland)
Tel +41 1 972 20 59        Fax +41 1 972 20 69       http://norbert.ch

From gopalv82@softhome.net Wed May 28 17:29:55 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 23695 invoked from network); 28 May 2003 17:29:55 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 28 May 2003 17:29:55 -0000
Received: (qmail 32330 invoked by uid 417); 28 May 2003 17:13:51 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 28 May 2003 17:13:51 -0000
Received: from gopal ([61.1.227.242])
  by softhome.net with esmtp; Wed, 28 May 2003 11:13:44 -0600
Received: by gopal (Postfix, from userid 500)
	id 99FB86DD7; Wed, 28 May 2003 22:43:05 +0530 (IST)
Date: Wed, 28 May 2003 22:43:05 +0530
From: Gopal V <gopalv82@symonds.net>
To: Pnet Developers <pnet-developers@dotgnu.org>
Message-ID: <20030528224305.A1799@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	Pnet Developers <pnet-developers@dotgnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Useless-Header: Look ma, no windows !
Subject: [Pnet-developers] Bug updates stopped ?
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hi,
	The bug updates do not seem to be sent to this list or to
me (I was one of the notified people) . I am assuming that savannah
got it mixed up some how and am re-enabling this ..

Quite a few bugs have slipped in un-noticed these days , so have
the patches ..

Need to keep track , so if it is to be disabled for the list ,
at least retain me in the CC 

Gopal
-- 
The difference between insanity and genius is measured by success

From rainer.groesslinger@gmx.net Wed May 28 20:47:48 2003
Return-Path: <rainer.groesslinger@gmx.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 3440 invoked from network); 28 May 2003 20:47:47 -0000
Received: from unknown (HELO mail.gmx.net) (213.165.65.60)
  by 0 with SMTP; 28 May 2003 20:47:47 -0000
Received: (qmail 22677 invoked by uid 65534); 28 May 2003 20:31:45 -0000
Received: from trns-d9ba568b.pool.mediaWays.net (EHLO scandium) (217.186.86.139)
  by mail.gmx.net (mp009) with SMTP; 28 May 2003 22:31:45 +0200
From: Rainer Groesslinger <rainer.groesslinger@gmx.net>
To: pnet-developers@dotgnu.org
Subject: Re: [Pnet-developers] Bug updates stopped ?
Date: Wed, 28 May 2003 22:31:40 +0200
User-Agent: KMail/1.5.2
References: <20030528224305.A1799@md3.vsnl.net.in>
In-Reply-To: <20030528224305.A1799@md3.vsnl.net.in>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200305282231.47320.rainer.groesslinger@gmx.net>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Wednesday 28 May 2003 19:13, Gopal V wrote:
> Hi,
> 	The bug updates do not seem to be sent to this list or to
> me (I was one of the notified people) . I am assuming that savannah
> got it mixed up some how and am re-enabling this ..

I'd vote for having them mailed to the list again, since
a) this is a pnet-related list and wouldn't flood anybody who isn't interested 
in it and
b) it's not that much traffic at all

I hope it can be enabled again. If it was disabled intentionally, why was that 
done ?

-- 
Rainer Groesslinger
http://cvs.gentoo.org/~scandium/


From rweather@zip.com.au Wed May 28 22:54:21 2003
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 759 invoked from network); 28 May 2003 22:54:21 -0000
Received: from unknown (HELO mta06bw.bigpond.com) (139.134.6.96)
  by 0 with SMTP; 28 May 2003 22:54:21 -0000
Received: from comet.southern-storm.com.au ([144.135.24.78]) by
          mta06bw.bigpond.com (Netscape Messaging Server 4.15 mta06bw Jul
          16 2002 22:47:55) with SMTP id HFMC7T00.COU; Thu, 29 May 2003
          08:38:17 +1000 
Received: from cpe-138-130-193-163.qld.bigpond.net.au ([138.130.193.163]) by bwmam04bpa.bigpond.com(MAM V3.3.2 35/1237980); 29 May 2003 08:40:10
Content-Type: text/plain;
  charset="iso-8859-1"
From: Rhys Weatherley <rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
To: Gopal V <gopalv82@symonds.net>,
 Pnet Developers <pnet-developers@dotgnu.org>
Subject: Re: [Pnet-developers] Bug updates stopped ?
Date: Thu, 29 May 2003 08:32:28 +1000
User-Agent: KMail/1.4.3
References: <20030528224305.A1799@md3.vsnl.net.in>
In-Reply-To: <20030528224305.A1799@md3.vsnl.net.in>
Cc: nb@cisto.com
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200305290832.28266.rweather@zip.com.au>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Thursday 29 May 2003 03:13 am, Gopal V wrote:
> Hi,
> =09The bug updates do not seem to be sent to this list or to
> me (I was one of the notified people) . I am assuming that savannah
> got it mixed up some how and am re-enabling this ..

Yeah - something went wonky a couple of weeks ago.  Not sure if it was my=
=20
fault or not, but it wasn't intentional whatever it was.

The global e-mail notification is now set for bugs, and I personally get =
an=20
e-mail which is CC'ed to the list.  But the list copy doesn't turn up. =20
Perhaps there is a problem in the pnet-developers configuration.  Norbert=
?

Cheers,

Rhys.


From rweather@zip.com.au Thu May 29 02:00:20 2003
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 30161 invoked from network); 29 May 2003 02:00:20 -0000
Received: from unknown (HELO mta07ps.bigpond.com) (144.135.25.132)
  by 0 with SMTP; 29 May 2003 02:00:20 -0000
Received: from comet.southern-storm.com.au ([144.135.25.84])
 by mta07ps.email.bigpond.com
 (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003))
 with SMTP id <0HFM000GCKGZD0@mta07ps.email.bigpond.com> for
 pnet-developers@dotgnu.org; Thu, 29 May 2003 11:36:35 +1000 (EST)
Received: from cpe-138-130-193-163.qld.bigpond.net.au ([138.130.193.163])
 by psmam06bpa.bigpond.com(MailRouter V3.2g 116/4017401); Thu,
 29 May 2003 11:36:35 +0000
Date: Thu, 29 May 2003 11:30:45 +1000
From: Rhys Weatherley <rweather@zip.com.au>
To: pnet-developers@dotgnu.org
Message-id: <200305291130.45895.rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
User-Agent: KMail/1.4.3
Subject: [Pnet-developers] Feature selection in pnetlib
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

Hi all,

Once upon a time, there were only two ways to build pnetlib.  ECMA_COMPAT and 
not-ECMA_COMPAT.  With the introduction of profiles, this has changed 
dramatically.  Individual features such as reflection, floating-point, 
serialization, etc, can be included or omitted.

Over the last few weeks, I've been going through the pnetlib code and marking 
up features with CONFIG_??? macros so as to make it easier to select them.  

This is an ongoing process, which all pnetlib developers need to be aware of.  
It isn't enough to just put "#if !ECMA_COMPAT" around non-ECMA things any 
more.  It is better to use a descriptive, feature-specific, label.  Even some 
ECMA things (like reflection) have labels now.  See "pnetlib/profiles/full" 
for a current list of feature labels.

I'm working my way through the namespaces, and if you want to help out then 
let me know and I'll assign CONFIG_??? labels for new features as required.  
We don't want to overdo it, of course.  Too many options will just create 
confusion.  Perhaps we can discuss this further at this weekend's meeting?

Where all this is heading is a flexible pnetlib that can be sliced and diced 
in multiple ways for different embedded system configurations without needing 
to fork the code to do it.  i.e. one code base with multiple personalities.

Cheers,

Rhys.


From www-data@subversions.gnu.org Wed May 28 22:46:02 2003
Return-Path: <www-data@subversions.gnu.org>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 31738 invoked from network); 28 May 2003 22:46:02 -0000
Received: from unknown (HELO subversions.gnu.org) (199.232.41.2)
  by 0 with SMTP; 28 May 2003 22:46:02 -0000
Received: from www-data by subversions.gnu.org with local (Exim 4.20)
	id 19L9Qx-00026X-Qu; Wed, 28 May 2003 18:30:11 -0400
To: rweather@zip.com.au,Error - Not Found,pnet-developers@dotgnu.org
From: nobody@savannah.gnu.org
X-Savannah-Project: dotgnu-pnet
X-Savannah-Artifact: bug
X-Savannah-Artifact-ID: 2803
Message-Id: <E19L9Qx-00026X-Qu@subversions.gnu.org>
Sender: www-data <www-data@subversions.gnu.org>
Date: Wed, 28 May 2003 18:30:11 -0400
Subject: [Pnet-developers] [Bug #2803] C# Compiler:: Ambigous typecast vs delegate in brackets
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>


=================== BUG #2803: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2803&group_id=353

Changes by: Rhys Weatherley <rweather@zip.com.au>
Date: Wed 05/28/2003 at 22:30 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
         Assigned to | rweather                  | None




=================== BUG #2803: FULL BUG SNAPSHOT ===================


Submitted by: t3rmin4t0r              Project: DotGNU Portable.NET          
Submitted on: Wed 03/12/2003 at 16:14
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  C# Compiler:: Ambigous typecast vs delegate in brackets

Original Submission:  The compiler fails to realize

(cb)(null);

is the call of the delegate cb with args null.

and one case throws a parser error as well ?.

(From SDL.net code ...)



No Followups Have Been Posted


CC list is empty


File Attachments
****************

-------------------------------------------------------
Date: Wed 03/12/2003 at 16:14  Name: ambiguity.cs  Size: 0KB   By: t3rmin4t0r
test case
http://savannah.gnu.org/bugs/download.php?group_id=353&amp;bug_id=2803&amp;bug_file_id=350


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2803&group_id=353

From norbert@quill.cisto.com Thu May 29 11:54:19 2003
Return-Path: <norbert@quill.cisto.com>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 8823 invoked from network); 29 May 2003 11:54:18 -0000
Received: from unknown (HELO quill.cisto.com) (80.254.164.116)
  by 0 with SMTP; 29 May 2003 11:54:18 -0000
Received: by quill.cisto.com (Postfix, from userid 500)
	id 505B329C52; Thu, 29 May 2003 15:44:47 +0200 (CEST)
From: Norbert Bollow <nb@cisto.com>
Prefer-Language: de, en, fr
To: rweather@zip.com.au
Cc: pnet-developers@dotgnu.org
In-reply-to: <200305290832.28266.rweather@zip.com.au> (message from Rhys
	Weatherley on Thu, 29 May 2003 08:32:28 +1000)
Subject: Re: [Pnet-developers] Bug updates stopped ?
References: <20030528224305.A1799@md3.vsnl.net.in> <200305290832.28266.rweather@zip.com.au>
Message-Id: <20030529134447.505B329C52@quill.cisto.com>
Date: Thu, 29 May 2003 15:44:47 +0200 (CEST)
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

> Perhaps there is a problem in the pnet-developers configuration.  Norbert?

No, the problem wasn't on the listserver side... I believe there was
something wrong with the bugtracker config at Savannah, anf Gopal has
put it right now.

Greetings, Norbert.

-- 
Founder & Steering Committee member of http://gnu.org/projects/dotgnu/
Free Software Business Strategy Guide   --->  http://FreeStrategy.info
Norbert Bollow, Weidlistr.18, CH-8624 Gruet (near Zurich, Switzerland)
Tel +41 1 972 20 59        Fax +41 1 972 20 69       http://norbert.ch

From gopalv82@softhome.net Thu May 29 22:22:29 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 24564 invoked from network); 29 May 2003 22:22:29 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 29 May 2003 22:22:29 -0000
Received: (qmail 27420 invoked by uid 417); 29 May 2003 22:06:23 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 29 May 2003 22:06:23 -0000
Received: from gopal ([61.1.227.213])
  by softhome.net with esmtp; Thu, 29 May 2003 16:06:19 -0600
Received: by gopal (Postfix, from userid 500)
	id ACB736DD7; Fri, 30 May 2003 03:36:01 +0530 (IST)
Date: Fri, 30 May 2003 03:36:01 +0530
From: Gopal V <gopalv82@symonds.net>
To: Pnet Developers <pnet-developers@dotgnu.org>
Message-ID: <20030530033601.A25428@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	Pnet Developers <pnet-developers@dotgnu.org>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=_jive-27135-1054245982-0001-2"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Subject: [Pnet-developers] A patch for review
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_jive-27135-1054245982-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,
	This is a patch to remove attributes conditionally by name in
code .. This might be used for many things , like in the compact
edition of Pnetlib, we might turn off [TODO] attributes , while
compiling an external library we might turn off similar extraneous
info (like RCSAttribute in Jabber.net for example) ...

I would like to provide multiple options for this or a regexp 
like thing (like "TODO\(Attribute\)?" ) . But currently I need 
this to correctly compile the ml-pnet module... Please review ..

Gopal
-- 
The difference between insanity and genius is measured by success

--=_jive-27135-1054245982-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=patch

--- /opt/cvs/dotgnu/pnet/cscc/csharp/cs_attrs.c	Mon May  5 03:05:04 2003
+++ cscc/csharp/cs_attrs.c	Fri May 30 03:20:12 2003
@@ -379,6 +379,29 @@
 }
 
 /*
+ * Remove Attributes from code 
+ */
+
+static int CompareToAttribute(ILNode *node,const char * name)
+{
+	char *ident;
+	if(!name) return 0;
+	if(!node) return 0;
+	if(yyisa(node,ILNode_QualIdent))
+	{
+		ident=ILQualIdentName(node,0);
+		if(!strcmp(ident,name))return 1;
+		else return CompareToAttribute(((ILNode_QualIdent*)node)->right, name);
+	}
+	if(yyisa(node,ILNode_Identifier))
+	{
+		ident=ILQualIdentName(node,0);
+		if(!strcmp(ident,name))return 1;
+	}
+	return 0;
+}
+
+/*
  * Process a single attribute in a section.
  */
 static void ProcessAttr(ILGenInfo *info, ILProgramItem *item,
@@ -418,6 +441,13 @@
 	int skipConst;
 	ILType *argType;
 
+	if(CompareToAttribute(attr->name,
+		CCStringListGetValue(extension_flags,num_extension_flags,
+				"remove-attribute"))!=0)
+	{
+		return;
+	}
+
 	/* Hack: recognize "System.AttributeUsage" and add "Attribute".
 	   This doesn't solve all "ends in Attribute and lives in a namespace"
 	   problems, but gets rid of a particularly annoying one until a better

--=_jive-27135-1054245982-0001-2--

From rweather@zip.com.au Fri May 30 00:07:07 2003
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 6305 invoked from network); 30 May 2003 00:07:07 -0000
Received: from unknown (HELO mta04bw.bigpond.com) (139.134.6.87)
  by 0 with SMTP; 30 May 2003 00:07:07 -0000
Received: from comet.southern-storm.com.au ([144.135.24.84]) by
          mta04bw.bigpond.com (Netscape Messaging Server 4.15 mta04bw Jul
          16 2002 22:47:55) with SMTP id HFOA8Y00.J2F; Fri, 30 May 2003
          09:50:58 +1000 
Received: from cpe-138-130-193-163.qld.bigpond.net.au ([138.130.193.163]) by bwmam06bpa.bigpond.com(MailRouter V3.2g 53/6251941); 30 May 2003 09:50:58
Content-Type: text/plain;
  charset="iso-8859-1"
From: Rhys Weatherley <rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
To: Gopal V <gopalv82@symonds.net>,
 Pnet Developers <pnet-developers@dotgnu.org>
Subject: Re: [Pnet-developers] A patch for review
Date: Fri, 30 May 2003 09:45:03 +1000
User-Agent: KMail/1.4.3
References: <20030530033601.A25428@md3.vsnl.net.in>
In-Reply-To: <20030530033601.A25428@md3.vsnl.net.in>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200305300945.03429.rweather@zip.com.au>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Friday 30 May 2003 08:06 am, Gopal V wrote:
> Hi,
> =09This is a patch to remove attributes conditionally by name in
> code .. This might be used for many things , like in the compact
> edition of Pnetlib, we might turn off [TODO] attributes ,

It is probably better to turn off TODO by implementing the feature in que=
stion=20
and getting rid of the TODO that way. :-)

I've generally found that more space is saved by carving out entire names=
paces=20
and/or classes than fiddling with individual attributes and methods.

> I would like to provide multiple options for this or a regexp
> like thing (like "TODO\(Attribute\)?" ) . But currently I need
> this to correctly compile the ml-pnet module... Please review ..

While the patch is technically correct, I think it would be better to fix=
 the=20
bug than hack around it.  I'm going to look into some attribute problems=20
today, including the one where "[X]" works but "[System.X]" doesn't.  If =
this=20
is a different bug, then send me a test case and I'll look into it.

The patch is also a little inefficient: it needs to do a CCStringListGetV=
alue=20
for every attribute that is processed, leading to significant slow-downs =
on=20
libraries with large numbers of attributes (like mscorlib and System).

Cheers,

Rhys.


From rweather@zip.com.au Fri May 30 01:02:52 2003
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 15906 invoked from network); 30 May 2003 01:02:51 -0000
Received: from unknown (HELO mta08ps.bigpond.com) (144.135.25.169)
  by 0 with SMTP; 30 May 2003 01:02:51 -0000
Received: from comet.southern-storm.com.au ([144.135.25.84])
 by mta08ps.email.bigpond.com
 (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003))
 with SMTP id <0HFO00J95CQJYC@mta08ps.email.bigpond.com> for
 pnet-developers@dotgnu.org; Fri, 30 May 2003 10:44:43 +1000 (EST)
Received: from cpe-138-130-193-163.qld.bigpond.net.au ([138.130.193.163])
 by psmam06bpa.bigpond.com(MailRouter V3.2g 116/6222434); Fri,
 30 May 2003 10:44:43 +0000
Date: Fri, 30 May 2003 10:38:48 +1000
From: Rhys Weatherley <rweather@zip.com.au>
Subject: Re: [Pnet-developers] A patch for review
In-reply-to: <200305300945.03429.rweather@zip.com.au>
To: Gopal V <gopalv82@symonds.net>, Pnet Developers <pnet-developers@dotgnu.org>
Message-id: <200305301038.48372.rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT
User-Agent: KMail/1.4.3
References: <20030530033601.A25428@md3.vsnl.net.in>
 <200305300945.03429.rweather@zip.com.au>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Friday 30 May 2003 09:45 am, Rhys Weatherley wrote:
> I'm going to look into some attribute
> problems today, including the one where "[X]" works but "[System.X]"
> doesn't.

Fixed, at last!  I created a couple of extra treecc node types and pushed the 
"X" vs "XAttribute" check further down into semantic analysis.  This should 
solve a lot of problems that we've been having with attributes.

Cheers,

Rhys.


From chris@nfluid.plus.com Fri May 30 09:26:31 2003
Return-Path: <chris@nfluid.plus.com>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 30075 invoked from network); 30 May 2003 09:26:30 -0000
Received: from unknown (HELO nfluid.plus.com) (194.75.36.222)
  by 0 with SMTP; 30 May 2003 09:26:30 -0000
Received: from localhost (localhost [[UNIX: localhost]])
	by nfluid.plus.com (8.11.6/8.11.2) id h4U9ANY01931
	for pnet-developers@dotgnu.org; Fri, 30 May 2003 10:10:23 +0100
Content-Type: text/plain;
  charset="iso-8859-1"
From: Chris Smith <chris@nfluid.co.uk>
Reply-To: chris@nfluid.co.uk
Organization: netFluid Technology Ltd
To: Pnet Developers <pnet-developers@dotgnu.org>
Subject: Re: [Pnet-developers] A patch for review
Date: Fri, 30 May 2003 10:10:22 +0100
User-Agent: KMail/1.4.3
References: <20030530033601.A25428@md3.vsnl.net.in> <200305300945.03429.rweather@zip.com.au> <200305301038.48372.rweather@zip.com.au>
In-Reply-To: <200305301038.48372.rweather@zip.com.au>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200305301010.22960.chris@nfluid.co.uk>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Friday 30 May 2003 01:38, Rhys Weatherley wrote:

> Fixed, at last!  I created a couple of extra treecc node types and push=
ed
> the "X" vs "XAttribute" check further down into semantic analysis.  Thi=
s
> should solve a lot of problems that we've been having with attributes.

Hurrah!


--=20
Chris Smith
  Technical Architect - netFluid Technology Ltd.
  "Internet Technologies, Distributed Systems and Tuxedo Consultancy"
  E: chris@nfluid.co.uk  W: http://www.nfluid.co.uk

From gopalv82@softhome.net Fri May 30 18:28:25 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 8090 invoked from network); 30 May 2003 18:28:24 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 30 May 2003 18:28:24 -0000
Received: (qmail 31565 invoked by uid 417); 30 May 2003 18:12:02 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 30 May 2003 18:12:02 -0000
Received: from gopal ([61.1.227.186])
  by softhome.net with esmtp; Fri, 30 May 2003 12:11:56 -0600
Received: by gopal (Postfix, from userid 500)
	id E20326DD7; Fri, 30 May 2003 23:39:17 +0530 (IST)
Date: Fri, 30 May 2003 23:39:17 +0530
From: Gopal V <gopalv82@symonds.net>
To: Pnet Developers <pnet-developers@dotgnu.org>
Message-ID: <20030530233917.A8844@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	Pnet Developers <pnet-developers@dotgnu.org>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=_jive-31064-1054318322-0001-2"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Useless-Header: Look ma, no windows !
Subject: [Pnet-developers] A new directory to ml-pnet .. tools
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_jive-31064-1054318322-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,
	I found Sql sharp to be a very good tool to include into
Ml-pnet CVS , but hesitated to add it directly without an initial
run through.

untar and patch to test please ...

Gopal
-- 
The difference between insanity and genius is measured by success

--=_jive-31064-1054318322-0001-2
Content-Type: application/x-gzip
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="sqlsharp.tgz"

H4sIAPWd1z4AA+2XbW/bNhCA/VX8FYTQDw1cSdQbVRh2Gi9O2gJJHNQp0AIbAlqmXW3US0Wp
SDD0v+8ky4msNkkLxNmG8oFhUbzji+54PLJIUyGt3k4hxCNB4MOTkIB6W8+GHlRQP7AppUGP
2Lbjez3s73Zaa0pZsBzj3irNmLhH7yH5/5Si9v/ss5h9Ynm2m4XwM/4PKJRtlxBX+f8p6Pj/
lP3Fl5HgJosfbwxiE0I7fm/736X0xv/EhXrbJy74nzzeFO7mF/c/Ms/fTM8+DrD8LGS1BEx+
xRFiQhgiDZnoCtpvA6Tpz54fzsZnF3s6bkqXxyfj17M9bEziNElNmZZ5yOUIFE+nZ9PL2fT9
u8Ojy/PxxRto8zvSNM1Y4s36M+dlJBYYRkfo8ORofHb89uRohkedSWQJL5iUPJ6LiMtFlIPG
s+fzKIHiXkd6ORlfjLs9/NtW/+/Qif9tRzzSGA/Ff+C7N/Hv+nX8+9RR8f8UDF9dxQJ/4bmM
0mSk2ybRX+0jNMzy9E8eFjhhMR/pm2Wh4wVfslIUIx1iVN9H2hCst+IbvaZSG4ZpnEEawWvp
SIegC8uCzQXXq5DXcFoWWQmCdlg2ogWflyvYMP6uC+ZSsNXXRlQmki1hnCUTksNIVe2w2WLw
nEkOG0DVsr31fLU6a7yeIbSLklCUC2i4/Y2HIjJDqVu11tBqemnGyvmS5zypK+pOqmS56eBa
Fjw2F2AD607ph1jcpWGaFvxCAXuX1WhPWMHa5VbTodWeS2VzqzF65RVrbfh9NLQaT+5/f9Nb
22Ynaf+Gh+KfON4m/n0KgQ/nPydQ+f9JQLP3v03evqty7CYAVHb8hYiFUZ2XzIwV4acdjfFQ
/FPauv97cBaA6z9R+f9JMAwDW2lWWOEXaS3SYpWUVrMmIJ8ky2hV5tyMEu04j/Apu8YuwY47
sOnA97EDdzfU7/fxPZquP3CctebBATZsj77wcL96UHxwgPA6351WCXsS5ZCo0vzaPJmMz2+S
0pbOa15MswLOKvL78vNURle3ov52ftu8f3PfRfiPPXSfLVoZUpuxov5AO8C2M/BeDlx6a4q2
4rYlnGDguS1LvHDADvBXWQEZt/tw/TWo36nA9czV3qxQKBQKhUKhUCgUCoVCoVAofph/ALLG
bTcAKAAA

--=_jive-31064-1054318322-0001-2--

From rweather@zip.com.au Fri May 30 22:58:45 2003
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 15170 invoked from network); 30 May 2003 22:58:44 -0000
Received: from unknown (HELO mta03bw.bigpond.com) (139.134.6.86)
  by 0 with SMTP; 30 May 2003 22:58:44 -0000
Received: from comet.southern-storm.com.au ([144.135.24.81]) by
          mta03bw.bigpond.com (Netscape Messaging Server 4.15 mta03bw Jul
          16 2002 22:47:55) with SMTP id HFQ1QW00.BXG for
          <pnet-developers@dotgnu.org>; Sat, 31 May 2003 08:42:32 +1000 
Received: from cpe-138-130-193-163.qld.bigpond.net.au ([138.130.193.163]) by bwmam05bpa.bigpond.com(MailRouter V3.2g 44/1712832); 31 May 2003 08:42:32
Content-Type: text/plain;
  charset="iso-8859-1"
From: Rhys Weatherley <rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
To: pnet-developers@dotgnu.org
Subject: Re: [Pnet-developers] A new directory to ml-pnet .. tools
Date: Sat, 31 May 2003 08:36:32 +1000
User-Agent: KMail/1.4.3
References: <20030530233917.A8844@md3.vsnl.net.in>
In-Reply-To: <20030530233917.A8844@md3.vsnl.net.in>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200305310836.32590.rweather@zip.com.au>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Saturday 31 May 2003 04:09 am, Gopal V wrote:

> =09I found Sql sharp to be a very good tool to include into
> Ml-pnet CVS , but hesitated to add it directly without an initial
> run through.

Looks OK to me.  However, install it under a different name, to prevent=20
conflicts with Mono installations.  "sqlsharp-pnet" perhaps.

Cheers,

Rhys.


From gopalv82@softhome.net Sat May 31 08:32:45 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 30720 invoked from network); 31 May 2003 08:32:45 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 31 May 2003 08:32:45 -0000
Received: (qmail 19460 invoked by uid 417); 31 May 2003 08:16:32 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 31 May 2003 08:16:32 -0000
Received: from gopal ([61.1.227.128])
  by softhome.net with esmtp; Sat, 31 May 2003 02:16:29 -0600
Received: by gopal (Postfix, from userid 500)
	id 387446DD7; Sat, 31 May 2003 13:36:08 +0530 (IST)
Date: Sat, 31 May 2003 13:36:08 +0530
From: Gopal V <gopalv82@symonds.net>
To: pnet-developers@dotgnu.org
Subject: Re: [Pnet-developers] SSL/TLS support in pnetlib
Message-ID: <20030531133607.A13345@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	pnet-developers@dotgnu.org
References: <200305272123.37136.rweather@zip.com.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200305272123.37136.rweather@zip.com.au>; from rweather@zip.com.au on Tue, May 27, 2003 at 09:23:37PM +1000
X-Useless-Header: Look ma, no windows !
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

If memory serves me right, Rhys Weatherley wrote:
> I've added a new assembly to pnetlib CVS called "DotGNU.SSL".  This is a 
> PInvoke wrapper around the OpenSSL library, intended mainly for use in 
> implementing https within the "System.Net" namespace.  But it can also be 
> used by other C# DotGNU components that need SSL/TLS functionality.

I have just committed the SSL support into HttpWebRequest ... and tested
it by downloading a page from https://secure.symonds.net/ which means we're
cool !.

I hope I implemented it right ... ie a Session is constructed globally ,
which I hope is not wrong ?. This session is destroyed only when we
close down the VM because the object containing the Session is held 
in a static field. Should I generate a new session per hostname ?.

Also I do think we should put some sort of #if #endif around it to 
trim it down ... what should be the condition ?

> The code is in "pnetlib/DotGNU.SSL", with an example program in 
> "pnetlib/samples/sslfetch.cs".

Very similarly , I only had to replace part of the HttpStream class to
use an underlying stream ie either a NetworkStream or a stream from the
SSL handshake.

Gopal
-- 
The difference between insanity and genius is measured by success

From rweather@zip.com.au Sat May 31 09:50:29 2003
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 6436 invoked from network); 31 May 2003 09:50:28 -0000
Received: from unknown (HELO mta02bw.bigpond.com) (144.135.24.138)
  by 0 with SMTP; 31 May 2003 09:50:28 -0000
Received: from comet.southern-storm.com.au ([144.135.24.72]) by
          mta02bw.bigpond.com (Netscape Messaging Server 4.15 mta02bw Jul
          16 2002 22:47:55) with SMTP id HFQVWX00.9SD; Sat, 31 May 2003
          19:34:09 +1000 
Received: from cpe-138-130-193-163.qld.bigpond.net.au ([138.130.193.163]) by bwmam02bpa.bigpond.com(MAM V3.3.2 17/661722); 31 May 2003 19:34:09
Content-Type: text/plain;
  charset="iso-8859-1"
From: Rhys Weatherley <rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
To: Gopal V <gopalv82@symonds.net>,
 pnet-developers@dotgnu.org
Subject: Re: [Pnet-developers] SSL/TLS support in pnetlib
Date: Sat, 31 May 2003 19:28:08 +1000
User-Agent: KMail/1.4.3
References: <200305272123.37136.rweather@zip.com.au> <20030531133607.A13345@md3.vsnl.net.in>
In-Reply-To: <20030531133607.A13345@md3.vsnl.net.in>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200305311928.08070.rweather@zip.com.au>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Saturday 31 May 2003 06:06 pm, Gopal V wrote:

> I have just committed the SSL support into HttpWebRequest ... and teste=
d
> it by downloading a page from https://secure.symonds.net/ which means w=
e're
> cool !.

Fantastic!

> I hope I implemented it right ... ie a Session is constructed globally =
,
> which I hope is not wrong ?. This session is destroyed only when we
> close down the VM because the object containing the Session is held
> in a static field. Should I generate a new session per hostname ?.

A new session every time.  The session provider can be stored globally, b=
ut it=20
isn't really necessary to do that.  The current code is OK, but I suggest=
=20
removing the static for the provider because there's no need.  Call=20
"GetProvider()" and then "CreateClientSession()" in the "SecureConnection=
"=20
constructor.  If it ever makes sense to cache providers, we'll do it in t=
he=20
"DotGNU.SSL" assembly instead.

> Also I do think we should put some sort of #if #endif around it to
> trim it down ... what should be the condition ?

"CONFIG_SSL" or "CONFIG_TLS" would be my guess.  Toss a coin - either is =
fine=20
by me.

Cheers,

Rhys.


From gopalv82@softhome.net Sat May 31 20:48:15 2003
Return-Path: <gopalv82@softhome.net>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 444 invoked from network); 31 May 2003 20:48:15 -0000
Received: from unknown (HELO jive.SoftHome.net) (66.54.152.27)
  by 0 with SMTP; 31 May 2003 20:48:15 -0000
Received: (qmail 16325 invoked by uid 417); 31 May 2003 20:31:59 -0000
Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12)
  by shunt-smtp-out-0 with SMTP; 31 May 2003 20:31:59 -0000
Received: from gopal ([61.1.227.193])
  by softhome.net with esmtp; Sat, 31 May 2003 14:31:55 -0600
Received: by gopal (Postfix, from userid 500)
	id AD05A6DD7; Sun,  1 Jun 2003 01:58:41 +0530 (IST)
Date: Sun, 1 Jun 2003 01:58:41 +0530
From: Gopal V <gopalv82@symonds.net>
To: Pnet Developers <pnet-developers@dotgnu.org>
Message-ID: <20030601015841.A2133@md3.vsnl.net.in>
Mail-Followup-To: Gopal V <gopalv82@symonds.net>,
	Pnet Developers <pnet-developers@dotgnu.org>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=_jive-15921-1054413119-0001-2"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
X-Useless-Header: Look ma, no windows !
Subject: [Pnet-developers] An automatic cvs pull patch for ml-pnet
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_jive-15921-1054413119-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi Rhys,	
	On applying the attached patch , ./auto_gen.sh you add auto-pull
support using the following command.

$ ./configure --with-mono-sources=PULLCVS

Now 'make' will download all the libs it needs from CVS (reypastor.es)
and further "make clean && make" will update the downloaded libs.
"make distclean" will delete the libs thus acquired ...

A toy for convenience and to let people compile ml-pnet without ever
reading CVS instructions on reypastor.es .. Also this mode only downloads
the parts useful with pnet , saving time , bandwidth and well...uhh..

Do I commit it ?

Gopal
-- 
The difference between insanity and genius is measured by success

--=_jive-15921-1054413119-0001-2
Content-Type: application/x-gzip
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="ml-pnet3.tgz"

H4sIAPYJ2T4AA+1YbXPaSBL2V/QrOgq1tgOSANv4Qsp1YEwcX8BQFtze3iaHx9IAqkgarV5s
k8qP356RhCSMvbWxc1tbxVRhS9M9Pd1Pv0yPiHlLXIOaqkdCY7HzQ0atXqs1m4c7NRzHa//5
4+Hh8Q5ONJuN2uHxUQP5G83j4x2o/Rh1iiMKQuID7MyZR+wn+P6I/jcdiqKAxrxQM24DzWTh
3I00x1Y8l+IUc2fWPPKparklnYQwIEs4qEP9H63GYavWgEatdiBVKhUockYu/At/UIdaHdla
tVrM2W6DUj+oNqGCf4+h3Zag053qk1N9vDe67I2no874w35ucjC8HE714eSq23tAO+udTs6n
7/ud832pUlwxmvT7Kb8EpmtDd0GNLwHMmA+ez+Y+cQJVyBpdDc+nnZ8/Ct0aNa5bo57pJsj9
y6mevQ06H3tTvTeOZ3ATMb3X/eWcv1TBWM4xlRaxUjn6v/VpwnAbrPQaLygoyp0VLgTigI6w
mAsGceGGQhRQE0IGgUcNa7aEELltZhDBw2axiBHzQ3JjUxUBrELAkAs9dUfhi8vu4G5Bfcpl
zFE6X999jc5yPMumfhVoaKjC8uYR2lxpHlffCstLpRIqP9DPpz93ri73XBYidJFr7gsSNRYM
dt98x9jN1st65Hl2bFOCgMNcpgQs8g0apEgUrZclZbU+B4QQMsDVYFs3PvGXkEhRZany5xZA
xw6p7yLjLUXt8uu5r4LQt9w57PIIQ4/urnvKZHeuzYgJPv0tsnxq5gXMEHSMQZ85gGvBRLoR
2ktU8kVQvbdCqPPHmSV8enxUrR9A5fht9eAg9qqFhtMgBGUGcnk9tzTHCDTDJkGgJaCoDvlC
ZXjH0XK54PUlJ5ulcHtQh8pqv4dsMpyAnIC42qGyaYdr78681lL38CLF9ZRXzKtcP5FzTJyO
KgD+lFSLV4/Y/YTNymNpoDzDXWu+S0TJXRbZJog9LNd8LELBcgUpTgoLoy4Na1V+Ya3ieKpI
lVXYfEX40jqWYlRCpNO5E0GW30kV7v5s4at4adFfObfnQY6zIkukNF32c/G0UREeEc8xf3cl
QGQ6z1DDtqgbpicGWMEqrXmu30SWneknZ8ujgNeIMBbC7U2KmQqTgIr53bIoHtS9tXzmOrhJ
bvkt8S1e0PkeuPWtZeaqPr33bMuwsGzIzzVYWMwdRW1UKwfvdyRK5dED47lKbnTQC+TKS+uV
ZEtadSCB46qnT/rjvQdg8g5AtENH9eoh9kNYrOOjNwaZW6OOWGDdawPEmZ8cEsYDs4MH7/pv
tr4gvpcRKl5k22kxDBYSfEY35NJ4BkWGzInGwmEmVO7XGEQ+P9UoplurxCn0ibXWYb119Dbr
EwuMhTYRG8qjRq5NrDYQlephU4AiKdjdnV1c6XhsCIBi26VKNq0WCVJFHX0YXv7Sgnax7LRB
H3cGIyX2hc45iW0rPDLsh8ycfDEYDa/GvbNpR9d7g9P+RU8/kWM3GczHkNP0ZRBSRxsPz4ad
EDuEmyikqhF84oERM3bxlsEch/jBgmDnlSfFi9Wei32H51sB1al/ayHwD3m6SZcdx/CFizcX
237INiAumVNeVTbQaBCQOdanh6Rk35HPcPMNu19Fbmg5lPNZxLa+xlq8Z75DQtQ9UHVGvNyy
Ua8zusi9X3RFnHaZiTL4038tr2/d5DhE1J+RkKhjc4MCnLKRGxMlnPsUM6ErKvZGpsES6TnK
6TKk7/+zLjS3lTr0iWHTJ0SenTYeoYpDjGGV7J91RuvUcxoOxYEQrFNExsuFoBsPh32Mt2Ku
CxYRxycYA46Xds18+nRy0R8npYYnRnlPMIoSkOuQWjkCnuHpSwvf2uW9kHlTcb7hcbyvFatB
qdBooZgNCbIP375BXBPfPUeisH5dWMgiY1Gwq9vvdS7fX/QxM9NpyLeMb1QBE2c1rSBErxI3
SXkU6Dug+LP8gmRylm3yV1/Tf9goegKv7z9gjz/4/tNoNhur7z/1Rg35Dw7r9e33n//HeP1K
iwJfu7FcDdtRuCF43GNzejUcjk9kxWx5AR4L1G8Rl7lLh0VB26dLj+Bx5qsLK0BMLDe6V2nQ
0vj9XQZpMpoOR2OdrwalC8pIlqS09yi/BsUOoZG2HEkPNsEzibbW2xJZF89YTGV+Wa5X8U9D
xSHvSqW0HmBnIulXXewCTsp1KVhYs1DCl/6FjvrLEi8K6TPX4hX8CqhXOV4CnyHRBKSS8wXl
pxQhl38uogRrDTaS5TfIaTKJd8nXcRda5jQZvgGePR7I6ptPeOiX5euVcaVs93L6CPEqNAC7
bmRZ6VpOnlYMM6skmcyla3qsBMXqvAaDf9vC5pZFvB3G/o+r+Gvcw8fGiCtzou3nTDuD4YHu
RvQd30sqMVGbT8SFWyoZGUg//QTt9LbVhnISHfG+fFM5Jz6r1BDLiKXCu8SUyeisM155pPuh
1/04nIxXHipYmgAS2zmOjzuEV4AvtkPo+XcXOdA+aZ/+WdY0OZv5H7pD07S5fB3XfhSOWBHb
p8Rc5jHbAFc53uwJsNJF5gaMNQRIK6zNG13OXiDDbRUORUTK+dcCO+qwITZysmPUHvOptuZU
5etB5tjIM0lIuTSRyCnW2Rn8As4oxkYpPtIfOiAxcu1DQh6V1RX0+2w1UPsCyHkzizoWkC6s
4VhjuL8ELI8jURJQoN//6hNjO7ZjO7ZjO7ZjO7ZjO7ZjO7ZjO/6O43dXiyDBACgAAA==

--=_jive-15921-1054413119-0001-2--

From chris@nfluid.co.uk Sat May 31 22:19:11 2003
Return-Path: <chris@nfluid.co.uk>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 11110 invoked from network); 31 May 2003 22:19:10 -0000
Received: from unknown (HELO mail.nfluid.com) (81.174.136.138)
  by 0 with SMTP; 31 May 2003 22:19:10 -0000
Received: from puck (puck [10.1.1.2])
	by mail.nfluid.com (8.11.6/NFT-CDS-0.7.2) with SMTP id h4VM1C418593
	for <pnet-developers@dotgnu.org>; Sat, 31 May 2003 23:01:12 +0100
Message-ID: <005101c327c0$28d11120$0201010a@home.net>
From: "Chris Smith" <chris@nfluid.co.uk>
To: <pnet-developers@dotgnu.org>
References: <200305272123.37136.rweather@zip.com.au> <20030531133607.A13345@md3.vsnl.net.in> <200305311928.08070.rweather@zip.com.au>
Subject: Re: [Pnet-developers] SSL/TLS support in pnetlib
Date: Sat, 31 May 2003 23:01:16 +0100
Organization: netFluid Technology Ltd
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

> On Saturday 31 May 2003 06:06 pm, Gopal V wrote:
>
> > I have just committed the SSL support into HttpWebRequest ... and tested
> > it by downloading a page from https://secure.symonds.net/ which means
we're
> > cool !.
>
> Fantastic!
>
> > I hope I implemented it right ... ie a Session is constructed globally ,
> > which I hope is not wrong ?. This session is destroyed only when we
> > close down the VM because the object containing the Session is held
> > in a static field. Should I generate a new session per hostname ?.
>
> A new session every time.  The session provider can be stored globally,
but it
> isn't really necessary to do that.  The current code is OK, but I suggest
> removing the static for the provider because there's no need.  Call
> "GetProvider()" and then "CreateClientSession()" in the "SecureConnection"
> constructor.  If it ever makes sense to cache providers, we'll do it in
the
> "DotGNU.SSL" assembly instead.

Hmm.
We need control over the session.
Sometimes you want to avoid the SSL handshake, and thus will want to
use the existing SSL_CTX sesssion.
Howerver, you also want to be able to start a new session, particularly
if you've got several connections to remote servers.

I admit I've not looked at the DotGnu SSL code yet.

Generally you want to cache SSL contexts for use over repeat connections to
the same server as this makes DRASTIC perfomance increases.  The server
will force a re-handshake when it deems necessary, so clients don't have to
worry about it too much.
If the session is 'static' then I can't say off the top of my head what'll
happen when
you connect to a different SSL server from the same VM.
Hmm, presumably the session will be invalid and a rehandshake would be
performed.
But that is very dependent on the SSL implementation, and I'd not like to be
quoted on
what'll happen :o)

Regards,
Chris


From rweather@zip.com.au Sat May 31 22:43:29 2003
Return-Path: <rweather@zip.com.au>
Delivered-To: dotgnu-dotgnu.org-pnet-developers@dotgnu.org
Received: (qmail 14065 invoked from network); 31 May 2003 22:43:29 -0000
Received: from unknown (HELO mta02ps.bigpond.com) (144.135.25.134)
  by 0 with SMTP; 31 May 2003 22:43:29 -0000
Received: from comet.southern-storm.com.au ([144.135.25.69]) by
          mta02ps.bigpond.com (Netscape Messaging Server 4.15 mta02ps Jul
          16 2002 22:47:55) with SMTP id HFRVPB00.5PK; Sun, 1 Jun 2003
          08:27:11 +1000 
Received: from cpe-138-130-193-163.qld.bigpond.net.au ([138.130.193.163]) by psmam01bpa.bigpond.com(MAM $Name: REL_3_3_2b $ 71/1771729); 01 Jun 2003 08:27:11
Content-Type: text/plain;
  charset="iso-8859-1"
From: Rhys Weatherley <rweather@zip.com.au>
Organization: Southern Storm Software, Pty Ltd
To: Gopal V <gopalv82@symonds.net>,
 Pnet Developers <pnet-developers@dotgnu.org>
Subject: Re: [Pnet-developers] An automatic cvs pull patch for ml-pnet
Date: Sun, 1 Jun 2003 08:21:07 +1000
User-Agent: KMail/1.4.3
References: <20030601015841.A2133@md3.vsnl.net.in>
In-Reply-To: <20030601015841.A2133@md3.vsnl.net.in>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200306010821.07335.rweather@zip.com.au>
Errors-To: pnet-developers-admin@dotgnu.org
X-BeenThere: pnet-developers@dotgnu.org
X-Mailman-Version: 2.0.13.cisto1
Precedence: bulk
#X-Subscribed-Address: ##L@##H
List-Id: <pnet-developers.dotgnu.org>
List-Post: <mailto:pnet-developers@dotgnu.org>
List-Subscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=subscribe>
List-Unsubscribe: <http://dotgnu.org/mailman/listinfo/pnet-developers>,
	<mailto:pnet-developers-request@dotgnu.org?subject=unsubscribe>
List-Help: <mailto:pnet-developers-request@dotgnu.org?subject=help>
List-Archive: <http://dotgnu.org/pipermail/pnet-developers/>

On Sunday 01 June 2003 06:28 am, Gopal V wrote:

> Now 'make' will download all the libs it needs from CVS (reypastor.es)
> and further "make clean && make" will update the downloaded libs.
> "make distclean" will delete the libs thus acquired ...

I don't really like this.  Doing a CVS pull on every make is very ineffic=
ient,=20
and blowing away the entire tree and restarting on a make distclean will =
be=20
incredibly wasteful of bandwidth.  (I do a "make distclean" several times=
 a=20
day, for example).

Also, because you are only pulling specific directories, the list of thin=
gs to=20
build must be kept in two places: "ml_pnet/Makefile.am" and=20
"ml_pnet/class/Makefile.am".  It would be better to pull the entire "mcs"=
=20
subtree.

> Do I commit it ?

Not in this form.  It's a little too clever.  A better README should suff=
ice.

Cheers,

Rhys.


