Commit Graph
111 Commits
Author SHA1 Message Date
Konstantin Triger 0366dcd0ed TARGET_JVM changes to let the compilation pass with csc 1.1
svn path=/trunk/mcs/; revision=55205
2006-01-08 13:18:54 +00:00
Gonzalo Paniagua Javier 0bb5724e38 2005-12-22 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: patch by Cyrille Colin that sets the
	right application path even when MapPath fails. Closes bug #77044.


svn path=/trunk/mcs/; revision=54716
2005-12-22 03:26:28 +00:00
Gonzalo Paniagua Javier ba33dc2d20 2005-12-02 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: don't fail if <location> has more
	than one element. Fixes bug #76633.


svn path=/trunk/mcs/; revision=53841
2005-12-02 20:09:38 +00:00
Gonzalo Paniagua Javier 7510c8e3d4 2005-12-02 Gonzalo Paniagua Javier <[email protected]>
* HttpHandlersSectionHandler.cs:
	* HandlerFactoryConfiguration.cs: we need to use a copy of the parent
	mappings, otherwise we may remove mappings from the parent. Fix a typo
	when removing the item from the collection. Now LocateHandler searches
	first for this configuration mappings and then for the parent ones.
	Fixes (truly) bug #76842.


svn path=/trunk/mcs/; revision=53839
2005-12-02 19:01:47 +00:00
Gonzalo Paniagua Javier b581ac8cb0 2005-11-30 Gonzalo Paniagua Javier <[email protected]>
* HandlerFactoryConfiguration.cs: my previous patch broke the
	* order in which handlers are searched. This one fixes that,
	* while not breaking bug 76842 again.


svn path=/trunk/mcs/; revision=53743
2005-12-01 02:37:45 +00:00
Chris Toshok 3eb9cadf9d 2005-11-30 Chris Toshok <[email protected]>
* WebConfigurationSettings.cs (ReadSectionGroup): some
	CONFIGURATION_2_0 work.

	* CompilationConfigurationHandler.cs (ReadCompilers): change the
	NET_2_0 to CONFIGURATION_2_0.

	* CompilerCollection.cs: more ugly hacks for the
	2.0-without-config-2.0 case.  wrap this in #if !CONFIGURATION_2_0
	and make it public in the NET_2_0 case (so it can be used to keep
	the config 2.0 stuff building).

	* Compiler.cs: same.
	
	* CompilationConfiguration.cs (Init): change the #if NET_2_0 to
	#if CONFIGURATION_2_0.


svn path=/trunk/mcs/; revision=53737
2005-12-01 01:33:31 +00:00
Gonzalo Paniagua Javier eeb8e0142d 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
* HandlerFactoryConfiguration.cs: copy the parents' mappings
	into the new one to allow for removing without affecting the
	parent configuration mappings. Fixes bug #76842.


svn path=/trunk/mcs/; revision=53610
2005-11-29 01:12:19 +00:00
Chris Toshok 5c7dfc3f92 2005-11-24 Chris Toshok <[email protected]>
* AssemblyInfo.cs: nuke this, it's in System.Web.Configuration_2.0
	now.


svn path=/trunk/mcs/; revision=53470
2005-11-24 23:59:05 +00:00
Chris Toshok 28faff3bd6 2005-11-19 Chris Toshok <[email protected]>
* CompilationConfigurationHandler.cs (ReadCompilers): call
	CompilerCollection.Add in the 2.0 case, as it doesn't expose a
	setter indexer.

	* CompilationConfiguration.cs: need this to keep things compiling,
	even though CompilationConfiguration doesn't need to be used in
	the 2.0 case.


svn path=/trunk/mcs/; revision=53268
2005-11-19 07:03:55 +00:00
Chris Toshok 1dce8fe823 2005-11-19 Chris Toshok <[email protected]>
* Compiler.cs: wrap in #if !NET_2_0 and remove a lot of stubs that
	now exist in System.Web.Configuration_2.0.


svn path=/trunk/mcs/; revision=53267
2005-11-19 06:56:05 +00:00
Chris Toshok 2edf662dea 2005-11-18 Chris Toshok <[email protected]>
* CompilerCollection.cs: wrap in #if !NET_2_0, and remove a lot of
	stubs that now exist in System.Web.Configuration_2.0.


svn path=/trunk/mcs/; revision=53265
2005-11-19 05:33:23 +00:00
Chris Toshok 32955b7f6f 2005-10-31 Chris Toshok <[email protected]>
* IRemoteWebConfigurationHostServer.cs: fix interface.


svn path=/trunk/mcs/; revision=52415
2005-10-31 18:48:16 +00:00
Atsushi Eno 1a9cb8cb28 2005-10-29 Atsushi Enomoto <[email protected]>
* GlobalizationConfigurationHandler.cs : we don't use ICU.


svn path=/trunk/mcs/; revision=52374
2005-10-29 08:52:39 +00:00
Gonzalo Paniagua Javier bc1d078c0f 2005-10-24 Gonzalo Paniagua Javier <[email protected]>
* HandlerFactoryConfiguration.cs: when using regex matching, pass the
	original full virtual path, not just the file name. The regex matches
	the end of the path. Fixes bug #76536.


