Commit Graph
217 Commits
Author SHA1 Message Date
Marcos Henrich 6b9726ed2a Created file UriHelper.cs.
UriHelper has the method Format that escapes or unescapes a string's characters depending on the Scheme, UriKind, UriComponent and UriFormat.
2014-06-29 10:06:22 +01:00
Marek Safar a6dccdaf6d Revert "Merge pull request #981 from methane/websocket"
This reverts commit 62cc262196, reversing
changes made to c1028cf912.
2014-05-23 17:24:45 +02:00
Martin Baulig e49d56e8d1 [Http]: Cleanup chained async operations; bug #19161. 2014-05-21 02:26:48 +02:00
INADA Naoki 7e221721de [websocket] Implement HttpListenerContext.AcceptWebSocketAsync(). 2014-04-07 10:36:03 +09:00
Sebastien Pouliot 43fcd744d0 [SSL/TLS] Expose Client/Server callbacks that can be used to select/reorder SSL/TLS cipher suites used (for client or server) and add unit tests for them [#16327] 2014-02-19 08:51:51 -05:00
Martin Baulig c6a70a9586 Rewrite and fix the web stack's connection reuse and idle logic.
* ServicePoint now uses an idle timer to close idle connections.

* WebConnectionGroup has been mostly rewritten to use a linked
  list of open connections and their idle times.

  This fixes both the problem that we were leaking sockets and
  that we were not reusing existing connections.

* ServicePoint now correctly keeps track of the number of open
  connections.

* ServicePointManager now uses the correct default idle time
  of 100 seconds (previously 15 minutes).

* WebConnection uses the new WebConnectionGroup's busy logic
  to correctly flag connections as busy / reusable.
2014-02-13 14:17:14 +01:00
Martin Baulig dc4eae8d17 Add System.Text.RegularExpressions.Regex timeout APIs. 2013-03-12 17:23:00 -04:00
Martin Baulig 171c946ecd Add System.IO.Compression.FileSystem stubs. 2013-03-12 17:22:59 -04:00
Marek Safar 7ebf04f546 Remove another duplicate type 2013-02-25 21:53:55 +01:00
Marek Safar 0647a5d16b Remove duplicated files from system.dll (saves about 100kb) 2013-02-25 19:10:09 +01:00
Jérémie Laval 6431a69e79 [System] Add System.Net.WebSockets to the build 2013-02-24 20:48:18 +01:00
Marek Safar 37e48013a4 Enable 4.x api for MonoTouch 2012-12-04 18:47:02 +01:00
Kevin Daub 6fc12d7e20 [API] Added missing .Net 4.5 interface and dependent class 2012-09-09 03:53:06 -04:00
Vinicius Jarina 0090a053dd Removed RegularExpressions dependency from UriParser 2012-06-17 19:11:46 -03:00
Sebastien Pouliot 99b5076786 Add System.Windows.Input.ICommand which is part of 4.5 and the portable class libraries 2012-05-10 08:45:12 -04:00
Jeffrey Stedfast 197498d047 [System.Net.WebRequest] Implemented new and improved proxy support on Mac/iOS 2012-05-08 18:31:05 -04:00
Marek Safar 099d9e7fcc Add some 4.5 api 2011-12-07 18:34:26 +00:00
Gonzalo Paniagua Javier c9715e17d2 Rename namespace to Mono.Net.Dns 2011-10-08 11:07:03 -04:00
Gonzalo Paniagua Javier fdd5f1d332 Add support for an alternative managed DNS resolver
The System.Net.Dns class will now use a fully managed implementation of
	a DNS resolver which is much better when doing multiple queries at a
	time.
2011-10-08 00:48:12 -04:00
Marek Safar c68fa87950 Add async methods to System.Net.Sockets 2011-10-07 10:11:28 +01:00
Jérémie Laval bb18a48f32 Update System build too 2011-08-20 17:53:07 +02:00
Jeffrey Stedfast 7715de7ad9 Implemented a shared way to do MacOSX detection in System.dll 2011-07-05 17:52:25 -04:00
Miguel de Icaza 5b065d9878 [sockets] Implement DuplicateAndClose and Socket (SocketInformation) constructor for in-process socket passing (AppDomains) 2011-01-20 16:53:41 -05:00
Sebastien Pouliot 27c2fe35b0 Refactoring to ease fix cookie support in moonlight client stack
* System.Net/CookieParser.cs: Add more common/shared code
* System.Net/HttpWebResponse.cs: Move out CookieParser class and some
utility methods so they can be shared with Moonlight http client stack

* System.dll.sources:
* mobile_System.dll.sources:
* moonlight_shared_System.dll.sources:
	Add new CookieParser.cs to the build
2010-11-05 14:39:31 -04:00
Atsushi Eno fec3b9c50b ExtendedProtection Configuration types are also used in WCF 4.0. 2010-10-20 17:24:51 +09:00
Atsushi Eno 82f4a20b24 Add System.Security.Authentication.ExtendedProtection stubs, referenced by WCF 4.0. 2010-10-20 16:26:07 +09:00
Carlos Alberto Cortez b636af7f7c Add IDesignerLoaderHost2.cs to our build.
* System.dll.sources: Add IDesignerLoaderHost2.cs to our build.
2010-09-21 03:01:51 +02:00
Carlos Alberto Cortez 40702ce451 Add IDesignerHostTransactionState.cs and TypeDescriptionProviderService.cs to our build.
* System.dll.sources: Add IDesignerHostTransactionState.cs and
	TypeDescriptionProviderService.cs to our build.
2010-09-21 03:01:51 +02:00
Carlos Alberto Cortez f2c30f6de9 Add DateTimeOffsetConverter.cs and DateTimeOffsetConverterTests.cs to our build.
* System.dll.sources: Add DateTimeOffsetConverter.cs.
	* System_test.dll.sources: Add DateTimeOffsetConverterTests.cs.
2010-09-07 04:48:40 +02:00
Jérémie Laval 4804017744 Update file hierarchy change in System too 2010-08-17 23:34:27 +01:00
Jérémie Laval 95606933a5 Add BarrierPostPhaseException and use it when executing post-phase delegate in Barrier. 2010-08-13 14:19:05 +01:00
Marek Habersack bd37d2ac96 2010-04-29 Marek Habersack <[email protected]>
* System.Security.Authentication.ExtendedProtection/ChannelBinding.cs:
	added

2010-04-29  Marek Habersack  <[email protected]>

	* HttpRequest.cs:
	Added the HttpChannelBinding 4.0 property

svn path=/trunk/mcs/; revision=156693
2010-05-05 00:43:37 +00:00
Jb Evain 6d3f17210f add ExcludeFromCodeCoverageAttribute
svn path=/trunk/mcs/; revision=154847
2010-04-06 14:56:10 +00:00
Jb Evain fd3c38d352 move FrameworkName from corlib to System
svn path=/trunk/mcs/; revision=154845
2010-04-06 14:31:59 +00:00
Jb Evain aecfa48019 2010-04-01 Jb Evain <[email protected]>
* System.dll.sources: add SortedSet to the build.


svn path=/trunk/mcs/; revision=154653
2010-04-01 17:06:23 +00:00
Gonzalo Paniagua Javier e7528a2e37 Moved chain building and validation from Mono.Security to System
to better support the 2.0 validation callback.


svn path=/trunk/mcs/; revision=153443
2010-03-11 06:02:08 +00:00
Mike Kestner a3126ce34c 2010-01-29 Mike Kestner <[email protected]>
* System.dll.sources: add System.Net/WebUtility.cs.
	* System_test.dll.sources: add WebUtilityTest.cs to tests.

svn path=/trunk/mcs/; revision=150571
2010-01-29 20:44:06 +00:00
Sebastien Pouliot f2a2bf9ffb move DnsEndPoint to ease 4.0
svn path=/trunk/mcs/; revision=147700
2009-12-04 20:16:55 +00:00
Marek Safar 1bad3c9e1b 2009-12-03 Marek Safar <[email protected]>
* BlockingCollection.cs, ConcurrentBag.cs: Updated to Beta 2 API.


svn path=/trunk/mcs/; revision=147544
2009-12-03 10:36:22 +00:00
Miguel de Icaza d90afad63e 2009-11-02 Miguel de Icaza <[email protected]>
* Copy some collections from WindowsBase here for 4.0 support.

Add a handful of methods from 4.0 as well


svn path=/trunk/mcs/; revision=145180
2009-11-02 06:25:38 +00:00
Marek Safar 4420b773d7 2009-10-20 Marek Safar <[email protected]>
* SortedList.cs, LinkedList.cs, Queue.cs, Stack.cs,
	SortedDictionary.cs: Improve debugging experience.


svn path=/trunk/mcs/; revision=144438
2009-10-20 10:34:39 +00:00
Gonzalo Paniagua Javier dc22fd5a2b 2009-08-26 Gonzalo Paniagua Javier <[email protected]>
* System.dll.sources:
	* monotouch_System.dll.sources:
	* System20.csproj: add Mono.Http/NtmlClient.cs

	* Mono.Http/ChangeLog: New file.
	* Mono.Http/NtlmClient.cs: copied from Mono.Http.
	* System.Net/NtlmClient.cs: use Mono.Http.NtmlClient from System
	instead of dynamically loading the one in Mono.Http.


svn path=/trunk/mcs/; revision=140690
2009-08-26 06:53:55 +00:00
Jérémie Laval 9bf30cecff 2009-08-11 Jérémie Laval <[email protected]>
* Update unit tests
    * Moved BlockingCollection and Barrier in System.dll (with assorted fixes)
    * Fix wrong signature in TaskFactory<T>
    * Update .dll.sources files
    * Move AggregateException in System namespace
    * Remove While in Parallel
    * Correct Wait(CancellationToken) signature in CountdownEvent
    * update corlib.dll.sources

svn path=/trunk/mcs/; revision=139727
2009-08-11 18:47:31 +00:00
Gonzalo Paniagua Javier c66cf64fec moved
svn path=/trunk/mcs/; revision=138304
2009-07-21 15:31:41 +00:00
Marek Habersack 1821e106c7 2009-06-22 Marek Habersack <[email protected]>
* WeakObjectWrapper.cs, WeakObjectWrapperComparer.cs: added - used
	by TypeDescriptor for storage of type description providers.

	* TypeDescriptor.cs: implemented part of the 2.0+ API which deals
	with adding/removing/getting type description providers.

	* AttributeCollection.cs: do not throw NREX when attrList is
	null in Count.

2009-06-22  Marek Habersack  <[email protected]>

	* TypeDescriptorTests.cs: added tests for 2.0+ APIs which deal
	with adding/removing/getting type description providers.

svn path=/trunk/mcs/; revision=136634
2009-06-22 18:24:19 +00:00
Gonzalo Paniagua Javier 84c05c6666 new files
svn path=/trunk/mcs/; revision=136440
2009-06-18 20:32:19 +00:00
Miguel de Icaza 9f53a9fd85 2009-05-16 Miguel de Icaza <[email protected]>
* Apply patch from Alex Shulgin
	<[email protected]> to support OSX in
	NetworkInformation classes.

svn path=/trunk/mcs/; revision=134277
2009-05-16 18:03:09 +00:00
Sebastien Pouliot 68dd206d83 In System.Net.Sockets:
2009-04-09  Sebastien Pouliot  <[email protected]>

	* Socket.cs: Split socket class into two files (this one and the
	new Socket_2_1.cs). This let us remove (some) existing #if in the
	sources and avoid (a lot) of new ones for Moonlight.
	* Socket_2_1.cs: Just enough of socket for NET_2_1. This helps
	the tuner not to bring a lot of extra stuff (some visible)
	into Moonlight.
	* SocketAsyncEventArgs.cs: Ifdef out some cases for NET_2_1 so 
	Moonlight can use it's own (smaller) SocketAsyncOperation enum

In .:
2009-04-09  Sebastien Pouliot  <[email protected]>

	* System.dll.sources: Add System.Net.Sockets/Socket_2_1.cs


svn path=/trunk/mcs/; revision=131392
2009-04-09 15:06:42 +00:00
Raja R Harinath 3fc2b36b7b * IUriData.cs, UriData.cs: New. Initial cut at UriParser protocol.
svn path=/trunk/mcs/; revision=126358
2009-02-09 18:13:30 +00:00
Marek Habersack 8d78815a10 2008-07-14 Marek Habersack <[email protected]>
* NetworkInterface.cs: implemented support for Linux. Parts
	contributed by Eric Butler ([email protected]), thanks!

	* GatewayIPAddressInformationCollection.cs,
	IPInterfaceProperties.cs, IPAddressInformationCollection.cs: added
	support for Linux. Patch contributed by Eric Butler
	([email protected]), thanks!

	* IPv4InterfaceProperties.cs: implemented support for Linux.

	* LinuxNetworkInterfaceMarshal.cs: added. Contains a set of
	Linux-specific structures required for accessing the network
	information. Patch contributed by Eric Butler
	([email protected]), thanks!

	* MulticastIPAddressInformation.cs: added support for Linux
	multicast information. Patch contributed by Eric Butler
	([email protected]), thanks!

	* IPv4InterfaceStatistics.cs: use the parent IfacePath to get the
	path to the interface description file.

	* UnicastIPAddressInformation.cs: added stubs for
	LinuxUnicastIPAddressInformation. Patch contributed by Eric Butler
	([email protected]), thanks!

	* Ping.cs: Use /bin/ping when running as non-root user
	(implementation by Jackson Harper <[email protected]>) or use
	raw sockets if running as root or if the current process has the
	CAP_NET_RAW Linux capability set while running as an unprivileged
	user.


svn path=/trunk/mcs/; revision=107890
2008-07-14 15:37:21 +00:00