2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / System / System / ChangeLog
index e3d64c1c07d2ce5b52afd81af120adec1ed1061c..c4a1c8de265b2d16b777eda361fbc8fab5b5bdb0 100644 (file)
@@ -1,3 +1,138 @@
+2005-01-20  Miguel de Icaza  <miguel@ximian.com>
+
+       * Uri.cs: Set the UriSchemNews port default to 119 as well.
+       Fixes bug #71050.
+
+       When dealing with fragments use the `dontEscape' flag passed to
+       the Uri constructor to decide whether the fragment must or must
+       not be escaped, fixes 71051.
+
+2004-06-22  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * 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  <jackson@ximian.com>
+
+       * Uri.cs: Use invariant culture.
+       
+2004-06-16  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Uri.cs : Fixed LocalPath. In that condition, path is always UNC.
+
+2004-06-16  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Uri.cs : Reimplemented HexUnescape() (It was too broken to handle
+         multi-byte utf-8 characters.)
+
+2004-06-11  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * 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  <atsushi@ximian.com>
+
+       * 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  <atsushi@ximian.com>
+
+       * 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  <atsushi@ximian.com>
+
+       * Uri.cs : Don't escape '#' in file URI paths. This fixes bug #47691.
+         Some code simplification.
+
+2004-06-09  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * 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  <dick@ximian.com>
+
+       * Uri.cs: Reduce(string) is not in the public API.
+
+2004-04-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * UriBuilder.cs: ignore empty Query. Fixes bug #57082.
+
+2004-03-21  Jackson Harper  <jackson@ximian.com>
+
+       * Uri.cs: Equals should be case insensitive for all parts except
+       the path.
+
+2004-02-11  Jackson Harper  <jackson@ximian.com>
+
+       * Uri.cs: If we are sure we have a windows path use \ instead of
+       / for directory separating.
+       
+2004-02-11  Jackson Harper  <jackson@ximian.com>
+
+       * 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  <jackson@ximian.com>
+
+       * Uri.cs: Preserve the trailing / if there is one when reducing
+       paths.
+       
+2004-02-08  Jackson Harper  <jackson@ximian.com>
+
+       * 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  <jackson@ximian.com>
+
+       * Uri.cs: Do not escape querys or fragements. Only reduce certain
+       schemes.
+       
+2004-02-06  Jackson Harper  <jackson@ximian.com>
+
+       * 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  <jackson@ximian.com>
+
+       * UriBuilder.cs: Do not call Uri::ToString for uri builders
+       ToString. UriBuilder's ToString is a little more primitive.
+       
+2004-01-12  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * 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  <atsushi@ximian.com>
 
        * Uri.cs : quick fix on local file relative uri.