ChangeLog 30 KB

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