1 2004-06-16 Atsushi Enomoto <atsushi@ximian.com>
3 * Uri.cs : Reimplemented HexUnescape() (It was too broken to handle
4 multi-byte utf-8 characters.)
6 2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
9 - We don't have to mind '\\'.
10 - Fixed bug #58301. When path starts with "///" and not more than
11 "////" and not "///*:", handle it as unix path and set Host as
12 empty string. In absolute path case, port should not be parsed
13 and LocalPath should start with '/'.
14 - Handle fragment in prior to path.
16 2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
18 * Uri.cs : Handle Windows UNC. Now we could simplify Parse(). Don't
19 escape windows path twice. Check scheme name as defined in RFC2396.
21 2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
23 * Uri.cs : Reverted some changes. '#' should be handled when the input
24 string is NOT raw file path. So handle raw file paths differently.
25 (right now except for Windows UNC).
26 Cache LocalPath and don't compute every time.
28 2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
30 * Uri.cs : Don't escape '#' in file URI paths. This fixes bug #47691.
31 Some code simplification.
33 2004-06-09 Atsushi Enomoto <atsushi@ximian.com>
36 - Now Parse() is properly implemented. If overriden, the overriding
37 Parse() is used _instead of_ this class's parsing logic.
38 - AbsoluteUri does not escape URI string at all.
39 - ToString() should unescape Query. But should not unescape fragment.
40 And all all parts should be unescaped individually to keep ? and #.
41 - In relative .ctor(), handle Windows UNC as an absolute file URI.
42 - In some cases, hosts and paths were not properly escaped in
44 - Removed unused isWindowsPath.
46 * UriBuilder.cs : Fragment and Query aren't escaped when they are set.
48 2004-05-12 Dick Porter <dick@ximian.com>
50 * Uri.cs: Reduce(string) is not in the public API.
52 2004-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
54 * UriBuilder.cs: ignore empty Query. Fixes bug #57082.
56 2004-03-21 Jackson Harper <jackson@ximian.com>
58 * Uri.cs: Equals should be case insensitive for all parts except
61 2004-02-11 Jackson Harper <jackson@ximian.com>
63 * Uri.cs: If we are sure we have a windows path use \ instead of
64 / for directory separating.
66 2004-02-11 Jackson Harper <jackson@ximian.com>
68 * Uri.cs: If the relative uri passed to Uri (base_uri,
69 relative_uri) is an absolute uri do not combine the uris. The base
72 2004-02-10 Jackson Harper <jackson@ximian.com>
74 * Uri.cs: Preserve the trailing / if there is one when reducing
77 2004-02-08 Jackson Harper <jackson@ximian.com>
79 * Uri.cs: IsLoopback has different behavoir then
80 IPAddress::IsLoopback. It will only return true for ipv4 addresses
81 if they are 127.0.0.1, localhost, or loopback.
83 2004-02-06 Jackson Harper <jackson@ximian.com>
85 * Uri.cs: Do not escape querys or fragements. Only reduce certain
88 2004-02-06 Jackson Harper <jackson@ximian.com>
90 * Uri.cs: Use UTF8 characters when escaping. Reduce paths. This
91 method is taken from System.Web.Utils.UrlUtils.
92 * UriBuilder.cs: Do not escape fragments or queries, but do a utf8
93 switch on them. Do not prepend a "/" to Paths. Do not use
94 IPEndPoint to determine if a port is valid, UriBuilder allows
95 ports to be any positive integer, IPEndPoint does not. Use the
96 ToString () method for generate a uri in get_Uri. Only set the
97 port in ToString () if it is greater then 0.
99 2004-02-05 Jackson Harper <jackson@ximian.com>
101 * UriBuilder.cs: Do not call Uri::ToString for uri builders
102 ToString. UriBuilder's ToString is a little more primitive.
104 2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
106 * Uri.cs : should not escape already-escaped string (Patch by
107 Boris Kirzner). File LocalPath should unespace return value.
108 ToString() should be unescaped only when it is not an UNC path.
109 (UNC looks not to be unescaped).
111 2004-01-06 Atsushi Enomoto <atsushi@ximian.com>
113 * Uri.cs : quick fix on local file relative uri.
115 2004-01-06 Atsushi Enomoto <atsushi@ximian.com>
117 * Uri.cs : Fixed Parse(). Should not allow relative URIs.
119 2004-01-05 Atsushi Enomoto <atsushi@ximian.com>
121 * Uri.cs : fixed IsBadFileSystemCharacter() to reject more characters
122 based on MS.NET experiment.
124 2003-12-08 Atsushi Enomoto <atsushi@ximian.com>
126 * Uri.cs : more fixes. More presice UNC handling, opaque part
127 handling for non-standard uri (e.g. urn:go-mono.com), ToString()
128 fix (that returns AbsoluteUri, which is not escaped any more),
131 2003-12-08 Atsushi Enomoto <atsushi@ximian.com>
133 * Uri.cs : Several fixes, including Unc problem, Host and LocalPath
134 fixes, null reference check for .ctor(Uri, string). This fixes
137 2003-12-04 John Luke <jluke@cfl.rr.com>
139 * Uri.cs: applied patch from Chris Masters <neeeeeep@bigpond.com>
140 fixes bug #51510. ftp uses port 21, https uses 443 and
141 parse the host name properly for UNC path.
143 2003-10-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
145 * Uri.cs: fixed a problem with some URIs like file://some_file.txt
146 It used to return "/some_file.txt/" instead of "some_file.txt" in
147 LocalPath. Fix handling of full path files and SMB addresses.
149 2003-08-12 Duncan Mak <duncan@ximian.com>
151 * Uri.cs (constructor): Properly implement RFC 2396, Par. 5.2,
154 In other words, any characters after the last (right-most)
155 slash character, if any, are excluded.
157 Previously, when merging "a://foo.com/foo" with "bar", we yield
158 the result "a://foo.com/foobar", instead of the correct
161 This fixes bug #45614.
163 2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
165 * SRDescriptionAttribute.cs: Moved from System.Diagnostics directory
167 2003-07-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
169 * Uri.cs: Added MonoTODO'd members, implemented member, fixed signature
171 2003-05-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
173 * TempFileCollection.cs: fixed the build under windows.
175 2003-05-07 Ben Maurer <bmaurer@users.sourceforge.net>
176 * Uri.cs: Checked in code to fix bug #41998. Some
177 code from Ian MacLean.
179 2003-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
181 * Uri.cs: reworked Segment. Small fix in MakeRelative. Throw exception
182 in Parse when host length is 0 and the Uri is not a file.
184 2003-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
187 (CheckSchemeName): fixed bug #28549. Thanks to Eric Runquist.
189 2003-02-01 Miguel de Icaza <miguel@ximian.com>
191 * Uri.cs (LocalPath): Local path should return un-escaped
192 strings. Patch from tum@veridicus.com (Thong (Tum) Nguyen)
194 2002-09-16 Duncan Mak <duncan@ximian.com>
196 * Uri.cs (GetObjectData):
197 (Uri): The key should be "AbsoluteUri", not "Uri".
199 2002-09-16 Miguel de Icaza <miguel@ximian.com>
201 * Uri.cs: Implemented a few of the protected methods.
203 Mon Jun 17 15:05:05 CEST 2002 Paolo Molaro <lupus@ximian.com>
205 * Uri.cs: workaround for mcs bug.
207 2002-05-28 Lawrence Pit <loz@cable.a2000.nl>
209 * Uri.cs: Implemented ctor UriTest (baseUri, relativeUri)
210 * Uri.cs: Fixed bug in internal method GetSchemeDelimiter
212 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
214 * Uri.cs: implemented MakeRelative, improved GetLeftPart
215 * UriBuilder.cs: removed Serializable attribute
216 * UriHostNameType.cs: added Basic
218 2002-05-12 Lawrence Pit <loz@cable.a2000.nl>
220 * Uri.LocalPath and Uri.AbsoluteUri modified to support both w32
223 2002-05-09 Lawrence Pit <loz@cable.a2000.nl>
225 * Uri.GetLeftPart fixed for mailto and news schemes.
227 2002-05-05 Lawrence Pit <loz@cable.a2000.nl>
229 * UriBuilder.cs: Implemented.
231 * Uri.cs: Complete new reimplementation.
233 2002-02-08 Duncan Mak <duncan@ximian.com>
235 * UriFormatException.cs: Removed TODO attribute, the docs are
236 probably wrong here. In any case, this code compiles and should work.
238 2002-01-31 Duncan Mak <duncan@ximian.com>
240 * UriFormatException.cs: Added bits for serialization.
242 2002-01-05 Ravi Pratap <ravi@ximian.com>
244 * ChangeLog : Add to this directory.
246 * Uri.cs, UriFormatException.cs : Decorate bits with MonoTODO attribute.