2004-06-15 Gonzalo Paniagua Javier * ConfigurationSettings.cs: allow empty . 2004-05-17 Gonzalo Paniagua Javier * ConfigurationSettings.cs: don't ask me why, but the .cctor initialization of 'instance' field does no longer work. 2004-05-06 Gonzalo Paniagua Javier * ConfigXmlDocument.cs: removed method that was supposed to be internal. * ConfigurationSettings.cs: instead of calling the overload that doesn't exist in MS, use what we have when loading an external file. 2004-04-20 Gonzalo Paniagua Javier * ConfigXmlDocument.cs: fixed overloaded Load and added a new one that sets the file name. * ConfigurationSettings.cs: use the new Load in ConfigXmlDocument when loading sections. * NameValueFileSectionHandler.cs: don't fails if the path for the 'file' attribute doesn't have a directory. Closes bug #57244. 2004-03-19 Gonzalo Paniagua Javier * ConfigurationSettings.cs: removed FileWatcherCache. See bug #53445. 2003-12-03 Gonzalo Paniagua Javier * ConfigurationSettings.cs: initialize config in ChangeConfigurationSettings if it has not been done yet. Patch by George Kodinov gkodinov@openlinksw.co.uk). Fixes bug #51643. 2003-12-02 Gonzalo Paniagua Javier * ConfigurationSettings.cs: handle allowdefinition and allowlocation, added locks, don't reopen the file for every new section to be read, but keep them as strings and build the section handlers with that. Also allow changing the configuration system (used from System.Web). 2003-11-17 Ben Maurer * ConfigurationSettings.cs: make the *Mark objects static because they need to be comparable across instances. (ReadSectionGroup): You can add an element to a group declared in the parent config files (MS.net's QuickStarts do this). 2003-11-06 Gonzalo Paniagua Javier * ConfigurationSettings.cs: don't handle null or non-existent file in the catch blocks. 2003-10-03 Gonzalo Paniagua Javier * ConfigurationSettings.cs: really make the cache work. 2003-10-03 Gonzalo Paniagua Javier * ConfigurationSettings.cs: pass the file name we're reading as the context. 2003-10-03 Gonzalo Paniagua Javier * ConfigurationSettings.cs: patch by Eric Lindvall (eric@5stops.com) that improves performance by not reading the file more than once. 2003-07-15 Andreas Nahr * ConfigurationSettings.cs: Removed unused exception variable, fixes compiler warning 2003-06-16 Lluis Sanchez Gual * ConfigurationSettings.cs: Avoid chicken-egg problem when reading machine.config. Cannot use an uri to read mechine.config because web request module handelrs are defined in machine.config. 2003-03-02 Gonzalo Paniagua Javier * AppSettingsReader.cs: fixed bug #38755. 2002-12-19 Gonzalo Paniagua Javier * ConfigXmlDocument.cs: don't jump over the first element. * ConfigurationSettings.cs: pass doc.DocumentElement instead of doc. This used to work until i tried to access one attribute of the first element and realized that the element was not the expected! This change does not affect the configuration handlers that only use ChildNodes property on the XmlNode they get as argument. 2002-12-15 Gonzalo Paniagua Javier * ConfigurationSettings.cs: removed type loading hack no longer needed. 2002-12-14 Jonathan Pryor * ConfigurationSettings.cs: Allow configuration sections to be removed. 2002-11-04 Gonzalo Paniagua Javier * ConfigurationSettings.cs: use AppDomainSetup to get the configuration file name for the AppDomain. 2002-10-31 Gonzalo Paniagua Javier * ConfigHelper.cs: NameValueCollection.Add is now fixed. 2002-10-14 Martin Baulig * ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath): Append ".config" to the filename, not ".exe.config" since the filename already has a ".exe" suffix. 2002-10-14 Martin Baulig * ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath): Use Assembly.Location, not Assembly.FullName to get its filename. 2002-10-10 Gonzalo Paniagua Javier * ConfigHelper.cs: workaround for a bug in NameValueCollection. * ConfigurationSettings.cs: load sections when the parent holds a handler for it. Now overriding appSettings values in the app config file works (first and then * ConfigHelper.cs: * NameValueFileSectionHandler.cs: check that Attributes is not null. 2002-10-09 Miguel de Icaza * NameValueFileSectionHandler.cs: For now if a section is not present, return null. Do not know what the real fix is. Gonzalo will have to look at this, but the debugger was crashing as appSettings in the machine.config does not exist, but GetConfig returns a non-null value when looking it up when you do a GetDocumentForSection ("appSettings"). 2002-10-09 Gonzalo Paniagua Javier * ConfigurationSettings.cs: use get_machine_config_path internal call. 2002-10-08 Gonzalo Paniagua Javier * ConfigXmlDocument.cs: move the reader for the section to the first element. * ConfigurationSettings.cs: fixed hierarchical search for a handler. 2002-10-06 Gonzalo Paniagua Javier * ConfigurationSettings.cs: reimplemented. It is now able to deliver sections to their handlers for processing. 2002-10-03 Gonzalo Paniagua Javier * ConfigHelper.cs: New file. Contains some helper functions for getting key-value collections from the config file. * ConfigXmlDocument.cs: wrapper around xml elements to provide line number and file name info. * IConfigXmlNode.cs: used in ConfigXmlDocument and ConfigurationException. * ConfigurationException.cs: get file name and line number from the wrapped XmlNode. Display this info in Message. * NameValueFileSectionHandler.cs: new handler. * DictionarySectionHandler.cs: * NameValueSectionHandler.cs: modified to use the helper methods in ConfigHelper. 2002-10-02 Gonzalo Paniagua Javier * AppSettingsReader.cs: New file. * IConfigurationSystem.cs: New file. * IgnoreSectionHandler.cs: * NameValueSectionHandler.cs: * SingleTagSectionHandler.cs: little fixes. 2002-09-03 Martin Baulig * ConfigurationSettings.cs (ConfigurationSettings.GetConfig): Use the correct configuration filename, fixed the TODO. (GetSectionHanderType): Renamed to GetSectionHandlerType. * NameValueSectionHandler.cs (NameValueSectionHandler.Create): Allow whitespaces in the configuration file. 2002-01-31 Duncan Mak * ConfigurationException.cs: Rewrote most of the file and added serialization bits. 2002-01-06 Ravi Pratap * ConfigurationSettings.cs, IgnoreSectionHandler.cs : MonoTODO decoration * SingleTagSectionHandler.cs, DictionarySectionHandler.cs, NameValueSectionHandler.cs : Ditto. 2001-08-28 Christopher Podurgiel * IConfigurationSectionHandler.cs: Added reference to System.Xml. * SingleTagSectionHandler.cs: Added Implementation of Create() method. * NameValueSectionHandler.cs: Added Implementation of Create() method. * ConfigurationException.cs: Now returns proper message rather than "System Exception". 2001-08-26 Christopher Podurgiel * ConfigurationSettings.cs: No longer references the NameValueSectionHandler directly. Instead it uses System.Reflection to call the Create() method for the appropriate SectionHandler as defined in the .config file.