[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / System / System.Configuration / ChangeLog
index e9a4349a9ffce8bc80e369968a988258a3887fcb..57e3f5c5b785ca8f8adcd570622df518cd7a6ff9 100644 (file)
@@ -1,3 +1,280 @@
+2010-02-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * CustomizableLocalFileSettingsProvider.cs: When saving the
+       properties, ignore the properties marked with
+       ApplicationScopedSettingAttribute, as they are not serialized in .net 
+       by FileSettingsProvider (the default class used to save the config,
+       and the one using the class we are modifying).
+       Fixes #468658.
+
+2010-02-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * CustomizableLocalFileSettingsProvider.cs: The name of the child
+       class of Settings should be 'normalized' by replacing the chars that
+       are invalid in a xml element name with their corresponding hexadecimal
+       values. This is specially visible when using classes container in
+       other classes.
+       Fixes #471289.
+
+2009-08-31 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * CustomizableFileSettingsProvider.cs: reset the property value
+       instead of using the DefaultValue.
+       * SettingsPropertyValue.cs: new Reset() method.
+       * ApplicationSettingsBase.cs: Reset happens in Reload().
+       Patch by Andrew Kurochka that fixes bug #532180.
+
+2009-06-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * IriParsingElement.cs:
+       * UriSection.cs:
+       * IdnElement.cs: new files that parse <uri> and subelements.
+
+2009-06-05 Marek Safar <marek.safar@gmail.com>
+
+       * DictionarySectionHandler.cs, NameValueSectionHandler.cs,
+       NameValueFileSectionHandler.cs, SingleTagSectionHandler.cs,
+       IConfigurationSectionHandler.cs, IgnoreSectionHandler.cs: Always
+       build IConfigurationSectionHandler.
+
+2009-05-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * CustomizableFileSettingsProvider.cs: make sure 'values' is
+       initialized in Reset(). Fixes bug #436592.
+
+2009-04-03  Marek Habersack  <mhabersack@novell.com>
+
+       * CustomizableFileSettingsProvider.cs: added a way for System.Web
+       to specify path to the current Web.config. Fixes bug #491531
+
+2008-11-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * ConfigHelper.cs: allow xmlns attribute.
+
+2008-11-15  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * SettingsPropertyValue.cs: Do not return null for zero-length String
+       value.
+
+2008-11-11  Atsushi Enomoto  <atsushi@xiiman.com>
+
+       Fix for bug 439943.
+       * SettingValueElement.cs : do not write value element twice.
+       * CustomizableFileSettingsProvider.cs : create "value" element
+         instead of a document fragment so that the output from
+         SettingValueElement could become consistent.
+         Null binary value caused crash. Set appropriate
+         SerializedValue for each serialization type.
+       * SettingsPropertyValue.cs : output only when the value is
+         non-null.
+
+2008-11-05  Atsushi Enomoto  <atsushi@xiiman.com>
+
+       * SettingValueElement.cs, CustomizableFileSettingsProvider.cs :
+         revert previous regressive change.
+
+2008-11-05  Atsushi Enomoto  <atsushi@xiiman.com>
+
+       * SettingValueElement.cs, CustomizableFileSettingsProvider.cs :
+         Fixed bug #439943. Xml deserialization for complex content was
+         not done correctly.
+
+2008-10-05  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * CustomizableFileSettingsProvider.cs (LoadPropertyValue): Do not
+       hide ArgumentException.
+
+2008-10-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * CustomizableFileSettingsProvider.cs: when reading application or
+       user settings, only read those settings appropriate for the context.
+       This avoids duplicate key errors when 2 different groups have a key
+       with the same name.
+       * ApplicationSettingsBase.cs: the context is a hashtable with several
+       values set upon creation: SettingsKey, GroupName and
+       SettingsClassType.
+
+       Fixes bug #432466.
+
+2008-10-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * ApplicationSettingsBase.cs: honor the IsSynchronized value in the
+       Context, Properties, PropertyValues and Providers. All of them might
+       initialize an instance field for the class. Hopefully this fixes some
+       nullrefs.
+
+2008-10-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * ApplicationSettingsBase.cs: honor the IsSynchronized value in the
+       indexer.
+
+2008-09-15  Raja R Harinath  <harinath@hurrynot.org>
+
+       * ConfigXmlDocument.cs (Load): Fix build break in 1.1 profile.
+       Open code the 'using' with try/finally/Close.
+
+2008-09-14  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * ConfigXmlDocument.cs: Dispose XmlTextReader in Load (String).
+
+2008-09-01  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * SettingsPropertyValue.cs: Explicitly use the Invariant culture 
+       instead of the current.
+       [Fixes bug #374516]
+
+2008-08-05  Ivan N. Zlatev  <contact@i-nz.net>
+
+       * ApplicationSettingsBase.cs: If there is no explicit 
+       SettingsSerializeAs attribute to specify the format, distinguish 
+       between plain string and XML by checking if the TypeConverter for the 
+       property type supports string conversions. If it doesn't then we are 
+       present with XML.
+       [Fixes bug #414445]
+
+2008-06-26  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * ConfigXmlDocument.cs: Implement IConfigErrorInfo on all Node classes.
+
+2008-06-25  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * ConfigurationExceptionTest.cs: Removed local bareMessage field, and
+       use base.Message instead. Fixed default cor to invoke String ctor of
+       SystemException. Fixed Message property to only add filename if not
+       null or zero-length string, and only add line if not zero.
+       * DictionarySectionHandler.cs: Fixed line endings.
+       * IgnoreSectionHandler.cs: Fixed line endings.
+
+2008-03-21  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * CustomizableFileSettingsProvider.cs : fix possible NRE for
+         SettingsContext.Current.
+
+2008-03-21  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * CustomizableFileSettingsProvider.cs : some hash calculation
+         improvements by the author.
+2008-03-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * CustomizableFileSettingsProvider.cs : cosmetic header fix
+         requested by the author.
+
+2008-01-12  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * SettingsPropertyValue.cs: Fix typo. Found using Gendarme.
+
+2007-11-21  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * CustomizableFileSettingsProvider.cs : when a property is found
+         only in the config file and not in the corresponding config type,
+         do not raise NRE but just add it as a simple property value.
+         Fixed bug #343459.
+
+2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ConfigXmlDocument.cs : corcompare cleanup.
+
+2007-11-06  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * CustomizableFileSettingsProvider.cs : Type.Namespace can be null.
+         MSDN documentation is kind of wrong here.
+
+2007-10-31 Arina Itkes <arinai@mainsoft.com>
+
+       * CustomizableFileSettingsProvider.cs,  LocalFileSettingsProvider.cs:
+       Return flow to the state before revision 80469 
+       for compilation with defined TARGET_JVM flag.
+
+2007-06-21  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SettingValueElement.cs : implement Reset().
+       * CustomizableFileSettingsProvider.cs : fixed company name getter
+         and product name getter.
+         LoadPropertyValue() should expect null ValueXml.
+       * LocalFileSettingsProvider.cs : time to switch. With a bit of
+         directory name difference, it should work.
+
+2007-06-13  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * CustomizableLocalFileSettingsProvider.cs :
+         - added extern alias to avoid reference and I could enable
+           Initialize() again.
+         - Copied default user config path stuff (Company/Product/Version)
+           from MWF Application.cs.
+         - SaveProperties() and SavePropertiesNoRoaming() are unified, and
+           mostly rewritten to create userSettings, set value correctly, etc.
+         - GetPropertyValues() should collect default values as well.
+
+         It is not enabled yet, as Configuration.Save() seems to do wrong
+         and could overwrite application exe.config.
+
+2007-06-13  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SettingsContext.cs : add internal CurrentSettings property to
+         make current ApplicationSettingsBase accessible.
+       * ApplicationSettingsBase.cs : use above.
+       * SettingValueElement.cs : implement SerializeToXmlElement().
+
+2007-06-12  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * SettingValueElement.cs: fixed stub Properties property for
+       System.Configuration fixes
+
+2007-06-04  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * CustomizableLocalFileSettingsProvider.cs : contribution for
+         LocalFileSettingsProvider implementation, by Noriaki Okimoto
+         (seara@ojk.sppd.ne.jp), modified by myself to fit for System.dll.
+         Origin of code license assignment at
+         http://ojk.sppd.ne.jp/ojkblog/?date=20070603#p01.
+       * LocalFileSettingsProvider.cs : rewriting to use above.
+
+         Due to some kind of compiler issue it is not enabled yet.
+
+2007-05-30  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ApplicationSettingsBase.cs : removed garbage debugging stuff.
+
+2007-05-30  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ConfigXmlDocument.cs : added explicit interface implementations.
+       * ApplicationSettingsBase.cs : split deeply-nested get_Properties()
+         into itself and a method. Treat default LocalFileSettingsProvider
+         as a (valid) settings provider. Removed a fixme (only public
+         members should be available).
+       * SettingsBase.cs : check lock state in Save().
+       * SettingsProviderCollection.cs : remove bogus table field which
+         conflicts with the table in base ProviderCollection class.
+
+2007-05-30  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SettingsBase.cs : property values are filled only when each
+         property is accessed. It should not use virtual providers,
+         properties or context internally since they could be overriden.
+       * SettingsPropertyValue.cs : to serialize value as string, use
+         TypeConverter as well (as deserialization).
+       * SettingsProviderCollection.cs : (Add) null arg check.
+
+2007-05-28  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SettingElementCollection.cs : fix build, cyclic build mess.
+
+2007-05-28  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SettingElement.cs : fix default value (null->"").
+       * SettingElementCollection.cs : implemented all.
+
+2007-05-28  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SettingsProviderAttribute.cs :
+         Return assembly qualified name. Check null args.
+       * ConfigXmlDocument.cs : it implements IConfigErrorInfo.
+
+2007-03-15  Vladimir Krasnov  <vladimirk@mainsoft.com>
+
+       * SettingsPropertyValue.cs: fixed binary deserealization that may be
+       present as base64 string
+
 2007-03-03  Gert Driesen  <drieseng@users.sourceforge.net>
 
        * ConfigurationSettings.cs: On 2.0 profile, use ConfigurationManager