1 2010-01-13 Sebastien Pouliot <sebastien@ximian.com>
3 * HttpWebRequest_2_1.cs: Throw for CookieContainer. It is
4 implemented only in the client http stack (and for a limited
5 time in the browser stack too ;-)
6 * InternalWebRequestStreamWrapper.cs: Keep the MemoryStream data
7 available after closing/disposing (by user) since our own code
8 will need it later (e.g. when posting like DRT287)
9 * WebHeaderCollection_2_1.cs: Provide an argument to
10 ArgumentException. Found by Gendarme's ArgumentException
11 InstantiateArgumentExceptionCorrectlyRule
13 2010-01-12 Sebastien Pouliot <sebastien@ximian.com>
15 * WebRequest_2_1.cs: Rework registration wrt the two, browser
16 and client, stacks offered in SL3. Only global works now.
18 2010-01-11 Sebastien Pouliot <sebastien@ximian.com>
20 * InternalWebRequestStreamWrapper.cs: New. Moved (and adapted)
21 from Moonlight System.Windows.Browser assembly.
22 * InternalWebResponseStreamWrapper.cs: New. Moved (and adapted)
23 from Moonlight System.Windows.Browser assembly.
24 * WebClient_2_1.cs: Remove custom delegate declaration (Gendarme's
25 AvoidDeclaringCustomDelegatesRule). Remove locking over a variable
26 (Gendarme's ReviewLockUsedOnlyForOperationsOnVariablesRule).
27 Avoid potential race with event handlers (Gendarme's
28 ProtectCallsToEventDelegatesRule). Implement OnWriteStreamClosed
29 * WebRequest_2_1.cs: Signature change from delegate to
30 Action<long,long,object>. Found using Gendarme's
31 AvoidDeclaringCustomDelegatesRule
33 2009-12-12 Rolf Bjarne Kvinge <RKvinge@novell.com>
35 * WebClient_2_1.cs: When creating the request we need to copy over
36 any headers the user set on us. We also need to wrap
37 InvalidOperationExceptions in WebExceptions.
39 2009-12-04 Sebastien Pouliot <sebastien@ximian.com>
41 * HttpStatusCode_2_1.cs: Remove. SL3 provides all status code
42 since they are used for the client stack
43 * WebClient_2_1.cs: Add Credentials property and change
44 ResponseHeaders property to public
45 * WebRequest_2_1.cs: Add Credentials property
47 2009-12-04 Sebastien Pouliot <sebastien@ximian.com>
49 * DnsEndPoint_2_1.cs: Moved to System.dll since it's also part
52 2009-12-04 Sebastien Pouliot <sebastien@ximian.com>
54 * HttpWebRequest_2_1.cs: Add CookieCollection, need to be
55 implemented in the client stack
56 * HttpWebResponse_2_1.cs: CookieContainer is virtual. Add FIXME
57 to move (a real) implementation into the client stack
58 * WebRequest_2_1.cs: Add Create(string) overload (SL3)
60 2009-09-24 Sebastien Pouliot <sebastien@ximian.com>
62 * Dns_2_1.cs: New. Smaller version of Dns.cs that offers just
63 enough for DnsEndPoint support
65 2009-09-24 Sebastien Pouliot <sebastien@ximian.com>
67 * DnsEndPoint_2_1.cs: Remove (now) unneeded method
69 2009-07-16 Sebastien Pouliot <sebastien@ximian.com>
71 * WebHeaderCollection_2_1.cs: Seal type.
73 2009-06-17 Sebastien Pouliot <sebastien@ximian.com>
75 * WebClient_2_1.cs: Fix BaseAddress and remove dual base[Address|
78 2009-06-05 Sebastien Pouliot <sebastien@ximian.com>
80 * WebClient_2_1.cs: Make sure *CompletedEventArgs gets called
81 even in case an exception occurs before the BeginGetResponse
82 call. Adjust API for OpenReadCompletedEventArgs.
84 2009-06-04 Sebastien Pouliot <sebastien@ximian.com>
86 * WebClient_2_1.cs: Remove the creation of threads and use the
87 async methods provided by WebRequest (and its friends). Use an
88 internal object to lock on (not this). Remove comments from the
89 original (mono) WebClient since the code has diverged so much.
90 Fix DRT#326 (hopefully others too or at least more than it breaks)
92 2009-06-01 Sebastien Pouliot <sebastien@ximian.com>
94 * HttpWebRequest_2_1.cs: Avoid possible NRE while settings a
96 * WebResponse_2_1.cs: Use StringComparer.OrdinalIgnoreCase on
99 2009-05-26 Sebastien Pouliot <sebastien@ximian.com>
101 * WebClient_2_1.cs: Add internal WebHeaderCollection. Change
102 signature for OpenPolicyReadAsync to take an addtional object
103 * WebResponse_2_1.cs: Add internal WebHeaderCollection
105 2009-05-22 Sebastien Pouliot <sebastien@ximian.com>
107 * WebClient_2_1.cs: Add an internal OpenPolicyReadAsync. Check
108 result in ProcessResponse and throw if not Ok (200).
109 * WebRequest_2_1.cs: Add an internal overload to BeginGetResponse
110 from where we can handle downloading the policy.
112 2009-05-14 Sebastien Pouliot <sebastien@ximian.com>
114 * DnsEndPoint_2_1.cs: Add method to return an IPEndPoint from a
115 DnsEndPoint that match the requested AddressFamily
117 2009-05-12 Sebastien Pouliot <sebastien@ximian.com>
119 * WebHeaderCollection_2_1.cs: Headers are case insensitive but we
120 must keep them in their original form since AllKeys property will
121 report them that way and user code (like DRT#288) can depends on
124 2009-05-11 Sebastien Pouliot <sebastien@ximian.com>
126 * WebHeaderCollection_2_1.cs: Headers are removed only in special
127 cases and never when the "this" property is used. Call ToLower
128 in SetHeader too in order to avoid typos.
130 2009-05-11 Sebastien Pouliot <sebastien@ximian.com>
132 * HttpWebRequest_2_1.cs: Fix Accept and ContentType properties
133 to use, with special care, the Headers property
134 * WebHeaderCollection_2_1.cs (SetHeader): Add or remove header.
136 2009-05-10 Sebastien Pouliot <sebastien@ximian.com>
138 * HttpWebRequest_2_1.cs: Move Headers property logic here (as
139 shown by adding more unit tests)
140 * WebClient_2_1.cs: Add comment that Headers are not validated
142 * WebHeaderCollection_2_1.cs: Add a SetHeader method that can
143 work around the normal validations that the "this" property
146 2009-05-09 Sebastien Pouliot <sebastien@ximian.com>
148 * WebHeaderCollection_2_1.cs: When associated with a WebRequest
149 the header collection items needs to be validated since not all
150 headers will be valid. Part of fix for DRT#532
152 2009-04-16 Sebastien Pouliot <sebastien@ximian.com>
154 * HttpWebRequest_2_1.cs: Rework the throwing of NIE so gui-compare
155 does not report them (since they are the "right" behavior)
156 * WebClient_2_1.cs: Fix BaseAddress property to return the URI to
157 the XAP file. Implement protected GetWebRequest which will make an
158 absolute URI from a relative one (using BaseAddress). That remove
159 the need of the previous hack.
160 * WebRequest_2_1.cs: Remove previous hack
162 2009-04-11 Sebastien Pouliot <sebastien@ximian.com>
164 * WebClient_2_1.cs: WebClient allows relative URI...
165 * WebRequest_2_1.cs: ...while WebRequest does not by default.
166 Also uncomment a few checks for new test cases
168 2009-04-11 Sebastien Pouliot <sebastien@ximian.com>
170 * DnsEndPoint_2_1.cs: Adjust exceptions wrt unit tests
171 * HttpWebRequest_2_1.cs: Fix Headers property wrt unit tests:
172 * WebClient_2_1.cs: Fix some properties
173 * WebHeaderCollection_2_1.cs: Adjust exceptions wrt unit tests
174 * WebRequest_2_1.cs: Add RegisterPrefix functionality and add
175 missing checks (fix unit tests)
177 2009-04-09 Sebastien Pouliot <sebastien@ximian.com>
179 * DnsEndPoint_2_1.cs: Fix header.
180 * HttpStatusCode_2_1.cs: New. SL2 (short) version of the enum
181 * HttpWebRequest_2_1.cs: Add missing members
182 * WebExceptionStatus_2_1.cs: New. SL2 (short) version of the enum
183 * WebHeaderCollection_2_1.cs: Implement S.C.IEnumerable
185 2009-03-11 Rolf Bjarne Kvinge <RKvinge@novell.com>
187 * WebClient_2_1.cs: OnOpenReadCompleted and OnDownloadStringCompleted:
188 make sure we don't pass any exceptions back to native code.
190 2009-03-04 Rolf Bjarne Kvinge <RKvinge@novell.com>
192 * WebClient_2_1.cs: Stub out missing methods.
193 * WriteStreamClosedEventArgs_2_1.cs:
194 * WriteStreamClosedEventHandler_2_1.cs: Added.
196 2009-02-05 Geoff Norton <gnorton@novell.com>
198 * WebClient_2_1.cs: Use g_timeout_add instead of g_idle_add here until
199 SyncContext is ready, as its less prone to starvation.
201 2009-02-05 Geoff Norton <gnorton@novell.com>
203 * WebClient_2_1.cs: CancelAsync calls Thread.Interrupt so needs to be
204 SecuritySafeCritical for now.
206 2009-01-26 Rolf Bjarne Kvinge <rkvinge@novell.com>
208 * WebClient_2_1.cs: Ensure we don't let exceptions go to native code.
209 * HttpWebRequest_2_1.cs: Add AllowReadStreamBuffering.
211 2009-01-21 Geoff Norton <gnorton@novell.com>
213 * WebClient_2_1.cs: Make the ManualResetEvent local to the callback
214 because a WebClient can be reused causing a wait-handle race here
215 allowing a delegate to get collected causing a crash.
217 2009-01-21 Chris Toshok <toshok@ximian.com>
219 * WebClient_2_1.cs: add 1 method back in, CancelAsync.
221 2009-01-12 Geoff Norton <gnorton@novell.com>
223 * WebClient_2.1.cs: SL2 webclient supports BaseAddress.
225 2008-10-16 Jb Evain <jbevain@novell.com>
227 * WebHeaderCollection_2_1.cs: update to SL2 api.
229 2008-10-16 Jb Evain <jbevain@novell.com>
231 * WebResponse_2_1.cs: update API to SL2.
233 2008-08-21 Stephane Delcroix <sdelcroix@novell.com>
235 * WebClient_2_1.cs: set the address on OpenReadCompletedEventArgs
238 2008-08-21 Stephane Delcroix <sdelcroix@novell.com>
240 * WebClient_2_1.cs: enable the DownloadStringAsync code
242 2008-08-19 Geoff Norton <gnorton@novell.com>
244 * WebClient_2_1.cs: Keep a reference to the tick callback until its completed.
246 2008-08-18 Geoff Norton <gnorton@novell.com>
248 * WebRequest_2_1.cs: Set a delegate callback for BrowserHttpWebRequest
250 * WebClient_2_1.cs: Refactor the OnDownloadedChanged method, as its already
251 emitting on the right thread. Clean up the OnOpenReadCompleted method.
252 Set a delegate callback for BrowserHttpWebRequest to updated Progress.
254 2008-08-17 Geoff Norton <gnorton@novell.com>
256 * WebRequest_2_1.cs: We support relative URI's now.
258 2008-08-14 Geoff Norton <gnorton@novell.com>
260 * WebClient_2_1.cs: A dirty hack to emit the events on the proper thread
261 until we can figure out exactly how to leverage Dispatcher over here.
263 2008-06-18 Stephane Delcroix <sdelcroix@novell.com>
265 * WebRequest_2_1.cs: Load BrowserHttpWebRequest from the right assembly
267 2008-06-10 Stephane Delcroix <sdelcroix@novell.com>
269 * DnsEndPoint_2_1.cs: embed an IPAddress and rely on IPEndPoint
272 2008-06-04 Stephane Delcroix <sdelcroix@novell.com>
274 * DnsEndPoint_2_1.cs: new DnsEndPoint class for SL2b1
276 2008-04-13 Jb Evain <jbevain@novell.com>
278 * *_2_1.cs: move the specific 2.1 System.Net code to the