[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / System.Configuration / System.Configuration / ChangeLog
index 3184d1cdb07fb805ebf82feff04a4314bfcb7d53..005312a358f6399975f73e80cd19079de77b583f 100644 (file)
@@ -1,3 +1,177 @@
+2010-07-27  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ConfigurationPropertyCollection.cs, PropertyInformation.cs:
+         add null check to detect bogus configuration early.
+
+2010-01-09  Marek Habersack  <mhabersack@novell.com>
+
+       * ConfigurationLocation.cs: trailing / characters are removed from
+       the path.
+
+       * Configuration.cs: instances created for locations inherit
+       ConfigPath from their containing document.
+       Host.GetConfigPathFromLocationSubPath must be called with current
+       instance's configPath, not LocationConfigPath.
+       Locations are sought for using paths relative to the current
+       instance's configPath, not to the root path.
+       All of the above is part of fix for bug #568441
+
+2009-12-14  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * SectionInformation.cs: ConfigSource should never be null, but empty.
+       Also, the Type property should throw an argument exception if the
+       new value is null or empty.
+       Fixes #458185.
+
+2009-10-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * Configuration.cs: make this work again with bundled configuration
+       files. Fixes bug #495957. Patch from Tor Lillqvist.
+
+2009-07-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * ConfigurationElement.cs: don't skip xml nodes when reading 2
+       ConfigurationElement in a row. Patch by Greg Smolyn that fixes bug
+       #521231.
+
+2009-07-15  Marek Habersack  <mhabersack@novell.com>
+
+       * Configuration.cs: explicitly flush the stream when writing XML
+       data. Part of fix for bug #522017
+
+2009-07-14  Marek Habersack  <mhabersack@novell.com>
+
+       * ConfigurationSaveEventArgs.cs, ConfigurationSaveEventHandler.cs:
+       added
+
+       * Configuration.cs: added two internal events - SaveStart and
+       SaveEnd. They are used by System.Web's configuration system to
+       suppress application reloads when configuration is modified and
+       saved from within a web application. It is necessary to use events
+       since there is no guarantee the web application will use
+       WebConfigurationManager (and thus WebConfigurationHost) for
+       writing.
+
+2009-06-08  Marek Habersack  <mhabersack@novell.com>
+
+       * ConfigurationLocation.cs: if the path passed to constructor
+       starts with any of ' ' '.' '/' or '\', throw an exception. Fixes
+       bug #510735
+
+2008-12-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * Configuration.cs: don't try to open the file if we know it does not
+       exist. Also, don't hide the actual exception in case there's a problem
+       opening the configuration file.
+
+2008-11-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * ConfigurationManager.cs: the config file name is arbitrary.
+       (Standalone test t46)
+
+2008-11-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * ConfigurationManager.cs: when we're dealing with an EXE hosted
+       application, the configuration file is the one for the AppDomain,
+       otherwise we might try to get a config file for a dll. Fixes the
+       regression in 2.0 sys.config.
+
+2008-07-09  Marek Habersack  <mhabersack@novell.com>
+
+       * ConfigurationManager.cs: implemented a work-around for
+       OpenExeConfiguration ("") not working with ASP.NET apps properly.
+
+2008-07-07  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * ConfigurationManager.cs: Return the right path if the calling assembly is
+       not null. This happens when ConfigurationSession::GetRuntimeObject() is
+       called, SectionHandler != null and the handler itself calls
+       OpenExeConfigurationInternal ("").
+
+2008-07-07  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * ClientConfigurationSystem.cs:
+       * ConfigurationManager.cs: Reaply the patch from Gert.
+       This change doesn't contain any fix to to not clutter
+       the commit history.
+
+2008-07-07  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * ClientConfigurationSystem.cs:
+       * ConfigurationManager.cs: The previous patch since it
+       causes a regression. It will remain reverted until we figure
+       out what's wrong and how to fix it.
+
+2008-07-02  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * ClientConfigurationSystem.cs: Moved logic for defaulting to
+       configuration file of AppDomain to OpenExeConfigurationInternal.
+       * ConfigurationManager.cs (OpenExeConfigurationInternal):
+       Allow calling_assembly and exePath to be null. When userLevel is None,
+       default to configuration file of AppDomain if exePath is null or empty.
+       When exePath is specified, resolve it to absolute path and throw
+       ConfigurationErrorsException if exePath does not exist and add
+       .config extension to get config file name if exePath does exist.
+
+2008-06-27  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * SectionInfo.cs, Configuration.cs, ConfigInfo.cs,
+         SectionGroupInfo.cs :
+         eliminate XmlTextReader, first stage.
+
+2008-06-27  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * ConfigurationErrorsException.cs : recover from
+         silly change that tries to prevent debuggin by
+         decreasing error location information.
+
+2008-06-26  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * ConfigurationElement.cs: Use ConfigurationErrorsException instead of
+       ConfigurationException, and pass reader to ConfigurationErrorsException
+       ctor to allow for file/linenumber info in exception message.
+       * ConfigurationErrorsException.cs: Removed local bareMessage field, and
+       use base.BareMessage field instead. Fixed Message property to only add
+       filename if not null or zero-length string, and only add line if not
+       zero. In GetFilename/GetLineNumber overloads, only try to get info if
+       node/reader implements IConfigErrorInfo.
+       * ConfigurationSection.cs: Use ConfigXmlTextReader instead of
+       XmlTextReader to allow for file/linenumber info in exception messages.
+       * ConfigXmlTextReader.cs: Added XmlTextReader that implements
+       IConfigErrorInfo.
+       * ConfigurationLocation.cs: Use ConfigXmlTextReader instead of
+       XmlTextReader to allow for file/linenumber info in exception messages.
+       * ClientConfigurationSystem.cs: Perform lazy initialization and
+       wrap exceptions in ConfigurationErrorsException. Fixes standalone test
+       t28.
+       * Configuration.cs: Use ConfigXmlTextReader instead of XmlTextReader
+       to allow for file/linenumber info in exception messages.
+       * ConfigInfo.cs: Fixed ThrowException to use file/number info available
+       in XmlTextReader for exception message.
+       * AppSettingsSection.cs: Use ConfigXmlTextReader instead of
+       XmlTextReader to allow for file/linenumber info in exception messages.
+
+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.