* Configuration.Save() and SaveAs() now honors the
`ConfigurationSaveMode' argument.
* Check whether the file has been modified prior to saving.
* Fix ConfigurationUserLevel inheritance.
* Implement ConfigurationElement.IsModified().
* New ConfigurationSaveTest.cs test:
- load a custom section using different parent configuration
files using ExeConfigurationFileMap and different
ConfigurationUserLevel values.
- save configuration using different ConfigurationSaveMode
arguments and different inherited parent configurations.
* ExeConfigurationFileMapTest.cs: Add error checks for missing
required filenames.
* New TestUtil.cs helper class:
- RunWithTempFile() and RunWithTempFiles() helper functions.
- DotNetVersion, ThisDllName and ThisConfigFileName properties,
moving all the #ifdef's into one central place.
* ConfigurationElement.cs: don't skip xml nodes when reading 2
ConfigurationElement in a row. Patch by Greg Smolyn that fixes bug
#521231.
svn path=/trunk/mcs/; revision=138142
GetFilename/GetLineNumber overloads.
* System.Configuration_test.dll.sources: added
ConfigurationErrorsExceptionTest.cs.
* System.Configuration.dll.sources: added ConfigXmlTextReader.cs.
* 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.
* Assert.cs: added.
* Makefile: added Assert.cs, and explicitly specify output file.
* t28.cs: Improved test.
svn path=/trunk/mcs/; revision=106626
* ProviderBaseTest.cs: Added tests for Initialize.
* ProviderBase.cs: Remove "description" key from NameValueCollection.
Use provider name as description if description is null or a zero
length string. Modifies exception messages to match MS.
* GenericEnumConverterTest.cs: Remove unused variable.
* ConfigurationManagerTest.cs: Fixed line endings.
* ConnectionStringSettingsTest.cs: Fixed line endings and avoid
ToString override warning.
* KeyValueConfigurationElementTest.cs: Fixed line endings.
* KeyValueConfigurationCollectionTest.cs: Fixed line endings.
svn path=/trunk/mcs/; revision=85126
* ConfigurationSectionGroup.cs
Configuration.cs : ConfigurationSectionGroup must be initialized
at least when being added to a collection.
* ConfigurationSectionGroupTest.cs : new (my change is with tests.)
* System.Configuration_test.dll.sources :
added ConfigurationSectionGroupTest.cs.
svn path=/trunk/mcs/; revision=79445
* System.Configuration/ConnectionStringSettingsTest.cs: new tests.
we fail a couple, due to the fact that it seems StringValidator on
MS (at least in this case) doesn't actually check the MinLength
requirement when the value is null. I'm a bit confused by this.
* System.Configuration/StringValidatorTest.cs: add a null
validation check.
svn path=/trunk/mcs/; revision=53867
* System.Configuration_test.dll.sources: add a bunch of new tests.
* System.Configuration.dll.sources: add a bunch of new files to
the build.
svn path=/trunk/mcs/; revision=51312