ChangeLog 28 KB

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