ChangeLog 15 KB

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