ChangeLog 35 KB

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