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