Commit Graph
108 Commits
Author SHA1 Message Date
Konstantin Triger bca54a1ea3 Ensure enabled = true by default; cleanup
svn path=/trunk/mcs/; revision=70463
2007-01-04 12:10:20 +00:00
Vladimir Krasnov e7f50d1cf8 * CustomErrorCollection.cs: fixed ThrowOnDuplicate to false as in .net
svn path=/trunk/mcs/; revision=70133
2006-12-27 16:32:50 +00:00
Konstantin Triger 97c7afddd6 return null for global web.config for TARGET_JVM
svn path=/trunk/mcs/; revision=70079
2006-12-26 12:35:20 +00:00
Gonzalo Paniagua Javier 3518d41e7f 2006-12-21 Gonzalo Paniagua Javier <[email protected]>
* GlobalizationSection.cs: make encodings actually work for the 2.0
	profile.


svn path=/trunk/mcs/; revision=69917
2006-12-22 00:49:52 +00:00
Marek Habersack 5dd4bebf9e Implement tag mapping for asp.net 2.0
svn path=/trunk/mcs/; revision=69906
2006-12-21 22:00:50 +00:00
Vladimir Krasnov bd1a37474c * RoleManagerSection.cs: refactored using attributes
svn path=/trunk/mcs/; revision=69871
2006-12-21 16:26:50 +00:00
Marek Habersack 7ecd1fdc01 Forgotten changelogs
svn path=/trunk/mcs/; revision=69830
2006-12-20 18:43:48 +00:00
Marek Habersack c56a42792c Implement support for ProfileCommon class generation
svn path=/trunk/mcs/; revision=69829
2006-12-20 18:41:52 +00:00
Vladimir Krasnov 5625ac6222 * WebConfigurationManager.cs: fixed GetSection to execute GetRuntimeObject, refactored GetSection and GetWebApplicationSection
svn path=/trunk/mcs/; revision=69664
2006-12-18 15:59:16 +00:00
Vladimir Krasnov 0cd237bfa0 * HttpHandlerAction.cs: fixed 'verb' config property
svn path=/trunk/mcs/; revision=69589
2006-12-17 09:20:02 +00:00
Vladimir Krasnov 7e664c9195 * ProfileSection.cs: typo bug
svn path=/trunk/mcs/; revision=69285
2006-12-10 17:05:10 +00:00
Igor Zelmanovich aa38d2278b 2006-12-07 Igor Zelmanovich <[email protected]>
* ProvidersHelper.cs: fixed: load assembles from /bin


svn path=/trunk/mcs/; revision=69193
2006-12-07 17:25:54 +00:00
Miguel de Icaza 8616a7e405 2006-11-28 Miguel de Icaza <[email protected]>
* Rationalize the user of MonoTODOs.  

		- Removed all the TODOs that were only overwritten methods
		and had no further information.

		- Methods that threw exceptions now have the message "Not
		implemnted".

		- Methods that return some constant are declared like
		that.

		- Removed a bunch of stale MonoTODOs that had not been
		removed. 


svn path=/trunk/mcs/; revision=68620
2006-11-28 22:15:23 +00:00
Miguel de Icaza 7209a6e26f 2006-11-22 Miguel de Icaza <[email protected]>
* SessionStateSection.cs: Do not call Enum.Parse with a null
	argument, prevents an exception from being thrown.

