1 2007-11-06 Atsushi Enomoto <atsushi@ximian.com>
3 * CustomizableFileSettingsProvider.cs : Type.Namespace can be null.
4 MSDN documentation is kind of wrong here.
6 2007-10-31 Arina Itkes <arinai@mainsoft.com>
8 * CustomizableFileSettingsProvider.cs, LocalFileSettingsProvider.cs:
9 Return flow to the state before revision 80469
10 for compilation with defined TARGET_JVM flag.
12 2007-06-21 Atsushi Enomoto <atsushi@ximian.com>
14 * SettingValueElement.cs : implement Reset().
15 * CustomizableFileSettingsProvider.cs : fixed company name getter
16 and product name getter.
17 LoadPropertyValue() should expect null ValueXml.
18 * LocalFileSettingsProvider.cs : time to switch. With a bit of
19 directory name difference, it should work.
21 2007-06-13 Atsushi Enomoto <atsushi@ximian.com>
23 * CustomizableLocalFileSettingsProvider.cs :
24 - added extern alias to avoid reference and I could enable
26 - Copied default user config path stuff (Company/Product/Version)
27 from MWF Application.cs.
28 - SaveProperties() and SavePropertiesNoRoaming() are unified, and
29 mostly rewritten to create userSettings, set value correctly, etc.
30 - GetPropertyValues() should collect default values as well.
32 It is not enabled yet, as Configuration.Save() seems to do wrong
33 and could overwrite application exe.config.
35 2007-06-13 Atsushi Enomoto <atsushi@ximian.com>
37 * SettingsContext.cs : add internal CurrentSettings property to
38 make current ApplicationSettingsBase accessible.
39 * ApplicationSettingsBase.cs : use above.
40 * SettingValueElement.cs : implement SerializeToXmlElement().
42 2007-06-12 Vladimir Krasnov <vladimirk@mainsoft.com>
44 * SettingValueElement.cs: fixed stub Properties property for
45 System.Configuration fixes
47 2007-06-04 Atsushi Enomoto <atsushi@ximian.com>
49 * CustomizableLocalFileSettingsProvider.cs : contribution for
50 LocalFileSettingsProvider implementation, by Noriaki Okimoto
51 (seara@ojk.sppd.ne.jp), modified by myself to fit for System.dll.
52 Origin of code license assignment at
53 http://ojk.sppd.ne.jp/ojkblog/?date=20070603#p01.
54 * LocalFileSettingsProvider.cs : rewriting to use above.
56 Due to some kind of compiler issue it is not enabled yet.
58 2007-05-30 Atsushi Enomoto <atsushi@ximian.com>
60 * ApplicationSettingsBase.cs : removed garbage debugging stuff.
62 2007-05-30 Atsushi Enomoto <atsushi@ximian.com>
64 * ConfigXmlDocument.cs : added explicit interface implementations.
65 * ApplicationSettingsBase.cs : split deeply-nested get_Properties()
66 into itself and a method. Treat default LocalFileSettingsProvider
67 as a (valid) settings provider. Removed a fixme (only public
68 members should be available).
69 * SettingsBase.cs : check lock state in Save().
70 * SettingsProviderCollection.cs : remove bogus table field which
71 conflicts with the table in base ProviderCollection class.
73 2007-05-30 Atsushi Enomoto <atsushi@ximian.com>
75 * SettingsBase.cs : property values are filled only when each
76 property is accessed. It should not use virtual providers,
77 properties or context internally since they could be overriden.
78 * SettingsPropertyValue.cs : to serialize value as string, use
79 TypeConverter as well (as deserialization).
80 * SettingsProviderCollection.cs : (Add) null arg check.
82 2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
84 * SettingElementCollection.cs : fix build, cyclic build mess.
86 2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
88 * SettingElement.cs : fix default value (null->"").
89 * SettingElementCollection.cs : implemented all.
91 2007-05-28 Atsushi Enomoto <atsushi@ximian.com>
93 * SettingsProviderAttribute.cs :
94 Return assembly qualified name. Check null args.
95 * ConfigXmlDocument.cs : it implements IConfigErrorInfo.
97 2007-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
99 * SettingsPropertyValue.cs: fixed binary deserealization that may be
100 present as base64 string
102 2007-03-03 Gert Driesen <drieseng@users.sourceforge.net>
104 * ConfigurationSettings.cs: On 2.0 profile, use ConfigurationManager
105 to retrieve config section. Fixes bug #81020.
107 2007-01-22 Miguel de Icaza <miguel@novell.com>
109 * SettingsBase.cs: Removed a NotImplementedException, it provides
110 a default Save implementation.
112 2007-01-14 Vladimir Krasnov <vladimirk@mainsoft.com>
114 * SettingsPropertyValue.cs: fixed IsDirty Property
116 2007-01-08 Vladimir Krasnov <vladimirk@mainsoft.com>
118 * SettingsPropertyValue.cs: fixed PropertyValue, default value of
119 SettingsProperty should be desirialized or created
121 2007-01-03 Tor Lillqvist <tml@novell.com>
123 * ConfigurationSettings.cs: First try loading a bundled
124 machine.config file, then try loading one from the file
127 2006-12-31 Vladimir Krasnov <vladimirk@mainsoft.com>
129 * SettingsPropertyValue.cs: fixed PropertyValue property, added
130 default value convertation to property type
132 2006-12-12 Vladimir Krasnov <vladimirk@mainsoft.com>
134 * SettingsBase.cs: implemented Item property
136 2006-11-09 Sebastien Pouliot <sebastien@ximian.com>
138 * ApplicationSettingsBase.cs: Add special case when dealing with
139 StringCollection in the Properties property.
141 2006-11-05 Vladimir Krasnov <vladimirk@mainsoft.com>
143 * SettingsPropertyValue.cs: fixed PropertyValue property when it
144 should be deserialized.
146 2006-10-13 Atsushi Enomoto <atsushi@ximian.com>
148 * ConfigurationSettings.cs :
149 Handle <section> inside <section> as expected.
150 Fixed some ReadSections() consumers that it does _not_ consume
151 the surrounding EndElement. For now all issues I found are gone.
153 2006-10-13 Atsushi Enomoto <atsushi@ximian.com>
155 * ConfigurationSettings.cs : another MoveToNextElement() elimination.
156 When there is another section group after "system.drawing"
157 section in the existing machine.config, it borked as if there were
158 no "system.diagnostics" section.
160 It is still buggy; prepended sectionGroup still causes the above.
162 2006-10-13 Atsushi Enomoto <atsushi@ximian.com>
164 * ConfigurationSettings.cs : when there is no content in
165 sectionGroup, all the following contents were incorrectly read
166 as the empty group's subsection.
168 2006-09-28 Andrew Skiba <andrews@mainsoft.com>
170 * ConfigurationSettings.cs: add support for requirePermission
173 2006-09-28 Andrew Skiba <andrews@mainsoft.com>
175 * ConfigurationSettings.cs: TARGET_JVM
177 2006-08-23 Konstantin Triger <kostat@mainsoft.com>
179 * ConfigurationSettings.cs: remove CONFIGURATION_2_0 #if since NET_2_0
182 2006-07-31 Sebastien Pouliot <sebastien@ximian.com>
184 * ConfigurationSettings.cs: Assert FileIOPermission when loading a
186 * ConfigXmlDocument.cs: Add an imperative demand for PathDiscovery on
187 all (many classes) Filename properties. Ensure we're not using the
188 property (but the member) inside the class itself.
190 2006-06-29 Atsushi Enomoto <atsushi@ximian.com>
192 * ApplicationSettingsBase.cs : When we use default value, convert it
193 to proper type. Fixed bug #78654. Patch by Gareth Pearce.
195 2006-05-30 Gert Driesen <drieseng@users.sourceforge.net>
197 * ConfigurationException.cs: BareMessage, Filename and Line properties
198 are only virtual on 2.0 profile.
199 * ConfigurationSettings.cs: Marked GetConfig (string) obsolete on
202 2006-05-17 Atsushi Enomoto <atsushi@ximian.com>
204 * SettingsPropertyCollection.cs : implemented some synchronization
205 releated members. Actually it can never be synchronized by itself.
206 * SettingsBase.cs : Synchronized() just returns the same instance,
207 marking it as IsSynchronized = true. Fixed bug #78430.
209 2006-05-12 Atsushi Enomoto <atsushi@ximian.com>
211 * ConfigurationSettings.cs : another System.Orgy insanity.
213 2006-05-12 Atsushi Enomoto <atsushi@ximian.com>
215 * ConfigurationSettings.cs : ok, now I correctly understand the
216 problem. Since appSettings section handlers are different between
217 1.x and 2.0 AppSettings property implementation should also be
218 different. It should really fix bug #78372.
220 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
222 * ConfigurationSettings.cs : use ConfigurationManager.GetConfig()
223 in its GetConfig(). No need to change AppSettings and
224 Default.GetConfig() behavior here.
226 2006-05-05 Chris Toshok <toshok@ximian.com>
228 * LocalFileSettingsProvider.cs (IsUserSetting): more
229 CONFIGURATION_DEP crap.
231 2006-05-05 Chris Toshok <toshok@ximian.com>
233 * ApplicationSettingsBase.cs (CacheValuesByProvider): emit
234 SettingsLoaded after we load the property values.
235 (set_Item[string]): fill in settingClass in the
236 SettingChangingEventArgs properly.
237 (get_Properties): don't depend on setting_attrs[0] being either
238 UserScoped- or ApplicationScopedSettingAttribute. Also, call
239 Initialize on any providers we create here.
241 * LocalFileSettingsProvider.cs (GetPropertyValues): add a naive
242 implementation, leave a MonoTODO.
243 (Initialize): fill in name properly, and deal with null values.
245 2006-04-28 Atsushi Enomoto <atsushi@ximian.com>
247 * NoSettingsVersionUpgradeAttribute.cs
248 SettingsDescriptionAttribute.cs
249 SettingsGroupDescriptionAttribute.cs
250 SettingsGroupNameAttribute.cs
251 SettingsManageability.cs
252 SettingsManageabilityAttribute.cs
254 SpecialSettingAttribute.cs : new files.
255 * ConfigurationException.cs
256 SettingsPropertyCollection.cs : minor API compat fixes.
258 2006-04-27 Atsushi Enomoto <atsushi@ximian.com>
260 * SettingElement.cs : more circular dependency fix.
262 2006-04-27 Atsushi Enomoto <atsushi@ximian.com>
264 * SettingValueElement.cs,
265 SettingElement.cs : circular dependency hell fix.
267 2006-04-27 Atsushi Enomoto <atsushi@ximian.com>
269 * ClientSettingsSection.cs : new (implemented) file.
270 * SettingValueElement.cs : implemented.
271 SettingElement.cs : implemented.
272 SettingElementCollection.cs : implemented except for Add(),
273 Clear(), Get() and Remove().
275 A test will be soon added as part of bug #77957 test with
276 DefaultCollection support in sys.configuration.
278 2006-04-26 Atsushi Enomoto <atsushi@ximian.com>
280 * ApplicationSettingsGroup.cs : added missing type. This is part of
283 2006-03-11 Miguel de Icaza <miguel@novell.com>
285 * ConfigurationSettings.cs (ChangeConfigurationSettings): Make
286 internal to avoid warnings. This routine is called from
287 System.Web with MethodInfo.Invoke.
289 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
291 * SettingElementCollection.cs : CollectionType is protected.
293 2006-01-16 Chris Toshok <toshok@ximian.com>
295 * ConfigurationSettings.cs (AppSettings): move back to a 1.x
296 strategy in the 2.0 case. That is, don't hardcode the reference
297 to ConfigurationManager.AppSettings (yet). Eventually we can move
298 back to this code, once ConfigurationManager supports reading
299 web.config for settings.
301 2006-01-03 Chris Toshok <toshok@ximian.com>
303 * ConfigurationSettings.cs (GetConfig): be nice to people using
304 old 1.x style section handlers with the new 2.0 config stuff. If
305 we're about to return null or IgnoreSection, try to load it using
306 the 1.x api. If that works, return that object.
308 2006-01-02 Chris Toshok <toshok@ximian.com>
310 * LocalFileSettingsProvider.cs: use the PrebuiltSystem extern
311 alias to make sure we use the right type for NameValueCollection.
312 (Initialize): enable (under the CONFIGURATION_2_0 ifdef).
314 * ConfigurationSettings.cs: use the PrebuiltSystem extern alias to
315 make sure we use the right type for NameValueCollection.
316 (AppSettings): provide an implementation for the NET_2_0 &&
317 CONFIGURATION_2_0 case.
319 (ReadSectionGroup): allow a type attribute in the NET_2_0 &&
320 CONFIGURATION_2_0 case.
322 * AppSettingsReader.cs: use the PrebuiltSystem extern alias to
323 make sure we use the right type for NameValueCollection.
325 2005-11-28 Chris Toshok <toshok@ximian.com>
327 * SettingValueElement.cs: wrap a few more things in
330 2005-11-09 Chris Toshok <toshok@ximian.com>
332 * ConfigurationSettings.cs (AppSettings): remove the #if NET_2_0
334 (ReadSectionGroup): allow the "type" atrribute so we don't break
335 when reading a 2.0 config file using the 1.0 stuff.
337 2005-11-04 Chris Toshok <toshok@ximian.com>
339 * SettingsProvider.cs, SettingsPropertyValueCollection.cs,
340 SettingValueElement.cs, SettingElement.cs,
341 SettingsPropertyValue.cs, ApplicationSettingsBase.cs,
342 SettingsPropertyCollection.cs, SettingsProviderCollection.cs,
343 SettingElementCollection.cs: Add XML_DEPS and CONFIGURATION_DEPS
344 to get this to bootstrap compile. What a pain.
346 2005-11-04 Chris Toshok <toshok@ximian.com>
348 * ApplicationSettingsBase.cs: remove unnecessary using.
350 * SettingValueElement.cs: add XML_DEP's.
352 2005-11-03 Chris Toshok <toshok@ximian.com>
354 * ConfigurationSettings.cs: add ObsoleteAttribute's.
356 * ConfigurationException.cs: add ObsoleteAttribute's.
358 * IConfigurationSystem.cs: add ComVisibleAttribute.
360 * ApplicationSettingsBase.cs: new stubs, with a broken/naive
363 * SettingElementCollection.cs, IPersistComponentSettings.cs,
364 SettingElement.cs, LocalFileSettingsProvider.cs,
365 SettingValueElement.cs: new stubs.
367 * SettingAttribute.cs: fix typo.
369 2005-09-22 Chris Toshok <toshok@ximian.com>
371 * SettingsPropertyWrongTypeException.cs: new exception.
373 2005-09-20 Chris Toshok <toshok@ximian.com>
375 * SettingsPropertyValue.cs
376 (SettingsPropertyValue.set_PropertyValue): set needPropertyValue =
377 false here so we don't pull in the default value in the getter.
379 * SettingsProviderCollection.cs: new implementation.
381 * SettingsPropertyValueCollection.cs
382 (SettingsPropertyValueCollection..ctor): init items.
383 (Add): add an internal method that takes a
384 SettingsPropertyValueCollection.
386 2005-09-20 Chris Toshok <toshok@ximian.com>
388 * SettingsSavingEventHandler.cs: new delegate.
390 * SettingChangingEvent{Handler,Args}.cs: new delegate and args
392 * SettingsLoaded{Handler,Args}.cs: new delegate and args
394 * SettingsProviderAttribute.cs, SettingSerializeAsAttribute.cs,
395 UserScopedSettingAttribute.cs, DefaultSettingValueAttribute.cs,
396 ApplicationScopedSettingAttribute.cs, SettingAttribute: new
399 2005-09-20 Chris Toshok <toshok@ximian.com>
401 * SettingChangingEventArgs.cs: new implementation.
403 * SettingsPropertyIsReadOnlyException.cs: new exception.
405 * SettingsPropertyNotFoundException.cs: new exception.
407 * ISettingsProviderService.cs: new interface.
409 * IApplicationSettingsProvider.cs: new interface.
411 * SettingsPropertyValueCollection.cs: new implementation.
413 * SettingsPropertyCollection.cs: new implementation.
415 * SettingsBase.cs: implement the obvious bits (getters,
418 * SettingsPropertyValue.cs: make this work for the tests.
419 Disgusting class here. dis-gus-ting.
421 2005-09-19 Chris Toshok <toshok@ximian.com>
423 * System.Configuration/SettingsProvider.cs,
424 System.Configuration/SettingsPropertyValueCollection.cs,
425 System.Configuration/SettingsPropertyCollection.cs,
426 System.Configuration/SettingsProviderCollection.cs,
427 System.Configuration/SettingsBase.cs,
428 System.Configuration/SettingsSerializeAs.cs,
429 System.Configuration/SettingsPropertyValue.cs,
430 System.Configuration/SettingsProperty.cs,
431 System.Configuration/SettingsContext.cs,
432 System.Configuration/SettingsAttributeDictionary.cs: new files.
434 2005-07-05 Raja R Harinath <rharinath@novell.com>
436 * ConfigurationSettings.cs (ConnectionStrings): Change XML_DEP
437 guard to CONFIGURATION_DEP.
439 2005-06-15 Lluis Sanchez Gual <lluis@novell.com>
441 * ProviderBase.cs: Moved here from System.Configuration.dll.
443 2005-06-14 Lluis Sanchez Gual <lluis@novell.com>
445 * AppSettingsSection.cs, ConfigInfo.cs, Configuration.cs
446 ConfigurationAllowDefinition.cs, ConfigurationElement.cs
447 ConfigurationElementCollection.cs, ConfigurationElementCollectionType.cs
448 ConfigurationLocation.cs, ConfigurationLocationCollection.cs
449 ConfigurationProperty.cs, ConfigurationPropertyAttribute.cs
450 ConfigurationPropertyCollection.cs, ConfigurationPropertyFlags.cs
451 ConfigurationSection.cs, ConfigurationSectionCollection.cs
452 ConfigurationSectionGroup.cs, ConfigurationSectionGroupCollection.cs
453 ConfigurationUpdateMode.cs, ConfigurationUserLevel.cs
454 ConfigurationValidationAttribute.cs, ConnectionStringsSection.cs
455 ConnectionStringSettingsCollection.cs, ConnectionStringSettings.cs
456 IntegerConfigurationProperty.cs, NonEmptyStringConfigurationProperty.cs
457 NonEmptyStringFlags.cs, PathLevel.cs, ProtectedConfigurationProvider.cs
458 ProviderBase.cs, ProviderSettings.cs, ProviderSettingsCollection.cs
459 RuntimeOnlySection.cs, SectionInfo.cs, SectionGroupInfo.cs
460 TimeSpanConfigurationProperty.cs, TimeSpanPropertyFlags.cs
461 TimeSpanSerializedFormat.cs:
463 Moved to the new System.Configuration assembly.
466 2005-03-23 Jackson Harper <jackson@ximian.com>
468 * ApplicationSettingsBase.cs: We need this stub to do some 2.0
471 2005-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
473 * Configuration.cs: a few MonoTODOs less.
475 2005-03-02 Sureshkumar T <tsureshkumar@novell.com>
477 * ConfigurationSettings.cs: Implemented ConnectionStrings
480 2005-02-22 Sureshkumar T <tsureshkumar@novell.com>
482 * ConnectionStringsSection.cs: Implemented all methods.
485 * ConnectionStringSettings.cs: Configuration object for a
486 connection string element.
487 * ConnectionStringSettingsCollection.cs: Collection of
488 ConnectionStringSettings objects.
490 2005-02-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
492 * Configuration.cs: (.ctor) don't fail if the file to load does not
494 (GetExeConfiguration): use caller assembly location if the path is null
495 and check that the exe file exists.
496 Removed if XML_DEP, as there's one at the top of the file.
498 2004-11-18 Geoff Norton <gnorton@customerdna.com>
500 * ProviderSettingsCollection.cs: Add XML_DEP because this inherits
501 ConfigurationElementCollection which has XML_DEP. Fixes bootstrap
503 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
505 * ProviderSettings.cs, ProviderSettingsCollection.cs: Mostly implemented.
506 * Configuration.cs: Implemented GetSection() and GetSectionGroup().
507 * AppSettingsSection.cs: Better null check in Reset().
509 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
511 * TimeSpanConfigurationProperty.cs, TimeSpanPropertyFlags.cs,
512 TimeSpanSerializedFormat.cs: Implemented.
514 2004-11-09 Duncan Mak <duncan@ximian.com>
516 * NonEmptyStringConfigurationProperty.cs: Add XML_DEP, this should
519 2004-11-09 Lluis Sanchez Gual <lluis@novell.com>
521 * ConfigurationElement.cs: Implemented Equals and GetHashCode.
522 Only reflect properties from type's members if the type does not
524 * ConfigurationElementCollection.cs: Implemented Equals and GetHashCode.
526 * ConfigurationProperty.cs: It is not a subclass of ConfigurationElement.
527 * NonEmptyStringConfigurationProperty.cs, NonEmptyStringFlags.cs:
530 2004-11-09 Lluis Sanchez Gual <lluis@novell.com>
532 * AppSettingsSection.cs: Mostly implemented (missing support for
534 * ConfigHelper.cs: GetNameValueCollection now returns a
535 ConfigNameValueCollection instance which is a NameValueCollection with a
537 * ConfigInfo.cs: Added XPath property.
538 * Configuration.cs: Implemented AppSettings property. Set the Path property
539 of sections and groups.
540 * ConfigurationElement.cs: Support key serialization. Properly reset
542 * ConfigurationElementCollection.cs: Initial implementation.
543 * ConfigurationSection.cs: Impemented Path and GetRuntimeObject.
544 * ConfigurationSectionGroup.cs: Implemented Path.
545 * SectionGroupInfo.cs: Little fix.
547 2004-11-05 Lluis Sanchez Gual <lluis@novell.com>
549 * Configuration.cs: Minor fixes.
550 * ConfigurationElement.cs: Added support for the different update modes.
551 * SectionGroupInfo.cs: Support loading the same configuration section
552 from different files.
553 * SectionInfo.cs: Properly write back configuration data for which a
554 section object has not been created.
556 2004-11-04 Lluis Sanchez Gual <lluis@novell.com>
558 * AppSettingsSection.cs, ConfigurationPropertyCollection.cs,
559 ConfigurationValidationAttribute.cs, ConnectionStringsSection.cs,
560 ProtectedConfigurationProvider.cs, ProviderBase.cs
561 RuntimeOnlySection.cs: Fixed formatting and added missing TODOs.
563 2004-11-04 Lluis Sanchez Gual <lluis@novell.com>
565 * Configuration.cs, ConfigurationElement.cs, ConfigurationLocation.cs,
566 ConfigurationLocationCollection.cs, ConfigurationProperty.cs,
567 ConfigurationPropertyAttribute.cs, ConfigurationSection.cs,
568 ConfigurationSectionCollection.cs, ConfigurationSectionGroup.cs,
569 ConfigurationSectionGroupCollection.cs,IntegerConfigurationProperty.cs,
570 RuntimeOnlySection.cs: Initial implementation.
571 * ConfigurationAllowDefinition.cs: Removed XML_DEP ifdef
572 * ConfigurationException.cs: format fix.
573 * ConfigInfo.cs, SectionInfo.cs, SectionGroupInfo.cs: New support
576 2004-09-10 Tim Coleman <tim@timcoleman.com>
577 * ConfigurationElementCollection.cs ConfigurationElementCollectionType.cs:
579 * ConfigurationElement.cs:
580 Fix function declaration
583 2004-08-16 Duncan Mak <duncan@ximian.com>
585 * ConfigurationElement.cs (InitializeDefault): Made virtual.
587 * AppSettingsSection.cs:
589 * ConfigurationLocation.cs:
590 * ConfigurationLocationCollection.cs:
591 * ConfigurationSection.cs:
592 * ConfigurationSectionCollection.cs:
593 * ConfigurationSectionGroup.cs:
594 * ConfigurationSectionGroupCollection.cs:
595 * ConnectionStringsSection.cs: Added stubs and bits of implementation.
597 Other than ConfigurationElementCollection and
598 ConnectionStringsSectionCollection, we now have the basic skeleton
599 for implementing the configuration system in the
600 System.Configuration namespace.
602 2004-08-11 Duncan Mak <duncan@ximian.com>
604 * ProtectedConfigurationProvider.cs: Use XML_DEP.
606 2004-08-11 Duncan Mak <duncan@ximian.com>
608 * ProtectedConfigurationProvider.cs:
609 * ProviderBase.cs: Implemented.
611 * ConfigurationPropertyAttribute.cs: Implemented attribute.
613 * ConfigurationAllowDefinition.cs:
614 * ConfigurationUserLevel.cs:
615 * PathLevel.cs: Added enumerations.
617 2004-08-07 Atsushi Enomoto <atsushi@ximian.com>
619 * ConfigurationElement.cs,
620 ConfigurationProperty.cs,
621 ConfigurationPropertyCollection.cs,
622 ConfigurationValidationAttribute.cs : use XML_DEP.
624 2004-08-06 Duncan Mak <duncan@ximian.com>
626 * ConfigurationElement.cs: Added stubs.
628 * ConfigurationProperty.cs:
629 * ConfigurationPropertyCollection.cs:
630 * ConfigurationValidationAttribute.cs: Added.
632 * ConfigurationPropertyFlags.cs:
633 * ConfigurationUpdateMode.cs: Added 2.0 enumerations.
635 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
637 * ConfigurationSettings.cs: allow empty <configSections>.
639 2004-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
641 * ConfigurationSettings.cs: don't ask me why, but the .cctor
642 initialization of 'instance' field does no longer work.
644 2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
646 * ConfigXmlDocument.cs: removed method that was supposed to be internal.
648 * ConfigurationSettings.cs: instead of calling the overload that doesn't
649 exist in MS, use what we have when loading an external file.
651 2004-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
653 * ConfigXmlDocument.cs: fixed overloaded Load and added a new one that
656 * ConfigurationSettings.cs: use the new Load in ConfigXmlDocument when
659 * NameValueFileSectionHandler.cs: don't fails if the path for the 'file'
660 attribute doesn't have a directory.
664 2004-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
666 * ConfigurationSettings.cs: removed FileWatcherCache. See bug #53445.
668 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
670 * ConfigurationSettings.cs: initialize config in
671 ChangeConfigurationSettings if it has not been done yet. Patch by
672 George Kodinov gkodinov@openlinksw.co.uk). Fixes bug #51643.
674 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
676 * ConfigurationSettings.cs: handle allowdefinition and allowlocation,
677 added locks, don't reopen the file for every new section to be read,
678 but keep them as strings and build the section handlers with that.
679 Also allow changing the configuration system (used from System.Web).
681 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
683 * ConfigurationSettings.cs: make the *Mark objects static
684 because they need to be comparable across instances.
685 (ReadSectionGroup): You can add an element to a group declared
686 in the parent config files (MS.net's QuickStarts do this).
688 2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
690 * ConfigurationSettings.cs: don't handle null or non-existent file in
693 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
695 * ConfigurationSettings.cs: really make the cache work.
697 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
699 * ConfigurationSettings.cs: pass the file name we're reading as the
702 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
704 * ConfigurationSettings.cs: patch by Eric Lindvall (eric@5stops.com)
705 that improves performance by not reading the file more than once.
707 2003-07-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
709 * ConfigurationSettings.cs: Removed unused exception variable, fixes
712 2003-06-16 Lluis Sanchez Gual <lluis@ximian.com>
714 * ConfigurationSettings.cs: Avoid chicken-egg problem when reading
715 machine.config. Cannot use an uri to read mechine.config because web
716 request module handelrs are defined in machine.config.
718 2003-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
720 * AppSettingsReader.cs: fixed bug #38755.
722 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
724 * ConfigXmlDocument.cs: don't jump over the first element.
725 * ConfigurationSettings.cs: pass doc.DocumentElement instead of doc.
727 This used to work until i tried to access one attribute of the first
728 element and realized that the element was not the expected!
729 This change does not affect the configuration handlers that only use
730 ChildNodes property on the XmlNode they get as argument.
732 2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
734 * ConfigurationSettings.cs: removed type loading hack no longer needed.
736 2002-12-14 Jonathan Pryor <jonpryor@vt.edu>
738 * ConfigurationSettings.cs: Allow configuration sections to be removed.
740 2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
742 * ConfigurationSettings.cs: use AppDomainSetup to get the configuration
743 file name for the AppDomain.
745 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
747 * ConfigHelper.cs: NameValueCollection.Add is now fixed.
749 2002-10-14 Martin Baulig <martin@gnome.org>
751 * ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath):
752 Append ".config" to the filename, not ".exe.config" since the
753 filename already has a ".exe" suffix.
755 2002-10-14 Martin Baulig <martin@gnome.org>
757 * ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath): Use
758 Assembly.Location, not Assembly.FullName to get its filename.
760 2002-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
762 * ConfigHelper.cs: workaround for a bug in NameValueCollection.
763 * ConfigurationSettings.cs: load sections when the parent holds a
764 handler for it. Now overriding appSettings values in the app config
765 file works (first <remove..> and then <add...).
767 2002-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
770 * NameValueFileSectionHandler.cs: check that Attributes is not null.
772 2002-10-09 Miguel de Icaza <miguel@ximian.com>
774 * NameValueFileSectionHandler.cs: For now if a section is not
775 present, return null. Do not know what the real fix is. Gonzalo
776 will have to look at this, but the debugger was crashing as
777 appSettings in the machine.config does not exist, but GetConfig
778 returns a non-null value when looking it up when you do a
779 GetDocumentForSection ("appSettings").
781 2002-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
783 * ConfigurationSettings.cs: use get_machine_config_path internal call.
785 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
787 * ConfigXmlDocument.cs: move the reader for the section to the first
790 * ConfigurationSettings.cs: fixed hierarchical search for a handler.
792 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
794 * ConfigurationSettings.cs: reimplemented. It is now able to deliver
795 sections to their handlers for processing.
797 2002-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
799 * ConfigHelper.cs: New file. Contains some
800 helper functions for getting key-value collections from the config file.
802 * ConfigXmlDocument.cs: wrapper around xml elements to provide line
803 number and file name info.
804 * IConfigXmlNode.cs: used in ConfigXmlDocument and
805 ConfigurationException.
807 * ConfigurationException.cs: get file name and line
808 number from the wrapped XmlNode. Display this info in Message.
810 * NameValueFileSectionHandler.cs: new handler.
811 * DictionarySectionHandler.cs:
812 * NameValueSectionHandler.cs: modified to use the helper methods in
815 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
817 * AppSettingsReader.cs: New file.
818 * IConfigurationSystem.cs: New file.
820 * IgnoreSectionHandler.cs:
821 * NameValueSectionHandler.cs:
822 * SingleTagSectionHandler.cs: little fixes.
824 2002-09-03 Martin Baulig <martin@gnome.org>
826 * ConfigurationSettings.cs (ConfigurationSettings.GetConfig): Use the
827 correct configuration filename, fixed the TODO.
828 (GetSectionHanderType): Renamed to GetSectionHandlerType.
830 * NameValueSectionHandler.cs (NameValueSectionHandler.Create): Allow
831 whitespaces in the configuration file.
833 2002-01-31 Duncan Mak <duncan@ximian.com>
835 * ConfigurationException.cs: Rewrote most of the file and added
838 2002-01-06 Ravi Pratap <ravi@ximian.com>
840 * ConfigurationSettings.cs, IgnoreSectionHandler.cs : MonoTODO decoration
842 * SingleTagSectionHandler.cs, DictionarySectionHandler.cs,
843 NameValueSectionHandler.cs : Ditto.
845 2001-08-28 Christopher Podurgiel <cpodurgiel@msn.com>
846 * IConfigurationSectionHandler.cs: Added reference to System.Xml.
848 * SingleTagSectionHandler.cs: Added Implementation of Create() method.
850 * NameValueSectionHandler.cs: Added Implementation of Create() method.
852 * ConfigurationException.cs: Now returns proper message rather than "System Exception".
854 2001-08-26 Christopher Podurgiel <cpodurgiel@msn.com>
856 * ConfigurationSettings.cs: No longer references the
857 NameValueSectionHandler directly. Instead it uses
858 System.Reflection to call the Create() method for the appropriate
859 SectionHandler as defined in the .config file.