Commit Graph
104 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier 419ac35cf5 2005-07-28 Gonzalo Paniagua Javier <[email protected]>
* MachineKeyConfigHandler.cs:
	* MachineKeyConfig.cs: removed unused property. The CryptoGod has spoken
	and told me to use RandomNumberGenerator.Create to let the
	implementation choose the generator.


svn path=/trunk/mcs/; revision=47817
2005-07-28 18:32:14 +00:00
Eyal Alalouf b902e05323 Fixed loading of web.config for TARGET_J2EE.
svn path=/trunk/mcs/; revision=47661
2005-07-25 17:54:50 +00:00
Eyal Alalouf 5cfad21337 TARGET_J2EE ifdef reorder for readability
svn path=/trunk/mcs/; revision=47656
2005-07-25 14:47:38 +00:00
Gonzalo Paniagua Javier 61c2ee478d 2005-07-25 Gonzalo Paniagua Javier <[email protected]>
* MachineKeyConfigHandler.cs: removed unused code. Use
	MachineKeyValidation.
	* MachineKeyValidation.cs: made internal for 1.1 and added AES.
	* MachineKeyConfig.cs: new property to return 24 bits needed for 3DES.
	fix typo from last patch ('AutoGenerate'). Made the keys different when
	both are autogenerated.


svn path=/trunk/mcs/; revision=47626
2005-07-25 05:50:07 +00:00
Gonzalo Paniagua Javier 779c1a3c3c 2005-07-24 Gonzalo Paniagua Javier <[email protected]>
* MachineKeyConfigHandler.cs:
	* MachineKeyConfig.cs: patch from Miguel that moves code from
	MachineKeyConfigHandler to MachineKeyConfig.


svn path=/trunk/mcs/; revision=47621
2005-07-24 23:25:22 +00:00
Eyal Alalouf 5d2b0b63b8 Making simple web app work with Grasshopper from svn.
svn path=/trunk/mcs/; revision=47610
2005-07-24 16:36:14 +00:00
Eyal Alalouf aab69ac325 TARGET_J2EE compilation & integration fixes.
svn path=/trunk/mcs/; revision=47416
2005-07-19 16:13:51 +00:00
Miguel de Icaza e149cbf0ec Simpliferoo
svn path=/trunk/mcs/; revision=47290
2005-07-14 00:32:11 +00:00
Lluis Sanchez 28443c48c2 2005-07-01 Lluis Sanchez Gual <[email protected]>
* MembershipSection.cs: Implemented.
	* SiteMapSection.cs: Define properties using attributes.
	* AnonymousIdentificationSection.cs: Define properties using attributes.
	* WebConfigurationManager.cs: return the correct base path for the
	  root path.
	* IRemoteWebConfigurationHostServer.cs: Fixed method signatures.
	* WebConfigurationHost.cs: Added the machine web.config to the web.config
	file chain. Several fixes in the chain order. Implemented 
	IsDefinitionAllowed and VerifyDefinitionAllowed.

	* VirtualDirectoryMappingCollection.cs:
	* WebConfigurationFileMap.cs:
	* AdapterDictionary.cs:
	* AuthenticationSection.cs:
	* AssemblyCollection.cs:
	* AssemblyInfo.cs: Minor api fixes.
	

svn path=/trunk/mcs/; revision=46848
2005-07-01 18:33:14 +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
Gonzalo Paniagua Javier 8e210c3e61 2005-06-25 Gonzalo Paniagua Javier <[email protected]>
* HandlerItem.cs: the path matches 'path\z', as the previous '\Apath\z'
	failed for 'dir/*.ext'.


svn path=/trunk/mcs/; revision=46493
2005-06-25 13:16:01 +00:00
Lluis Sanchez 63aa2b250f 2005-06-23 Lluis Sanchez Gual <[email protected]>
* VirtualDirectoryMapping.cs: Implemented.
	* WebConfigurationManager.cs: Initial implementation.
	* VirtualDirectoryMappingCollection.cs: Implemented.
	* WebConfigurationFileMap.cs: Implemented.
	* WebConfigurationHost.cs: Initial implementation of class
	that supports IInternalConfigHost.



svn path=/trunk/mcs/; revision=46445
2005-06-23 17:52:49 +00:00
Ilya Kharmatsky 46de751dfc svn path=/trunk/mcs/; revision=46208 2005-06-19 09:28:06 +00:00
Lluis Sanchez 25ebabf4e5 2005-06-15 Lluis Sanchez Gual <[email protected]>
* CodeSubDirectory.cs:
	* ExpressionBuilder.cs:
	* AssemblyInfo.cs:
	* BuildProviderCollection.cs:
	* ExpressionBuilderCollection.cs:
	* CodeSubDirectoriesCollection.cs:
	* AnonymousIdentificationSection.cs: Track 2.0 api changes
	in System.Configuration.


