2009-09-24 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / System.Net / System.Net / ChangeLog
1 2009-09-24  Sebastien Pouliot  <sebastien@ximian.com>
2
3         * DnsEndPoint_2_1.cs: Remove (now) unneeded method
4
5 2009-07-16  Sebastien Pouliot  <sebastien@ximian.com>
6
7         * WebHeaderCollection_2_1.cs: Seal type.
8
9 2009-06-17  Sebastien Pouliot  <sebastien@ximian.com>
10
11         * WebClient_2_1.cs: Fix BaseAddress and remove dual base[Address|
12         String] variables.
13
14 2009-06-05  Sebastien Pouliot  <sebastien@ximian.com>
15
16         * WebClient_2_1.cs: Make sure *CompletedEventArgs gets called 
17         even in case an exception occurs before the BeginGetResponse 
18         call. Adjust API for OpenReadCompletedEventArgs.
19
20 2009-06-04  Sebastien Pouliot  <sebastien@ximian.com>
21
22         * WebClient_2_1.cs: Remove the creation of threads and use the
23         async methods provided by WebRequest (and its friends). Use an
24         internal object to lock on (not this). Remove comments from the
25         original (mono) WebClient since the code has diverged so much.
26         Fix DRT#326 (hopefully others too or at least more than it breaks)
27
28 2009-06-01  Sebastien Pouliot  <sebastien@ximian.com>
29
30         * HttpWebRequest_2_1.cs: Avoid possible NRE while settings a
31         complete collection.
32         * WebResponse_2_1.cs: Use StringComparer.OrdinalIgnoreCase on 
33         the prefix Dictionary
34
35 2009-05-26  Sebastien Pouliot  <sebastien@ximian.com>
36
37         * WebClient_2_1.cs: Add internal WebHeaderCollection. Change
38         signature for OpenPolicyReadAsync to take an addtional object
39         * WebResponse_2_1.cs: Add internal WebHeaderCollection
40
41 2009-05-22  Sebastien Pouliot  <sebastien@ximian.com>
42
43         * WebClient_2_1.cs: Add an internal OpenPolicyReadAsync. Check 
44         result in ProcessResponse and throw if not Ok (200).
45         * WebRequest_2_1.cs: Add an internal overload to BeginGetResponse
46         from where we can handle downloading the policy.
47
48 2009-05-14  Sebastien Pouliot  <sebastien@ximian.com>
49
50         * DnsEndPoint_2_1.cs: Add method to return an IPEndPoint from a
51         DnsEndPoint that match the requested AddressFamily
52
53 2009-05-12  Sebastien Pouliot  <sebastien@ximian.com>
54
55         * WebHeaderCollection_2_1.cs: Headers are case insensitive but we
56         must keep them in their original form since AllKeys property will
57         report them that way and user code (like DRT#288) can depends on
58         this behavior.
59
60 2009-05-11  Sebastien Pouliot  <sebastien@ximian.com>
61
62         * WebHeaderCollection_2_1.cs: Headers are removed only in special
63         cases and never when the "this" property is used. Call ToLower
64         in SetHeader too in order to avoid typos.
65
66 2009-05-11  Sebastien Pouliot  <sebastien@ximian.com>
67
68         * HttpWebRequest_2_1.cs: Fix Accept and ContentType properties
69         to use, with special care, the Headers property
70         * WebHeaderCollection_2_1.cs (SetHeader): Add or remove header.
71
72 2009-05-10  Sebastien Pouliot  <sebastien@ximian.com>
73
74         * HttpWebRequest_2_1.cs: Move Headers property logic here (as 
75         shown by adding more unit tests)
76         * WebClient_2_1.cs: Add comment that Headers are not validated
77         there, but later.
78         * WebHeaderCollection_2_1.cs: Add a SetHeader method that can 
79         work around the normal validations that the "this" property
80         needs to do.
81
82 2009-05-09  Sebastien Pouliot  <sebastien@ximian.com>
83
84         * WebHeaderCollection_2_1.cs: When associated with a WebRequest 
85         the header collection items needs to be validated since not all
86         headers will be valid. Part of fix for DRT#532
87
88 2009-04-16  Sebastien Pouliot  <sebastien@ximian.com> 
89
90         * HttpWebRequest_2_1.cs: Rework the throwing of NIE so gui-compare
91         does not report them (since they are the "right" behavior)
92         * WebClient_2_1.cs: Fix BaseAddress property to return the URI to 
93         the XAP file. Implement protected GetWebRequest which will make an
94         absolute URI from a relative one (using BaseAddress). That remove
95         the need of the previous hack.
96         * WebRequest_2_1.cs: Remove previous hack
97
98 2009-04-11  Sebastien Pouliot  <sebastien@ximian.com> 
99
100         * WebClient_2_1.cs: WebClient allows relative URI...
101         * WebRequest_2_1.cs: ...while WebRequest does not by default. 
102         Also uncomment a few checks for new test cases
103
104 2009-04-11  Sebastien Pouliot  <sebastien@ximian.com>
105
106         * DnsEndPoint_2_1.cs: Adjust exceptions wrt unit tests
107         * HttpWebRequest_2_1.cs: Fix Headers property wrt unit tests: 
108         * WebClient_2_1.cs: Fix some properties
109         * WebHeaderCollection_2_1.cs: Adjust exceptions wrt unit tests
110         * WebRequest_2_1.cs: Add RegisterPrefix functionality and add
111         missing checks (fix unit tests)
112
113 2009-04-09  Sebastien Pouliot  <sebastien@ximian.com>
114
115         * DnsEndPoint_2_1.cs: Fix header.
116         * HttpStatusCode_2_1.cs: New. SL2 (short) version of the enum
117         * HttpWebRequest_2_1.cs: Add missing members
118         * WebExceptionStatus_2_1.cs: New. SL2 (short) version of the enum
119         * WebHeaderCollection_2_1.cs: Implement S.C.IEnumerable
120
121 2009-03-11  Rolf Bjarne Kvinge  <RKvinge@novell.com>
122
123         * WebClient_2_1.cs: OnOpenReadCompleted and OnDownloadStringCompleted:
124         make sure we don't pass any exceptions back to native code.
125
126 2009-03-04  Rolf Bjarne Kvinge  <RKvinge@novell.com>
127
128         * WebClient_2_1.cs: Stub out missing methods.
129         * WriteStreamClosedEventArgs_2_1.cs: 
130         * WriteStreamClosedEventHandler_2_1.cs: Added.
131
132 2009-02-05  Geoff Norton  <gnorton@novell.com>
133
134         * WebClient_2_1.cs: Use g_timeout_add instead of g_idle_add here until
135         SyncContext is ready, as its less prone to starvation.
136
137 2009-02-05  Geoff Norton  <gnorton@novell.com>
138
139         * WebClient_2_1.cs: CancelAsync calls Thread.Interrupt so needs to be
140         SecuritySafeCritical for now.
141
142 2009-01-26  Rolf Bjarne Kvinge  <rkvinge@novell.com>
143
144         * WebClient_2_1.cs: Ensure we don't let exceptions go to native code.
145         * HttpWebRequest_2_1.cs: Add AllowReadStreamBuffering.
146
147 2009-01-21  Geoff Norton  <gnorton@novell.com>
148
149         * WebClient_2_1.cs: Make the ManualResetEvent local to the callback
150         because a WebClient can be reused causing a wait-handle race here
151         allowing a delegate to get collected causing a crash.
152
153 2009-01-21  Chris Toshok  <toshok@ximian.com>
154
155         * WebClient_2_1.cs: add 1 method back in, CancelAsync.
156
157 2009-01-12  Geoff Norton  <gnorton@novell.com>
158
159         * WebClient_2.1.cs: SL2 webclient supports BaseAddress.
160
161 2008-10-16  Jb Evain  <jbevain@novell.com>
162
163         * WebHeaderCollection_2_1.cs: update to SL2 api.
164
165 2008-10-16  Jb Evain  <jbevain@novell.com>
166
167         * WebResponse_2_1.cs: update API to SL2.
168
169 2008-08-21  Stephane Delcroix  <sdelcroix@novell.com>
170
171         * WebClient_2_1.cs: set the address on OpenReadCompletedEventArgs
172         ctor.
173
174 2008-08-21  Stephane Delcroix  <sdelcroix@novell.com>
175
176         * WebClient_2_1.cs: enable the DownloadStringAsync code
177
178 2008-08-19  Geoff Norton  <gnorton@novell.com>
179
180         * WebClient_2_1.cs: Keep a reference to the tick callback until its completed.
181
182 2008-08-18  Geoff Norton  <gnorton@novell.com>
183
184         * WebRequest_2_1.cs: Set a delegate callback for BrowserHttpWebRequest
185         to update progress.
186         * WebClient_2_1.cs: Refactor the OnDownloadedChanged method, as its already
187         emitting on the right thread.  Clean up the OnOpenReadCompleted method.
188         Set a delegate callback for BrowserHttpWebRequest to updated Progress.
189
190 2008-08-17  Geoff Norton  <gnorton@novell.com>
191
192         * WebRequest_2_1.cs: We support relative URI's now.
193
194 2008-08-14  Geoff Norton  <gnorton@novell.com>
195
196         * WebClient_2_1.cs: A dirty hack to emit the events on the proper thread
197         until we can figure out exactly how to leverage Dispatcher over here.
198
199 2008-06-18  Stephane Delcroix  <sdelcroix@novell.com>
200
201         * WebRequest_2_1.cs: Load BrowserHttpWebRequest from the right assembly
202
203 2008-06-10  Stephane Delcroix  <sdelcroix@novell.com>
204
205         * DnsEndPoint_2_1.cs: embed an IPAddress and rely on IPEndPoint
206         for serialization.
207
208 2008-06-04  Stephane Delcroix  <sdelcroix@novell.com>
209
210         * DnsEndPoint_2_1.cs: new DnsEndPoint class for SL2b1
211
212 2008-04-13  Jb Evain  <jbevain@novell.com>
213
214         * *_2_1.cs: move the specific 2.1 System.Net code to the
215         assembly System.Net.