Commit Graph
18 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier 0a99fc98e7 Use ordinal comparison when looking for "::"
This should fix 650355, but it might just hide the actual problem which
	seems to be related to loading CJK encodings data.
2010-10-31 17:23:17 -04:00
Gonzalo Paniagua Javier e674886d4f Use IndexOf (char)
svn path=/trunk/mcs/; revision=122120
2008-12-25 07:43:17 +00:00
Marek Habersack 8efdf7adb0 Fix the build
svn path=/trunk/mcs/; revision=113126
2008-09-16 06:20:33 +00:00
Miguel de Icaza 8a52a782c9 2008-09-16 Miguel de Icaza <[email protected]>
* IPv6Address.cs: On the 2.0 profile, avoid throwing/catching
	exceptions inside TryParse.


svn path=/trunk/mcs/; revision=113125
2008-09-16 05:30:40 +00:00
Miguel de Icaza a5e319e504 2008-08-06 Miguel de Icaza <[email protected]>
* Uri.cs: Use exception-less operations.

2008-08-06  Miguel de Icaza  <[email protected]>

	* IPAddress.cs (ParseIPV6): Use an exception-less parser for ipv6
	addresses.

	* IPv6Address.cs: Rewrite most of the parsing code to not use that
	incredibly fragile, hacky and hacky implementation.

	(TryParse): Provide a exception-less parsing path.


svn path=/trunk/mcs/; revision=109802
2008-08-06 23:34:16 +00:00
Gert Driesen b26da0a865 * IPAddress.cs (Parse): Changed argument name to match MS.
(TryParse): Changed argument name to match MS.
(ParseIPV4): Only treat zero-length or " " address as empty on 1.0
profile. On 2.0 profile, only ignore characters after blank if last
part is valid hex string.
* IPv6Address.cs: Removed extra spaces and tabs.
* IPAddressTest.cs: Remove use of deprecated Assertion. Improved
existing tests.

svn path=/trunk/mcs/; revision=94052
2008-01-27 15:20:02 +00:00
Atsushi Eno b21b41fb95 2007-08-29 Atsushi Enomoto <[email protected]>
* IPAddress.cs, IPv6Address.cs : (ToString) output ScopeId.

	* IPAddressTest.cs : added an address with scope id to parse/format
	  test.


svn path=/trunk/mcs/; revision=85016
2007-08-29 18:00:42 +00:00
Gert Driesen e92d8307ef * DnsPermissionAttribute.cs: Fixed line endings. Set eol-style.
* HttpVersion.cs: Same.
* FtpWebResponse.cs: Same.
* HttpContinueDelegate.cs: Same.
* FtpAsyncResult.cs: Same.
* EndpointPermission.cs: Same.
* IPv6Address.cs: Same.
* FtpDataStream.cs: Same.
* SocketPermission.cs: Same.
* FileWebRequest.cs: Same.
* FileWebResponse.cs: Same.
* DnsPermission.cs: Same.
* ProtocolViolationException.cs: Same.
* MonoHttpDate.cs: Same.
* SocketPermissionAttribute.cs: Same.
* CookieException.cs: Same.
* WebResponse.cs: Same.
* DefaultCertificatePolicy.cs: Same.

svn path=/trunk/mcs/; revision=70198
2006-12-29 09:16:25 +00:00
Sebastien Pouliot a21222b5bc 2005-11-15 Sebastien Pouliot <[email protected]>
* IPv6Address.cs: Added on overload to ToString to get a the full 
	length address returned (as required by System.Uri).


svn path=/trunk/mcs/; revision=53066
2005-11-15 15:32:36 +00:00
Gonzalo Paniagua Javier ee407642d3 2005-06-03 Gonzalo Paniagua Javier <[email protected]>
* IPv6Address.cs: fix IsLoopback. Closes bug #75128.


svn path=/trunk/mcs/; revision=45369
2005-06-03 12:26:31 +00:00
Gonzalo Paniagua Javier 8cbcda7bed 2005-06-03 Gonzalo Paniagua Javier <[email protected]>
* IPv6Address.cs: don't do extra check on ipv4 if this is a ipv6
	address. Fixes bug #75125.


svn path=/trunk/mcs/; revision=45368
2005-06-03 12:08:42 +00:00
Zoltan Varga 9657791b8f 2005-02-08 Zoltan Varga <[email protected]>
* IPv6Address.cs: Fix endianess problems.

	* IPAddress.cs: Fix misleading comments.

svn path=/trunk/mcs/; revision=40312
2005-02-08 18:03:59 +00:00
Duncan Mak 24f5ef2c44 Add MIT license to System.dll
svn path=/trunk/mcs/; revision=30054
2004-06-21 18:02:11 +00:00
Gonzalo Paniagua Javier 01040c6fdd 2004-05-26 Gonzalo Paniagua Javier <[email protected]>
* IPAddress.cs:
	* IPEndPoint.cs:
	* IPv6Address.cs: no more warnings about IPAddress.Address.

svn path=/trunk/mcs/; revision=28086
2004-05-25 21:28:41 +00:00
Nick Drochak b9ce91a104 2004-01-27 Nick Drochak <[email protected]>
* DigestClient.cs:
	* HttpWebRequest.cs:
	* IPv6Address.cs:
	* WebClient.cs:
	* WebConnection.cs:
	* WebConnectionStream.cs: Remove unused variables thus eliminating some
	build warnings.

svn path=/trunk/mcs/; revision=22538
2004-01-27 14:28:18 +00:00
Jerome Laban dac25c46ee 2003-07-14 Jerome Laban <[email protected]>
* Dns.cs: Reworked indentation.
        Added IPv6 support.
        Added literal address checking in GetHostByAddress.
        Changed Dns.Resolve behavior.
        * IPAddress.cs:
        * IPEndPoint.cs: Added IPv6 support.
        * IPv6Address.cs: Added address compression.
        * NetConfig.cs: Added configuration section.

svn path=/trunk/mcs/; revision=16215
2003-07-14 16:00:44 +00:00
Andreas N fa0fb16ebb 2003-07-10 Andreas Nahr <[email protected]>
* ProxyUseType.cs:
	* WebStatus.cs: Deleted (do not exist in this assembly)
	* IPv6Address.cs: Made internal

svn path=/trunk/mcs/; revision=16089
2003-07-10 14:10:39 +00:00
Lawrence Pit 82a7391cd8 not defined in .net spec, needed for Uri.cs though
svn path=/trunk/mcs/; revision=4293
2002-05-05 06:51:38 +00:00