* [System] Add unit test for Xamarin-2315
* [System] Use temporary directory for saving settings files
This change modifies the ApplicationSettingsBaseTests so that they
store the settings files in a temporary directory. This reduces
the risk of failed tests because of stale files from previous test
run, or from a build that runs in parallel.
* [System] Improve Settings behavior (Xamarin-15818)
Improve behavior of ApplicationSettingsBase class to match Windows .NET
more closely.
* Implement Upgrade to allow Upgrading of settings
* Make SettingsPropertyValue serialization work for complex objects
* Make Save and Update throw in unimplemented configurations
* Changed Reload to clear PropertyValues so they are reloaded
and fire PropertyChanged event for all Properties
* Modified Reset to do what Reload used to do.
* Added a backup Type loading for custom SettingsProviders
* don't call SettingsSaving on Reset()
* [System] Fire SettingsSaving event (Xamarin-2315)
When calling ApplicationSettingsBase.Save() the SettingsSaving
event has to be fired.
* [System] Add unit tests for Xamarin-15818
Modulo the GUID in the assembly and the GUID embedded in some
field initializers that use the assembly GUID for their name, the
assemblies are idential before and after the patch.
* 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.
svn path=/trunk/mcs/; revision=140950
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.
svn path=/trunk/mcs/; revision=118565
* 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.
* SettingsBaseTest.cs : new test.
* ApplicationSettingsBaseTest.cs : added Providers().
* System_test.dll.sources : added SettingsBaseTest.cs.
svn path=/trunk/mcs/; revision=78181
* SettingsProvider.cs, SettingsPropertyValueCollection.cs,
SettingValueElement.cs, SettingElement.cs,
SettingsPropertyValue.cs, ApplicationSettingsBase.cs,
SettingsPropertyCollection.cs, SettingsProviderCollection.cs,
SettingElementCollection.cs: Add XML_DEPS and CONFIGURATION_DEPS
to get this to bootstrap compile. What a pain.
svn path=/trunk/mcs/; revision=52586
* SettingsPropertyValue.cs
(SettingsPropertyValue.set_PropertyValue): set needPropertyValue =
false here so we don't pull in the default value in the getter.
* SettingsProviderCollection.cs: new implementation.
* SettingsPropertyValueCollection.cs
(SettingsPropertyValueCollection..ctor): init items.
(Add): add an internal method that takes a
SettingsPropertyValueCollection.
svn path=/trunk/mcs/; revision=50350
* SettingChangingEventArgs.cs: new implementation.
* SettingsPropertyIsReadOnlyException.cs: new exception.
* SettingsPropertyNotFoundException.cs: new exception.
* ISettingsProviderService.cs: new interface.
* IApplicationSettingsProvider.cs: new interface.
* SettingsPropertyValueCollection.cs: new implementation.
* SettingsPropertyCollection.cs: new implementation.
* SettingsBase.cs: implement the obvious bits (getters,
basically).
* SettingsPropertyValue.cs: make this work for the tests.
Disgusting class here. dis-gus-ting.
svn path=/trunk/mcs/; revision=50334