Commit Graph
11 Commits
Author SHA1 Message Date
Atsushi Eno 6e4bd7db9e 2007-06-13 Atsushi Enomoto <[email protected]>
* SettingsContext.cs : add internal CurrentSettings property to
	  make current ApplicationSettingsBase accessible.
	* ApplicationSettingsBase.cs : use above.
	* SettingValueElement.cs : implement SerializeToXmlElement().

	* SettingElementTest.cs : test initial Value.


svn path=/trunk/mcs/; revision=79466
2007-06-13 17:50:52 +00:00
Atsushi Eno 2270d913b0 2007-05-30 Atsushi Enomoto <[email protected]>
* ApplicationSettingsBase.cs : removed garbage debugging stuff.


svn path=/trunk/mcs/; revision=78241
2007-05-30 17:47:05 +00:00
Atsushi Eno 8b06b7c8a2 2007-05-30 Atsushi Enomoto <[email protected]>
* 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.


svn path=/trunk/mcs/; revision=78240
2007-05-30 17:46:17 +00:00
Sebastien Pouliot eb34b086f3 2006-11-09 Sebastien Pouliot <[email protected]>
* ApplicationSettingsBase.cs: Add special case when dealing with 
	StringCollection in the Properties property.


svn path=/trunk/mcs/; revision=67597
2006-11-09 14:58:20 +00:00
Andrew Skiba e27d3aa027 exclude using PrebuiltSystem on TARGET_JVM
svn path=/trunk/mcs/; revision=67456
2006-11-07 14:07:22 +00:00
Atsushi Eno fde86f617c 2006-06-29 Atsushi Enomoto <[email protected]>
* ApplicationSettingsBase.cs : When we use default value, convert it
	  to proper type. Fixed bug #78654. Patch by Gareth Pearce.

	* ApplicationSettingsBaseTest.cs : added test for bug #78654.


svn path=/trunk/mcs/; revision=62136
2006-06-29 05:06:20 +00:00
Chris Toshok 1368a39647 2006-05-05 Chris Toshok <[email protected]>
* ApplicationSettingsBase.cs (CacheValuesByProvider): emit
	SettingsLoaded after we load the property values.
	(set_Item[string]): fill in settingClass in the
	SettingChangingEventArgs properly.
	(get_Properties): don't depend on setting_attrs[0] being either
	UserScoped- or ApplicationScopedSettingAttribute.  Also, call
	Initialize on any providers we create here.

	* LocalFileSettingsProvider.cs (GetPropertyValues): add a naive
	implementation, leave a MonoTODO.
	(Initialize): fill in name properly, and deal with null values.


svn path=/trunk/mcs/; revision=60336
2006-05-05 19:55:12 +00:00
Chris Toshok 3e69f2a382 2005-11-04 Chris Toshok <[email protected]>
* 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
2005-11-04 17:25:17 +00:00
Chris Toshok b1c3bf67db 2005-11-04 Chris Toshok <[email protected]>
* ApplicationSettingsBase.cs: remove unnecessary using.

	* SettingValueElement.cs: add XML_DEP's.


svn path=/trunk/mcs/; revision=52585
2005-11-04 17:12:24 +00:00
Chris Toshok f442c04839 2005-11-03 Chris Toshok <[email protected]>
* ConfigurationSettings.cs: add ObsoleteAttribute's.

	* ConfigurationException.cs: add ObsoleteAttribute's.

	* IConfigurationSystem.cs: add ComVisibleAttribute.

	* ApplicationSettingsBase.cs: new stubs, with a broken/naive
	implementation.

	* SettingElementCollection.cs, IPersistComponentSettings.cs,
	SettingElement.cs, LocalFileSettingsProvider.cs,
	SettingValueElement.cs: new stubs.

	* SettingAttribute.cs: fix typo.


svn path=/trunk/mcs/; revision=52553
2005-11-04 05:07:44 +00:00
Jackson Harper 1c4613fe14 * ApplicationSettingsBase.cs: We need this stub to do some 2.0
winforms stuff.


svn path=/trunk/mcs/; revision=42178
2005-03-23 23:10:13 +00:00