ChangeLog 35 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093
  1. 2007-04-24 Marek Habersack <[email protected]>
  2. * WebConfigurationHost.cs: wrap MapPath calls in try/catch,
  3. because bad URLs can cause it to throw exceptions. If such
  4. exception is caught, throw a HttpException for Bad Request (400).
  5. * WebConfigurationManager.cs: added two internal methods for safe
  6. retrieval of config sections.
  7. 2007-04-19 Marek Habersack <[email protected]>
  8. * HttpHandlerAction.cs: look up types in all the toplevel
  9. assemblies. Fixes bug #80897.
  10. 2007-04-17 Atsushi Enomoto <[email protected]>
  11. * ProcessModelSection.cs : cpuMask default value should be int,
  12. not uint.
  13. 2007-04-06 Marek Habersack <[email protected]>
  14. * CustomErrorsSection.cs: make the customErrors section work.
  15. * PagesSection.cs: provide appropriate default value for the
  16. asyncTimeout setting.
  17. 2007-03-24 Marek Habersack <[email protected]>
  18. * WebConfigurationHost.cs: allow MachineToApplication definition
  19. for config paths that equal the domain virtual app directory.
  20. 2007-03-22 Adar Wesley <[email protected]>
  21. * HttpCapabilitiesBase.cs: implemented all capabilities. Capabilities
  22. still throw if there is no value in browscaps.ini and the property is called.
  23. 2007-03-21 Vladimir Krasnov <[email protected]>
  24. * WebConfigurationManager.cs: fixed OpenWebConfiguration, should not
  25. lock when checking if configuration is already open
  26. 2007-03-15 Vladimir Krasnov <[email protected]>
  27. * WebConfigurationManager.cs: fixed OpenWebConfiguration, removed
  28. GetBasePath call and locations search, since this not affects
  29. configuration initialization, but improves performance
  30. 2007-03-12 Marek Habersack <[email protected]>
  31. * ProvidersHelper.cs: support loading custom providers from
  32. App_Code assemblies. Fixes bug #81071.
  33. Also set eol-style to native.
  34. 2007-03-08 Gert Driesen <[email protected]>
  35. * PagesSection.cs: Revert part of Adar's patch that regresses
  36. bug #80913.
  37. 2007-03-06 Adar Wesley <[email protected]>
  38. * PagesSection.cs: improve Enum parsing and strongly typed default values.
  39. 2007-02-20 Marek Habersack <[email protected]>
  40. * Patch from Gert Driesen <[email protected]>
  41. * PagesSection.cs: Process value of EnableSessionState attribute
  42. case-sensitive, and perform check in getter. Fix for bug #80913.
  43. * PageParser.cs: Added note on difference in behaviour between page
  44. level attribute and configuration attribute for enableSessionState.
  45. * PagesConfiguration.cs: Fixed compiler warning.
  46. 2007-02-22 Marek Habersack <[email protected]>
  47. * CompilerCollection.cs: Optimize language lookup a bit.
  48. 2007-02-05 Konstantin Triger <[email protected]>
  49. * TagPrefixCollection.cs: Fix element key creation.
  50. 2007-02-04 Konstantin Triger <[email protected]>
  51. * NamespaceInfo.cs, HttpModuleAction.cs, RoleManagerSection.cs:
  52. fix the default value.
  53. 2007-02-02 Marek Habersack <[email protected]>
  54. * TagPrefixCollection.cs: Add the CollectionType parameter.
  55. Get rid of unnecessary interface references in the class declaration.
  56. GetElementKey should return Source which should be unique, unlike TagPrefix.
  57. 2007-01-04 Konstantin Triger <[email protected]>
  58. * ProfileSection.cs: Ensure enabled = true by default; cleanup.
  59. 2006-12-27 Vladimir Krasnov <[email protected]>
  60. * CustomErrorCollection.cs: fixed ThrowOnDuplicate to false as in .net
  61. 2006-12-21 Gonzalo Paniagua Javier <[email protected]>
  62. * GlobalizationSection.cs: make encodings actually work for the 2.0
  63. profile.
  64. 2006-12-21 Marek Habersack <[email protected]>
  65. * TagMapInfo.cs: Add an internal default constructor for use from
  66. TagMapCollection.
  67. * TagMapCollection.cs: Don't call the string,string constructor of
  68. TagMapInfo - the class disallows empty strings as values of its
  69. properties.
  70. 2006-12-21 Vladimir Krasnov <[email protected]>
  71. * RoleManagerSection.cs: refactored using attributes
  72. 2006-12-20 Marek Habersack <[email protected]>
  73. * ProfilePropertyNameValidator.cs: added a few checks.
  74. 2006-12-18 Vladimir Krasnov <[email protected]>
  75. * WebConfigurationManager.cs: fixed GetSection to execute
  76. GetRuntimeObject, refactored GetSection and GetWebApplicationSection
  77. 2006-12-17 Vladimir Krasnov <[email protected]>
  78. * HttpHandlerAction.cs: fixed 'verb' config property
  79. 2006-12-07 Igor Zelmanovich <[email protected]>
  80. * ProvidersHelper.cs: fixed: load assembles from /bin
  81. 2006-11-22 Miguel de Icaza <[email protected]>
  82. * SessionStateSection.cs: Do not call Enum.Parse with a null
  83. argument, prevents an exception from being thrown.
  84. 2006-11-20 Marek Habersack <[email protected]>
  85. * GlobalizationSection.cs: Added support for "auto" cultures and
  86. the "auto:DEFAULT_CULTURE" cultures.
  87. 2006-11-13 Konstantin Triger <[email protected]>
  88. * WebConfigurationHost.cs: use Type.GetType for loading full qualified types.
  89. 2006-11-05 Vladimir Krasnov <[email protected]>
  90. * ProfileGroupSettings.cs, ProfileGroupSettingsCollection.cs
  91. ProfilePropertySettingsCollection.cs, ProfileSection.cs
  92. RootProfilePropertySettingsCollection.cs: refactoring and fix of
  93. <group> element
  94. 2006-10-18 Marek Habersack <[email protected]>
  95. * WebConfigurationManager.cs: implement support for extra
  96. assemblies to be referenced when compiling a page.
  97. 2006-09-06 Gonzalo Paniagua Javier <[email protected]>
  98. * WebConfigurationManager.cs: add null checks. Patch by Marek Habersack
  99. that fixes bug #79283.
  100. 2006-09-06 Konstantin Triger <[email protected]>
  101. * WebConfigurationHost.cs: do not recourse as this will be done by
  102. Configuration object.
  103. 2006-08-08 Vladimir Krasnov <[email protected]>
  104. * WebConfigurationManager.cs: added configSystem property under
  105. TARGET_JVM part
  106. * WebConfigurationHost.cs: fixed GetStreamName and OpenStreamForRead
  107. for TARGET_JVM
  108. * CompilationSection.cs: BuildProviders property removed from
  109. TARGET_JVM
  110. * SystemWebSectionGroup.cs: Compilation property removed from
  111. TARGET_JVM
  112. 2006-06-26 Atsushi Enomoto <[email protected]>
  113. * NullableStringValidator.cs : new internal class that is almost
  114. identical to StringValidator but allows null value.
  115. * PropertyHelper.cs : use new NullableStringValidator.
  116. * NamespaceCollection.cs : in NamespaceInfo "" is not allowed.
  117. 2006-06-08 Chris Toshok <[email protected]>
  118. * WebConfigurationHost.cs (InitForConfiguration): i know this is
  119. going to bite me in the ass, but guard against configPath being ==
  120. to "/", since this will result in an infinite loop.
  121. (MapPath): fix a NRE.
  122. 2006-05-18 Atsushi Enomoto <[email protected]>
  123. * WebConfigurationManager.cs: recent sys.config.dll changes on
  124. ConfigurationManager.GetSection() which should call
  125. GetRuntimeObject() should also apply here. Fixed monodoc web.
  126. 2006-05-10 Andrew Skiba <[email protected]>
  127. * HttpHandlerAction.cs: keep the internal exception
  128. 2006-05-08 Chris Toshok <[email protected]>
  129. * WebConfigurationManager.cs (GetBasePath): fix bug where
  130. path.Length was 0 when we got to the last while loop (and indexed
  131. -1 into an array.) Thanks Marek for the fix.
  132. 2006-05-04 Chris Toshok <[email protected]>
  133. [ Fixes bug #78256 ]
  134. * WebConfigurationHost.cs (GetConfigType): add a MonoTODO about
  135. how we should use the build provider machinery to get types.
  136. (MapPath): add rudimentary mapping in the case where we don't have
  137. a request, basically handle the case where the url begins with (or
  138. is) HttpRuntime.AppDomainAppVirtualPath.
  139. * WebConfigurationManager.cs (GetSection): if we don't have a
  140. valid request, open the web configuration corresponding to
  141. HttpRuntime.AppDomainAppVirtualPath.
  142. (GetBasePath): comment this a little, and make it work in the case
  143. where we don't have an HttpRequest.
  144. 2006-04-27 Chris Toshok <[email protected]>
  145. * AuthorizationRuleCollection.cs (ThrowOnDuplicate): for the time
  146. being introduce a overridden property MS doesn't make use of.
  147. This needs readdressing, but it should get people making use of
  148. <authorization> rules working again.
  149. 2006-04-25 Chris Toshok <[email protected]>
  150. * AuthorizationRule.cs (Reset): finally figure out what this
  151. method is supposed to do. Assign our Action property based on
  152. parentElement's.
  153. 2006-04-25 Chris Toshok <[email protected]>
  154. * WebConfigurationHost.cs (InitForConfiguration): actually, use
  155. HttpRuntime.AppDomainAppVirtualPath on gonzalo's recommendation.
  156. It's never null, and its use cleans things up a bit.
  157. 2006-04-25 Chris Toshok <[email protected]>
  158. * WebConfigurationHost.cs (InitForConfiguration): stop going up
  159. the virtual hierarchy once we reach the application's base virtual
  160. path.
  161. 2006-04-24 Chris Toshok <[email protected]>
  162. * AuthorizationSection.cs (IsValidUser): fix a problem that
  163. surfaced when converting from the 1.1 to 2.0 config classes. Only
  164. check for verb match if there are actually verbs to match against.
  165. 2006-04-11 Chris Toshok <[email protected]>
  166. * ExpressionBuilderCollection.cs (CreateNewElement): call argless
  167. ctor.
  168. * ExpressionBuilder.cs: add internal argumentless ctor for use by
  169. the collection type.
  170. 2006-03-24 Chris Toshok <[email protected]>
  171. * WebConfigurationManager.cs (GetConfig): add a fallback case for
  172. configuration sections that don't subclass from
  173. ConfigurationSection.
  174. 2006-03-24 Chris Toshok <[email protected]>
  175. * WebConfigurationHost.cs: fix bug where OpenWebConfiguration
  176. ("/") would result in 2 configurations for that toplevel path to
  177. be opened.
  178. 2006-03-08 Chris Toshok <[email protected]>
  179. * ProvidersHelper.cs: implement this static class properly.
  180. * SiteMapSection.cs (ProvidersInternal): add internal property to
  181. get the actual SiteMapProviderCollection from here.
  182. 2006-02-28 Chris Toshok <[email protected]>
  183. * BuildProviderAppliesTo.cs, PagesToCountAction.cs: nuke.
  184. 2006-02-10 Gonzalo Paniagua Javier <[email protected]>
  185. * Compiler.cs:
  186. * CompilerCollection.cs: removed compatibility code.
  187. * BuildProviderCollection.cs: add GetProviderForExtension().
  188. 2006-02-02 Chris Toshok <[email protected]>
  189. * WebConfigurationManager.cs (GetSection(string,string)):
  190. implement.
  191. 2006-02-01 Atsushi Enomoto <[email protected]>
  192. * TrustLevelCollection.cs, CodeSubDirectoriesCollection.cs,
  193. CustomErrorCollection.cs, CompilerCollection.cs,
  194. HttpHandlerActionCollection.cs,
  195. FormsAuthenticationUserCollection.cs,
  196. AuthorizationRuleCollection.cs, TagPrefixCollection.cs :
  197. CollectionType is public.
  198. 2006-02-01 Chris Toshok <[email protected]>
  199. * WebConfigurationManager.cs: In the normal case, get the current
  200. request's web.config, not the application's. If there is no
  201. current request, get the application's.
  202. (GetWebApplicationConfiguration): use Request.ApplicationPath, not
  203. Request.PhysicalApplicationPath. OpenWebConfiguration takes
  204. virtual paths.
  205. * HttpConfigurationSystem.cs: GetWebApplicationSection =>
  206. GetSection.
  207. 2006-02-01 Chris Toshok <[email protected]>
  208. * CompilerCollection.cs: CONFIGURATION_2_0 => NET_2_0
  209. * Compiler.cs: same.
  210. 2006-02-01 Chris Toshok <[email protected]>
  211. * HttpConfigurationSystem.cs: SupportsUserConfig == true. let's
  212. use this to determine if ConfigurationManager.AppSettings should
  213. be read-only or not.
  214. 2006-01-31 Chris Toshok <[email protected]>
  215. * WebConfigurationManager.cs: err, why did i ifdef stuff NET_2_0
  216. inside of an ifdef NET_2_0?
  217. 2006-01-30 Chris Toshok <[email protected]>
  218. * WebConfigurationManager.cs: lots of little changes. hopefully
  219. this doesn't break anyone. it fixes all the nunit problems
  220. gonzalo was having.
  221. * WebConfigurationHost.cs (GetStreamName): in the MachineWebPath
  222. case, handle the case where we have a WebConfigurationFileMap.
  223. (MapPath): this is likely wrong, but in the case where we don't
  224. have a file map or current HttpContext, just return the path.
  225. 2006-01-29 Chris Toshok <[email protected]>
  226. * HttpModulesSection.cs (LoadModules): I'm not sure we want to
  227. solve this problem in this way, but the 1.x code forces
  228. DefaultAuthenticationModule to be in the list of modules..
  229. Without this fix (or something else) HttpContext.User is null when
  230. it shouldn't be.
  231. 2006-01-26 Chris Toshok <[email protected]>
  232. * HttpConfigurationSystem.cs: new class that gets sections from
  233. web.config files.
  234. * WebConfigurationManager.cs: change a lot of the
  235. NotImplementedExceptions to NotSupportedExceptions.
  236. (AppSettings): implement by just returning
  237. ConfigurationManager.AppSettings (note this is broken because
  238. ConfigurationManager.AppSettings are read-only, but it works for
  239. reading.)
  240. (ConnectionStrings): same (and probably broken in the same way..)
  241. (Init): replace the 2.0 IInternalConfigSystem with our
  242. HttpConfigurationSystem.
  243. * WebConfigurationHost.cs: add a comment about how things are
  244. likely to work in the face of IRemoteWebConfigurationHostServer.
  245. (CreateConfigurationContext): return a WebContext instance.
  246. 2006-01-25 Chris Toshok <[email protected]>
  247. * AuthorizationSection.cs (IsValidUser): instead of a blanket
  248. false for a null user, just set the username to "" and short
  249. circuit out the check for roles.
  250. 2006-01-25 Chris Toshok <[email protected]>
  251. * AuthorizationRule.cs (CheckUser): handle * and ?, and use
  252. String.Compare instead of ==.
  253. (CheckVerb): use String.Compare instead of ==.
  254. * AuthorizationSection.cs (IsValidUser): return false for a null
  255. user.
  256. 2006-01-22 Chris Toshok <[email protected]>
  257. * GlobalizationSection.cs (VerifyData): quiet mcs.
  258. 2006-01-18 Chris Toshok <[email protected]>
  259. * SystemWebSectionGroup.cs: wrap System.Web.Services references in
  260. WEBSERVICES_DEP.
  261. 2006-01-16 Chris Toshok <[email protected]>
  262. * WebConfigurationManager.cs: implement a IConfigurationSystem for
  263. use with WebConfigurationManager.
  264. (GetSection): try to load the section
  265. using GetWebApplicationSection before calling into
  266. ConfigurationManager.GetSection.
  267. (GetWebApplicationConfiguration): move common code to here.
  268. (GetWebApplicationSection): use GetWebApplicationConfiguration.
  269. (AppSettings): implement.
  270. * WebConfigurationHost.cs (GetWebConfigFileName): add
  271. "Web.Config", and move to an array/loop implementation. maybe we
  272. should scan the directory and check ToLower() instead of
  273. explicitly enumerating?
  274. 2006-01-10 Chris Toshok <[email protected]>
  275. * SystemWebSectionGroup.cs (HostingEnvironment): enable this property.
  276. (ProcessModel): add the ConfigurationPropertyAttribute.
  277. 2006-01-10 Chris Toshok <[email protected]>
  278. * PagesSection.cs (.cctor): fix the default value for the
  279. enableSessionState attribute - it's not a bool, but a
  280. PagesEnableSessionState enum.
  281. 2006-01-10 Chris Toshok <[email protected]>
  282. * MachineKeySection.cs (ValidationKeyBytes, DecryptionKeyBytes,
  283. DecryptionKey192Bits): if the keys are null, generate them. Fixes
  284. Page.EnableViewStateMac support.
  285. 2006-01-09 Chris Toshok <[email protected]>
  286. * RoleManagerSection.cs, SqlCacheDepencendySection.cs,
  287. SessionStateSection.cs, TraceSection.cs, SecurityPolicySection.cs,
  288. PagesSection.cs, RulesSettings.cs, UrlMappingSection.cs: fix
  289. dumper output.
  290. 2006-01-09 Chris Toshok <[email protected]>
  291. * ExpressionBuilderCollection.cs (.cctor): no need to create a
  292. collection property here. we're already in the collection.
  293. * CompilationSection.cs: fix typo.
  294. 2006-01-04 Chris Toshok <[email protected]>
  295. * MachineKeySection.cs: bring over some more internal methods from
  296. MachineKeyConfig, and call Set{Decryption,Validation}Key from
  297. their respective property setters.
  298. 2006-01-03 Chris Toshok <[email protected]>
  299. * AuthorizationSection.cs (IsValidUser): add analogous method from
  300. AuthorizationConfig.cs.
  301. * AuthorizationRule.cs: add predicates for Verb, User, and Role
  302. analogous to what existed in AuthorizationConfig.cs.
  303. 2005-12-11 Chris Toshok <[email protected]>
  304. * WebConfigurationManager.cs (OpenMachineConfiguration): just call
  305. ConfigurationManager.OpenMachineConfiguration.
  306. (OpenWebConfiguration): remove the "IntPtr userToken" version and
  307. add a "string userName" version to clean up corcompare output.
  308. Modify all the overloads to pass null instead of IntPtr.Zero.
  309. (GetWebApplicationSection): if we're not running in a web
  310. application, use the machine configuration.
  311. 2005-12-06 Chris Toshok <[email protected]>
  312. * CodeSubDirectory.cs (DirectoryName): don't use an private field,
  313. but base[directoyNameProp].
  314. * AuthorizationRuleCollection.cs (Add): use BaseAdd (rule, false),
  315. so we can insert duplicates.
  316. (GetKey): nuke.
  317. (GetElementKey): MS for some reason just uses the action for the
  318. key, ToString()'ed.
  319. (Remove): pass the correct key.
  320. * ProfileGroupSettings.cs (GetHashCode): implement.
  321. * GlobalizationSection.cs (GetEncoding): for the utf-8 case, just
  322. use Encoding.UTF8.
  323. * AssemblyCollection.cs (Add): use BaseAdd (info, false) so we can
  324. insert duplicates.
  325. * CacheSection.cs (.cctor): make privateByteLimit's default 0L so
  326. we don't get a invalid cast exception later on.
  327. * AuthorizationRule.cs (VerifyData): split out the verification
  328. foo from PreSerialize.
  329. (PostDeserialize): so we can call it from here.
  330. (PreSerialize): and here.
  331. 2005-12-05 Chris Toshok <[email protected]>
  332. * AuthorizationRuleCollection.cs (GetKey): split out the logic for
  333. creating a key from a rule here.
  334. (GetElementKey): use it here.
  335. (Remove): and here.
  336. 2005-12-04 Chris Toshok <[email protected]>
  337. * UrlMapping.cs: add an internal argument-less ctor.
  338. * UrlMappingCollection.cs (CreateNewElement): use argument-less
  339. ctor.
  340. (GetKey): implement.
  341. (AllKeys): implement.
  342. * TrustLevel.cs: add an internal argument-less ctor.
  343. * TrustLevelCollection.cs (Set): implement.
  344. (CreateNewElement): use argument-less ctor.
  345. (IsElementName): implement.
  346. (ElementName): implement.
  347. (set_Item (int index)): use Set.
  348. (ThrowOnDuplicate): implement.
  349. * TagPrefixInfo.cs: add internal argument-less ctor.
  350. * TagPrefixCollection.cs (CreateNewElement): call argument-less
  351. ctor.
  352. (CollectionType): add text to TODO.
  353. (ElementName): implement.
  354. * SqlCacheDependencyDatabaseCollection.cs (Set): implement.
  355. (AllKeys): implement.
  356. * RuleSettings.cs: add internal argument-less ctor.
  357. * RuleSettingsCollection.cs (Contains): implement.
  358. (CreateNewElement): use argument-less ctor.
  359. (IndexOf): implement.
  360. (Insert): implement.
  361. * RootProfilePropertySettingsCollection.cs (IsModified): chain up
  362. to base.IsModified for now.
  363. (Reset): chain up to base.Reset for now.
  364. (ResetModified): chain up to base.ResetModified for now.
  365. * ProfileSettings.cs: add internal argument-less ctor.
  366. * ProfileSettingsCollection.cs (Contains): implement.
  367. (CreateNewElement): use argument-less ctor.
  368. (IndexOf): implement.
  369. (Insert): implement.
  370. * ProfilePropertySettingsCollection.cs (IndexOf): implement.
  371. (Set): implement.
  372. (AllKeys): implement.
  373. * ProfileGroupSettings.cs: add internal argument-less ctor.
  374. * ProfileGroupSettingsCollection.cs (CreateNewElement): use
  375. parameter-less ctor.
  376. (GetKey): implement.
  377. (ResetModified): for now call base.ResetModified.
  378. (Set): implement.
  379. (AllKeys): implement.
  380. * OutputCacheProfile.cs: add internal argument-less ctor.
  381. * OutputCacheProfileCollection.cs (CreateNewElement): use
  382. parameter-less ctor.
  383. (Set): implement.
  384. (AllKeys): implement.
  385. * HttpModuleActionCollection.cs (Add): remove MonoTODO.
  386. (CreateNewElement): same.
  387. * HttpHandlerActionCollection.cs (GetElementKey): build up the key
  388. from both the path and the verb.
  389. (Remove): same.
  390. * FormsAuthenticationUserCollection.cs (Set): implement.
  391. (AllKeys): implement.
  392. * EventMappingSettings.cs: add an internal argument-less ctor.
  393. * EventMappingSettingsCollection.cs (Contains): implement.
  394. (CreateNewElement): use argument-less ctor.
  395. (IndexOf): implement.
  396. (Insert): implement.
  397. * CompilerCollection.cs (GetKey): implement.
  398. (AllKeys): implement.
  399. * ClientTargetCollection.cs (GetKey): implement.
  400. (AllKeys): implement.
  401. * AuthorizationRuleCollection.cs (Set): implement.
  402. (ElementName): add some text to the MonoTODO.
  403. (set_Item (int index)): use Set.
  404. 2005-12-04 Chris Toshok <[email protected]>
  405. * CustomError.cs: add an internal argument-less ctor for use by
  406. the collection.
  407. * CustomErrorCollection.cs: implement all the MonoTODO's.
  408. 2005-12-02 Chris Toshok <[email protected]>
  409. * GlobalizationSection.cs (VerifyData): split out the stuff that
  410. used to live in PreSerialize here.
  411. (PreSerialize): call VerifyData here.
  412. (PostDeserialize): and here.
  413. 2005-12-01 Chris Toshok <[email protected]>
  414. * GlobalizationSection.cs (PreSerialize): add checks for Culture
  415. and UICulture properties.
  416. 2005-12-01 Chris Toshok <[email protected]>
  417. * AuthorizationRule.cs (..ctor): provide default values for
  418. roles/users/verbs here. Not sure if we should do this in the ctor
  419. or if the System.Configuration infrastructure should.. time will
  420. tell.
  421. (PreSerialize): throw if Roles.Count and Users.Count == 0.
  422. (SerializeElement): write out the element here. don't chain up to
  423. the base class since that has differing behavior than what we
  424. want.
  425. 2005-11-30 Chris Toshok <[email protected]>
  426. * CompilerCollection.cs: ugly hack to fix the
  427. 2.0-without-config-2.0 case. wrap this file in #if
  428. CONFIGURATION_2_0 as well as #if NET_2_0.
  429. * Compiler.cs: same.
  430. 2005-11-28 Chris Toshok <[email protected]>
  431. * SessionStateSection.cs (CookieLess): correct the compat function
  432. implementation.
  433. 2005-11-28 Chris Toshok <[email protected]>
  434. * GlobalizationSection.cs (GetEncoding): if the encoding name is
  435. null, default to utf-8 before we hit the try block, so we don't
  436. throw and generate a spurious warning.
  437. * SessionStateSection.cs: The Cookieless handling needs a custom
  438. parser, it appears, as the converter is a StringConverter, not a
  439. GenericEnumConverter.
  440. (ParseCookieMode): the parser.
  441. 2005-11-28 Chris Toshok <[email protected]>
  442. * PagesSection.cs (GetInstance): nuke.
  443. * CompilationSection.cs (GetInstance): nuke.
  444. 2005-11-28 Chris Toshok <[email protected]>
  445. * HttpHandlerAction.cs: add some c&p code from the 1.1 config
  446. stuff to look for matching handlers.
  447. (..ctor): add parameterless ctor.
  448. * HttpHandlerActionCollection.cs: clean up formatting.
  449. (CreateNewElement): call the parameter-less ctor for
  450. HttpHandlerAction.
  451. * HttpHandlersSection.cs (..ctor): add a ConfigurationProperty for
  452. the default collection.
  453. (get_Handlers): implement.
  454. (LocateHandler): copy over (and massage) some 1.1 config code.
  455. * MachineKeySection.cs: move some code over from the 1.1 config
  456. code to deal with autogeneration of keys, as well as converting
  457. from the string rep to the byte[] rep.
  458. 2005-11-28 Chris Toshok <[email protected]>
  459. * HttpModuleActionCollection.cs (CreateNewElement): use the new
  460. HttpModuleAction ctor.
  461. * HttpModuleAction.cs: add internal ctor with no parameters, for
  462. use in HttpModuleActionCollection.
  463. 2005-11-28 Chris Toshok <[email protected]>
  464. * GlobalizationSection.cs (..cctor): the encoding
  465. ConfigurationProperties are of type "string", even though the
  466. properties themselves are of type Encoding. we do conversions
  467. manually in the setter/getters. gross. Add code (mostly c&p +
  468. massaged from GlobalizationConfigurationHandler) for this and also
  469. to handle the culture gettes.
  470. 2005-11-26 Chris Toshok <[email protected]>
  471. * AuthorizationRuleCollection.cs (GetElementKey): implement this.
  472. * ProfilePropertyNameValidator.cs: make this internal, and add a
  473. blurb about how MS doesn't do the testing you'd expect them to.
  474. 2005-11-25 Chris Toshok <[email protected]>
  475. * AuthorizationRuleCollection.cs (CreateNewElement): remove
  476. MonoTODO.
  477. * CompilationSection.cs (GetRuntimeObject): add comment to TODO.
  478. * ProfileGroupSettings.cs: reformat some things.
  479. * FormsAuthenticationUser.cs (Name): remove MonoTODO.
  480. * WebPartsSection.cs (GetRuntimeObject): change TODO comment.
  481. * ProfilePropertySettings.cs: add internal argument-less ctor.
  482. * IdentitySection.cs (GetRuntimeObject): return this.
  483. * ProfilePropertySettingsCollection.cs: implement much of the
  484. TODO's.
  485. * WebControlsSection.cs (GetRuntimeObject): implement.
  486. * SqlCacheDependencyDatabaseCollection.cs (GetElementKey):
  487. implement.
  488. (GetKey): implement.
  489. 2005-11-24 Chris Toshok <[email protected]>
  490. * AssemblyInfo.cs: move this here from System.Web.Configuration,
  491. and fix up the properties.
  492. * SystemWebSectionGroup.cs: enable most of the sections (2
  493. remaining to be enabled.)
  494. 2005-11-24 Chris Toshok <[email protected]>
  495. * ProcessModelSection.cs, SqlCacheDependencySection.cs,
  496. SessionStateSection.cs, PassportAuthentication.cs,
  497. FormsAuthenticationConfiguration.cs,
  498. SqlCacheDependencyDatabase.cs, HttpModuleAction.cs,
  499. BufferModeSettings.cs, TagPrefixInfo.cs (..cctor): init
  500. elementProperty.
  501. (ValidateElement): new static validator callback.
  502. (ElementProperty): enable this, return elementProperty.
  503. 2005-11-23 Chris Toshok <[email protected]>
  504. * ProfilePropertyNameValidator.cs: new implementation.
  505. * ProfilePropertySettings.cs, ProfileGroupSettings.cs,
  506. ClientTargetSection.cs, ClientTargetSection.cs,
  507. BufferModeSettings.cs, HttpModulesSection.cs,
  508. WebPartsPersonalization.cs, TransformerInfo.cs, TrustLevel.cs,
  509. NamespaceInfo.cs, SqlCacheDependencyDatabase.cs,
  510. AuthenticationSection.cs, RuleSettings.cs,
  511. FormsAuthenticationUser.cs, WebPartsSection.cs, BuildProvider.cs,
  512. WebPartsPersonalizationAuthorization.cs, Compiler.cs,
  513. ExpressionBuilder.cs, OutputCacheProfile.cs,
  514. FormsAuthenticationCredentials.cs, XhtmlConformanceSection.cs,
  515. OutputCacheSettingsSection.cs, CustomError.cs, TraceSection.cs,
  516. ExpressionBuilderCollection.cs, ProfileSettings.cs,
  517. SessionStateSection.cs, HealthMonitoringSection.cs,
  518. FormsAuthenticationConfiguration.cs, HttpRuntimeSection.cs,
  519. SessionPageStateSection.cs, TrustSection.cs,
  520. AnonymousIdentificationSection.cs, WebControlsSection.cs,
  521. ClientTarget.cs, TagMapInfo.cs, AuthorizationSection.cs,
  522. ProcessModelSection.cs, RoleManagerSection.cs,
  523. MembershipSection.cs, CustomErrorsSection.cs (..cctor): fix
  524. validator/converters.
  525. * MachineKeySection.cs (..cctor): fix validators/converters.
  526. (Validation): enable the Converter.
  527. * CodeSubDirectory.cs (..cctor): fix validator/converters.
  528. (DirectoryName): add note about missing validator decoration.
  529. * HttpModuleAction.cs (..cctor): init properties.
  530. (Properties): return properties.
  531. * CompilationSection.cs (..cctor): fix validator/converters.
  532. (GetInstance): add in this pre-2.0 interface for the time being,
  533. hopefully it'll make it easier to migrate later on.
  534. * HttpHandlerActionCollection.cs (..cctor): init properties.
  535. (Properties): return properties.
  536. * PagesSection.cs (..cctor): fix validator/converters.
  537. (GetInstance): add in this pre-2.0 interface for the time being,
  538. hopefully it'll make it easier to migrate later on.
  539. * HttpHandlersSection.cs (..cctor): init properties.
  540. (Properties): return properties.
  541. * EventMappingSettings.cs (..cctor): fix validator/converters.
  542. (Name): add note about missing validator decoration.
  543. * HttpHandlerAction.cs (..cctor): fix validator/converters.
  544. (PAth, Type, Verb): add note about missing validator decoration.
  545. * NamespaceCollection.cs (..cctor): fix properties.
  546. * ProfilePropertySettingsCollection.cs (..cctor): init properties.
  547. (..ctor): don't throw NIE.
  548. (Properties): return properties.
  549. * HttpModuleActionCollection.cs (..cctor): init properties.
  550. (Properties): return properties.
  551. * CacheSection.cs (..cctor): fix validators/converters.
  552. (PrivateBytesPollTime): add note about missing validator
  553. decoration.
  554. * AuthorizationRule.cs (..cctor): fix validators/converters.
  555. (Roles, Users, Verbs): enable the TypeConverter decorations.
  556. * UrlMapping.cs (ValidateUrl): static method for use as a
  557. validation callback. unimplemented as yet.
  558. (..cctor): fix validators/converters.
  559. (MappedUrl): add note about missing validator decoration.
  560. * PropertyHelper.cs: static utility class which contains
  561. references to validators and converters for use in static
  562. constructors (building the Properties arrays).
  563. 2005-11-23 Chris Toshok <[email protected]>
  564. * MachineKeyValidationConverter.cs: new converter (and a pretty
  565. silly one, considering all it seems to do is convert "TripleDES"
  566. to "3DES").
  567. * HostingEnvironmentSection.cs (.cctor): use
  568. PositiveTimeSpanValidator like MS does.
  569. 2005-11-18 Chris Toshok <[email protected]>
  570. * HostingEnvironmentSection.cs (.cctor): add validators.
  571. * CompilationSection.cs (.cctor): fix defaultvalue of
  572. urlLinePragmas.
  573. 2005-11-18 Chris Toshok <[email protected]>
  574. * SystemWebSectionGroup.cs: enable a whole slew of properties.
  575. * RegexWorker.cs: stub this out.
  576. * HttpCapabilitiesBase.cs: remove GetClrVersions since it's in one
  577. of the other partial files.
  578. * CompilationSection.cs: fix this up.
  579. * PagesSection.cs: fix some types and add a comment to
  580. DeserializeSection.
  581. * CompilerCollection.cs (Add): new internal method.
  582. * ProvidersHelper.cs: put the using System.Configuration.Provider
  583. inside the NET_2_0 block.
  584. * CacheSection.cs: add validators.
  585. 2005-11-14 Chris Toshok <[email protected]>
  586. * BufferModeSettings.cs: add validators/converters to the
  587. programmatic property list.
  588. * BuildProvider.cs: add validators/converters to the programmatic
  589. property list, and add an internal ctor with no args.
  590. * Compiler.cs: wrap the code i hacked from the 1.1 stuff with a
  591. #region.
  592. * BuildProviderCollection.cs (CreateNewElement): use the internal
  593. BuildProvider ctor to get around validation.
  594. * AssemblyCollection.cs: same.
  595. 2005-11-14 Chris Toshok <[email protected]>
  596. * TagPrefixCollection.cs (Remove): pass the key to BaseRemove.
  597. (set_Item (int index)): implement.
  598. * TagPrefixInfo.cs (Equals): implement.
  599. (GetHashCode): implement.
  600. * AuthorizationRuleCollection.cs (CreateNewElement(string)):
  601. implement propertly.
  602. (IndexOf): implement.
  603. (IsElementName): implement.
  604. (ElementName): implement.
  605. (Item (int index)): implement.
  606. * FormsAuthenticationUserCollection.cs (set_Item (int index)): implement.
  607. * UrlMappingCollection.cs (set_Item (int index)): implement.
  608. * OutputCacheProfileCollection.cs (set_Item (int index)): implement.
  609. * TransformerInfo.cs (Equals): implement.
  610. (GetHashCode): implement.
  611. * NamespaceInfo.cs (Equals): implement.
  612. (GetHashCode): implement.
  613. * ProfileSettingsCollection.cs (set_Item (int index)): implement.
  614. * TransformerInfoCollection.cs (set_Item (int index)): implement.
  615. * HttpHandlerActionCollection.cs (set_Item (int index)): implement.
  616. * BufferModesCollection.cs (set_Item (int index)): implement.
  617. * BuildProvider.cs: use the base[fooProp] pattern instead of
  618. instance fields.
  619. * ProfileGroupSettingsCollection.cs: implement most of this class.
  620. * RuleSettingsCollection.cs (set_Item (int index)): implement.
  621. * ClientTargetCollection.cs (set_Item (int index)): implement.
  622. * AssemblyCollection.cs (set_Item (int index)): implement.
  623. * BuildProviderCollection.cs (set_Item (int index)): reformat.
  624. * CustomError.cs (Equals): implement.
  625. (GetHashCode): implement.
  626. * ExpressionBuilderCollection.cs (set_Item (int index)): reformat.
  627. * PassportAuthentication.cs (RedirectUrl): express consternation
  628. in comment form.
  629. * NamespaceCollection.cs (set_Item (int index)): implement.
  630. * RootProfilePropertySettingsCollection.cs (SerializeElement): add
  631. comment.
  632. * ProfilePropertySettingsCollection.cs (set_Item (int index)):
  633. implement.
  634. * CustomErrorCollection.cs (set_Item (int index)): implement.
  635. * HttpModuleActionCollection.cs (set_Item (int index)): implement.
  636. * CodeSubDirectoriesCollection.cs (set_Item (int index)):
  637. implement.
  638. * CustomErrorsSection.cs (DeserializeSection): include call to
  639. base.DeserializeSection, and add MonoTODO.
  640. * EventMappingSettingsCollection.cs (set_Item (int index)):
  641. implement.
  642. * AuthorizationRule.cs (Equals): implement.
  643. (GetHashCode): implement.
  644. (SerializeElement): add comment.
  645. * TagMapCollection.cs (Remove): pass the key to BaseRemove.
  646. (set_Item (int index)): implement.
  647. * TagMapInfo.cs (Equals): implement.
  648. (GetHashCode): implement.
  649. (SerializeElement): add call to base.SerializeElement.
  650. * TrustLevelCollection.cs (Remove): pass the key to BaseRemove.
  651. (GetElementKey): implement.
  652. * SqlCacheDependencyDatabase.cs (set_Item (int index)): implement.
  653. * WebContext.cs: new implementation.
  654. 2005-11-13 Chris Toshok <[email protected]>
  655. * AnonymousIdentificationSection.cs: rework this class a bit to
  656. fit in with the rest of S.W.C. Add validators to the
  657. ConfigurationProperty ctor calls, a pattern which will need to be
  658. replicated across the entire assembly, it appears (uggggh).
  659. 2005-11-13 Chris Toshok <[email protected]>
  660. * AuthorizationRuleCollection.cs: fix ConfigurationCollection
  661. attribute.
  662. * TransformerInfo.cs: fix corcompare.
  663. * SqlCacheDependencyDatabase.cs: mark ctor internal to fix
  664. corcompare.
  665. * AuthenticationSection.cs: add missing Reset stub.
  666. * ProfileSettingsCollection.cs: use the more succint ctor.
  667. * FormsAuthenticationUser.cs: enable the TypeConverter on "name".
  668. * GlobalizationSection.cs: fix up corcompare.
  669. * WebPartsSection.cs: fix up corcompare.
  670. * ProfileGroupSettingsCollection.cs: add missing
  671. ConfigurationCollection attribute.
  672. * ExpressionBuilder.cs: implement.
  673. * FormsAuthenticationCredentials.cs: fix up corcompare.
  674. * AssemblyCollection.cs: implement Properties.
  675. * SiteMapSection.cs: implement Properties.
  676. * ExpressionBuilderCollection.cs: fix up corcompare.
  677. * ProfileSettings.cs: add missing ctor.
  678. * PassportAuthentication.cs: new implementation.
  679. * SqlCacheDependencySection.cs: fix up corcompare.
  680. * ProfilePropertySettingsCollection.cs: fix up corcompare.
  681. * HttpModuleActionCollection.cs: fix up corcompare.
  682. * EventMappingSettingsCollection.cs: fix up corcompare.
  683. * AuthorizationRule.cs: fix up corcompare.
  684. * WebControlsSection.cs: fix up corcompare.
  685. * AuthorizationSection.cs: fix up corcompare.
  686. * MembershipSection.cs: clean this up, implement Properties, fix
  687. up corcompare, etc.
  688. 2005-11-13 Chris Toshok <[email protected]>
  689. * UrlMapping.cs, CustomErrorCollection.cs, CustomError.cs,
  690. HostingEnvironmentSection.cs, TrustLevel.cs,
  691. HttpCookiesSection.cs, UrlMappingsSection.cs,
  692. UrlMappingCollection.cs, LowerCaseStringConverter.cs,
  693. RoleManagerSection.cs, ProcessModelSection.cs,
  694. TrustLevelCollection.cs, ClientTarget.cs, CustomErrorsSection.cs,
  695. MachineKeySection.cs, SessionPageStateSection.cs,
  696. SessionStateSection.cs, ProvidersHelper.cs,
  697. ClientTargetCollection.cs, SecurityPolicySection.cs,
  698. HttpCapabilitiesBase.cs, ClientTargetSection.cs: Another large
  699. swath.
  700. 2005-11-12 Chris Toshok <[email protected]>
  701. * AuthorizationRuleCollection.cs, AuthorizationRule.cs,
  702. AuthorizationSection.cs, BufferModesCollection.cs,
  703. BufferModeSettings.cs, CacheSection.cs, CompilerCollection.cs,
  704. Compiler.cs, DeploymentSection.cs,
  705. EventMappingSettingsCollection.cs, EventMappingSettings.cs,
  706. GlobalizationSection.cs, HealthMonitoringSection.cs,
  707. IdentitySection.cs, OutputCacheProfileCollection.cs,
  708. OutputCacheProfile.cs, OutputCacheSection.cs,
  709. OutputCacheSettingsSection.cs, ProfileSettingsCollection.cs,
  710. ProfileSettings.cs, RuleSettingsCollection.cs, RuleSettings.cs,
  711. SqlCacheDependencyDatabaseCollection.cs,
  712. SqlCacheDependencyDatabase.cs, SqlCacheDependencySection.cs,
  713. SystemWebCachingSectionGroup.cs, TraceSection.cs,
  714. TransformerInfoCollection.cs, TransformerInfo.cs, TrustSection.cs,
  715. WebControlsSection.cs, WebPartsPersonalizationAuthorization.cs,
  716. WebPartsPersonalization.cs, WebPartsSection.cs,
  717. XhtmlConformanceSection.cs: a whole slew of new classes. the
  718. fruits of tons of c&p and ibuprofen.
  719. 2005-11-09 Chris Toshok <[email protected]>
  720. * PagesSection.cs, AuthenticationSection.cs, BuildProvider.cs,
  721. BuildProviderCollection.cs, HttpHandlerActionCollection.cs,
  722. HttpModulesSection.cs, HttpModuleAction.cs,
  723. HttpModuleActionCollection.cs, AnonymousIdentificationSection.cs,
  724. CodeSubDirectory.cs, CodeSubDirectoriesCollection.cs,
  725. SystemWebSectionGroup.cs, SiteMapSection.cs,
  726. WebConfigurationManager.cs: flesh out the implementation.
  727. * TagMap*.cs, TagPrefix*.cs: new implementation.
  728. * FormsAuthentication*.cs: new implementation.
  729. * Profile*.cs: new implementation.
  730. * Namespace*.cs: new implementation.
  731. * HttpRuntimeSection.cs: new implementation.