2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System / System.Configuration / ChangeLog
1 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2
3         * ConfigXmlDocument.cs: don't jump over the first element.
4         * ConfigurationSettings.cs: pass doc.DocumentElement instead of doc.
5
6         This used to work until i tried to access one attribute of the first
7         element and realized that the element was not the expected!
8         This change does not affect the configuration handlers that only use
9         ChildNodes property on the XmlNode they get as argument.
10
11 2002-12-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
12
13         * ConfigurationSettings.cs: removed type loading hack no longer needed.
14
15 2002-12-14  Jonathan Pryor <jonpryor@vt.edu>
16
17         * ConfigurationSettings.cs: Allow configuration sections to be removed.
18
19 2002-11-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
20
21         * ConfigurationSettings.cs: use AppDomainSetup to get the configuration
22         file name for the AppDomain.
23
24 2002-10-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
25
26         * ConfigHelper.cs: NameValueCollection.Add is now fixed.
27
28 2002-10-14  Martin Baulig  <martin@gnome.org>
29
30         * ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath):
31         Append ".config" to the filename, not ".exe.config" since the
32         filename already has a ".exe" suffix.
33
34 2002-10-14  Martin Baulig  <martin@gnome.org>
35
36         * ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath): Use
37         Assembly.Location, not Assembly.FullName to get its filename.
38
39 2002-10-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
40
41         * ConfigHelper.cs: workaround for a bug in NameValueCollection.
42         * ConfigurationSettings.cs: load sections when the parent holds a
43         handler for it. Now overriding appSettings values in the app config
44         file works (first <remove..> and then <add...).
45
46 2002-10-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
47
48         * ConfigHelper.cs:
49         * NameValueFileSectionHandler.cs: check that Attributes is not null.
50
51 2002-10-09  Miguel de Icaza  <miguel@ximian.com>
52
53         * NameValueFileSectionHandler.cs: For now if a section is not
54         present, return null.  Do not know what the real fix is.  Gonzalo
55         will have to look at this, but the debugger was crashing as
56         appSettings in the machine.config does not exist, but GetConfig
57         returns a non-null value when looking it up when you do a
58         GetDocumentForSection ("appSettings").
59
60 2002-10-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
61
62         * ConfigurationSettings.cs: use get_machine_config_path internal call.
63
64 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
65
66         * ConfigXmlDocument.cs: move the reader for the section to the first
67         element.
68         
69         * ConfigurationSettings.cs: fixed hierarchical search for a handler. 
70
71 2002-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
72
73         * ConfigurationSettings.cs: reimplemented. It is now able to deliver
74         sections to their handlers for processing.
75
76 2002-10-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
77
78         * ConfigHelper.cs: New file. Contains some
79         helper functions for getting key-value collections from the config file.
80         
81         * ConfigXmlDocument.cs: wrapper around xml elements to provide line
82         number and file name info.
83         * IConfigXmlNode.cs: used in ConfigXmlDocument and
84         ConfigurationException.
85
86         * ConfigurationException.cs: get file name and line
87         number from the wrapped XmlNode. Display this info in Message.
88
89         * NameValueFileSectionHandler.cs: new handler.
90         * DictionarySectionHandler.cs:
91         * NameValueSectionHandler.cs: modified to use the helper methods in
92         ConfigHelper.
93
94 2002-10-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
95
96         * AppSettingsReader.cs: New file.
97         * IConfigurationSystem.cs: New file.
98
99         * IgnoreSectionHandler.cs:
100         * NameValueSectionHandler.cs:
101         * SingleTagSectionHandler.cs: little fixes.
102
103 2002-09-03  Martin Baulig  <martin@gnome.org>
104
105         * ConfigurationSettings.cs (ConfigurationSettings.GetConfig): Use the
106         correct configuration filename, fixed the TODO.
107         (GetSectionHanderType): Renamed to GetSectionHandlerType.
108
109         * NameValueSectionHandler.cs (NameValueSectionHandler.Create): Allow
110         whitespaces in the configuration file.
111
112 2002-01-31  Duncan Mak  <duncan@ximian.com>
113
114         * ConfigurationException.cs: Rewrote most of the file and added
115         serialization bits.
116
117 2002-01-06  Ravi Pratap  <ravi@ximian.com>
118
119         * ConfigurationSettings.cs, IgnoreSectionHandler.cs : MonoTODO decoration
120
121         * SingleTagSectionHandler.cs, DictionarySectionHandler.cs, 
122         NameValueSectionHandler.cs : Ditto.
123
124 2001-08-28  Christopher Podurgiel <cpodurgiel@msn.com>
125         * IConfigurationSectionHandler.cs: Added reference to System.Xml.
126         
127         * SingleTagSectionHandler.cs: Added Implementation of Create() method.
128         
129         * NameValueSectionHandler.cs: Added Implementation of Create() method.
130         
131         * ConfigurationException.cs: Now returns proper message rather than "System Exception".
132
133 2001-08-26  Christopher Podurgiel <cpodurgiel@msn.com>
134
135         * ConfigurationSettings.cs: No longer references the NameValueSectionHandler      directly.  Instead it uses System.Reflection to call the Create() method                for the appropriate SectionHandler as defined in the .config file.
136