ChangeLog 37 KB

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