1 2005-07-05 Raja R Harinath <rharinath@novell.com>
3 * ConfigurationSettings.cs (ConnectionStrings): Change XML_DEP
4 guard to CONFIGURATION_DEP.
6 2005-06-15 Lluis Sanchez Gual <lluis@novell.com>
8 * ProviderBase.cs: Moved here from System.Configuration.dll.
10 2005-06-14 Lluis Sanchez Gual <lluis@novell.com>
12 * AppSettingsSection.cs, ConfigInfo.cs, Configuration.cs
13 ConfigurationAllowDefinition.cs, ConfigurationElement.cs
14 ConfigurationElementCollection.cs, ConfigurationElementCollectionType.cs
15 ConfigurationLocation.cs, ConfigurationLocationCollection.cs
16 ConfigurationProperty.cs, ConfigurationPropertyAttribute.cs
17 ConfigurationPropertyCollection.cs, ConfigurationPropertyFlags.cs
18 ConfigurationSection.cs, ConfigurationSectionCollection.cs
19 ConfigurationSectionGroup.cs, ConfigurationSectionGroupCollection.cs
20 ConfigurationUpdateMode.cs, ConfigurationUserLevel.cs
21 ConfigurationValidationAttribute.cs, ConnectionStringsSection.cs
22 ConnectionStringSettingsCollection.cs, ConnectionStringSettings.cs
23 IntegerConfigurationProperty.cs, NonEmptyStringConfigurationProperty.cs
24 NonEmptyStringFlags.cs, PathLevel.cs, ProtectedConfigurationProvider.cs
25 ProviderBase.cs, ProviderSettings.cs, ProviderSettingsCollection.cs
26 RuntimeOnlySection.cs, SectionInfo.cs, SectionGroupInfo.cs
27 TimeSpanConfigurationProperty.cs, TimeSpanPropertyFlags.cs
28 TimeSpanSerializedFormat.cs:
30 Moved to the new System.Configuration assembly.
33 2005-03-23 Jackson Harper <jackson@ximian.com>
35 * ApplicationSettingsBase.cs: We need this stub to do some 2.0
38 2005-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
40 * Configuration.cs: a few MonoTODOs less.
42 2005-03-02 Sureshkumar T <tsureshkumar@novell.com>
44 * ConfigurationSettings.cs: Implemented ConnectionStrings
47 2005-02-22 Sureshkumar T <tsureshkumar@novell.com>
49 * ConnectionStringsSection.cs: Implemented all methods.
52 * ConnectionStringSettings.cs: Configuration object for a
53 connection string element.
54 * ConnectionStringSettingsCollection.cs: Collection of
55 ConnectionStringSettings objects.
57 2005-02-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
59 * Configuration.cs: (.ctor) don't fail if the file to load does not
61 (GetExeConfiguration): use caller assembly location if the path is null
62 and check that the exe file exists.
63 Removed if XML_DEP, as there's one at the top of the file.
65 2004-11-18 Geoff Norton <gnorton@customerdna.com>
67 * ProviderSettingsCollection.cs: Add XML_DEP because this inherits
68 ConfigurationElementCollection which has XML_DEP. Fixes bootstrap
70 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
72 * ProviderSettings.cs, ProviderSettingsCollection.cs: Mostly implemented.
73 * Configuration.cs: Implemented GetSection() and GetSectionGroup().
74 * AppSettingsSection.cs: Better null check in Reset().
76 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
78 * TimeSpanConfigurationProperty.cs, TimeSpanPropertyFlags.cs,
79 TimeSpanSerializedFormat.cs: Implemented.
81 2004-11-09 Duncan Mak <duncan@ximian.com>
83 * NonEmptyStringConfigurationProperty.cs: Add XML_DEP, this should
86 2004-11-09 Lluis Sanchez Gual <lluis@novell.com>
88 * ConfigurationElement.cs: Implemented Equals and GetHashCode.
89 Only reflect properties from type's members if the type does not
91 * ConfigurationElementCollection.cs: Implemented Equals and GetHashCode.
93 * ConfigurationProperty.cs: It is not a subclass of ConfigurationElement.
94 * NonEmptyStringConfigurationProperty.cs, NonEmptyStringFlags.cs:
97 2004-11-09 Lluis Sanchez Gual <lluis@novell.com>
99 * AppSettingsSection.cs: Mostly implemented (missing support for
101 * ConfigHelper.cs: GetNameValueCollection now returns a
102 ConfigNameValueCollection instance which is a NameValueCollection with a
104 * ConfigInfo.cs: Added XPath property.
105 * Configuration.cs: Implemented AppSettings property. Set the Path property
106 of sections and groups.
107 * ConfigurationElement.cs: Support key serialization. Properly reset
109 * ConfigurationElementCollection.cs: Initial implementation.
110 * ConfigurationSection.cs: Impemented Path and GetRuntimeObject.
111 * ConfigurationSectionGroup.cs: Implemented Path.
112 * SectionGroupInfo.cs: Little fix.
114 2004-11-05 Lluis Sanchez Gual <lluis@novell.com>
116 * Configuration.cs: Minor fixes.
117 * ConfigurationElement.cs: Added support for the different update modes.
118 * SectionGroupInfo.cs: Support loading the same configuration section
119 from different files.
120 * SectionInfo.cs: Properly write back configuration data for which a
121 section object has not been created.
123 2004-11-04 Lluis Sanchez Gual <lluis@novell.com>
125 * AppSettingsSection.cs, ConfigurationPropertyCollection.cs,
126 ConfigurationValidationAttribute.cs, ConnectionStringsSection.cs,
127 ProtectedConfigurationProvider.cs, ProviderBase.cs
128 RuntimeOnlySection.cs: Fixed formatting and added missing TODOs.
130 2004-11-04 Lluis Sanchez Gual <lluis@novell.com>
132 * Configuration.cs, ConfigurationElement.cs, ConfigurationLocation.cs,
133 ConfigurationLocationCollection.cs, ConfigurationProperty.cs,
134 ConfigurationPropertyAttribute.cs, ConfigurationSection.cs,
135 ConfigurationSectionCollection.cs, ConfigurationSectionGroup.cs,
136 ConfigurationSectionGroupCollection.cs,IntegerConfigurationProperty.cs,
137 RuntimeOnlySection.cs: Initial implementation.
138 * ConfigurationAllowDefinition.cs: Removed XML_DEP ifdef
139 * ConfigurationException.cs: format fix.
140 * ConfigInfo.cs, SectionInfo.cs, SectionGroupInfo.cs: New support
143 2004-09-10 Tim Coleman <tim@timcoleman.com>
144 * ConfigurationElementCollection.cs ConfigurationElementCollectionType.cs:
146 * ConfigurationElement.cs:
147 Fix function declaration
150 2004-08-16 Duncan Mak <duncan@ximian.com>
152 * ConfigurationElement.cs (InitializeDefault): Made virtual.
154 * AppSettingsSection.cs:
156 * ConfigurationLocation.cs:
157 * ConfigurationLocationCollection.cs:
158 * ConfigurationSection.cs:
159 * ConfigurationSectionCollection.cs:
160 * ConfigurationSectionGroup.cs:
161 * ConfigurationSectionGroupCollection.cs:
162 * ConnectionStringsSection.cs: Added stubs and bits of implementation.
164 Other than ConfigurationElementCollection and
165 ConnectionStringsSectionCollection, we now have the basic skeleton
166 for implementing the configuration system in the
167 System.Configuration namespace.
169 2004-08-11 Duncan Mak <duncan@ximian.com>
171 * ProtectedConfigurationProvider.cs: Use XML_DEP.
173 2004-08-11 Duncan Mak <duncan@ximian.com>
175 * ProtectedConfigurationProvider.cs:
176 * ProviderBase.cs: Implemented.
178 * ConfigurationPropertyAttribute.cs: Implemented attribute.
180 * ConfigurationAllowDefinition.cs:
181 * ConfigurationUserLevel.cs:
182 * PathLevel.cs: Added enumerations.
184 2004-08-07 Atsushi Enomoto <atsushi@ximian.com>
186 * ConfigurationElement.cs,
187 ConfigurationProperty.cs,
188 ConfigurationPropertyCollection.cs,
189 ConfigurationValidationAttribute.cs : use XML_DEP.
191 2004-08-06 Duncan Mak <duncan@ximian.com>
193 * ConfigurationElement.cs: Added stubs.
195 * ConfigurationProperty.cs:
196 * ConfigurationPropertyCollection.cs:
197 * ConfigurationValidationAttribute.cs: Added.
199 * ConfigurationPropertyFlags.cs:
200 * ConfigurationUpdateMode.cs: Added 2.0 enumerations.
202 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
204 * ConfigurationSettings.cs: allow empty <configSections>.
206 2004-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
208 * ConfigurationSettings.cs: don't ask me why, but the .cctor
209 initialization of 'instance' field does no longer work.
211 2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
213 * ConfigXmlDocument.cs: removed method that was supposed to be internal.
215 * ConfigurationSettings.cs: instead of calling the overload that doesn't
216 exist in MS, use what we have when loading an external file.
218 2004-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
220 * ConfigXmlDocument.cs: fixed overloaded Load and added a new one that
223 * ConfigurationSettings.cs: use the new Load in ConfigXmlDocument when
226 * NameValueFileSectionHandler.cs: don't fails if the path for the 'file'
227 attribute doesn't have a directory.
231 2004-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
233 * ConfigurationSettings.cs: removed FileWatcherCache. See bug #53445.
235 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
237 * ConfigurationSettings.cs: initialize config in
238 ChangeConfigurationSettings if it has not been done yet. Patch by
239 George Kodinov gkodinov@openlinksw.co.uk). Fixes bug #51643.
241 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
243 * ConfigurationSettings.cs: handle allowdefinition and allowlocation,
244 added locks, don't reopen the file for every new section to be read,
245 but keep them as strings and build the section handlers with that.
246 Also allow changing the configuration system (used from System.Web).
248 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
250 * ConfigurationSettings.cs: make the *Mark objects static
251 because they need to be comparable across instances.
252 (ReadSectionGroup): You can add an element to a group declared
253 in the parent config files (MS.net's QuickStarts do this).
255 2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
257 * ConfigurationSettings.cs: don't handle null or non-existent file in
260 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
262 * ConfigurationSettings.cs: really make the cache work.
264 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
266 * ConfigurationSettings.cs: pass the file name we're reading as the
269 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
271 * ConfigurationSettings.cs: patch by Eric Lindvall (eric@5stops.com)
272 that improves performance by not reading the file more than once.
274 2003-07-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
276 * ConfigurationSettings.cs: Removed unused exception variable, fixes
279 2003-06-16 Lluis Sanchez Gual <lluis@ximian.com>
281 * ConfigurationSettings.cs: Avoid chicken-egg problem when reading
282 machine.config. Cannot use an uri to read mechine.config because web
283 request module handelrs are defined in machine.config.
285 2003-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
287 * AppSettingsReader.cs: fixed bug #38755.
289 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
291 * ConfigXmlDocument.cs: don't jump over the first element.
292 * ConfigurationSettings.cs: pass doc.DocumentElement instead of doc.
294 This used to work until i tried to access one attribute of the first
295 element and realized that the element was not the expected!
296 This change does not affect the configuration handlers that only use
297 ChildNodes property on the XmlNode they get as argument.
299 2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
301 * ConfigurationSettings.cs: removed type loading hack no longer needed.
303 2002-12-14 Jonathan Pryor <jonpryor@vt.edu>
305 * ConfigurationSettings.cs: Allow configuration sections to be removed.
307 2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
309 * ConfigurationSettings.cs: use AppDomainSetup to get the configuration
310 file name for the AppDomain.
312 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
314 * ConfigHelper.cs: NameValueCollection.Add is now fixed.
316 2002-10-14 Martin Baulig <martin@gnome.org>
318 * ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath):
319 Append ".config" to the filename, not ".exe.config" since the
320 filename already has a ".exe" suffix.
322 2002-10-14 Martin Baulig <martin@gnome.org>
324 * ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath): Use
325 Assembly.Location, not Assembly.FullName to get its filename.
327 2002-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
329 * ConfigHelper.cs: workaround for a bug in NameValueCollection.
330 * ConfigurationSettings.cs: load sections when the parent holds a
331 handler for it. Now overriding appSettings values in the app config
332 file works (first <remove..> and then <add...).
334 2002-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
337 * NameValueFileSectionHandler.cs: check that Attributes is not null.
339 2002-10-09 Miguel de Icaza <miguel@ximian.com>
341 * NameValueFileSectionHandler.cs: For now if a section is not
342 present, return null. Do not know what the real fix is. Gonzalo
343 will have to look at this, but the debugger was crashing as
344 appSettings in the machine.config does not exist, but GetConfig
345 returns a non-null value when looking it up when you do a
346 GetDocumentForSection ("appSettings").
348 2002-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
350 * ConfigurationSettings.cs: use get_machine_config_path internal call.
352 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
354 * ConfigXmlDocument.cs: move the reader for the section to the first
357 * ConfigurationSettings.cs: fixed hierarchical search for a handler.
359 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
361 * ConfigurationSettings.cs: reimplemented. It is now able to deliver
362 sections to their handlers for processing.
364 2002-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
366 * ConfigHelper.cs: New file. Contains some
367 helper functions for getting key-value collections from the config file.
369 * ConfigXmlDocument.cs: wrapper around xml elements to provide line
370 number and file name info.
371 * IConfigXmlNode.cs: used in ConfigXmlDocument and
372 ConfigurationException.
374 * ConfigurationException.cs: get file name and line
375 number from the wrapped XmlNode. Display this info in Message.
377 * NameValueFileSectionHandler.cs: new handler.
378 * DictionarySectionHandler.cs:
379 * NameValueSectionHandler.cs: modified to use the helper methods in
382 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
384 * AppSettingsReader.cs: New file.
385 * IConfigurationSystem.cs: New file.
387 * IgnoreSectionHandler.cs:
388 * NameValueSectionHandler.cs:
389 * SingleTagSectionHandler.cs: little fixes.
391 2002-09-03 Martin Baulig <martin@gnome.org>
393 * ConfigurationSettings.cs (ConfigurationSettings.GetConfig): Use the
394 correct configuration filename, fixed the TODO.
395 (GetSectionHanderType): Renamed to GetSectionHandlerType.
397 * NameValueSectionHandler.cs (NameValueSectionHandler.Create): Allow
398 whitespaces in the configuration file.
400 2002-01-31 Duncan Mak <duncan@ximian.com>
402 * ConfigurationException.cs: Rewrote most of the file and added
405 2002-01-06 Ravi Pratap <ravi@ximian.com>
407 * ConfigurationSettings.cs, IgnoreSectionHandler.cs : MonoTODO decoration
409 * SingleTagSectionHandler.cs, DictionarySectionHandler.cs,
410 NameValueSectionHandler.cs : Ditto.
412 2001-08-28 Christopher Podurgiel <cpodurgiel@msn.com>
413 * IConfigurationSectionHandler.cs: Added reference to System.Xml.
415 * SingleTagSectionHandler.cs: Added Implementation of Create() method.
417 * NameValueSectionHandler.cs: Added Implementation of Create() method.
419 * ConfigurationException.cs: Now returns proper message rather than "System Exception".
421 2001-08-26 Christopher Podurgiel <cpodurgiel@msn.com>
423 * ConfigurationSettings.cs: No longer references the
424 NameValueSectionHandler directly. Instead it uses
425 System.Reflection to call the Create() method for the appropriate
426 SectionHandler as defined in the .config file.