Commit Graph
45 Commits
Author SHA1 Message Date
Rolf Bjarne Kvinge bbe5d30c03 2009-03-11 Rolf Bjarne Kvinge <[email protected]>
* WebClient_2_1.cs: OnOpenReadCompleted and OnDownloadStringCompleted:
	make sure we don't pass any exceptions back to native code.


svn path=/trunk/mcs/; revision=129077
2009-03-11 16:49:50 +00:00
Rolf Bjarne Kvinge 458083a928 In .:
2009-03-04  Rolf Bjarne Kvinge  <[email protected]>

	* System.Net.dll.sources: Added WriteStreamClosedEventArgs_2_1.cs
	  and WriteStreamClosedEventHandler_2_1.cs

In System.Net:
2009-03-04  Rolf Bjarne Kvinge  <[email protected]>

	* WebClient_2_1.cs: Stub out missing methods.
	* WriteStreamClosedEventArgs_2_1.cs: 
	* WriteStreamClosedEventHandler_2_1.cs: Added.


svn path=/trunk/mcs/; revision=128571
2009-03-04 16:49:21 +00:00
Alan McGovern 48280f71e3 2009-02-24 Alan McGovern <[email protected]>
* System.Net/WebClient_2_1.cs: If we're getting text, ensure we
        strip out the byte order mark if it exists.


svn path=/trunk/mcs/; revision=127880
2009-02-24 18:20:22 +00:00
Geoff Norton 24e50293b9 2009-02-05 Geoff Norton <[email protected]>
* WebClient_2_1.cs: Use g_timeout_add instead of g_idle_add here until
        SyncContext is ready, as its less prone to starvation.

svn path=/trunk/mcs/; revision=126003
2009-02-06 07:02:03 +00:00
Geoff Norton 7093fa8a83 2009-02-05 Geoff Norton <[email protected]>
* WebClient_2_1.cs: CancelAsync calls Thread.Interrupt so needs to be
        SecuritySafeCritical for now.

svn path=/trunk/mcs/; revision=125938
2009-02-05 21:50:21 +00:00
Rolf Bjarne Kvinge 1bd13882ad 2009-01-26 Rolf Bjarne Kvinge <[email protected]>
* WebClient_2_1.cs: Ensure we don't let exceptions go to native code.
	* HttpWebRequest_2_1.cs: Add AllowReadStreamBuffering.


svn path=/trunk/mcs/; revision=124487
2009-01-26 12:58:50 +00:00
Geoff Norton 5280a95b2f 2009-01-21 Geoff Norton <[email protected]>
* WebClient_2_1.cs: Make the ManualResetEvent local to the callback
        because a WebClient can be reused causing a wait-handle race here
        allowing a delegate to get collected causing a crash.

svn path=/trunk/mcs/; revision=124161
2009-01-22 04:27:43 +00:00
Jb Evain e193ddfe63 2009-01-21 Jb Evain <[email protected]>
* System.Net/WebClient_2_1.cs: use the length of the stream
	instead of the ContentLength that is different for gzipped stream.


svn path=/trunk/mcs/; revision=124097
2009-01-21 19:38:51 +00:00
Chris Toshok 6c78bfa32c 2009-01-21 Chris Toshok <[email protected]>
* WebClient_2_1.cs: add 1 method back in, CancelAsync.


svn path=/trunk/mcs/; revision=124052
2009-01-21 16:17:37 +00:00
Geoff Norton ad4ff0b5b4 2009-01-12 Geoff Norton <[email protected]>
* WebClient_2.1.cs: SL2 webclient supports BaseAddress.

svn path=/trunk/mcs/; revision=123160
2009-01-13 01:11:03 +00:00
Jb Evain 0a1be3c7b8 2008-10-16 Jb Evain <[email protected]>
* WebHeaderCollection_2_1.cs: update to SL2 api.


svn path=/trunk/mcs/; revision=115982
2008-10-16 12:24:27 +00:00
Jb Evain e91bcd21c0 2008-10-16 Jb Evain <[email protected]>
* WebResponse_2_1.cs: update API to SL2.


svn path=/trunk/mcs/; revision=115978
2008-10-16 12:14:57 +00:00
Sebastien Pouliot 18a358e7e0 2008-09-16 Sebastien Pouliot <[email protected]>
* System.Net.dll.sources: Add new security-socket related files.


svn path=/trunk/mcs/; revision=113234
2008-09-16 22:08:48 +00:00
Sebastien Pouliot 4c909bac1d 2008-09-16 Sebastien Pouliot <[email protected]>
* CrossDomainSocketPolicyManager.cs: New.
	* ISocketPolicyManager.cs: New.
	* SocketPolicyAsyncResult.cs: New.
	* SocketPolicyCheckCallback.cs: New.
	* SocketSecurityState.cs: New.

svn path=/trunk/mcs/; revision=113233
2008-09-16 22:08:37 +00:00
Stephane Delcroix 3afb52d085 2.1 profile uses an Address property in OpenReadCompletedEventArgs
svn path=/trunk/mcs/; revision=111252
2008-08-21 11:45:15 +00:00
Stephane Delcroix baacd0e907 enable the DownloadStringAsync code
svn path=/trunk/mcs/; revision=111242
2008-08-21 09:21:16 +00:00
Geoff Norton 1c5be75a6e 2008-08-19 Geoff Norton <[email protected]>
* WebClient_2_1.cs: Keep a reference to the tick callback until its completed.

svn path=/trunk/mcs/; revision=110829
2008-08-18 17:52:10 +00:00
Geoff Norton ccfd0040d1 2008-08-18 Geoff Norton <[email protected]>
* WebRequest_2_1.cs: Set a delegate callback for BrowserHttpWebRequest
        to update progress.
        * WebClient_2_1.cs: Refactor the OnDownloadedChanged method, as its already
        emitting on the right thread.  Clean up the OnOpenReadCompleted method.
        Set a delegate callback for BrowserHttpWebRequest to updated Progress.

