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