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