Commit Graph
69 Commits
Author SHA1 Message Date
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 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
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
Chris Toshok 776bb802f1 2006-02-01 Chris Toshok <[email protected]>
* HttpConfigurationSystem.cs: SupportsUserConfig == true.  let's
	use this to determine if ConfigurationManager.AppSettings should
	be read-only or not.


svn path=/trunk/mcs/; revision=56402
2006-02-01 18:39:24 +00:00
Chris Toshok 545336f3a6 2006-01-31 Chris Toshok <[email protected]>
* WebConfigurationManager.cs: err, why did i ifdef stuff NET_2_0
	inside of an ifdef NET_2_0?


svn path=/trunk/mcs/; revision=56345
2006-01-31 17:42:46 +00:00
Chris Toshok 7033a6044e 2006-01-30 Chris Toshok <[email protected]>
* WebConfigurationManager.cs: lots of little changes.  hopefully
	this doesn't break anyone.  it fixes all the nunit problems
	gonzalo was having.

	* WebConfigurationHost.cs (GetStreamName): in the MachineWebPath
	case, handle the case where we have a WebConfigurationFileMap.
	(MapPath): this is likely wrong, but in the case where we don't
	have a file map or current HttpContext, just return the path.


svn path=/trunk/mcs/; revision=56311
2006-01-31 06:05:14 +00:00
Chris Toshok da4bea5f27 2006-01-29 Chris Toshok <[email protected]>
* HttpModulesSection.cs (LoadModules): I'm not sure we want to
	solve this problem in this way, but the 1.x code forces
	DefaultAuthenticationModule to be in the list of modules..
	Without this fix (or something else) HttpContext.User is null when
	it shouldn't be.


svn path=/trunk/mcs/; revision=56213
2006-01-29 06:59:02 +00:00
Chris Toshok ea89719776 2006-01-26 Chris Toshok <[email protected]>
* HttpConfigurationSystem.cs: new class that gets sections from
	web.config files.

	* WebConfigurationManager.cs: change a lot of the
	NotImplementedExceptions to NotSupportedExceptions.
	(AppSettings): implement by just returning
	ConfigurationManager.AppSettings (note this is broken because
	ConfigurationManager.AppSettings are read-only, but it works for
	reading.)
	(ConnectionStrings): same (and probably broken in the same way..)
	(Init): replace the 2.0 IInternalConfigSystem with our
	HttpConfigurationSystem.

	* WebConfigurationHost.cs: add a comment about how things are
	likely to work in the face of IRemoteWebConfigurationHostServer.
	(CreateConfigurationContext): return a WebContext instance.


svn path=/trunk/mcs/; revision=56137
2006-01-27 02:17:41 +00:00
Chris Toshok 1687131c60 2006-01-25 Chris Toshok <[email protected]>
* AuthorizationSection.cs (IsValidUser): instead of a blanket
	false for a null user, just set the username to "" and short
	circuit out the check for roles.


svn path=/trunk/mcs/; revision=56055
2006-01-25 18:44:55 +00:00
Chris Toshok 22fe5424d1 2006-01-25 Chris Toshok <[email protected]>
* AuthorizationRule.cs (CheckUser): handle * and ?, and use
	String.Compare instead of ==.
	(CheckVerb): use String.Compare instead of ==.

	* AuthorizationSection.cs (IsValidUser): return false for a null
	user.


svn path=/trunk/mcs/; revision=56052
2006-01-25 17:58:20 +00:00
Chris Toshok cf80945179 2006-01-22 Chris Toshok <[email protected]>
* GlobalizationSection.cs (VerifyData): quiet mcs.


svn path=/trunk/mcs/; revision=55912
2006-01-22 20:09:58 +00:00
Chris Toshok 5106205d54 2006-01-18 Chris Toshok <[email protected]>
* SystemWebSectionGroup.cs: wrap System.Web.Services references in
	WEBSERVICES_DEP.


