X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Net%2FSystem.Net%2FChangeLog;h=4f3d76f1bd1b0a8d11ae5a1f6cfb0277831405c2;hb=a7905ec465bca8da5d62369840b3f8ef13a2abda;hp=ec79ff1ab2a6bf88fc18638413ac88ebef039007;hpb=5ecd4daa3f3c24a289be0e5dc9b017a051d1c627;p=mono.git diff --git a/mcs/class/System.Net/System.Net/ChangeLog b/mcs/class/System.Net/System.Net/ChangeLog index ec79ff1ab2a..4f3d76f1bd1 100644 --- a/mcs/class/System.Net/System.Net/ChangeLog +++ b/mcs/class/System.Net/System.Net/ChangeLog @@ -1,3 +1,162 @@ +2010-01-28 Rolf Bjarne Kvinge + + * WebClient_2_1.cs: The async events must be invoked on a threadpool + thread if the async method wasn't executed on the main thread, so save + the synchronization context when the async method is called, and post + the event to that synchronization context when done. This is also + required when the async methods are executed on the main thread, since + HttpWebRequest callbacks are now always executed on a threadpool thread. + +2010-01-25 Sebastien Pouliot + + * UdpAnySourceMulticastClient.cs: New. Stub for SL4 + * UdpSingleSourceMulticastClient.cs: New. Stub for SL4 + +2010-01-13 Sebastien Pouliot + + * HttpWebRequest_2_1.cs: Throw for CookieContainer. It is + implemented only in the client http stack (and for a limited + time in the browser stack too ;-) + * InternalWebRequestStreamWrapper.cs: Keep the MemoryStream data + available after closing/disposing (by user) since our own code + will need it later (e.g. when posting like DRT287) + * WebHeaderCollection_2_1.cs: Provide an argument to + ArgumentException. Found by Gendarme's ArgumentException + InstantiateArgumentExceptionCorrectlyRule + +2010-01-12 Sebastien Pouliot + + * WebRequest_2_1.cs: Rework registration wrt the two, browser + and client, stacks offered in SL3. Only global works now. + +2010-01-11 Sebastien Pouliot + + * InternalWebRequestStreamWrapper.cs: New. Moved (and adapted) + from Moonlight System.Windows.Browser assembly. + * InternalWebResponseStreamWrapper.cs: New. Moved (and adapted) + from Moonlight System.Windows.Browser assembly. + * WebClient_2_1.cs: Remove custom delegate declaration (Gendarme's + AvoidDeclaringCustomDelegatesRule). Remove locking over a variable + (Gendarme's ReviewLockUsedOnlyForOperationsOnVariablesRule). + Avoid potential race with event handlers (Gendarme's + ProtectCallsToEventDelegatesRule). Implement OnWriteStreamClosed + * WebRequest_2_1.cs: Signature change from delegate to + Action. Found using Gendarme's + AvoidDeclaringCustomDelegatesRule + +2009-12-12 Rolf Bjarne Kvinge + + * WebClient_2_1.cs: When creating the request we need to copy over + any headers the user set on us. We also need to wrap + InvalidOperationExceptions in WebExceptions. + +2009-12-04 Sebastien Pouliot + + * HttpStatusCode_2_1.cs: Remove. SL3 provides all status code + since they are used for the client stack + * WebClient_2_1.cs: Add Credentials property and change + ResponseHeaders property to public + * WebRequest_2_1.cs: Add Credentials property + +2009-12-04 Sebastien Pouliot + + * DnsEndPoint_2_1.cs: Moved to System.dll since it's also part + of .net 4.0 + +2009-12-04 Sebastien Pouliot + + * HttpWebRequest_2_1.cs: Add CookieCollection, need to be + implemented in the client stack + * HttpWebResponse_2_1.cs: CookieContainer is virtual. Add FIXME + to move (a real) implementation into the client stack + * WebRequest_2_1.cs: Add Create(string) overload (SL3) + +2009-09-24 Sebastien Pouliot + + * Dns_2_1.cs: New. Smaller version of Dns.cs that offers just + enough for DnsEndPoint support + +2009-09-24 Sebastien Pouliot + + * DnsEndPoint_2_1.cs: Remove (now) unneeded method + +2009-07-16 Sebastien Pouliot + + * WebHeaderCollection_2_1.cs: Seal type. + +2009-06-17 Sebastien Pouliot + + * WebClient_2_1.cs: Fix BaseAddress and remove dual base[Address| + String] variables. + +2009-06-05 Sebastien Pouliot + + * WebClient_2_1.cs: Make sure *CompletedEventArgs gets called + even in case an exception occurs before the BeginGetResponse + call. Adjust API for OpenReadCompletedEventArgs. + +2009-06-04 Sebastien Pouliot + + * WebClient_2_1.cs: Remove the creation of threads and use the + async methods provided by WebRequest (and its friends). Use an + internal object to lock on (not this). Remove comments from the + original (mono) WebClient since the code has diverged so much. + Fix DRT#326 (hopefully others too or at least more than it breaks) + +2009-06-01 Sebastien Pouliot + + * HttpWebRequest_2_1.cs: Avoid possible NRE while settings a + complete collection. + * WebResponse_2_1.cs: Use StringComparer.OrdinalIgnoreCase on + the prefix Dictionary + +2009-05-26 Sebastien Pouliot + + * WebClient_2_1.cs: Add internal WebHeaderCollection. Change + signature for OpenPolicyReadAsync to take an addtional object + * WebResponse_2_1.cs: Add internal WebHeaderCollection + +2009-05-22 Sebastien Pouliot + + * WebClient_2_1.cs: Add an internal OpenPolicyReadAsync. Check + result in ProcessResponse and throw if not Ok (200). + * WebRequest_2_1.cs: Add an internal overload to BeginGetResponse + from where we can handle downloading the policy. + +2009-05-14 Sebastien Pouliot + + * DnsEndPoint_2_1.cs: Add method to return an IPEndPoint from a + DnsEndPoint that match the requested AddressFamily + +2009-05-12 Sebastien Pouliot + + * WebHeaderCollection_2_1.cs: Headers are case insensitive but we + must keep them in their original form since AllKeys property will + report them that way and user code (like DRT#288) can depends on + this behavior. + +2009-05-11 Sebastien Pouliot + + * WebHeaderCollection_2_1.cs: Headers are removed only in special + cases and never when the "this" property is used. Call ToLower + in SetHeader too in order to avoid typos. + +2009-05-11 Sebastien Pouliot + + * HttpWebRequest_2_1.cs: Fix Accept and ContentType properties + to use, with special care, the Headers property + * WebHeaderCollection_2_1.cs (SetHeader): Add or remove header. + +2009-05-10 Sebastien Pouliot + + * HttpWebRequest_2_1.cs: Move Headers property logic here (as + shown by adding more unit tests) + * WebClient_2_1.cs: Add comment that Headers are not validated + there, but later. + * WebHeaderCollection_2_1.cs: Add a SetHeader method that can + work around the normal validations that the "this" property + needs to do. + 2009-05-09 Sebastien Pouliot * WebHeaderCollection_2_1.cs: When associated with a WebRequest