svn path=/trunk/mcs/; revision=110707
2008-08-18 03:12:39 +00:00
Geoff Norton 3cf9144179 2008-08-17 Geoff Norton <[email protected]>
* WebRequest_2_1.cs: We support relative URI's now.

svn path=/trunk/mcs/; revision=110696
2008-08-17 21:45:54 +00:00
Geoff Norton 12b444a770 2008-08-14 Geoff Norton <[email protected]>
* WebClient_2_1.cs: A dirty hack to emit the events on the proper thread
        until we can figure out exactly how to leverage Dispatcher over here.

svn path=/trunk/mcs/; revision=110489
2008-08-14 15:42:49 +00:00
Stephane Delcroix 92c3253007 Uncomment some stuffs to allow compilation of Monotone
svn path=/trunk/mcs/; revision=110354
2008-08-13 12:39:16 +00:00
Stephane Delcroix 6a41f0389a Adds an empty WebClient to the 2.1 build
svn path=/trunk/mcs/; revision=110216
2008-08-12 09:31:27 +00:00
Jb Evain c3a6ca6581 doh, once in for all, get those in
svn path=/trunk/mcs/; revision=109565
2008-08-04 14:02:19 +00:00
Jb Evain 32ecf2d2f7 get it right this time
svn path=/trunk/mcs/; revision=109560
2008-08-04 13:21:52 +00:00
Jb Evain 6ca2703b9c oops
svn path=/trunk/mcs/; revision=109559
2008-08-04 13:20:27 +00:00
Jb Evain a6b13fe50f tune some more, remove Permission stuff
svn path=/trunk/mcs/; revision=109558
2008-08-04 13:19:39 +00:00
Jb Evain 289f7e79e0 move SocketException_2_1 to System.Net hopefully fix the build
svn path=/trunk/mcs/; revision=109363
2008-07-31 17:09:15 +00:00
Jb Evain e0e4361e63 cleanup System.ComponentModel for SL2
svn path=/trunk/mcs/; revision=109344
2008-07-31 13:49:49 +00:00
Marek Habersack 62d25aaac9 2008-07-14 Marek Habersack <[email protected]>
* System.Net.dll.sources: added
	System.Net.NetworkInformation/LinuxNetworkInterfaceMarshal.cs

svn path=/trunk/mcs/; revision=107891
2008-07-14 15:38:25 +00:00
Stephane Delcroix 8ac89145b3 reverting unwanted change
svn path=/trunk/mcs/; revision=106460
2008-06-23 21:49:45 +00:00
Jb Evain 5f9d3fa3e9 don't fully qualify name unless necessary
svn path=/trunk/mcs/; revision=106095
2008-06-18 09:41:38 +00:00
Stephane Delcroix 8d314d5927 2008-06-18 Stephane Delcroix <[email protected]>
* WebRequest_2_1.cs: Load BrowserHttpWebRequest from the right assembly

svn path=/trunk/mcs/; revision=106093
2008-06-18 08:52:12 +00:00
Stephane Delcroix d86b565f27 2008-06-10 Stephane Delcroix <[email protected]>
* DnsEndPoint_2_1.cs: embed an IPAddress and rely on IPEndPoint
	for serialization.

svn path=/trunk/mcs/; revision=105430
2008-06-10 13:52:56 +00:00
Stephane Delcroix 03add6df9e adding DnsEndPoint to the sources
svn path=/trunk/mcs/; revision=104897
2008-06-04 17:45:10 +00:00
Stephane Delcroix efa5dec929 2008-06-04 Stephane Delcroix <[email protected]>
* DnsEndPoint_2_1.cs: new DnsEndPoint class for SL2b1

svn path=/trunk/mcs/; revision=104867
2008-06-04 13:56:29 +00:00
Miguel de Icaza 973e5b0bde Update version number for Silverlight 2.0 assemblies
svn path=/trunk/mcs/; revision=102893
2008-05-09 22:26:16 +00:00
Marek Habersack ee34b4c89b added the files from r102790 to the sources list
svn path=/trunk/mcs/; revision=102862
2008-05-09 12:19:38 +00:00
Andreas N efabf7de08 remove duplicates
svn path=/trunk/mcs/; revision=101795
2008-04-25 11:56:40 +00:00
Andreas N a6a0c64a55 2008-04-25 Andreas Nahr <[email protected]>
* AssemblyInfo.cs: Added missing attributes

svn path=/trunk/mcs/; revision=101791
2008-04-25 11:31:56 +00:00
Jb Evain e222075a89 move the System.Net 2.1 specific from System to System.Net
svn path=/trunk/mcs/; revision=100566
2008-04-13 14:37:51 +00:00
Jb Evain 963ccb4ef8 merge back ml2 into trunk
svn path=/trunk/mcs/; revision=100557
2008-04-13 13:47:01 +00:00
Jb Evain e5c3ae0a30 update .sources after last change
svn path=/branches/jb/ml2/mcs/; revision=99761
2008-04-03 15:56:39 +00:00
Jb Evain 99139ecdc2 compile System.Net after last changes
svn path=/branches/jb/ml2/mcs/; revision=99298
2008-03-29 17:39:56 +00:00
Jb Evain 4a6b0bd6e4 share folks from System.Collections in both System and System.Xml
svn path=/branches/jb/ml2/mcs/; revision=99297
2008-03-29 17:08:50 +00:00
Jb Evain 75a02b988a add System.Net
svn path=/branches/jb/ml2/mcs/; revision=99038
2008-03-26 15:35:51 +00:00