1 2006-09-28 Andrew Skiba <andrews@mainsoft.com>
3 * UriParser.cs: TARGET_JVM
4 * UriFormatException.cs: MonoTODO
6 2006-08-01 Atsushi Enomoto <atsushi@ximian.com>
8 * Uri.cs : don't compare UserInfo in Equals() and op_Equality().
9 Fixed a bug commented in #78799.
11 2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
13 * Uri.cs: update Obsolete msg.
15 2006-06-05 Atsushi Enomoto <atsushi@ximian.com>
17 * Uri.cs : revert the previous change as it caused UriTest.
18 Constructors(#rel2a). ToString() for SourceString should be
19 enough for lame users.
21 2006-05-13 Atsushi Enomoto <atsushi@ximian.com>
23 * Uri.cs : sometimes OriginalString was null. Fixed bug #78374.
24 Actually this property is LAMESPEC. Never use it.
26 2006-04-28 Atsushi Enomoto <atsushi@ximian.com>
28 * Uri.cs : Patch by pawel.sakowski@mind-breeze.com (bug #77382).
29 Reduce object allocation and avoid culture-sensitive comparison.
31 2006-03-11 Miguel de Icaza <miguel@novell.com>
33 * Uri.cs: Pragma disable warning 612 (Obsolete methods are being
34 used by us internally).
36 Ponder: should we instead move our methods to use new versions of
39 2006-02-21 Atsushi Enomoto <atsushi@ximian.com>
41 * Uri.cs : seems like Uri opreator == and != are case sensitive.
43 2006-02-19 Raja R Harinath <harinath@gmail.com>
45 * Uri.cs (InternalEquals): New helper.
46 (Equals, operator ==): Use it.
47 (operator !=): Likewise. Fix to actually compare operands.
49 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
51 * Uri.cs : implemented op_Equality and op_Inequality.
53 2006-02-14 Ankit Jain <jankit@novell.com>
55 * Uri.cs (Uri.EnsureAbsoluteUri): New. Throws exception if its not an
57 (Uri.Parse): Set isAbsoluteUri to false, if the address is not absolute.
58 All properties other than OriginalString, IsAbsoluteUri & UserEscaped
59 throw exception for relative address.
61 2005-11-25 Sebastien Pouliot <sebastien@ximian.com>
63 * DefaultUriParser.cs: Added an internal default parser because (a)
64 UriParser is abstract and (b) MS doesn't always use the new parser
66 * Uri.cs: Implemented Compare method. Added some FIXME.
67 * UriParser.cs: Implemented GetComponents and IsBaseOf methods.
68 Changed parsers to point to the new DefaultUriParser.
70 2005-11-15 Sebastien Pouliot <sebastien@ximian.com>
72 * Uri.cs: Temporary fix for monodoc (which current Uri system won't
75 2005-11-15 Sebastien Pouliot <sebastien@ximian.com>
77 * FileStyleUriParser.cs: New. 2.0 Uri parser class.
78 * FtpStyleUriParser.cs: New. 2.0 Uri parser class.
79 * GenericUriParser.cs: New. 2.0 Uri parser class.
80 * GopherStyleUriParser.cs: New. 2.0 Uri parser class.
81 * HttpStyleUriParser.cs: New. 2.0 Uri parser class.
82 * LdapStyleUriParser.cs: New. 2.0 Uri parser class.
83 * NetPipeStyleUriParser.cs: New. 2.0 Uri parser class.
84 * NetTcpStyleUriParser.cs: New. 2.0 Uri parser class.
85 * NewsStyleUriParser.cs: New. 2.0 Uri parser class.
86 * Uri.cs: Lots of small fixes for both 1.x and 2.0. Some *big* bugs
87 in 1.x (fixed in 2.0) aren't fixed for Mono (and probably never will).
88 This class still needs to be refactored to be usable with the new
90 * UriParser.cs: New. 2.0 Uri parser base class.
92 2005-11-14 Atsushi Enomoto <atsushi@ximian.com>
94 * Uri.cs : Unescape(string,bool) should also handle % and ?.
95 In ToString(), unescape query part as well. Fixed bug #76643.
97 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
99 * UriBuilder.cs : ToString() should not add duplicate '/' before path.
100 Fixed bug #76501. Patch by Hubert Fongarnand + modified a bit.
102 2005-10-18 Sebastien Pouliot <sebastien@ximian.com>
104 * UriTypeConverter.cs: New. Implemented (2.0).
106 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
108 * GenericUriParserOptions.cs: New. 2.0 enum.
109 * UriBuilder.cs: Port == -1 is valid (default) in 2.0. Default name
110 is "localhhost" (not loopback) in 2.0. Fixed case where the Password
111 property could be null (instead of String.Empty).
112 * UriComponents.cs: New. 2.0 enum.
113 * UriFormat.cs: New. 2.0 enum.
114 * UriFormatException.cs: Added comments about GetObjectData.
115 * UriKind.cs: New. 2.0 enum.
116 * UriPartial.cs: Added Query value for 2.0.
118 2005-08-16 Daniel Drake <dsd@gentoo.org>
120 * Uri.cs: Various parsing fixes from bug #75144.
122 2005-07-09 Gert Driesen <drieseng@users.sourceforge.net>
124 * Uri.cs: Modified fix for bug #71053 to match both MS.NET 1.x and
125 2.0 behaviour. Parse method is no longer used on MS.NET 2.0, marked
128 2005-07-09 Gert Driesen <drieseng@users.sourceforge.net>
130 * Uri.cs: in .NET 2.0, port number should be valid UInt16 instead of
131 UInt32. If outcome of parsing is -1, do not consider this to be the
134 2005-07-08 Daniel Drake <dsd@gentoo.org>
136 * Uri.cs: Allow descent multiple times below root. Fixes bug #71053.
138 2005-07-02 Daniel Drake <dsd@gentoo.org>
140 * Uri.cs: HexUnescape() should only work on single-byte escape
141 sequences, ala HexEscape(). However, we still want to handle multi-byte
142 sequences internally, so introduce a more correct implementation of
143 multi-byte unescaping, HexUnescapeMultiByte(). Fixes bug #74872.
145 2005-06-11 Gert Driesen <drieseng@users.sourceforge.net>
147 * Uri.cs: Domain address might have trailing period to indicate
148 that the domain name is fully qualified. Fixes bug #75230.
150 2005-06-02 Gert Driesen <drieseng@users.sourceforge.net>
152 * Uri.cs: throw UriFormatException if URI starts with colon.
155 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
158 (EscapeString): no need to turn the string into a char[] when calling
161 2005-03-20 Joshua Tauberer <tauberer@for.net>
163 * Uri.cs: Some pedantic changes to the text of a few exceptions.
165 2005-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
167 * Uri.cs: when unescaping in stages, handle the case when the next
168 substring is not a escaped sequence or the string ends. Fixes bug
171 2005-01-20 Miguel de Icaza <miguel@ximian.com>
173 * Uri.cs: Set the UriSchemNews port default to 119 as well.
176 When dealing with fragments use the `dontEscape' flag passed to
177 the Uri constructor to decide whether the fragment must or must
178 not be escaped, fixes 71051.
180 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
182 * Uri.cs : Such ctor arg string that starts with "//" should be
183 regarded as a local file path that will be condensed to single "/",
184 so handle such path differently under Windows and under *nix.
185 Since '\\' is a valid path character on Unix, so we should not
186 replace it with '/' in LocalPath.
188 2004-06-17 Jackson Harper <jackson@ximian.com>
190 * Uri.cs: Use invariant culture.
192 2004-06-16 Atsushi Enomoto <atsushi@ximian.com>
194 * Uri.cs : Fixed LocalPath. In that condition, path is always UNC.
196 2004-06-16 Atsushi Enomoto <atsushi@ximian.com>
198 * Uri.cs : Reimplemented HexUnescape() (It was too broken to handle
199 multi-byte utf-8 characters.)
201 2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
204 - We don't have to mind '\\'.
205 - Fixed bug #58301. When path starts with "///" and not more than
206 "////" and not "///*:", handle it as unix path and set Host as
207 empty string. In absolute path case, port should not be parsed
208 and LocalPath should start with '/'.
209 - Handle fragment in prior to path.
211 2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
213 * Uri.cs : Handle Windows UNC. Now we could simplify Parse(). Don't
214 escape windows path twice. Check scheme name as defined in RFC2396.
216 2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
218 * Uri.cs : Reverted some changes. '#' should be handled when the input
219 string is NOT raw file path. So handle raw file paths differently.
220 (right now except for Windows UNC).
221 Cache LocalPath and don't compute every time.
223 2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
225 * Uri.cs : Don't escape '#' in file URI paths. This fixes bug #47691.
226 Some code simplification.
228 2004-06-09 Atsushi Enomoto <atsushi@ximian.com>
231 - Now Parse() is properly implemented. If overriden, the overriding
232 Parse() is used _instead of_ this class's parsing logic.
233 - AbsoluteUri does not escape URI string at all.
234 - ToString() should unescape Query. But should not unescape fragment.
235 And all all parts should be unescaped individually to keep ? and #.
236 - In relative .ctor(), handle Windows UNC as an absolute file URI.
237 - In some cases, hosts and paths were not properly escaped in
239 - Removed unused isWindowsPath.
241 * UriBuilder.cs : Fragment and Query aren't escaped when they are set.
243 2004-05-12 Dick Porter <dick@ximian.com>
245 * Uri.cs: Reduce(string) is not in the public API.
247 2004-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
249 * UriBuilder.cs: ignore empty Query. Fixes bug #57082.
251 2004-03-21 Jackson Harper <jackson@ximian.com>
253 * Uri.cs: Equals should be case insensitive for all parts except
256 2004-02-11 Jackson Harper <jackson@ximian.com>
258 * Uri.cs: If we are sure we have a windows path use \ instead of
259 / for directory separating.
261 2004-02-11 Jackson Harper <jackson@ximian.com>
263 * Uri.cs: If the relative uri passed to Uri (base_uri,
264 relative_uri) is an absolute uri do not combine the uris. The base
267 2004-02-10 Jackson Harper <jackson@ximian.com>
269 * Uri.cs: Preserve the trailing / if there is one when reducing
272 2004-02-08 Jackson Harper <jackson@ximian.com>
274 * Uri.cs: IsLoopback has different behavoir then
275 IPAddress::IsLoopback. It will only return true for ipv4 addresses
276 if they are 127.0.0.1, localhost, or loopback.
278 2004-02-06 Jackson Harper <jackson@ximian.com>
280 * Uri.cs: Do not escape querys or fragements. Only reduce certain
283 2004-02-06 Jackson Harper <jackson@ximian.com>
285 * Uri.cs: Use UTF8 characters when escaping. Reduce paths. This
286 method is taken from System.Web.Utils.UrlUtils.
287 * UriBuilder.cs: Do not escape fragments or queries, but do a utf8
288 switch on them. Do not prepend a "/" to Paths. Do not use
289 IPEndPoint to determine if a port is valid, UriBuilder allows
290 ports to be any positive integer, IPEndPoint does not. Use the
291 ToString () method for generate a uri in get_Uri. Only set the
292 port in ToString () if it is greater then 0.
294 2004-02-05 Jackson Harper <jackson@ximian.com>
296 * UriBuilder.cs: Do not call Uri::ToString for uri builders
297 ToString. UriBuilder's ToString is a little more primitive.
299 2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
301 * Uri.cs : should not escape already-escaped string (Patch by
302 Boris Kirzner). File LocalPath should unespace return value.
303 ToString() should be unescaped only when it is not an UNC path.
304 (UNC looks not to be unescaped).
306 2004-01-06 Atsushi Enomoto <atsushi@ximian.com>
308 * Uri.cs : quick fix on local file relative uri.
310 2004-01-06 Atsushi Enomoto <atsushi@ximian.com>
312 * Uri.cs : Fixed Parse(). Should not allow relative URIs.
314 2004-01-05 Atsushi Enomoto <atsushi@ximian.com>
316 * Uri.cs : fixed IsBadFileSystemCharacter() to reject more characters
317 based on MS.NET experiment.
319 2003-12-08 Atsushi Enomoto <atsushi@ximian.com>
321 * Uri.cs : more fixes. More presice UNC handling, opaque part
322 handling for non-standard uri (e.g. urn:go-mono.com), ToString()
323 fix (that returns AbsoluteUri, which is not escaped any more),
326 2003-12-08 Atsushi Enomoto <atsushi@ximian.com>
328 * Uri.cs : Several fixes, including Unc problem, Host and LocalPath
329 fixes, null reference check for .ctor(Uri, string). This fixes
332 2003-12-04 John Luke <jluke@cfl.rr.com>
334 * Uri.cs: applied patch from Chris Masters <neeeeeep@bigpond.com>
335 fixes bug #51510. ftp uses port 21, https uses 443 and
336 parse the host name properly for UNC path.
338 2003-10-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
340 * Uri.cs: fixed a problem with some URIs like file://some_file.txt
341 It used to return "/some_file.txt/" instead of "some_file.txt" in
342 LocalPath. Fix handling of full path files and SMB addresses.
344 2003-08-12 Duncan Mak <duncan@ximian.com>
346 * Uri.cs (constructor): Properly implement RFC 2396, Par. 5.2,
349 In other words, any characters after the last (right-most)
350 slash character, if any, are excluded.
352 Previously, when merging "a://foo.com/foo" with "bar", we yield
353 the result "a://foo.com/foobar", instead of the correct
356 This fixes bug #45614.
358 2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
360 * SRDescriptionAttribute.cs: Moved from System.Diagnostics directory
362 2003-07-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
364 * Uri.cs: Added MonoTODO'd members, implemented member, fixed signature
366 2003-05-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
368 * TempFileCollection.cs: fixed the build under windows.
370 2003-05-07 Ben Maurer <bmaurer@users.sourceforge.net>
371 * Uri.cs: Checked in code to fix bug #41998. Some
372 code from Ian MacLean.
374 2003-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
376 * Uri.cs: reworked Segment. Small fix in MakeRelative. Throw exception
377 in Parse when host length is 0 and the Uri is not a file.
379 2003-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
382 (CheckSchemeName): fixed bug #28549. Thanks to Eric Runquist.
384 2003-02-01 Miguel de Icaza <miguel@ximian.com>
386 * Uri.cs (LocalPath): Local path should return un-escaped
387 strings. Patch from tum@veridicus.com (Thong (Tum) Nguyen)
389 2002-09-16 Duncan Mak <duncan@ximian.com>
391 * Uri.cs (GetObjectData):
392 (Uri): The key should be "AbsoluteUri", not "Uri".
394 2002-09-16 Miguel de Icaza <miguel@ximian.com>
396 * Uri.cs: Implemented a few of the protected methods.
398 Mon Jun 17 15:05:05 CEST 2002 Paolo Molaro <lupus@ximian.com>
400 * Uri.cs: workaround for mcs bug.
402 2002-05-28 Lawrence Pit <loz@cable.a2000.nl>
404 * Uri.cs: Implemented ctor UriTest (baseUri, relativeUri)
405 * Uri.cs: Fixed bug in internal method GetSchemeDelimiter
407 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
409 * Uri.cs: implemented MakeRelative, improved GetLeftPart
410 * UriBuilder.cs: removed Serializable attribute
411 * UriHostNameType.cs: added Basic
413 2002-05-12 Lawrence Pit <loz@cable.a2000.nl>
415 * Uri.LocalPath and Uri.AbsoluteUri modified to support both w32
418 2002-05-09 Lawrence Pit <loz@cable.a2000.nl>
420 * Uri.GetLeftPart fixed for mailto and news schemes.
422 2002-05-05 Lawrence Pit <loz@cable.a2000.nl>
424 * UriBuilder.cs: Implemented.
426 * Uri.cs: Complete new reimplementation.
428 2002-02-08 Duncan Mak <duncan@ximian.com>
430 * UriFormatException.cs: Removed TODO attribute, the docs are
431 probably wrong here. In any case, this code compiles and should work.
433 2002-01-31 Duncan Mak <duncan@ximian.com>
435 * UriFormatException.cs: Added bits for serialization.
437 2002-01-05 Ravi Pratap <ravi@ximian.com>
439 * ChangeLog : Add to this directory.
441 * Uri.cs, UriFormatException.cs : Decorate bits with MonoTODO attribute.