2004-06-22 Atsushi Enomoto * Uri.cs : Such ctor arg string that starts with "//" should be regarded as a local file path that will be condensed to single "/", so handle such path differently under Windows and under *nix. Since '\\' is a valid path character on Unix, so we should not replace it with '/' in LocalPath. 2004-06-17 Jackson Harper * Uri.cs: Use invariant culture. 2004-06-16 Atsushi Enomoto * Uri.cs : Fixed LocalPath. In that condition, path is always UNC. 2004-06-16 Atsushi Enomoto * Uri.cs : Reimplemented HexUnescape() (It was too broken to handle multi-byte utf-8 characters.) 2004-06-11 Atsushi Enomoto * Uri.cs : - We don't have to mind '\\'. - Fixed bug #58301. When path starts with "///" and not more than "////" and not "///*:", handle it as unix path and set Host as empty string. In absolute path case, port should not be parsed and LocalPath should start with '/'. - Handle fragment in prior to path. 2004-06-11 Atsushi Enomoto * Uri.cs : Handle Windows UNC. Now we could simplify Parse(). Don't escape windows path twice. Check scheme name as defined in RFC2396. 2004-06-11 Atsushi Enomoto * Uri.cs : Reverted some changes. '#' should be handled when the input string is NOT raw file path. So handle raw file paths differently. (right now except for Windows UNC). Cache LocalPath and don't compute every time. 2004-06-10 Atsushi Enomoto * Uri.cs : Don't escape '#' in file URI paths. This fixes bug #47691. Some code simplification. 2004-06-09 Atsushi Enomoto * Uri.cs : - Now Parse() is properly implemented. If overriden, the overriding Parse() is used _instead of_ this class's parsing logic. - AbsoluteUri does not escape URI string at all. - ToString() should unescape Query. But should not unescape fragment. And all all parts should be unescaped individually to keep ? and #. - In relative .ctor(), handle Windows UNC as an absolute file URI. - In some cases, hosts and paths were not properly escaped in relative .ctor(). - Removed unused isWindowsPath. - Escape Query. * UriBuilder.cs : Fragment and Query aren't escaped when they are set. 2004-05-12 Dick Porter * Uri.cs: Reduce(string) is not in the public API. 2004-04-22 Gonzalo Paniagua Javier * UriBuilder.cs: ignore empty Query. Fixes bug #57082. 2004-03-21 Jackson Harper * Uri.cs: Equals should be case insensitive for all parts except the path. 2004-02-11 Jackson Harper * Uri.cs: If we are sure we have a windows path use \ instead of / for directory separating. 2004-02-11 Jackson Harper * Uri.cs: If the relative uri passed to Uri (base_uri, relative_uri) is an absolute uri do not combine the uris. The base uri is dropped. 2004-02-10 Jackson Harper * Uri.cs: Preserve the trailing / if there is one when reducing paths. 2004-02-08 Jackson Harper * Uri.cs: IsLoopback has different behavoir then IPAddress::IsLoopback. It will only return true for ipv4 addresses if they are 127.0.0.1, localhost, or loopback. 2004-02-06 Jackson Harper * Uri.cs: Do not escape querys or fragements. Only reduce certain schemes. 2004-02-06 Jackson Harper * Uri.cs: Use UTF8 characters when escaping. Reduce paths. This method is taken from System.Web.Utils.UrlUtils. * UriBuilder.cs: Do not escape fragments or queries, but do a utf8 switch on them. Do not prepend a "/" to Paths. Do not use IPEndPoint to determine if a port is valid, UriBuilder allows ports to be any positive integer, IPEndPoint does not. Use the ToString () method for generate a uri in get_Uri. Only set the port in ToString () if it is greater then 0. 2004-02-05 Jackson Harper * UriBuilder.cs: Do not call Uri::ToString for uri builders ToString. UriBuilder's ToString is a little more primitive. 2004-01-12 Atsushi Enomoto * Uri.cs : should not escape already-escaped string (Patch by Boris Kirzner). File LocalPath should unespace return value. ToString() should be unescaped only when it is not an UNC path. (UNC looks not to be unescaped). 2004-01-06 Atsushi Enomoto * Uri.cs : quick fix on local file relative uri. 2004-01-06 Atsushi Enomoto * Uri.cs : Fixed Parse(). Should not allow relative URIs. 2004-01-05 Atsushi Enomoto * Uri.cs : fixed IsBadFileSystemCharacter() to reject more characters based on MS.NET experiment. 2003-12-08 Atsushi Enomoto * Uri.cs : more fixes. More presice UNC handling, opaque part handling for non-standard uri (e.g. urn:go-mono.com), ToString() fix (that returns AbsoluteUri, which is not escaped any more), and so on. 2003-12-08 Atsushi Enomoto * Uri.cs : Several fixes, including Unc problem, Host and LocalPath fixes, null reference check for .ctor(Uri, string). This fixes bug #51844. 2003-12-04 John Luke * Uri.cs: applied patch from Chris Masters fixes bug #51510. ftp uses port 21, https uses 443 and parse the host name properly for UNC path. 2003-10-10 Pedro Martínez Juliá * Uri.cs: fixed a problem with some URIs like file://some_file.txt It used to return "/some_file.txt/" instead of "some_file.txt" in LocalPath. Fix handling of full path files and SMB addresses. 2003-08-12 Duncan Mak * Uri.cs (constructor): Properly implement RFC 2396, Par. 5.2, part 6a, which says: In other words, any characters after the last (right-most) slash character, if any, are excluded. Previously, when merging "a://foo.com/foo" with "bar", we yield the result "a://foo.com/foobar", instead of the correct "a://foo.com/bar". This fixes bug #45614. 2003-07-27 Andreas Nahr * SRDescriptionAttribute.cs: Moved from System.Diagnostics directory 2003-07-18 Andreas Nahr * Uri.cs: Added MonoTODO'd members, implemented member, fixed signature 2003-05-22 Gonzalo Paniagua Javier * TempFileCollection.cs: fixed the build under windows. 2003-05-07 Ben Maurer * Uri.cs: Checked in code to fix bug #41998. Some code from Ian MacLean. 2003-03-19 Gonzalo Paniagua Javier * Uri.cs: reworked Segment. Small fix in MakeRelative. Throw exception in Parse when host length is 0 and the Uri is not a file. 2003-03-19 Gonzalo Paniagua Javier * Uri.cs: (CheckSchemeName): fixed bug #28549. Thanks to Eric Runquist. 2003-02-01 Miguel de Icaza * Uri.cs (LocalPath): Local path should return un-escaped strings. Patch from tum@veridicus.com (Thong (Tum) Nguyen) 2002-09-16 Duncan Mak * Uri.cs (GetObjectData): (Uri): The key should be "AbsoluteUri", not "Uri". 2002-09-16 Miguel de Icaza * Uri.cs: Implemented a few of the protected methods. Mon Jun 17 15:05:05 CEST 2002 Paolo Molaro * Uri.cs: workaround for mcs bug. 2002-05-28 Lawrence Pit * Uri.cs: Implemented ctor UriTest (baseUri, relativeUri) * Uri.cs: Fixed bug in internal method GetSchemeDelimiter 2002-05-22 Lawrence Pit * Uri.cs: implemented MakeRelative, improved GetLeftPart * UriBuilder.cs: removed Serializable attribute * UriHostNameType.cs: added Basic 2002-05-12 Lawrence Pit * Uri.LocalPath and Uri.AbsoluteUri modified to support both w32 and *nix filepaths 2002-05-09 Lawrence Pit * Uri.GetLeftPart fixed for mailto and news schemes. 2002-05-05 Lawrence Pit * UriBuilder.cs: Implemented. * Uri.cs: Complete new reimplementation. 2002-02-08 Duncan Mak * UriFormatException.cs: Removed TODO attribute, the docs are probably wrong here. In any case, this code compiles and should work. 2002-01-31 Duncan Mak * UriFormatException.cs: Added bits for serialization. 2002-01-05 Ravi Pratap * ChangeLog : Add to this directory. * Uri.cs, UriFormatException.cs : Decorate bits with MonoTODO attribute.