2008-06-19 Jb Evain <jbevain@novell.com>
[mono.git] / mcs / class / System.Configuration / System.Configuration / ChangeLog
index f0aac29f79ff1919034f0d67a6e66a6a3e60583a..8ac2a9e9689d32d6f3fef6516d3ece734ba88666 100644 (file)
@@ -1,3 +1,129 @@
+2008-06-19  Jb Evain  <jbevain@novell.com>
+
+       * ConfigurationPermissionAttribute.cs (CreatePermission): implement.
+
+2008-05-28  Marek Habersack  <mhabersack@novell.com>
+
+       * Configuration.cs: set the ConfigContext when getting
+       and instance of a section. Fix for bug #325128.
+
+       * ConfigurationSection.cs: added an internal property -
+       ConfigContext used to supply the HttpContext to the Create
+       method of SectionHandler when called from GetRuntimeObject.
+       Fix for bug #325128.
+
+       * InternalConfiguationHost.cs: changed CreateDeprecatedConfigContext
+       to return null rather than throwing a NotImplementedException.
+       Fix for bug #325128.
+
+       * All patches above contributed by James Fitzsimons <james.fitzsimons@gmail.com>,
+         thanks!
+
+2008-05-18  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SectionGroupInfo.cs: Use String.IsNullOrEmpty inside 2.0 code.
+       [Found using Gendarme]
+
+2008-05-11  Roei Erez  <roeie@mainsoft.com>
+
+       * SectionGroupInfo.cs: fix loading a SectionGroup without sections as childern.
+
+2008-05-05  Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
+
+       * ConfigurationElement.cs: don't fail when a mandatory property is a
+       configuration element itself.
+
+2008-04-30  Marek Habersack  <mhabersack@novell.com>
+
+       * ConfigurationElement.cs: HasLocalModifications considers a
+       property modifed locally if its origin is SetHere and it's been
+       marked as modified.
+
+2008-03-20  Igor Zelmanovich  <igorz@mainsoft.com>
+
+       * Configuration.cs:
+       * ConfigurationElement.cs:
+       implement EvaluationContext property.           
+
+2008-03-01  Marek Habersack  <mhabersack@novell.com>
+
+       * SectionInformation.cs: added an internal property -
+       ConfigFilePath, used when deserializing a section in
+       ConfigurationSection.GetRuntimeObject.
+
+       * Configuration.cs: set SectionInformation.ConfigFilePath when
+       getting an instance of a section.
+
+       * ConfigurationSection.cs: support the 'configSource' attribute
+       when section is read through GetRuntimeObject.
+
+2008-02-21  Marek Habersack  <mhabersack@novell.com>
+
+       * Configuration.cs: if the section being deserialized uses the
+       configSource attribute, call the section's DeserializeConfigSource
+       method.
+
+       * SectionInfo.cs: WriteData takes care of writing the section data
+       to the configSource file, if any.
+
+       * ConfigurationSection.cs: moved reading of the configSource
+       external data file to a separate internal method,
+       DeserializeConfigSource. Section's source config file path is now
+       used to find the configSource.
+       SerializeSection now doesn't write the section content to the
+       passed writer if configSource was used. Writing of the section
+       data is now done in SectionInfo.
+
+       * ConfigurationElement.cs: added a new method -
+       HasLocalModifications which returns true of any of the element
+       properties have been set locally on that element.
+
+2008-02-20  Marek Habersack  <mhabersack@novell.com>
+
+       * ConfigurationSection.cs: support the "configSource" attribute
+       when deserializing a section. Contents of the file (if it exists)
+       replaces the previous section contents.
+
+       * ConfigurationElement.cs: ignore the "configSource" attribute if we're a
+       ConfigurationSection instance.
+       HasValues () returns true only if any of the properties has the
+       origin set to SetHere.
+
+2008-02-07  Konstantin Triger <kostat@mainsoft.com>
+
+       * ClientConfigurationSystem.cs: performance: refactor out the Configuration
+               object construction from GetSection() to the ctor.
+
+2008-01-16  Zoltan Varga  <vargaz@gmail.com>
+
+       * ConfigurationElement.cs: Allow non-public constructors. Fixes #353554.
+
+       * PropertyInformation.cs: Allow non-public constructors. Fixes #353557.
+
+       * ConfigurationElement.cs: Consider non-public properties as well. Fixes
+       #353553.
+
+2008-01-12  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * ConfigurationLocationCollection.cs: Avoid infinite recursion. 
+       Found using Gendarme.
+
+2007-12-25  Konstantin Triger <kostat@mainsoft.com>
+
+       * KeyValueInternalCollection.cs: properly override NameValueCollection
+               to support interop with it.
+
+2007-12-25  Konstantin Triger <kostat@mainsoft.com>
+
+       * ConfigurationElement.cs:
+               1. typo - pass the correct property to Attribute.GetCustomAttribute.
+               2. Pass oroginal exception as inner.
+
+2007-12-05  Marek Habersack  <mhabersack@novell.com>
+
+       * ConfigurationElement.cs: some property values may be null
+       objects in GetHashCode.
+
 2007-11-23  Marek Habersack  <mhabersack@novell.com>
 
        * ConfigurationElementCollection.cs: ThrowOnDuplicate returns true