ChangeLog 18 KB

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