svn path=/trunk/mcs/; revision=46064
2005-06-15 17:47:31 +00:00
Gonzalo Paniagua Javier de7ae6a57c 2005-06-13 Gonzalo Paniagua Javier <[email protected]>
* GlobalizationConfigurationHandler.cs: when an attribute is not
	provided, don't assing Encoding.Default to it, as we might override
	parent's settings.


svn path=/trunk/mcs/; revision=45928
2005-06-14 00:28:11 +00:00
Ben Maurer 2a81dac63f locking fixes
svn path=/trunk/mcs/; revision=45085
2005-05-26 23:06:52 +00:00
Gonzalo Paniagua Javier 098c822c43 2005-05-04 Gonzalo Paniagua Javier <[email protected]>
* CompilationConfiguration.cs: throw if we cannot load the type given
	in the configuration file.


svn path=/trunk/mcs/; revision=44049
2005-05-04 21:07:27 +00:00
Gonzalo Paniagua Javier 8eb9c3d0f3 Use CultureInfo.DefaultInvariant instead of just the Default
svn path=/trunk/mcs/; revision=43643
2005-04-27 07:39:34 +00:00
Gonzalo Paniagua Javier 8569a7ab5c 2005-04-25 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Configuration/CompilerCollection.cs: added CompareLanguages
	method.
	* System.Web.Compilation/AspGenerator.cs: when checking languages, try
	to match other aliases too (ie, 'cs' == 'c#').


svn path=/trunk/mcs/; revision=43567
2005-04-26 00:05:03 +00:00
Gonzalo Paniagua Javier 197f824568 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Configuration/CompilationConfigurationHandler.cs: ensure
	TempDirectory is not empty before assigning it. Don't mangle the
	assembly names provided.

	* System.Web.Configuration/CompilationConfiguration.cs: use DynamicBase
	as the temp directory instead of Path.GetTempPath.

	* System.Web.UI/SimpleWebHandlerParser.cs:
	* System.Web.UI/TemplateParser.cs: always get the location (full path)
	for assemblies, even the ones from the GAC.

	* System.Web.Compilation/BaseCompiler.cs: check that DynamicBase
	directory exists before creating the TempFileCollection.

	The changes related to assembly names fix bug number #74500.


svn path=/trunk/mcs/; revision=43462
2005-04-22 20:34:00 +00:00
Gonzalo Paniagua Javier 445ccdc1bb 2005-04-20 Gonzalo Paniagua Javier <[email protected]>
* ModuleItem.cs:
	* GlobalizationConfigurationHandler.cs:
	* WebConfigurationSettings.cs:
	* CustomErrorsConfigHandler.cs:
	* PagesConfigurationHandler.cs:
	* WebControlsSectionHandler.cs:
	* AuthorizationConfigHandler.cs: removed warnings.


svn path=/trunk/mcs/; revision=43361
2005-04-20 22:19:43 +00:00
Gonzalo Paniagua Javier 1ab40e42af 2005-03-16 Gonzalo Paniagua Javier <[email protected]>
* CompilerCollection.cs:
	* CompilationConfigurationHandler.cs:
	* Compiler.cs:
	* CompilationSection.cs:
	* CompilationConfiguration.cs: reverted last patch and/or disable code
	until the whole config system is migrated to 2.0. Fixes bug #73736.


svn path=/trunk/mcs/; revision=41924
2005-03-17 00:31:49 +00:00
Gonzalo Paniagua Javier ee4fb18353 2005-03-14 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: added new files in System.Web.Configuration.

	* System.Web.Configuration/CodeSubDirectoriesCollection.cs:
	* System.Web.Configuration/ExpressionBuilderCollection.cs:
	* System.Web.Configuration/BuildProviderCollection.cs:
	* System.Web.Configuration/CompilerCollection.cs:
	* System.Web.Configuration/CompilationConfigurationHandler.cs:
	* System.Web.Configuration/ExpressionBuilder.cs:
	* System.Web.Configuration/Compiler.cs:
	* System.Web.Configuration/CompilationSection.cs:
	* System.Web.Configuration/CompilationConfiguration.cs:
	* System.Web.Configuration/CodeSubDirectory.cs: added and implemented
	most of these files that are used when reading configuration files in
	NET_2_0.

	* System.Web.Configuration/WebCompiler.cs: renamed to Compiler.cs


svn path=/trunk/mcs/; revision=41813
2005-03-15 01:01:38 +00:00
Gonzalo Paniagua Javier f9f5a24c80 oops
svn path=/trunk/mcs/; revision=40819
2005-02-17 19:18:41 +00:00
Gonzalo Paniagua Javier e47bf13b19 2004-12-15 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: reread application CultureInfo as
	web.config might have changed. Fixes bug #62539.

	* System.Web.Configuration/WebConfigurationSettings.cs: correctly
	detect web.config changes.


