ChangeLog 18 KB

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