ChangeLog 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  1. 2005-09-19 Chris Toshok <[email protected]>
  2. * System.Configuration/SettingsProvider.cs,
  3. System.Configuration/SettingsPropertyValueCollection.cs,
  4. System.Configuration/SettingsPropertyCollection.cs,
  5. System.Configuration/SettingsProviderCollection.cs,
  6. System.Configuration/SettingsBase.cs,
  7. System.Configuration/SettingsSerializeAs.cs,
  8. System.Configuration/SettingsPropertyValue.cs,
  9. System.Configuration/SettingsProperty.cs,
  10. System.Configuration/SettingsContext.cs,
  11. System.Configuration/SettingsAttributeDictionary.cs: new files.
  12. 2005-07-05 Raja R Harinath <[email protected]>
  13. * ConfigurationSettings.cs (ConnectionStrings): Change XML_DEP
  14. guard to CONFIGURATION_DEP.
  15. 2005-06-15 Lluis Sanchez Gual <[email protected]>
  16. * ProviderBase.cs: Moved here from System.Configuration.dll.
  17. 2005-06-14 Lluis Sanchez Gual <[email protected]>
  18. * AppSettingsSection.cs, ConfigInfo.cs, Configuration.cs
  19. ConfigurationAllowDefinition.cs, ConfigurationElement.cs
  20. ConfigurationElementCollection.cs, ConfigurationElementCollectionType.cs
  21. ConfigurationLocation.cs, ConfigurationLocationCollection.cs
  22. ConfigurationProperty.cs, ConfigurationPropertyAttribute.cs
  23. ConfigurationPropertyCollection.cs, ConfigurationPropertyFlags.cs
  24. ConfigurationSection.cs, ConfigurationSectionCollection.cs
  25. ConfigurationSectionGroup.cs, ConfigurationSectionGroupCollection.cs
  26. ConfigurationUpdateMode.cs, ConfigurationUserLevel.cs
  27. ConfigurationValidationAttribute.cs, ConnectionStringsSection.cs
  28. ConnectionStringSettingsCollection.cs, ConnectionStringSettings.cs
  29. IntegerConfigurationProperty.cs, NonEmptyStringConfigurationProperty.cs
  30. NonEmptyStringFlags.cs, PathLevel.cs, ProtectedConfigurationProvider.cs
  31. ProviderBase.cs, ProviderSettings.cs, ProviderSettingsCollection.cs
  32. RuntimeOnlySection.cs, SectionInfo.cs, SectionGroupInfo.cs
  33. TimeSpanConfigurationProperty.cs, TimeSpanPropertyFlags.cs
  34. TimeSpanSerializedFormat.cs:
  35. Moved to the new System.Configuration assembly.
  36. 2005-03-23 Jackson Harper <[email protected]>
  37. * ApplicationSettingsBase.cs: We need this stub to do some 2.0
  38. winforms stuff.
  39. 2005-03-16 Gonzalo Paniagua Javier <[email protected]>
  40. * Configuration.cs: a few MonoTODOs less.
  41. 2005-03-02 Sureshkumar T <[email protected]>
  42. * ConfigurationSettings.cs: Implemented ConnectionStrings
  43. property.
  44. 2005-02-22 Sureshkumar T <[email protected]>
  45. * ConnectionStringsSection.cs: Implemented all methods.
  46. New Files Added:
  47. * ConnectionStringSettings.cs: Configuration object for a
  48. connection string element.
  49. * ConnectionStringSettingsCollection.cs: Collection of
  50. ConnectionStringSettings objects.
  51. 2005-02-16 Gonzalo Paniagua Javier <[email protected]>
  52. * Configuration.cs: (.ctor) don't fail if the file to load does not
  53. exist.
  54. (GetExeConfiguration): use caller assembly location if the path is null
  55. and check that the exe file exists.
  56. Removed if XML_DEP, as there's one at the top of the file.
  57. 2004-11-18 Geoff Norton <[email protected]>
  58. * ProviderSettingsCollection.cs: Add XML_DEP because this inherits
  59. ConfigurationElementCollection which has XML_DEP. Fixes bootstrap
  60. 2004-11-18 Lluis Sanchez Gual <[email protected]>
  61. * ProviderSettings.cs, ProviderSettingsCollection.cs: Mostly implemented.
  62. * Configuration.cs: Implemented GetSection() and GetSectionGroup().
  63. * AppSettingsSection.cs: Better null check in Reset().
  64. 2004-11-15 Lluis Sanchez Gual <[email protected]>
  65. * TimeSpanConfigurationProperty.cs, TimeSpanPropertyFlags.cs,
  66. TimeSpanSerializedFormat.cs: Implemented.
  67. 2004-11-09 Duncan Mak <[email protected]>
  68. * NonEmptyStringConfigurationProperty.cs: Add XML_DEP, this should
  69. fix the build.
  70. 2004-11-09 Lluis Sanchez Gual <[email protected]>
  71. * ConfigurationElement.cs: Implemented Equals and GetHashCode.
  72. Only reflect properties from type's members if the type does not
  73. override Properties.
  74. * ConfigurationElementCollection.cs: Implemented Equals and GetHashCode.
  75. Other minor fixes.
  76. * ConfigurationProperty.cs: It is not a subclass of ConfigurationElement.
  77. * NonEmptyStringConfigurationProperty.cs, NonEmptyStringFlags.cs:
  78. Implemented.
  79. 2004-11-09 Lluis Sanchez Gual <[email protected]>
  80. * AppSettingsSection.cs: Mostly implemented (missing support for
  81. file attribute).
  82. * ConfigHelper.cs: GetNameValueCollection now returns a
  83. ConfigNameValueCollection instance which is a NameValueCollection with a
  84. modification flag.
  85. * ConfigInfo.cs: Added XPath property.
  86. * Configuration.cs: Implemented AppSettings property. Set the Path property
  87. of sections and groups.
  88. * ConfigurationElement.cs: Support key serialization. Properly reset
  89. nested elements.
  90. * ConfigurationElementCollection.cs: Initial implementation.
  91. * ConfigurationSection.cs: Impemented Path and GetRuntimeObject.
  92. * ConfigurationSectionGroup.cs: Implemented Path.
  93. * SectionGroupInfo.cs: Little fix.
  94. 2004-11-05 Lluis Sanchez Gual <[email protected]>
  95. * Configuration.cs: Minor fixes.
  96. * ConfigurationElement.cs: Added support for the different update modes.
  97. * SectionGroupInfo.cs: Support loading the same configuration section
  98. from different files.
  99. * SectionInfo.cs: Properly write back configuration data for which a
  100. section object has not been created.
  101. 2004-11-04 Lluis Sanchez Gual <[email protected]>
  102. * AppSettingsSection.cs, ConfigurationPropertyCollection.cs,
  103. ConfigurationValidationAttribute.cs, ConnectionStringsSection.cs,
  104. ProtectedConfigurationProvider.cs, ProviderBase.cs
  105. RuntimeOnlySection.cs: Fixed formatting and added missing TODOs.
  106. 2004-11-04 Lluis Sanchez Gual <[email protected]>
  107. * Configuration.cs, ConfigurationElement.cs, ConfigurationLocation.cs,
  108. ConfigurationLocationCollection.cs, ConfigurationProperty.cs,
  109. ConfigurationPropertyAttribute.cs, ConfigurationSection.cs,
  110. ConfigurationSectionCollection.cs, ConfigurationSectionGroup.cs,
  111. ConfigurationSectionGroupCollection.cs,IntegerConfigurationProperty.cs,
  112. RuntimeOnlySection.cs: Initial implementation.
  113. * ConfigurationAllowDefinition.cs: Removed XML_DEP ifdef
  114. * ConfigurationException.cs: format fix.
  115. * ConfigInfo.cs, SectionInfo.cs, SectionGroupInfo.cs: New support
  116. classes.
  117. 2004-09-10 Tim Coleman <[email protected]>
  118. * ConfigurationElementCollection.cs ConfigurationElementCollectionType.cs:
  119. New Fx 2.0 stubs
  120. * ConfigurationElement.cs:
  121. Fix function declaration
  122. 2004-08-16 Duncan Mak <[email protected]>
  123. * ConfigurationElement.cs (InitializeDefault): Made virtual.
  124. * AppSettingsSection.cs:
  125. * Configuration.cs:
  126. * ConfigurationLocation.cs:
  127. * ConfigurationLocationCollection.cs:
  128. * ConfigurationSection.cs:
  129. * ConfigurationSectionCollection.cs:
  130. * ConfigurationSectionGroup.cs:
  131. * ConfigurationSectionGroupCollection.cs:
  132. * ConnectionStringsSection.cs: Added stubs and bits of implementation.
  133. Other than ConfigurationElementCollection and
  134. ConnectionStringsSectionCollection, we now have the basic skeleton
  135. for implementing the configuration system in the
  136. System.Configuration namespace.
  137. 2004-08-11 Duncan Mak <[email protected]>
  138. * ProtectedConfigurationProvider.cs: Use XML_DEP.
  139. 2004-08-11 Duncan Mak <[email protected]>
  140. * ProtectedConfigurationProvider.cs:
  141. * ProviderBase.cs: Implemented.
  142. * ConfigurationPropertyAttribute.cs: Implemented attribute.
  143. * ConfigurationAllowDefinition.cs:
  144. * ConfigurationUserLevel.cs:
  145. * PathLevel.cs: Added enumerations.
  146. 2004-08-07 Atsushi Enomoto <[email protected]>
  147. * ConfigurationElement.cs,
  148. ConfigurationProperty.cs,
  149. ConfigurationPropertyCollection.cs,
  150. ConfigurationValidationAttribute.cs : use XML_DEP.
  151. 2004-08-06 Duncan Mak <[email protected]>
  152. * ConfigurationElement.cs: Added stubs.
  153. * ConfigurationProperty.cs:
  154. * ConfigurationPropertyCollection.cs:
  155. * ConfigurationValidationAttribute.cs: Added.
  156. * ConfigurationPropertyFlags.cs:
  157. * ConfigurationUpdateMode.cs: Added 2.0 enumerations.
  158. 2004-06-15 Gonzalo Paniagua Javier <[email protected]>
  159. * ConfigurationSettings.cs: allow empty <configSections>.
  160. 2004-05-17 Gonzalo Paniagua Javier <[email protected]>
  161. * ConfigurationSettings.cs: don't ask me why, but the .cctor
  162. initialization of 'instance' field does no longer work.
  163. 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
  164. * ConfigXmlDocument.cs: removed method that was supposed to be internal.
  165. * ConfigurationSettings.cs: instead of calling the overload that doesn't
  166. exist in MS, use what we have when loading an external file.
  167. 2004-04-20 Gonzalo Paniagua Javier <[email protected]>
  168. * ConfigXmlDocument.cs: fixed overloaded Load and added a new one that
  169. sets the file name.
  170. * ConfigurationSettings.cs: use the new Load in ConfigXmlDocument when
  171. loading sections.
  172. * NameValueFileSectionHandler.cs: don't fails if the path for the 'file'
  173. attribute doesn't have a directory.
  174. Closes bug #57244.
  175. 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
  176. * ConfigurationSettings.cs: removed FileWatcherCache. See bug #53445.
  177. 2003-12-03 Gonzalo Paniagua Javier <[email protected]>
  178. * ConfigurationSettings.cs: initialize config in
  179. ChangeConfigurationSettings if it has not been done yet. Patch by
  180. George Kodinov [email protected]). Fixes bug #51643.
  181. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  182. * ConfigurationSettings.cs: handle allowdefinition and allowlocation,
  183. added locks, don't reopen the file for every new section to be read,
  184. but keep them as strings and build the section handlers with that.
  185. Also allow changing the configuration system (used from System.Web).
  186. 2003-11-17 Ben Maurer <[email protected]>
  187. * ConfigurationSettings.cs: make the *Mark objects static
  188. because they need to be comparable across instances.
  189. (ReadSectionGroup): You can add an element to a group declared
  190. in the parent config files (MS.net's QuickStarts do this).
  191. 2003-11-06 Gonzalo Paniagua Javier <[email protected]>
  192. * ConfigurationSettings.cs: don't handle null or non-existent file in
  193. the catch blocks.
  194. 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
  195. * ConfigurationSettings.cs: really make the cache work.
  196. 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
  197. * ConfigurationSettings.cs: pass the file name we're reading as the
  198. context.
  199. 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
  200. * ConfigurationSettings.cs: patch by Eric Lindvall ([email protected])
  201. that improves performance by not reading the file more than once.
  202. 2003-07-15 Andreas Nahr <[email protected]>
  203. * ConfigurationSettings.cs: Removed unused exception variable, fixes
  204. compiler warning
  205. 2003-06-16 Lluis Sanchez Gual <[email protected]>
  206. * ConfigurationSettings.cs: Avoid chicken-egg problem when reading
  207. machine.config. Cannot use an uri to read mechine.config because web
  208. request module handelrs are defined in machine.config.
  209. 2003-03-02 Gonzalo Paniagua Javier <[email protected]>
  210. * AppSettingsReader.cs: fixed bug #38755.
  211. 2002-12-19 Gonzalo Paniagua Javier <[email protected]>
  212. * ConfigXmlDocument.cs: don't jump over the first element.
  213. * ConfigurationSettings.cs: pass doc.DocumentElement instead of doc.
  214. This used to work until i tried to access one attribute of the first
  215. element and realized that the element was not the expected!
  216. This change does not affect the configuration handlers that only use
  217. ChildNodes property on the XmlNode they get as argument.
  218. 2002-12-15 Gonzalo Paniagua Javier <[email protected]>
  219. * ConfigurationSettings.cs: removed type loading hack no longer needed.
  220. 2002-12-14 Jonathan Pryor <[email protected]>
  221. * ConfigurationSettings.cs: Allow configuration sections to be removed.
  222. 2002-11-04 Gonzalo Paniagua Javier <[email protected]>
  223. * ConfigurationSettings.cs: use AppDomainSetup to get the configuration
  224. file name for the AppDomain.
  225. 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
  226. * ConfigHelper.cs: NameValueCollection.Add is now fixed.
  227. 2002-10-14 Martin Baulig <[email protected]>
  228. * ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath):
  229. Append ".config" to the filename, not ".exe.config" since the
  230. filename already has a ".exe" suffix.
  231. 2002-10-14 Martin Baulig <[email protected]>
  232. * ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath): Use
  233. Assembly.Location, not Assembly.FullName to get its filename.
  234. 2002-10-10 Gonzalo Paniagua Javier <[email protected]>
  235. * ConfigHelper.cs: workaround for a bug in NameValueCollection.
  236. * ConfigurationSettings.cs: load sections when the parent holds a
  237. handler for it. Now overriding appSettings values in the app config
  238. file works (first <remove..> and then <add...).
  239. 2002-10-09 Gonzalo Paniagua Javier <[email protected]>
  240. * ConfigHelper.cs:
  241. * NameValueFileSectionHandler.cs: check that Attributes is not null.
  242. 2002-10-09 Miguel de Icaza <[email protected]>
  243. * NameValueFileSectionHandler.cs: For now if a section is not
  244. present, return null. Do not know what the real fix is. Gonzalo
  245. will have to look at this, but the debugger was crashing as
  246. appSettings in the machine.config does not exist, but GetConfig
  247. returns a non-null value when looking it up when you do a
  248. GetDocumentForSection ("appSettings").
  249. 2002-10-09 Gonzalo Paniagua Javier <[email protected]>
  250. * ConfigurationSettings.cs: use get_machine_config_path internal call.
  251. 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
  252. * ConfigXmlDocument.cs: move the reader for the section to the first
  253. element.
  254. * ConfigurationSettings.cs: fixed hierarchical search for a handler.
  255. 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
  256. * ConfigurationSettings.cs: reimplemented. It is now able to deliver
  257. sections to their handlers for processing.
  258. 2002-10-03 Gonzalo Paniagua Javier <[email protected]>
  259. * ConfigHelper.cs: New file. Contains some
  260. helper functions for getting key-value collections from the config file.
  261. * ConfigXmlDocument.cs: wrapper around xml elements to provide line
  262. number and file name info.
  263. * IConfigXmlNode.cs: used in ConfigXmlDocument and
  264. ConfigurationException.
  265. * ConfigurationException.cs: get file name and line
  266. number from the wrapped XmlNode. Display this info in Message.
  267. * NameValueFileSectionHandler.cs: new handler.
  268. * DictionarySectionHandler.cs:
  269. * NameValueSectionHandler.cs: modified to use the helper methods in
  270. ConfigHelper.
  271. 2002-10-02 Gonzalo Paniagua Javier <[email protected]>
  272. * AppSettingsReader.cs: New file.
  273. * IConfigurationSystem.cs: New file.
  274. * IgnoreSectionHandler.cs:
  275. * NameValueSectionHandler.cs:
  276. * SingleTagSectionHandler.cs: little fixes.
  277. 2002-09-03 Martin Baulig <[email protected]>
  278. * ConfigurationSettings.cs (ConfigurationSettings.GetConfig): Use the
  279. correct configuration filename, fixed the TODO.
  280. (GetSectionHanderType): Renamed to GetSectionHandlerType.
  281. * NameValueSectionHandler.cs (NameValueSectionHandler.Create): Allow
  282. whitespaces in the configuration file.
  283. 2002-01-31 Duncan Mak <[email protected]>
  284. * ConfigurationException.cs: Rewrote most of the file and added
  285. serialization bits.
  286. 2002-01-06 Ravi Pratap <[email protected]>
  287. * ConfigurationSettings.cs, IgnoreSectionHandler.cs : MonoTODO decoration
  288. * SingleTagSectionHandler.cs, DictionarySectionHandler.cs,
  289. NameValueSectionHandler.cs : Ditto.
  290. 2001-08-28 Christopher Podurgiel <[email protected]>
  291. * IConfigurationSectionHandler.cs: Added reference to System.Xml.
  292. * SingleTagSectionHandler.cs: Added Implementation of Create() method.
  293. * NameValueSectionHandler.cs: Added Implementation of Create() method.
  294. * ConfigurationException.cs: Now returns proper message rather than "System Exception".
  295. 2001-08-26 Christopher Podurgiel <[email protected]>
  296. * ConfigurationSettings.cs: No longer references the
  297. NameValueSectionHandler directly. Instead it uses
  298. System.Reflection to call the Create() method for the appropriate
  299. SectionHandler as defined in the .config file.