ChangeLog 37 KB

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