svn path=/trunk/mcs/; revision=37779
2004-12-15 13:03:45 +00:00
Marek Safar 47bb6c3b60 removed unused variable
svn path=/trunk/mcs/; revision=36775
2004-11-29 12:52:00 +00:00
Gonzalo Paniagua Javier cd9e5eaa22 2004-11-28 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: Create() is not GetInstance().
	* System.Web.Configuration/HandlerItem.cs: for reusable items, return
	the same instance always. Fixes bug #69959.


svn path=/trunk/mcs/; revision=36733
2004-11-28 23:44:41 +00:00
Gonzalo Paniagua Javier 4088ebf156 2004-11-24 Gonzalo Paniagua Javier <[email protected]>
* GlobalizationConfigurationHandler.cs: fixed stupid typo (uiculture ->
	uiCulture). Closes bug #69524.


svn path=/trunk/mcs/; revision=36507
2004-11-24 22:19:39 +00:00
Lluis Sanchez 4da27b7b8d 2004-11-18 Lluis Sanchez Gual <[email protected]>
* AnonymousIdentificationSection.cs, AuthenticationSection.cs,
	AssemblyInfo.cs: Initialize	property collection.
	* SiteMapSection.cs, SiteMapHierarchicalDataSourceView.cs, 
	SiteMapDataSource.cs: New file.
	* SiteMapDataSourceView.cs: Minor fixes.


svn path=/trunk/mcs/; revision=36273
2004-11-18 14:31:36 +00:00
Lluis Sanchez e7c428e461 * AnonymousIdentificationSection.cs, InternalSection.cs,
AuthenticationSection.cs, AssemblyCollection.cs,
AssemblyInfo.cs,
        AdapterDictionary.cs: Implemented.
        * PassportAuthentication.cs,
        * FormsAuthenticationConfiguration.cs:
        created classes.

svn path=/trunk/mcs/; revision=36148
2004-11-15 22:10:49 +00:00
Gonzalo Paniagua Javier 14eeae29e1 2004-10-10 Gonzalo Paniagua Javier <[email protected]>
* System.Web/TraceContext.cs: don't cast to Page is the handler it's
	not a page.

	* System.Web.Configuration/WebConfigurationSettings.cs: use
	CurrentExecutionFilePath instead of FilePath. Fixes bug #67982.

svn path=/trunk/mcs/; revision=34841
2004-10-10 13:34:58 +00:00
Gonzalo Paniagua Javier 15c8c05104 2004-08-22 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: fix bug when processing empty location
	tags. Closes bug #63001.

svn path=/trunk/mcs/; revision=32667
2004-08-22 20:42:27 +00:00
Duncan Mak c526b7c7a3 Add attributes.
svn path=/trunk/mcs/; revision=32414
2004-08-16 23:00:57 +00:00
Duncan Mak c6232a2da4 * IAppManagerAppDomainFactory.cs:
* IApplicationHost.cs:
* IHttpWorkerRequestHandler.cs:
* IProcessHost.cs:
* IProcessHostFactoryHelper.cs:
* IProcessHostSupportFunction.cs:
* IProcessPingCallback.cs:
* IQueueHost.cs:
* IRegisteredObject.cs: Added interfaces.

svn path=/trunk/mcs/; revision=31759
2004-08-03 00:55:45 +00:00
Duncan Mak 55d695fbdb 2004-08-02 Duncan Mak <[email protected]>
* AuthorizationRuleAction.cs:
	* BuildProviderAppliesTo.cs:
	* CustomErrorsMode.cs:
	* MachineKeyValidation.cs:
	* PagesEnableSessionState.cs:
	* PagesToCountAction.cs:
	* ProcessModelComAuthenticationLevel.cs:
	* ProcessModelComImpersonationLevel.cs:
	* ProcessModelLogLevel.cs;
	* SerializationMode.cs:
	* TraceDisplayMode.cs: Added enumerations.

	* IRemoteWebConfigarationHostServer.cs: Added interface.

svn path=/trunk/mcs/; revision=31758
2004-08-03 00:53:06 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Gonzalo Paniagua Javier 40181c2c94 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
* AuthorizationConfig.cs: really fix bug #60482. Thanks David!

svn path=/trunk/mcs/; revision=30178
2004-06-23 11:13:28 +00:00
Gonzalo Paniagua Javier 72d5a6809b 2004-06-22 Gonzalo Paniagua Javier <[email protected]>
* AuthorizationConfig.cs: we must match [verb +] (role|user). Fixes bug
	#60482.

svn path=/trunk/mcs/; revision=30095
2004-06-22 08:18:48 +00:00
Gonzalo Paniagua Javier e649fb3261 2004-06-15 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: allow empty <configSections>.

