Commit Graph
46 Commits
Author SHA1 Message Date
Miguel de Icaza f48ceb9860 [System] Removal of the NET_2_0 in the source code
Modulo the GUID in the assembly and the GUID embedded in some
field initializers that use the assembly GUID for their name, the
assemblies are idential before and after the patch.
2012-06-02 13:16:40 -04:00
QuickJack c54d701db4 Edited mcs/class/System/System.Net.Configuration/BypassElement.cs via GitHub 2011-10-11 14:24:44 +03:00
QuickJack fd7ef08ee9 Edited mcs/class/System/System.Net.Configuration/ProxyElement.cs via GitHub 2011-10-11 14:23:12 +03:00
Gonzalo Paniagua Javier 97704e7322 Add support for EnableSsl in smtp config.
Ditto.
	Fixes bug #644816.
2010-10-08 00:40:18 -04:00
Raja R Harinath cd51491631 Fix a few cases of mixed line-endings
This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller.  I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.
2010-07-26 02:20:13 +05:30
Raja R Harinath b293948fb7 EOL handling
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.

With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2010-07-25 20:17:39 +05:30
Miguel de Icaza 2be93c0df1 2009-12-11 Miguel de Icaza <[email protected]>
* SmtpClient.cs: Add half-implemented feature, TargetName for the
	SPN SMTP system.

svn path=/trunk/mcs/; revision=148093
2009-12-11 06:22:59 +00:00
Gonzalo Paniagua Javier c773276d4a 2009-11-23 Gonzalo Paniagua Javier <[email protected]>
* ConnectionManagementElement.cs: bump maxconnection to 6.


svn path=/trunk/mcs/; revision=146786
2009-11-24 00:32:37 +00:00
Gonzalo Paniagua Javier 6fa547ff4f 2009-09-15 Gonzalo Paniagua Javier <[email protected]>
* System.Net.Configuration/DefaultProxyHandler.cs:
	* System.Net/WebRequest.cs: handle upper and lowercase HTTP_PROXY and
	the Any address.
	Fixes bug #537283.


svn path=/trunk/mcs/; revision=141981
2009-09-15 18:47:01 +00:00
Marek Safar 039fb7a64a 2009-06-05 Marek Safar <[email protected]>
* NetConfigurationHandler.cs, DefaultProxyHandler.cs, 
	NetAuthenticationModuleHandler.cs, ConnectionManagementHandler.cs,
	WebRequestModuleHandler.cs: Always build
	IConfigurationSectionHandler.


svn path=/trunk/mcs/; revision=135529
2009-06-05 14:21:49 +00:00
Atsushi Eno 00f058498c 2007-11-13 Atsushi Enomoto <[email protected]>
* SmtpNetworkElement.cs, SmtpSection.cs : added missing 2,0 stuff.


svn path=/trunk/mcs/; revision=89540
2007-11-13 10:21:58 +00:00
Atsushi Eno 93ada14efb 2007-11-07 Atsushi Enomoto <[email protected]>
* SmtpNetworkElement.cs : default UserName is null.
	  Fixed bug #323272.


svn path=/trunk/mcs/; revision=89071
2007-11-07 08:25:10 +00:00
Konstantin Triger 01fc0f59f0 Use invariant culture for string comparing
svn path=/trunk/mcs/; revision=75914
2007-04-19 10:13:35 +00:00
Geoff Norton 4f8702749b 2007-02-18 Geoff Norton <[email protected]>
* AuthenticationModulesSection.cs: Remove NotImpl from
          InitializeDefault ().


svn path=/trunk/mcs/; revision=73228
2007-02-21 01:22:40 +00:00
David Elkind 05f9e3da79 * SmtpSection.cs : Removed unnecessary initialization
* SmtpNetworkElement.cs : Removed unnecessary initialization

svn path=/trunk/mcs/; revision=69280
2006-12-10 15:45:04 +00:00
Marek Safar f55d328a2f Warnings.
svn path=/trunk/mcs/; revision=65836
2006-09-23 18:43:01 +00:00
Atsushi Eno 193e756916 2006-05-09 Atsushi Enomoto <[email protected]>
* GlobalProxySelection.cs : if corresponding config section is
	  DefaultProxySection then use it.

	* DefaultProxySection.cs :
	  remove NotImpl from PostDeserialize() and Reset().

	  (ditto).


svn path=/trunk/mcs/; revision=60457
2006-05-09 17:36:51 +00:00
Atsushi Eno 187a797371 2006-05-09 Atsushi Enomoto <[email protected]>
* WebRequest.cs : if corresponding config section is
	  WebRequestModulesSection then use it.

	* WebRequestModulesSection.cs :
	  don't throw NotImpl in InitializeDefault().
	* WebRequestModuleElement.cs :
	  TypeTypeConverter -> TypeConverter and uncomment it.
	* WebRequestModuleElementCollection.cs :
	  element is WebRequestModuleElement in GetElementKey().

	Similarly no actual config change yet.