svn path=/trunk/mcs/; revision=55745
2006-01-18 18:24:41 +00:00
Chris Toshok 05d5389878 2006-01-16 Chris Toshok <[email protected]>
* WebConfigurationManager.cs: implement a IConfigurationSystem for
	use with WebConfigurationManager.
	(GetSection): try to load the section
	using GetWebApplicationSection before calling into
	ConfigurationManager.GetSection.
	(GetWebApplicationConfiguration): move common code to here.
	(GetWebApplicationSection): use GetWebApplicationConfiguration.
	(AppSettings): implement.

	* WebConfigurationHost.cs (GetWebConfigFileName): add
	"Web.Config", and move to an array/loop implementation.  maybe we
	should scan the directory and check ToLower() instead of
	explicitly enumerating?


svn path=/trunk/mcs/; revision=55650
2006-01-16 20:11:14 +00:00
Chris Toshok 3092856a5e 2006-01-10 Chris Toshok <[email protected]>
* SystemWebSectionGroup.cs (HostingEnvironment): enable this property.
	(ProcessModel): add the ConfigurationPropertyAttribute.


svn path=/trunk/mcs/; revision=55351
2006-01-10 22:34:15 +00:00
Chris Toshok 09849cc56c 2006-01-10 Chris Toshok <[email protected]>
* PagesSection.cs (.cctor): fix the default value for the
	enableSessionState attribute - it's not a bool, but a
	PagesEnableSessionState enum.


svn path=/trunk/mcs/; revision=55337
2006-01-10 19:49:43 +00:00
Chris Toshok 5d98b1478a 2006-01-10 Chris Toshok <[email protected]>
* MachineKeySection.cs (ValidationKeyBytes, DecryptionKeyBytes,
	DecryptionKey192Bits): if the keys are null, generate them.  Fixes
	Page.EnableViewStateMac support.


svn path=/trunk/mcs/; revision=55332
2006-01-10 19:25:06 +00:00
Chris Toshok 4ffe9345dd 2006-01-09 Chris Toshok <[email protected]>
* RoleManagerSection.cs, SqlCacheDepencendySection.cs,
	SessionStateSection.cs, TraceSection.cs, SecurityPolicySection.cs,
	PagesSection.cs, RulesSettings.cs, UrlMappingSection.cs: fix
	dumper output.


svn path=/trunk/mcs/; revision=55268
2006-01-09 22:17:11 +00:00
Chris Toshok 784875c21e 2006-01-09 Chris Toshok <[email protected]>
* ExpressionBuilderCollection.cs (.cctor): no need to create a
	collection property here.  we're already in the collection.


svn path=/trunk/mcs/; revision=55249
2006-01-09 17:51:19 +00:00
Chris Toshok 8be4956a38 2006-01-09 Chris Toshok <[email protected]>
* CompilationSection.cs: fix typo.


svn path=/trunk/mcs/; revision=55248
2006-01-09 17:44:50 +00:00
Chris Toshok 37aca6ec72 2006-01-04 Chris Toshok <[email protected]>
* MachineKeySection.cs: bring over some more internal methods from
	MachineKeyConfig, and call Set{Decryption,Validation}Key from
	their respective property setters.


svn path=/trunk/mcs/; revision=55054
2006-01-04 16:24:49 +00:00
Chris Toshok be1269d728 2006-01-03 Chris Toshok <[email protected]>
* AuthorizationSection.cs (IsValidUser): add analogous method from
	AuthorizationConfig.cs.

	* AuthorizationRule.cs: add predicates for Verb, User, and Role
	analogous to what existed in AuthorizationConfig.cs.


svn path=/trunk/mcs/; revision=55037
2006-01-04 01:08:32 +00:00
Chris Toshok df1d6304a5 2005-12-11 Chris Toshok <[email protected]>
* WebConfigurationManager.cs (OpenMachineConfiguration): just call
	ConfigurationManager.OpenMachineConfiguration.
	(OpenWebConfiguration): remove the "IntPtr userToken" version and
	add a "string userName" version to clean up corcompare output.
	Modify all the overloads to pass null instead of IntPtr.Zero.
	(GetWebApplicationSection): if we're not running in a web
	application, use the machine configuration.