svn path=/trunk/mcs/; revision=29578
2004-06-15 04:59:43 +00:00
Gonzalo Paniagua Javier 31fdfdaac3 2004-06-09 Gonzalo Paniagua Javier <[email protected]>
* GlobalizationConfigurationHandler.cs: if no culture given, use the
	default one, not the invariant.

svn path=/trunk/mcs/; revision=29100
2004-06-09 09:51:06 +00:00
Alon Gazit 8a5e2b7bcf using cache to get performance improvement.
svn path=/trunk/mcs/; revision=28956
2004-06-07 11:40:32 +00:00
Gonzalo Paniagua Javier a952b3414f 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpBrowserCapabilities.cs: implemented ClrVersion and
	GetClrVersions.

	* System.Web.Configuration/HttpCapabilitiesBase.cs: set the useragent
	of the new HttpBrowserCapabilities object.

	* System.Web/HttpException.cs: removed MonoTODO.

svn path=/trunk/mcs/; revision=28936
2004-06-06 23:18:11 +00:00
Gonzalo Paniagua Javier e404b1b70d 2004-06-04 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRequest.cs: added ClientTarget internal property.

	* System.Web.Compilation/PageCompiler.cs: override CreateConstructor
	to add assignment for ClientTarget.

	* System.Web.Configuration/HttpCapabilitiesBase.cs: ClientTarget takes
	precedence over UserAgent.

	* System.Web.UI/Page.cs: implemented ClientTarget.
	* System.Web.UI/PageParser.cs: support for clientTarget and check for
	validity.

svn path=/trunk/mcs/; revision=28811
2004-06-04 04:01:07 +00:00
Gonzalo Paniagua Javier 3d1a0acc32 2004-06-02 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: when the virtual path is not /, don't
	loop forever trying to read configuration from /. Fixes bug #59480.

svn path=/trunk/mcs/; revision=28710
2004-06-02 18:08:21 +00:00
Gonzalo Paniagua Javier 9634b2bb99 2004-05-25 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: set culture/uiculture from
	configuration and restore it after each step. Fixes bug #52851.

	* System.Web.Configuration/GlobalizationConfiguration.cs: if we have no
	context, use GetAppConfig instead of GetConfig.

svn path=/trunk/mcs/; revision=28081
2004-05-25 20:59:53 +00:00
Gonzalo Paniagua Javier 21eafae84c 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/BaseCompiler.cs: use DynamicBase for the output
	assemblies.

	* System.Web.Configuration/CompilationConfiguration.cs: a null value is
	ok for TempDirectory.

	* System.Web.Hosting/AppDomainFactory.cs: set the Dynamic base for the
	AppDomain.

	Fixes bug #57726.

svn path=/trunk/mcs/; revision=27329
2004-05-14 03:01:04 +00:00
Sebastien Pouliot 7af6a24eee 2004-05-12 Jaroslaw Kowalski <[email protected]>
* AuthenticationConfigHandler.cs: fixed slidingExpiration and requireSSL

svn path=/trunk/mcs/; revision=27180
2004-05-12 18:04:18 +00:00
Gonzalo Paniagua Javier 020945f624 2004-05-07 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: removed 2 unused files in system.Web.Utils.

	* System.Web/HttpRequest.cs:
	* System.Web/HttpResponse.cs:
	* System.Web/HttpRuntime.cs:
	* System.Web/HttpServerUtility.cs:
	* System.Web/HttpUnhandledException.cs:
	* System.Web.Compilation/CachingCompiler.cs:
	* System.Web.Configuration/AuthenticationConfigHandler.cs:
	* System.Web.Configuration/CompilationConfiguration.cs:
	* System.Web.Configuration/MachineKeyConfigHandler.cs:
	* System.Web.UI/Page.cs:
	* System.Web.UI.WebControls/Calendar.cs:
	* System.Web.UI.WebControls/FontInfo.cs:
	* System.Web.UI.WebControls/WebControl.cs: removed TODOs.

	* System.Web.UI/ApplicationFileParser.cs: add file dependencies.
	* System.Web.UI/Control.cs: removed TODOs and some ^M.

	* System.Web.Util/ApacheVersionInfo.cs: removed.
	* System.Web.Util/IISVersionInfo.cs: removed.

svn path=/trunk/mcs/; revision=26947
2004-05-07 20:24:19 +00:00
Gonzalo Paniagua Javier 24a8232adc 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: fixed loading of external files. Closes
	bug #57244.

svn path=/trunk/mcs/; revision=26794
2004-05-06 00:11:28 +00:00
Gonzalo Paniagua Javier b5d55265c2 2004-05-04 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: now it defaults to 'web.config' and if
	not found, 'Web.config'. Don't throw exception if both exists. Thanks
	to urs and dru for bugging me about this.

svn path=/trunk/mcs/; revision=26698
2004-05-04 14:16:12 +00:00