* Uri.cs: Use UTF8 characters when escaping. Reduce paths. This
[mono.git] / mcs / class / System / System / ChangeLog
1 2004-02-06  Jackson Harper  <jackson@ximian.com>
2
3         * Uri.cs: Use UTF8 characters when escaping. Reduce paths. This
4         method is taken from System.Web.Utils.UrlUtils.
5         * UriBuilder.cs: Do not escape fragments or queries, but do a utf8
6         switch on them. Do not prepend a "/" to Paths. Do not use
7         IPEndPoint to determine if a port is valid, UriBuilder allows
8         ports to be any positive integer, IPEndPoint does not. Use the
9         ToString () method for generate a uri in get_Uri. Only set the
10         port in ToString () if it is greater then 0.
11         
12 2004-02-05  Jackson Harper  <jackson@ximian.com>
13
14         * UriBuilder.cs: Do not call Uri::ToString for uri builders
15         ToString. UriBuilder's ToString is a little more primitive.
16         
17 2004-01-12  Atsushi Enomoto  <atsushi@ximian.com>
18
19         * Uri.cs : should not escape already-escaped string (Patch by 
20           Boris Kirzner).  File LocalPath should unespace return value.
21           ToString() should be unescaped only when it is not an UNC path.
22           (UNC looks not to be unescaped).
23
24 2004-01-06  Atsushi Enomoto  <atsushi@ximian.com>
25
26         * Uri.cs : quick fix on local file relative uri.
27
28 2004-01-06  Atsushi Enomoto  <atsushi@ximian.com>
29
30         * Uri.cs : Fixed Parse(). Should not allow relative URIs.
31
32 2004-01-05  Atsushi Enomoto  <atsushi@ximian.com>
33
34         * Uri.cs : fixed IsBadFileSystemCharacter() to reject more characters
35           based on MS.NET experiment.
36
37 2003-12-08  Atsushi Enomoto  <atsushi@ximian.com>
38
39         * Uri.cs : more fixes. More presice UNC handling, opaque part 
40           handling for non-standard uri (e.g. urn:go-mono.com), ToString()
41           fix (that returns AbsoluteUri, which is not escaped any more),
42           and so on.
43
44 2003-12-08  Atsushi Enomoto  <atsushi@ximian.com>
45
46         * Uri.cs : Several fixes, including Unc problem, Host and LocalPath
47           fixes, null reference check for .ctor(Uri, string). This fixes
48           bug #51844.
49
50 2003-12-04  John Luke  <jluke@cfl.rr.com>
51         
52         * Uri.cs: applied patch from Chris Masters <neeeeeep@bigpond.com>
53         fixes bug #51510.  ftp uses port 21, https uses 443 and 
54         parse the host name properly for UNC path.
55         
56 2003-10-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
57
58         * Uri.cs: fixed a problem with some URIs like file://some_file.txt
59         It used to return "/some_file.txt/" instead of "some_file.txt" in
60         LocalPath. Fix handling of full path files and SMB addresses.
61
62 2003-08-12  Duncan Mak  <duncan@ximian.com>
63
64         * Uri.cs (constructor): Properly implement RFC 2396, Par. 5.2,
65         part 6a, which says:
66         
67                 In other words, any characters after the last (right-most)
68                 slash character, if any, are excluded.
69
70         Previously, when merging "a://foo.com/foo" with "bar", we yield
71         the result "a://foo.com/foobar", instead of the correct
72         "a://foo.com/bar".
73
74         This fixes bug #45614.
75
76 2003-07-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
77
78         * SRDescriptionAttribute.cs: Moved from System.Diagnostics directory
79
80 2003-07-18  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
81
82         * Uri.cs: Added MonoTODO'd members, implemented member, fixed signature
83
84 2003-05-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
85
86         * TempFileCollection.cs: fixed the build under windows.
87         
88 2003-05-07  Ben Maurer <bmaurer@users.sourceforge.net>
89         * Uri.cs: Checked in code to fix bug #41998. Some
90         code from Ian MacLean.
91         
92 2003-03-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
93
94         * Uri.cs: reworked Segment. Small fix in MakeRelative. Throw exception
95         in Parse when host length is 0 and the Uri is not a file.
96
97 2003-03-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
98
99         * Uri.cs:
100         (CheckSchemeName): fixed bug #28549. Thanks to Eric Runquist.
101
102 2003-02-01  Miguel de Icaza  <miguel@ximian.com>
103
104         * Uri.cs (LocalPath): Local path should return un-escaped
105         strings.  Patch from tum@veridicus.com (Thong (Tum) Nguyen)
106
107 2002-09-16  Duncan Mak  <duncan@ximian.com>
108
109         * Uri.cs (GetObjectData):
110         (Uri): The key should be "AbsoluteUri", not "Uri".
111
112 2002-09-16  Miguel de Icaza  <miguel@ximian.com>
113
114         * Uri.cs: Implemented a few of the protected methods. 
115
116 Mon Jun 17 15:05:05 CEST 2002 Paolo Molaro <lupus@ximian.com>
117
118         * Uri.cs: workaround for mcs bug.
119
120 2002-05-28  Lawrence Pit <loz@cable.a2000.nl>
121
122         * Uri.cs: Implemented ctor UriTest (baseUri, relativeUri)
123         * Uri.cs: Fixed bug in internal method GetSchemeDelimiter
124
125 2002-05-22  Lawrence Pit <loz@cable.a2000.nl>
126
127         * Uri.cs: implemented MakeRelative, improved GetLeftPart
128         * UriBuilder.cs: removed Serializable attribute
129         * UriHostNameType.cs: added Basic
130
131 2002-05-12  Lawrence Pit <loz@cable.a2000.nl>
132
133         * Uri.LocalPath and Uri.AbsoluteUri modified to support both w32 
134         and *nix filepaths
135
136 2002-05-09  Lawrence Pit <loz@cable.a2000.nl>
137
138         * Uri.GetLeftPart fixed for mailto and news schemes.
139
140 2002-05-05  Lawrence Pit <loz@cable.a2000.nl>
141
142         * UriBuilder.cs: Implemented.
143         
144         * Uri.cs: Complete new reimplementation. 
145
146 2002-02-08  Duncan Mak  <duncan@ximian.com>
147
148         * UriFormatException.cs: Removed TODO attribute, the docs are
149         probably wrong here. In any case, this code compiles and should work.
150
151 2002-01-31  Duncan Mak  <duncan@ximian.com>
152
153         * UriFormatException.cs: Added bits for serialization.
154
155 2002-01-05  Ravi Pratap  <ravi@ximian.com>
156
157         * ChangeLog : Add to this directory.
158
159         * Uri.cs, UriFormatException.cs : Decorate bits with MonoTODO attribute.