ChangeLog 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839
  1. 2007-06-13 Atsushi Enomoto <[email protected]>
  2. * CustomizableLocalFileSettingsProvider.cs :
  3. - added extern alias to avoid reference and I could enable
  4. Initialize() again.
  5. - Copied default user config path stuff (Company/Product/Version)
  6. from MWF Application.cs.
  7. - SaveProperties() and SavePropertiesNoRoaming() are unified, and
  8. mostly rewritten to create userSettings, set value correctly, etc.
  9. - GetPropertyValues() should collect default values as well.
  10. It is not enabled yet, as Configuration.Save() seems to do wrong
  11. and could overwrite application exe.config.
  12. 2007-06-13 Atsushi Enomoto <[email protected]>
  13. * SettingsContext.cs : add internal CurrentSettings property to
  14. make current ApplicationSettingsBase accessible.
  15. * ApplicationSettingsBase.cs : use above.
  16. * SettingValueElement.cs : implement SerializeToXmlElement().
  17. 2007-06-12 Vladimir Krasnov <[email protected]>
  18. * SettingValueElement.cs: fixed stub Properties property for
  19. System.Configuration fixes
  20. 2007-06-04 Atsushi Enomoto <[email protected]>
  21. * CustomizableLocalFileSettingsProvider.cs : contribution for
  22. LocalFileSettingsProvider implementation, by Noriaki Okimoto
  23. ([email protected]), modified by myself to fit for System.dll.
  24. Origin of code license assignment at
  25. http://ojk.sppd.ne.jp/ojkblog/?date=20070603#p01.
  26. * LocalFileSettingsProvider.cs : rewriting to use above.
  27. Due to some kind of compiler issue it is not enabled yet.
  28. 2007-05-30 Atsushi Enomoto <[email protected]>
  29. * ApplicationSettingsBase.cs : removed garbage debugging stuff.
  30. 2007-05-30 Atsushi Enomoto <[email protected]>
  31. * ConfigXmlDocument.cs : added explicit interface implementations.
  32. * ApplicationSettingsBase.cs : split deeply-nested get_Properties()
  33. into itself and a method. Treat default LocalFileSettingsProvider
  34. as a (valid) settings provider. Removed a fixme (only public
  35. members should be available).
  36. * SettingsBase.cs : check lock state in Save().
  37. * SettingsProviderCollection.cs : remove bogus table field which
  38. conflicts with the table in base ProviderCollection class.
  39. 2007-05-30 Atsushi Enomoto <[email protected]>
  40. * SettingsBase.cs : property values are filled only when each
  41. property is accessed. It should not use virtual providers,
  42. properties or context internally since they could be overriden.
  43. * SettingsPropertyValue.cs : to serialize value as string, use
  44. TypeConverter as well (as deserialization).
  45. * SettingsProviderCollection.cs : (Add) null arg check.
  46. 2007-05-28 Atsushi Enomoto <[email protected]>
  47. * SettingElementCollection.cs : fix build, cyclic build mess.
  48. 2007-05-28 Atsushi Enomoto <[email protected]>
  49. * SettingElement.cs : fix default value (null->"").
  50. * SettingElementCollection.cs : implemented all.
  51. 2007-05-28 Atsushi Enomoto <[email protected]>
  52. * SettingsProviderAttribute.cs :
  53. Return assembly qualified name. Check null args.
  54. * ConfigXmlDocument.cs : it implements IConfigErrorInfo.
  55. 2007-03-15 Vladimir Krasnov <[email protected]>
  56. * SettingsPropertyValue.cs: fixed binary deserealization that may be
  57. present as base64 string
  58. 2007-03-03 Gert Driesen <[email protected]>
  59. * ConfigurationSettings.cs: On 2.0 profile, use ConfigurationManager
  60. to retrieve config section. Fixes bug #81020.
  61. 2007-01-22 Miguel de Icaza <[email protected]>
  62. * SettingsBase.cs: Removed a NotImplementedException, it provides
  63. a default Save implementation.
  64. 2007-01-14 Vladimir Krasnov <[email protected]>
  65. * SettingsPropertyValue.cs: fixed IsDirty Property
  66. 2007-01-08 Vladimir Krasnov <[email protected]>
  67. * SettingsPropertyValue.cs: fixed PropertyValue, default value of
  68. SettingsProperty should be desirialized or created
  69. 2007-01-03 Tor Lillqvist <[email protected]>
  70. * ConfigurationSettings.cs: First try loading a bundled
  71. machine.config file, then try loading one from the file
  72. system. From #80305.
  73. 2006-12-31 Vladimir Krasnov <[email protected]>
  74. * SettingsPropertyValue.cs: fixed PropertyValue property, added
  75. default value convertation to property type
  76. 2006-12-12 Vladimir Krasnov <[email protected]>
  77. * SettingsBase.cs: implemented Item property
  78. 2006-11-09 Sebastien Pouliot <[email protected]>
  79. * ApplicationSettingsBase.cs: Add special case when dealing with
  80. StringCollection in the Properties property.
  81. 2006-11-05 Vladimir Krasnov <[email protected]>
  82. * SettingsPropertyValue.cs: fixed PropertyValue property when it
  83. should be deserialized.
  84. 2006-10-13 Atsushi Enomoto <[email protected]>
  85. * ConfigurationSettings.cs :
  86. Handle <section> inside <section> as expected.
  87. Fixed some ReadSections() consumers that it does _not_ consume
  88. the surrounding EndElement. For now all issues I found are gone.
  89. 2006-10-13 Atsushi Enomoto <[email protected]>
  90. * ConfigurationSettings.cs : another MoveToNextElement() elimination.
  91. When there is another section group after "system.drawing"
  92. section in the existing machine.config, it borked as if there were
  93. no "system.diagnostics" section.
  94. It is still buggy; prepended sectionGroup still causes the above.
  95. 2006-10-13 Atsushi Enomoto <[email protected]>
  96. * ConfigurationSettings.cs : when there is no content in
  97. sectionGroup, all the following contents were incorrectly read
  98. as the empty group's subsection.
  99. 2006-09-28 Andrew Skiba <[email protected]>
  100. * ConfigurationSettings.cs: add support for requirePermission
  101. attribute.
  102. 2006-09-28 Andrew Skiba <[email protected]>
  103. * ConfigurationSettings.cs: TARGET_JVM
  104. 2006-08-23 Konstantin Triger <[email protected]>
  105. * ConfigurationSettings.cs: remove CONFIGURATION_2_0 #if since NET_2_0
  106. implies it.
  107. 2006-07-31 Sebastien Pouliot <[email protected]>
  108. * ConfigurationSettings.cs: Assert FileIOPermission when loading a
  109. configuration file.
  110. * ConfigXmlDocument.cs: Add an imperative demand for PathDiscovery on
  111. all (many classes) Filename properties. Ensure we're not using the
  112. property (but the member) inside the class itself.
  113. 2006-06-29 Atsushi Enomoto <[email protected]>
  114. * ApplicationSettingsBase.cs : When we use default value, convert it
  115. to proper type. Fixed bug #78654. Patch by Gareth Pearce.
  116. 2006-05-30 Gert Driesen <[email protected]>
  117. * ConfigurationException.cs: BareMessage, Filename and Line properties
  118. are only virtual on 2.0 profile.
  119. * ConfigurationSettings.cs: Marked GetConfig (string) obsolete on
  120. 2.0 profile.
  121. 2006-05-17 Atsushi Enomoto <[email protected]>
  122. * SettingsPropertyCollection.cs : implemented some synchronization
  123. releated members. Actually it can never be synchronized by itself.
  124. * SettingsBase.cs : Synchronized() just returns the same instance,
  125. marking it as IsSynchronized = true. Fixed bug #78430.
  126. 2006-05-12 Atsushi Enomoto <[email protected]>
  127. * ConfigurationSettings.cs : another System.Orgy insanity.
  128. 2006-05-12 Atsushi Enomoto <[email protected]>
  129. * ConfigurationSettings.cs : ok, now I correctly understand the
  130. problem. Since appSettings section handlers are different between
  131. 1.x and 2.0 AppSettings property implementation should also be
  132. different. It should really fix bug #78372.
  133. 2006-05-10 Atsushi Enomoto <[email protected]>
  134. * ConfigurationSettings.cs : use ConfigurationManager.GetConfig()
  135. in its GetConfig(). No need to change AppSettings and
  136. Default.GetConfig() behavior here.
  137. 2006-05-05 Chris Toshok <[email protected]>
  138. * LocalFileSettingsProvider.cs (IsUserSetting): more
  139. CONFIGURATION_DEP crap.
  140. 2006-05-05 Chris Toshok <[email protected]>
  141. * ApplicationSettingsBase.cs (CacheValuesByProvider): emit
  142. SettingsLoaded after we load the property values.
  143. (set_Item[string]): fill in settingClass in the
  144. SettingChangingEventArgs properly.
  145. (get_Properties): don't depend on setting_attrs[0] being either
  146. UserScoped- or ApplicationScopedSettingAttribute. Also, call
  147. Initialize on any providers we create here.
  148. * LocalFileSettingsProvider.cs (GetPropertyValues): add a naive
  149. implementation, leave a MonoTODO.
  150. (Initialize): fill in name properly, and deal with null values.
  151. 2006-04-28 Atsushi Enomoto <[email protected]>
  152. * NoSettingsVersionUpgradeAttribute.cs
  153. SettingsDescriptionAttribute.cs
  154. SettingsGroupDescriptionAttribute.cs
  155. SettingsGroupNameAttribute.cs
  156. SettingsManageability.cs
  157. SettingsManageabilityAttribute.cs
  158. SpecialSetting.cs
  159. SpecialSettingAttribute.cs : new files.
  160. * ConfigurationException.cs
  161. SettingsPropertyCollection.cs : minor API compat fixes.
  162. 2006-04-27 Atsushi Enomoto <[email protected]>
  163. * SettingElement.cs : more circular dependency fix.
  164. 2006-04-27 Atsushi Enomoto <[email protected]>
  165. * SettingValueElement.cs,
  166. SettingElement.cs : circular dependency hell fix.
  167. 2006-04-27 Atsushi Enomoto <[email protected]>
  168. * ClientSettingsSection.cs : new (implemented) file.
  169. * SettingValueElement.cs : implemented.
  170. SettingElement.cs : implemented.
  171. SettingElementCollection.cs : implemented except for Add(),
  172. Clear(), Get() and Remove().
  173. A test will be soon added as part of bug #77957 test with
  174. DefaultCollection support in sys.configuration.
  175. 2006-04-26 Atsushi Enomoto <[email protected]>
  176. * ApplicationSettingsGroup.cs : added missing type. This is part of
  177. fix for bug #77957.
  178. 2006-03-11 Miguel de Icaza <[email protected]>
  179. * ConfigurationSettings.cs (ChangeConfigurationSettings): Make
  180. internal to avoid warnings. This routine is called from
  181. System.Web with MethodInfo.Invoke.
  182. 2006-02-01 Atsushi Enomoto <[email protected]>
  183. * SettingElementCollection.cs : CollectionType is protected.
  184. 2006-01-16 Chris Toshok <[email protected]>
  185. * ConfigurationSettings.cs (AppSettings): move back to a 1.x
  186. strategy in the 2.0 case. That is, don't hardcode the reference
  187. to ConfigurationManager.AppSettings (yet). Eventually we can move
  188. back to this code, once ConfigurationManager supports reading
  189. web.config for settings.
  190. 2006-01-03 Chris Toshok <[email protected]>
  191. * ConfigurationSettings.cs (GetConfig): be nice to people using
  192. old 1.x style section handlers with the new 2.0 config stuff. If
  193. we're about to return null or IgnoreSection, try to load it using
  194. the 1.x api. If that works, return that object.
  195. 2006-01-02 Chris Toshok <[email protected]>
  196. * LocalFileSettingsProvider.cs: use the PrebuiltSystem extern
  197. alias to make sure we use the right type for NameValueCollection.
  198. (Initialize): enable (under the CONFIGURATION_2_0 ifdef).
  199. * ConfigurationSettings.cs: use the PrebuiltSystem extern alias to
  200. make sure we use the right type for NameValueCollection.
  201. (AppSettings): provide an implementation for the NET_2_0 &&
  202. CONFIGURATION_2_0 case.
  203. (GetConfig): same.
  204. (ReadSectionGroup): allow a type attribute in the NET_2_0 &&
  205. CONFIGURATION_2_0 case.
  206. * AppSettingsReader.cs: use the PrebuiltSystem extern alias to
  207. make sure we use the right type for NameValueCollection.
  208. 2005-11-28 Chris Toshok <[email protected]>
  209. * SettingValueElement.cs: wrap a few more things in
  210. CONFIGURATION_DEP.
  211. 2005-11-09 Chris Toshok <[email protected]>
  212. * ConfigurationSettings.cs (AppSettings): remove the #if NET_2_0
  213. block breaks this.
  214. (ReadSectionGroup): allow the "type" atrribute so we don't break
  215. when reading a 2.0 config file using the 1.0 stuff.
  216. 2005-11-04 Chris Toshok <[email protected]>
  217. * SettingsProvider.cs, SettingsPropertyValueCollection.cs,
  218. SettingValueElement.cs, SettingElement.cs,
  219. SettingsPropertyValue.cs, ApplicationSettingsBase.cs,
  220. SettingsPropertyCollection.cs, SettingsProviderCollection.cs,
  221. SettingElementCollection.cs: Add XML_DEPS and CONFIGURATION_DEPS
  222. to get this to bootstrap compile. What a pain.
  223. 2005-11-04 Chris Toshok <[email protected]>
  224. * ApplicationSettingsBase.cs: remove unnecessary using.
  225. * SettingValueElement.cs: add XML_DEP's.
  226. 2005-11-03 Chris Toshok <[email protected]>
  227. * ConfigurationSettings.cs: add ObsoleteAttribute's.
  228. * ConfigurationException.cs: add ObsoleteAttribute's.
  229. * IConfigurationSystem.cs: add ComVisibleAttribute.
  230. * ApplicationSettingsBase.cs: new stubs, with a broken/naive
  231. implementation.
  232. * SettingElementCollection.cs, IPersistComponentSettings.cs,
  233. SettingElement.cs, LocalFileSettingsProvider.cs,
  234. SettingValueElement.cs: new stubs.
  235. * SettingAttribute.cs: fix typo.
  236. 2005-09-22 Chris Toshok <[email protected]>
  237. * SettingsPropertyWrongTypeException.cs: new exception.
  238. 2005-09-20 Chris Toshok <[email protected]>
  239. * SettingsPropertyValue.cs
  240. (SettingsPropertyValue.set_PropertyValue): set needPropertyValue =
  241. false here so we don't pull in the default value in the getter.
  242. * SettingsProviderCollection.cs: new implementation.
  243. * SettingsPropertyValueCollection.cs
  244. (SettingsPropertyValueCollection..ctor): init items.
  245. (Add): add an internal method that takes a
  246. SettingsPropertyValueCollection.
  247. 2005-09-20 Chris Toshok <[email protected]>
  248. * SettingsSavingEventHandler.cs: new delegate.
  249. * SettingChangingEvent{Handler,Args}.cs: new delegate and args
  250. * SettingsLoaded{Handler,Args}.cs: new delegate and args
  251. * SettingsProviderAttribute.cs, SettingSerializeAsAttribute.cs,
  252. UserScopedSettingAttribute.cs, DefaultSettingValueAttribute.cs,
  253. ApplicationScopedSettingAttribute.cs, SettingAttribute: new
  254. attributes.
  255. 2005-09-20 Chris Toshok <[email protected]>
  256. * SettingChangingEventArgs.cs: new implementation.
  257. * SettingsPropertyIsReadOnlyException.cs: new exception.
  258. * SettingsPropertyNotFoundException.cs: new exception.
  259. * ISettingsProviderService.cs: new interface.
  260. * IApplicationSettingsProvider.cs: new interface.
  261. * SettingsPropertyValueCollection.cs: new implementation.
  262. * SettingsPropertyCollection.cs: new implementation.
  263. * SettingsBase.cs: implement the obvious bits (getters,
  264. basically).
  265. * SettingsPropertyValue.cs: make this work for the tests.
  266. Disgusting class here. dis-gus-ting.
  267. 2005-09-19 Chris Toshok <[email protected]>
  268. * System.Configuration/SettingsProvider.cs,
  269. System.Configuration/SettingsPropertyValueCollection.cs,
  270. System.Configuration/SettingsPropertyCollection.cs,
  271. System.Configuration/SettingsProviderCollection.cs,
  272. System.Configuration/SettingsBase.cs,
  273. System.Configuration/SettingsSerializeAs.cs,
  274. System.Configuration/SettingsPropertyValue.cs,
  275. System.Configuration/SettingsProperty.cs,
  276. System.Configuration/SettingsContext.cs,
  277. System.Configuration/SettingsAttributeDictionary.cs: new files.
  278. 2005-07-05 Raja R Harinath <[email protected]>
  279. * ConfigurationSettings.cs (ConnectionStrings): Change XML_DEP
  280. guard to CONFIGURATION_DEP.
  281. 2005-06-15 Lluis Sanchez Gual <[email protected]>
  282. * ProviderBase.cs: Moved here from System.Configuration.dll.
  283. 2005-06-14 Lluis Sanchez Gual <[email protected]>
  284. * AppSettingsSection.cs, ConfigInfo.cs, Configuration.cs
  285. ConfigurationAllowDefinition.cs, ConfigurationElement.cs
  286. ConfigurationElementCollection.cs, ConfigurationElementCollectionType.cs
  287. ConfigurationLocation.cs, ConfigurationLocationCollection.cs
  288. ConfigurationProperty.cs, ConfigurationPropertyAttribute.cs
  289. ConfigurationPropertyCollection.cs, ConfigurationPropertyFlags.cs
  290. ConfigurationSection.cs, ConfigurationSectionCollection.cs
  291. ConfigurationSectionGroup.cs, ConfigurationSectionGroupCollection.cs
  292. ConfigurationUpdateMode.cs, ConfigurationUserLevel.cs
  293. ConfigurationValidationAttribute.cs, ConnectionStringsSection.cs
  294. ConnectionStringSettingsCollection.cs, ConnectionStringSettings.cs
  295. IntegerConfigurationProperty.cs, NonEmptyStringConfigurationProperty.cs
  296. NonEmptyStringFlags.cs, PathLevel.cs, ProtectedConfigurationProvider.cs
  297. ProviderBase.cs, ProviderSettings.cs, ProviderSettingsCollection.cs
  298. RuntimeOnlySection.cs, SectionInfo.cs, SectionGroupInfo.cs
  299. TimeSpanConfigurationProperty.cs, TimeSpanPropertyFlags.cs
  300. TimeSpanSerializedFormat.cs:
  301. Moved to the new System.Configuration assembly.
  302. 2005-03-23 Jackson Harper <[email protected]>
  303. * ApplicationSettingsBase.cs: We need this stub to do some 2.0
  304. winforms stuff.
  305. 2005-03-16 Gonzalo Paniagua Javier <[email protected]>
  306. * Configuration.cs: a few MonoTODOs less.
  307. 2005-03-02 Sureshkumar T <[email protected]>
  308. * ConfigurationSettings.cs: Implemented ConnectionStrings
  309. property.
  310. 2005-02-22 Sureshkumar T <[email protected]>
  311. * ConnectionStringsSection.cs: Implemented all methods.
  312. New Files Added:
  313. * ConnectionStringSettings.cs: Configuration object for a
  314. connection string element.
  315. * ConnectionStringSettingsCollection.cs: Collection of
  316. ConnectionStringSettings objects.
  317. 2005-02-16 Gonzalo Paniagua Javier <[email protected]>
  318. * Configuration.cs: (.ctor) don't fail if the file to load does not
  319. exist.
  320. (GetExeConfiguration): use caller assembly location if the path is null
  321. and check that the exe file exists.
  322. Removed if XML_DEP, as there's one at the top of the file.
  323. 2004-11-18 Geoff Norton <[email protected]>
  324. * ProviderSettingsCollection.cs: Add XML_DEP because this inherits
  325. ConfigurationElementCollection which has XML_DEP. Fixes bootstrap
  326. 2004-11-18 Lluis Sanchez Gual <[email protected]>
  327. * ProviderSettings.cs, ProviderSettingsCollection.cs: Mostly implemented.
  328. * Configuration.cs: Implemented GetSection() and GetSectionGroup().
  329. * AppSettingsSection.cs: Better null check in Reset().
  330. 2004-11-15 Lluis Sanchez Gual <[email protected]>
  331. * TimeSpanConfigurationProperty.cs, TimeSpanPropertyFlags.cs,
  332. TimeSpanSerializedFormat.cs: Implemented.
  333. 2004-11-09 Duncan Mak <[email protected]>
  334. * NonEmptyStringConfigurationProperty.cs: Add XML_DEP, this should
  335. fix the build.
  336. 2004-11-09 Lluis Sanchez Gual <[email protected]>
  337. * ConfigurationElement.cs: Implemented Equals and GetHashCode.
  338. Only reflect properties from type's members if the type does not
  339. override Properties.
  340. * ConfigurationElementCollection.cs: Implemented Equals and GetHashCode.
  341. Other minor fixes.
  342. * ConfigurationProperty.cs: It is not a subclass of ConfigurationElement.
  343. * NonEmptyStringConfigurationProperty.cs, NonEmptyStringFlags.cs:
  344. Implemented.
  345. 2004-11-09 Lluis Sanchez Gual <[email protected]>
  346. * AppSettingsSection.cs: Mostly implemented (missing support for
  347. file attribute).
  348. * ConfigHelper.cs: GetNameValueCollection now returns a
  349. ConfigNameValueCollection instance which is a NameValueCollection with a
  350. modification flag.
  351. * ConfigInfo.cs: Added XPath property.
  352. * Configuration.cs: Implemented AppSettings property. Set the Path property
  353. of sections and groups.
  354. * ConfigurationElement.cs: Support key serialization. Properly reset
  355. nested elements.
  356. * ConfigurationElementCollection.cs: Initial implementation.
  357. * ConfigurationSection.cs: Impemented Path and GetRuntimeObject.
  358. * ConfigurationSectionGroup.cs: Implemented Path.
  359. * SectionGroupInfo.cs: Little fix.
  360. 2004-11-05 Lluis Sanchez Gual <[email protected]>
  361. * Configuration.cs: Minor fixes.
  362. * ConfigurationElement.cs: Added support for the different update modes.
  363. * SectionGroupInfo.cs: Support loading the same configuration section
  364. from different files.
  365. * SectionInfo.cs: Properly write back configuration data for which a
  366. section object has not been created.
  367. 2004-11-04 Lluis Sanchez Gual <[email protected]>
  368. * AppSettingsSection.cs, ConfigurationPropertyCollection.cs,
  369. ConfigurationValidationAttribute.cs, ConnectionStringsSection.cs,
  370. ProtectedConfigurationProvider.cs, ProviderBase.cs
  371. RuntimeOnlySection.cs: Fixed formatting and added missing TODOs.
  372. 2004-11-04 Lluis Sanchez Gual <[email protected]>
  373. * Configuration.cs, ConfigurationElement.cs, ConfigurationLocation.cs,
  374. ConfigurationLocationCollection.cs, ConfigurationProperty.cs,
  375. ConfigurationPropertyAttribute.cs, ConfigurationSection.cs,
  376. ConfigurationSectionCollection.cs, ConfigurationSectionGroup.cs,
  377. ConfigurationSectionGroupCollection.cs,IntegerConfigurationProperty.cs,
  378. RuntimeOnlySection.cs: Initial implementation.
  379. * ConfigurationAllowDefinition.cs: Removed XML_DEP ifdef
  380. * ConfigurationException.cs: format fix.
  381. * ConfigInfo.cs, SectionInfo.cs, SectionGroupInfo.cs: New support
  382. classes.
  383. 2004-09-10 Tim Coleman <[email protected]>
  384. * ConfigurationElementCollection.cs ConfigurationElementCollectionType.cs:
  385. New Fx 2.0 stubs
  386. * ConfigurationElement.cs:
  387. Fix function declaration
  388. 2004-08-16 Duncan Mak <[email protected]>
  389. * ConfigurationElement.cs (InitializeDefault): Made virtual.
  390. * AppSettingsSection.cs:
  391. * Configuration.cs:
  392. * ConfigurationLocation.cs:
  393. * ConfigurationLocationCollection.cs:
  394. * ConfigurationSection.cs:
  395. * ConfigurationSectionCollection.cs:
  396. * ConfigurationSectionGroup.cs:
  397. * ConfigurationSectionGroupCollection.cs:
  398. * ConnectionStringsSection.cs: Added stubs and bits of implementation.
  399. Other than ConfigurationElementCollection and
  400. ConnectionStringsSectionCollection, we now have the basic skeleton
  401. for implementing the configuration system in the
  402. System.Configuration namespace.
  403. 2004-08-11 Duncan Mak <[email protected]>
  404. * ProtectedConfigurationProvider.cs: Use XML_DEP.
  405. 2004-08-11 Duncan Mak <[email protected]>
  406. * ProtectedConfigurationProvider.cs:
  407. * ProviderBase.cs: Implemented.
  408. * ConfigurationPropertyAttribute.cs: Implemented attribute.
  409. * ConfigurationAllowDefinition.cs:
  410. * ConfigurationUserLevel.cs:
  411. * PathLevel.cs: Added enumerations.
  412. 2004-08-07 Atsushi Enomoto <[email protected]>
  413. * ConfigurationElement.cs,
  414. ConfigurationProperty.cs,
  415. ConfigurationPropertyCollection.cs,
  416. ConfigurationValidationAttribute.cs : use XML_DEP.
  417. 2004-08-06 Duncan Mak <[email protected]>
  418. * ConfigurationElement.cs: Added stubs.
  419. * ConfigurationProperty.cs:
  420. * ConfigurationPropertyCollection.cs:
  421. * ConfigurationValidationAttribute.cs: Added.
  422. * ConfigurationPropertyFlags.cs:
  423. * ConfigurationUpdateMode.cs: Added 2.0 enumerations.
  424. 2004-06-15 Gonzalo Paniagua Javier <[email protected]>
  425. * ConfigurationSettings.cs: allow empty <configSections>.
  426. 2004-05-17 Gonzalo Paniagua Javier <[email protected]>
  427. * ConfigurationSettings.cs: don't ask me why, but the .cctor
  428. initialization of 'instance' field does no longer work.
  429. 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
  430. * ConfigXmlDocument.cs: removed method that was supposed to be internal.
  431. * ConfigurationSettings.cs: instead of calling the overload that doesn't
  432. exist in MS, use what we have when loading an external file.
  433. 2004-04-20 Gonzalo Paniagua Javier <[email protected]>
  434. * ConfigXmlDocument.cs: fixed overloaded Load and added a new one that
  435. sets the file name.
  436. * ConfigurationSettings.cs: use the new Load in ConfigXmlDocument when
  437. loading sections.
  438. * NameValueFileSectionHandler.cs: don't fails if the path for the 'file'
  439. attribute doesn't have a directory.
  440. Closes bug #57244.
  441. 2004-03-19 Gonzalo Paniagua Javier <[email protected]>
  442. * ConfigurationSettings.cs: removed FileWatcherCache. See bug #53445.
  443. 2003-12-03 Gonzalo Paniagua Javier <[email protected]>
  444. * ConfigurationSettings.cs: initialize config in
  445. ChangeConfigurationSettings if it has not been done yet. Patch by
  446. George Kodinov [email protected]). Fixes bug #51643.
  447. 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
  448. * ConfigurationSettings.cs: handle allowdefinition and allowlocation,
  449. added locks, don't reopen the file for every new section to be read,
  450. but keep them as strings and build the section handlers with that.
  451. Also allow changing the configuration system (used from System.Web).
  452. 2003-11-17 Ben Maurer <[email protected]>
  453. * ConfigurationSettings.cs: make the *Mark objects static
  454. because they need to be comparable across instances.
  455. (ReadSectionGroup): You can add an element to a group declared
  456. in the parent config files (MS.net's QuickStarts do this).
  457. 2003-11-06 Gonzalo Paniagua Javier <[email protected]>
  458. * ConfigurationSettings.cs: don't handle null or non-existent file in
  459. the catch blocks.
  460. 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
  461. * ConfigurationSettings.cs: really make the cache work.
  462. 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
  463. * ConfigurationSettings.cs: pass the file name we're reading as the
  464. context.
  465. 2003-10-03 Gonzalo Paniagua Javier <[email protected]>
  466. * ConfigurationSettings.cs: patch by Eric Lindvall ([email protected])
  467. that improves performance by not reading the file more than once.
  468. 2003-07-15 Andreas Nahr <[email protected]>
  469. * ConfigurationSettings.cs: Removed unused exception variable, fixes
  470. compiler warning
  471. 2003-06-16 Lluis Sanchez Gual <[email protected]>
  472. * ConfigurationSettings.cs: Avoid chicken-egg problem when reading
  473. machine.config. Cannot use an uri to read mechine.config because web
  474. request module handelrs are defined in machine.config.
  475. 2003-03-02 Gonzalo Paniagua Javier <[email protected]>
  476. * AppSettingsReader.cs: fixed bug #38755.
  477. 2002-12-19 Gonzalo Paniagua Javier <[email protected]>
  478. * ConfigXmlDocument.cs: don't jump over the first element.
  479. * ConfigurationSettings.cs: pass doc.DocumentElement instead of doc.
  480. This used to work until i tried to access one attribute of the first
  481. element and realized that the element was not the expected!
  482. This change does not affect the configuration handlers that only use
  483. ChildNodes property on the XmlNode they get as argument.
  484. 2002-12-15 Gonzalo Paniagua Javier <[email protected]>
  485. * ConfigurationSettings.cs: removed type loading hack no longer needed.
  486. 2002-12-14 Jonathan Pryor <[email protected]>
  487. * ConfigurationSettings.cs: Allow configuration sections to be removed.
  488. 2002-11-04 Gonzalo Paniagua Javier <[email protected]>
  489. * ConfigurationSettings.cs: use AppDomainSetup to get the configuration
  490. file name for the AppDomain.
  491. 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
  492. * ConfigHelper.cs: NameValueCollection.Add is now fixed.
  493. 2002-10-14 Martin Baulig <[email protected]>
  494. * ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath):
  495. Append ".config" to the filename, not ".exe.config" since the
  496. filename already has a ".exe" suffix.
  497. 2002-10-14 Martin Baulig <[email protected]>
  498. * ConfigurationSettings.cs (DefaultConfig.GetAppConfigPath): Use
  499. Assembly.Location, not Assembly.FullName to get its filename.
  500. 2002-10-10 Gonzalo Paniagua Javier <[email protected]>
  501. * ConfigHelper.cs: workaround for a bug in NameValueCollection.
  502. * ConfigurationSettings.cs: load sections when the parent holds a
  503. handler for it. Now overriding appSettings values in the app config
  504. file works (first <remove..> and then <add...).
  505. 2002-10-09 Gonzalo Paniagua Javier <[email protected]>
  506. * ConfigHelper.cs:
  507. * NameValueFileSectionHandler.cs: check that Attributes is not null.
  508. 2002-10-09 Miguel de Icaza <[email protected]>
  509. * NameValueFileSectionHandler.cs: For now if a section is not
  510. present, return null. Do not know what the real fix is. Gonzalo
  511. will have to look at this, but the debugger was crashing as
  512. appSettings in the machine.config does not exist, but GetConfig
  513. returns a non-null value when looking it up when you do a
  514. GetDocumentForSection ("appSettings").
  515. 2002-10-09 Gonzalo Paniagua Javier <[email protected]>
  516. * ConfigurationSettings.cs: use get_machine_config_path internal call.
  517. 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
  518. * ConfigXmlDocument.cs: move the reader for the section to the first
  519. element.
  520. * ConfigurationSettings.cs: fixed hierarchical search for a handler.
  521. 2002-10-06 Gonzalo Paniagua Javier <[email protected]>
  522. * ConfigurationSettings.cs: reimplemented. It is now able to deliver
  523. sections to their handlers for processing.
  524. 2002-10-03 Gonzalo Paniagua Javier <[email protected]>
  525. * ConfigHelper.cs: New file. Contains some
  526. helper functions for getting key-value collections from the config file.
  527. * ConfigXmlDocument.cs: wrapper around xml elements to provide line
  528. number and file name info.
  529. * IConfigXmlNode.cs: used in ConfigXmlDocument and
  530. ConfigurationException.
  531. * ConfigurationException.cs: get file name and line
  532. number from the wrapped XmlNode. Display this info in Message.
  533. * NameValueFileSectionHandler.cs: new handler.
  534. * DictionarySectionHandler.cs:
  535. * NameValueSectionHandler.cs: modified to use the helper methods in
  536. ConfigHelper.
  537. 2002-10-02 Gonzalo Paniagua Javier <[email protected]>
  538. * AppSettingsReader.cs: New file.
  539. * IConfigurationSystem.cs: New file.
  540. * IgnoreSectionHandler.cs:
  541. * NameValueSectionHandler.cs:
  542. * SingleTagSectionHandler.cs: little fixes.
  543. 2002-09-03 Martin Baulig <[email protected]>
  544. * ConfigurationSettings.cs (ConfigurationSettings.GetConfig): Use the
  545. correct configuration filename, fixed the TODO.
  546. (GetSectionHanderType): Renamed to GetSectionHandlerType.
  547. * NameValueSectionHandler.cs (NameValueSectionHandler.Create): Allow
  548. whitespaces in the configuration file.
  549. 2002-01-31 Duncan Mak <[email protected]>
  550. * ConfigurationException.cs: Rewrote most of the file and added
  551. serialization bits.
  552. 2002-01-06 Ravi Pratap <[email protected]>
  553. * ConfigurationSettings.cs, IgnoreSectionHandler.cs : MonoTODO decoration
  554. * SingleTagSectionHandler.cs, DictionarySectionHandler.cs,
  555. NameValueSectionHandler.cs : Ditto.
  556. 2001-08-28 Christopher Podurgiel <[email protected]>
  557. * IConfigurationSectionHandler.cs: Added reference to System.Xml.
  558. * SingleTagSectionHandler.cs: Added Implementation of Create() method.
  559. * NameValueSectionHandler.cs: Added Implementation of Create() method.
  560. * ConfigurationException.cs: Now returns proper message rather than "System Exception".
  561. 2001-08-26 Christopher Podurgiel <[email protected]>
  562. * ConfigurationSettings.cs: No longer references the
  563. NameValueSectionHandler directly. Instead it uses
  564. System.Reflection to call the Create() method for the appropriate
  565. SectionHandler as defined in the .config file.