svn path=/trunk/mcs/; revision=60456
2006-05-09 17:24:59 +00:00
Atsushi Eno b7e686bce8 2006-05-09 Atsushi Enomoto <[email protected]>
* ServicePointManager.cs : if corresponding config section is
	  ConnectionManagementSection then use it.

	* ConnectionManagementHandler.cs : (ConnectionManagementData) add
	  Add(string,int) overload so that it could be used with
	  ConnectionManagementSection seamlessly.
	* ConnectionManagementElementCollection.cs :
	  create ConnectionManagementElement. in CreateNewElement().
	  remove extra MonoTODO as it does not (well, won't) happen anymore.

	The actual configuration file change will follow in the later stage
	since it needs changes in ConfigurationSettings and sys.conf.dll.


svn path=/trunk/mcs/; revision=60454
2006-05-09 17:11:42 +00:00
Chris Toshok d70d8f07ee 2005-12-14 Chris Toshok <[email protected]>
* MailSettingsSectionGroup.cs, PerformanceCountersElement.cs,
	SmtpNetworkElement.cs, SmtpSection.cs,
	SmtpSpecifiedPickupDirectoryElement.cs, WebProxyScriptElement.cs:
	add missing 2.0 configuration classes.

	* AuthenticationModulesSection.cs, BypassElementCollection.cs,
	HttpCachePolicyElement.cs, NetSectionGroup.cs,
	ServicePointManagerElement.cs, SettingsSection.cs,
	SocketElement.cs, WebRequestModuleElementCollection.cs,
	WebRequestModuleElement.cs, WebRequestModulesSection.cs: more 2.0
	config cleanup work.

	* MailSettingsSection.cs, SmtpElement.cs,
	UriParserElementCollection.cs, UriParserElement.cs,
	UriParserSection.cs: remove these 2.0 classes as they aren't there
	anymore.


svn path=/trunk/mcs/; revision=54431
2005-12-15 00:51:25 +00:00
Chris Toshok 4782e999da 2005-12-13 Chris Toshok <[email protected]>
* AuthenticationModuleElementCollection.cs,
	AuthenticationModuleElement.cs, AuthenticationModulesSection.cs,
	BypassElementCollection.cs, BypassElement.cs,
	ConnectionManagementElementCollection.cs,
	ConnectionManagementElement.cs, ConnectionManagementSection.cs,
	DefaultProxySection.cs, FtpCachePolicyElement.cs,
	HttpCachePolicyElement.cs, HttpWebRequestElement.cs,
	Ipv6Element.cs, ModuleElement.cs, NetSectionGroup.cs,
	ProxyElement.cs, RequestCachingSection.cs: 2.0 config cleanup work.


svn path=/trunk/mcs/; revision=54335
2005-12-14 01:11:03 +00:00
Gonzalo Paniagua Javier da92cc320f patch by Michael Hutchinson to use the environment variable http_proxy
svn path=/trunk/mcs/; revision=53236
2005-11-18 16:14:18 +00:00
Gert Driesen 8b7f0e276f * HttpWebRequestElement.cs: Added missing properties and attributes.
* HttpWebRequestElementTest.cs: Added test for default values.
* System_test.dll.sources: Added HttpWebRequestElementTest.cs from 
Test/System.Net.Configuration.

svn path=/trunk/mcs/; revision=51883
2005-10-18 19:24:59 +00:00
Gonzalo Paniagua Javier 8b312d842a 2005-10-18 Gonzalo Paniagua Javier <[email protected]>
* NetConfigurationHandler.cs: new attribute 'useUnsafeHeaderParsing'.
	It's value is ignored. Fixes bug #76442.


svn path=/trunk/mcs/; revision=51863
2005-10-18 13:52:23 +00:00
Raja R Harinath 7adde8e6f6 * HttpCachePolicyElement.cs: Fix compilation with mcs 1.0.
CONFIGURATION_DEP implies XML_DEP.

svn path=/trunk/mcs/; revision=47910
2005-08-02 12:02:16 +00:00
Raja R Harinath b58c3a1ee9 In System.Configuration:
* ConfigurationSettings.cs (ConnectionStrings): Change XML_DEP
	guard to CONFIGURATION_DEP.

In System.Net.Configuration:
	* HttpCachePolicyElement.cs: Add CONFIGURATION_DEP guard.
	* AuthenticationModuleElementCollection.cs: Replace XML_DEP guard
	with CONFIGURATION_DEP.
	* AuthenticationModuleElement.cs: Likewise.
	* AuthenticationModulesSection.cs: Likewise.
	* BypassElementCollection.cs: Likewise.
	* BypassElement.cs: Likewise.
	* ConnectionManagementElementCollection.cs: Likewise.
	* ConnectionManagementElement.cs: Likewise.
	* ConnectionManagementSection.cs: Likewise.
	* DefaultProxySection.cs: Likewise.
	* HttpWebRequestElement.cs: Likewise.
	* Ipv6Element.cs: Likewise.
	* MailSettingsSection.cs: Likewise.
	* ModuleElement.cs: Likewise.
	* NetSectionGroup.cs: Likewise.
	* ProxyElement.cs: Likewise.
	* RequestCachingSection.cs: Likewise.
	* ServicePointManagerElement.cs: Likewise.
	* SettingsSection.cs: Likewise.
	* SmtpElement.cs: Likewise.
	* SocketElement.cs: Likewise.
	* UriParserElementCollection.cs: Likewise.
	* UriParserElement.cs: Likewise.
	* UriParserSection.cs: Likewise.
	* WebRequestModuleElementCollection.cs: Likewise.
	* WebRequestModuleElement.cs: Likewise.
	* WebRequestModulesSection.cs: Likewise.

svn path=/trunk/mcs/; revision=46935
2005-07-05 10:51:51 +00:00
Ben Maurer b27c8e1534 remove .cvsignore from everywhere, as it is useless on svn
svn path=/trunk/mcs/; revision=46564
2005-06-27 15:55:58 +00:00
Ben Maurer 0e8decdb37 remove svn:executable from .cs files
svn path=/trunk/mcs/; revision=46562
2005-06-27 15:51:40 +00:00
Lluis Sanchez 96cd939d99 2005-06-15 Lluis Sanchez Gual <[email protected]>
* HttpCachePolicyElement.cs:
	* SmtpElement.cs: Track 2.0 API changes.


svn path=/trunk/mcs/; revision=46061
2005-06-15 17:46:18 +00:00
Lluis Sanchez c80e110fc4 2005-06-14 Lluis Sanchez Gual <[email protected]>
* SettingsSection.cs, UriParserElement.cs, MailSettingsSection.cs,
	  RequestCachingSection.cs, SmtpElement.cs, AuthenticationModulesSection.cs,
	  Ipv6Element.cs, ModuleElement.cs, AuthenticationModuleElement.cs,
	  UriParserSection.cs, SocketElement.cs, ConnectionManagementElement.cs,
	  WebRequestModuleElement.cs, DefaultProxySection.cs, BypassElement.cs,
	  ServicePointManagerElement.cs, ConnectionManagementSection.cs,
	  ProxyElement.cs, HttpCachePolicyElement.cs, HttpWebRequestElement.cs,
	  WebRequestModulesSection.cs:
	  Changed properties from "internal protected" to "protected", since
	  configuration classes have been moved to a new assembly.


svn path=/trunk/mcs/; revision=45953
2005-06-14 11:29:48 +00:00
Gonzalo Paniagua Javier 1d9c9e2441 Fix warnings
svn path=/trunk/mcs/; revision=43368
2005-04-21 00:47:25 +00:00
Martin Baulig 44b53b07fc Small workaround for a bug.
svn path=/trunk/mcs/; revision=35112
2004-10-18 22:15:14 +00:00
Raja R Harinath 97553bb62e cvs ignores, sorry about the spam
svn path=/trunk/mcs/; revision=33874
2004-09-14 09:59:51 +00:00
Tim Coleman f71a1bd1cf 2004-09-10 Tim Coleman <[email protected]>
* Add XML_DEP to all sources.

svn path=/trunk/mcs/; revision=33733
2004-09-10 22:08:21 +00:00
Tim Coleman 38d8ff2fd7 2004-09-10 Tim Coleman <[email protected]>
* AuthenticationModuleElement.cs AuthenticationModuleElementCollection.cs
        * AuthenticationModulesSection.cs BypassElement.cs BypassElementCollection.cs
        * ConnectionManagementElement.cs ConnectionManagementElementCollection.cs
        * ConnectionManagementSection.cs DefaultProxySection.cs
        * HttpCachePolicyElement.cs HttpWebRequestElement.cs
        * Ipv6Element.cs MailSettingsSection.cs ModuleElement.cs
        * NetSectionGroup.cs ProxyElement.cs RequestCachingSection.cs
        * ServicePointManagerElement.cs SettingsSection.cs SmtpElement.cs
        * SocketElement.cs UriParserElement.cs UriParserElementCollection.cs
        * UriParserSection.cs WebRequestModuleElement.cs
        * WebRequestModuleElementCollection.cs WebRequestModulesSection.cs:
                New classes for Fx 2.0

svn path=/trunk/mcs/; revision=33725
2004-09-10 19:47:45 +00:00
Duncan Mak 24f5ef2c44 Add MIT license to System.dll
svn path=/trunk/mcs/; revision=30054
2004-06-21 18:02:11 +00:00
Gonzalo Paniagua Javier 6cf50976b3 2004-06-15 Gonzalo Paniagua Javier <[email protected]>
* DefaultProxyHandler.cs: removed Console.WriteLine's.

svn path=/trunk/mcs/; revision=29568
2004-06-15 03:55:58 +00:00
Gonzalo Paniagua Javier ec49116c9e 2004-05-13 Gonzalo Paniagua Javier <[email protected]>
* System.Net/HttpWebRequest.cs: added 3 missing properties for 1.1. They
	are not used yet.

	* System.Net/NetConfig.cs: added MaxResponseHeadersLength field.

	* System.Net/ServicePoint.cs:
	* System.Net/ServicePointManager.cs: added missing properties for 1.1.

	* System.Net.Configuration/NetConfigurationHandler.cs: process the
	httpWebRequest node too. Better error checking.

svn path=/trunk/mcs/; revision=27211
2004-05-13 02:26:55 +00:00
Marek Safar 69e8f23c41 2004-02-04 Marek Safar <[email protected]>
* Makefile: Build System.dll in two steps. Because of the circular
        dependency with System.XML.dll.

svn path=/trunk/mcs/; revision=22761
2004-02-04 08:30:20 +00:00
Gonzalo Paniagua Javier d3f150312d 2003-10-09 Gonzalo Paniagua Javier <[email protected]>
* System.Net/ServicePoint.cs: preparing for recycling. Not yet finished.
	* System.Net/ServicePointManager.cs: this is the one that reads config.
	* System.Net/WebConnectionGroup.cs: don't read config here.
	* System.Net/WebConnection.cs: added the queue again. Launch queued
	requests on error.
	* System.Net.Configuration/ConnectionManagementHandler.cs: the hashtable
	is case insensitive now.

svn path=/trunk/mcs/; revision=18788
2003-10-09 03:31:08 +00:00
Gonzalo Paniagua Javier 88b5e403bc 2003-10-08 Gonzalo Paniagua Javier <[email protected]>
* System.Net/WebConnection.cs: the queue is now handled by the
	threadpool. Initialize the connection data in a place where it does not
	depend on the execution order of the requests in threadpool. More error
	handling.

	* System.Net/WebConnectionGroup.cs: use the limits in the config file
	and reuse connections when the limit is reached.

	* System.Net.Configuration/ConnectionManagementHandler.cs: added
	GetMaxConnections to return the max. number of simultaneous connections
	to a given host.

svn path=/trunk/mcs/; revision=18735
2003-10-08 02:45:25 +00:00
Jerome Laban 32ab64c093 2003-07-14 Jerome Laban <[email protected]>
* NetConfigurationHandler.cs: New file that handles
        system.net/settings

svn path=/trunk/mcs/; revision=16216
2003-07-14 16:01:37 +00:00
Gonzalo Paniagua Javier f67c16ea74 2003-06-13 Gonzalo Paniagua Javier <[email protected]>
* System.Net/AuthenticationManager.cs: get the list of authentication
	modules from the configuration files. Added Clear and fixed Unregister.

	* System.Net/BasicClient.cs: fully implemented.

	* System.Net/HttpWebRequest.cs: added support for Basic authentication
	when credentials are set.

	* System.Net/NetworkCredential.cs: fixed GetCredential.

	* System.Net.Configuration/NetAuthenticationModuleHandler.cs: register
	the modules using AuthenticationManager.

svn path=/trunk/mcs/; revision=15367
2003-06-13 16:01:42 +00:00
Gonzalo Paniagua Javier ca0ecfd1a2 2003-06-06 Gonzalo Paniagua Javier <[email protected]>
* list.unix: added files.

	* System.Net/FileWebRequestCreator.cs: splitted from WebRequest.
	* System.Net/HttpRequestCreator.cs: splitted fromWebRequest.
	* System.Net/WebRequest.cs: added methods that are used by the new
	configuration handler to set prefix/type name requests creators.

	* System.Net.Configuration/WebRequestModuleHandler.cs: handles
	system.net/webRequestModules configuration section.

svn path=/trunk/mcs/; revision=15160
2003-06-06 16:15:21 +00:00
Gonzalo Paniagua Javier cc8432099d Reworked HttpWebRequest and related classes.
svn path=/trunk/mcs/; revision=15149
2003-06-06 06:57:36 +00:00
Gonzalo Paniagua Javier 13c51db2b2 added new handler for machine.config
svn path=/trunk/mcs/; revision=14411
2003-05-09 00:00:16 +00:00