ChangeLog 36 KB

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