X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Configuration%2FSystem.Configuration%2FChangeLog;h=f0eb372b50321f7271a878098fb22b16d412dded;hb=c38ad8584a45bf266ab5c8a73a34b2615b2c3885;hp=1830228d7384b70853e28a6f861ad8710ee48ae9;hpb=f0eb9c8c3051a7f6c4feed0c5e815df4d8e4e5d2;p=mono.git diff --git a/mcs/class/System.Configuration/System.Configuration/ChangeLog b/mcs/class/System.Configuration/System.Configuration/ChangeLog index 1830228d738..f0eb372b503 100644 --- a/mcs/class/System.Configuration/System.Configuration/ChangeLog +++ b/mcs/class/System.Configuration/System.Configuration/ChangeLog @@ -1,3 +1,233 @@ +2006-01-09 Chris Toshok + + * ElementInformation.cs (Validator): if propertyInfo == null, + return a DefaultValidator instance. + +2006-01-09 Chris Toshok + + * AppSettingsSection.cs (.cctor): specify null for + validator/converter. + + * ProtectedProviderSettings.cs (.cctor): specify null for + validator/converter. + +2006-01-03 Chris Toshok + + * Configuration.cs (SaveAs): open with FileMode.OpenOrCreate so we + can save to a new file. + (CreateSection): don't bother to set the section information's + Name here. we'll do it in SectionInfo.CreateInstance. + + * ProtectedConfiguration.cs (Section): new static property so we + can remove all the GetSection calls. + (GetProvider): load a named provider, optionally throwing an + exception if it's not found. + + * InternalConfigurationHost.cs (EncryptSection, DecryptSection): + make these private interface implementations, and call + protectedSection.{EncryptSection,DecryptSection}. + + * ProtectedConfigurationSection.cs (EncryptSection, + DecryptSection): add these two calls. They really shouldn't be + here, but I saw them in an MS stack trace and thought "why not?". + + * ConfigurationSection.cs (SectionInformation): don't set + attributes here, that's done in SectionInfo.CreateInstance. + (DeserializeSection): shoehorn in the decryption stuff here. It + doesn't belong here, and I've added a MonoTODO about it. It + should live someplace like SectionInfo.ReadData (which would make + it similar to the encryption stuff in .WriteData). + + * SectionInformation.cs (IsProtected): remove the special flag, + just return true if we have a non-null protection_provider. + (ProtectSection): do nothing but try to instantiate the named + provider. + (UnprotectSection): null out protection_provider. + + * DpapiProtectedConfigurationProvider.cs: move the + NotSupportedExceptions to Decrypt/Encrypt so we don't bomb out + when parsing our machine.config file. + + * RsaProtectedConfigurationProvider.cs: initial implementation. + much is missing (OAEP support, key importing, adding/deleting + keys), but it can be used. + +2006-01-02 Chris Toshok + + * RsaProtectedConfigurationProvider.cs: implement the + CspProviderName and UseOAEP properties.. + +2006-01-02 Chris Toshok + + * ProtectedConfigurationSection.cs: flesh this out (and add logic + to instantiate providers, based on some of the standalone test + exception stack traces.) + + * ProtectedConfiguration.cs: new implementation. + + * ProtectedConfigurationProviderCollection.cs: new + implementation. + + * ProtectedProviderSettings.cs: new implementation. + + * ProtectedConfigurationProvider.cs: trim the superclass's name. + + * RsaProtectedConfigurationProvider.cs: stubbed, unimplemented. + + * DpapiProtectedConfigurationProvider.cs: add stubbed + implementation that throws NotSupportedException telling people + they should be using RsaProtectedConfigurationProvider. + +2006-01-02 Chris Toshok + + * DefaultSection.cs (Properties): implement. + + * IgnoreSection.cs: move from lazily creating the properties + collection to sharing a single one across all instances. + + * ConfigurationLockCollection.cs (IsReadOnly): fix compiler warning. + + * ConfigurationElementCollection.cs (BaseAdd) remove logic to + remove an old matching element. + (BaseGetKey): throw an exception if @index is out of range. + + * SectionInformation.cs (SectionName): just return name, like Name + does.. redundant, but it matches tests. + (GetRawXml): implement. + (SetRawXml): implement. + + * ConfigurationSection.cs (SectionInformation): fill in + sectionInformation.Type before returning. + (DeserializeSection): save off the raw xml to our + SectionInformation. + + * ConfigurationElement.cs (LockItem): implement. + (DeserializeElement): add support for the "lockItem" attribute. + +2005-12-16 Chris Toshok + + * ConfigurationLockCollection.cs (Add): only add the name if it's + not already there. + (IsReadOnly): always return false for the time being, in the + non-exceptional case. + +2005-12-15 Chris Toshok + + * ConfigurationElement.cs (LockAllAttributesExcept): implement. + (LockAllElementsExcept): implement. + (DeserializeElement): handle the built-in attributes (lock* for + the time being). + +2005-12-15 Chris Toshok + + * ConfigurationLockCollection.cs (..ctor): don't call Populate. + (Populate): nuke. + (CheckName): make sure the passes in name is valid for this type + of lock collection. + (Add): call CheckName, and set is_modified to true. + (Clear): set is_modified. + (IsReadOnly): add plausable implementation, including exception in + the case where the name isn't found. + (Remove): set is_modified. + (SetFromList): implement. + (get_AttributeList): implement. + (set_IsModified): add internal setter so we can clear the modified + flag. + +2005-12-12 Chris Toshok + + * AppSettingsSection.cs (DeserializeElement): provide rather naive + version of the file="" handling. It's enough to make our tests + pass. + +2005-12-11 Chris Toshok + + * ConnectionStringsSection.cs (..cctor): use "" instead of null + for the name of the default collection. + + * AppSettingsSection.cs (..cctor): create a property for the + default collection. + (DeserializeElement): call base.DeserializeElement. + (File): index off the property, not the name. + (Settings): don't use an private variable here, use + base[_propSettings]. + + * ConfigurationManager.cs (GetSection): GetEntryAssembly returns + null for new app domains. so deal with this by calling + GetCallingAssembly if it's null. This is probably still wrong but + it doesn't NRE in xsp2. + (AppSettings): remove MonoTODO. + + * KeyValueConfigurationElement.cs (..ctor): new method, create the + ConfigurationProperty's and the collection here. + (.ctor): add internal arg-less ctor. + (Key): use keyProp instead of "key". + (Value): use vlaueProp instead of "value". + (Properties): return our class's properties. + + * KeyValueConfigurationCollection.cs (CreateNewElement): use the + arg-less ctor. + (GetElementKey): re-enable the BaseIndexOf test. + +2005-12-02 Chris Toshok + + * Configuration.cs (Save): call WriteStartDocument. + + * ConnectionStringSettingsCollection.cs (CreateNewElement): use + parameter-less ctor to keep from generating exceptions when using + the collection. + +2005-12-02 Chris Toshok + + * ConnectionStringSettings.cs: tabify, fix default values, and add + a string validator for "name". + +2005-12-02 Chris Toshok + + * CommaDelimitedStringCollectionConverter.cs (ConvertTo): change + the type check away from an exact check for + CommaDelimitedStringCollection to an assignable test from + StringCollection. This is due to the fact that AuthorizationRule + doesn't create CommaDelimitedStringCollections, for some odd + reason. It uses StringCollections. + + * PropertyInformation.cs (Value): remove the case for + IsDefaultCollection - it's not necessary, as the property is an + Element. + + * ConnectionStringSettings.cs: fix formatting and remove some + #regions. + + * ConnectionStringSettingsCollection.cs: same. + + * ConnectionStringsSection.cs: same. + + * ConfigurationElement.cs (SerializeToXmlElement): don't write the + enclosing start/end elements if the elementName is null or "". + this fixes the case for the DefaultCollections (at least in the + case of connectionStrings). + + * IgnoreSection.cs (Properties): remove the MonoTODO. + + * SectionInfo.cs (WriteData): remove the "" output. + +2005-11-28 Chris Toshok + + * ProviderSettings.cs: use ConfigurationProperty's to implement + the properties. + +2005-11-24 Chris Toshok + + * ConfigurationProperty.cs (Validate): add internal method. + +2005-11-24 Chris Toshok + + * ConfigurationElement.cs (ElementProperty): make this protected + internal virtual instead of public. + (SetPropertyValue): add a validator call and a blurb about the + code based on information gleaned from tests. + (set_Item (string)): call SetPropertyValue in the setter. + 2005-11-14 Chris Toshok * CommaDelimitedStringCollection.cs: reformat things a bit, and