X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Web%2FSystem.Web.Configuration_2.0%2FChangeLog;h=3b59b9abe91eca6faf65f3611c7cde4962baed5e;hb=987f8c63e214937c50dcb308149f7558a2cbba41;hp=1e758693606525aca2d9f6d2b57f98e55ab2682b;hpb=b585d00928892398dfbfc315ed78b8032fa14708;p=mono.git diff --git a/mcs/class/System.Web/System.Web.Configuration_2.0/ChangeLog b/mcs/class/System.Web/System.Web.Configuration_2.0/ChangeLog index 1e758693606..3b59b9abe91 100644 --- a/mcs/class/System.Web/System.Web.Configuration_2.0/ChangeLog +++ b/mcs/class/System.Web/System.Web.Configuration_2.0/ChangeLog @@ -1,3 +1,692 @@ +2006-11-05 Vladimir Krasnov + + * ProfileGroupSettings.cs, ProfileGroupSettingsCollection.cs + ProfilePropertySettingsCollection.cs, ProfileSection.cs + RootProfilePropertySettingsCollection.cs: refactoring and fix of + element + +2006-10-18 Marek Habersack + + * WebConfigurationManager.cs: implement support for extra + assemblies to be referenced when compiling a page. + +2006-09-06 Gonzalo Paniagua Javier + + * WebConfigurationManager.cs: add null checks. Patch by Marek Habersack + that fixes bug #79283. + +2006-09-06 Konstantin Triger + + * WebConfigurationHost.cs: do not recourse as this will be done by + Configuration object. + +2006-08-08 Vladimir Krasnov + + * 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 + +2006-06-26 Atsushi Enomoto + + * 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. + +2006-06-08 Chris Toshok + + * 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. + +2006-05-18 Atsushi Enomoto + + * WebConfigurationManager.cs: recent sys.config.dll changes on + ConfigurationManager.GetSection() which should call + GetRuntimeObject() should also apply here. Fixed monodoc web. + +2006-05-10 Andrew Skiba + + * HttpHandlerAction.cs: keep the internal exception + +2006-05-08 Chris Toshok + + * 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. + +2006-05-04 Chris Toshok + + [ 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. + +2006-04-27 Chris Toshok + + * 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 + rules working again. + +2006-04-25 Chris Toshok + + * 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 + + * 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 + + * WebConfigurationHost.cs (InitForConfiguration): stop going up + the virtual hierarchy once we reach the application's base virtual + path. + +2006-04-24 Chris Toshok + + * 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. + +2006-04-11 Chris Toshok + + * ExpressionBuilderCollection.cs (CreateNewElement): call argless + ctor. + + * ExpressionBuilder.cs: add internal argumentless ctor for use by + the collection type. + +2006-03-24 Chris Toshok + + * WebConfigurationManager.cs (GetConfig): add a fallback case for + configuration sections that don't subclass from + ConfigurationSection. + +2006-03-24 Chris Toshok + + * WebConfigurationHost.cs: fix bug where OpenWebConfiguration + ("/") would result in 2 configurations for that toplevel path to + be opened. + +2006-03-08 Chris Toshok + + * ProvidersHelper.cs: implement this static class properly. + + * SiteMapSection.cs (ProvidersInternal): add internal property to + get the actual SiteMapProviderCollection from here. + +2006-02-28 Chris Toshok + + * BuildProviderAppliesTo.cs, PagesToCountAction.cs: nuke. + +2006-02-10 Gonzalo Paniagua Javier + + * Compiler.cs: + * CompilerCollection.cs: removed compatibility code. + + * BuildProviderCollection.cs: add GetProviderForExtension(). + +2006-02-02 Chris Toshok + + * WebConfigurationManager.cs (GetSection(string,string)): + implement. + +2006-02-01 Atsushi Enomoto + + * TrustLevelCollection.cs, CodeSubDirectoriesCollection.cs, + CustomErrorCollection.cs, CompilerCollection.cs, + HttpHandlerActionCollection.cs, + FormsAuthenticationUserCollection.cs, + AuthorizationRuleCollection.cs, TagPrefixCollection.cs : + CollectionType is public. + +2006-02-01 Chris Toshok + + * 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. + +2006-02-01 Chris Toshok + + * CompilerCollection.cs: CONFIGURATION_2_0 => NET_2_0 + + * Compiler.cs: same. + +2006-02-01 Chris Toshok + + * HttpConfigurationSystem.cs: SupportsUserConfig == true. let's + use this to determine if ConfigurationManager.AppSettings should + be read-only or not. + +2006-01-31 Chris Toshok + + * WebConfigurationManager.cs: err, why did i ifdef stuff NET_2_0 + inside of an ifdef NET_2_0? + +2006-01-30 Chris Toshok + + * 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. + +2006-01-29 Chris Toshok + + * 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. + +2006-01-26 Chris Toshok + + * 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. + +2006-01-25 Chris Toshok + + * 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. + +2006-01-25 Chris Toshok + + * 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. + +2006-01-22 Chris Toshok + + * GlobalizationSection.cs (VerifyData): quiet mcs. + +2006-01-18 Chris Toshok + + * SystemWebSectionGroup.cs: wrap System.Web.Services references in + WEBSERVICES_DEP. + +2006-01-16 Chris Toshok + + * 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? + +2006-01-10 Chris Toshok + + * SystemWebSectionGroup.cs (HostingEnvironment): enable this property. + (ProcessModel): add the ConfigurationPropertyAttribute. + +2006-01-10 Chris Toshok + + * PagesSection.cs (.cctor): fix the default value for the + enableSessionState attribute - it's not a bool, but a + PagesEnableSessionState enum. + +2006-01-10 Chris Toshok + + * MachineKeySection.cs (ValidationKeyBytes, DecryptionKeyBytes, + DecryptionKey192Bits): if the keys are null, generate them. Fixes + Page.EnableViewStateMac support. + +2006-01-09 Chris Toshok + + * RoleManagerSection.cs, SqlCacheDepencendySection.cs, + SessionStateSection.cs, TraceSection.cs, SecurityPolicySection.cs, + PagesSection.cs, RulesSettings.cs, UrlMappingSection.cs: fix + dumper output. + +2006-01-09 Chris Toshok + + * ExpressionBuilderCollection.cs (.cctor): no need to create a + collection property here. we're already in the collection. + + * CompilationSection.cs: fix typo. + +2006-01-04 Chris Toshok + + * MachineKeySection.cs: bring over some more internal methods from + MachineKeyConfig, and call Set{Decryption,Validation}Key from + their respective property setters. + +2006-01-03 Chris Toshok + + * 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. + +2005-12-11 Chris Toshok + + * 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. + +2005-12-06 Chris Toshok + + * 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. + +2005-12-05 Chris Toshok + + * AuthorizationRuleCollection.cs (GetKey): split out the logic for + creating a key from a rule here. + (GetElementKey): use it here. + (Remove): and here. + +2005-12-04 Chris Toshok + + * 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. + +2005-12-04 Chris Toshok + + * CustomError.cs: add an internal argument-less ctor for use by + the collection. + + * CustomErrorCollection.cs: implement all the MonoTODO's. + +2005-12-02 Chris Toshok + + * GlobalizationSection.cs (VerifyData): split out the stuff that + used to live in PreSerialize here. + (PreSerialize): call VerifyData here. + (PostDeserialize): and here. + +2005-12-01 Chris Toshok + + * GlobalizationSection.cs (PreSerialize): add checks for Culture + and UICulture properties. + +2005-12-01 Chris Toshok + + * 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. + +2005-11-30 Chris Toshok + + * 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. + +2005-11-28 Chris Toshok + + * SessionStateSection.cs (CookieLess): correct the compat function + implementation. + +2005-11-28 Chris Toshok + + * 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. + +2005-11-28 Chris Toshok + + * PagesSection.cs (GetInstance): nuke. + + * CompilationSection.cs (GetInstance): nuke. + +2005-11-28 Chris Toshok + + * HttpHandlerAction.cs: add some c&p code from the 1.1 config + stuff to look for matching handlers. + (..ctor): add parameterless ctor. + + * HttpHandlerActionCollection.cs: clean up formatting. + (CreateNewElement): call the parameter-less ctor for + HttpHandlerAction. + + * HttpHandlersSection.cs (..ctor): add a ConfigurationProperty for + the default collection. + (get_Handlers): implement. + (LocateHandler): copy over (and massage) some 1.1 config code. + + * MachineKeySection.cs: move some code over from the 1.1 config + code to deal with autogeneration of keys, as well as converting + from the string rep to the byte[] rep. + +2005-11-28 Chris Toshok + + * HttpModuleActionCollection.cs (CreateNewElement): use the new + HttpModuleAction ctor. + + * HttpModuleAction.cs: add internal ctor with no parameters, for + use in HttpModuleActionCollection. + +2005-11-28 Chris Toshok + + * GlobalizationSection.cs (..cctor): the encoding + ConfigurationProperties are of type "string", even though the + properties themselves are of type Encoding. we do conversions + manually in the setter/getters. gross. Add code (mostly c&p + + massaged from GlobalizationConfigurationHandler) for this and also + to handle the culture gettes. + +2005-11-26 Chris Toshok + + * AuthorizationRuleCollection.cs (GetElementKey): implement this. + + * ProfilePropertyNameValidator.cs: make this internal, and add a + blurb about how MS doesn't do the testing you'd expect them to. + +2005-11-25 Chris Toshok + + * AuthorizationRuleCollection.cs (CreateNewElement): remove + MonoTODO. + + * CompilationSection.cs (GetRuntimeObject): add comment to TODO. + + * ProfileGroupSettings.cs: reformat some things. + + * FormsAuthenticationUser.cs (Name): remove MonoTODO. + + * WebPartsSection.cs (GetRuntimeObject): change TODO comment. + + * ProfilePropertySettings.cs: add internal argument-less ctor. + + * IdentitySection.cs (GetRuntimeObject): return this. + + * ProfilePropertySettingsCollection.cs: implement much of the + TODO's. + + * WebControlsSection.cs (GetRuntimeObject): implement. + + * SqlCacheDependencyDatabaseCollection.cs (GetElementKey): + implement. + (GetKey): implement. + +2005-11-24 Chris Toshok + + * AssemblyInfo.cs: move this here from System.Web.Configuration, + and fix up the properties. + + * SystemWebSectionGroup.cs: enable most of the sections (2 + remaining to be enabled.) + +2005-11-24 Chris Toshok + + * ProcessModelSection.cs, SqlCacheDependencySection.cs, + SessionStateSection.cs, PassportAuthentication.cs, + FormsAuthenticationConfiguration.cs, + SqlCacheDependencyDatabase.cs, HttpModuleAction.cs, + BufferModeSettings.cs, TagPrefixInfo.cs (..cctor): init + elementProperty. + (ValidateElement): new static validator callback. + (ElementProperty): enable this, return elementProperty. + +2005-11-23 Chris Toshok + + * ProfilePropertyNameValidator.cs: new implementation. + + * ProfilePropertySettings.cs, ProfileGroupSettings.cs, + ClientTargetSection.cs, ClientTargetSection.cs, + BufferModeSettings.cs, HttpModulesSection.cs, + WebPartsPersonalization.cs, TransformerInfo.cs, TrustLevel.cs, + NamespaceInfo.cs, SqlCacheDependencyDatabase.cs, + AuthenticationSection.cs, RuleSettings.cs, + FormsAuthenticationUser.cs, WebPartsSection.cs, BuildProvider.cs, + WebPartsPersonalizationAuthorization.cs, Compiler.cs, + ExpressionBuilder.cs, OutputCacheProfile.cs, + FormsAuthenticationCredentials.cs, XhtmlConformanceSection.cs, + OutputCacheSettingsSection.cs, CustomError.cs, TraceSection.cs, + ExpressionBuilderCollection.cs, ProfileSettings.cs, + SessionStateSection.cs, HealthMonitoringSection.cs, + FormsAuthenticationConfiguration.cs, HttpRuntimeSection.cs, + SessionPageStateSection.cs, TrustSection.cs, + AnonymousIdentificationSection.cs, WebControlsSection.cs, + ClientTarget.cs, TagMapInfo.cs, AuthorizationSection.cs, + ProcessModelSection.cs, RoleManagerSection.cs, + MembershipSection.cs, CustomErrorsSection.cs (..cctor): fix + validator/converters. + + * MachineKeySection.cs (..cctor): fix validators/converters. + (Validation): enable the Converter. + + * CodeSubDirectory.cs (..cctor): fix validator/converters. + (DirectoryName): add note about missing validator decoration. + + * HttpModuleAction.cs (..cctor): init properties. + (Properties): return properties. + + * CompilationSection.cs (..cctor): fix validator/converters. + (GetInstance): add in this pre-2.0 interface for the time being, + hopefully it'll make it easier to migrate later on. + + * HttpHandlerActionCollection.cs (..cctor): init properties. + (Properties): return properties. + + * PagesSection.cs (..cctor): fix validator/converters. + (GetInstance): add in this pre-2.0 interface for the time being, + hopefully it'll make it easier to migrate later on. + + * HttpHandlersSection.cs (..cctor): init properties. + (Properties): return properties. + + * EventMappingSettings.cs (..cctor): fix validator/converters. + (Name): add note about missing validator decoration. + + * HttpHandlerAction.cs (..cctor): fix validator/converters. + (PAth, Type, Verb): add note about missing validator decoration. + + * NamespaceCollection.cs (..cctor): fix properties. + + * ProfilePropertySettingsCollection.cs (..cctor): init properties. + (..ctor): don't throw NIE. + (Properties): return properties. + + * HttpModuleActionCollection.cs (..cctor): init properties. + (Properties): return properties. + + * CacheSection.cs (..cctor): fix validators/converters. + (PrivateBytesPollTime): add note about missing validator + decoration. + + * AuthorizationRule.cs (..cctor): fix validators/converters. + (Roles, Users, Verbs): enable the TypeConverter decorations. + + * UrlMapping.cs (ValidateUrl): static method for use as a + validation callback. unimplemented as yet. + (..cctor): fix validators/converters. + (MappedUrl): add note about missing validator decoration. + + * PropertyHelper.cs: static utility class which contains + references to validators and converters for use in static + constructors (building the Properties arrays). + +2005-11-23 Chris Toshok + + * MachineKeyValidationConverter.cs: new converter (and a pretty + silly one, considering all it seems to do is convert "TripleDES" + to "3DES"). + + * HostingEnvironmentSection.cs (.cctor): use + PositiveTimeSpanValidator like MS does. + 2005-11-18 Chris Toshok * HostingEnvironmentSection.cs (.cctor): add validators.