ChangeLog 32 KB

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