ChangeLog 29 KB

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