ChangeLog 53 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601
  1. 2009-06-03 Marek Habersack <[email protected]>
  2. * MonoSettingsSection.cs: added new property,
  3. verificationCompatibility, which serves the same purpose as the
  4. registry key described in http://support.microsoft.com/kb/932552
  5. (when set to 1 it turns off virtual path validity
  6. verification). Fixes bug #509163
  7. 2009-05-14 Marek Habersack <[email protected]>
  8. * HttpHandlersSection.cs: if we're matching a default handler,
  9. disallow caching.
  10. 2009-04-03 Marek Habersack <[email protected]>
  11. * WebConfigurationManager.cs: added code in the static constructor
  12. to enable retrieving application settings via
  13. ApplicationSettingsBase from within asp.net applications. Fixes
  14. bug #491531
  15. * ApplicationSettingsConfigurationFileMap.cs: added.
  16. 2009-03-12 Dean Brettle <[email protected]>
  17. * nBrowser/Build.cs: made Browser() method thread-safe and moved the
  18. actual tree creation to a private InitializeTree() method for clarity.
  19. 2009-03-01 Marek Habersack <[email protected]>
  20. * WebConfigurationManager.cs: optimized GetWebApplicationSection a
  21. bit
  22. 2009-02-28 Marek Habersack <[email protected]>
  23. * WebConfigurationManager.cs: make sure no nrex happens in
  24. GetSectionCacheKey ()
  25. 2009-02-26 Gonzalo Paniagua Javier <[email protected]>
  26. * WebConfigurationManager.cs: generate a hash from the string hsah
  27. codes instead of concatenating them.
  28. 2009-01-27 Marek Habersack <[email protected]>
  29. * HttpHandlerAction.cs: removed the matches cache, it doesn't
  30. improve matters here in 99% of the cases.
  31. Regexps are no longer used to match handler paths, SearchPattern
  32. is used instead.
  33. 2009-01-26 Marek Habersack <[email protected]>
  34. * WebConfigurationHost.cs: when an attempt to map a fake virtual
  35. path is made, MapPath returns the aplication physical root
  36. directory. Fixes bug #463950
  37. 2008-01-09 Dean Brettle <[email protected]>
  38. * nBrowser/Node.cs: Fixed compatibility bug where <identification> sections were required
  39. in browser defs.
  40. 2009-01-09 Marek Habersack <[email protected]>
  41. * WebConfigurationManager.cs: do not normalize the path in
  42. FindWebConfig when getting the virtual directory.
  43. 2009-01-08 Marek Habersack <[email protected]>
  44. * WebConfigurationManager.cs: improve performance of
  45. FindWebConfig.
  46. 2009-01-07 Marek Habersack <[email protected]>
  47. * HttpModulesSection.cs: allow for modules with non-public
  48. constructors. Fises bug #463971
  49. * HttpHandlerAction.cs: allow for handlers with non-public
  50. constructors. Fixes bug #463971
  51. 2008-12-24 Marek Habersack <[email protected]>
  52. * WebConfigurationManager.cs: A better version of the previous
  53. GetSection fix. Right now the method searches for directories
  54. containing web.config and uses them, if found, to open the web
  55. configuration. If no web.config is found, web configuration is
  56. opened for the root application directory.
  57. * WebConfigurationHost.cs: made GetWebConfigFileName internal
  58. static, so that code can be reused from WebConfigurationManager.
  59. 2008-12-23 Marek Habersack <[email protected]>
  60. * WebConfigurationManager.cs: GetSection should call
  61. OpenWebConfiguration using the actual directory path, not a file
  62. path. If it fails to do so, System.Configuration may treat the
  63. top-level Web.config file as a child one which, in turn, in
  64. certain circumstances will lead to duplicate keys inserted in
  65. collections.
  66. 2008-12-16 Marek Habersack <[email protected]>
  67. * WebConfigurationHost.cs: IsDefinitionAllowed should treat
  68. configPath == "~" as the root application path.
  69. 2008-12-12 Owen Brady <[email protected]>
  70. * nBrowser/File.cs, nBrowser/Identification.cs, nBrowser/Node.cs, nBrowser/NodeTypes.cs,
  71. nBrowser/Result.cs, nBrowser/Build.cs, nBrowser/Exception.cs, CapabilitiesBuild.cs,
  72. CapabilitiesResult.cs: Updated Copyright information to include updated contact information.
  73. * nBrowser/Build.cs: Removed LoadDefaultEmbeddedResource function, the embeded resource
  74. it is referring too was never included in Mono. And was designed for a free standing
  75. browser identification libary.
  76. * nBrowser/Exception.cs: Removed Compile Attributes and related comments which were left
  77. in from the original free standing browser libary.
  78. * CapabilitiesBuild.cs: Removed Header Checksum related coding since it is not required
  79. for the Mono implementation.
  80. * CapabilitiesResult.cs: Updated Copyright information to include updated contact information.
  81. Removed functions which were designed to make use of features of a embeded browser file which
  82. is not present in Mono.
  83. * CapabilitiesChecksum.cs, RandomRoboBotKeywords.txt: Deleted
  84. 2008-10-21 Marek Habersack <[email protected]>
  85. * CapabilitiesChecksum.cs: implement Hex and MapToHex more efficiently.
  86. 2008-10-09 Marek Habersack <[email protected]>
  87. * MonoSettingsSection.cs: added - a section for mono-specific
  88. settings.
  89. 2008-10-01 Marek Habersack <[email protected]>
  90. * CapabilitiesResult.cs: added support for the "browsers"
  91. capability - a collection of matching browser ids.
  92. * nBrowser/Node.cs: store matching browser ids in the capabilities
  93. collection (to support IsBrowser correctly)
  94. 2008-07-25 Dean Brettle <[email protected]>
  95. * nBrowser/Node.cs nBrowser/Build.cs nBrowser/Identification.cs: Fixed race
  96. condition in Node.Process() by removing mutating functions from Identification
  97. and changing Node.Process() and Node.BrowserIdentification() to maintain
  98. state in a List<Match> instead of a List<Identification>.
  99. * nBrowser/Node.cs: Fixed race condition associated with lookup of adapter
  100. types.
  101. * nBrowser/Node.cs: Removed duplicate call to Node.BrowserIdentification() from
  102. Node.Process().
  103. * nBrowser/Node.cs: Removed duplicate call to Result.AddAdaper() from Node.Process().
  104. * nBrowser/Node.cs: Fixed bug where capabilities containing literal $ or % were
  105. dropped.
  106. * nBrowser/Node.cs: Fixed bug where capabilities with multiple $ substitutions only
  107. had one applied.
  108. 2008-06-30 Zoltan Varga <[email protected]>
  109. * CapabilitiesResult.cs: Make the RandomRoboBotKeywords array static and compute it
  110. only once.
  111. 2008-06-30 Marek Habersack <[email protected]>
  112. * CompilationSection.cs: hush the warnings
  113. 2008-06-26 Zoltan Varga <[email protected]>
  114. * nBrowser/Node.cs nBrowser/Result.cs: Avoid looking up adapter types names for
  115. every request in every assembly.
  116. 2008-05-22 Marek Habersack <[email protected]>
  117. * WebConfigurationHost.cs: changed CreateDeprecatedConfigContext
  118. to return a new HttpContext object. This is part of a fix for bug
  119. #325128. Patch contributed by James Fitzsimons <[email protected]>,
  120. thanks!
  121. 2008-05-07 Marek Habersack <[email protected]>
  122. * RoleManagerSection.cs: use type converter when creating the
  123. cookieTimeout property in the static constructor. Fixes bug
  124. #387526. Patch fromIvan Hamilton <[email protected]>, thanks!
  125. 2008-03-23 Dean Brettle <[email protected]>
  126. * CapabilitiesBuild.cs (Process), ICapabilitiesProcess.cs (Process),
  127. nBrowser/Build.cs (Process): Added initialCapabilities argument to
  128. facilitate using browscap.ini capabilities.
  129. * CapabilitiesResult.cs (ctor), nBrowserResult.cs (ctor): Change
  130. items arg to IDictionary to facilitate using browscap.ini capabilities.
  131. * nBrowser/Node.cs (Reset): Removed code which checked prohibited
  132. non-alphanumerics in id attributes because .NET is not that strict.
  133. * nBrowser/Node.cs (MergeFrom): Fixed NullReferenceExceptions that
  134. occurred when the source or destination node did not have any
  135. capabilities or adapters.
  136. * nBrowser/Result.cs (AddAdapter): Fixed to allow types in other
  137. assemblies.
  138. 2008-03-09 Dean Brettle <[email protected]>
  139. * nBrowser/Result.cs, nBrowser/NodeTypes.cs, nBrowser/Identification.cs,
  140. nBrowser/File.cs, nBrowser/Build.cs, nBrowser/Node.cs,
  141. nBrowser/Exception.cs: added. The code under nBrowser handles *.browser
  142. files. It is based on Owen "Ocean" Brady's code, with the following
  143. changes and improvements. Replaced Result.Adapter
  144. property with AdapterTypeMap property which maps control Type to adapter
  145. Type. Added Result.MarkupTextWriter property. Added overrides for
  146. Result.GetAdapters and Result.GetTagWriter to return MarkupTextWriter
  147. and AdapterTypeMap, resp. Changed tree building algorithm to not
  148. depend on nodes with id="Default" and to inject defaultBrowser nodes
  149. as parents of regular nodes with the same ids. Changed Node.cs to use
  150. Item instead of Add when adding a capability or sample header, so that
  151. values get replaced instead of appended. Added support for reference
  152. nodes (ie. nodes with refID="someID").
  153. * CapabilitiesResult.cs: load RandomRoboBotKeywords.txt resource
  154. using the correct name.
  155. * RandomRoboBotKeywords.txt: added
  156. * HttpCapabilitiesBase.cs (CreateHtmlWriter, Adapters): Added
  157. support for *.browsers. Adapters property calls internal virtual
  158. GetAdapters() method which is overrided in nBrowser.Result
  159. returned by nBrowser code. CreateHtmlWriter uses type specified
  160. by TagWriter property.
  161. 2008-03-03 Vladimir Krasnov <[email protected]>
  162. * ProvidersHelper.cs: fixed thread safety issue in InstantiateProvider
  163. 2008-03-01 Marek Habersack <[email protected]>
  164. * WebConfigurationManager.cs: SettingsMappingManager has been
  165. moved to Mono.Web.dll
  166. 2008-02-28 Marek Habersack <[email protected]>
  167. * HttpHandlerAction.cs: ignore case when matching handler
  168. paths. Fixes bug #364995
  169. 2008-02-26 Marek Habersack <[email protected]>
  170. * BuildProviderCollection.cs: be case-insensitive when looking for
  171. the extension match.
  172. 2008-02-25 Marek Habersack <[email protected]>
  173. * WebConfigurationManager.cs: hashtable can contain a key with a
  174. null value, avoid adding duplicate keys in such cases.
  175. 2008-02-18 Vladimir Krasnov <[email protected]>
  176. * WebConfigurationManager.cs: performance improvement, cached
  177. GetSection method
  178. 2008-02-07 Vladimir Krasnov <[email protected]>
  179. * GlobalizationSection.cs: fixed GetSanitizedCulture, performance
  180. optimization
  181. 2008-02-05 Marek Habersack <[email protected]>
  182. * CompilerCollection.cs: Get (string language) should not use
  183. BaseGet as our collection is keyed on a list of language names
  184. (e.g. "cs;csharp") and passing a single language won't match in
  185. BaseGet correctly. Use the overriden indexer instead.
  186. Initialize the base class with the case-insensitive
  187. comparer. Fixes bug #357824.
  188. 2008-01-27 Daniel Nauck <[email protected]>
  189. * HttpHandlerAction.cs: fixed the internal method PathMatches ()
  190. removed wrong caching of FileMatchingInfo classes with request specific
  191. informations. Now we check against the current request path and cache
  192. the result in a dictionary.
  193. Also check correctly against all possible paths from the HttpHandler.
  194. 2007-12-27 Marek Habersack <[email protected]>
  195. * ProfileGroupSettingsCollection.cs: added an internal method to
  196. add/overwrite new group settings. Used from
  197. RootProfilePropertySettingsCollection.
  198. * ProfileGroupSettings.cs: added the missing "name" property to
  199. the properties collection.
  200. Marked the propertySettingsProp property as the default
  201. collection.
  202. Added internal deserialization method, used from
  203. RootProfilePropertySettingsCollection to support the 'group'
  204. element.
  205. * ProfileSection.cs: defaultProviderProp typo - the name of the
  206. provider should be "AspNetSqlProfileProvider"
  207. * RootProfilePropertySettingsCollection.cs: added
  208. OnDeseerializeUnrecognizedElement to support the profile 'group'
  209. element.
  210. Added a missing Unmerge method.
  211. 2007-12-11 Vladimir Krasnov <[email protected]>
  212. * SiteMapSection.cs: fixed ProvidersInternal property to be thread safe
  213. 2007-12-08 Marek Habersack <[email protected]>
  214. * WebConfigurationManager.cs: GetSection now runs each section
  215. through a mapper (if any is defined for the section) before
  216. returning it to the caller.
  217. 2007-11-23 Marek Habersack <[email protected]>
  218. * TagPrefixCollection.cs: changed the collection type to
  219. BasicMap.
  220. * ProfileSection.cs: added missing Properties property, added a
  221. static constructor to create property descriptors. Use property
  222. descriptors in property accessors.
  223. * ProfileGroupSettingsCollection.cs: added missing attribute to
  224. the class, removed CollectionType method, added missing IsModified
  225. and ResetModified methods, added missing Properties property.
  226. * ProfileGroupSettings.cs: added missing Properties property,
  227. adjusted the set of custom attributes of the PropertySettings
  228. property.
  229. * ProcessModelSection.cs: change the default value of the CpuMask
  230. property.
  231. * OutputCacheSection.cs: added the EnableKernelCacheForVaryByStar
  232. property.
  233. * OutputCacheProfile.cs: added the VaryByContentEncoding property.
  234. * FormsAuthenticationConfiguration.cs: corrected defaults for the
  235. Timeout property.
  236. * ExpressionBuilder.cs: corrected defaults for the
  237. ExpressionPrefix and Type properties.
  238. * CustomErrorsSection.cs: added two missing overrides -
  239. DeserializeSection and Reset.
  240. * ClientTargetSection.cs: added the missing Properties property.
  241. Added static constructor to create the property collection.
  242. * CustomErrorCollection.cs: removed the ThrowOnDuplicate
  243. property.
  244. * CacheSection.cs: corrected defaults for the
  245. PercentagePhysicalMemoryUsedLimit property.
  246. * ClientTargetCollection.cs: added missing Properties property.
  247. * IConfigMapPathFactory.cs: added
  248. * IConfigMapPath.cs: added
  249. * RoleManagerSection.cs: added a static constructor, a collection
  250. of properties, the missing Properties property.
  251. 2007-11-22 Marek Habersack <[email protected]>
  252. * RoleManagerSection.cs: CookieTimeout property custom attributes
  253. changed to match MS.NET's ones.
  254. * AuthorizationRuleCollection.cs: removed the ThrowOnDuplicate
  255. property - it's not found in the MS.NET version of the class.
  256. 2007-11-06 Marek Habersack <[email protected]>
  257. * MachineKeySectionUtils.cs: make sure keys are autogenerated when
  258. necessary.
  259. 2007-11-02 Marek Habersack <[email protected]>
  260. * HttpHandlerActionCollection.cs: clear http handler cache in
  261. HttpApplication if the collection is modified.
  262. 2007-11-01 Marek Habersack <[email protected]>
  263. * MachineKeySection.cs: moved all the internal static methods and
  264. properties to MachineKeySectionUtils.cs
  265. * MachineKeySectionUtils.cs: added. This file is included in the
  266. System.Web.Extensions compilation.
  267. The old properties from MachineKeySection.cs became methods.
  268. 2007-10-24 Marek Habersack <[email protected]>
  269. * HttpHandlerAction.cs: exact path matching must be done on the
  270. original string in PathMatches, not on the sliced one. Fixes bug
  271. #335669.
  272. 2007-10-17 Marek Habersack <[email protected]>
  273. * WebConfigurationHost.cs: if running outside hosted environment,
  274. read only the assemblyname.config configuration file instead of
  275. web.config. Fixes bug #332425
  276. 2007-10-15 Marek Habersack <[email protected]>
  277. * ProvidersHelper.cs: use HttpApplication.LoadType instead of
  278. Type.GetType.
  279. * HttpModulesSection.cs: use HttpApplication.LoadType when loading
  280. modules, to include both the bin/ directory and the top-level
  281. assemblies in search. Fixes bug #333686.
  282. 2007-08-30 Marek Habersack <[email protected]>
  283. * MachineKeySection.cs: retrieve the keys from the registry before
  284. falling back to the old method. Fixes bug #76606
  285. 2007-08-23 Marek Habersack <[email protected]>
  286. * ProvidersHelper.cs: HttpApplication.LoadTypeFromPrivateBin
  287. renamed to LoadTypeFromBin.
  288. 2007-08-21 Marek Habersack <[email protected]>
  289. * ProvidersHelper.cs: use HttpApplication.LoadTypeFromPrivateBin
  290. to get the provider settings type.
  291. 2007-08-10 Gert Driesen <[email protected]>
  292. * PagesEnableSessionState.cs: Marked internal on 1.0 profile.
  293. 2007-07-16 Vladimir Krasnov <[email protected]>
  294. * ProfileGroupSettingsCollection.cs: added ResetInternal internal
  295. method
  296. * RootProfilePropertySettingsCollection.cs: added Reset method
  297. override to reset GroupSettings collection
  298. 2007-06-24 Vladimir Krasnov <[email protected]>
  299. * HttpHandlerAction.cs: fixed SplitPaths property to be thread safe
  300. 2007-06-12 Vladimir Krasnov <[email protected]>
  301. * CompilationSection.cs: TARGET_JVM on not supported features
  302. * HttpModulesSection.cs: ctor should be static
  303. 2007-06-03 Adar Wesley <[email protected]>
  304. * ProfilePropertySettingsCollection.cs: added missing method
  305. OnDeserializeUnrecognizedElement.
  306. 2007-05-30 Marek Habersack <[email protected]>
  307. * WebConfigurationManager.cs: if errors happen when opening the
  308. configuration file, mark the manager as unsafe to prevent further
  309. usage and avoid error loops.
  310. 2007-05-17 Igor Zelmanovich <[email protected]>
  311. * WebConfigurationHost.cs: for TARGET_J2EE only:
  312. prevent NullRefference Exception.
  313. 2007-05-15 Igor Zelmanovich <[email protected]>
  314. * WebConfigurationManager.cs:
  315. make configurations hashtable case-insensitive.
  316. * WebConfigurationHost.cs: for TARGET_J2EE only:
  317. GetStreamName returns file path in right case, that make it works
  318. on case-sensitive file system.
  319. 2007-05-15 Marek Habersack <[email protected]>
  320. * BuildProviderCollection.cs: refactoring - use
  321. HttpApplication.LoadType to actually look up the type.
  322. * HttpHandlerAction.cs: as above
  323. * WebConfigurationHost.cs: refactoring - moved the LoadType to
  324. HttpApplication to share the code between 1.1 and 2.0 profiles.
  325. 2007-05-14 Marek Habersack <[email protected]>
  326. * UrlMappingCollection.cs: implemented the Item (string) indexer.
  327. * UrlMapping.cs: implemented the URL validation callback body
  328. (doesn't work at the moment).
  329. 2007-05-14 Igor Zelmanovich <[email protected]>
  330. * WebConfigurationManager.cs:
  331. make configurations synchronized.
  332. added new internal method RemoveConfigurationFromCache.
  333. 2007-05-07 Marek Habersack <[email protected]>
  334. * PagesSection.cs: buffering is on by default.
  335. 2007-04-24 Marek Habersack <[email protected]>
  336. * WebConfigurationHost.cs: wrap MapPath calls in try/catch,
  337. because bad URLs can cause it to throw exceptions. If such
  338. exception is caught, throw a HttpException for Bad Request (400).
  339. Look for types in the top-level assemblies (App_Code and
  340. friends).
  341. * WebConfigurationManager.cs: added two internal methods for safe
  342. retrieval of config sections.
  343. 2007-04-19 Marek Habersack <[email protected]>
  344. * HttpHandlerAction.cs: look up types in all the toplevel
  345. assemblies. Fixes bug #80897.
  346. 2007-04-17 Atsushi Enomoto <[email protected]>
  347. * ProcessModelSection.cs : cpuMask default value should be int,
  348. not uint.
  349. 2007-04-06 Marek Habersack <[email protected]>
  350. * CustomErrorsSection.cs: make the customErrors section work.
  351. * PagesSection.cs: provide appropriate default value for the
  352. asyncTimeout setting.
  353. 2007-03-24 Marek Habersack <[email protected]>
  354. * WebConfigurationHost.cs: allow MachineToApplication definition
  355. for config paths that equal the domain virtual app directory.
  356. 2007-03-22 Adar Wesley <[email protected]>
  357. * HttpCapabilitiesBase.cs: implemented all capabilities. Capabilities
  358. still throw if there is no value in browscaps.ini and the property is called.
  359. 2007-03-21 Vladimir Krasnov <[email protected]>
  360. * WebConfigurationManager.cs: fixed OpenWebConfiguration, should not
  361. lock when checking if configuration is already open
  362. 2007-03-15 Vladimir Krasnov <[email protected]>
  363. * WebConfigurationManager.cs: fixed OpenWebConfiguration, removed
  364. GetBasePath call and locations search, since this not affects
  365. configuration initialization, but improves performance
  366. 2007-03-12 Marek Habersack <[email protected]>
  367. * ProvidersHelper.cs: support loading custom providers from
  368. App_Code assemblies. Fixes bug #81071.
  369. Also set eol-style to native.
  370. 2007-03-08 Gert Driesen <[email protected]>
  371. * PagesSection.cs: Revert part of Adar's patch that regresses
  372. bug #80913.
  373. 2007-03-06 Adar Wesley <[email protected]>
  374. * PagesSection.cs: improve Enum parsing and strongly typed default values.
  375. 2007-02-20 Marek Habersack <[email protected]>
  376. * Patch from Gert Driesen <[email protected]>
  377. * PagesSection.cs: Process value of EnableSessionState attribute
  378. case-sensitive, and perform check in getter. Fix for bug #80913.
  379. * PageParser.cs: Added note on difference in behaviour between page
  380. level attribute and configuration attribute for enableSessionState.
  381. * PagesConfiguration.cs: Fixed compiler warning.
  382. 2007-02-22 Marek Habersack <[email protected]>
  383. * CompilerCollection.cs: Optimize language lookup a bit.
  384. 2007-02-05 Konstantin Triger <[email protected]>
  385. * TagPrefixCollection.cs: Fix element key creation.
  386. 2007-02-04 Konstantin Triger <[email protected]>
  387. * NamespaceInfo.cs, HttpModuleAction.cs, RoleManagerSection.cs:
  388. fix the default value.
  389. 2007-02-02 Marek Habersack <[email protected]>
  390. * TagPrefixCollection.cs: Add the CollectionType parameter.
  391. Get rid of unnecessary interface references in the class declaration.
  392. GetElementKey should return Source which should be unique, unlike TagPrefix.
  393. 2007-01-04 Konstantin Triger <[email protected]>
  394. * ProfileSection.cs: Ensure enabled = true by default; cleanup.
  395. 2006-12-27 Vladimir Krasnov <[email protected]>
  396. * CustomErrorCollection.cs: fixed ThrowOnDuplicate to false as in .net
  397. 2006-12-21 Gonzalo Paniagua Javier <[email protected]>
  398. * GlobalizationSection.cs: make encodings actually work for the 2.0
  399. profile.
  400. 2006-12-21 Marek Habersack <[email protected]>
  401. * TagMapInfo.cs: Add an internal default constructor for use from
  402. TagMapCollection.
  403. * TagMapCollection.cs: Don't call the string,string constructor of
  404. TagMapInfo - the class disallows empty strings as values of its
  405. properties.
  406. 2006-12-21 Vladimir Krasnov <[email protected]>
  407. * RoleManagerSection.cs: refactored using attributes
  408. 2006-12-20 Marek Habersack <[email protected]>
  409. * ProfilePropertyNameValidator.cs: added a few checks.
  410. 2006-12-18 Vladimir Krasnov <[email protected]>
  411. * WebConfigurationManager.cs: fixed GetSection to execute
  412. GetRuntimeObject, refactored GetSection and GetWebApplicationSection
  413. 2006-12-17 Vladimir Krasnov <[email protected]>
  414. * HttpHandlerAction.cs: fixed 'verb' config property
  415. 2006-12-07 Igor Zelmanovich <[email protected]>
  416. * ProvidersHelper.cs: fixed: load assembles from /bin
  417. 2006-11-22 Miguel de Icaza <[email protected]>
  418. * SessionStateSection.cs: Do not call Enum.Parse with a null
  419. argument, prevents an exception from being thrown.
  420. 2006-11-20 Marek Habersack <[email protected]>
  421. * GlobalizationSection.cs: Added support for "auto" cultures and
  422. the "auto:DEFAULT_CULTURE" cultures.
  423. 2006-11-13 Konstantin Triger <[email protected]>
  424. * WebConfigurationHost.cs: use Type.GetType for loading full qualified types.
  425. 2006-11-05 Vladimir Krasnov <[email protected]>
  426. * ProfileGroupSettings.cs, ProfileGroupSettingsCollection.cs
  427. ProfilePropertySettingsCollection.cs, ProfileSection.cs
  428. RootProfilePropertySettingsCollection.cs: refactoring and fix of
  429. <group> element
  430. 2006-10-18 Marek Habersack <[email protected]>
  431. * WebConfigurationManager.cs: implement support for extra
  432. assemblies to be referenced when compiling a page.
  433. 2006-09-06 Gonzalo Paniagua Javier <[email protected]>
  434. * WebConfigurationManager.cs: add null checks. Patch by Marek Habersack
  435. that fixes bug #79283.
  436. 2006-09-06 Konstantin Triger <[email protected]>
  437. * WebConfigurationHost.cs: do not recourse as this will be done by
  438. Configuration object.
  439. 2006-08-08 Vladimir Krasnov <[email protected]>
  440. * WebConfigurationManager.cs: added configSystem property under
  441. TARGET_JVM part
  442. * WebConfigurationHost.cs: fixed GetStreamName and OpenStreamForRead
  443. for TARGET_JVM
  444. * CompilationSection.cs: BuildProviders property removed from
  445. TARGET_JVM
  446. * SystemWebSectionGroup.cs: Compilation property removed from
  447. TARGET_JVM
  448. 2006-06-26 Atsushi Enomoto <[email protected]>
  449. * NullableStringValidator.cs : new internal class that is almost
  450. identical to StringValidator but allows null value.
  451. * PropertyHelper.cs : use new NullableStringValidator.
  452. * NamespaceCollection.cs : in NamespaceInfo "" is not allowed.
  453. 2006-06-08 Chris Toshok <[email protected]>
  454. * WebConfigurationHost.cs (InitForConfiguration): i know this is
  455. going to bite me in the ass, but guard against configPath being ==
  456. to "/", since this will result in an infinite loop.
  457. (MapPath): fix a NRE.
  458. 2006-05-18 Atsushi Enomoto <[email protected]>
  459. * WebConfigurationManager.cs: recent sys.config.dll changes on
  460. ConfigurationManager.GetSection() which should call
  461. GetRuntimeObject() should also apply here. Fixed monodoc web.
  462. 2006-05-10 Andrew Skiba <[email protected]>
  463. * HttpHandlerAction.cs: keep the internal exception
  464. 2006-05-08 Chris Toshok <[email protected]>
  465. * WebConfigurationManager.cs (GetBasePath): fix bug where
  466. path.Length was 0 when we got to the last while loop (and indexed
  467. -1 into an array.) Thanks Marek for the fix.
  468. 2006-05-04 Chris Toshok <[email protected]>
  469. [ Fixes bug #78256 ]
  470. * WebConfigurationHost.cs (GetConfigType): add a MonoTODO about
  471. how we should use the build provider machinery to get types.
  472. (MapPath): add rudimentary mapping in the case where we don't have
  473. a request, basically handle the case where the url begins with (or
  474. is) HttpRuntime.AppDomainAppVirtualPath.
  475. * WebConfigurationManager.cs (GetSection): if we don't have a
  476. valid request, open the web configuration corresponding to
  477. HttpRuntime.AppDomainAppVirtualPath.
  478. (GetBasePath): comment this a little, and make it work in the case
  479. where we don't have an HttpRequest.
  480. 2006-04-27 Chris Toshok <[email protected]>
  481. * AuthorizationRuleCollection.cs (ThrowOnDuplicate): for the time
  482. being introduce a overridden property MS doesn't make use of.
  483. This needs readdressing, but it should get people making use of
  484. <authorization> rules working again.
  485. 2006-04-25 Chris Toshok <[email protected]>
  486. * AuthorizationRule.cs (Reset): finally figure out what this
  487. method is supposed to do. Assign our Action property based on
  488. parentElement's.
  489. 2006-04-25 Chris Toshok <[email protected]>
  490. * WebConfigurationHost.cs (InitForConfiguration): actually, use
  491. HttpRuntime.AppDomainAppVirtualPath on gonzalo's recommendation.
  492. It's never null, and its use cleans things up a bit.
  493. 2006-04-25 Chris Toshok <[email protected]>
  494. * WebConfigurationHost.cs (InitForConfiguration): stop going up
  495. the virtual hierarchy once we reach the application's base virtual
  496. path.
  497. 2006-04-24 Chris Toshok <[email protected]>
  498. * AuthorizationSection.cs (IsValidUser): fix a problem that
  499. surfaced when converting from the 1.1 to 2.0 config classes. Only
  500. check for verb match if there are actually verbs to match against.
  501. 2006-04-11 Chris Toshok <[email protected]>
  502. * ExpressionBuilderCollection.cs (CreateNewElement): call argless
  503. ctor.
  504. * ExpressionBuilder.cs: add internal argumentless ctor for use by
  505. the collection type.
  506. 2006-03-24 Chris Toshok <[email protected]>
  507. * WebConfigurationManager.cs (GetConfig): add a fallback case for
  508. configuration sections that don't subclass from
  509. ConfigurationSection.
  510. 2006-03-24 Chris Toshok <[email protected]>
  511. * WebConfigurationHost.cs: fix bug where OpenWebConfiguration
  512. ("/") would result in 2 configurations for that toplevel path to
  513. be opened.
  514. 2006-03-08 Chris Toshok <[email protected]>
  515. * ProvidersHelper.cs: implement this static class properly.
  516. * SiteMapSection.cs (ProvidersInternal): add internal property to
  517. get the actual SiteMapProviderCollection from here.
  518. 2006-02-28 Chris Toshok <[email protected]>
  519. * BuildProviderAppliesTo.cs, PagesToCountAction.cs: nuke.
  520. 2006-02-10 Gonzalo Paniagua Javier <[email protected]>
  521. * Compiler.cs:
  522. * CompilerCollection.cs: removed compatibility code.
  523. * BuildProviderCollection.cs: add GetProviderForExtension().
  524. 2006-02-02 Chris Toshok <[email protected]>
  525. * WebConfigurationManager.cs (GetSection(string,string)):
  526. implement.
  527. 2006-02-01 Atsushi Enomoto <[email protected]>
  528. * TrustLevelCollection.cs, CodeSubDirectoriesCollection.cs,
  529. CustomErrorCollection.cs, CompilerCollection.cs,
  530. HttpHandlerActionCollection.cs,
  531. FormsAuthenticationUserCollection.cs,
  532. AuthorizationRuleCollection.cs, TagPrefixCollection.cs :
  533. CollectionType is public.
  534. 2006-02-01 Chris Toshok <[email protected]>
  535. * WebConfigurationManager.cs: In the normal case, get the current
  536. request's web.config, not the application's. If there is no
  537. current request, get the application's.
  538. (GetWebApplicationConfiguration): use Request.ApplicationPath, not
  539. Request.PhysicalApplicationPath. OpenWebConfiguration takes
  540. virtual paths.
  541. * HttpConfigurationSystem.cs: GetWebApplicationSection =>
  542. GetSection.
  543. 2006-02-01 Chris Toshok <[email protected]>
  544. * CompilerCollection.cs: CONFIGURATION_2_0 => NET_2_0
  545. * Compiler.cs: same.
  546. 2006-02-01 Chris Toshok <[email protected]>
  547. * HttpConfigurationSystem.cs: SupportsUserConfig == true. let's
  548. use this to determine if ConfigurationManager.AppSettings should
  549. be read-only or not.
  550. 2006-01-31 Chris Toshok <[email protected]>
  551. * WebConfigurationManager.cs: err, why did i ifdef stuff NET_2_0
  552. inside of an ifdef NET_2_0?
  553. 2006-01-30 Chris Toshok <[email protected]>
  554. * WebConfigurationManager.cs: lots of little changes. hopefully
  555. this doesn't break anyone. it fixes all the nunit problems
  556. gonzalo was having.
  557. * WebConfigurationHost.cs (GetStreamName): in the MachineWebPath
  558. case, handle the case where we have a WebConfigurationFileMap.
  559. (MapPath): this is likely wrong, but in the case where we don't
  560. have a file map or current HttpContext, just return the path.
  561. 2006-01-29 Chris Toshok <[email protected]>
  562. * HttpModulesSection.cs (LoadModules): I'm not sure we want to
  563. solve this problem in this way, but the 1.x code forces
  564. DefaultAuthenticationModule to be in the list of modules..
  565. Without this fix (or something else) HttpContext.User is null when
  566. it shouldn't be.
  567. 2006-01-26 Chris Toshok <[email protected]>
  568. * HttpConfigurationSystem.cs: new class that gets sections from
  569. web.config files.
  570. * WebConfigurationManager.cs: change a lot of the
  571. NotImplementedExceptions to NotSupportedExceptions.
  572. (AppSettings): implement by just returning
  573. ConfigurationManager.AppSettings (note this is broken because
  574. ConfigurationManager.AppSettings are read-only, but it works for
  575. reading.)
  576. (ConnectionStrings): same (and probably broken in the same way..)
  577. (Init): replace the 2.0 IInternalConfigSystem with our
  578. HttpConfigurationSystem.
  579. * WebConfigurationHost.cs: add a comment about how things are
  580. likely to work in the face of IRemoteWebConfigurationHostServer.
  581. (CreateConfigurationContext): return a WebContext instance.
  582. 2006-01-25 Chris Toshok <[email protected]>
  583. * AuthorizationSection.cs (IsValidUser): instead of a blanket
  584. false for a null user, just set the username to "" and short
  585. circuit out the check for roles.
  586. 2006-01-25 Chris Toshok <[email protected]>
  587. * AuthorizationRule.cs (CheckUser): handle * and ?, and use
  588. String.Compare instead of ==.
  589. (CheckVerb): use String.Compare instead of ==.
  590. * AuthorizationSection.cs (IsValidUser): return false for a null
  591. user.
  592. 2006-01-22 Chris Toshok <[email protected]>
  593. * GlobalizationSection.cs (VerifyData): quiet mcs.
  594. 2006-01-18 Chris Toshok <[email protected]>
  595. * SystemWebSectionGroup.cs: wrap System.Web.Services references in
  596. WEBSERVICES_DEP.
  597. 2006-01-16 Chris Toshok <[email protected]>
  598. * WebConfigurationManager.cs: implement a IConfigurationSystem for
  599. use with WebConfigurationManager.
  600. (GetSection): try to load the section
  601. using GetWebApplicationSection before calling into
  602. ConfigurationManager.GetSection.
  603. (GetWebApplicationConfiguration): move common code to here.
  604. (GetWebApplicationSection): use GetWebApplicationConfiguration.
  605. (AppSettings): implement.
  606. * WebConfigurationHost.cs (GetWebConfigFileName): add
  607. "Web.Config", and move to an array/loop implementation. maybe we
  608. should scan the directory and check ToLower() instead of
  609. explicitly enumerating?
  610. 2006-01-10 Chris Toshok <[email protected]>
  611. * SystemWebSectionGroup.cs (HostingEnvironment): enable this property.
  612. (ProcessModel): add the ConfigurationPropertyAttribute.
  613. 2006-01-10 Chris Toshok <[email protected]>
  614. * PagesSection.cs (.cctor): fix the default value for the
  615. enableSessionState attribute - it's not a bool, but a
  616. PagesEnableSessionState enum.
  617. 2006-01-10 Chris Toshok <[email protected]>
  618. * MachineKeySection.cs (ValidationKeyBytes, DecryptionKeyBytes,
  619. DecryptionKey192Bits): if the keys are null, generate them. Fixes
  620. Page.EnableViewStateMac support.
  621. 2006-01-09 Chris Toshok <[email protected]>
  622. * RoleManagerSection.cs, SqlCacheDepencendySection.cs,
  623. SessionStateSection.cs, TraceSection.cs, SecurityPolicySection.cs,
  624. PagesSection.cs, RulesSettings.cs, UrlMappingSection.cs: fix
  625. dumper output.
  626. 2006-01-09 Chris Toshok <[email protected]>
  627. * ExpressionBuilderCollection.cs (.cctor): no need to create a
  628. collection property here. we're already in the collection.
  629. * CompilationSection.cs: fix typo.
  630. 2006-01-04 Chris Toshok <[email protected]>
  631. * MachineKeySection.cs: bring over some more internal methods from
  632. MachineKeyConfig, and call Set{Decryption,Validation}Key from
  633. their respective property setters.
  634. 2006-01-03 Chris Toshok <[email protected]>
  635. * AuthorizationSection.cs (IsValidUser): add analogous method from
  636. AuthorizationConfig.cs.
  637. * AuthorizationRule.cs: add predicates for Verb, User, and Role
  638. analogous to what existed in AuthorizationConfig.cs.
  639. 2005-12-11 Chris Toshok <[email protected]>
  640. * WebConfigurationManager.cs (OpenMachineConfiguration): just call
  641. ConfigurationManager.OpenMachineConfiguration.
  642. (OpenWebConfiguration): remove the "IntPtr userToken" version and
  643. add a "string userName" version to clean up corcompare output.
  644. Modify all the overloads to pass null instead of IntPtr.Zero.
  645. (GetWebApplicationSection): if we're not running in a web
  646. application, use the machine configuration.
  647. 2005-12-06 Chris Toshok <[email protected]>
  648. * CodeSubDirectory.cs (DirectoryName): don't use an private field,
  649. but base[directoyNameProp].
  650. * AuthorizationRuleCollection.cs (Add): use BaseAdd (rule, false),
  651. so we can insert duplicates.
  652. (GetKey): nuke.
  653. (GetElementKey): MS for some reason just uses the action for the
  654. key, ToString()'ed.
  655. (Remove): pass the correct key.
  656. * ProfileGroupSettings.cs (GetHashCode): implement.
  657. * GlobalizationSection.cs (GetEncoding): for the utf-8 case, just
  658. use Encoding.UTF8.
  659. * AssemblyCollection.cs (Add): use BaseAdd (info, false) so we can
  660. insert duplicates.
  661. * CacheSection.cs (.cctor): make privateByteLimit's default 0L so
  662. we don't get a invalid cast exception later on.
  663. * AuthorizationRule.cs (VerifyData): split out the verification
  664. foo from PreSerialize.
  665. (PostDeserialize): so we can call it from here.
  666. (PreSerialize): and here.
  667. 2005-12-05 Chris Toshok <[email protected]>
  668. * AuthorizationRuleCollection.cs (GetKey): split out the logic for
  669. creating a key from a rule here.
  670. (GetElementKey): use it here.
  671. (Remove): and here.
  672. 2005-12-04 Chris Toshok <[email protected]>
  673. * UrlMapping.cs: add an internal argument-less ctor.
  674. * UrlMappingCollection.cs (CreateNewElement): use argument-less
  675. ctor.
  676. (GetKey): implement.
  677. (AllKeys): implement.
  678. * TrustLevel.cs: add an internal argument-less ctor.
  679. * TrustLevelCollection.cs (Set): implement.
  680. (CreateNewElement): use argument-less ctor.
  681. (IsElementName): implement.
  682. (ElementName): implement.
  683. (set_Item (int index)): use Set.
  684. (ThrowOnDuplicate): implement.
  685. * TagPrefixInfo.cs: add internal argument-less ctor.
  686. * TagPrefixCollection.cs (CreateNewElement): call argument-less
  687. ctor.
  688. (CollectionType): add text to TODO.
  689. (ElementName): implement.
  690. * SqlCacheDependencyDatabaseCollection.cs (Set): implement.
  691. (AllKeys): implement.
  692. * RuleSettings.cs: add internal argument-less ctor.
  693. * RuleSettingsCollection.cs (Contains): implement.
  694. (CreateNewElement): use argument-less ctor.
  695. (IndexOf): implement.
  696. (Insert): implement.
  697. * RootProfilePropertySettingsCollection.cs (IsModified): chain up
  698. to base.IsModified for now.
  699. (Reset): chain up to base.Reset for now.
  700. (ResetModified): chain up to base.ResetModified for now.
  701. * ProfileSettings.cs: add internal argument-less ctor.
  702. * ProfileSettingsCollection.cs (Contains): implement.
  703. (CreateNewElement): use argument-less ctor.
  704. (IndexOf): implement.
  705. (Insert): implement.
  706. * ProfilePropertySettingsCollection.cs (IndexOf): implement.
  707. (Set): implement.
  708. (AllKeys): implement.
  709. * ProfileGroupSettings.cs: add internal argument-less ctor.
  710. * ProfileGroupSettingsCollection.cs (CreateNewElement): use
  711. parameter-less ctor.
  712. (GetKey): implement.
  713. (ResetModified): for now call base.ResetModified.
  714. (Set): implement.
  715. (AllKeys): implement.
  716. * OutputCacheProfile.cs: add internal argument-less ctor.
  717. * OutputCacheProfileCollection.cs (CreateNewElement): use
  718. parameter-less ctor.
  719. (Set): implement.
  720. (AllKeys): implement.
  721. * HttpModuleActionCollection.cs (Add): remove MonoTODO.
  722. (CreateNewElement): same.
  723. * HttpHandlerActionCollection.cs (GetElementKey): build up the key
  724. from both the path and the verb.
  725. (Remove): same.
  726. * FormsAuthenticationUserCollection.cs (Set): implement.
  727. (AllKeys): implement.
  728. * EventMappingSettings.cs: add an internal argument-less ctor.
  729. * EventMappingSettingsCollection.cs (Contains): implement.
  730. (CreateNewElement): use argument-less ctor.
  731. (IndexOf): implement.
  732. (Insert): implement.
  733. * CompilerCollection.cs (GetKey): implement.
  734. (AllKeys): implement.
  735. * ClientTargetCollection.cs (GetKey): implement.
  736. (AllKeys): implement.
  737. * AuthorizationRuleCollection.cs (Set): implement.
  738. (ElementName): add some text to the MonoTODO.
  739. (set_Item (int index)): use Set.
  740. 2005-12-04 Chris Toshok <[email protected]>
  741. * CustomError.cs: add an internal argument-less ctor for use by
  742. the collection.
  743. * CustomErrorCollection.cs: implement all the MonoTODO's.
  744. 2005-12-02 Chris Toshok <[email protected]>
  745. * GlobalizationSection.cs (VerifyData): split out the stuff that
  746. used to live in PreSerialize here.
  747. (PreSerialize): call VerifyData here.
  748. (PostDeserialize): and here.
  749. 2005-12-01 Chris Toshok <[email protected]>
  750. * GlobalizationSection.cs (PreSerialize): add checks for Culture
  751. and UICulture properties.
  752. 2005-12-01 Chris Toshok <[email protected]>
  753. * AuthorizationRule.cs (..ctor): provide default values for
  754. roles/users/verbs here. Not sure if we should do this in the ctor
  755. or if the System.Configuration infrastructure should.. time will
  756. tell.
  757. (PreSerialize): throw if Roles.Count and Users.Count == 0.
  758. (SerializeElement): write out the element here. don't chain up to
  759. the base class since that has differing behavior than what we
  760. want.
  761. 2005-11-30 Chris Toshok <[email protected]>
  762. * CompilerCollection.cs: ugly hack to fix the
  763. 2.0-without-config-2.0 case. wrap this file in #if
  764. CONFIGURATION_2_0 as well as #if NET_2_0.
  765. * Compiler.cs: same.
  766. 2005-11-28 Chris Toshok <[email protected]>
  767. * SessionStateSection.cs (CookieLess): correct the compat function
  768. implementation.
  769. 2005-11-28 Chris Toshok <[email protected]>
  770. * GlobalizationSection.cs (GetEncoding): if the encoding name is
  771. null, default to utf-8 before we hit the try block, so we don't
  772. throw and generate a spurious warning.
  773. * SessionStateSection.cs: The Cookieless handling needs a custom
  774. parser, it appears, as the converter is a StringConverter, not a
  775. GenericEnumConverter.
  776. (ParseCookieMode): the parser.
  777. 2005-11-28 Chris Toshok <[email protected]>
  778. * PagesSection.cs (GetInstance): nuke.
  779. * CompilationSection.cs (GetInstance): nuke.
  780. 2005-11-28 Chris Toshok <[email protected]>
  781. * HttpHandlerAction.cs: add some c&p code from the 1.1 config
  782. stuff to look for matching handlers.
  783. (..ctor): add parameterless ctor.
  784. * HttpHandlerActionCollection.cs: clean up formatting.
  785. (CreateNewElement): call the parameter-less ctor for
  786. HttpHandlerAction.
  787. * HttpHandlersSection.cs (..ctor): add a ConfigurationProperty for
  788. the default collection.
  789. (get_Handlers): implement.
  790. (LocateHandler): copy over (and massage) some 1.1 config code.
  791. * MachineKeySection.cs: move some code over from the 1.1 config
  792. code to deal with autogeneration of keys, as well as converting
  793. from the string rep to the byte[] rep.
  794. 2005-11-28 Chris Toshok <[email protected]>
  795. * HttpModuleActionCollection.cs (CreateNewElement): use the new
  796. HttpModuleAction ctor.
  797. * HttpModuleAction.cs: add internal ctor with no parameters, for
  798. use in HttpModuleActionCollection.
  799. 2005-11-28 Chris Toshok <[email protected]>
  800. * GlobalizationSection.cs (..cctor): the encoding
  801. ConfigurationProperties are of type "string", even though the
  802. properties themselves are of type Encoding. we do conversions
  803. manually in the setter/getters. gross. Add code (mostly c&p +
  804. massaged from GlobalizationConfigurationHandler) for this and also
  805. to handle the culture gettes.
  806. 2005-11-26 Chris Toshok <[email protected]>
  807. * AuthorizationRuleCollection.cs (GetElementKey): implement this.
  808. * ProfilePropertyNameValidator.cs: make this internal, and add a
  809. blurb about how MS doesn't do the testing you'd expect them to.
  810. 2005-11-25 Chris Toshok <[email protected]>
  811. * AuthorizationRuleCollection.cs (CreateNewElement): remove
  812. MonoTODO.
  813. * CompilationSection.cs (GetRuntimeObject): add comment to TODO.
  814. * ProfileGroupSettings.cs: reformat some things.
  815. * FormsAuthenticationUser.cs (Name): remove MonoTODO.
  816. * WebPartsSection.cs (GetRuntimeObject): change TODO comment.
  817. * ProfilePropertySettings.cs: add internal argument-less ctor.
  818. * IdentitySection.cs (GetRuntimeObject): return this.
  819. * ProfilePropertySettingsCollection.cs: implement much of the
  820. TODO's.
  821. * WebControlsSection.cs (GetRuntimeObject): implement.
  822. * SqlCacheDependencyDatabaseCollection.cs (GetElementKey):
  823. implement.
  824. (GetKey): implement.
  825. 2005-11-24 Chris Toshok <[email protected]>
  826. * AssemblyInfo.cs: move this here from System.Web.Configuration,
  827. and fix up the properties.
  828. * SystemWebSectionGroup.cs: enable most of the sections (2
  829. remaining to be enabled.)
  830. 2005-11-24 Chris Toshok <[email protected]>
  831. * ProcessModelSection.cs, SqlCacheDependencySection.cs,
  832. SessionStateSection.cs, PassportAuthentication.cs,
  833. FormsAuthenticationConfiguration.cs,
  834. SqlCacheDependencyDatabase.cs, HttpModuleAction.cs,
  835. BufferModeSettings.cs, TagPrefixInfo.cs (..cctor): init
  836. elementProperty.
  837. (ValidateElement): new static validator callback.
  838. (ElementProperty): enable this, return elementProperty.
  839. 2005-11-23 Chris Toshok <[email protected]>
  840. * ProfilePropertyNameValidator.cs: new implementation.
  841. * ProfilePropertySettings.cs, ProfileGroupSettings.cs,
  842. ClientTargetSection.cs, ClientTargetSection.cs,
  843. BufferModeSettings.cs, HttpModulesSection.cs,
  844. WebPartsPersonalization.cs, TransformerInfo.cs, TrustLevel.cs,
  845. NamespaceInfo.cs, SqlCacheDependencyDatabase.cs,
  846. AuthenticationSection.cs, RuleSettings.cs,
  847. FormsAuthenticationUser.cs, WebPartsSection.cs, BuildProvider.cs,
  848. WebPartsPersonalizationAuthorization.cs, Compiler.cs,
  849. ExpressionBuilder.cs, OutputCacheProfile.cs,
  850. FormsAuthenticationCredentials.cs, XhtmlConformanceSection.cs,
  851. OutputCacheSettingsSection.cs, CustomError.cs, TraceSection.cs,
  852. ExpressionBuilderCollection.cs, ProfileSettings.cs,
  853. SessionStateSection.cs, HealthMonitoringSection.cs,
  854. FormsAuthenticationConfiguration.cs, HttpRuntimeSection.cs,
  855. SessionPageStateSection.cs, TrustSection.cs,
  856. AnonymousIdentificationSection.cs, WebControlsSection.cs,
  857. ClientTarget.cs, TagMapInfo.cs, AuthorizationSection.cs,
  858. ProcessModelSection.cs, RoleManagerSection.cs,
  859. MembershipSection.cs, CustomErrorsSection.cs (..cctor): fix
  860. validator/converters.
  861. * MachineKeySection.cs (..cctor): fix validators/converters.
  862. (Validation): enable the Converter.
  863. * CodeSubDirectory.cs (..cctor): fix validator/converters.
  864. (DirectoryName): add note about missing validator decoration.
  865. * HttpModuleAction.cs (..cctor): init properties.
  866. (Properties): return properties.
  867. * CompilationSection.cs (..cctor): fix validator/converters.
  868. (GetInstance): add in this pre-2.0 interface for the time being,
  869. hopefully it'll make it easier to migrate later on.
  870. * HttpHandlerActionCollection.cs (..cctor): init properties.
  871. (Properties): return properties.
  872. * PagesSection.cs (..cctor): fix validator/converters.
  873. (GetInstance): add in this pre-2.0 interface for the time being,
  874. hopefully it'll make it easier to migrate later on.
  875. * HttpHandlersSection.cs (..cctor): init properties.
  876. (Properties): return properties.
  877. * EventMappingSettings.cs (..cctor): fix validator/converters.
  878. (Name): add note about missing validator decoration.
  879. * HttpHandlerAction.cs (..cctor): fix validator/converters.
  880. (PAth, Type, Verb): add note about missing validator decoration.
  881. * NamespaceCollection.cs (..cctor): fix properties.
  882. * ProfilePropertySettingsCollection.cs (..cctor): init properties.
  883. (..ctor): don't throw NIE.
  884. (Properties): return properties.
  885. * HttpModuleActionCollection.cs (..cctor): init properties.
  886. (Properties): return properties.
  887. * CacheSection.cs (..cctor): fix validators/converters.
  888. (PrivateBytesPollTime): add note about missing validator
  889. decoration.
  890. * AuthorizationRule.cs (..cctor): fix validators/converters.
  891. (Roles, Users, Verbs): enable the TypeConverter decorations.
  892. * UrlMapping.cs (ValidateUrl): static method for use as a
  893. validation callback. unimplemented as yet.
  894. (..cctor): fix validators/converters.
  895. (MappedUrl): add note about missing validator decoration.
  896. * PropertyHelper.cs: static utility class which contains
  897. references to validators and converters for use in static
  898. constructors (building the Properties arrays).
  899. 2005-11-23 Chris Toshok <[email protected]>
  900. * MachineKeyValidationConverter.cs: new converter (and a pretty
  901. silly one, considering all it seems to do is convert "TripleDES"
  902. to "3DES").
  903. * HostingEnvironmentSection.cs (.cctor): use
  904. PositiveTimeSpanValidator like MS does.
  905. 2005-11-18 Chris Toshok <[email protected]>
  906. * HostingEnvironmentSection.cs (.cctor): add validators.
  907. * CompilationSection.cs (.cctor): fix defaultvalue of
  908. urlLinePragmas.
  909. 2005-11-18 Chris Toshok <[email protected]>
  910. * SystemWebSectionGroup.cs: enable a whole slew of properties.
  911. * RegexWorker.cs: stub this out.
  912. * HttpCapabilitiesBase.cs: remove GetClrVersions since it's in one
  913. of the other partial files.
  914. * CompilationSection.cs: fix this up.
  915. * PagesSection.cs: fix some types and add a comment to
  916. DeserializeSection.
  917. * CompilerCollection.cs (Add): new internal method.
  918. * ProvidersHelper.cs: put the using System.Configuration.Provider
  919. inside the NET_2_0 block.
  920. * CacheSection.cs: add validators.
  921. 2005-11-14 Chris Toshok <[email protected]>
  922. * BufferModeSettings.cs: add validators/converters to the
  923. programmatic property list.
  924. * BuildProvider.cs: add validators/converters to the programmatic
  925. property list, and add an internal ctor with no args.
  926. * Compiler.cs: wrap the code i hacked from the 1.1 stuff with a
  927. #region.
  928. * BuildProviderCollection.cs (CreateNewElement): use the internal
  929. BuildProvider ctor to get around validation.
  930. * AssemblyCollection.cs: same.
  931. 2005-11-14 Chris Toshok <[email protected]>
  932. * TagPrefixCollection.cs (Remove): pass the key to BaseRemove.
  933. (set_Item (int index)): implement.
  934. * TagPrefixInfo.cs (Equals): implement.
  935. (GetHashCode): implement.
  936. * AuthorizationRuleCollection.cs (CreateNewElement(string)):
  937. implement propertly.
  938. (IndexOf): implement.
  939. (IsElementName): implement.
  940. (ElementName): implement.
  941. (Item (int index)): implement.
  942. * FormsAuthenticationUserCollection.cs (set_Item (int index)): implement.
  943. * UrlMappingCollection.cs (set_Item (int index)): implement.
  944. * OutputCacheProfileCollection.cs (set_Item (int index)): implement.
  945. * TransformerInfo.cs (Equals): implement.
  946. (GetHashCode): implement.
  947. * NamespaceInfo.cs (Equals): implement.
  948. (GetHashCode): implement.
  949. * ProfileSettingsCollection.cs (set_Item (int index)): implement.
  950. * TransformerInfoCollection.cs (set_Item (int index)): implement.
  951. * HttpHandlerActionCollection.cs (set_Item (int index)): implement.
  952. * BufferModesCollection.cs (set_Item (int index)): implement.
  953. * BuildProvider.cs: use the base[fooProp] pattern instead of
  954. instance fields.
  955. * ProfileGroupSettingsCollection.cs: implement most of this class.
  956. * RuleSettingsCollection.cs (set_Item (int index)): implement.
  957. * ClientTargetCollection.cs (set_Item (int index)): implement.
  958. * AssemblyCollection.cs (set_Item (int index)): implement.
  959. * BuildProviderCollection.cs (set_Item (int index)): reformat.
  960. * CustomError.cs (Equals): implement.
  961. (GetHashCode): implement.
  962. * ExpressionBuilderCollection.cs (set_Item (int index)): reformat.
  963. * PassportAuthentication.cs (RedirectUrl): express consternation
  964. in comment form.
  965. * NamespaceCollection.cs (set_Item (int index)): implement.
  966. * RootProfilePropertySettingsCollection.cs (SerializeElement): add
  967. comment.
  968. * ProfilePropertySettingsCollection.cs (set_Item (int index)):
  969. implement.
  970. * CustomErrorCollection.cs (set_Item (int index)): implement.
  971. * HttpModuleActionCollection.cs (set_Item (int index)): implement.
  972. * CodeSubDirectoriesCollection.cs (set_Item (int index)):
  973. implement.
  974. * CustomErrorsSection.cs (DeserializeSection): include call to
  975. base.DeserializeSection, and add MonoTODO.
  976. * EventMappingSettingsCollection.cs (set_Item (int index)):
  977. implement.
  978. * AuthorizationRule.cs (Equals): implement.
  979. (GetHashCode): implement.
  980. (SerializeElement): add comment.
  981. * TagMapCollection.cs (Remove): pass the key to BaseRemove.
  982. (set_Item (int index)): implement.
  983. * TagMapInfo.cs (Equals): implement.
  984. (GetHashCode): implement.
  985. (SerializeElement): add call to base.SerializeElement.
  986. * TrustLevelCollection.cs (Remove): pass the key to BaseRemove.
  987. (GetElementKey): implement.
  988. * SqlCacheDependencyDatabase.cs (set_Item (int index)): implement.
  989. * WebContext.cs: new implementation.
  990. 2005-11-13 Chris Toshok <[email protected]>
  991. * AnonymousIdentificationSection.cs: rework this class a bit to
  992. fit in with the rest of S.W.C. Add validators to the
  993. ConfigurationProperty ctor calls, a pattern which will need to be
  994. replicated across the entire assembly, it appears (uggggh).
  995. 2005-11-13 Chris Toshok <[email protected]>
  996. * AuthorizationRuleCollection.cs: fix ConfigurationCollection
  997. attribute.
  998. * TransformerInfo.cs: fix corcompare.
  999. * SqlCacheDependencyDatabase.cs: mark ctor internal to fix
  1000. corcompare.
  1001. * AuthenticationSection.cs: add missing Reset stub.
  1002. * ProfileSettingsCollection.cs: use the more succint ctor.
  1003. * FormsAuthenticationUser.cs: enable the TypeConverter on "name".
  1004. * GlobalizationSection.cs: fix up corcompare.
  1005. * WebPartsSection.cs: fix up corcompare.
  1006. * ProfileGroupSettingsCollection.cs: add missing
  1007. ConfigurationCollection attribute.
  1008. * ExpressionBuilder.cs: implement.
  1009. * FormsAuthenticationCredentials.cs: fix up corcompare.
  1010. * AssemblyCollection.cs: implement Properties.
  1011. * SiteMapSection.cs: implement Properties.
  1012. * ExpressionBuilderCollection.cs: fix up corcompare.
  1013. * ProfileSettings.cs: add missing ctor.
  1014. * PassportAuthentication.cs: new implementation.
  1015. * SqlCacheDependencySection.cs: fix up corcompare.
  1016. * ProfilePropertySettingsCollection.cs: fix up corcompare.
  1017. * HttpModuleActionCollection.cs: fix up corcompare.
  1018. * EventMappingSettingsCollection.cs: fix up corcompare.
  1019. * AuthorizationRule.cs: fix up corcompare.
  1020. * WebControlsSection.cs: fix up corcompare.
  1021. * AuthorizationSection.cs: fix up corcompare.
  1022. * MembershipSection.cs: clean this up, implement Properties, fix
  1023. up corcompare, etc.
  1024. 2005-11-13 Chris Toshok <[email protected]>
  1025. * UrlMapping.cs, CustomErrorCollection.cs, CustomError.cs,
  1026. HostingEnvironmentSection.cs, TrustLevel.cs,
  1027. HttpCookiesSection.cs, UrlMappingsSection.cs,
  1028. UrlMappingCollection.cs, LowerCaseStringConverter.cs,
  1029. RoleManagerSection.cs, ProcessModelSection.cs,
  1030. TrustLevelCollection.cs, ClientTarget.cs, CustomErrorsSection.cs,
  1031. MachineKeySection.cs, SessionPageStateSection.cs,
  1032. SessionStateSection.cs, ProvidersHelper.cs,
  1033. ClientTargetCollection.cs, SecurityPolicySection.cs,
  1034. HttpCapabilitiesBase.cs, ClientTargetSection.cs: Another large
  1035. swath.
  1036. 2005-11-12 Chris Toshok <[email protected]>
  1037. * AuthorizationRuleCollection.cs, AuthorizationRule.cs,
  1038. AuthorizationSection.cs, BufferModesCollection.cs,
  1039. BufferModeSettings.cs, CacheSection.cs, CompilerCollection.cs,
  1040. Compiler.cs, DeploymentSection.cs,
  1041. EventMappingSettingsCollection.cs, EventMappingSettings.cs,
  1042. GlobalizationSection.cs, HealthMonitoringSection.cs,
  1043. IdentitySection.cs, OutputCacheProfileCollection.cs,
  1044. OutputCacheProfile.cs, OutputCacheSection.cs,
  1045. OutputCacheSettingsSection.cs, ProfileSettingsCollection.cs,
  1046. ProfileSettings.cs, RuleSettingsCollection.cs, RuleSettings.cs,
  1047. SqlCacheDependencyDatabaseCollection.cs,
  1048. SqlCacheDependencyDatabase.cs, SqlCacheDependencySection.cs,
  1049. SystemWebCachingSectionGroup.cs, TraceSection.cs,
  1050. TransformerInfoCollection.cs, TransformerInfo.cs, TrustSection.cs,
  1051. WebControlsSection.cs, WebPartsPersonalizationAuthorization.cs,
  1052. WebPartsPersonalization.cs, WebPartsSection.cs,
  1053. XhtmlConformanceSection.cs: a whole slew of new classes. the
  1054. fruits of tons of c&p and ibuprofen.
  1055. 2005-11-09 Chris Toshok <[email protected]>
  1056. * PagesSection.cs, AuthenticationSection.cs, BuildProvider.cs,
  1057. BuildProviderCollection.cs, HttpHandlerActionCollection.cs,
  1058. HttpModulesSection.cs, HttpModuleAction.cs,
  1059. HttpModuleActionCollection.cs, AnonymousIdentificationSection.cs,
  1060. CodeSubDirectory.cs, CodeSubDirectoriesCollection.cs,
  1061. SystemWebSectionGroup.cs, SiteMapSection.cs,
  1062. WebConfigurationManager.cs: flesh out the implementation.
  1063. * TagMap*.cs, TagPrefix*.cs: new implementation.
  1064. * FormsAuthentication*.cs: new implementation.
  1065. * Profile*.cs: new implementation.
  1066. * Namespace*.cs: new implementation.
  1067. * HttpRuntimeSection.cs: new implementation.