1 2009-06-08 Gonzalo Paniagua Javier <gonzalo@novell.com>
3 * HttpHandlerAction.cs: fix path matching when the pattern has more
6 2009-06-05 Marek Habersack <mhabersack@novell.com>
8 * WebConfigurationManager.cs: OpenWebConfiguration caches
9 configurations with a key generated from all the parameters passed
10 to it, not just from path.
11 Added internal GetSection method which takes HttpContext as its
12 third parameter - used in calling OpenWebConfiguration.
13 FindWebConfig is no longer used in GetSection - it breaks handling
14 of <location> elements in config files. Fixes bug #510302
16 2009-06-03 Marek Habersack <mhabersack@novell.com>
18 * MonoSettingsSection.cs: added new property,
19 verificationCompatibility, which serves the same purpose as the
20 registry key described in http://support.microsoft.com/kb/932552
21 (when set to 1 it turns off virtual path validity
22 verification). Fixes bug #509163
24 2009-05-14 Marek Habersack <mhabersack@novell.com>
26 * HttpHandlersSection.cs: if we're matching a default handler,
29 2009-04-03 Marek Habersack <mhabersack@novell.com>
31 * WebConfigurationManager.cs: added code in the static constructor
32 to enable retrieving application settings via
33 ApplicationSettingsBase from within asp.net applications. Fixes
36 * ApplicationSettingsConfigurationFileMap.cs: added.
38 2009-03-12 Dean Brettle <dean@brettle.com>
40 * nBrowser/Build.cs: made Browser() method thread-safe and moved the
41 actual tree creation to a private InitializeTree() method for clarity.
43 2009-03-01 Marek Habersack <mhabersack@novell.com>
45 * WebConfigurationManager.cs: optimized GetWebApplicationSection a
48 2009-02-28 Marek Habersack <mhabersack@novell.com>
50 * WebConfigurationManager.cs: make sure no nrex happens in
53 2009-02-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
55 * WebConfigurationManager.cs: generate a hash from the string hsah
56 codes instead of concatenating them.
58 2009-01-27 Marek Habersack <mhabersack@novell.com>
60 * HttpHandlerAction.cs: removed the matches cache, it doesn't
61 improve matters here in 99% of the cases.
62 Regexps are no longer used to match handler paths, SearchPattern
65 2009-01-26 Marek Habersack <mhabersack@novell.com>
67 * WebConfigurationHost.cs: when an attempt to map a fake virtual
68 path is made, MapPath returns the aplication physical root
69 directory. Fixes bug #463950
71 2008-01-09 Dean Brettle <dean@brettle.com>
73 * nBrowser/Node.cs: Fixed compatibility bug where <identification> sections were required
76 2009-01-09 Marek Habersack <mhabersack@novell.com>
78 * WebConfigurationManager.cs: do not normalize the path in
79 FindWebConfig when getting the virtual directory.
81 2009-01-08 Marek Habersack <mhabersack@novell.com>
83 * WebConfigurationManager.cs: improve performance of
86 2009-01-07 Marek Habersack <mhabersack@novell.com>
88 * HttpModulesSection.cs: allow for modules with non-public
89 constructors. Fises bug #463971
91 * HttpHandlerAction.cs: allow for handlers with non-public
92 constructors. Fixes bug #463971
94 2008-12-24 Marek Habersack <mhabersack@novell.com>
96 * WebConfigurationManager.cs: A better version of the previous
97 GetSection fix. Right now the method searches for directories
98 containing web.config and uses them, if found, to open the web
99 configuration. If no web.config is found, web configuration is
100 opened for the root application directory.
102 * WebConfigurationHost.cs: made GetWebConfigFileName internal
103 static, so that code can be reused from WebConfigurationManager.
105 2008-12-23 Marek Habersack <mhabersack@novell.com>
107 * WebConfigurationManager.cs: GetSection should call
108 OpenWebConfiguration using the actual directory path, not a file
109 path. If it fails to do so, System.Configuration may treat the
110 top-level Web.config file as a child one which, in turn, in
111 certain circumstances will lead to duplicate keys inserted in
114 2008-12-16 Marek Habersack <mhabersack@novell.com>
116 * WebConfigurationHost.cs: IsDefinitionAllowed should treat
117 configPath == "~" as the root application path.
119 2008-12-12 Owen Brady <Ocean@owenbrady.net>
121 * nBrowser/File.cs, nBrowser/Identification.cs, nBrowser/Node.cs, nBrowser/NodeTypes.cs,
122 nBrowser/Result.cs, nBrowser/Build.cs, nBrowser/Exception.cs, CapabilitiesBuild.cs,
123 CapabilitiesResult.cs: Updated Copyright information to include updated contact information.
125 * nBrowser/Build.cs: Removed LoadDefaultEmbeddedResource function, the embeded resource
126 it is referring too was never included in Mono. And was designed for a free standing
127 browser identification libary.
129 * nBrowser/Exception.cs: Removed Compile Attributes and related comments which were left
130 in from the original free standing browser libary.
132 * CapabilitiesBuild.cs: Removed Header Checksum related coding since it is not required
133 for the Mono implementation.
135 * CapabilitiesResult.cs: Updated Copyright information to include updated contact information.
136 Removed functions which were designed to make use of features of a embeded browser file which
137 is not present in Mono.
139 * CapabilitiesChecksum.cs, RandomRoboBotKeywords.txt: Deleted
140 2008-10-21 Marek Habersack <mhabersack@novell.com>
142 * CapabilitiesChecksum.cs: implement Hex and MapToHex more efficiently.
144 2008-10-09 Marek Habersack <mhabersack@novell.com>
146 * MonoSettingsSection.cs: added - a section for mono-specific
149 2008-10-01 Marek Habersack <mhabersack@novell.com>
151 * CapabilitiesResult.cs: added support for the "browsers"
152 capability - a collection of matching browser ids.
154 * nBrowser/Node.cs: store matching browser ids in the capabilities
155 collection (to support IsBrowser correctly)
157 2008-07-25 Dean Brettle <dean@brettle.com>
159 * nBrowser/Node.cs nBrowser/Build.cs nBrowser/Identification.cs: Fixed race
160 condition in Node.Process() by removing mutating functions from Identification
161 and changing Node.Process() and Node.BrowserIdentification() to maintain
162 state in a List<Match> instead of a List<Identification>.
164 * nBrowser/Node.cs: Fixed race condition associated with lookup of adapter
167 * nBrowser/Node.cs: Removed duplicate call to Node.BrowserIdentification() from
170 * nBrowser/Node.cs: Removed duplicate call to Result.AddAdaper() from Node.Process().
172 * nBrowser/Node.cs: Fixed bug where capabilities containing literal $ or % were
175 * nBrowser/Node.cs: Fixed bug where capabilities with multiple $ substitutions only
178 2008-06-30 Zoltan Varga <vargaz@gmail.com>
180 * CapabilitiesResult.cs: Make the RandomRoboBotKeywords array static and compute it
183 2008-06-30 Marek Habersack <mhabersack@novell.com>
185 * CompilationSection.cs: hush the warnings
187 2008-06-26 Zoltan Varga <vargaz@gmail.com>
189 * nBrowser/Node.cs nBrowser/Result.cs: Avoid looking up adapter types names for
190 every request in every assembly.
192 2008-05-22 Marek Habersack <mhabersack@novell.com>
194 * WebConfigurationHost.cs: changed CreateDeprecatedConfigContext
195 to return a new HttpContext object. This is part of a fix for bug
196 #325128. Patch contributed by James Fitzsimons <james.fitzsimons@gmail.com>,
199 2008-05-07 Marek Habersack <mhabersack@novell.com>
201 * RoleManagerSection.cs: use type converter when creating the
202 cookieTimeout property in the static constructor. Fixes bug
203 #387526. Patch fromIvan Hamilton <ivan@chimerical.com.au>, thanks!
205 2008-03-23 Dean Brettle <dean@brettle.com>
207 * CapabilitiesBuild.cs (Process), ICapabilitiesProcess.cs (Process),
208 nBrowser/Build.cs (Process): Added initialCapabilities argument to
209 facilitate using browscap.ini capabilities.
211 * CapabilitiesResult.cs (ctor), nBrowserResult.cs (ctor): Change
212 items arg to IDictionary to facilitate using browscap.ini capabilities.
214 * nBrowser/Node.cs (Reset): Removed code which checked prohibited
215 non-alphanumerics in id attributes because .NET is not that strict.
217 * nBrowser/Node.cs (MergeFrom): Fixed NullReferenceExceptions that
218 occurred when the source or destination node did not have any
219 capabilities or adapters.
221 * nBrowser/Result.cs (AddAdapter): Fixed to allow types in other
224 2008-03-09 Dean Brettle <dean@brettle.com>
226 * nBrowser/Result.cs, nBrowser/NodeTypes.cs, nBrowser/Identification.cs,
227 nBrowser/File.cs, nBrowser/Build.cs, nBrowser/Node.cs,
228 nBrowser/Exception.cs: added. The code under nBrowser handles *.browser
229 files. It is based on Owen "Ocean" Brady's code, with the following
230 changes and improvements. Replaced Result.Adapter
231 property with AdapterTypeMap property which maps control Type to adapter
232 Type. Added Result.MarkupTextWriter property. Added overrides for
233 Result.GetAdapters and Result.GetTagWriter to return MarkupTextWriter
234 and AdapterTypeMap, resp. Changed tree building algorithm to not
235 depend on nodes with id="Default" and to inject defaultBrowser nodes
236 as parents of regular nodes with the same ids. Changed Node.cs to use
237 Item instead of Add when adding a capability or sample header, so that
238 values get replaced instead of appended. Added support for reference
239 nodes (ie. nodes with refID="someID").
241 * CapabilitiesResult.cs: load RandomRoboBotKeywords.txt resource
242 using the correct name.
244 * RandomRoboBotKeywords.txt: added
246 * HttpCapabilitiesBase.cs (CreateHtmlWriter, Adapters): Added
247 support for *.browsers. Adapters property calls internal virtual
248 GetAdapters() method which is overrided in nBrowser.Result
249 returned by nBrowser code. CreateHtmlWriter uses type specified
250 by TagWriter property.
252 2008-03-03 Vladimir Krasnov <vladimirk@mainsoft.com>
254 * ProvidersHelper.cs: fixed thread safety issue in InstantiateProvider
256 2008-03-01 Marek Habersack <mhabersack@novell.com>
258 * WebConfigurationManager.cs: SettingsMappingManager has been
259 moved to Mono.Web.dll
261 2008-02-28 Marek Habersack <mhabersack@novell.com>
263 * HttpHandlerAction.cs: ignore case when matching handler
264 paths. Fixes bug #364995
266 2008-02-26 Marek Habersack <mhabersack@novell.com>
268 * BuildProviderCollection.cs: be case-insensitive when looking for
271 2008-02-25 Marek Habersack <mhabersack@novell.com>
273 * WebConfigurationManager.cs: hashtable can contain a key with a
274 null value, avoid adding duplicate keys in such cases.
276 2008-02-18 Vladimir Krasnov <vladimirk@mainsoft.com>
278 * WebConfigurationManager.cs: performance improvement, cached
281 2008-02-07 Vladimir Krasnov <vladimirk@mainsoft.com>
283 * GlobalizationSection.cs: fixed GetSanitizedCulture, performance
286 2008-02-05 Marek Habersack <mhabersack@novell.com>
288 * CompilerCollection.cs: Get (string language) should not use
289 BaseGet as our collection is keyed on a list of language names
290 (e.g. "cs;csharp") and passing a single language won't match in
291 BaseGet correctly. Use the overriden indexer instead.
292 Initialize the base class with the case-insensitive
293 comparer. Fixes bug #357824.
295 2008-01-27 Daniel Nauck <dna@mono-project.de>
297 * HttpHandlerAction.cs: fixed the internal method PathMatches ()
298 removed wrong caching of FileMatchingInfo classes with request specific
299 informations. Now we check against the current request path and cache
300 the result in a dictionary.
301 Also check correctly against all possible paths from the HttpHandler.
304 2007-12-27 Marek Habersack <mhabersack@novell.com>
306 * ProfileGroupSettingsCollection.cs: added an internal method to
307 add/overwrite new group settings. Used from
308 RootProfilePropertySettingsCollection.
310 * ProfileGroupSettings.cs: added the missing "name" property to
311 the properties collection.
312 Marked the propertySettingsProp property as the default
314 Added internal deserialization method, used from
315 RootProfilePropertySettingsCollection to support the 'group'
318 * ProfileSection.cs: defaultProviderProp typo - the name of the
319 provider should be "AspNetSqlProfileProvider"
321 * RootProfilePropertySettingsCollection.cs: added
322 OnDeseerializeUnrecognizedElement to support the profile 'group'
324 Added a missing Unmerge method.
326 2007-12-11 Vladimir Krasnov <vladimirk@mainsoft.com>
328 * SiteMapSection.cs: fixed ProvidersInternal property to be thread safe
330 2007-12-08 Marek Habersack <mhabersack@novell.com>
332 * WebConfigurationManager.cs: GetSection now runs each section
333 through a mapper (if any is defined for the section) before
334 returning it to the caller.
336 2007-11-23 Marek Habersack <mhabersack@novell.com>
338 * TagPrefixCollection.cs: changed the collection type to
341 * ProfileSection.cs: added missing Properties property, added a
342 static constructor to create property descriptors. Use property
343 descriptors in property accessors.
345 * ProfileGroupSettingsCollection.cs: added missing attribute to
346 the class, removed CollectionType method, added missing IsModified
347 and ResetModified methods, added missing Properties property.
349 * ProfileGroupSettings.cs: added missing Properties property,
350 adjusted the set of custom attributes of the PropertySettings
353 * ProcessModelSection.cs: change the default value of the CpuMask
356 * OutputCacheSection.cs: added the EnableKernelCacheForVaryByStar
359 * OutputCacheProfile.cs: added the VaryByContentEncoding property.
361 * FormsAuthenticationConfiguration.cs: corrected defaults for the
364 * ExpressionBuilder.cs: corrected defaults for the
365 ExpressionPrefix and Type properties.
367 * CustomErrorsSection.cs: added two missing overrides -
368 DeserializeSection and Reset.
370 * ClientTargetSection.cs: added the missing Properties property.
371 Added static constructor to create the property collection.
373 * CustomErrorCollection.cs: removed the ThrowOnDuplicate
376 * CacheSection.cs: corrected defaults for the
377 PercentagePhysicalMemoryUsedLimit property.
379 * ClientTargetCollection.cs: added missing Properties property.
381 * IConfigMapPathFactory.cs: added
383 * IConfigMapPath.cs: added
385 * RoleManagerSection.cs: added a static constructor, a collection
386 of properties, the missing Properties property.
388 2007-11-22 Marek Habersack <mhabersack@novell.com>
390 * RoleManagerSection.cs: CookieTimeout property custom attributes
391 changed to match MS.NET's ones.
393 * AuthorizationRuleCollection.cs: removed the ThrowOnDuplicate
394 property - it's not found in the MS.NET version of the class.
396 2007-11-06 Marek Habersack <mhabersack@novell.com>
398 * MachineKeySectionUtils.cs: make sure keys are autogenerated when
401 2007-11-02 Marek Habersack <mhabersack@novell.com>
403 * HttpHandlerActionCollection.cs: clear http handler cache in
404 HttpApplication if the collection is modified.
406 2007-11-01 Marek Habersack <mhabersack@novell.com>
408 * MachineKeySection.cs: moved all the internal static methods and
409 properties to MachineKeySectionUtils.cs
411 * MachineKeySectionUtils.cs: added. This file is included in the
412 System.Web.Extensions compilation.
413 The old properties from MachineKeySection.cs became methods.
415 2007-10-24 Marek Habersack <mhabersack@novell.com>
417 * HttpHandlerAction.cs: exact path matching must be done on the
418 original string in PathMatches, not on the sliced one. Fixes bug
421 2007-10-17 Marek Habersack <mhabersack@novell.com>
423 * WebConfigurationHost.cs: if running outside hosted environment,
424 read only the assemblyname.config configuration file instead of
425 web.config. Fixes bug #332425
427 2007-10-15 Marek Habersack <mhabersack@novell.com>
429 * ProvidersHelper.cs: use HttpApplication.LoadType instead of
432 * HttpModulesSection.cs: use HttpApplication.LoadType when loading
433 modules, to include both the bin/ directory and the top-level
434 assemblies in search. Fixes bug #333686.
436 2007-08-30 Marek Habersack <mhabersack@novell.com>
438 * MachineKeySection.cs: retrieve the keys from the registry before
439 falling back to the old method. Fixes bug #76606
441 2007-08-23 Marek Habersack <mhabersack@novell.com>
443 * ProvidersHelper.cs: HttpApplication.LoadTypeFromPrivateBin
444 renamed to LoadTypeFromBin.
446 2007-08-21 Marek Habersack <mhabersack@novell.com>
448 * ProvidersHelper.cs: use HttpApplication.LoadTypeFromPrivateBin
449 to get the provider settings type.
451 2007-08-10 Gert Driesen <drieseng@users.sourceforge.net>
453 * PagesEnableSessionState.cs: Marked internal on 1.0 profile.
455 2007-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
457 * ProfileGroupSettingsCollection.cs: added ResetInternal internal
459 * RootProfilePropertySettingsCollection.cs: added Reset method
460 override to reset GroupSettings collection
462 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
464 * HttpHandlerAction.cs: fixed SplitPaths property to be thread safe
466 2007-06-12 Vladimir Krasnov <vladimirk@mainsoft.com>
468 * CompilationSection.cs: TARGET_JVM on not supported features
469 * HttpModulesSection.cs: ctor should be static
471 2007-06-03 Adar Wesley <adarw@mainsoft.com>
473 * ProfilePropertySettingsCollection.cs: added missing method
474 OnDeserializeUnrecognizedElement.
476 2007-05-30 Marek Habersack <mhabersack@novell.com>
478 * WebConfigurationManager.cs: if errors happen when opening the
479 configuration file, mark the manager as unsafe to prevent further
480 usage and avoid error loops.
482 2007-05-17 Igor Zelmanovich <igorz@mainsoft.com>
484 * WebConfigurationHost.cs: for TARGET_J2EE only:
485 prevent NullRefference Exception.
487 2007-05-15 Igor Zelmanovich <igorz@mainsoft.com>
489 * WebConfigurationManager.cs:
490 make configurations hashtable case-insensitive.
491 * WebConfigurationHost.cs: for TARGET_J2EE only:
492 GetStreamName returns file path in right case, that make it works
493 on case-sensitive file system.
495 2007-05-15 Marek Habersack <mhabersack@novell.com>
497 * BuildProviderCollection.cs: refactoring - use
498 HttpApplication.LoadType to actually look up the type.
500 * HttpHandlerAction.cs: as above
502 * WebConfigurationHost.cs: refactoring - moved the LoadType to
503 HttpApplication to share the code between 1.1 and 2.0 profiles.
505 2007-05-14 Marek Habersack <mhabersack@novell.com>
507 * UrlMappingCollection.cs: implemented the Item (string) indexer.
509 * UrlMapping.cs: implemented the URL validation callback body
510 (doesn't work at the moment).
512 2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
514 * WebConfigurationManager.cs:
515 make configurations synchronized.
516 added new internal method RemoveConfigurationFromCache.
518 2007-05-07 Marek Habersack <mhabersack@novell.com>
520 * PagesSection.cs: buffering is on by default.
522 2007-04-24 Marek Habersack <mhabersack@novell.com>
524 * WebConfigurationHost.cs: wrap MapPath calls in try/catch,
525 because bad URLs can cause it to throw exceptions. If such
526 exception is caught, throw a HttpException for Bad Request (400).
527 Look for types in the top-level assemblies (App_Code and
530 * WebConfigurationManager.cs: added two internal methods for safe
531 retrieval of config sections.
533 2007-04-19 Marek Habersack <mhabersack@novell.com>
535 * HttpHandlerAction.cs: look up types in all the toplevel
536 assemblies. Fixes bug #80897.
538 2007-04-17 Atsushi Enomoto <atsushi@ximian.com>
540 * ProcessModelSection.cs : cpuMask default value should be int,
543 2007-04-06 Marek Habersack <mhabersack@novell.com>
545 * CustomErrorsSection.cs: make the customErrors section work.
547 * PagesSection.cs: provide appropriate default value for the
548 asyncTimeout setting.
550 2007-03-24 Marek Habersack <mhabersack@novell.com>
552 * WebConfigurationHost.cs: allow MachineToApplication definition
553 for config paths that equal the domain virtual app directory.
555 2007-03-22 Adar Wesley <adarw@mainsoft.com>
557 * HttpCapabilitiesBase.cs: implemented all capabilities. Capabilities
558 still throw if there is no value in browscaps.ini and the property is called.
560 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
562 * WebConfigurationManager.cs: fixed OpenWebConfiguration, should not
563 lock when checking if configuration is already open
565 2007-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
567 * WebConfigurationManager.cs: fixed OpenWebConfiguration, removed
568 GetBasePath call and locations search, since this not affects
569 configuration initialization, but improves performance
571 2007-03-12 Marek Habersack <mhabersack@novell.com>
573 * ProvidersHelper.cs: support loading custom providers from
574 App_Code assemblies. Fixes bug #81071.
575 Also set eol-style to native.
577 2007-03-08 Gert Driesen <drieseng@users.souceforge.net>
579 * PagesSection.cs: Revert part of Adar's patch that regresses
582 2007-03-06 Adar Wesley <adarw@mainsoft.com>
584 * PagesSection.cs: improve Enum parsing and strongly typed default values.
586 2007-02-20 Marek Habersack <grendello@gmail.com>
588 * Patch from Gert Driesen <drieseng@users.sourceforge.net>
589 * PagesSection.cs: Process value of EnableSessionState attribute
590 case-sensitive, and perform check in getter. Fix for bug #80913.
591 * PageParser.cs: Added note on difference in behaviour between page
592 level attribute and configuration attribute for enableSessionState.
593 * PagesConfiguration.cs: Fixed compiler warning.
595 2007-02-22 Marek Habersack <grendello@gmail.com>
597 * CompilerCollection.cs: Optimize language lookup a bit.
599 2007-02-05 Konstantin Triger <kostat@mainsoft.com>
601 * TagPrefixCollection.cs: Fix element key creation.
603 2007-02-04 Konstantin Triger <kostat@mainsoft.com>
605 * NamespaceInfo.cs, HttpModuleAction.cs, RoleManagerSection.cs:
606 fix the default value.
608 2007-02-02 Marek Habersack <grendello@gmail.com>
610 * TagPrefixCollection.cs: Add the CollectionType parameter.
611 Get rid of unnecessary interface references in the class declaration.
612 GetElementKey should return Source which should be unique, unlike TagPrefix.
614 2007-01-04 Konstantin Triger <kostat@mainsoft.com>
616 * ProfileSection.cs: Ensure enabled = true by default; cleanup.
618 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
620 * CustomErrorCollection.cs: fixed ThrowOnDuplicate to false as in .net
622 2006-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
624 * GlobalizationSection.cs: make encodings actually work for the 2.0
627 2006-12-21 Marek Habersack <grendello@gmail.com>
629 * TagMapInfo.cs: Add an internal default constructor for use from
632 * TagMapCollection.cs: Don't call the string,string constructor of
633 TagMapInfo - the class disallows empty strings as values of its
636 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
638 * RoleManagerSection.cs: refactored using attributes
640 2006-12-20 Marek Habersack <grendello@gmail.com>
642 * ProfilePropertyNameValidator.cs: added a few checks.
644 2006-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
646 * WebConfigurationManager.cs: fixed GetSection to execute
647 GetRuntimeObject, refactored GetSection and GetWebApplicationSection
649 2006-12-17 Vladimir Krasnov <vladimirk@mainsoft.com>
651 * HttpHandlerAction.cs: fixed 'verb' config property
653 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
655 * ProvidersHelper.cs: fixed: load assembles from /bin
657 2006-11-22 Miguel de Icaza <miguel@novell.com>
659 * SessionStateSection.cs: Do not call Enum.Parse with a null
660 argument, prevents an exception from being thrown.
662 2006-11-20 Marek Habersack <grendello@gmail.com>
664 * GlobalizationSection.cs: Added support for "auto" cultures and
665 the "auto:DEFAULT_CULTURE" cultures.
667 2006-11-13 Konstantin Triger <kostat@mainsoft.com>
669 * WebConfigurationHost.cs: use Type.GetType for loading full qualified types.
671 2006-11-05 Vladimir Krasnov <vladimirk@mainsoft.com>
673 * ProfileGroupSettings.cs, ProfileGroupSettingsCollection.cs
674 ProfilePropertySettingsCollection.cs, ProfileSection.cs
675 RootProfilePropertySettingsCollection.cs: refactoring and fix of
678 2006-10-18 Marek Habersack <grendello@gmail.com>
680 * WebConfigurationManager.cs: implement support for extra
681 assemblies to be referenced when compiling a page.
683 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
685 * WebConfigurationManager.cs: add null checks. Patch by Marek Habersack
686 that fixes bug #79283.
688 2006-09-06 Konstantin Triger <kostat@mainsoft.com>
690 * WebConfigurationHost.cs: do not recourse as this will be done by
691 Configuration object.
693 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
695 * WebConfigurationManager.cs: added configSystem property under
697 * WebConfigurationHost.cs: fixed GetStreamName and OpenStreamForRead
699 * CompilationSection.cs: BuildProviders property removed from
701 * SystemWebSectionGroup.cs: Compilation property removed from
704 2006-06-26 Atsushi Enomoto <atsushi@ximian.com>
706 * NullableStringValidator.cs : new internal class that is almost
707 identical to StringValidator but allows null value.
708 * PropertyHelper.cs : use new NullableStringValidator.
709 * NamespaceCollection.cs : in NamespaceInfo "" is not allowed.
711 2006-06-08 Chris Toshok <toshok@ximian.com>
713 * WebConfigurationHost.cs (InitForConfiguration): i know this is
714 going to bite me in the ass, but guard against configPath being ==
715 to "/", since this will result in an infinite loop.
716 (MapPath): fix a NRE.
718 2006-05-18 Atsushi Enomoto <atsushi@ximian.com>
720 * WebConfigurationManager.cs: recent sys.config.dll changes on
721 ConfigurationManager.GetSection() which should call
722 GetRuntimeObject() should also apply here. Fixed monodoc web.
724 2006-05-10 Andrew Skiba <andrews@mainsoft.com>
726 * HttpHandlerAction.cs: keep the internal exception
728 2006-05-08 Chris Toshok <toshok@ximian.com>
730 * WebConfigurationManager.cs (GetBasePath): fix bug where
731 path.Length was 0 when we got to the last while loop (and indexed
732 -1 into an array.) Thanks Marek for the fix.
734 2006-05-04 Chris Toshok <toshok@ximian.com>
738 * WebConfigurationHost.cs (GetConfigType): add a MonoTODO about
739 how we should use the build provider machinery to get types.
740 (MapPath): add rudimentary mapping in the case where we don't have
741 a request, basically handle the case where the url begins with (or
742 is) HttpRuntime.AppDomainAppVirtualPath.
744 * WebConfigurationManager.cs (GetSection): if we don't have a
745 valid request, open the web configuration corresponding to
746 HttpRuntime.AppDomainAppVirtualPath.
747 (GetBasePath): comment this a little, and make it work in the case
748 where we don't have an HttpRequest.
750 2006-04-27 Chris Toshok <toshok@ximian.com>
752 * AuthorizationRuleCollection.cs (ThrowOnDuplicate): for the time
753 being introduce a overridden property MS doesn't make use of.
754 This needs readdressing, but it should get people making use of
755 <authorization> rules working again.
757 2006-04-25 Chris Toshok <toshok@ximian.com>
759 * AuthorizationRule.cs (Reset): finally figure out what this
760 method is supposed to do. Assign our Action property based on
763 2006-04-25 Chris Toshok <toshok@ximian.com>
765 * WebConfigurationHost.cs (InitForConfiguration): actually, use
766 HttpRuntime.AppDomainAppVirtualPath on gonzalo's recommendation.
767 It's never null, and its use cleans things up a bit.
769 2006-04-25 Chris Toshok <toshok@ximian.com>
771 * WebConfigurationHost.cs (InitForConfiguration): stop going up
772 the virtual hierarchy once we reach the application's base virtual
775 2006-04-24 Chris Toshok <toshok@ximian.com>
777 * AuthorizationSection.cs (IsValidUser): fix a problem that
778 surfaced when converting from the 1.1 to 2.0 config classes. Only
779 check for verb match if there are actually verbs to match against.
781 2006-04-11 Chris Toshok <toshok@ximian.com>
783 * ExpressionBuilderCollection.cs (CreateNewElement): call argless
786 * ExpressionBuilder.cs: add internal argumentless ctor for use by
789 2006-03-24 Chris Toshok <toshok@ximian.com>
791 * WebConfigurationManager.cs (GetConfig): add a fallback case for
792 configuration sections that don't subclass from
793 ConfigurationSection.
795 2006-03-24 Chris Toshok <toshok@ximian.com>
797 * WebConfigurationHost.cs: fix bug where OpenWebConfiguration
798 ("/") would result in 2 configurations for that toplevel path to
801 2006-03-08 Chris Toshok <toshok@ximian.com>
803 * ProvidersHelper.cs: implement this static class properly.
805 * SiteMapSection.cs (ProvidersInternal): add internal property to
806 get the actual SiteMapProviderCollection from here.
808 2006-02-28 Chris Toshok <toshok@ximian.com>
810 * BuildProviderAppliesTo.cs, PagesToCountAction.cs: nuke.
812 2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
815 * CompilerCollection.cs: removed compatibility code.
817 * BuildProviderCollection.cs: add GetProviderForExtension().
819 2006-02-02 Chris Toshok <toshok@ximian.com>
821 * WebConfigurationManager.cs (GetSection(string,string)):
824 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
826 * TrustLevelCollection.cs, CodeSubDirectoriesCollection.cs,
827 CustomErrorCollection.cs, CompilerCollection.cs,
828 HttpHandlerActionCollection.cs,
829 FormsAuthenticationUserCollection.cs,
830 AuthorizationRuleCollection.cs, TagPrefixCollection.cs :
831 CollectionType is public.
833 2006-02-01 Chris Toshok <toshok@ximian.com>
835 * WebConfigurationManager.cs: In the normal case, get the current
836 request's web.config, not the application's. If there is no
837 current request, get the application's.
838 (GetWebApplicationConfiguration): use Request.ApplicationPath, not
839 Request.PhysicalApplicationPath. OpenWebConfiguration takes
842 * HttpConfigurationSystem.cs: GetWebApplicationSection =>
845 2006-02-01 Chris Toshok <toshok@ximian.com>
847 * CompilerCollection.cs: CONFIGURATION_2_0 => NET_2_0
851 2006-02-01 Chris Toshok <toshok@ximian.com>
853 * HttpConfigurationSystem.cs: SupportsUserConfig == true. let's
854 use this to determine if ConfigurationManager.AppSettings should
857 2006-01-31 Chris Toshok <toshok@ximian.com>
859 * WebConfigurationManager.cs: err, why did i ifdef stuff NET_2_0
860 inside of an ifdef NET_2_0?
862 2006-01-30 Chris Toshok <toshok@ximian.com>
864 * WebConfigurationManager.cs: lots of little changes. hopefully
865 this doesn't break anyone. it fixes all the nunit problems
868 * WebConfigurationHost.cs (GetStreamName): in the MachineWebPath
869 case, handle the case where we have a WebConfigurationFileMap.
870 (MapPath): this is likely wrong, but in the case where we don't
871 have a file map or current HttpContext, just return the path.
873 2006-01-29 Chris Toshok <toshok@ximian.com>
875 * HttpModulesSection.cs (LoadModules): I'm not sure we want to
876 solve this problem in this way, but the 1.x code forces
877 DefaultAuthenticationModule to be in the list of modules..
878 Without this fix (or something else) HttpContext.User is null when
881 2006-01-26 Chris Toshok <toshok@ximian.com>
883 * HttpConfigurationSystem.cs: new class that gets sections from
886 * WebConfigurationManager.cs: change a lot of the
887 NotImplementedExceptions to NotSupportedExceptions.
888 (AppSettings): implement by just returning
889 ConfigurationManager.AppSettings (note this is broken because
890 ConfigurationManager.AppSettings are read-only, but it works for
892 (ConnectionStrings): same (and probably broken in the same way..)
893 (Init): replace the 2.0 IInternalConfigSystem with our
894 HttpConfigurationSystem.
896 * WebConfigurationHost.cs: add a comment about how things are
897 likely to work in the face of IRemoteWebConfigurationHostServer.
898 (CreateConfigurationContext): return a WebContext instance.
900 2006-01-25 Chris Toshok <toshok@ximian.com>
902 * AuthorizationSection.cs (IsValidUser): instead of a blanket
903 false for a null user, just set the username to "" and short
904 circuit out the check for roles.
906 2006-01-25 Chris Toshok <toshok@ximian.com>
908 * AuthorizationRule.cs (CheckUser): handle * and ?, and use
909 String.Compare instead of ==.
910 (CheckVerb): use String.Compare instead of ==.
912 * AuthorizationSection.cs (IsValidUser): return false for a null
915 2006-01-22 Chris Toshok <toshok@ximian.com>
917 * GlobalizationSection.cs (VerifyData): quiet mcs.
919 2006-01-18 Chris Toshok <toshok@ximian.com>
921 * SystemWebSectionGroup.cs: wrap System.Web.Services references in
924 2006-01-16 Chris Toshok <toshok@ximian.com>
926 * WebConfigurationManager.cs: implement a IConfigurationSystem for
927 use with WebConfigurationManager.
928 (GetSection): try to load the section
929 using GetWebApplicationSection before calling into
930 ConfigurationManager.GetSection.
931 (GetWebApplicationConfiguration): move common code to here.
932 (GetWebApplicationSection): use GetWebApplicationConfiguration.
933 (AppSettings): implement.
935 * WebConfigurationHost.cs (GetWebConfigFileName): add
936 "Web.Config", and move to an array/loop implementation. maybe we
937 should scan the directory and check ToLower() instead of
938 explicitly enumerating?
940 2006-01-10 Chris Toshok <toshok@ximian.com>
942 * SystemWebSectionGroup.cs (HostingEnvironment): enable this property.
943 (ProcessModel): add the ConfigurationPropertyAttribute.
945 2006-01-10 Chris Toshok <toshok@ximian.com>
947 * PagesSection.cs (.cctor): fix the default value for the
948 enableSessionState attribute - it's not a bool, but a
949 PagesEnableSessionState enum.
951 2006-01-10 Chris Toshok <toshok@ximian.com>
953 * MachineKeySection.cs (ValidationKeyBytes, DecryptionKeyBytes,
954 DecryptionKey192Bits): if the keys are null, generate them. Fixes
955 Page.EnableViewStateMac support.
957 2006-01-09 Chris Toshok <toshok@ximian.com>
959 * RoleManagerSection.cs, SqlCacheDepencendySection.cs,
960 SessionStateSection.cs, TraceSection.cs, SecurityPolicySection.cs,
961 PagesSection.cs, RulesSettings.cs, UrlMappingSection.cs: fix
964 2006-01-09 Chris Toshok <toshok@ximian.com>
966 * ExpressionBuilderCollection.cs (.cctor): no need to create a
967 collection property here. we're already in the collection.
969 * CompilationSection.cs: fix typo.
971 2006-01-04 Chris Toshok <toshok@ximian.com>
973 * MachineKeySection.cs: bring over some more internal methods from
974 MachineKeyConfig, and call Set{Decryption,Validation}Key from
975 their respective property setters.
977 2006-01-03 Chris Toshok <toshok@ximian.com>
979 * AuthorizationSection.cs (IsValidUser): add analogous method from
980 AuthorizationConfig.cs.
982 * AuthorizationRule.cs: add predicates for Verb, User, and Role
983 analogous to what existed in AuthorizationConfig.cs.
985 2005-12-11 Chris Toshok <toshok@ximian.com>
987 * WebConfigurationManager.cs (OpenMachineConfiguration): just call
988 ConfigurationManager.OpenMachineConfiguration.
989 (OpenWebConfiguration): remove the "IntPtr userToken" version and
990 add a "string userName" version to clean up corcompare output.
991 Modify all the overloads to pass null instead of IntPtr.Zero.
992 (GetWebApplicationSection): if we're not running in a web
993 application, use the machine configuration.
995 2005-12-06 Chris Toshok <toshok@ximian.com>
997 * CodeSubDirectory.cs (DirectoryName): don't use an private field,
998 but base[directoyNameProp].
1000 * AuthorizationRuleCollection.cs (Add): use BaseAdd (rule, false),
1001 so we can insert duplicates.
1003 (GetElementKey): MS for some reason just uses the action for the
1005 (Remove): pass the correct key.
1007 * ProfileGroupSettings.cs (GetHashCode): implement.
1009 * GlobalizationSection.cs (GetEncoding): for the utf-8 case, just
1012 * AssemblyCollection.cs (Add): use BaseAdd (info, false) so we can
1015 * CacheSection.cs (.cctor): make privateByteLimit's default 0L so
1016 we don't get a invalid cast exception later on.
1018 * AuthorizationRule.cs (VerifyData): split out the verification
1019 foo from PreSerialize.
1020 (PostDeserialize): so we can call it from here.
1021 (PreSerialize): and here.
1023 2005-12-05 Chris Toshok <toshok@ximian.com>
1025 * AuthorizationRuleCollection.cs (GetKey): split out the logic for
1026 creating a key from a rule here.
1027 (GetElementKey): use it here.
1030 2005-12-04 Chris Toshok <toshok@ximian.com>
1032 * UrlMapping.cs: add an internal argument-less ctor.
1034 * UrlMappingCollection.cs (CreateNewElement): use argument-less
1036 (GetKey): implement.
1037 (AllKeys): implement.
1039 * TrustLevel.cs: add an internal argument-less ctor.
1041 * TrustLevelCollection.cs (Set): implement.
1042 (CreateNewElement): use argument-less ctor.
1043 (IsElementName): implement.
1044 (ElementName): implement.
1045 (set_Item (int index)): use Set.
1046 (ThrowOnDuplicate): implement.
1048 * TagPrefixInfo.cs: add internal argument-less ctor.
1050 * TagPrefixCollection.cs (CreateNewElement): call argument-less
1052 (CollectionType): add text to TODO.
1053 (ElementName): implement.
1055 * SqlCacheDependencyDatabaseCollection.cs (Set): implement.
1056 (AllKeys): implement.
1058 * RuleSettings.cs: add internal argument-less ctor.
1060 * RuleSettingsCollection.cs (Contains): implement.
1061 (CreateNewElement): use argument-less ctor.
1062 (IndexOf): implement.
1063 (Insert): implement.
1065 * RootProfilePropertySettingsCollection.cs (IsModified): chain up
1066 to base.IsModified for now.
1067 (Reset): chain up to base.Reset for now.
1068 (ResetModified): chain up to base.ResetModified for now.
1070 * ProfileSettings.cs: add internal argument-less ctor.
1072 * ProfileSettingsCollection.cs (Contains): implement.
1073 (CreateNewElement): use argument-less ctor.
1074 (IndexOf): implement.
1075 (Insert): implement.
1077 * ProfilePropertySettingsCollection.cs (IndexOf): implement.
1079 (AllKeys): implement.
1081 * ProfileGroupSettings.cs: add internal argument-less ctor.
1083 * ProfileGroupSettingsCollection.cs (CreateNewElement): use
1084 parameter-less ctor.
1085 (GetKey): implement.
1086 (ResetModified): for now call base.ResetModified.
1088 (AllKeys): implement.
1090 * OutputCacheProfile.cs: add internal argument-less ctor.
1092 * OutputCacheProfileCollection.cs (CreateNewElement): use
1093 parameter-less ctor.
1095 (AllKeys): implement.
1097 * HttpModuleActionCollection.cs (Add): remove MonoTODO.
1098 (CreateNewElement): same.
1100 * HttpHandlerActionCollection.cs (GetElementKey): build up the key
1101 from both the path and the verb.
1104 * FormsAuthenticationUserCollection.cs (Set): implement.
1105 (AllKeys): implement.
1107 * EventMappingSettings.cs: add an internal argument-less ctor.
1109 * EventMappingSettingsCollection.cs (Contains): implement.
1110 (CreateNewElement): use argument-less ctor.
1111 (IndexOf): implement.
1112 (Insert): implement.
1114 * CompilerCollection.cs (GetKey): implement.
1115 (AllKeys): implement.
1117 * ClientTargetCollection.cs (GetKey): implement.
1118 (AllKeys): implement.
1120 * AuthorizationRuleCollection.cs (Set): implement.
1121 (ElementName): add some text to the MonoTODO.
1122 (set_Item (int index)): use Set.
1124 2005-12-04 Chris Toshok <toshok@ximian.com>
1126 * CustomError.cs: add an internal argument-less ctor for use by
1129 * CustomErrorCollection.cs: implement all the MonoTODO's.
1131 2005-12-02 Chris Toshok <toshok@ximian.com>
1133 * GlobalizationSection.cs (VerifyData): split out the stuff that
1134 used to live in PreSerialize here.
1135 (PreSerialize): call VerifyData here.
1136 (PostDeserialize): and here.
1138 2005-12-01 Chris Toshok <toshok@ximian.com>
1140 * GlobalizationSection.cs (PreSerialize): add checks for Culture
1141 and UICulture properties.
1143 2005-12-01 Chris Toshok <toshok@ximian.com>
1145 * AuthorizationRule.cs (..ctor): provide default values for
1146 roles/users/verbs here. Not sure if we should do this in the ctor
1147 or if the System.Configuration infrastructure should.. time will
1149 (PreSerialize): throw if Roles.Count and Users.Count == 0.
1150 (SerializeElement): write out the element here. don't chain up to
1151 the base class since that has differing behavior than what we
1154 2005-11-30 Chris Toshok <toshok@ximian.com>
1156 * CompilerCollection.cs: ugly hack to fix the
1157 2.0-without-config-2.0 case. wrap this file in #if
1158 CONFIGURATION_2_0 as well as #if NET_2_0.
1160 * Compiler.cs: same.
1162 2005-11-28 Chris Toshok <toshok@ximian.com>
1164 * SessionStateSection.cs (CookieLess): correct the compat function
1167 2005-11-28 Chris Toshok <toshok@ximian.com>
1169 * GlobalizationSection.cs (GetEncoding): if the encoding name is
1170 null, default to utf-8 before we hit the try block, so we don't
1171 throw and generate a spurious warning.
1173 * SessionStateSection.cs: The Cookieless handling needs a custom
1174 parser, it appears, as the converter is a StringConverter, not a
1175 GenericEnumConverter.
1176 (ParseCookieMode): the parser.
1178 2005-11-28 Chris Toshok <toshok@ximian.com>
1180 * PagesSection.cs (GetInstance): nuke.
1182 * CompilationSection.cs (GetInstance): nuke.
1184 2005-11-28 Chris Toshok <toshok@ximian.com>
1186 * HttpHandlerAction.cs: add some c&p code from the 1.1 config
1187 stuff to look for matching handlers.
1188 (..ctor): add parameterless ctor.
1190 * HttpHandlerActionCollection.cs: clean up formatting.
1191 (CreateNewElement): call the parameter-less ctor for
1194 * HttpHandlersSection.cs (..ctor): add a ConfigurationProperty for
1195 the default collection.
1196 (get_Handlers): implement.
1197 (LocateHandler): copy over (and massage) some 1.1 config code.
1199 * MachineKeySection.cs: move some code over from the 1.1 config
1200 code to deal with autogeneration of keys, as well as converting
1201 from the string rep to the byte[] rep.
1203 2005-11-28 Chris Toshok <toshok@ximian.com>
1205 * HttpModuleActionCollection.cs (CreateNewElement): use the new
1206 HttpModuleAction ctor.
1208 * HttpModuleAction.cs: add internal ctor with no parameters, for
1209 use in HttpModuleActionCollection.
1211 2005-11-28 Chris Toshok <toshok@ximian.com>
1213 * GlobalizationSection.cs (..cctor): the encoding
1214 ConfigurationProperties are of type "string", even though the
1215 properties themselves are of type Encoding. we do conversions
1216 manually in the setter/getters. gross. Add code (mostly c&p +
1217 massaged from GlobalizationConfigurationHandler) for this and also
1218 to handle the culture gettes.
1220 2005-11-26 Chris Toshok <toshok@ximian.com>
1222 * AuthorizationRuleCollection.cs (GetElementKey): implement this.
1224 * ProfilePropertyNameValidator.cs: make this internal, and add a
1225 blurb about how MS doesn't do the testing you'd expect them to.
1227 2005-11-25 Chris Toshok <toshok@ximian.com>
1229 * AuthorizationRuleCollection.cs (CreateNewElement): remove
1232 * CompilationSection.cs (GetRuntimeObject): add comment to TODO.
1234 * ProfileGroupSettings.cs: reformat some things.
1236 * FormsAuthenticationUser.cs (Name): remove MonoTODO.
1238 * WebPartsSection.cs (GetRuntimeObject): change TODO comment.
1240 * ProfilePropertySettings.cs: add internal argument-less ctor.
1242 * IdentitySection.cs (GetRuntimeObject): return this.
1244 * ProfilePropertySettingsCollection.cs: implement much of the
1247 * WebControlsSection.cs (GetRuntimeObject): implement.
1249 * SqlCacheDependencyDatabaseCollection.cs (GetElementKey):
1251 (GetKey): implement.
1253 2005-11-24 Chris Toshok <toshok@ximian.com>
1255 * AssemblyInfo.cs: move this here from System.Web.Configuration,
1256 and fix up the properties.
1258 * SystemWebSectionGroup.cs: enable most of the sections (2
1259 remaining to be enabled.)
1261 2005-11-24 Chris Toshok <toshok@ximian.com>
1263 * ProcessModelSection.cs, SqlCacheDependencySection.cs,
1264 SessionStateSection.cs, PassportAuthentication.cs,
1265 FormsAuthenticationConfiguration.cs,
1266 SqlCacheDependencyDatabase.cs, HttpModuleAction.cs,
1267 BufferModeSettings.cs, TagPrefixInfo.cs (..cctor): init
1269 (ValidateElement): new static validator callback.
1270 (ElementProperty): enable this, return elementProperty.
1272 2005-11-23 Chris Toshok <toshok@ximian.com>
1274 * ProfilePropertyNameValidator.cs: new implementation.
1276 * ProfilePropertySettings.cs, ProfileGroupSettings.cs,
1277 ClientTargetSection.cs, ClientTargetSection.cs,
1278 BufferModeSettings.cs, HttpModulesSection.cs,
1279 WebPartsPersonalization.cs, TransformerInfo.cs, TrustLevel.cs,
1280 NamespaceInfo.cs, SqlCacheDependencyDatabase.cs,
1281 AuthenticationSection.cs, RuleSettings.cs,
1282 FormsAuthenticationUser.cs, WebPartsSection.cs, BuildProvider.cs,
1283 WebPartsPersonalizationAuthorization.cs, Compiler.cs,
1284 ExpressionBuilder.cs, OutputCacheProfile.cs,
1285 FormsAuthenticationCredentials.cs, XhtmlConformanceSection.cs,
1286 OutputCacheSettingsSection.cs, CustomError.cs, TraceSection.cs,
1287 ExpressionBuilderCollection.cs, ProfileSettings.cs,
1288 SessionStateSection.cs, HealthMonitoringSection.cs,
1289 FormsAuthenticationConfiguration.cs, HttpRuntimeSection.cs,
1290 SessionPageStateSection.cs, TrustSection.cs,
1291 AnonymousIdentificationSection.cs, WebControlsSection.cs,
1292 ClientTarget.cs, TagMapInfo.cs, AuthorizationSection.cs,
1293 ProcessModelSection.cs, RoleManagerSection.cs,
1294 MembershipSection.cs, CustomErrorsSection.cs (..cctor): fix
1295 validator/converters.
1297 * MachineKeySection.cs (..cctor): fix validators/converters.
1298 (Validation): enable the Converter.
1300 * CodeSubDirectory.cs (..cctor): fix validator/converters.
1301 (DirectoryName): add note about missing validator decoration.
1303 * HttpModuleAction.cs (..cctor): init properties.
1304 (Properties): return properties.
1306 * CompilationSection.cs (..cctor): fix validator/converters.
1307 (GetInstance): add in this pre-2.0 interface for the time being,
1308 hopefully it'll make it easier to migrate later on.
1310 * HttpHandlerActionCollection.cs (..cctor): init properties.
1311 (Properties): return properties.
1313 * PagesSection.cs (..cctor): fix validator/converters.
1314 (GetInstance): add in this pre-2.0 interface for the time being,
1315 hopefully it'll make it easier to migrate later on.
1317 * HttpHandlersSection.cs (..cctor): init properties.
1318 (Properties): return properties.
1320 * EventMappingSettings.cs (..cctor): fix validator/converters.
1321 (Name): add note about missing validator decoration.
1323 * HttpHandlerAction.cs (..cctor): fix validator/converters.
1324 (PAth, Type, Verb): add note about missing validator decoration.
1326 * NamespaceCollection.cs (..cctor): fix properties.
1328 * ProfilePropertySettingsCollection.cs (..cctor): init properties.
1329 (..ctor): don't throw NIE.
1330 (Properties): return properties.
1332 * HttpModuleActionCollection.cs (..cctor): init properties.
1333 (Properties): return properties.
1335 * CacheSection.cs (..cctor): fix validators/converters.
1336 (PrivateBytesPollTime): add note about missing validator
1339 * AuthorizationRule.cs (..cctor): fix validators/converters.
1340 (Roles, Users, Verbs): enable the TypeConverter decorations.
1342 * UrlMapping.cs (ValidateUrl): static method for use as a
1343 validation callback. unimplemented as yet.
1344 (..cctor): fix validators/converters.
1345 (MappedUrl): add note about missing validator decoration.
1347 * PropertyHelper.cs: static utility class which contains
1348 references to validators and converters for use in static
1349 constructors (building the Properties arrays).
1351 2005-11-23 Chris Toshok <toshok@ximian.com>
1353 * MachineKeyValidationConverter.cs: new converter (and a pretty
1354 silly one, considering all it seems to do is convert "TripleDES"
1357 * HostingEnvironmentSection.cs (.cctor): use
1358 PositiveTimeSpanValidator like MS does.
1360 2005-11-18 Chris Toshok <toshok@ximian.com>
1362 * HostingEnvironmentSection.cs (.cctor): add validators.
1364 * CompilationSection.cs (.cctor): fix defaultvalue of
1367 2005-11-18 Chris Toshok <toshok@ximian.com>
1369 * SystemWebSectionGroup.cs: enable a whole slew of properties.
1371 * RegexWorker.cs: stub this out.
1373 * HttpCapabilitiesBase.cs: remove GetClrVersions since it's in one
1374 of the other partial files.
1376 * CompilationSection.cs: fix this up.
1378 * PagesSection.cs: fix some types and add a comment to
1381 * CompilerCollection.cs (Add): new internal method.
1383 * ProvidersHelper.cs: put the using System.Configuration.Provider
1384 inside the NET_2_0 block.
1386 * CacheSection.cs: add validators.
1388 2005-11-14 Chris Toshok <toshok@ximian.com>
1390 * BufferModeSettings.cs: add validators/converters to the
1391 programmatic property list.
1393 * BuildProvider.cs: add validators/converters to the programmatic
1394 property list, and add an internal ctor with no args.
1396 * Compiler.cs: wrap the code i hacked from the 1.1 stuff with a
1399 * BuildProviderCollection.cs (CreateNewElement): use the internal
1400 BuildProvider ctor to get around validation.
1402 * AssemblyCollection.cs: same.
1404 2005-11-14 Chris Toshok <toshok@ximian.com>
1406 * TagPrefixCollection.cs (Remove): pass the key to BaseRemove.
1407 (set_Item (int index)): implement.
1409 * TagPrefixInfo.cs (Equals): implement.
1410 (GetHashCode): implement.
1412 * AuthorizationRuleCollection.cs (CreateNewElement(string)):
1413 implement propertly.
1414 (IndexOf): implement.
1415 (IsElementName): implement.
1416 (ElementName): implement.
1417 (Item (int index)): implement.
1419 * FormsAuthenticationUserCollection.cs (set_Item (int index)): implement.
1421 * UrlMappingCollection.cs (set_Item (int index)): implement.
1423 * OutputCacheProfileCollection.cs (set_Item (int index)): implement.
1425 * TransformerInfo.cs (Equals): implement.
1426 (GetHashCode): implement.
1428 * NamespaceInfo.cs (Equals): implement.
1429 (GetHashCode): implement.
1431 * ProfileSettingsCollection.cs (set_Item (int index)): implement.
1433 * TransformerInfoCollection.cs (set_Item (int index)): implement.
1435 * HttpHandlerActionCollection.cs (set_Item (int index)): implement.
1437 * BufferModesCollection.cs (set_Item (int index)): implement.
1439 * BuildProvider.cs: use the base[fooProp] pattern instead of
1442 * ProfileGroupSettingsCollection.cs: implement most of this class.
1444 * RuleSettingsCollection.cs (set_Item (int index)): implement.
1446 * ClientTargetCollection.cs (set_Item (int index)): implement.
1448 * AssemblyCollection.cs (set_Item (int index)): implement.
1450 * BuildProviderCollection.cs (set_Item (int index)): reformat.
1452 * CustomError.cs (Equals): implement.
1453 (GetHashCode): implement.
1455 * ExpressionBuilderCollection.cs (set_Item (int index)): reformat.
1457 * PassportAuthentication.cs (RedirectUrl): express consternation
1460 * NamespaceCollection.cs (set_Item (int index)): implement.
1462 * RootProfilePropertySettingsCollection.cs (SerializeElement): add
1465 * ProfilePropertySettingsCollection.cs (set_Item (int index)):
1468 * CustomErrorCollection.cs (set_Item (int index)): implement.
1470 * HttpModuleActionCollection.cs (set_Item (int index)): implement.
1472 * CodeSubDirectoriesCollection.cs (set_Item (int index)):
1475 * CustomErrorsSection.cs (DeserializeSection): include call to
1476 base.DeserializeSection, and add MonoTODO.
1478 * EventMappingSettingsCollection.cs (set_Item (int index)):
1481 * AuthorizationRule.cs (Equals): implement.
1482 (GetHashCode): implement.
1483 (SerializeElement): add comment.
1485 * TagMapCollection.cs (Remove): pass the key to BaseRemove.
1486 (set_Item (int index)): implement.
1488 * TagMapInfo.cs (Equals): implement.
1489 (GetHashCode): implement.
1490 (SerializeElement): add call to base.SerializeElement.
1492 * TrustLevelCollection.cs (Remove): pass the key to BaseRemove.
1493 (GetElementKey): implement.
1495 * SqlCacheDependencyDatabase.cs (set_Item (int index)): implement.
1497 * WebContext.cs: new implementation.
1499 2005-11-13 Chris Toshok <toshok@ximian.com>
1501 * AnonymousIdentificationSection.cs: rework this class a bit to
1502 fit in with the rest of S.W.C. Add validators to the
1503 ConfigurationProperty ctor calls, a pattern which will need to be
1504 replicated across the entire assembly, it appears (uggggh).
1506 2005-11-13 Chris Toshok <toshok@ximian.com>
1508 * AuthorizationRuleCollection.cs: fix ConfigurationCollection
1511 * TransformerInfo.cs: fix corcompare.
1513 * SqlCacheDependencyDatabase.cs: mark ctor internal to fix
1516 * AuthenticationSection.cs: add missing Reset stub.
1518 * ProfileSettingsCollection.cs: use the more succint ctor.
1520 * FormsAuthenticationUser.cs: enable the TypeConverter on "name".
1522 * GlobalizationSection.cs: fix up corcompare.
1524 * WebPartsSection.cs: fix up corcompare.
1526 * ProfileGroupSettingsCollection.cs: add missing
1527 ConfigurationCollection attribute.
1529 * ExpressionBuilder.cs: implement.
1531 * FormsAuthenticationCredentials.cs: fix up corcompare.
1533 * AssemblyCollection.cs: implement Properties.
1535 * SiteMapSection.cs: implement Properties.
1537 * ExpressionBuilderCollection.cs: fix up corcompare.
1539 * ProfileSettings.cs: add missing ctor.
1541 * PassportAuthentication.cs: new implementation.
1543 * SqlCacheDependencySection.cs: fix up corcompare.
1545 * ProfilePropertySettingsCollection.cs: fix up corcompare.
1547 * HttpModuleActionCollection.cs: fix up corcompare.
1549 * EventMappingSettingsCollection.cs: fix up corcompare.
1551 * AuthorizationRule.cs: fix up corcompare.
1553 * WebControlsSection.cs: fix up corcompare.
1555 * AuthorizationSection.cs: fix up corcompare.
1557 * MembershipSection.cs: clean this up, implement Properties, fix
1560 2005-11-13 Chris Toshok <toshok@ximian.com>
1562 * UrlMapping.cs, CustomErrorCollection.cs, CustomError.cs,
1563 HostingEnvironmentSection.cs, TrustLevel.cs,
1564 HttpCookiesSection.cs, UrlMappingsSection.cs,
1565 UrlMappingCollection.cs, LowerCaseStringConverter.cs,
1566 RoleManagerSection.cs, ProcessModelSection.cs,
1567 TrustLevelCollection.cs, ClientTarget.cs, CustomErrorsSection.cs,
1568 MachineKeySection.cs, SessionPageStateSection.cs,
1569 SessionStateSection.cs, ProvidersHelper.cs,
1570 ClientTargetCollection.cs, SecurityPolicySection.cs,
1571 HttpCapabilitiesBase.cs, ClientTargetSection.cs: Another large
1575 2005-11-12 Chris Toshok <toshok@ximian.com>
1577 * AuthorizationRuleCollection.cs, AuthorizationRule.cs,
1578 AuthorizationSection.cs, BufferModesCollection.cs,
1579 BufferModeSettings.cs, CacheSection.cs, CompilerCollection.cs,
1580 Compiler.cs, DeploymentSection.cs,
1581 EventMappingSettingsCollection.cs, EventMappingSettings.cs,
1582 GlobalizationSection.cs, HealthMonitoringSection.cs,
1583 IdentitySection.cs, OutputCacheProfileCollection.cs,
1584 OutputCacheProfile.cs, OutputCacheSection.cs,
1585 OutputCacheSettingsSection.cs, ProfileSettingsCollection.cs,
1586 ProfileSettings.cs, RuleSettingsCollection.cs, RuleSettings.cs,
1587 SqlCacheDependencyDatabaseCollection.cs,
1588 SqlCacheDependencyDatabase.cs, SqlCacheDependencySection.cs,
1589 SystemWebCachingSectionGroup.cs, TraceSection.cs,
1590 TransformerInfoCollection.cs, TransformerInfo.cs, TrustSection.cs,
1591 WebControlsSection.cs, WebPartsPersonalizationAuthorization.cs,
1592 WebPartsPersonalization.cs, WebPartsSection.cs,
1593 XhtmlConformanceSection.cs: a whole slew of new classes. the
1594 fruits of tons of c&p and ibuprofen.
1597 2005-11-09 Chris Toshok <toshok@ximian.com>
1599 * PagesSection.cs, AuthenticationSection.cs, BuildProvider.cs,
1600 BuildProviderCollection.cs, HttpHandlerActionCollection.cs,
1601 HttpModulesSection.cs, HttpModuleAction.cs,
1602 HttpModuleActionCollection.cs, AnonymousIdentificationSection.cs,
1603 CodeSubDirectory.cs, CodeSubDirectoriesCollection.cs,
1604 SystemWebSectionGroup.cs, SiteMapSection.cs,
1605 WebConfigurationManager.cs: flesh out the implementation.
1607 * TagMap*.cs, TagPrefix*.cs: new implementation.
1609 * FormsAuthentication*.cs: new implementation.
1611 * Profile*.cs: new implementation.
1613 * Namespace*.cs: new implementation.
1615 * HttpRuntimeSection.cs: new implementation.