[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/System/Net IPAddress.cs, 1.11, 1.12 S
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/System/Net IPAddress.cs, 1.11, 1.12 ServicePoint.cs, 1.3, 1.4 WebClient.cs, 1.4, 1.5 WebException.cs, 1.6, 1.7 WebHeaderCollection.cs, 1.5, 1.6 WebProxy.cs, 1.3, 1.4 |
Date: |
Wed, 17 Sep 2003 02:42:53 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System/Net
In directory subversions:/tmp/cvs-serv30553/System/Net
Modified Files:
IPAddress.cs ServicePoint.cs WebClient.cs WebException.cs
WebHeaderCollection.cs WebProxy.cs
Log Message:
Signature-compatibility fixes in "System.Net".
Index: IPAddress.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/IPAddress.cs,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** IPAddress.cs 27 May 2003 16:27:46 -0000 1.11
--- IPAddress.cs 17 Sep 2003 06:42:51 -0000 1.12
***************
*** 96,101 ****
}
}
!
! public IPAddress(ushort[] address, long scopeid)
{
this.family = AddressFamily.InterNetworkV6;
--- 96,100 ----
}
}
! private IPAddress(ushort[] address, long scopeid)
{
this.family = AddressFamily.InterNetworkV6;
***************
*** 323,327 ****
}
! public static IPAddress ParseIPv6(String input)
{
long scopeid=0;
--- 322,326 ----
}
! private static IPAddress ParseIPv6(String input)
{
long scopeid=0;
***************
*** 424,427 ****
--- 423,427 ----
// Get or set the IPv4 address.
+ [Obsolete("IPAddress.Address is address family dependant, use Equals
method for comparison.")]
public long Address
{
Index: ServicePoint.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/ServicePoint.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** ServicePoint.cs 28 Aug 2003 03:12:20 -0000 1.3
--- ServicePoint.cs 17 Sep 2003 06:42:51 -0000 1.4
***************
*** 40,43 ****
--- 40,44 ----
internal bool supportsPipelining;
internal bool useNagleAlgorithm;
+ internal bool expect100Continue;
// Constructor.
***************
*** 99,102 ****
--- 100,114 ----
{
return currentConnections;
+ }
+ }
+ public bool Expect100Continue
+ {
+ get
+ {
+ return expect100Continue;
+ }
+ set
+ {
+ expect100Continue = value;
}
}
Index: WebClient.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/WebClient.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** WebClient.cs 29 May 2003 05:38:18 -0000 1.4
--- WebClient.cs 17 Sep 2003 06:42:51 -0000 1.5
***************
*** 26,33 ****
--- 26,35 ----
using System.ComponentModel;
using System.Collections.Specialized;
+ using System.Runtime.InteropServices;
namespace System.Net
{
#if !ECMA_COMPAT
+ [ComVisible(true)]
public sealed class WebClient
#if CONFIG_COMPONENT_MODEL
Index: WebException.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/WebException.cs,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** WebException.cs 5 Jul 2003 05:07:10 -0000 1.6
--- WebException.cs 17 Sep 2003 06:42:51 -0000 1.7
***************
*** 81,101 ****
- // Get the default message to use for this exception type.
- public override String Message
- {
- get
- {
- String parentMsg = base.Message;
- if(parentMsg != null)
- {
- return parentMsg;
- }
- else
- {
- return S._("Exception_Web");
- }
- }
- }
-
//Properties
public WebResponse Response
--- 81,84 ----
Index: WebHeaderCollection.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/WebHeaderCollection.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** WebHeaderCollection.cs 9 Jul 2003 16:47:28 -0000 1.5
--- WebHeaderCollection.cs 17 Sep 2003 06:42:51 -0000 1.6
***************
*** 26,30 ****
--- 26,34 ----
using System.Collections;
using System.Collections.Specialized;
+ using System.Runtime.InteropServices;
+ #if !ECMA_COMPAT
+ [ComVisible(true)]
+ #endif
public class WebHeaderCollection : NameValueCollection
{
Index: WebProxy.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System/Net/WebProxy.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** WebProxy.cs 28 Aug 2003 03:12:20 -0000 1.3
--- WebProxy.cs 17 Sep 2003 06:42:51 -0000 1.4
***************
*** 168,172 ****
}
}
! public virtual ICredentials Credentials
{
get
--- 168,172 ----
}
}
! public ICredentials Credentials
{
get
***************
*** 189,193 ****
// Get the proxy to use for a particular URI destination.
! public virtual Uri GetProxy(Uri destination)
{
if(IsBypassed(destination))
--- 189,193 ----
// Get the proxy to use for a particular URI destination.
! public Uri GetProxy(Uri destination)
{
if(IsBypassed(destination))
***************
*** 207,211 ****
// Dtermine if a URI destination has been bypassed.
[TODO]
! public virtual bool IsBypassed(Uri host)
{
if(host.IsLoopback)
--- 207,211 ----
// Dtermine if a URI destination has been bypassed.
[TODO]
! public bool IsBypassed(Uri host)
{
if(host.IsLoopback)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System/Net IPAddress.cs, 1.11, 1.12 ServicePoint.cs, 1.3, 1.4 WebClient.cs, 1.4, 1.5 WebException.cs, 1.6, 1.7 WebHeaderCollection.cs, 1.5, 1.6 WebProxy.cs, 1.3, 1.4,
Rhys Weatherley <address@hidden> <=