1 2005-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * Configuration.cs: a few MonoTODOs less.
5 2005-03-02 Sureshkumar T <tsureshkumar@novell.com>
7 * ConfigurationSettings.cs: Implemented ConnectionStrings
10 2005-02-22 Sureshkumar T <tsureshkumar@novell.com>
12 * ConnectionStringsSection.cs: Implemented all methods.
15 * ConnectionStringSettings.cs: Configuration object for a
16 connection string element.
17 * ConnectionStringSettingsCollection.cs: Collection of
18 ConnectionStringSettings objects.
20 2005-02-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
22 * Configuration.cs: (.ctor) don't fail if the file to load does not
24 (GetExeConfiguration): use caller assembly location if the path is null
25 and check that the exe file exists.
26 Removed if XML_DEP, as there's one at the top of the file.
28 2004-11-18 Geoff Norton <gnorton@customerdna.com>
30 * ProviderSettingsCollection.cs: Add XML_DEP because this inherits
31 ConfigurationElementCollection which has XML_DEP. Fixes bootstrap
33 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
35 * ProviderSettings.cs, ProviderSettingsCollection.cs: Mostly implemented.
36 * Configuration.cs: Implemented GetSection() and GetSectionGroup().
37 * AppSettingsSection.cs: Better null check in Reset().
39 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
41 * TimeSpanConfigurationProperty.cs, TimeSpanPropertyFlags.cs,
42 TimeSpanSerializedFormat.cs: Implemented.
44 2004-11-09 Duncan Mak <duncan@ximian.com>
46 * NonEmptyStringConfigurationProperty.cs: Add XML_DEP, this should
49 2004-11-09 Lluis Sanchez Gual <lluis@novell.com>
51 * ConfigurationElement.cs: Implemented Equals and GetHashCode.
52 Only reflect properties from type's members if the type does not
54 * ConfigurationElementCollection.cs: Implemented Equals and GetHashCode.
56 * ConfigurationProperty.cs: It is not a subclass of ConfigurationElement.
57 * NonEmptyStringConfigurationProperty.cs, NonEmptyStringFlags.cs:
60 2004-11-09 Lluis Sanchez Gual <lluis@novell.com>
62 * AppSettingsSection.cs: Mostly implemented (missing support for
64 * ConfigHelper.cs: GetNameValueCollection now returns a
65 ConfigNameValueCollection instance which is a NameValueCollection with a
67 * ConfigInfo.cs: Added XPath property.
68 * Configuration.cs: Implemented AppSettings property. Set the Path property
69 of sections and groups.
70 * ConfigurationElement.cs: Support key serialization. Properly reset
72 * ConfigurationElementCollection.cs: Initial implementation.
73 * ConfigurationSection.cs: Impemented Path and GetRuntimeObject.
74 * ConfigurationSectionGroup.cs: Implemented Path.
75 * SectionGroupInfo.cs: Little fix.
77 2004-11-05 Lluis Sanchez Gual <lluis@novell.com>
79 * Configuration.cs: Minor fixes.
80 * ConfigurationElement.cs: Added support for the different update modes.
81 * SectionGroupInfo.cs: Support loading the same configuration section
83 * SectionInfo.cs: Properly write back configuration data for which a
84 section object has not been created.
86 2004-11-04 Lluis Sanchez Gual <lluis@novell.com>
88 * AppSettingsSection.cs, ConfigurationPropertyCollection.cs,
89 ConfigurationValidationAttribute.cs, ConnectionStringsSection.cs,
90 ProtectedConfigurationProvider.cs, ProviderBase.cs
91 RuntimeOnlySection.cs: Fixed formatting and added missing TODOs.
93 2004-11-04 Lluis Sanchez Gual <lluis@novell.com>
95 * Configuration.cs, ConfigurationElement.cs, ConfigurationLocation.cs,
96 ConfigurationLocationCollection.cs, ConfigurationProperty.cs,
97 ConfigurationPropertyAttribute.cs, ConfigurationSection.cs,
98 ConfigurationSectionCollection.cs, ConfigurationSectionGroup.cs,
99 ConfigurationSectionGroupCollection.cs,IntegerConfigurationProperty.cs,
100 RuntimeOnlySection.cs: Initial implementation.
101 * ConfigurationAllowDefinition.cs: Removed XML_DEP ifdef
102 * ConfigurationException.cs: format fix.
103 * ConfigInfo.cs, SectionInfo.cs, SectionGroupInfo.cs: New support
106 2004-09-10 Tim Coleman <tim@timcoleman.com>
107 * ConfigurationElementCollection.cs ConfigurationElementCollectionType.cs:
109 * ConfigurationElement.cs:
110 Fix function declaration
113 2004-08-16 Duncan Mak <duncan@ximian.com>
115 * ConfigurationElement.cs (InitializeDefault): Made virtual.
117 * AppSettingsSection.cs:
119 * ConfigurationLocation.cs:
120 * ConfigurationLocationCollection.cs:
121 * ConfigurationSection.cs:
122 * ConfigurationSectionCollection.cs:
123 * ConfigurationSectionGroup.cs:
124 * ConfigurationSectionGroupCollection.cs:
125 * ConnectionStringsSection.cs: Added stubs and bits of implementation.
127 Other than ConfigurationElementCollection and
128 ConnectionStringsSectionCollection, we now have the basic skeleton
129 for implementing the configuration system in the
130 System.Configuration namespace.
132 2004-08-11 Duncan Mak <duncan@ximian.com>
134 * ProtectedConfigurationProvider.cs: Use XML_DEP.
136 2004-08-11 Duncan Mak <duncan@ximian.com>
138 * ProtectedConfigurationProvider.cs:
139 * ProviderBase.cs: Implemented.
141 * ConfigurationPropertyAttribute.cs: Implemented attribute.
143 * ConfigurationAllowDefinition.cs:
144 * ConfigurationUserLevel.cs:
145 * PathLevel.cs: Added enumerations.
147 2004-08-07 Atsushi Enomoto <atsushi@ximian.com>
149 * ConfigurationElement.cs,
150 ConfigurationProperty.cs,
151 ConfigurationPropertyCollection.cs,
152 ConfigurationValidationAttribute.cs : use XML_DEP.
154 2004-08-06 Duncan Mak <duncan@ximian.com>
156 * ConfigurationElement.cs: Added stubs.
158 * ConfigurationProperty.cs:
159 * ConfigurationPropertyCollection.cs:
160 * ConfigurationValidationAttribute.cs: Added.
162 * ConfigurationPropertyFlags.cs:
163 * ConfigurationUpdateMode.cs: Added 2.0 enumerations.
165 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
167 * ConfigurationSettings.cs: allow empty <configSections>.
169 2004-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
171 * ConfigurationSettings.cs: don't ask me why, but the .cctor
172 initialization of 'instance' field does no longer work.
174 2004-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
176 * ConfigXmlDocument.cs: removed method that was supposed to be internal.
178 * ConfigurationSettings.cs: instead of calling the overload that doesn't
179 exist in MS, use what we have when loading an external file.
181 2004-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
183 * ConfigXmlDocument.cs: fixed overloaded Load and added a new one that
186 * ConfigurationSettings.cs: use the new Load in ConfigXmlDocument when
189 * NameValueFileSectionHandler.cs: don't fails if the path for the 'file'
190 attribute doesn't have a directory.
194 2004-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
196 * ConfigurationSettings.cs: removed FileWatcherCache. See bug #53445.
198 2003-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
200 * ConfigurationSettings.cs: initialize config in
201 ChangeConfigurationSettings if it has not been done yet. Patch by
202 George Kodinov gkodinov@openlinksw.co.uk). Fixes bug #51643.
204 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
206 * ConfigurationSettings.cs: handle allowdefinition and allowlocation,
207 added locks, don't reopen the file for every new section to be read,
208 but keep them as strings and build the section handlers with that.
209 Also allow changing the configuration system (used from System.Web).
211 2003-11-17 Ben Maurer <bmaurer@users.sourceforge.net>
213 * ConfigurationSettings.cs: make the *Mark objects static
214 because they need to be comparable across instances.
215 (ReadSectionGroup): You can add an element to a group declared
216 in the parent config files (MS.net's QuickStarts do this).
218 2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
220 * ConfigurationSettings.cs: don't handle null or non-existent file in
223 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
225 * ConfigurationSettings.cs: really make the cache work.
227 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
229 * ConfigurationSettings.cs: pass the file name we're reading as the
232 2003-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
234 * ConfigurationSettings.cs: patch by Eric Lindvall (eric@5stops.com)
235 that improves performance by not reading the file more than once.
237 2003-07-15 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
239 * ConfigurationSettings.cs: Removed unused exception variable, fixes
242 2003-06-16 Lluis Sanchez Gual <lluis@ximian.com>
244 * ConfigurationSettings.cs: Avoid chicken-egg problem when reading
245 machine.config. Cannot use an uri to read mechine.config because web
246 request module handelrs are defined in machine.config.
248 2003-03-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
250 * AppSettingsReader.cs: fixed bug #38755.
252 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
254 * ConfigXmlDocument.cs: don't jump over the first element.
255 * ConfigurationSettings.cs: pass doc.DocumentElement instead of doc.
257 This used to work until i tried to access one attribute of the first
258 element and realized that the element was not the expected!
259 This change does not affect the configuration handlers that only use
260 ChildNodes property on the XmlNode they get as argument.
262 2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
264 * ConfigurationSettings.cs: removed type loading hack no longer needed.
266 2002-12-14 Jonathan Pryor <jonpryor@vt.edu>
268 * ConfigurationSettings.cs: Allow configuration sections to be removed.
270 2002-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
272 * ConfigurationSettings.cs: use AppDomainSetup to get the configuration
273 file name for the AppDomain.
275 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
277 * ConfigHelper.cs: NameValueCollection.Add is now fixed.
279 2002-10-14 Martin Baulig <martin@gnome.org>
281 * ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath):
282 Append ".config" to the filename, not ".exe.config" since the
283 filename already has a ".exe" suffix.
285 2002-10-14 Martin Baulig <martin@gnome.org>
287 * ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath): Use
288 Assembly.Location, not Assembly.FullName to get its filename.
290 2002-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
292 * ConfigHelper.cs: workaround for a bug in NameValueCollection.
293 * ConfigurationSettings.cs: load sections when the parent holds a
294 handler for it. Now overriding appSettings values in the app config
295 file works (first <remove..> and then <add...).
297 2002-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
300 * NameValueFileSectionHandler.cs: check that Attributes is not null.
302 2002-10-09 Miguel de Icaza <miguel@ximian.com>
304 * NameValueFileSectionHandler.cs: For now if a section is not
305 present, return null. Do not know what the real fix is. Gonzalo
306 will have to look at this, but the debugger was crashing as
307 appSettings in the machine.config does not exist, but GetConfig
308 returns a non-null value when looking it up when you do a
309 GetDocumentForSection ("appSettings").
311 2002-10-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
313 * ConfigurationSettings.cs: use get_machine_config_path internal call.
315 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
317 * ConfigXmlDocument.cs: move the reader for the section to the first
320 * ConfigurationSettings.cs: fixed hierarchical search for a handler.
322 2002-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
324 * ConfigurationSettings.cs: reimplemented. It is now able to deliver
325 sections to their handlers for processing.
327 2002-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
329 * ConfigHelper.cs: New file. Contains some
330 helper functions for getting key-value collections from the config file.
332 * ConfigXmlDocument.cs: wrapper around xml elements to provide line
333 number and file name info.
334 * IConfigXmlNode.cs: used in ConfigXmlDocument and
335 ConfigurationException.
337 * ConfigurationException.cs: get file name and line
338 number from the wrapped XmlNode. Display this info in Message.
340 * NameValueFileSectionHandler.cs: new handler.
341 * DictionarySectionHandler.cs:
342 * NameValueSectionHandler.cs: modified to use the helper methods in
345 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
347 * AppSettingsReader.cs: New file.
348 * IConfigurationSystem.cs: New file.
350 * IgnoreSectionHandler.cs:
351 * NameValueSectionHandler.cs:
352 * SingleTagSectionHandler.cs: little fixes.
354 2002-09-03 Martin Baulig <martin@gnome.org>
356 * ConfigurationSettings.cs (ConfigurationSettings.GetConfig): Use the
357 correct configuration filename, fixed the TODO.
358 (GetSectionHanderType): Renamed to GetSectionHandlerType.
360 * NameValueSectionHandler.cs (NameValueSectionHandler.Create): Allow
361 whitespaces in the configuration file.
363 2002-01-31 Duncan Mak <duncan@ximian.com>
365 * ConfigurationException.cs: Rewrote most of the file and added
368 2002-01-06 Ravi Pratap <ravi@ximian.com>
370 * ConfigurationSettings.cs, IgnoreSectionHandler.cs : MonoTODO decoration
372 * SingleTagSectionHandler.cs, DictionarySectionHandler.cs,
373 NameValueSectionHandler.cs : Ditto.
375 2001-08-28 Christopher Podurgiel <cpodurgiel@msn.com>
376 * IConfigurationSectionHandler.cs: Added reference to System.Xml.
378 * SingleTagSectionHandler.cs: Added Implementation of Create() method.
380 * NameValueSectionHandler.cs: Added Implementation of Create() method.
382 * ConfigurationException.cs: Now returns proper message rather than "System Exception".
384 2001-08-26 Christopher Podurgiel <cpodurgiel@msn.com>
386 * ConfigurationSettings.cs: No longer references the
387 NameValueSectionHandler directly. Instead it uses
388 System.Reflection to call the Create() method for the appropriate
389 SectionHandler as defined in the .config file.