ChangeLog 32 KB

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