1 2004-11-05 Lluis Sanchez Gual <lluis@novell.com>
3 * Configuration.cs: Minor fixes.
4 * ConfigurationElement.cs: Added support for the different update modes.
5 * SectionGroupInfo.cs: Support loading the same configuration section
7 * SectionInfo.cs: Properly write back configuration data for which a
8 section object has not been created.
10 2004-11-04 Lluis Sanchez Gual <lluis@novell.com>
12 * AppSettingsSection.cs, ConfigurationPropertyCollection.cs,
13 ConfigurationValidationAttribute.cs, ConnectionStringsSection.cs,
14 ProtectedConfigurationProvider.cs, ProviderBase.cs
15 RuntimeOnlySection.cs: Fixed formatting and added missing TODOs.
17 2004-11-04 Lluis Sanchez Gual <lluis@novell.com>
19 * Configuration.cs, ConfigurationElement.cs, ConfigurationLocation.cs,
20 ConfigurationLocationCollection.cs, ConfigurationProperty.cs,
21 ConfigurationPropertyAttribute.cs, ConfigurationSection.cs,
22 ConfigurationSectionCollection.cs, ConfigurationSectionGroup.cs,
23 ConfigurationSectionGroupCollection.cs,IntegerConfigurationProperty.cs,
24 RuntimeOnlySection.cs: Initial implementation.
25 * ConfigurationAllowDefinition.cs: Removed XML_DEP ifdef
26 * ConfigurationException.cs: format fix.
27 * ConfigInfo.cs, SectionInfo.cs, SectionGroupInfo.cs: New support
30 2004-09-10 Tim Coleman <tim@timcoleman.com>
31 * ConfigurationElementCollection.cs ConfigurationElementCollectionType.cs:
33 * ConfigurationElement.cs:
34 Fix function declaration
37 2004-08-16 Duncan Mak <duncan@ximian.com>
39 * ConfigurationElement.cs (InitializeDefault): Made virtual.
41 * AppSettingsSection.cs:
43 * ConfigurationLocation.cs:
44 * ConfigurationLocationCollection.cs:
45 * ConfigurationSection.cs:
46 * ConfigurationSectionCollection.cs:
47 * ConfigurationSectionGroup.cs:
48 * ConfigurationSectionGroupCollection.cs:
49 * ConnectionStringsSection.cs: Added stubs and bits of implementation.
51 Other than ConfigurationElementCollection and
52 ConnectionStringsSectionCollection, we now have the basic skeleton
53 for implementing the configuration system in the
54 System.Configuration namespace.
56 2004-08-11 Duncan Mak <duncan@ximian.com>
58 * ProtectedConfigurationProvider.cs: Use XML_DEP.
60 2004-08-11 Duncan Mak <duncan@ximian.com>
62 * ProtectedConfigurationProvider.cs:
63 * ProviderBase.cs: Implemented.
65 * ConfigurationPropertyAttribute.cs: Implemented attribute.
67 * ConfigurationAllowDefinition.cs:
68 * ConfigurationUserLevel.cs:
69 * PathLevel.cs: Added enumerations.
71 2004-08-07 Atsushi Enomoto <atsushi@ximian.com>
73 * ConfigurationElement.cs,
74 ConfigurationProperty.cs,
75 ConfigurationPropertyCollection.cs,
76 ConfigurationValidationAttribute.cs : use XML_DEP.
78 2004-08-06 Duncan Mak <duncan@ximian.com>
80 * ConfigurationElement.cs: Added stubs.
82 * ConfigurationProperty.cs:
83 * ConfigurationPropertyCollection.cs:
84 * ConfigurationValidationAttribute.cs: Added.
86 * ConfigurationPropertyFlags.cs:
87 * ConfigurationUpdateMode.cs: Added 2.0 enumerations.
89 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
91 * ConfigurationSettings.cs: allow empty <configSections>.
93 2004-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
95 * ConfigurationSettings.cs: don't ask me why, but the .cctor
96 initialization of 'instance' field does no longer work.
98 2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
100 * ConfigXmlDocument.cs: removed method that was supposed to be internal.
102 * ConfigurationSettings.cs: instead of calling the overload that doesn't
103 exist in MS, use what we have when loading an external file.
105 2004-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
107 * ConfigXmlDocument.cs: fixed overloaded Load and added a new one that
110 * ConfigurationSettings.cs: use the new Load in ConfigXmlDocument when
113 * NameValueFileSectionHandler.cs: don't fails if the path for the 'file'
114 attribute doesn't have a directory.
118 2004-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
120 * ConfigurationSettings.cs: removed FileWatcherCache. See bug #53445.
122 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
124 * ConfigurationSettings.cs: initialize config in
125 ChangeConfigurationSettings if it has not been done yet. Patch by
126 George Kodinov gkodinov@openlinksw.co.uk). Fixes bug #51643.
128 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
130 * ConfigurationSettings.cs: handle allowdefinition and allowlocation,
131 added locks, don't reopen the file for every new section to be read,
132 but keep them as strings and build the section handlers with that.
133 Also allow changing the configuration system (used from System.Web).
135 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
137 * ConfigurationSettings.cs: make the *Mark objects static
138 because they need to be comparable across instances.
139 (ReadSectionGroup): You can add an element to a group declared
140 in the parent config files (MS.net's QuickStarts do this).
142 2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
144 * ConfigurationSettings.cs: don't handle null or non-existent file in
147 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
149 * ConfigurationSettings.cs: really make the cache work.
151 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
153 * ConfigurationSettings.cs: pass the file name we're reading as the
156 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
158 * ConfigurationSettings.cs: patch by Eric Lindvall (eric@5stops.com)
159 that improves performance by not reading the file more than once.
161 2003-07-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
163 * ConfigurationSettings.cs: Removed unused exception variable, fixes
166 2003-06-16 Lluis Sanchez Gual <lluis@ximian.com>
168 * ConfigurationSettings.cs: Avoid chicken-egg problem when reading
169 machine.config. Cannot use an uri to read mechine.config because web
170 request module handelrs are defined in machine.config.
172 2003-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
174 * AppSettingsReader.cs: fixed bug #38755.
176 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
178 * ConfigXmlDocument.cs: don't jump over the first element.
179 * ConfigurationSettings.cs: pass doc.DocumentElement instead of doc.
181 This used to work until i tried to access one attribute of the first
182 element and realized that the element was not the expected!
183 This change does not affect the configuration handlers that only use
184 ChildNodes property on the XmlNode they get as argument.
186 2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
188 * ConfigurationSettings.cs: removed type loading hack no longer needed.
190 2002-12-14 Jonathan Pryor <jonpryor@vt.edu>
192 * ConfigurationSettings.cs: Allow configuration sections to be removed.
194 2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
196 * ConfigurationSettings.cs: use AppDomainSetup to get the configuration
197 file name for the AppDomain.
199 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
201 * ConfigHelper.cs: NameValueCollection.Add is now fixed.
203 2002-10-14 Martin Baulig <martin@gnome.org>
205 * ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath):
206 Append ".config" to the filename, not ".exe.config" since the
207 filename already has a ".exe" suffix.
209 2002-10-14 Martin Baulig <martin@gnome.org>
211 * ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath): Use
212 Assembly.Location, not Assembly.FullName to get its filename.
214 2002-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
216 * ConfigHelper.cs: workaround for a bug in NameValueCollection.
217 * ConfigurationSettings.cs: load sections when the parent holds a
218 handler for it. Now overriding appSettings values in the app config
219 file works (first <remove..> and then <add...).
221 2002-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
224 * NameValueFileSectionHandler.cs: check that Attributes is not null.
226 2002-10-09 Miguel de Icaza <miguel@ximian.com>
228 * NameValueFileSectionHandler.cs: For now if a section is not
229 present, return null. Do not know what the real fix is. Gonzalo
230 will have to look at this, but the debugger was crashing as
231 appSettings in the machine.config does not exist, but GetConfig
232 returns a non-null value when looking it up when you do a
233 GetDocumentForSection ("appSettings").
235 2002-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
237 * ConfigurationSettings.cs: use get_machine_config_path internal call.
239 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
241 * ConfigXmlDocument.cs: move the reader for the section to the first
244 * ConfigurationSettings.cs: fixed hierarchical search for a handler.
246 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
248 * ConfigurationSettings.cs: reimplemented. It is now able to deliver
249 sections to their handlers for processing.
251 2002-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
253 * ConfigHelper.cs: New file. Contains some
254 helper functions for getting key-value collections from the config file.
256 * ConfigXmlDocument.cs: wrapper around xml elements to provide line
257 number and file name info.
258 * IConfigXmlNode.cs: used in ConfigXmlDocument and
259 ConfigurationException.
261 * ConfigurationException.cs: get file name and line
262 number from the wrapped XmlNode. Display this info in Message.
264 * NameValueFileSectionHandler.cs: new handler.
265 * DictionarySectionHandler.cs:
266 * NameValueSectionHandler.cs: modified to use the helper methods in
269 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
271 * AppSettingsReader.cs: New file.
272 * IConfigurationSystem.cs: New file.
274 * IgnoreSectionHandler.cs:
275 * NameValueSectionHandler.cs:
276 * SingleTagSectionHandler.cs: little fixes.
278 2002-09-03 Martin Baulig <martin@gnome.org>
280 * ConfigurationSettings.cs (ConfigurationSettings.GetConfig): Use the
281 correct configuration filename, fixed the TODO.
282 (GetSectionHanderType): Renamed to GetSectionHandlerType.
284 * NameValueSectionHandler.cs (NameValueSectionHandler.Create): Allow
285 whitespaces in the configuration file.
287 2002-01-31 Duncan Mak <duncan@ximian.com>
289 * ConfigurationException.cs: Rewrote most of the file and added
292 2002-01-06 Ravi Pratap <ravi@ximian.com>
294 * ConfigurationSettings.cs, IgnoreSectionHandler.cs : MonoTODO decoration
296 * SingleTagSectionHandler.cs, DictionarySectionHandler.cs,
297 NameValueSectionHandler.cs : Ditto.
299 2001-08-28 Christopher Podurgiel <cpodurgiel@msn.com>
300 * IConfigurationSectionHandler.cs: Added reference to System.Xml.
302 * SingleTagSectionHandler.cs: Added Implementation of Create() method.
304 * NameValueSectionHandler.cs: Added Implementation of Create() method.
306 * ConfigurationException.cs: Now returns proper message rather than "System Exception".
308 2001-08-26 Christopher Podurgiel <cpodurgiel@msn.com>
310 * ConfigurationSettings.cs: No longer references the
311 NameValueSectionHandler directly. Instead it uses
312 System.Reflection to call the Create() method for the appropriate
313 SectionHandler as defined in the .config file.