1 2009-06-04 Sebastien Pouliot <sebastien@ximian.com>
3 * WebClient_2_1.cs: Remove the creation of threads and use the
4 async methods provided by WebRequest (and its friends). Use an
5 internal object to lock on (not this). Remove comments from the
6 original (mono) WebClient since the code has diverged so much.
7 Fix DRT#326 (hopefully others too or at least more than it breaks)
9 2009-06-01 Sebastien Pouliot <sebastien@ximian.com>
11 * HttpWebRequest_2_1.cs: Avoid possible NRE while settings a
13 * WebResponse_2_1.cs: Use StringComparer.OrdinalIgnoreCase on
16 2009-05-26 Sebastien Pouliot <sebastien@ximian.com>
18 * WebClient_2_1.cs: Add internal WebHeaderCollection. Change
19 signature for OpenPolicyReadAsync to take an addtional object
20 * WebResponse_2_1.cs: Add internal WebHeaderCollection
22 2009-05-22 Sebastien Pouliot <sebastien@ximian.com>
24 * WebClient_2_1.cs: Add an internal OpenPolicyReadAsync. Check
25 result in ProcessResponse and throw if not Ok (200).
26 * WebRequest_2_1.cs: Add an internal overload to BeginGetResponse
27 from where we can handle downloading the policy.
29 2009-05-14 Sebastien Pouliot <sebastien@ximian.com>
31 * DnsEndPoint_2_1.cs: Add method to return an IPEndPoint from a
32 DnsEndPoint that match the requested AddressFamily
34 2009-05-12 Sebastien Pouliot <sebastien@ximian.com>
36 * WebHeaderCollection_2_1.cs: Headers are case insensitive but we
37 must keep them in their original form since AllKeys property will
38 report them that way and user code (like DRT#288) can depends on
41 2009-05-11 Sebastien Pouliot <sebastien@ximian.com>
43 * WebHeaderCollection_2_1.cs: Headers are removed only in special
44 cases and never when the "this" property is used. Call ToLower
45 in SetHeader too in order to avoid typos.
47 2009-05-11 Sebastien Pouliot <sebastien@ximian.com>
49 * HttpWebRequest_2_1.cs: Fix Accept and ContentType properties
50 to use, with special care, the Headers property
51 * WebHeaderCollection_2_1.cs (SetHeader): Add or remove header.
53 2009-05-10 Sebastien Pouliot <sebastien@ximian.com>
55 * HttpWebRequest_2_1.cs: Move Headers property logic here (as
56 shown by adding more unit tests)
57 * WebClient_2_1.cs: Add comment that Headers are not validated
59 * WebHeaderCollection_2_1.cs: Add a SetHeader method that can
60 work around the normal validations that the "this" property
63 2009-05-09 Sebastien Pouliot <sebastien@ximian.com>
65 * WebHeaderCollection_2_1.cs: When associated with a WebRequest
66 the header collection items needs to be validated since not all
67 headers will be valid. Part of fix for DRT#532
69 2009-04-16 Sebastien Pouliot <sebastien@ximian.com>
71 * HttpWebRequest_2_1.cs: Rework the throwing of NIE so gui-compare
72 does not report them (since they are the "right" behavior)
73 * WebClient_2_1.cs: Fix BaseAddress property to return the URI to
74 the XAP file. Implement protected GetWebRequest which will make an
75 absolute URI from a relative one (using BaseAddress). That remove
76 the need of the previous hack.
77 * WebRequest_2_1.cs: Remove previous hack
79 2009-04-11 Sebastien Pouliot <sebastien@ximian.com>
81 * WebClient_2_1.cs: WebClient allows relative URI...
82 * WebRequest_2_1.cs: ...while WebRequest does not by default.
83 Also uncomment a few checks for new test cases
85 2009-04-11 Sebastien Pouliot <sebastien@ximian.com>
87 * DnsEndPoint_2_1.cs: Adjust exceptions wrt unit tests
88 * HttpWebRequest_2_1.cs: Fix Headers property wrt unit tests:
89 * WebClient_2_1.cs: Fix some properties
90 * WebHeaderCollection_2_1.cs: Adjust exceptions wrt unit tests
91 * WebRequest_2_1.cs: Add RegisterPrefix functionality and add
92 missing checks (fix unit tests)
94 2009-04-09 Sebastien Pouliot <sebastien@ximian.com>
96 * DnsEndPoint_2_1.cs: Fix header.
97 * HttpStatusCode_2_1.cs: New. SL2 (short) version of the enum
98 * HttpWebRequest_2_1.cs: Add missing members
99 * WebExceptionStatus_2_1.cs: New. SL2 (short) version of the enum
100 * WebHeaderCollection_2_1.cs: Implement S.C.IEnumerable
102 2009-03-11 Rolf Bjarne Kvinge <RKvinge@novell.com>
104 * WebClient_2_1.cs: OnOpenReadCompleted and OnDownloadStringCompleted:
105 make sure we don't pass any exceptions back to native code.
107 2009-03-04 Rolf Bjarne Kvinge <RKvinge@novell.com>
109 * WebClient_2_1.cs: Stub out missing methods.
110 * WriteStreamClosedEventArgs_2_1.cs:
111 * WriteStreamClosedEventHandler_2_1.cs: Added.
113 2009-02-05 Geoff Norton <gnorton@novell.com>
115 * WebClient_2_1.cs: Use g_timeout_add instead of g_idle_add here until
116 SyncContext is ready, as its less prone to starvation.
118 2009-02-05 Geoff Norton <gnorton@novell.com>
120 * WebClient_2_1.cs: CancelAsync calls Thread.Interrupt so needs to be
121 SecuritySafeCritical for now.
123 2009-01-26 Rolf Bjarne Kvinge <rkvinge@novell.com>
125 * WebClient_2_1.cs: Ensure we don't let exceptions go to native code.
126 * HttpWebRequest_2_1.cs: Add AllowReadStreamBuffering.
128 2009-01-21 Geoff Norton <gnorton@novell.com>
130 * WebClient_2_1.cs: Make the ManualResetEvent local to the callback
131 because a WebClient can be reused causing a wait-handle race here
132 allowing a delegate to get collected causing a crash.
134 2009-01-21 Chris Toshok <toshok@ximian.com>
136 * WebClient_2_1.cs: add 1 method back in, CancelAsync.
138 2009-01-12 Geoff Norton <gnorton@novell.com>
140 * WebClient_2.1.cs: SL2 webclient supports BaseAddress.
142 2008-10-16 Jb Evain <jbevain@novell.com>
144 * WebHeaderCollection_2_1.cs: update to SL2 api.
146 2008-10-16 Jb Evain <jbevain@novell.com>
148 * WebResponse_2_1.cs: update API to SL2.
150 2008-08-21 Stephane Delcroix <sdelcroix@novell.com>
152 * WebClient_2_1.cs: set the address on OpenReadCompletedEventArgs
155 2008-08-21 Stephane Delcroix <sdelcroix@novell.com>
157 * WebClient_2_1.cs: enable the DownloadStringAsync code
159 2008-08-19 Geoff Norton <gnorton@novell.com>
161 * WebClient_2_1.cs: Keep a reference to the tick callback until its completed.
163 2008-08-18 Geoff Norton <gnorton@novell.com>
165 * WebRequest_2_1.cs: Set a delegate callback for BrowserHttpWebRequest
167 * WebClient_2_1.cs: Refactor the OnDownloadedChanged method, as its already
168 emitting on the right thread. Clean up the OnOpenReadCompleted method.
169 Set a delegate callback for BrowserHttpWebRequest to updated Progress.
171 2008-08-17 Geoff Norton <gnorton@novell.com>
173 * WebRequest_2_1.cs: We support relative URI's now.
175 2008-08-14 Geoff Norton <gnorton@novell.com>
177 * WebClient_2_1.cs: A dirty hack to emit the events on the proper thread
178 until we can figure out exactly how to leverage Dispatcher over here.
180 2008-06-18 Stephane Delcroix <sdelcroix@novell.com>
182 * WebRequest_2_1.cs: Load BrowserHttpWebRequest from the right assembly
184 2008-06-10 Stephane Delcroix <sdelcroix@novell.com>
186 * DnsEndPoint_2_1.cs: embed an IPAddress and rely on IPEndPoint
189 2008-06-04 Stephane Delcroix <sdelcroix@novell.com>
191 * DnsEndPoint_2_1.cs: new DnsEndPoint class for SL2b1
193 2008-04-13 Jb Evain <jbevain@novell.com>
195 * *_2_1.cs: move the specific 2.1 System.Net code to the