ChangeLog 34 KB

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