svn path=/trunk/mcs/; revision=68375
2006-11-22 23:44:28 +00:00
Marek Habersack 41d72a967c Changelogs
svn path=/trunk/mcs/; revision=68217
2006-11-20 21:04:02 +00:00
Marek Habersack 630edf9eff Support for automatic culture detection
svn path=/trunk/mcs/; revision=68216
2006-11-20 21:02:22 +00:00
Konstantin Triger f32b219d7a use Type.GetType for loading full qualified types since Assembly.GetType() fails to load them
svn path=/trunk/mcs/; revision=67749
2006-11-13 10:35:51 +00:00
Vladimir Krasnov 992db9da42 * ProfileGroupSettings.cs, ProfileGroupSettingsCollection.cs, ProfilePropertySettingsCollection.cs, ProfileSection.cs, RootProfilePropertySettingsCollection.cs: refactoring and fix of <group> element
svn path=/trunk/mcs/; revision=67377
2006-11-05 14:15:01 +00:00
Miguel de Icaza fefa8b8300 Add LoadType implementation, from #79396, this should be refactored
svn path=/trunk/mcs/; revision=67242
2006-11-01 20:48:06 +00:00
Marek Habersack 58fca48c17 Add support for App_GlobalResources and App_LocalResources
svn path=/trunk/mcs/; revision=66799
2006-10-18 20:30:10 +00:00
Gonzalo Paniagua Javier 0eb1ae7aa2 2006-09-06 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationManager.cs: add null checks. Patch by Marek Habersack
	that fixes bug #79283.


svn path=/trunk/mcs/; revision=65033
2006-09-07 03:16:18 +00:00
Konstantin Triger cbf7754273 do not recourse as this will be done by Configuration object
svn path=/trunk/mcs/; revision=65022
2006-09-06 17:56:41 +00:00
Roei Erez 0f931c3140 corrections for static fields at WebConfigurationManager which are relevant only when running on mainsoft platform (TARGET_j2EE)
svn path=/trunk/mcs/; revision=64476
2006-08-28 15:25:51 +00:00
Konstantin Triger 2c232263cf revert TARGET_JVM ifdef
svn path=/trunk/mcs/; revision=64295
2006-08-24 10:51:12 +00:00
Vladimir Krasnov 9a0b452068 * WebConfigurationManager.cs: added configSystem property under TARGET_JVM part
* WebConfigurationHost.cs: fixed GetStreamName and OpenStreamForRead for TARGET_JVM
* CompilationSection.cs: BuildProviders property removed from TARGET_JVM
* SystemWebSectionGroup.cs: Compilation property removed from TARGET_JVM

svn path=/trunk/mcs/; revision=63495
2006-08-08 16:48:57 +00:00
Atsushi Eno b49b89fafe 2006-06-26 Atsushi Enomoto <[email protected]>
* NullableStringValidator.cs : new internal class that is almost
	  identical to StringValidator but allows null value.
	* PropertyHelper.cs : use new NullableStringValidator.
	* NamespaceCollection.cs : in NamespaceInfo "" is not allowed.

	* NullableStringValidatorTest.cs : new aggregated tests for
	  properties that use PropertyHelper.EmptyStringValidator.

	* System.Web.dll.sources : added NullableStringValidator.cs.
	* System.Web_test.dll.sources : NullableStringValidatorTest.cs.


svn path=/trunk/mcs/; revision=62052
2006-06-26 04:22:29 +00:00
Chris Toshok 9887d4c832 2006-06-08 Chris Toshok <[email protected]>
* WebConfigurationHost.cs (InitForConfiguration): i know this is
	going to bite me in the ass, but guard against configPath being ==
	to "/", since this will result in an infinite loop.
	(MapPath): fix a NRE.


svn path=/trunk/mcs/; revision=61574
2006-06-08 14:50:38 +00:00
Atsushi Eno feef8c7598 2006-05-18 Atsushi Enomoto <[email protected]>
* WebConfigurationManager.cs: recent sys.config.dll changes on
          ConfigurationManager.GetSection() which should call
          GetRuntimeObject() should also apply here. Fixed monodoc web.


svn path=/trunk/mcs/; revision=60816
2006-05-18 12:53:17 +00:00
Andrew Skiba ab693f5a92 keep the internal exception
svn path=/trunk/mcs/; revision=60490
2006-05-10 06:04:54 +00:00
Chris Toshok d79978b1c2 2006-05-08 Chris Toshok <[email protected]>
* WebConfigurationManager.cs (GetBasePath): fix bug where
	path.Length was 0 when we got to the last while loop (and indexed
	-1 into an array.)  Thanks Marek for the fix.


