1 2010-06-28 Alan McGovern <amcgovern@novell.com>
3 * UriTypeConverter.cs: Fix some regressed tests and add a new test
4 for when ConvertFrom is called with String.Empty.
6 2010-06-28 Alan McGovern <amcgovern@novell.com>
8 * UriTypeConverter.cs: Converting String.Empty should return null
9 instead of a Uri instance. Null values and unconvertable values
10 need to throw NotSupportedExceptions for moonlight too.
12 2010-06-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
14 * Uri.cs: change of behavior un 4.0.
17 2010-06-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
19 * Uri.cs: fix serialization for relative URIs. Patch from Greg
20 Smolyn. Fixes bug #615320.
22 2010-05-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
24 * Uri.cs: Leave consecutive slashes in 'path' alone.
25 Fix for bug #606142. Backport once tested.
27 2010-05-24 Atsushi Enomoto <atsushi@ximian.com>
29 * Uri.cs : do not reject relative URIs that contain ':' and
30 any non-scheme characters preceding it.
32 2010-04-17 Raja R Harinath <harinath@hurrynot.org>
34 Keep "ftp://a.b/%2fcd" urls unmolested
35 * Uri.cs (CompactEscaped): New. Check if scheme allows escaped
36 path characters are compacted (list of schemes obtained from MSDN).
37 (Reduce): Add argument that is set if escaped characters need to
40 2010-03-20 Miguel de Icaza <miguel@novell.com>
42 * Uri.cs: Drop pre-2.0 support
44 2010-03-19 Sebastien Pouliot <sebastien@ximian.com>
46 * Uri.cs: Remove some MOONLIGHT defines
48 2010-03-16 Jb Evain <jbevain@novell.com>
50 * Uri.cs, UriTypeConverter.cs: use MOONLIGHT symbol to
51 disambiguate MonoTouch and Moonlight code.
53 2010-01-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
55 * Uri.cs: In IsWellFormedOriginalString(), call to our internal
56 EscapeString() method since we need to tell it to *not* escape '#'
59 2009-11-30 Sebastien Pouliot <sebastien@ximian.com>
61 * Uri.cs: Hide protected EscapeString and Unescape for SL2/3
62 * UriTypeConverter.cs: Seal type for SL2/3
64 2009-11-26 Stephane Delcroix <stephane@delcroix.org>
66 * Uri.cs (ParseNoExceptions): don't try to find a scheme if the uri is a
67 UnixFileName or WindowsUNC.
69 2009-11-02 Miguel de Icaza <miguel@novell.com>
71 * UriFormatException.cs: .NET 4.0 API
73 2009-10-15 Atsushi Enomoto <atsushi@ximian.com>
75 * Uri.cs : do not reject relative short name URI when uriKind is
78 2009-09-01 Raja R Harinath <harinath@hurrynot.org>
81 * Uri.cs (ParseNoExceptions): Don't look for '@' in absolute unix paths.
83 2009-05-16 Sebastien Pouliot <sebastien@ximian.com>
85 * Uri.cs (NET_2_1): Remove some extra code for NET_2_1
87 2009-04-23 Sebastien Pouliot <sebastien@ximian.com>
89 * UriParser.cs: Don't use compiled regex on NET_2_1 (feature is
92 2009-04-21 Sebastien Pouliot <sebastien@ximian.com>
94 * DefaultUriParser.cs: Add special case for schema
95 * Uri.cs: Make sure we can use a default parser if none was
96 registred for the URI schema.
97 * UriParser.cs: Handle "*" as a special schema for "anything"
100 2009-04-21 Sebastien Pouliot <sebastien@ximian.com>
102 * Uri.cs: Fix some issues found with Moonlight (see new unit
105 2009-04-14 Sebastien Pouliot <sebastien@ximian.com>
107 * Uri.cs: Fix processing of %2f and %5c in paths. Avoid a few
108 computation where the result is not used (overwritten)
110 2009-03-16 Raja R Harinath <harinath@hurrynot.org>
112 Reduce dependence of UriParser on Uri
113 * UriParser.cs (GetComponents): Don't refer to fields of Uri to
114 extract components. Use a pair of regexes instead on
116 * Uri.cs (OriginalString): Make available as an internal property
117 in the NET_1_1 profile.
119 2009-03-10 Jackson Harper <jackson@ximian.com>
121 * Uri.cs: 2.1 Uris do get a UriTypeConverter.
123 2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
125 * Uri.cs : file URI for Windows path should also try '\' instead of
126 '/' as a host/path separator.
128 2009-02-09 Raja R Harinath <harinath@hurrynot.org>
130 * IUriData.cs, UriData.cs: New. Initial cut at UriParser protocol.
132 Make UriParser available in the NET_1_1 build
133 * UriParser.cs: Make visible as internal class in the NET_1_1 build.
134 * UriComponents.cs, UriFormats.cs, DefaultUriParser.cs: Likewise.
135 * GenericUriParser.cs, GenericUriParserOptions.cs: Likewise.
137 2009-02-08 Gert Driesen <drieseng@users.sourceforge.net>
139 * Uri.cs: Moved UriKind check from TryCreate to exception-less .ctor,
140 and check accessibility of this .ctor from internal to private.
142 2009-01-28 Bill Holmes <billholmes54@gmail.com>
144 * Uri.cs (IsWellFormedUriString): Changing IsWellFormedUriString
145 to not throw an exception but return false instead.
147 Contributed under MIT/X11 license.
149 2009-15-01 Leeszek Ciesielski <skolima@gmail.com>
151 * Uri.cs: Use registered UriParser when a custom schema is passed
152 Fixes 464235, but is a bit of a hack
154 2009-01-13 Stephane Delcroix <sdelcroix@novell.com>
156 * Uri.cs: Fix the previous patch for 1.0 profile
158 2009-01-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
160 * Uri.cs: avoid throwing exceptions when checking for the host name
163 2009-01-07 Sebastien Pouliot <sebastien@ximian.com>
165 * UriTypeConverter.cs: Customize for NET_2_1 since this type is
166 not part of System.Windows.dll anymore
168 2008-12-20 Miguel de Icaza <miguel@novell.com>
170 * GenericUriParserOptions.cs: Idn and IriParsing are now part of
173 2008-09-16 Miguel de Icaza <miguel@novell.com>
175 * Uri.cs (TryCreate): Implement one of the TryCreate methods
176 without throwing exceptions. Still two more to go, the hardest
179 Part of a fix for #424192.
181 2008-09-08 Miguel de Icaza <miguel@novell.com>
183 * Uri.cs (MaybeUri): A helper routine for methods in other classes
184 to quickly determine if something might be a Uri, before calling
185 the more expensive Uri.TryCreate (see bug 424192).
187 2008-08-08 Sebastien Pouliot <sebastien@ximian.com>
189 * UriTypeConverter.cs: Fix cp typo found when cp (of course ;-)
190 code into Silverlight's System.Windows.dll
192 2008-08-07 Sebastien Pouliot <sebastien@ximian.com>
194 * GenericUriParserOptions.cs: Add new values for SL2 (NET_2_1)
195 * UriFormatException.cs: Add ctor(string,Exception) for SL2 (NET_2_1)
196 * UriIdnScope.cs: Fix values
198 2008-08-06 Miguel de Icaza <miguel@novell.com>
200 * Uri.cs: Use exception-less operations.
202 2008-07-31 Jb Evain <jbevain@novell.com>
204 * Uri.cs: cleanup for NET_2_1.
206 2008-05-29 Marek Habersack <mhabersack@novell.com>
208 * UriParser.cs: use the lock in CreateDefaults in the way that it
209 needs to acquired only once.
211 2008-03-10 Stephane Delcroix <sdelcroix@novell.com>
213 * Uri.cs: Fix escaping on utf8 strings. bug 363320.
215 2008-02-15 Atsushi Enomoto <atsushi@ximian.com>
217 * Uri.cs : UriParser field blocks serialization.
219 2008-01-23 Robert Jordan <robertj@gmx.net>
221 * Uri.cs (Parse): Handle uriString.Length == 1 as a valid relative URI.
224 2007-12-04 Arina Itkes <arinai@mainsoft.com>
226 * Uri.cs: Unix absolute path should not be valid on Windows.
228 2007-11-13 Zoltan Varga <vargaz@gmail.com>
230 * UriIdnScope.cs: Compile this in the 2.0 profile as well as this is a NET 3.5 type.
232 2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
234 * Uri.cs: Revert monodoc hack from r53093 since bug #319550 (old
235 #76725) has been fixed (around 2006-05-21).
237 2007-11-06 Gert Driesen <drieseng@users.sourceforge.net>
239 * UriBuilder.cs: Fixed regression introduced by patch for bug
240 #323247: always initialize UriBuilder.Query to zero-length string.
241 On 2.0 profile, do not initialize query to zero-length string when
242 Fragment is set. Remove extra tabs.
244 2007-11-04 Jensen Somers <jensen.somers@gmail.com>
246 * UriBuilder.cs (ToString): Added Fragment property to the
249 (Fragment, Query): Properties are no longer set to an empty
250 string from version 2.0 and up.
252 2007-11-02 Miguel de Icaza <miguel@novell.com>
254 * Uri.cs (AppendQueryAndFragment): Unescape the query with
255 excludeSpecial = false. See bug #320614.
257 Unlike the patch on that bug, this only unescapes the query and
258 not the Path. This keeps our existing tests working.
260 2007-09-29 Miguel de Icaza <miguel@novell.com>
262 * Uri.cs (ToString, MakeRelativeUri): refactor some code in
263 ToString to be reusable (to append the query string and the
264 fragment) by MakeRelativeUrl.
266 This fixes the MakeRelativeUrl stuff, but the tests can not be
267 used just yet because we fail with stuff like:
269 new Uri ("", UriKind.Relative)
271 (Parse): when parsing absolute filenames, check if the
272 UriKind is Relative, and if so, make the isAbsoluteUri false, to
273 ensure that the upper layers do not abort with relative Uris that
274 happen to be "/foo" for example.
276 Take an UriKind property to allow for proper checking and parsing
277 depending on the context requested by the caller.
279 Allows empty strings to be relative Uris as well.
281 Do checking when we have schema:// that the parsing is not for a
282 UriKind.Relative, otherwise throw an exception.
284 (Authority, HostNameType, IsDefaultPort, IsFile, IsLoopback,
285 PathAndQuery, DnsSafeHost): They all require absolute uris.
287 * UriKind.cs: make internal for 1.0
289 2007-09-05 Marek Habersack <mhabersack@novell.com>
291 * UriTypeConverter.cs: conversion from string should be possible
292 for both relative and absolute URIs.
293 Conversion to a string or an InstanceDescriptor must not assume
294 that the uri is absolute.
295 ConvertTo must pass the uri kind to the constructor used in
298 2007-08-01 Atsushi Enomoto <atsushi@ximian.com>
300 * Uri.cs, UriParser.cs : implemented InitializeAndValidate() and
301 IsWellFormedOriginalString().
302 IsWellFormedUriString() is already implemented.
304 2007-07-06 Alan McGovern <amcgovern@novell.com>
306 * Uri.cs : The URI string should be whitespace trimmed before
307 parsing. The original string is untouched. Fixes #81960.
309 2007-07-06 Atsushi Enomoto <atsushi@ximian.com>
311 * UriIdnScope.cs : new file (for net_2_1 profile).
313 2007-06-30 Miguel de Icaza <miguel@novell.com>
315 * Uri.cs (GetLeftPart): If the URI is relative this method throws
316 InvalidOperationException.
318 (ToString): do not use GetLeftPart here, instead escape the path.
320 (Parse): For relative uris, keep the string as the path.
322 2007-06-30 Gert Driesen <drieseng@users.sourceforge.net>
324 * Uri.cs: Canonicalize is only obsolete from 2.0 onward. Fixed line
327 2007-04-18 Igor Zelmanovich <igorz@mainsoft.com>
329 * Uri.cs: added MonoNotSupported attributes.
331 2007-04-16 Atsushi Enomoto <atsushi@ximian.com>
333 * Uri.cs : in Uri(baseUri,relativeUri,noEscape), relativeUri could
334 contain a URI scheme. In such cases the relativeUri could be still
335 relative (i.e. not always equivalent to absolute). Fixed bug #81382.
337 2007-03-05 Peter Dettman <peter.dettman@iinet.net.au>
339 * Uri.cs: This patch straightens out Equals/GetHashCode for the
342 - GetHashCode gives sensible values for relative Uri's.
343 - Uri's that compare equal will give same hashcode.
344 - operator == now uses Equals.
346 All existing tests still pass, and I have added some extra test
347 cases specifically for Equals/GetHashCode on relative Uri's
350 2007-01-22 Miguel de Icaza <miguel@novell.com>
352 * Uri.cs (MakeRelativeUri): implement, copy most of the code from
355 (EscapeUriString, EscapeDataString): Implement stuff
356 needed by apps in Moma.
358 2006-12-07 Vladimir Krasnov <vladimirk@mainsoft.com>
360 * Uri.cs: implemented UnescapeDataString method
362 2006-09-28 Andrew Skiba <andrews@mainsoft.com>
364 * UriParser.cs: TARGET_JVM
365 * UriFormatException.cs: MonoTODO
367 2006-08-01 Atsushi Enomoto <atsushi@ximian.com>
369 * Uri.cs : don't compare UserInfo in Equals() and op_Equality().
370 Fixed a bug commented in #78799.
372 2006-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
374 * Uri.cs: update Obsolete msg.
376 2006-06-05 Atsushi Enomoto <atsushi@ximian.com>
378 * Uri.cs : revert the previous change as it caused UriTest.
379 Constructors(#rel2a). ToString() for SourceString should be
380 enough for lame users.
382 2006-05-13 Atsushi Enomoto <atsushi@ximian.com>
384 * Uri.cs : sometimes OriginalString was null. Fixed bug #78374.
385 Actually this property is LAMESPEC. Never use it.
387 2006-04-28 Atsushi Enomoto <atsushi@ximian.com>
389 * Uri.cs : Patch by pawel.sakowski@mind-breeze.com (bug #77382).
390 Reduce object allocation and avoid culture-sensitive comparison.
392 2006-03-11 Miguel de Icaza <miguel@novell.com>
394 * Uri.cs: Pragma disable warning 612 (Obsolete methods are being
395 used by us internally).
397 Ponder: should we instead move our methods to use new versions of
400 2006-02-21 Atsushi Enomoto <atsushi@ximian.com>
402 * Uri.cs : seems like Uri opreator == and != are case sensitive.
404 2006-02-19 Raja R Harinath <harinath@gmail.com>
406 * Uri.cs (InternalEquals): New helper.
407 (Equals, operator ==): Use it.
408 (operator !=): Likewise. Fix to actually compare operands.
410 2006-02-14 Atsushi Enomoto <atsushi@ximian.com>
412 * Uri.cs : implemented op_Equality and op_Inequality.
414 2006-02-14 Ankit Jain <jankit@novell.com>
416 * Uri.cs (Uri.EnsureAbsoluteUri): New. Throws exception if its not an
418 (Uri.Parse): Set isAbsoluteUri to false, if the address is not absolute.
419 All properties other than OriginalString, IsAbsoluteUri & UserEscaped
420 throw exception for relative address.
422 2005-11-25 Sebastien Pouliot <sebastien@ximian.com>
424 * DefaultUriParser.cs: Added an internal default parser because (a)
425 UriParser is abstract and (b) MS doesn't always use the new parser
427 * Uri.cs: Implemented Compare method. Added some FIXME.
428 * UriParser.cs: Implemented GetComponents and IsBaseOf methods.
429 Changed parsers to point to the new DefaultUriParser.
431 2005-11-15 Sebastien Pouliot <sebastien@ximian.com>
433 * Uri.cs: Temporary fix for monodoc (which current Uri system won't
436 2005-11-15 Sebastien Pouliot <sebastien@ximian.com>
438 * FileStyleUriParser.cs: New. 2.0 Uri parser class.
439 * FtpStyleUriParser.cs: New. 2.0 Uri parser class.
440 * GenericUriParser.cs: New. 2.0 Uri parser class.
441 * GopherStyleUriParser.cs: New. 2.0 Uri parser class.
442 * HttpStyleUriParser.cs: New. 2.0 Uri parser class.
443 * LdapStyleUriParser.cs: New. 2.0 Uri parser class.
444 * NetPipeStyleUriParser.cs: New. 2.0 Uri parser class.
445 * NetTcpStyleUriParser.cs: New. 2.0 Uri parser class.
446 * NewsStyleUriParser.cs: New. 2.0 Uri parser class.
447 * Uri.cs: Lots of small fixes for both 1.x and 2.0. Some *big* bugs
448 in 1.x (fixed in 2.0) aren't fixed for Mono (and probably never will).
449 This class still needs to be refactored to be usable with the new
451 * UriParser.cs: New. 2.0 Uri parser base class.
453 2005-11-14 Atsushi Enomoto <atsushi@ximian.com>
455 * Uri.cs : Unescape(string,bool) should also handle % and ?.
456 In ToString(), unescape query part as well. Fixed bug #76643.
458 2005-10-21 Atsushi Enomoto <atsushi@ximian.com>
460 * UriBuilder.cs : ToString() should not add duplicate '/' before path.
461 Fixed bug #76501. Patch by Hubert Fongarnand + modified a bit.
463 2005-10-18 Sebastien Pouliot <sebastien@ximian.com>
465 * UriTypeConverter.cs: New. Implemented (2.0).
467 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
469 * GenericUriParserOptions.cs: New. 2.0 enum.
470 * UriBuilder.cs: Port == -1 is valid (default) in 2.0. Default name
471 is "localhhost" (not loopback) in 2.0. Fixed case where the Password
472 property could be null (instead of String.Empty).
473 * UriComponents.cs: New. 2.0 enum.
474 * UriFormat.cs: New. 2.0 enum.
475 * UriFormatException.cs: Added comments about GetObjectData.
476 * UriKind.cs: New. 2.0 enum.
477 * UriPartial.cs: Added Query value for 2.0.
479 2005-08-16 Daniel Drake <dsd@gentoo.org>
481 * Uri.cs: Various parsing fixes from bug #75144.
483 2005-07-09 Gert Driesen <drieseng@users.sourceforge.net>
485 * Uri.cs: Modified fix for bug #71053 to match both MS.NET 1.x and
486 2.0 behaviour. Parse method is no longer used on MS.NET 2.0, marked
489 2005-07-09 Gert Driesen <drieseng@users.sourceforge.net>
491 * Uri.cs: in .NET 2.0, port number should be valid UInt16 instead of
492 UInt32. If outcome of parsing is -1, do not consider this to be the
495 2005-07-08 Daniel Drake <dsd@gentoo.org>
497 * Uri.cs: Allow descent multiple times below root. Fixes bug #71053.
499 2005-07-02 Daniel Drake <dsd@gentoo.org>
501 * Uri.cs: HexUnescape() should only work on single-byte escape
502 sequences, ala HexEscape(). However, we still want to handle multi-byte
503 sequences internally, so introduce a more correct implementation of
504 multi-byte unescaping, HexUnescapeMultiByte(). Fixes bug #74872.
506 2005-06-11 Gert Driesen <drieseng@users.sourceforge.net>
508 * Uri.cs: Domain address might have trailing period to indicate
509 that the domain name is fully qualified. Fixes bug #75230.
511 2005-06-02 Gert Driesen <drieseng@users.sourceforge.net>
513 * Uri.cs: throw UriFormatException if URI starts with colon.
516 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
519 (EscapeString): no need to turn the string into a char[] when calling
522 2005-03-20 Joshua Tauberer <tauberer@for.net>
524 * Uri.cs: Some pedantic changes to the text of a few exceptions.
526 2005-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
528 * Uri.cs: when unescaping in stages, handle the case when the next
529 substring is not a escaped sequence or the string ends. Fixes bug
532 2005-01-20 Miguel de Icaza <miguel@ximian.com>
534 * Uri.cs: Set the UriSchemNews port default to 119 as well.
537 When dealing with fragments use the `dontEscape' flag passed to
538 the Uri constructor to decide whether the fragment must or must
539 not be escaped, fixes 71051.
541 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
543 * Uri.cs : Such ctor arg string that starts with "//" should be
544 regarded as a local file path that will be condensed to single "/",
545 so handle such path differently under Windows and under *nix.
546 Since '\\' is a valid path character on Unix, so we should not
547 replace it with '/' in LocalPath.
549 2004-06-17 Jackson Harper <jackson@ximian.com>
551 * Uri.cs: Use invariant culture.
553 2004-06-16 Atsushi Enomoto <atsushi@ximian.com>
555 * Uri.cs : Fixed LocalPath. In that condition, path is always UNC.
557 2004-06-16 Atsushi Enomoto <atsushi@ximian.com>
559 * Uri.cs : Reimplemented HexUnescape() (It was too broken to handle
560 multi-byte utf-8 characters.)
562 2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
565 - We don't have to mind '\\'.
566 - Fixed bug #58301. When path starts with "///" and not more than
567 "////" and not "///*:", handle it as unix path and set Host as
568 empty string. In absolute path case, port should not be parsed
569 and LocalPath should start with '/'.
570 - Handle fragment in prior to path.
572 2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
574 * Uri.cs : Handle Windows UNC. Now we could simplify Parse(). Don't
575 escape windows path twice. Check scheme name as defined in RFC2396.
577 2004-06-11 Atsushi Enomoto <atsushi@ximian.com>
579 * Uri.cs : Reverted some changes. '#' should be handled when the input
580 string is NOT raw file path. So handle raw file paths differently.
581 (right now except for Windows UNC).
582 Cache LocalPath and don't compute every time.
584 2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
586 * Uri.cs : Don't escape '#' in file URI paths. This fixes bug #47691.
587 Some code simplification.
589 2004-06-09 Atsushi Enomoto <atsushi@ximian.com>
592 - Now Parse() is properly implemented. If overriden, the overriding
593 Parse() is used _instead of_ this class's parsing logic.
594 - AbsoluteUri does not escape URI string at all.
595 - ToString() should unescape Query. But should not unescape fragment.
596 And all all parts should be unescaped individually to keep ? and #.
597 - In relative .ctor(), handle Windows UNC as an absolute file URI.
598 - In some cases, hosts and paths were not properly escaped in
600 - Removed unused isWindowsPath.
602 * UriBuilder.cs : Fragment and Query aren't escaped when they are set.
604 2004-05-12 Dick Porter <dick@ximian.com>
606 * Uri.cs: Reduce(string) is not in the public API.
608 2004-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
610 * UriBuilder.cs: ignore empty Query. Fixes bug #57082.
612 2004-03-21 Jackson Harper <jackson@ximian.com>
614 * Uri.cs: Equals should be case insensitive for all parts except
617 2004-02-11 Jackson Harper <jackson@ximian.com>
619 * Uri.cs: If we are sure we have a windows path use \ instead of
620 / for directory separating.
622 2004-02-11 Jackson Harper <jackson@ximian.com>
624 * Uri.cs: If the relative uri passed to Uri (base_uri,
625 relative_uri) is an absolute uri do not combine the uris. The base
628 2004-02-10 Jackson Harper <jackson@ximian.com>
630 * Uri.cs: Preserve the trailing / if there is one when reducing
633 2004-02-08 Jackson Harper <jackson@ximian.com>
635 * Uri.cs: IsLoopback has different behavoir then
636 IPAddress::IsLoopback. It will only return true for ipv4 addresses
637 if they are 127.0.0.1, localhost, or loopback.
639 2004-02-06 Jackson Harper <jackson@ximian.com>
641 * Uri.cs: Do not escape querys or fragements. Only reduce certain
644 2004-02-06 Jackson Harper <jackson@ximian.com>
646 * Uri.cs: Use UTF8 characters when escaping. Reduce paths. This
647 method is taken from System.Web.Utils.UrlUtils.
648 * UriBuilder.cs: Do not escape fragments or queries, but do a utf8
649 switch on them. Do not prepend a "/" to Paths. Do not use
650 IPEndPoint to determine if a port is valid, UriBuilder allows
651 ports to be any positive integer, IPEndPoint does not. Use the
652 ToString () method for generate a uri in get_Uri. Only set the
653 port in ToString () if it is greater then 0.
655 2004-02-05 Jackson Harper <jackson@ximian.com>
657 * UriBuilder.cs: Do not call Uri::ToString for uri builders
658 ToString. UriBuilder's ToString is a little more primitive.
660 2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
662 * Uri.cs : should not escape already-escaped string (Patch by
663 Boris Kirzner). File LocalPath should unespace return value.
664 ToString() should be unescaped only when it is not an UNC path.
665 (UNC looks not to be unescaped).
667 2004-01-06 Atsushi Enomoto <atsushi@ximian.com>
669 * Uri.cs : quick fix on local file relative uri.
671 2004-01-06 Atsushi Enomoto <atsushi@ximian.com>
673 * Uri.cs : Fixed Parse(). Should not allow relative URIs.
675 2004-01-05 Atsushi Enomoto <atsushi@ximian.com>
677 * Uri.cs : fixed IsBadFileSystemCharacter() to reject more characters
678 based on MS.NET experiment.
680 2003-12-08 Atsushi Enomoto <atsushi@ximian.com>
682 * Uri.cs : more fixes. More presice UNC handling, opaque part
683 handling for non-standard uri (e.g. urn:go-mono.com), ToString()
684 fix (that returns AbsoluteUri, which is not escaped any more),
687 2003-12-08 Atsushi Enomoto <atsushi@ximian.com>
689 * Uri.cs : Several fixes, including Unc problem, Host and LocalPath
690 fixes, null reference check for .ctor(Uri, string). This fixes
693 2003-12-04 John Luke <jluke@cfl.rr.com>
695 * Uri.cs: applied patch from Chris Masters <neeeeeep@bigpond.com>
696 fixes bug #51510. ftp uses port 21, https uses 443 and
697 parse the host name properly for UNC path.
699 2003-10-10 Pedro MartÃnez Juliá <yoros@wanadoo.es>
701 * Uri.cs: fixed a problem with some URIs like file://some_file.txt
702 It used to return "/some_file.txt/" instead of "some_file.txt" in
703 LocalPath. Fix handling of full path files and SMB addresses.
705 2003-08-12 Duncan Mak <duncan@ximian.com>
707 * Uri.cs (constructor): Properly implement RFC 2396, Par. 5.2,
710 In other words, any characters after the last (right-most)
711 slash character, if any, are excluded.
713 Previously, when merging "a://foo.com/foo" with "bar", we yield
714 the result "a://foo.com/foobar", instead of the correct
717 This fixes bug #45614.
719 2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
721 * SRDescriptionAttribute.cs: Moved from System.Diagnostics directory
723 2003-07-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
725 * Uri.cs: Added MonoTODO'd members, implemented member, fixed signature
727 2003-05-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
729 * TempFileCollection.cs: fixed the build under windows.
731 2003-05-07 Ben Maurer <bmaurer@users.sourceforge.net>
732 * Uri.cs: Checked in code to fix bug #41998. Some
733 code from Ian MacLean.
735 2003-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
737 * Uri.cs: reworked Segment. Small fix in MakeRelative. Throw exception
738 in Parse when host length is 0 and the Uri is not a file.
740 2003-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
743 (CheckSchemeName): fixed bug #28549. Thanks to Eric Runquist.
745 2003-02-01 Miguel de Icaza <miguel@ximian.com>
747 * Uri.cs (LocalPath): Local path should return un-escaped
748 strings. Patch from tum@veridicus.com (Thong (Tum) Nguyen)
750 2002-09-16 Duncan Mak <duncan@ximian.com>
752 * Uri.cs (GetObjectData):
753 (Uri): The key should be "AbsoluteUri", not "Uri".
755 2002-09-16 Miguel de Icaza <miguel@ximian.com>
757 * Uri.cs: Implemented a few of the protected methods.
759 Mon Jun 17 15:05:05 CEST 2002 Paolo Molaro <lupus@ximian.com>
761 * Uri.cs: workaround for mcs bug.
763 2002-05-28 Lawrence Pit <loz@cable.a2000.nl>
765 * Uri.cs: Implemented ctor UriTest (baseUri, relativeUri)
766 * Uri.cs: Fixed bug in internal method GetSchemeDelimiter
768 2002-05-22 Lawrence Pit <loz@cable.a2000.nl>
770 * Uri.cs: implemented MakeRelative, improved GetLeftPart
771 * UriBuilder.cs: removed Serializable attribute
772 * UriHostNameType.cs: added Basic
774 2002-05-12 Lawrence Pit <loz@cable.a2000.nl>
776 * Uri.LocalPath and Uri.AbsoluteUri modified to support both w32
779 2002-05-09 Lawrence Pit <loz@cable.a2000.nl>
781 * Uri.GetLeftPart fixed for mailto and news schemes.
783 2002-05-05 Lawrence Pit <loz@cable.a2000.nl>
785 * UriBuilder.cs: Implemented.
787 * Uri.cs: Complete new reimplementation.
789 2002-02-08 Duncan Mak <duncan@ximian.com>
791 * UriFormatException.cs: Removed TODO attribute, the docs are
792 probably wrong here. In any case, this code compiles and should work.
794 2002-01-31 Duncan Mak <duncan@ximian.com>
796 * UriFormatException.cs: Added bits for serialization.
798 2002-01-05 Ravi Pratap <ravi@ximian.com>
800 * ChangeLog : Add to this directory.
802 * Uri.cs, UriFormatException.cs : Decorate bits with MonoTODO attribute.