svn path=/trunk/mcs/; revision=54213
2005-12-11 17:29:21 +00:00
Chris Toshok d03dd7f5fc 2005-12-06 Chris Toshok <[email protected]>
* CodeSubDirectory.cs (DirectoryName): don't use an private field,
	but base[directoyNameProp].

	* AuthorizationRuleCollection.cs (Add): use BaseAdd (rule, false),
	so we can insert duplicates.
	(GetKey): nuke.
	(GetElementKey): MS for some reason just uses the action for the
	key, ToString()'ed.
	(Remove): pass the correct key.

	* ProfileGroupSettings.cs (GetHashCode): implement.

	* GlobalizationSection.cs (GetEncoding): for the utf-8 case, just
	use Encoding.UTF8.

	* AssemblyCollection.cs (Add): use BaseAdd (info, false) so we can
	insert duplicates.

	* CacheSection.cs (.cctor): make privateByteLimit's default 0L so
	we don't get a invalid cast exception later on.

	* AuthorizationRule.cs (VerifyData): split out the verification
	foo from PreSerialize.
	(PostDeserialize): so we can call it from here.
	(PreSerialize): and here.


svn path=/trunk/mcs/; revision=54006
2005-12-06 20:54:30 +00:00
Chris Toshok 11ec35556a 2005-12-05 Chris Toshok <[email protected]>
* AuthorizationRuleCollection.cs (GetKey): split out the logic for
	creating a key from a rule here.
	(GetElementKey): use it here.
	(Remove): and here.


svn path=/trunk/mcs/; revision=53957
2005-12-05 22:56:21 +00:00
Chris Toshok d747c896bc 2005-12-04 Chris Toshok <[email protected]>
* UrlMapping.cs: add an internal argument-less ctor.

	* UrlMappingCollection.cs (CreateNewElement): use argument-less
	ctor.
	(GetKey): implement.
	(AllKeys): implement.

	* TrustLevel.cs: add an internal argument-less ctor.
	
	* TrustLevelCollection.cs (Set): implement.
	(CreateNewElement): use argument-less ctor.
	(IsElementName): implement.
	(ElementName): implement.
	(set_Item (int index)): use Set.
	(ThrowOnDuplicate): implement.
	
	* TagPrefixInfo.cs: add internal argument-less ctor.

	* TagPrefixCollection.cs (CreateNewElement): call argument-less
	ctor.
	(CollectionType): add text to TODO.
	(ElementName): implement.
	
	* SqlCacheDependencyDatabaseCollection.cs (Set): implement.
	(AllKeys): implement.

	* RuleSettings.cs: add internal argument-less ctor.

	* RuleSettingsCollection.cs (Contains): implement.
	(CreateNewElement): use argument-less ctor.
	(IndexOf): implement.
	(Insert): implement.

	* RootProfilePropertySettingsCollection.cs (IsModified): chain up
	to base.IsModified for now.
	(Reset): chain up to base.Reset for now.
	(ResetModified): chain up to base.ResetModified for now.

	* ProfileSettings.cs: add internal argument-less ctor.

	* ProfileSettingsCollection.cs (Contains): implement.
	(CreateNewElement): use argument-less ctor.
	(IndexOf): implement.
	(Insert): implement.
	
	* ProfilePropertySettingsCollection.cs (IndexOf): implement.
	(Set): implement.
	(AllKeys): implement.
	
	* ProfileGroupSettings.cs: add internal argument-less ctor.

	* ProfileGroupSettingsCollection.cs (CreateNewElement): use
	parameter-less ctor.
	(GetKey): implement.
	(ResetModified): for now call base.ResetModified.
	(Set): implement.
	(AllKeys): implement.
	
	* OutputCacheProfile.cs: add internal argument-less ctor.

	* OutputCacheProfileCollection.cs (CreateNewElement): use
	parameter-less ctor.
	(Set): implement.
	(AllKeys): implement.

	* HttpModuleActionCollection.cs (Add): remove MonoTODO.
	(CreateNewElement): same.
	
	* HttpHandlerActionCollection.cs (GetElementKey): build up the key
	from both the path and the verb.
	(Remove): same.

	* FormsAuthenticationUserCollection.cs (Set): implement.
	(AllKeys): implement.

	* EventMappingSettings.cs: add an internal argument-less ctor.

	* EventMappingSettingsCollection.cs (Contains): implement.
	(CreateNewElement): use argument-less ctor.
	(IndexOf): implement.
	(Insert): implement.

	* CompilerCollection.cs (GetKey): implement.
	(AllKeys): implement.

	* ClientTargetCollection.cs (GetKey): implement.
	(AllKeys): implement.

	* AuthorizationRuleCollection.cs (Set): implement.
	(ElementName): add some text to the MonoTODO.
	(set_Item (int index)): use Set.


