2004-06-16 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System / System / ChangeLog
1 2004-06-16  Atsushi Enomoto  <atsushi@ximian.com>
2
3         * Uri.cs : Reimplemented HexUnescape() (It was too broken to handle
4           multi-byte utf-8 characters.)
5
6 2004-06-11  Atsushi Enomoto  <atsushi@ximian.com>
7
8         * Uri.cs :
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. 
15
16 2004-06-11  Atsushi Enomoto  <atsushi@ximian.com>
17
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.
20
21 2004-06-11  Atsushi Enomoto  <atsushi@ximian.com>
22
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.
27
28 2004-06-10  Atsushi Enomoto  <atsushi@ximian.com>
29
30         * Uri.cs : Don't escape '#' in file URI paths. This fixes bug #47691.
31           Some code simplification.
32
33 2004-06-09  Atsushi Enomoto  <atsushi@ximian.com>
34
35         * Uri.cs : 
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
43             relative .ctor().
44           - Removed unused isWindowsPath.
45           - Escape Query.
46         * UriBuilder.cs : Fragment and Query aren't escaped when they are set.
47
48 2004-05-12  Dick Porter  <dick@ximian.com>
49
50         * Uri.cs: Reduce(string) is not in the public API.
51
52 2004-04-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
53
54         * UriBuilder.cs: ignore empty Query. Fixes bug #57082.
55
56 2004-03-21  Jackson Harper  <jackson@ximian.com>
57
58         * Uri.cs: Equals should be case insensitive for all parts except
59         the path.
60
61 2004-02-11  Jackson Harper  <jackson@ximian.com>
62
63         * Uri.cs: If we are sure we have a windows path use \ instead of
64         / for directory separating.
65         
66 2004-02-11  Jackson Harper  <jackson@ximian.com>
67
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
70         uri is dropped.
71         
72 2004-02-10  Jackson Harper  <jackson@ximian.com>
73
74         * Uri.cs: Preserve the trailing / if there is one when reducing
75         paths.
76         
77 2004-02-08  Jackson Harper  <jackson@ximian.com>
78
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. 
82         
83 2004-02-06  Jackson Harper  <jackson@ximian.com>
84
85         * Uri.cs: Do not escape querys or fragements. Only reduce certain
86         schemes.
87         
88 2004-02-06  Jackson Harper  <jackson@ximian.com>
89
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.
98         
99 2004-02-05  Jackson Harper  <jackson@ximian.com>
100
101         * UriBuilder.cs: Do not call Uri::ToString for uri builders
102         ToString. UriBuilder's ToString is a little more primitive.
103         
104 2004-01-12  Atsushi Enomoto  <atsushi@ximian.com>
105
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).
110
111 2004-01-06  Atsushi Enomoto  <atsushi@ximian.com>
112
113         * Uri.cs : quick fix on local file relative uri.
114
115 2004-01-06  Atsushi Enomoto  <atsushi@ximian.com>
116
117         * Uri.cs : Fixed Parse(). Should not allow relative URIs.
118
119 2004-01-05  Atsushi Enomoto  <atsushi@ximian.com>
120
121         * Uri.cs : fixed IsBadFileSystemCharacter() to reject more characters
122           based on MS.NET experiment.
123
124 2003-12-08  Atsushi Enomoto  <atsushi@ximian.com>
125
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),
129           and so on.
130
131 2003-12-08  Atsushi Enomoto  <atsushi@ximian.com>
132
133         * Uri.cs : Several fixes, including Unc problem, Host and LocalPath
134           fixes, null reference check for .ctor(Uri, string). This fixes
135           bug #51844.
136
137 2003-12-04  John Luke  <jluke@cfl.rr.com>
138         
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.
142         
143 2003-10-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
144
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.
148
149 2003-08-12  Duncan Mak  <duncan@ximian.com>
150
151         * Uri.cs (constructor): Properly implement RFC 2396, Par. 5.2,
152         part 6a, which says:
153         
154                 In other words, any characters after the last (right-most)
155                 slash character, if any, are excluded.
156
157         Previously, when merging "a://foo.com/foo" with "bar", we yield
158         the result "a://foo.com/foobar", instead of the correct
159         "a://foo.com/bar".
160
161         This fixes bug #45614.
162
163 2003-07-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
164
165         * SRDescriptionAttribute.cs: Moved from System.Diagnostics directory
166
167 2003-07-18  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
168
169         * Uri.cs: Added MonoTODO'd members, implemented member, fixed signature
170
171 2003-05-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
172
173         * TempFileCollection.cs: fixed the build under windows.
174         
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.
178         
179 2003-03-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
180
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.
183
184 2003-03-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
185
186         * Uri.cs:
187         (CheckSchemeName): fixed bug #28549. Thanks to Eric Runquist.
188
189 2003-02-01  Miguel de Icaza  <miguel@ximian.com>
190
191         * Uri.cs (LocalPath): Local path should return un-escaped
192         strings.  Patch from tum@veridicus.com (Thong (Tum) Nguyen)
193
194 2002-09-16  Duncan Mak  <duncan@ximian.com>
195
196         * Uri.cs (GetObjectData):
197         (Uri): The key should be "AbsoluteUri", not "Uri".
198
199 2002-09-16  Miguel de Icaza  <miguel@ximian.com>
200
201         * Uri.cs: Implemented a few of the protected methods. 
202
203 Mon Jun 17 15:05:05 CEST 2002 Paolo Molaro <lupus@ximian.com>
204
205         * Uri.cs: workaround for mcs bug.
206
207 2002-05-28  Lawrence Pit <loz@cable.a2000.nl>
208
209         * Uri.cs: Implemented ctor UriTest (baseUri, relativeUri)
210         * Uri.cs: Fixed bug in internal method GetSchemeDelimiter
211
212 2002-05-22  Lawrence Pit <loz@cable.a2000.nl>
213
214         * Uri.cs: implemented MakeRelative, improved GetLeftPart
215         * UriBuilder.cs: removed Serializable attribute
216         * UriHostNameType.cs: added Basic
217
218 2002-05-12  Lawrence Pit <loz@cable.a2000.nl>
219
220         * Uri.LocalPath and Uri.AbsoluteUri modified to support both w32 
221         and *nix filepaths
222
223 2002-05-09  Lawrence Pit <loz@cable.a2000.nl>
224
225         * Uri.GetLeftPart fixed for mailto and news schemes.
226
227 2002-05-05  Lawrence Pit <loz@cable.a2000.nl>
228
229         * UriBuilder.cs: Implemented.
230         
231         * Uri.cs: Complete new reimplementation. 
232
233 2002-02-08  Duncan Mak  <duncan@ximian.com>
234
235         * UriFormatException.cs: Removed TODO attribute, the docs are
236         probably wrong here. In any case, this code compiles and should work.
237
238 2002-01-31  Duncan Mak  <duncan@ximian.com>
239
240         * UriFormatException.cs: Added bits for serialization.
241
242 2002-01-05  Ravi Pratap  <ravi@ximian.com>
243
244         * ChangeLog : Add to this directory.
245
246         * Uri.cs, UriFormatException.cs : Decorate bits with MonoTODO attribute.