2
0

ChangeLog 35 KB

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