ChangeLog 35 KB

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