svn path=/trunk/mcs/; revision=53909
2005-12-05 00:50:52 +00:00
Chris Toshok cee1f5493b 2005-12-04 Chris Toshok <[email protected]>
* CustomError.cs: add an internal argument-less ctor for use by
	the collection.

	* CustomErrorCollection.cs: implement all the MonoTODO's.


svn path=/trunk/mcs/; revision=53908
2005-12-04 23:34:24 +00:00
Chris Toshok b90b642675 2005-12-02 Chris Toshok <[email protected]>
* GlobalizationSection.cs (VerifyData): split out the stuff that
	used to live in PreSerialize here.
	(PreSerialize): call VerifyData here.
	(PostDeserialize): and here.


svn path=/trunk/mcs/; revision=53875
2005-12-03 02:10:37 +00:00
Chris Toshok 4ff019e795 2005-12-01 Chris Toshok <[email protected]>
* GlobalizationSection.cs (PreSerialize): add checks for Culture
	and UICulture properties.


svn path=/trunk/mcs/; revision=53810
2005-12-02 00:28:05 +00:00
Chris Toshok 09e29763d8 2005-12-01 Chris Toshok <[email protected]>
* AuthorizationRule.cs (..ctor): provide default values for
	roles/users/verbs here.  Not sure if we should do this in the ctor
	or if the System.Configuration infrastructure should.. time will
	tell.
	(PreSerialize): throw if Roles.Count and Users.Count == 0.
	(SerializeElement): write out the element here.  don't chain up to
	the base class since that has differing behavior than what we
	want.


svn path=/trunk/mcs/; revision=53806
2005-12-01 23:07:59 +00:00
Chris Toshok 85fcc25487 2005-11-30 Chris Toshok <[email protected]>
* CompilerCollection.cs: ugly hack to fix the
	2.0-without-config-2.0 case.  wrap this file in #if
	CONFIGURATION_2_0 as well as #if NET_2_0.
	
	* Compiler.cs: same.


svn path=/trunk/mcs/; revision=53738
2005-12-01 01:34:04 +00:00
Chris Toshok 63905fe38f 2005-11-28 Chris Toshok <[email protected]>
* SessionStateSection.cs (CookieLess): correct the compat function
	implementation.


svn path=/trunk/mcs/; revision=53604
2005-11-28 23:42:36 +00:00
Chris Toshok 062b8165df 2005-11-28 Chris Toshok <[email protected]>
* GlobalizationSection.cs (GetEncoding): if the encoding name is
	null, default to utf-8 before we hit the try block, so we don't
	throw and generate a spurious warning.

	* SessionStateSection.cs: The Cookieless handling needs a custom
	parser, it appears, as the converter is a StringConverter, not a
	GenericEnumConverter.
	(ParseCookieMode): the parser.


svn path=/trunk/mcs/; revision=53602
2005-11-28 23:08:22 +00:00