New test.
[mono.git] / mcs / class / System / System.Configuration / ChangeLog
1 2006-09-28  Andrew Skiba <andrews@mainsoft.com>
2
3         * ConfigurationSettings.cs: add support for requirePermission
4         attribute.
5
6 2006-09-28  Andrew Skiba <andrews@mainsoft.com>
7
8         * ConfigurationSettings.cs: TARGET_JVM
9
10 2006-08-23  Konstantin Triger <kostat@mainsoft.com>
11
12         * ConfigurationSettings.cs: remove CONFIGURATION_2_0 #if since NET_2_0
13                 implies it.
14
15 2006-07-31  Sebastien Pouliot  <sebastien@ximian.com>
16
17         * ConfigurationSettings.cs: Assert FileIOPermission when loading a 
18         configuration file.
19         * ConfigXmlDocument.cs: Add an imperative demand for PathDiscovery on
20         all (many classes) Filename properties. Ensure we're not using the
21         property (but the member) inside the class itself.
22
23 2006-06-29  Atsushi Enomoto  <atsushi@ximian.com>
24
25         * ApplicationSettingsBase.cs : When we use default value, convert it
26           to proper type. Fixed bug #78654. Patch by Gareth Pearce.
27
28 2006-05-30  Gert Driesen  <drieseng@users.sourceforge.net>
29
30         * ConfigurationException.cs: BareMessage, Filename and Line properties
31         are only virtual on 2.0 profile.
32         * ConfigurationSettings.cs: Marked GetConfig (string) obsolete on
33         2.0 profile.
34
35 2006-05-17  Atsushi Enomoto  <atsushi@ximian.com>
36
37         * SettingsPropertyCollection.cs : implemented some synchronization
38           releated members. Actually it can never be synchronized by itself.
39         * SettingsBase.cs : Synchronized() just returns the same instance,
40           marking it as IsSynchronized = true. Fixed bug #78430.
41
42 2006-05-12  Atsushi Enomoto  <atsushi@ximian.com>
43
44         * ConfigurationSettings.cs : another System.Orgy insanity.
45
46 2006-05-12  Atsushi Enomoto  <atsushi@ximian.com>
47
48         * ConfigurationSettings.cs : ok, now I correctly understand the
49           problem. Since appSettings section handlers are different between
50           1.x and 2.0 AppSettings property implementation should also be
51           different. It should really fix bug #78372.
52
53 2006-05-10  Atsushi Enomoto  <atsushi@ximian.com>
54
55         * ConfigurationSettings.cs : use ConfigurationManager.GetConfig()
56           in its GetConfig(). No need to change AppSettings and
57           Default.GetConfig() behavior here.
58
59 2006-05-05  Chris Toshok  <toshok@ximian.com>
60
61         * LocalFileSettingsProvider.cs (IsUserSetting): more
62         CONFIGURATION_DEP crap.
63
64 2006-05-05  Chris Toshok  <toshok@ximian.com>
65
66         * ApplicationSettingsBase.cs (CacheValuesByProvider): emit
67         SettingsLoaded after we load the property values.
68         (set_Item[string]): fill in settingClass in the
69         SettingChangingEventArgs properly.
70         (get_Properties): don't depend on setting_attrs[0] being either
71         UserScoped- or ApplicationScopedSettingAttribute.  Also, call
72         Initialize on any providers we create here.
73
74         * LocalFileSettingsProvider.cs (GetPropertyValues): add a naive
75         implementation, leave a MonoTODO.
76         (Initialize): fill in name properly, and deal with null values.
77
78 2006-04-28  Atsushi Enomoto  <atsushi@ximian.com>
79
80         * NoSettingsVersionUpgradeAttribute.cs
81           SettingsDescriptionAttribute.cs
82           SettingsGroupDescriptionAttribute.cs
83           SettingsGroupNameAttribute.cs
84           SettingsManageability.cs
85           SettingsManageabilityAttribute.cs
86           SpecialSetting.cs
87           SpecialSettingAttribute.cs : new files.
88         * ConfigurationException.cs
89           SettingsPropertyCollection.cs : minor API compat fixes.
90
91 2006-04-27  Atsushi Enomoto  <atsushi@ximian.com>
92
93         * SettingElement.cs : more circular dependency fix.
94
95 2006-04-27  Atsushi Enomoto  <atsushi@ximian.com>
96
97         * SettingValueElement.cs,
98           SettingElement.cs : circular dependency hell fix.
99
100 2006-04-27  Atsushi Enomoto  <atsushi@ximian.com>
101
102         * ClientSettingsSection.cs : new (implemented) file.
103         * SettingValueElement.cs : implemented.
104           SettingElement.cs : implemented.
105           SettingElementCollection.cs : implemented except for Add(),
106           Clear(), Get() and Remove().
107
108           A test will be soon added as part of bug #77957 test with
109           DefaultCollection support in sys.configuration.
110
111 2006-04-26  Atsushi Enomoto  <atsushi@ximian.com>
112
113         * ApplicationSettingsGroup.cs : added missing type. This is part of
114           fix for bug #77957.
115
116 2006-03-11  Miguel de Icaza  <miguel@novell.com>
117
118         * ConfigurationSettings.cs (ChangeConfigurationSettings): Make
119         internal to avoid warnings.  This routine is called from
120         System.Web with MethodInfo.Invoke.
121
122 2006-02-01  Atsushi Enomoto  <atsushi@ximian.com>
123
124         * SettingElementCollection.cs : CollectionType is protected.
125
126 2006-01-16  Chris Toshok  <toshok@ximian.com>
127
128         * ConfigurationSettings.cs (AppSettings): move back to a 1.x
129         strategy in the 2.0 case.  That is, don't hardcode the reference
130         to ConfigurationManager.AppSettings (yet).  Eventually we can move
131         back to this code, once ConfigurationManager supports reading
132         web.config for settings.
133
134 2006-01-03  Chris Toshok  <toshok@ximian.com>
135
136         * ConfigurationSettings.cs (GetConfig): be nice to people using
137         old 1.x style section handlers with the new 2.0 config stuff.  If
138         we're about to return null or IgnoreSection, try to load it using
139         the 1.x api.  If that works, return that object.
140
141 2006-01-02  Chris Toshok  <toshok@ximian.com>
142
143         * LocalFileSettingsProvider.cs: use the PrebuiltSystem extern
144         alias to make sure we use the right type for NameValueCollection.
145         (Initialize): enable (under the CONFIGURATION_2_0 ifdef).
146
147         * ConfigurationSettings.cs: use the PrebuiltSystem extern alias to
148         make sure we use the right type for NameValueCollection.
149         (AppSettings): provide an implementation for the NET_2_0 &&
150         CONFIGURATION_2_0 case.
151         (GetConfig): same.
152         (ReadSectionGroup): allow a type attribute in the NET_2_0 &&
153         CONFIGURATION_2_0 case.
154
155         * AppSettingsReader.cs: use the PrebuiltSystem extern alias to
156         make sure we use the right type for NameValueCollection.
157
158 2005-11-28  Chris Toshok  <toshok@ximian.com>
159
160         * SettingValueElement.cs: wrap a few more things in
161         CONFIGURATION_DEP.
162
163 2005-11-09  Chris Toshok  <toshok@ximian.com>
164
165         * ConfigurationSettings.cs (AppSettings): remove the #if NET_2_0
166         block breaks this.
167         (ReadSectionGroup): allow the "type" atrribute so we don't break
168         when reading a 2.0 config file using the 1.0 stuff.
169
170 2005-11-04  Chris Toshok  <toshok@ximian.com>
171
172         * SettingsProvider.cs, SettingsPropertyValueCollection.cs,
173         SettingValueElement.cs, SettingElement.cs,
174         SettingsPropertyValue.cs, ApplicationSettingsBase.cs,
175         SettingsPropertyCollection.cs, SettingsProviderCollection.cs,
176         SettingElementCollection.cs: Add XML_DEPS and CONFIGURATION_DEPS
177         to get this to bootstrap compile.  What a pain.
178         
179 2005-11-04  Chris Toshok  <toshok@ximian.com>
180
181         * ApplicationSettingsBase.cs: remove unnecessary using.
182
183         * SettingValueElement.cs: add XML_DEP's.
184
185 2005-11-03  Chris Toshok  <toshok@ximian.com>
186
187         * ConfigurationSettings.cs: add ObsoleteAttribute's.
188
189         * ConfigurationException.cs: add ObsoleteAttribute's.
190
191         * IConfigurationSystem.cs: add ComVisibleAttribute.
192
193         * ApplicationSettingsBase.cs: new stubs, with a broken/naive
194         implementation.
195
196         * SettingElementCollection.cs, IPersistComponentSettings.cs,
197         SettingElement.cs, LocalFileSettingsProvider.cs,
198         SettingValueElement.cs: new stubs.
199
200         * SettingAttribute.cs: fix typo.
201
202 2005-09-22  Chris Toshok  <toshok@ximian.com>
203
204         * SettingsPropertyWrongTypeException.cs: new exception.
205
206 2005-09-20  Chris Toshok  <toshok@ximian.com>
207
208         * SettingsPropertyValue.cs
209         (SettingsPropertyValue.set_PropertyValue): set needPropertyValue =
210         false here so we don't pull in the default value in the getter.
211
212         * SettingsProviderCollection.cs: new implementation.
213
214         * SettingsPropertyValueCollection.cs
215         (SettingsPropertyValueCollection..ctor): init items.
216         (Add): add an internal method that takes a
217         SettingsPropertyValueCollection.
218
219 2005-09-20  Chris Toshok  <toshok@ximian.com>
220
221         * SettingsSavingEventHandler.cs: new delegate.
222         
223         * SettingChangingEvent{Handler,Args}.cs: new delegate and args
224
225         * SettingsLoaded{Handler,Args}.cs: new delegate and args
226
227         * SettingsProviderAttribute.cs, SettingSerializeAsAttribute.cs,
228         UserScopedSettingAttribute.cs, DefaultSettingValueAttribute.cs,
229         ApplicationScopedSettingAttribute.cs, SettingAttribute: new
230         attributes.
231
232 2005-09-20  Chris Toshok  <toshok@ximian.com>
233
234         * SettingChangingEventArgs.cs: new implementation.
235
236         * SettingsPropertyIsReadOnlyException.cs: new exception.
237
238         * SettingsPropertyNotFoundException.cs: new exception.
239
240         * ISettingsProviderService.cs: new interface.
241
242         * IApplicationSettingsProvider.cs: new interface.
243
244         * SettingsPropertyValueCollection.cs: new implementation.
245
246         * SettingsPropertyCollection.cs: new implementation.
247
248         * SettingsBase.cs: implement the obvious bits (getters,
249         basically).
250
251         * SettingsPropertyValue.cs: make this work for the tests.
252         Disgusting class here.  dis-gus-ting.
253
254 2005-09-19  Chris Toshok  <toshok@ximian.com>
255
256         * System.Configuration/SettingsProvider.cs,
257         System.Configuration/SettingsPropertyValueCollection.cs,
258         System.Configuration/SettingsPropertyCollection.cs,
259         System.Configuration/SettingsProviderCollection.cs,
260         System.Configuration/SettingsBase.cs,
261         System.Configuration/SettingsSerializeAs.cs,
262         System.Configuration/SettingsPropertyValue.cs,
263         System.Configuration/SettingsProperty.cs,
264         System.Configuration/SettingsContext.cs,
265         System.Configuration/SettingsAttributeDictionary.cs: new files.
266
267 2005-07-05  Raja R Harinath  <rharinath@novell.com>
268
269         * ConfigurationSettings.cs (ConnectionStrings): Change XML_DEP
270         guard to CONFIGURATION_DEP.
271
272 2005-06-15  Lluis Sanchez Gual <lluis@novell.com>
273
274         * ProviderBase.cs: Moved here from System.Configuration.dll.
275
276 2005-06-14  Lluis Sanchez Gual <lluis@novell.com>
277
278         * AppSettingsSection.cs, ConfigInfo.cs, Configuration.cs
279         ConfigurationAllowDefinition.cs, ConfigurationElement.cs
280         ConfigurationElementCollection.cs, ConfigurationElementCollectionType.cs
281         ConfigurationLocation.cs, ConfigurationLocationCollection.cs
282         ConfigurationProperty.cs, ConfigurationPropertyAttribute.cs
283         ConfigurationPropertyCollection.cs, ConfigurationPropertyFlags.cs
284         ConfigurationSection.cs, ConfigurationSectionCollection.cs
285         ConfigurationSectionGroup.cs, ConfigurationSectionGroupCollection.cs
286         ConfigurationUpdateMode.cs, ConfigurationUserLevel.cs
287         ConfigurationValidationAttribute.cs, ConnectionStringsSection.cs
288         ConnectionStringSettingsCollection.cs, ConnectionStringSettings.cs
289         IntegerConfigurationProperty.cs, NonEmptyStringConfigurationProperty.cs
290         NonEmptyStringFlags.cs, PathLevel.cs, ProtectedConfigurationProvider.cs
291         ProviderBase.cs, ProviderSettings.cs, ProviderSettingsCollection.cs
292         RuntimeOnlySection.cs, SectionInfo.cs, SectionGroupInfo.cs
293         TimeSpanConfigurationProperty.cs, TimeSpanPropertyFlags.cs
294         TimeSpanSerializedFormat.cs:
295
296         Moved to the new System.Configuration assembly.
297
298
299 2005-03-23  Jackson Harper  <jackson@ximian.com>
300
301         * ApplicationSettingsBase.cs: We need this stub to do some 2.0
302         winforms stuff.
303
304 2005-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
305
306         * Configuration.cs: a few MonoTODOs less.
307
308 2005-03-02  Sureshkumar T  <tsureshkumar@novell.com>
309
310         * ConfigurationSettings.cs: Implemented ConnectionStrings
311         property.
312
313 2005-02-22  Sureshkumar T  <tsureshkumar@novell.com>
314
315         * ConnectionStringsSection.cs: Implemented all methods.
316
317         New Files Added:
318         * ConnectionStringSettings.cs: Configuration object for a
319         connection string element.
320         * ConnectionStringSettingsCollection.cs: Collection of
321         ConnectionStringSettings objects.
322
323 2005-02-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
324
325         * Configuration.cs: (.ctor) don't fail if the file to load does not
326         exist.
327         (GetExeConfiguration): use caller assembly location if the path is null
328         and check that the exe file exists.
329         Removed if XML_DEP, as there's one at the top of the file.
330
331 2004-11-18  Geoff Norton <gnorton@customerdna.com>
332
333         * ProviderSettingsCollection.cs: Add XML_DEP because this inherits 
334         ConfigurationElementCollection which has XML_DEP.  Fixes bootstrap
335         
336 2004-11-18  Lluis Sanchez Gual <lluis@novell.com>
337
338         * ProviderSettings.cs, ProviderSettingsCollection.cs: Mostly implemented.
339         * Configuration.cs: Implemented GetSection() and GetSectionGroup().
340         * AppSettingsSection.cs: Better null check in Reset().
341
342 2004-11-15  Lluis Sanchez Gual <lluis@novell.com>
343
344         * TimeSpanConfigurationProperty.cs, TimeSpanPropertyFlags.cs,
345         TimeSpanSerializedFormat.cs: Implemented.
346
347 2004-11-09  Duncan Mak  <duncan@ximian.com>
348
349         * NonEmptyStringConfigurationProperty.cs: Add XML_DEP, this should
350         fix the build.
351
352 2004-11-09  Lluis Sanchez Gual <lluis@novell.com>
353
354         * ConfigurationElement.cs: Implemented Equals and GetHashCode.
355         Only reflect properties from type's members if the type does not
356         override Properties.
357         * ConfigurationElementCollection.cs: Implemented Equals and GetHashCode.
358         Other minor fixes.
359         * ConfigurationProperty.cs: It is not a subclass of ConfigurationElement.
360         * NonEmptyStringConfigurationProperty.cs, NonEmptyStringFlags.cs:
361         Implemented.
362         
363 2004-11-09  Lluis Sanchez Gual <lluis@novell.com>
364
365         * AppSettingsSection.cs: Mostly implemented (missing support for
366         file attribute).
367         * ConfigHelper.cs: GetNameValueCollection now returns a 
368         ConfigNameValueCollection instance which is a NameValueCollection with a
369         modification flag.
370         * ConfigInfo.cs: Added XPath property.
371         * Configuration.cs: Implemented AppSettings property. Set the Path property
372         of sections and groups.
373         * ConfigurationElement.cs: Support key serialization. Properly reset
374         nested elements.
375         * ConfigurationElementCollection.cs: Initial implementation.
376         * ConfigurationSection.cs: Impemented Path and GetRuntimeObject.
377         * ConfigurationSectionGroup.cs: Implemented Path.
378         * SectionGroupInfo.cs: Little fix.
379
380 2004-11-05  Lluis Sanchez Gual <lluis@novell.com>
381
382         * Configuration.cs: Minor fixes.
383         * ConfigurationElement.cs: Added support for the different update modes.
384         * SectionGroupInfo.cs: Support loading the same configuration section
385           from different files.
386         * SectionInfo.cs: Properly write back configuration data for which a
387           section object has not been created.
388
389 2004-11-04  Lluis Sanchez Gual <lluis@novell.com>
390
391         * AppSettingsSection.cs, ConfigurationPropertyCollection.cs,
392           ConfigurationValidationAttribute.cs, ConnectionStringsSection.cs,
393           ProtectedConfigurationProvider.cs, ProviderBase.cs
394           RuntimeOnlySection.cs: Fixed formatting and added missing TODOs.
395
396 2004-11-04  Lluis Sanchez Gual <lluis@novell.com>
397
398         * Configuration.cs, ConfigurationElement.cs, ConfigurationLocation.cs,
399           ConfigurationLocationCollection.cs, ConfigurationProperty.cs,
400           ConfigurationPropertyAttribute.cs, ConfigurationSection.cs,
401           ConfigurationSectionCollection.cs, ConfigurationSectionGroup.cs,
402           ConfigurationSectionGroupCollection.cs,IntegerConfigurationProperty.cs,
403           RuntimeOnlySection.cs: Initial implementation.
404         * ConfigurationAllowDefinition.cs: Removed XML_DEP ifdef
405         * ConfigurationException.cs: format fix.
406         * ConfigInfo.cs, SectionInfo.cs, SectionGroupInfo.cs: New support
407           classes.
408
409 2004-09-10  Tim Coleman <tim@timcoleman.com>
410         * ConfigurationElementCollection.cs ConfigurationElementCollectionType.cs:
411                 New Fx 2.0 stubs
412         * ConfigurationElement.cs:
413                 Fix function declaration
414
415
416 2004-08-16  Duncan Mak  <duncan@ximian.com>     
417
418         * ConfigurationElement.cs (InitializeDefault): Made virtual.
419
420         * AppSettingsSection.cs:
421         * Configuration.cs:
422         * ConfigurationLocation.cs:
423         * ConfigurationLocationCollection.cs:
424         * ConfigurationSection.cs:
425         * ConfigurationSectionCollection.cs:
426         * ConfigurationSectionGroup.cs:
427         * ConfigurationSectionGroupCollection.cs:
428         * ConnectionStringsSection.cs: Added stubs and bits of implementation.
429
430         Other than ConfigurationElementCollection and
431         ConnectionStringsSectionCollection, we now have the basic skeleton
432         for implementing the configuration system in the
433         System.Configuration namespace.
434
435 2004-08-11  Duncan Mak  <duncan@ximian.com>
436
437         * ProtectedConfigurationProvider.cs: Use XML_DEP.
438
439 2004-08-11  Duncan Mak  <duncan@ximian.com>     
440
441         * ProtectedConfigurationProvider.cs:
442         * ProviderBase.cs: Implemented.
443
444         * ConfigurationPropertyAttribute.cs: Implemented attribute.
445
446         * ConfigurationAllowDefinition.cs:
447         * ConfigurationUserLevel.cs:
448         * PathLevel.cs: Added enumerations.
449
450 2004-08-07  Atsushi Enomoto  <atsushi@ximian.com>
451
452         * ConfigurationElement.cs,
453           ConfigurationProperty.cs,
454           ConfigurationPropertyCollection.cs,
455           ConfigurationValidationAttribute.cs : use XML_DEP.
456
457 2004-08-06  Duncan Mak  <duncan@ximian.com>
458
459         * ConfigurationElement.cs: Added stubs.
460
461         * ConfigurationProperty.cs:
462         * ConfigurationPropertyCollection.cs:
463         * ConfigurationValidationAttribute.cs: Added.
464
465         * ConfigurationPropertyFlags.cs: 
466         * ConfigurationUpdateMode.cs: Added 2.0 enumerations.   
467
468 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
469
470         * ConfigurationSettings.cs: allow empty <configSections>.
471
472 2004-05-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
473
474         * ConfigurationSettings.cs: don't ask me why, but the .cctor
475         initialization of 'instance' field does no longer work.
476
477 2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
478
479         * ConfigXmlDocument.cs: removed method that was supposed to be internal.
480
481         * ConfigurationSettings.cs: instead of calling the overload that doesn't
482         exist in MS, use what we have when loading an external file.
483
484 2004-04-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
485
486         * ConfigXmlDocument.cs: fixed overloaded Load and added a new one that
487         sets the file name.
488
489         * ConfigurationSettings.cs: use the new Load in ConfigXmlDocument when
490         loading sections.
491
492         * NameValueFileSectionHandler.cs: don't fails if the path for the 'file'
493         attribute doesn't have a directory.
494
495         Closes bug #57244.
496
497 2004-03-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
498
499         * ConfigurationSettings.cs: removed FileWatcherCache. See bug #53445.
500
501 2003-12-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
502
503         * ConfigurationSettings.cs: initialize config in
504         ChangeConfigurationSettings if it has not been done yet. Patch by
505         George Kodinov gkodinov@openlinksw.co.uk). Fixes bug #51643.
506
507 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
508
509         * ConfigurationSettings.cs: handle allowdefinition and allowlocation,
510         added locks, don't reopen the file for every new section to be read,
511         but keep them as strings and build the section handlers with that.
512         Also allow changing the configuration system (used from System.Web).
513
514 2003-11-17 Ben Maurer  <bmaurer@users.sourceforge.net>
515
516         * ConfigurationSettings.cs: make the *Mark objects static
517         because they need to be comparable across instances.
518         (ReadSectionGroup): You can add an element to a group declared
519         in the parent config files (MS.net's QuickStarts do this).
520
521 2003-11-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
522
523         * ConfigurationSettings.cs: don't handle null or non-existent file in
524         the catch blocks.
525
526 2003-10-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
527
528         * ConfigurationSettings.cs: really make the cache work.
529
530 2003-10-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
531
532         * ConfigurationSettings.cs: pass the file name we're reading as the
533         context.
534
535 2003-10-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
536
537         * ConfigurationSettings.cs: patch by Eric Lindvall (eric@5stops.com)
538         that improves performance by not reading the file more than once.
539
540 2003-07-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
541
542         * ConfigurationSettings.cs: Removed unused exception variable, fixes
543         compiler warning
544
545 2003-06-16  Lluis Sanchez Gual <lluis@ximian.com>
546
547         * ConfigurationSettings.cs: Avoid chicken-egg problem when reading
548         machine.config. Cannot use an uri to read mechine.config because web
549         request module handelrs are defined in machine.config.
550
551 2003-03-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
552
553         * AppSettingsReader.cs: fixed bug #38755.
554
555 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
556
557         * ConfigXmlDocument.cs: don't jump over the first element.
558         * ConfigurationSettings.cs: pass doc.DocumentElement instead of doc.
559
560         This used to work until i tried to access one attribute of the first
561         element and realized that the element was not the expected!
562         This change does not affect the configuration handlers that only use
563         ChildNodes property on the XmlNode they get as argument.
564
565 2002-12-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
566
567         * ConfigurationSettings.cs: removed type loading hack no longer needed.
568
569 2002-12-14  Jonathan Pryor <jonpryor@vt.edu>
570
571         * ConfigurationSettings.cs: Allow configuration sections to be removed.
572
573 2002-11-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
574
575         * ConfigurationSettings.cs: use AppDomainSetup to get the configuration
576         file name for the AppDomain.
577
578 2002-10-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
579
580         * ConfigHelper.cs: NameValueCollection.Add is now fixed.
581
582 2002-10-14  Martin Baulig  <martin@gnome.org>
583
584         * ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath):
585         Append ".config" to the filename, not ".exe.config" since the
586         filename already has a ".exe" suffix.
587
588 2002-10-14  Martin Baulig  <martin@gnome.org>
589
590         * ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath): Use
591         Assembly.Location, not Assembly.FullName to get its filename.
592
593 2002-10-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
594
595         * ConfigHelper.cs: workaround for a bug in NameValueCollection.
596         * ConfigurationSettings.cs: load sections when the parent holds a
597         handler for it. Now overriding appSettings values in the app config
598         file works (first <remove..> and then <add...).
599
600 2002-10-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
601
602         * ConfigHelper.cs:
603         * NameValueFileSectionHandler.cs: check that Attributes is not null.
604
605 2002-10-09  Miguel de Icaza  <miguel@ximian.com>
606
607         * NameValueFileSectionHandler.cs: For now if a section is not
608         present, return null.  Do not know what the real fix is.  Gonzalo
609         will have to look at this, but the debugger was crashing as
610         appSettings in the machine.config does not exist, but GetConfig
611         returns a non-null value when looking it up when you do a
612         GetDocumentForSection ("appSettings").
613
614 2002-10-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
615
616         * ConfigurationSettings.cs: use get_machine_config_path internal call.
617
618 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
619
620         * ConfigXmlDocument.cs: move the reader for the section to the first
621         element.
622         
623         * ConfigurationSettings.cs: fixed hierarchical search for a handler. 
624
625 2002-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
626
627         * ConfigurationSettings.cs: reimplemented. It is now able to deliver
628         sections to their handlers for processing.
629
630 2002-10-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
631
632         * ConfigHelper.cs: New file. Contains some
633         helper functions for getting key-value collections from the config file.
634         
635         * ConfigXmlDocument.cs: wrapper around xml elements to provide line
636         number and file name info.
637         * IConfigXmlNode.cs: used in ConfigXmlDocument and
638         ConfigurationException.
639
640         * ConfigurationException.cs: get file name and line
641         number from the wrapped XmlNode. Display this info in Message.
642
643         * NameValueFileSectionHandler.cs: new handler.
644         * DictionarySectionHandler.cs:
645         * NameValueSectionHandler.cs: modified to use the helper methods in
646         ConfigHelper.
647
648 2002-10-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
649
650         * AppSettingsReader.cs: New file.
651         * IConfigurationSystem.cs: New file.
652
653         * IgnoreSectionHandler.cs:
654         * NameValueSectionHandler.cs:
655         * SingleTagSectionHandler.cs: little fixes.
656
657 2002-09-03  Martin Baulig  <martin@gnome.org>
658
659         * ConfigurationSettings.cs (ConfigurationSettings.GetConfig): Use the
660         correct configuration filename, fixed the TODO.
661         (GetSectionHanderType): Renamed to GetSectionHandlerType.
662
663         * NameValueSectionHandler.cs (NameValueSectionHandler.Create): Allow
664         whitespaces in the configuration file.
665
666 2002-01-31  Duncan Mak  <duncan@ximian.com>
667
668         * ConfigurationException.cs: Rewrote most of the file and added
669         serialization bits.
670
671 2002-01-06  Ravi Pratap  <ravi@ximian.com>
672
673         * ConfigurationSettings.cs, IgnoreSectionHandler.cs : MonoTODO decoration
674
675         * SingleTagSectionHandler.cs, DictionarySectionHandler.cs, 
676         NameValueSectionHandler.cs : Ditto.
677
678 2001-08-28  Christopher Podurgiel <cpodurgiel@msn.com>
679         * IConfigurationSectionHandler.cs: Added reference to System.Xml.
680         
681         * SingleTagSectionHandler.cs: Added Implementation of Create() method.
682         
683         * NameValueSectionHandler.cs: Added Implementation of Create() method.
684         
685         * ConfigurationException.cs: Now returns proper message rather than "System Exception".
686
687 2001-08-26  Christopher Podurgiel <cpodurgiel@msn.com>
688
689         * ConfigurationSettings.cs: No longer references the
690         NameValueSectionHandler directly.  Instead it uses
691         System.Reflection to call the Create() method for the appropriate
692         SectionHandler as defined in the .config file.