svn path=/trunk/mcs/; revision=52154
2005-10-24 21:58:31 +00:00
Gert Driesen 3f3bceed39 * WebConfigurationHost.cs: Added stubs for missing implementation
of IInternalConfigHost to fix build for 2.0 profile.

svn path=/trunk/mcs/; revision=51460
2005-10-08 09:41:12 +00:00
Gonzalo Paniagua Javier 6997e31c04 add missing class
svn path=/trunk/mcs/; revision=51230
2005-10-05 04:40:40 +00:00
Chris Toshok 038aad65df 2005-09-23 Chris Toshok <[email protected]>
* ExpressionBuilderCollection.cs: track change to
	System.Configuration.ConfigurationPropertyOptions.


svn path=/trunk/mcs/; revision=50600
2005-09-23 18:00:56 +00:00
Gonzalo Paniagua Javier 99cd48aac1 2005-09-23 Gonzalo Paniagua Javier <[email protected]>
* PagesConfiguration.cs: on error return a default instance instead
	of null.


svn path=/trunk/mcs/; revision=50565
2005-09-23 09:31:03 +00:00
Chris Toshok eddcb59431 2005-09-22 Chris Toshok <[email protected]>
* PositiveTimeSpanValidator.cs: move this from
	System.Configuration to here.


svn path=/trunk/mcs/; revision=50514
2005-09-22 17:08:12 +00:00
Sebastien Pouliot ce95d3e52e 2005-09-15 Sebastien Pouliot <[email protected]>
* CompilationConfiguration.cs: Return an empty configuration object if
	no HttpContext is available. This is required for the unit tests and
	match the results of MS 1.1 and 2.0 (beta2).


svn path=/trunk/mcs/; revision=50106
2005-09-15 21:09:19 +00:00
Sebastien Pouliot 5a49d77ce3 2005-08-24 Sebastien Pouliot <[email protected]>
* AdapterDictionary.cs: Added missing IDeserializationCallback.
	* AuthorizationRuleAction.cs: Fixed enum values.
	* BuildProvider.cs: Class is sealed. Removed empty constructor.
	* BuildProviderCollection.cs: Adapted to BuildProvider ctor changes.
	* CodeSubDirectory.cs: Added missing constructor.
	* CodeSubDirectoriesCollection.cs: Adapted to 
	CodeSubDirectoriesCollection ctor changes.
	* CustomErrorsMode.cs: Fixed enum values.
	* FormsAuthenticationConfiguration.cs: Class is sealed.
	* HttpCapabilitiesBase.cs: Added security permissions with Minimal 
	level for AspNetHostingPermission (both Link and Inheritance demands).
	* ProcessModelComAuthenticationLevel.cs: Fixed enum values.
	* ProcessModelComImpersonationLevel.cs: Fixed enum values.
	* ProcessModelLogLevel.cs: Fixed enum values.
	* WebApplicationLevel.cs: New enum for 2.0.


svn path=/trunk/mcs/; revision=49355
2005-09-02 15:48:41 +00:00
Gonzalo Paniagua Javier 0c1270f07e 2005-08-31 Gonzalo Paniagua Javier <[email protected]>
* System.Web/BrowserCapabilities.cs: removed extra 'using'.

	* System.Web/HttpApplication.cs: use just the 'modcoll' to hold the
	collection of modules instead of having a separate 'modules' one.

	* System.Web.Configuration/ModulesConfiguration.cs: LoadModules creates
	a HttpModuleCollection, initializes the module instances and fills in
	the collection.


svn path=/trunk/mcs/; revision=49158
2005-08-31 04:25:34 +00:00
Gonzalo Paniagua Javier e867b56516 2005-08-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: clone the module collection so that
	it's not shared between HttpApplications. Call GetHandler() in the
	right place.

	* System.Web.SessionState/SessionStateModule.cs: added lock around
	'config'.
	* System.Web.SessionState/SessionInProcHandler.cs: when inserting in
	the the session in the Cache, use sliding expiration only.

	* System.Web.Configuration/ModulesConfiguration.cs: add Clone (ugly).


svn path=/trunk/mcs/; revision=49157
2005-08-30 23:01:49 +00:00
Miguel de Icaza bb9f390ea1 Use partial classes so we can share the code despite the code moving
from one class to another in 1.x to 2.x

2005-08-30  Miguel de Icaza  <[email protected]>

	* HttpCapabilitiesBase.cs: Make partial to pull the implementation
	from another class.

2005-08-30  Miguel de Icaza  <[email protected]>

	* BrowserCapabilities.cs: Move the core of the capabilities into a
	separate file.  Use partial classes to choose what version to
	compile against.

	* HttpBrowserCapabilities.cs: Update to move the code elsewhere.



svn path=/trunk/mcs/; revision=49155
2005-08-30 22:35:31 +00:00
Gonzalo Paniagua Javier 681cc25234 2005-08-29 Gonzalo Paniagua Javier <[email protected]>
* HandlerFactoryConfiguration.cs: fix path matching so that
	/xxx/WebResource.axd works. If we're going to match using a regexp,
	generate it in the constructor, not on every request.


svn path=/trunk/mcs/; revision=49061
2005-08-29 12:44:21 +00:00
Miguel de Icaza 54079f764a Commit of changes to core files, on behalf of the team
svn path=/trunk/mcs/; revision=48944
2005-08-26 22:58:48 +00:00
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
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
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
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 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 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
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