ChangeLog 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587
  1. 2005-12-04 Chris Toshok <[email protected]>
  2. * UrlMapping.cs: add an internal argument-less ctor.
  3. * UrlMappingCollection.cs (CreateNewElement): use argument-less
  4. ctor.
  5. (GetKey): implement.
  6. (AllKeys): implement.
  7. * TrustLevel.cs: add an internal argument-less ctor.
  8. * TrustLevelCollection.cs (Set): implement.
  9. (CreateNewElement): use argument-less ctor.
  10. (IsElementName): implement.
  11. (ElementName): implement.
  12. (set_Item (int index)): use Set.
  13. (ThrowOnDuplicate): implement.
  14. * TagPrefixInfo.cs: add internal argument-less ctor.
  15. * TagPrefixCollection.cs (CreateNewElement): call argument-less
  16. ctor.
  17. (CollectionType): add text to TODO.
  18. (ElementName): implement.
  19. * SqlCacheDependencyDatabaseCollection.cs (Set): implement.
  20. (AllKeys): implement.
  21. * RuleSettings.cs: add internal argument-less ctor.
  22. * RuleSettingsCollection.cs (Contains): implement.
  23. (CreateNewElement): use argument-less ctor.
  24. (IndexOf): implement.
  25. (Insert): implement.
  26. * RootProfilePropertySettingsCollection.cs (IsModified): chain up
  27. to base.IsModified for now.
  28. (Reset): chain up to base.Reset for now.
  29. (ResetModified): chain up to base.ResetModified for now.
  30. * ProfileSettings.cs: add internal argument-less ctor.
  31. * ProfileSettingsCollection.cs (Contains): implement.
  32. (CreateNewElement): use argument-less ctor.
  33. (IndexOf): implement.
  34. (Insert): implement.
  35. * ProfilePropertySettingsCollection.cs (IndexOf): implement.
  36. (Set): implement.
  37. (AllKeys): implement.
  38. * ProfileGroupSettings.cs: add internal argument-less ctor.
  39. * ProfileGroupSettingsCollection.cs (CreateNewElement): use
  40. parameter-less ctor.
  41. (GetKey): implement.
  42. (ResetModified): for now call base.ResetModified.
  43. (Set): implement.
  44. (AllKeys): implement.
  45. * OutputCacheProfile.cs: add internal argument-less ctor.
  46. * OutputCacheProfileCollection.cs (CreateNewElement): use
  47. parameter-less ctor.
  48. (Set): implement.
  49. (AllKeys): implement.
  50. * HttpModuleActionCollection.cs (Add): remove MonoTODO.
  51. (CreateNewElement): same.
  52. * HttpHandlerActionCollection.cs (GetElementKey): build up the key
  53. from both the path and the verb.
  54. (Remove): same.
  55. * FormsAuthenticationUserCollection.cs (Set): implement.
  56. (AllKeys): implement.
  57. * EventMappingSettings.cs: add an internal argument-less ctor.
  58. * EventMappingSettingsCollection.cs (Contains): implement.
  59. (CreateNewElement): use argument-less ctor.
  60. (IndexOf): implement.
  61. (Insert): implement.
  62. * CompilerCollection.cs (GetKey): implement.
  63. (AllKeys): implement.
  64. * ClientTargetCollection.cs (GetKey): implement.
  65. (AllKeys): implement.
  66. * AuthorizationRuleCollection.cs (Set): implement.
  67. (ElementName): add some text to the MonoTODO.
  68. (set_Item (int index)): use Set.
  69. 2005-12-04 Chris Toshok <[email protected]>
  70. * CustomError.cs: add an internal argument-less ctor for use by
  71. the collection.
  72. * CustomErrorCollection.cs: implement all the MonoTODO's.
  73. 2005-12-02 Chris Toshok <[email protected]>
  74. * GlobalizationSection.cs (VerifyData): split out the stuff that
  75. used to live in PreSerialize here.
  76. (PreSerialize): call VerifyData here.
  77. (PostDeserialize): and here.
  78. 2005-12-01 Chris Toshok <[email protected]>
  79. * GlobalizationSection.cs (PreSerialize): add checks for Culture
  80. and UICulture properties.
  81. 2005-12-01 Chris Toshok <[email protected]>
  82. * AuthorizationRule.cs (..ctor): provide default values for
  83. roles/users/verbs here. Not sure if we should do this in the ctor
  84. or if the System.Configuration infrastructure should.. time will
  85. tell.
  86. (PreSerialize): throw if Roles.Count and Users.Count == 0.
  87. (SerializeElement): write out the element here. don't chain up to
  88. the base class since that has differing behavior than what we
  89. want.
  90. 2005-11-30 Chris Toshok <[email protected]>
  91. * CompilerCollection.cs: ugly hack to fix the
  92. 2.0-without-config-2.0 case. wrap this file in #if
  93. CONFIGURATION_2_0 as well as #if NET_2_0.
  94. * Compiler.cs: same.
  95. 2005-11-28 Chris Toshok <[email protected]>
  96. * SessionStateSection.cs (CookieLess): correct the compat function
  97. implementation.
  98. 2005-11-28 Chris Toshok <[email protected]>
  99. * GlobalizationSection.cs (GetEncoding): if the encoding name is
  100. null, default to utf-8 before we hit the try block, so we don't
  101. throw and generate a spurious warning.
  102. * SessionStateSection.cs: The Cookieless handling needs a custom
  103. parser, it appears, as the converter is a StringConverter, not a
  104. GenericEnumConverter.
  105. (ParseCookieMode): the parser.
  106. 2005-11-28 Chris Toshok <[email protected]>
  107. * PagesSection.cs (GetInstance): nuke.
  108. * CompilationSection.cs (GetInstance): nuke.
  109. 2005-11-28 Chris Toshok <[email protected]>
  110. * HttpHandlerAction.cs: add some c&p code from the 1.1 config
  111. stuff to look for matching handlers.
  112. (..ctor): add parameterless ctor.
  113. * HttpHandlerActionCollection.cs: clean up formatting.
  114. (CreateNewElement): call the parameter-less ctor for
  115. HttpHandlerAction.
  116. * HttpHandlersSection.cs (..ctor): add a ConfigurationProperty for
  117. the default collection.
  118. (get_Handlers): implement.
  119. (LocateHandler): copy over (and massage) some 1.1 config code.
  120. * MachineKeySection.cs: move some code over from the 1.1 config
  121. code to deal with autogeneration of keys, as well as converting
  122. from the string rep to the byte[] rep.
  123. 2005-11-28 Chris Toshok <[email protected]>
  124. * HttpModuleActionCollection.cs (CreateNewElement): use the new
  125. HttpModuleAction ctor.
  126. * HttpModuleAction.cs: add internal ctor with no parameters, for
  127. use in HttpModuleActionCollection.
  128. 2005-11-28 Chris Toshok <[email protected]>
  129. * GlobalizationSection.cs (..cctor): the encoding
  130. ConfigurationProperties are of type "string", even though the
  131. properties themselves are of type Encoding. we do conversions
  132. manually in the setter/getters. gross. Add code (mostly c&p +
  133. massaged from GlobalizationConfigurationHandler) for this and also
  134. to handle the culture gettes.
  135. 2005-11-26 Chris Toshok <[email protected]>
  136. * AuthorizationRuleCollection.cs (GetElementKey): implement this.
  137. * ProfilePropertyNameValidator.cs: make this internal, and add a
  138. blurb about how MS doesn't do the testing you'd expect them to.
  139. 2005-11-25 Chris Toshok <[email protected]>
  140. * AuthorizationRuleCollection.cs (CreateNewElement): remove
  141. MonoTODO.
  142. * CompilationSection.cs (GetRuntimeObject): add comment to TODO.
  143. * ProfileGroupSettings.cs: reformat some things.
  144. * FormsAuthenticationUser.cs (Name): remove MonoTODO.
  145. * WebPartsSection.cs (GetRuntimeObject): change TODO comment.
  146. * ProfilePropertySettings.cs: add internal argument-less ctor.
  147. * IdentitySection.cs (GetRuntimeObject): return this.
  148. * ProfilePropertySettingsCollection.cs: implement much of the
  149. TODO's.
  150. * WebControlsSection.cs (GetRuntimeObject): implement.
  151. * SqlCacheDependencyDatabaseCollection.cs (GetElementKey):
  152. implement.
  153. (GetKey): implement.
  154. 2005-11-24 Chris Toshok <[email protected]>
  155. * AssemblyInfo.cs: move this here from System.Web.Configuration,
  156. and fix up the properties.
  157. * SystemWebSectionGroup.cs: enable most of the sections (2
  158. remaining to be enabled.)
  159. 2005-11-24 Chris Toshok <[email protected]>
  160. * ProcessModelSection.cs, SqlCacheDependencySection.cs,
  161. SessionStateSection.cs, PassportAuthentication.cs,
  162. FormsAuthenticationConfiguration.cs,
  163. SqlCacheDependencyDatabase.cs, HttpModuleAction.cs,
  164. BufferModeSettings.cs, TagPrefixInfo.cs (..cctor): init
  165. elementProperty.
  166. (ValidateElement): new static validator callback.
  167. (ElementProperty): enable this, return elementProperty.
  168. 2005-11-23 Chris Toshok <[email protected]>
  169. * ProfilePropertyNameValidator.cs: new implementation.
  170. * ProfilePropertySettings.cs, ProfileGroupSettings.cs,
  171. ClientTargetSection.cs, ClientTargetSection.cs,
  172. BufferModeSettings.cs, HttpModulesSection.cs,
  173. WebPartsPersonalization.cs, TransformerInfo.cs, TrustLevel.cs,
  174. NamespaceInfo.cs, SqlCacheDependencyDatabase.cs,
  175. AuthenticationSection.cs, RuleSettings.cs,
  176. FormsAuthenticationUser.cs, WebPartsSection.cs, BuildProvider.cs,
  177. WebPartsPersonalizationAuthorization.cs, Compiler.cs,
  178. ExpressionBuilder.cs, OutputCacheProfile.cs,
  179. FormsAuthenticationCredentials.cs, XhtmlConformanceSection.cs,
  180. OutputCacheSettingsSection.cs, CustomError.cs, TraceSection.cs,
  181. ExpressionBuilderCollection.cs, ProfileSettings.cs,
  182. SessionStateSection.cs, HealthMonitoringSection.cs,
  183. FormsAuthenticationConfiguration.cs, HttpRuntimeSection.cs,
  184. SessionPageStateSection.cs, TrustSection.cs,
  185. AnonymousIdentificationSection.cs, WebControlsSection.cs,
  186. ClientTarget.cs, TagMapInfo.cs, AuthorizationSection.cs,
  187. ProcessModelSection.cs, RoleManagerSection.cs,
  188. MembershipSection.cs, CustomErrorsSection.cs (..cctor): fix
  189. validator/converters.
  190. * MachineKeySection.cs (..cctor): fix validators/converters.
  191. (Validation): enable the Converter.
  192. * CodeSubDirectory.cs (..cctor): fix validator/converters.
  193. (DirectoryName): add note about missing validator decoration.
  194. * HttpModuleAction.cs (..cctor): init properties.
  195. (Properties): return properties.
  196. * CompilationSection.cs (..cctor): fix validator/converters.
  197. (GetInstance): add in this pre-2.0 interface for the time being,
  198. hopefully it'll make it easier to migrate later on.
  199. * HttpHandlerActionCollection.cs (..cctor): init properties.
  200. (Properties): return properties.
  201. * PagesSection.cs (..cctor): fix validator/converters.
  202. (GetInstance): add in this pre-2.0 interface for the time being,
  203. hopefully it'll make it easier to migrate later on.
  204. * HttpHandlersSection.cs (..cctor): init properties.
  205. (Properties): return properties.
  206. * EventMappingSettings.cs (..cctor): fix validator/converters.
  207. (Name): add note about missing validator decoration.
  208. * HttpHandlerAction.cs (..cctor): fix validator/converters.
  209. (PAth, Type, Verb): add note about missing validator decoration.
  210. * NamespaceCollection.cs (..cctor): fix properties.
  211. * ProfilePropertySettingsCollection.cs (..cctor): init properties.
  212. (..ctor): don't throw NIE.
  213. (Properties): return properties.
  214. * HttpModuleActionCollection.cs (..cctor): init properties.
  215. (Properties): return properties.
  216. * CacheSection.cs (..cctor): fix validators/converters.
  217. (PrivateBytesPollTime): add note about missing validator
  218. decoration.
  219. * AuthorizationRule.cs (..cctor): fix validators/converters.
  220. (Roles, Users, Verbs): enable the TypeConverter decorations.
  221. * UrlMapping.cs (ValidateUrl): static method for use as a
  222. validation callback. unimplemented as yet.
  223. (..cctor): fix validators/converters.
  224. (MappedUrl): add note about missing validator decoration.
  225. * PropertyHelper.cs: static utility class which contains
  226. references to validators and converters for use in static
  227. constructors (building the Properties arrays).
  228. 2005-11-23 Chris Toshok <[email protected]>
  229. * MachineKeyValidationConverter.cs: new converter (and a pretty
  230. silly one, considering all it seems to do is convert "TripleDES"
  231. to "3DES").
  232. * HostingEnvironmentSection.cs (.cctor): use
  233. PositiveTimeSpanValidator like MS does.
  234. 2005-11-18 Chris Toshok <[email protected]>
  235. * HostingEnvironmentSection.cs (.cctor): add validators.
  236. * CompilationSection.cs (.cctor): fix defaultvalue of
  237. urlLinePragmas.
  238. 2005-11-18 Chris Toshok <[email protected]>
  239. * SystemWebSectionGroup.cs: enable a whole slew of properties.
  240. * RegexWorker.cs: stub this out.
  241. * HttpCapabilitiesBase.cs: remove GetClrVersions since it's in one
  242. of the other partial files.
  243. * CompilationSection.cs: fix this up.
  244. * PagesSection.cs: fix some types and add a comment to
  245. DeserializeSection.
  246. * CompilerCollection.cs (Add): new internal method.
  247. * ProvidersHelper.cs: put the using System.Configuration.Provider
  248. inside the NET_2_0 block.
  249. * CacheSection.cs: add validators.
  250. 2005-11-14 Chris Toshok <[email protected]>
  251. * BufferModeSettings.cs: add validators/converters to the
  252. programmatic property list.
  253. * BuildProvider.cs: add validators/converters to the programmatic
  254. property list, and add an internal ctor with no args.
  255. * Compiler.cs: wrap the code i hacked from the 1.1 stuff with a
  256. #region.
  257. * BuildProviderCollection.cs (CreateNewElement): use the internal
  258. BuildProvider ctor to get around validation.
  259. * AssemblyCollection.cs: same.
  260. 2005-11-14 Chris Toshok <[email protected]>
  261. * TagPrefixCollection.cs (Remove): pass the key to BaseRemove.
  262. (set_Item (int index)): implement.
  263. * TagPrefixInfo.cs (Equals): implement.
  264. (GetHashCode): implement.
  265. * AuthorizationRuleCollection.cs (CreateNewElement(string)):
  266. implement propertly.
  267. (IndexOf): implement.
  268. (IsElementName): implement.
  269. (ElementName): implement.
  270. (Item (int index)): implement.
  271. * FormsAuthenticationUserCollection.cs (set_Item (int index)): implement.
  272. * UrlMappingCollection.cs (set_Item (int index)): implement.
  273. * OutputCacheProfileCollection.cs (set_Item (int index)): implement.
  274. * TransformerInfo.cs (Equals): implement.
  275. (GetHashCode): implement.
  276. * NamespaceInfo.cs (Equals): implement.
  277. (GetHashCode): implement.
  278. * ProfileSettingsCollection.cs (set_Item (int index)): implement.
  279. * TransformerInfoCollection.cs (set_Item (int index)): implement.
  280. * HttpHandlerActionCollection.cs (set_Item (int index)): implement.
  281. * BufferModesCollection.cs (set_Item (int index)): implement.
  282. * BuildProvider.cs: use the base[fooProp] pattern instead of
  283. instance fields.
  284. * ProfileGroupSettingsCollection.cs: implement most of this class.
  285. * RuleSettingsCollection.cs (set_Item (int index)): implement.
  286. * ClientTargetCollection.cs (set_Item (int index)): implement.
  287. * AssemblyCollection.cs (set_Item (int index)): implement.
  288. * BuildProviderCollection.cs (set_Item (int index)): reformat.
  289. * CustomError.cs (Equals): implement.
  290. (GetHashCode): implement.
  291. * ExpressionBuilderCollection.cs (set_Item (int index)): reformat.
  292. * PassportAuthentication.cs (RedirectUrl): express consternation
  293. in comment form.
  294. * NamespaceCollection.cs (set_Item (int index)): implement.
  295. * RootProfilePropertySettingsCollection.cs (SerializeElement): add
  296. comment.
  297. * ProfilePropertySettingsCollection.cs (set_Item (int index)):
  298. implement.
  299. * CustomErrorCollection.cs (set_Item (int index)): implement.
  300. * HttpModuleActionCollection.cs (set_Item (int index)): implement.
  301. * CodeSubDirectoriesCollection.cs (set_Item (int index)):
  302. implement.
  303. * CustomErrorsSection.cs (DeserializeSection): include call to
  304. base.DeserializeSection, and add MonoTODO.
  305. * EventMappingSettingsCollection.cs (set_Item (int index)):
  306. implement.
  307. * AuthorizationRule.cs (Equals): implement.
  308. (GetHashCode): implement.
  309. (SerializeElement): add comment.
  310. * TagMapCollection.cs (Remove): pass the key to BaseRemove.
  311. (set_Item (int index)): implement.
  312. * TagMapInfo.cs (Equals): implement.
  313. (GetHashCode): implement.
  314. (SerializeElement): add call to base.SerializeElement.
  315. * TrustLevelCollection.cs (Remove): pass the key to BaseRemove.
  316. (GetElementKey): implement.
  317. * SqlCacheDependencyDatabase.cs (set_Item (int index)): implement.
  318. * WebContext.cs: new implementation.
  319. 2005-11-13 Chris Toshok <[email protected]>
  320. * AnonymousIdentificationSection.cs: rework this class a bit to
  321. fit in with the rest of S.W.C. Add validators to the
  322. ConfigurationProperty ctor calls, a pattern which will need to be
  323. replicated across the entire assembly, it appears (uggggh).
  324. 2005-11-13 Chris Toshok <[email protected]>
  325. * AuthorizationRuleCollection.cs: fix ConfigurationCollection
  326. attribute.
  327. * TransformerInfo.cs: fix corcompare.
  328. * SqlCacheDependencyDatabase.cs: mark ctor internal to fix
  329. corcompare.
  330. * AuthenticationSection.cs: add missing Reset stub.
  331. * ProfileSettingsCollection.cs: use the more succint ctor.
  332. * FormsAuthenticationUser.cs: enable the TypeConverter on "name".
  333. * GlobalizationSection.cs: fix up corcompare.
  334. * WebPartsSection.cs: fix up corcompare.
  335. * ProfileGroupSettingsCollection.cs: add missing
  336. ConfigurationCollection attribute.
  337. * ExpressionBuilder.cs: implement.
  338. * FormsAuthenticationCredentials.cs: fix up corcompare.
  339. * AssemblyCollection.cs: implement Properties.
  340. * SiteMapSection.cs: implement Properties.
  341. * ExpressionBuilderCollection.cs: fix up corcompare.
  342. * ProfileSettings.cs: add missing ctor.
  343. * PassportAuthentication.cs: new implementation.
  344. * SqlCacheDependencySection.cs: fix up corcompare.
  345. * ProfilePropertySettingsCollection.cs: fix up corcompare.
  346. * HttpModuleActionCollection.cs: fix up corcompare.
  347. * EventMappingSettingsCollection.cs: fix up corcompare.
  348. * AuthorizationRule.cs: fix up corcompare.
  349. * WebControlsSection.cs: fix up corcompare.
  350. * AuthorizationSection.cs: fix up corcompare.
  351. * MembershipSection.cs: clean this up, implement Properties, fix
  352. up corcompare, etc.
  353. 2005-11-13 Chris Toshok <[email protected]>
  354. * UrlMapping.cs, CustomErrorCollection.cs, CustomError.cs,
  355. HostingEnvironmentSection.cs, TrustLevel.cs,
  356. HttpCookiesSection.cs, UrlMappingsSection.cs,
  357. UrlMappingCollection.cs, LowerCaseStringConverter.cs,
  358. RoleManagerSection.cs, ProcessModelSection.cs,
  359. TrustLevelCollection.cs, ClientTarget.cs, CustomErrorsSection.cs,
  360. MachineKeySection.cs, SessionPageStateSection.cs,
  361. SessionStateSection.cs, ProvidersHelper.cs,
  362. ClientTargetCollection.cs, SecurityPolicySection.cs,
  363. HttpCapabilitiesBase.cs, ClientTargetSection.cs: Another large
  364. swath.
  365. 2005-11-12 Chris Toshok <[email protected]>
  366. * AuthorizationRuleCollection.cs, AuthorizationRule.cs,
  367. AuthorizationSection.cs, BufferModesCollection.cs,
  368. BufferModeSettings.cs, CacheSection.cs, CompilerCollection.cs,
  369. Compiler.cs, DeploymentSection.cs,
  370. EventMappingSettingsCollection.cs, EventMappingSettings.cs,
  371. GlobalizationSection.cs, HealthMonitoringSection.cs,
  372. IdentitySection.cs, OutputCacheProfileCollection.cs,
  373. OutputCacheProfile.cs, OutputCacheSection.cs,
  374. OutputCacheSettingsSection.cs, ProfileSettingsCollection.cs,
  375. ProfileSettings.cs, RuleSettingsCollection.cs, RuleSettings.cs,
  376. SqlCacheDependencyDatabaseCollection.cs,
  377. SqlCacheDependencyDatabase.cs, SqlCacheDependencySection.cs,
  378. SystemWebCachingSectionGroup.cs, TraceSection.cs,
  379. TransformerInfoCollection.cs, TransformerInfo.cs, TrustSection.cs,
  380. WebControlsSection.cs, WebPartsPersonalizationAuthorization.cs,
  381. WebPartsPersonalization.cs, WebPartsSection.cs,
  382. XhtmlConformanceSection.cs: a whole slew of new classes. the
  383. fruits of tons of c&p and ibuprofen.
  384. 2005-11-09 Chris Toshok <[email protected]>
  385. * PagesSection.cs, AuthenticationSection.cs, BuildProvider.cs,
  386. BuildProviderCollection.cs, HttpHandlerActionCollection.cs,
  387. HttpModulesSection.cs, HttpModuleAction.cs,
  388. HttpModuleActionCollection.cs, AnonymousIdentificationSection.cs,
  389. CodeSubDirectory.cs, CodeSubDirectoriesCollection.cs,
  390. SystemWebSectionGroup.cs, SiteMapSection.cs,
  391. WebConfigurationManager.cs: flesh out the implementation.
  392. * TagMap*.cs, TagPrefix*.cs: new implementation.
  393. * FormsAuthentication*.cs: new implementation.
  394. * Profile*.cs: new implementation.
  395. * Namespace*.cs: new implementation.
  396. * HttpRuntimeSection.cs: new implementation.