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