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