svn path=/trunk/mcs/; revision=60415
2006-05-08 17:51:37 +00:00
Chris Toshok 58228fbaa3 2006-05-04 Chris Toshok <[email protected]>
[ Fixes bug #78256 ]
	
	* WebConfigurationHost.cs (GetConfigType): add a MonoTODO about
	how we should use the build provider machinery to get types.
	(MapPath): add rudimentary mapping in the case where we don't have
	a request, basically handle the case where the url begins with (or
	is) HttpRuntime.AppDomainAppVirtualPath.

	* WebConfigurationManager.cs (GetSection): if we don't have a
	valid request, open the web configuration corresponding to
	HttpRuntime.AppDomainAppVirtualPath.
	(GetBasePath): comment this a little, and make it work in the case
	where we don't have an HttpRequest.


svn path=/trunk/mcs/; revision=60275
2006-05-04 19:02:05 +00:00
Chris Toshok 51a0d4ff38 2006-04-27 Chris Toshok <[email protected]>
* AuthorizationRuleCollection.cs (ThrowOnDuplicate): for the time
	being introduce a overridden property MS doesn't make use of.
	This needs readdressing, but it should get people making use of
	<authorization> rules working again.


svn path=/trunk/mcs/; revision=59989
2006-04-27 16:48:53 +00:00
Chris Toshok d3efce4e2e * AuthorizationRule.cs (Reset): finally figure out what this
method is supposed to do.  Assign our Action property based on
	parentElement's.

2006-04-25  Chris Toshok  <[email protected]>


svn path=/trunk/mcs/; revision=59880
2006-04-25 22:12:55 +00:00
Chris Toshok 1de2e66006 * WebConfigurationHost.cs (InitForConfiguration): actually, use
HttpRuntime.AppDomainAppVirtualPath on gonzalo's recommendation.
	It's never null, and its use cleans things up a bit.

2006-04-25  Chris Toshok  <[email protected]>


svn path=/trunk/mcs/; revision=59878
2006-04-25 21:50:08 +00:00
Chris Toshok a8c07f9b53 2006-04-25 Chris Toshok <[email protected]>
* WebConfigurationHost.cs (InitForConfiguration): stop going up
	the virtual hierarchy once we reach the application's base virtual
	path.


svn path=/trunk/mcs/; revision=59876
2006-04-25 21:39:33 +00:00
Chris Toshok c6bbfe6add 2006-04-24 Chris Toshok <[email protected]>
* AuthorizationSection.cs (IsValidUser): fix a problem that
        surfaced when converting from the 1.1 to 2.0 config classes.  Only
        check for verb match if there are actually verbs to match against.


svn path=/trunk/mcs/; revision=59824
2006-04-24 19:41:43 +00:00
Chris Toshok da63c944ac 2006-04-11 Chris Toshok <[email protected]>
* ExpressionBuilderCollection.cs (CreateNewElement): call argless
	ctor.

	* ExpressionBuilder.cs: add internal argumentless ctor for use by
	the collection type.


svn path=/trunk/mcs/; revision=59362
2006-04-11 15:14:14 +00:00
Chris Toshok 7d0cc820e7 * WebConfigurationManager.cs (GetConfig): add a fallback case for
configuration sections that don't subclass from
	ConfigurationSection.

2006-03-24  Chris Toshok  <[email protected]>


svn path=/trunk/mcs/; revision=58511
2006-03-25 00:01:36 +00:00
Chris Toshok 463b9cef4a 2006-03-24 Chris Toshok <[email protected]>
* WebConfigurationHost.cs: fix bug where OpenWebConfiguration
	("/") would result in 2 configurations for that toplevel path to
	be opened.


svn path=/trunk/mcs/; revision=58491
2006-03-24 21:05:41 +00:00
Chris Toshok fca8967255 remove Item since it conflicts with 'this []'
svn path=/trunk/mcs/; revision=58398
2006-03-23 22:27:01 +00:00
Chris Toshok 23c6a85f52 add internal GetDbProviderFactory method, to actually instantiate a factory and fall back to SqlClientFactory
svn path=/trunk/mcs/; revision=58397
2006-03-23 22:25:09 +00:00
Gonzalo Paniagua Javier a21af99203 temporary workaround for compiler regression
svn path=/trunk/mcs/; revision=58385
2006-03-23 20:18:05 +00:00
Chris Toshok bda4c7ab63 In System.Web.Configuration_2.0:
2006-03-08  Chris Toshok  <[email protected]>

	* ProvidersHelper.cs: implement this static class properly.

	* SiteMapSection.cs (ProvidersInternal): add internal property to
	get the actual SiteMapProviderCollection from here.

In System.Web:
2006-03-08  Chris Toshok  <[email protected]>

	* SiteMap.cs: clean this up a bunch.  use the SiteMapSection to
	initialize the provider collection, and don't add a provider.
	web.config handles that for us.  Also, don't always return true
	from get_Enabled.


svn path=/trunk/mcs/; revision=57704
2006-03-08 18:21:02 +00:00
Chris Toshok af89946383 In System.Web.Configuration.Internal:
2006-02-28  Chris Toshok  <[email protected]>

	* IInternalConfigWebHost.cs: corcompare work.

In System.Web.Configuration_2.0:
2006-02-28  Chris Toshok  <[email protected]>

	* BuildProviderAppliesTo.cs, PagesToCountAction.cs: nuke.

In System.Web.Profile:
2006-02-28  Chris Toshok  <[email protected]>

	* ProfileBase.cs: corcompare work.

	* SqlProfileProvider.cs: add stubbed out file.

In System.Web.SessionState:
2006-02-28  Chris Toshok  <[email protected]>

	* SessionStateActions.cs: rename SessionStateActionFlags to this.

	* ISessionIDManager.cs: rename ISessionIDModule to this.

	* IStateRuntime.cs: corcompare work.

In System.Web.Security:
2006-02-28  Chris Toshok  <[email protected]>

	* FormsAuthentication.cs: corcompare work.

	* MembershipCreateUserException.cs: same.

	* MembershipPasswordException.cs: same.

	* AnonymousIdentificationModule.cs: same.

In System.Web.Configuration:
2006-02-28  Chris Toshok  <[email protected]>

	* FormsAuthPasswordFormat.cs: ifdef out the [Serializable] in the
	2.0 case.

In System.Web.Hosting:
2006-02-28  Chris Toshok  <[email protected]>

	* IAppDomainFactory.cs: corcompare work.

	* IAppManagerAppDomainFactory.cs: same

	* IISAPIRuntime.cs: same.

In System.Web.Management:
2006-02-28  Chris Toshok  <[email protected]>

	* SqlFeatures.cs: corcompare work

	* IRegiisUtility.cs: same.

	* WebEventFormatter.cs: same.

	* RuleFiringRecord.cs: same.

	* SessionStateType.cs: same.

	* WebApplicationInformtion.cs: same.

	* EventNotificationType.cs: same.

	* WebBaseEvent.cs: same.

	* IRegisterCreateITypeLib.cs: nuke


svn path=/trunk/mcs/; revision=57413
2006-02-28 18:56:23 +00:00
Gonzalo Paniagua Javier 6be4ffb621 2006-02-10 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Configuration_2.0/Compiler.cs:
	* System.Web.Configuration_2.0/CompilerCollection.cs: removed
	compatibility code.

	* System.Web.Configuration_2.0/BuildProviderCollection.cs: add
	GetProviderForExtension().

	* System.Web.UI/IThemeResolutionService.cs: this is now added to the
	sources file, but some other stuff does not compile yet as the
	interface changed after the beta.

	* System.Web.UI/ObjectConverter.cs: removed extra attribute.

	* System.Web.UI/ObjectStateFormatter.cs: add IStateFormatter for 2.0.

	* System.Web.UI/ICallbackEventHandler.cs: update the interface, but
	commented the 'good' stuff out, since other files need to be fixed
	too.

	* System.Web.dll.sources: add new files.

	* System.Web.Configuration/CompilationConfiguration.cs:
	* System.Web.Configuration/CompilationConfigurationHandler.cs: only
	compile these for pre-2.0 assemblies.

	* System.Web.Hosting/DefaultVirtualPathProvider.cs: add some
	comments/TODO.
	* System.Web.Hosting/HostingEnvironment.cs: initialize the
	default value for VirtualPathProvider.

	* System.Web.Compilation/CompilerType.cs: implemented.

	* System.Web.Compilation/AssemblyBuilder.cs: implemented most of it.

	* System.Web.Compilation/WebServiceCompiler.cs:
	* System.Web.Compilation/CachingCompiler.cs: update 2.0 compiler
	instance creation code.

	* System.Web.Compilation/ClientBuildManager.cs: implemented some of
	its methods. Not yet ready.

	* System.Web.Compilation/BuildManager.cs: the more interesting methods
	are implemented now.

	* System.Web.Compilation/BaseCompiler.cs: delete the temporary files
	in case of error.

	* System.Web.Compilation/BuildProvider.cs: implemented the
	Get*Compiler* protected methods.


svn path=/trunk/mcs/; revision=56781
2006-02-10 23:43:09 +00:00
Gonzalo Paniagua Javier 52d19380c0 fix
svn path=/trunk/mcs/; revision=56604
2006-02-07 00:56:41 +00:00
Chris Toshok df3cfac2b0 2006-02-02 Chris Toshok <[email protected]>
* WebConfigurationManager.cs (GetSection(string,string)):
	implement.


svn path=/trunk/mcs/; revision=56479
2006-02-02 18:12:30 +00:00
Atsushi Eno 1bb2d8e284 2006-02-01 Atsushi Enomoto <[email protected]>
* ConfigurationElement.cs : ListErrors() and SetPropertyValue()
	  are protected.
	* ConfigurationSection.cs : the .ctor() is protected.
	* ConfigurationElementCollection.cs : CollectionType is public.
	  Count and BaseAdd() are not virtual.
	* ConfigurationPropertyCollection.cs : Count is not virtual.

	* SettingElementCollection.cs : CollectionType is protected.

	* TrustLevelCollection.cs, CodeSubDirectoriesCollection.cs,
	  CustomErrorCollection.cs, CompilerCollection.cs,
	  HttpHandlerActionCollection.cs,
	  FormsAuthenticationUserCollection.cs,
	  AuthorizationRuleCollection.cs, TagPrefixCollection.cs :
	  CollectionType is public.


svn path=/trunk/mcs/; revision=56425
2006-02-01 21:51:09 +00:00
Chris Toshok 3d7c4d5ac3 2006-02-01 Chris Toshok <[email protected]>
* WebConfigurationManager.cs: In the normal case, get the current
	request's web.config, not the application's.  If there is no
	current request, get the application's.
	(GetWebApplicationConfiguration): use Request.ApplicationPath, not
	Request.PhysicalApplicationPath.  OpenWebConfiguration takes
	virtual paths.

	* HttpConfigurationSystem.cs: GetWebApplicationSection =>
	GetSection.


svn path=/trunk/mcs/; revision=56421
2006-02-01 21:31:03 +00:00
Chris Toshok 463bd3707c 2006-02-01 Chris Toshok <[email protected]>
* CompilerCollection.cs: CONFIGURATION_2_0 => NET_2_0

	* Compiler.cs: same.


svn path=/trunk/mcs/; revision=56417
2006-02-01 20:15:22 +00:00