1 2009-05-14 Marek Habersack <mhabersack@novell.com>
3 * HttpHandlersSection.cs: if we're matching a default handler,
6 2009-04-03 Marek Habersack <mhabersack@novell.com>
8 * WebConfigurationManager.cs: added code in the static constructor
9 to enable retrieving application settings via
10 ApplicationSettingsBase from within asp.net applications. Fixes
13 * ApplicationSettingsConfigurationFileMap.cs: added.
15 2009-03-12 Dean Brettle <dean@brettle.com>
17 * nBrowser/Build.cs: made Browser() method thread-safe and moved the
18 actual tree creation to a private InitializeTree() method for clarity.
20 2009-03-01 Marek Habersack <mhabersack@novell.com>
22 * WebConfigurationManager.cs: optimized GetWebApplicationSection a
25 2009-02-28 Marek Habersack <mhabersack@novell.com>
27 * WebConfigurationManager.cs: make sure no nrex happens in
30 2009-02-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
32 * WebConfigurationManager.cs: generate a hash from the string hsah
33 codes instead of concatenating them.
35 2009-01-27 Marek Habersack <mhabersack@novell.com>
37 * HttpHandlerAction.cs: removed the matches cache, it doesn't
38 improve matters here in 99% of the cases.
39 Regexps are no longer used to match handler paths, SearchPattern
42 2009-01-26 Marek Habersack <mhabersack@novell.com>
44 * WebConfigurationHost.cs: when an attempt to map a fake virtual
45 path is made, MapPath returns the aplication physical root
46 directory. Fixes bug #463950
48 2008-01-09 Dean Brettle <dean@brettle.com>
50 * nBrowser/Node.cs: Fixed compatibility bug where <identification> sections were required
53 2009-01-09 Marek Habersack <mhabersack@novell.com>
55 * WebConfigurationManager.cs: do not normalize the path in
56 FindWebConfig when getting the virtual directory.
58 2009-01-08 Marek Habersack <mhabersack@novell.com>
60 * WebConfigurationManager.cs: improve performance of
63 2009-01-07 Marek Habersack <mhabersack@novell.com>
65 * HttpModulesSection.cs: allow for modules with non-public
66 constructors. Fises bug #463971
68 * HttpHandlerAction.cs: allow for handlers with non-public
69 constructors. Fixes bug #463971
71 2008-12-24 Marek Habersack <mhabersack@novell.com>
73 * WebConfigurationManager.cs: A better version of the previous
74 GetSection fix. Right now the method searches for directories
75 containing web.config and uses them, if found, to open the web
76 configuration. If no web.config is found, web configuration is
77 opened for the root application directory.
79 * WebConfigurationHost.cs: made GetWebConfigFileName internal
80 static, so that code can be reused from WebConfigurationManager.
82 2008-12-23 Marek Habersack <mhabersack@novell.com>
84 * WebConfigurationManager.cs: GetSection should call
85 OpenWebConfiguration using the actual directory path, not a file
86 path. If it fails to do so, System.Configuration may treat the
87 top-level Web.config file as a child one which, in turn, in
88 certain circumstances will lead to duplicate keys inserted in
91 2008-12-16 Marek Habersack <mhabersack@novell.com>
93 * WebConfigurationHost.cs: IsDefinitionAllowed should treat
94 configPath == "~" as the root application path.
96 2008-12-12 Owen Brady <Ocean@owenbrady.net>
98 * nBrowser/File.cs, nBrowser/Identification.cs, nBrowser/Node.cs, nBrowser/NodeTypes.cs,
99 nBrowser/Result.cs, nBrowser/Build.cs, nBrowser/Exception.cs, CapabilitiesBuild.cs,
100 CapabilitiesResult.cs: Updated Copyright information to include updated contact information.
102 * nBrowser/Build.cs: Removed LoadDefaultEmbeddedResource function, the embeded resource
103 it is referring too was never included in Mono. And was designed for a free standing
104 browser identification libary.
106 * nBrowser/Exception.cs: Removed Compile Attributes and related comments which were left
107 in from the original free standing browser libary.
109 * CapabilitiesBuild.cs: Removed Header Checksum related coding since it is not required
110 for the Mono implementation.
112 * CapabilitiesResult.cs: Updated Copyright information to include updated contact information.
113 Removed functions which were designed to make use of features of a embeded browser file which
114 is not present in Mono.
116 * CapabilitiesChecksum.cs, RandomRoboBotKeywords.txt: Deleted
117 2008-10-21 Marek Habersack <mhabersack@novell.com>
119 * CapabilitiesChecksum.cs: implement Hex and MapToHex more efficiently.
121 2008-10-09 Marek Habersack <mhabersack@novell.com>
123 * MonoSettingsSection.cs: added - a section for mono-specific
126 2008-10-01 Marek Habersack <mhabersack@novell.com>
128 * CapabilitiesResult.cs: added support for the "browsers"
129 capability - a collection of matching browser ids.
131 * nBrowser/Node.cs: store matching browser ids in the capabilities
132 collection (to support IsBrowser correctly)
134 2008-07-25 Dean Brettle <dean@brettle.com>
136 * nBrowser/Node.cs nBrowser/Build.cs nBrowser/Identification.cs: Fixed race
137 condition in Node.Process() by removing mutating functions from Identification
138 and changing Node.Process() and Node.BrowserIdentification() to maintain
139 state in a List<Match> instead of a List<Identification>.
141 * nBrowser/Node.cs: Fixed race condition associated with lookup of adapter
144 * nBrowser/Node.cs: Removed duplicate call to Node.BrowserIdentification() from
147 * nBrowser/Node.cs: Removed duplicate call to Result.AddAdaper() from Node.Process().
149 * nBrowser/Node.cs: Fixed bug where capabilities containing literal $ or % were
152 * nBrowser/Node.cs: Fixed bug where capabilities with multiple $ substitutions only
155 2008-06-30 Zoltan Varga <vargaz@gmail.com>
157 * CapabilitiesResult.cs: Make the RandomRoboBotKeywords array static and compute it
160 2008-06-30 Marek Habersack <mhabersack@novell.com>
162 * CompilationSection.cs: hush the warnings
164 2008-06-26 Zoltan Varga <vargaz@gmail.com>
166 * nBrowser/Node.cs nBrowser/Result.cs: Avoid looking up adapter types names for
167 every request in every assembly.
169 2008-05-22 Marek Habersack <mhabersack@novell.com>
171 * WebConfigurationHost.cs: changed CreateDeprecatedConfigContext
172 to return a new HttpContext object. This is part of a fix for bug
173 #325128. Patch contributed by James Fitzsimons <james.fitzsimons@gmail.com>,
176 2008-05-07 Marek Habersack <mhabersack@novell.com>
178 * RoleManagerSection.cs: use type converter when creating the
179 cookieTimeout property in the static constructor. Fixes bug
180 #387526. Patch fromIvan Hamilton <ivan@chimerical.com.au>, thanks!
182 2008-03-23 Dean Brettle <dean@brettle.com>
184 * CapabilitiesBuild.cs (Process), ICapabilitiesProcess.cs (Process),
185 nBrowser/Build.cs (Process): Added initialCapabilities argument to
186 facilitate using browscap.ini capabilities.
188 * CapabilitiesResult.cs (ctor), nBrowserResult.cs (ctor): Change
189 items arg to IDictionary to facilitate using browscap.ini capabilities.
191 * nBrowser/Node.cs (Reset): Removed code which checked prohibited
192 non-alphanumerics in id attributes because .NET is not that strict.
194 * nBrowser/Node.cs (MergeFrom): Fixed NullReferenceExceptions that
195 occurred when the source or destination node did not have any
196 capabilities or adapters.
198 * nBrowser/Result.cs (AddAdapter): Fixed to allow types in other
201 2008-03-09 Dean Brettle <dean@brettle.com>
203 * nBrowser/Result.cs, nBrowser/NodeTypes.cs, nBrowser/Identification.cs,
204 nBrowser/File.cs, nBrowser/Build.cs, nBrowser/Node.cs,
205 nBrowser/Exception.cs: added. The code under nBrowser handles *.browser
206 files. It is based on Owen "Ocean" Brady's code, with the following
207 changes and improvements. Replaced Result.Adapter
208 property with AdapterTypeMap property which maps control Type to adapter
209 Type. Added Result.MarkupTextWriter property. Added overrides for
210 Result.GetAdapters and Result.GetTagWriter to return MarkupTextWriter
211 and AdapterTypeMap, resp. Changed tree building algorithm to not
212 depend on nodes with id="Default" and to inject defaultBrowser nodes
213 as parents of regular nodes with the same ids. Changed Node.cs to use
214 Item instead of Add when adding a capability or sample header, so that
215 values get replaced instead of appended. Added support for reference
216 nodes (ie. nodes with refID="someID").
218 * CapabilitiesResult.cs: load RandomRoboBotKeywords.txt resource
219 using the correct name.
221 * RandomRoboBotKeywords.txt: added
223 * HttpCapabilitiesBase.cs (CreateHtmlWriter, Adapters): Added
224 support for *.browsers. Adapters property calls internal virtual
225 GetAdapters() method which is overrided in nBrowser.Result
226 returned by nBrowser code. CreateHtmlWriter uses type specified
227 by TagWriter property.
229 2008-03-03 Vladimir Krasnov <vladimirk@mainsoft.com>
231 * ProvidersHelper.cs: fixed thread safety issue in InstantiateProvider
233 2008-03-01 Marek Habersack <mhabersack@novell.com>
235 * WebConfigurationManager.cs: SettingsMappingManager has been
236 moved to Mono.Web.dll
238 2008-02-28 Marek Habersack <mhabersack@novell.com>
240 * HttpHandlerAction.cs: ignore case when matching handler
241 paths. Fixes bug #364995
243 2008-02-26 Marek Habersack <mhabersack@novell.com>
245 * BuildProviderCollection.cs: be case-insensitive when looking for
248 2008-02-25 Marek Habersack <mhabersack@novell.com>
250 * WebConfigurationManager.cs: hashtable can contain a key with a
251 null value, avoid adding duplicate keys in such cases.
253 2008-02-18 Vladimir Krasnov <vladimirk@mainsoft.com>
255 * WebConfigurationManager.cs: performance improvement, cached
258 2008-02-07 Vladimir Krasnov <vladimirk@mainsoft.com>
260 * GlobalizationSection.cs: fixed GetSanitizedCulture, performance
263 2008-02-05 Marek Habersack <mhabersack@novell.com>
265 * CompilerCollection.cs: Get (string language) should not use
266 BaseGet as our collection is keyed on a list of language names
267 (e.g. "cs;csharp") and passing a single language won't match in
268 BaseGet correctly. Use the overriden indexer instead.
269 Initialize the base class with the case-insensitive
270 comparer. Fixes bug #357824.
272 2008-01-27 Daniel Nauck <dna@mono-project.de>
274 * HttpHandlerAction.cs: fixed the internal method PathMatches ()
275 removed wrong caching of FileMatchingInfo classes with request specific
276 informations. Now we check against the current request path and cache
277 the result in a dictionary.
278 Also check correctly against all possible paths from the HttpHandler.
281 2007-12-27 Marek Habersack <mhabersack@novell.com>
283 * ProfileGroupSettingsCollection.cs: added an internal method to
284 add/overwrite new group settings. Used from
285 RootProfilePropertySettingsCollection.
287 * ProfileGroupSettings.cs: added the missing "name" property to
288 the properties collection.
289 Marked the propertySettingsProp property as the default
291 Added internal deserialization method, used from
292 RootProfilePropertySettingsCollection to support the 'group'
295 * ProfileSection.cs: defaultProviderProp typo - the name of the
296 provider should be "AspNetSqlProfileProvider"
298 * RootProfilePropertySettingsCollection.cs: added
299 OnDeseerializeUnrecognizedElement to support the profile 'group'
301 Added a missing Unmerge method.
303 2007-12-11 Vladimir Krasnov <vladimirk@mainsoft.com>
305 * SiteMapSection.cs: fixed ProvidersInternal property to be thread safe
307 2007-12-08 Marek Habersack <mhabersack@novell.com>
309 * WebConfigurationManager.cs: GetSection now runs each section
310 through a mapper (if any is defined for the section) before
311 returning it to the caller.
313 2007-11-23 Marek Habersack <mhabersack@novell.com>
315 * TagPrefixCollection.cs: changed the collection type to
318 * ProfileSection.cs: added missing Properties property, added a
319 static constructor to create property descriptors. Use property
320 descriptors in property accessors.
322 * ProfileGroupSettingsCollection.cs: added missing attribute to
323 the class, removed CollectionType method, added missing IsModified
324 and ResetModified methods, added missing Properties property.
326 * ProfileGroupSettings.cs: added missing Properties property,
327 adjusted the set of custom attributes of the PropertySettings
330 * ProcessModelSection.cs: change the default value of the CpuMask
333 * OutputCacheSection.cs: added the EnableKernelCacheForVaryByStar
336 * OutputCacheProfile.cs: added the VaryByContentEncoding property.
338 * FormsAuthenticationConfiguration.cs: corrected defaults for the
341 * ExpressionBuilder.cs: corrected defaults for the
342 ExpressionPrefix and Type properties.
344 * CustomErrorsSection.cs: added two missing overrides -
345 DeserializeSection and Reset.
347 * ClientTargetSection.cs: added the missing Properties property.
348 Added static constructor to create the property collection.
350 * CustomErrorCollection.cs: removed the ThrowOnDuplicate
353 * CacheSection.cs: corrected defaults for the
354 PercentagePhysicalMemoryUsedLimit property.
356 * ClientTargetCollection.cs: added missing Properties property.
358 * IConfigMapPathFactory.cs: added
360 * IConfigMapPath.cs: added
362 * RoleManagerSection.cs: added a static constructor, a collection
363 of properties, the missing Properties property.
365 2007-11-22 Marek Habersack <mhabersack@novell.com>
367 * RoleManagerSection.cs: CookieTimeout property custom attributes
368 changed to match MS.NET's ones.
370 * AuthorizationRuleCollection.cs: removed the ThrowOnDuplicate
371 property - it's not found in the MS.NET version of the class.
373 2007-11-06 Marek Habersack <mhabersack@novell.com>
375 * MachineKeySectionUtils.cs: make sure keys are autogenerated when
378 2007-11-02 Marek Habersack <mhabersack@novell.com>
380 * HttpHandlerActionCollection.cs: clear http handler cache in
381 HttpApplication if the collection is modified.
383 2007-11-01 Marek Habersack <mhabersack@novell.com>
385 * MachineKeySection.cs: moved all the internal static methods and
386 properties to MachineKeySectionUtils.cs
388 * MachineKeySectionUtils.cs: added. This file is included in the
389 System.Web.Extensions compilation.
390 The old properties from MachineKeySection.cs became methods.
392 2007-10-24 Marek Habersack <mhabersack@novell.com>
394 * HttpHandlerAction.cs: exact path matching must be done on the
395 original string in PathMatches, not on the sliced one. Fixes bug
398 2007-10-17 Marek Habersack <mhabersack@novell.com>
400 * WebConfigurationHost.cs: if running outside hosted environment,
401 read only the assemblyname.config configuration file instead of
402 web.config. Fixes bug #332425
404 2007-10-15 Marek Habersack <mhabersack@novell.com>
406 * ProvidersHelper.cs: use HttpApplication.LoadType instead of
409 * HttpModulesSection.cs: use HttpApplication.LoadType when loading
410 modules, to include both the bin/ directory and the top-level
411 assemblies in search. Fixes bug #333686.
413 2007-08-30 Marek Habersack <mhabersack@novell.com>
415 * MachineKeySection.cs: retrieve the keys from the registry before
416 falling back to the old method. Fixes bug #76606
418 2007-08-23 Marek Habersack <mhabersack@novell.com>
420 * ProvidersHelper.cs: HttpApplication.LoadTypeFromPrivateBin
421 renamed to LoadTypeFromBin.
423 2007-08-21 Marek Habersack <mhabersack@novell.com>
425 * ProvidersHelper.cs: use HttpApplication.LoadTypeFromPrivateBin
426 to get the provider settings type.
428 2007-08-10 Gert Driesen <drieseng@users.sourceforge.net>
430 * PagesEnableSessionState.cs: Marked internal on 1.0 profile.
432 2007-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
434 * ProfileGroupSettingsCollection.cs: added ResetInternal internal
436 * RootProfilePropertySettingsCollection.cs: added Reset method
437 override to reset GroupSettings collection
439 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
441 * HttpHandlerAction.cs: fixed SplitPaths property to be thread safe
443 2007-06-12 Vladimir Krasnov <vladimirk@mainsoft.com>
445 * CompilationSection.cs: TARGET_JVM on not supported features
446 * HttpModulesSection.cs: ctor should be static
448 2007-06-03 Adar Wesley <adarw@mainsoft.com>
450 * ProfilePropertySettingsCollection.cs: added missing method
451 OnDeserializeUnrecognizedElement.
453 2007-05-30 Marek Habersack <mhabersack@novell.com>
455 * WebConfigurationManager.cs: if errors happen when opening the
456 configuration file, mark the manager as unsafe to prevent further
457 usage and avoid error loops.
459 2007-05-17 Igor Zelmanovich <igorz@mainsoft.com>
461 * WebConfigurationHost.cs: for TARGET_J2EE only:
462 prevent NullRefference Exception.
464 2007-05-15 Igor Zelmanovich <igorz@mainsoft.com>
466 * WebConfigurationManager.cs:
467 make configurations hashtable case-insensitive.
468 * WebConfigurationHost.cs: for TARGET_J2EE only:
469 GetStreamName returns file path in right case, that make it works
470 on case-sensitive file system.
472 2007-05-15 Marek Habersack <mhabersack@novell.com>
474 * BuildProviderCollection.cs: refactoring - use
475 HttpApplication.LoadType to actually look up the type.
477 * HttpHandlerAction.cs: as above
479 * WebConfigurationHost.cs: refactoring - moved the LoadType to
480 HttpApplication to share the code between 1.1 and 2.0 profiles.
482 2007-05-14 Marek Habersack <mhabersack@novell.com>
484 * UrlMappingCollection.cs: implemented the Item (string) indexer.
486 * UrlMapping.cs: implemented the URL validation callback body
487 (doesn't work at the moment).
489 2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
491 * WebConfigurationManager.cs:
492 make configurations synchronized.
493 added new internal method RemoveConfigurationFromCache.
495 2007-05-07 Marek Habersack <mhabersack@novell.com>
497 * PagesSection.cs: buffering is on by default.
499 2007-04-24 Marek Habersack <mhabersack@novell.com>
501 * WebConfigurationHost.cs: wrap MapPath calls in try/catch,
502 because bad URLs can cause it to throw exceptions. If such
503 exception is caught, throw a HttpException for Bad Request (400).
504 Look for types in the top-level assemblies (App_Code and
507 * WebConfigurationManager.cs: added two internal methods for safe
508 retrieval of config sections.
510 2007-04-19 Marek Habersack <mhabersack@novell.com>
512 * HttpHandlerAction.cs: look up types in all the toplevel
513 assemblies. Fixes bug #80897.
515 2007-04-17 Atsushi Enomoto <atsushi@ximian.com>
517 * ProcessModelSection.cs : cpuMask default value should be int,
520 2007-04-06 Marek Habersack <mhabersack@novell.com>
522 * CustomErrorsSection.cs: make the customErrors section work.
524 * PagesSection.cs: provide appropriate default value for the
525 asyncTimeout setting.
527 2007-03-24 Marek Habersack <mhabersack@novell.com>
529 * WebConfigurationHost.cs: allow MachineToApplication definition
530 for config paths that equal the domain virtual app directory.
532 2007-03-22 Adar Wesley <adarw@mainsoft.com>
534 * HttpCapabilitiesBase.cs: implemented all capabilities. Capabilities
535 still throw if there is no value in browscaps.ini and the property is called.
537 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
539 * WebConfigurationManager.cs: fixed OpenWebConfiguration, should not
540 lock when checking if configuration is already open
542 2007-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
544 * WebConfigurationManager.cs: fixed OpenWebConfiguration, removed
545 GetBasePath call and locations search, since this not affects
546 configuration initialization, but improves performance
548 2007-03-12 Marek Habersack <mhabersack@novell.com>
550 * ProvidersHelper.cs: support loading custom providers from
551 App_Code assemblies. Fixes bug #81071.
552 Also set eol-style to native.
554 2007-03-08 Gert Driesen <drieseng@users.souceforge.net>
556 * PagesSection.cs: Revert part of Adar's patch that regresses
559 2007-03-06 Adar Wesley <adarw@mainsoft.com>
561 * PagesSection.cs: improve Enum parsing and strongly typed default values.
563 2007-02-20 Marek Habersack <grendello@gmail.com>
565 * Patch from Gert Driesen <drieseng@users.sourceforge.net>
566 * PagesSection.cs: Process value of EnableSessionState attribute
567 case-sensitive, and perform check in getter. Fix for bug #80913.
568 * PageParser.cs: Added note on difference in behaviour between page
569 level attribute and configuration attribute for enableSessionState.
570 * PagesConfiguration.cs: Fixed compiler warning.
572 2007-02-22 Marek Habersack <grendello@gmail.com>
574 * CompilerCollection.cs: Optimize language lookup a bit.
576 2007-02-05 Konstantin Triger <kostat@mainsoft.com>
578 * TagPrefixCollection.cs: Fix element key creation.
580 2007-02-04 Konstantin Triger <kostat@mainsoft.com>
582 * NamespaceInfo.cs, HttpModuleAction.cs, RoleManagerSection.cs:
583 fix the default value.
585 2007-02-02 Marek Habersack <grendello@gmail.com>
587 * TagPrefixCollection.cs: Add the CollectionType parameter.
588 Get rid of unnecessary interface references in the class declaration.
589 GetElementKey should return Source which should be unique, unlike TagPrefix.
591 2007-01-04 Konstantin Triger <kostat@mainsoft.com>
593 * ProfileSection.cs: Ensure enabled = true by default; cleanup.
595 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
597 * CustomErrorCollection.cs: fixed ThrowOnDuplicate to false as in .net
599 2006-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
601 * GlobalizationSection.cs: make encodings actually work for the 2.0
604 2006-12-21 Marek Habersack <grendello@gmail.com>
606 * TagMapInfo.cs: Add an internal default constructor for use from
609 * TagMapCollection.cs: Don't call the string,string constructor of
610 TagMapInfo - the class disallows empty strings as values of its
613 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
615 * RoleManagerSection.cs: refactored using attributes
617 2006-12-20 Marek Habersack <grendello@gmail.com>
619 * ProfilePropertyNameValidator.cs: added a few checks.
621 2006-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
623 * WebConfigurationManager.cs: fixed GetSection to execute
624 GetRuntimeObject, refactored GetSection and GetWebApplicationSection
626 2006-12-17 Vladimir Krasnov <vladimirk@mainsoft.com>
628 * HttpHandlerAction.cs: fixed 'verb' config property
630 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
632 * ProvidersHelper.cs: fixed: load assembles from /bin
634 2006-11-22 Miguel de Icaza <miguel@novell.com>
636 * SessionStateSection.cs: Do not call Enum.Parse with a null
637 argument, prevents an exception from being thrown.
639 2006-11-20 Marek Habersack <grendello@gmail.com>
641 * GlobalizationSection.cs: Added support for "auto" cultures and
642 the "auto:DEFAULT_CULTURE" cultures.
644 2006-11-13 Konstantin Triger <kostat@mainsoft.com>
646 * WebConfigurationHost.cs: use Type.GetType for loading full qualified types.
648 2006-11-05 Vladimir Krasnov <vladimirk@mainsoft.com>
650 * ProfileGroupSettings.cs, ProfileGroupSettingsCollection.cs
651 ProfilePropertySettingsCollection.cs, ProfileSection.cs
652 RootProfilePropertySettingsCollection.cs: refactoring and fix of
655 2006-10-18 Marek Habersack <grendello@gmail.com>
657 * WebConfigurationManager.cs: implement support for extra
658 assemblies to be referenced when compiling a page.
660 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
662 * WebConfigurationManager.cs: add null checks. Patch by Marek Habersack
663 that fixes bug #79283.
665 2006-09-06 Konstantin Triger <kostat@mainsoft.com>
667 * WebConfigurationHost.cs: do not recourse as this will be done by
668 Configuration object.
670 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
672 * WebConfigurationManager.cs: added configSystem property under
674 * WebConfigurationHost.cs: fixed GetStreamName and OpenStreamForRead
676 * CompilationSection.cs: BuildProviders property removed from
678 * SystemWebSectionGroup.cs: Compilation property removed from
681 2006-06-26 Atsushi Enomoto <atsushi@ximian.com>
683 * NullableStringValidator.cs : new internal class that is almost
684 identical to StringValidator but allows null value.
685 * PropertyHelper.cs : use new NullableStringValidator.
686 * NamespaceCollection.cs : in NamespaceInfo "" is not allowed.
688 2006-06-08 Chris Toshok <toshok@ximian.com>
690 * WebConfigurationHost.cs (InitForConfiguration): i know this is
691 going to bite me in the ass, but guard against configPath being ==
692 to "/", since this will result in an infinite loop.
693 (MapPath): fix a NRE.
695 2006-05-18 Atsushi Enomoto <atsushi@ximian.com>
697 * WebConfigurationManager.cs: recent sys.config.dll changes on
698 ConfigurationManager.GetSection() which should call
699 GetRuntimeObject() should also apply here. Fixed monodoc web.
701 2006-05-10 Andrew Skiba <andrews@mainsoft.com>
703 * HttpHandlerAction.cs: keep the internal exception
705 2006-05-08 Chris Toshok <toshok@ximian.com>
707 * WebConfigurationManager.cs (GetBasePath): fix bug where
708 path.Length was 0 when we got to the last while loop (and indexed
709 -1 into an array.) Thanks Marek for the fix.
711 2006-05-04 Chris Toshok <toshok@ximian.com>
715 * WebConfigurationHost.cs (GetConfigType): add a MonoTODO about
716 how we should use the build provider machinery to get types.
717 (MapPath): add rudimentary mapping in the case where we don't have
718 a request, basically handle the case where the url begins with (or
719 is) HttpRuntime.AppDomainAppVirtualPath.
721 * WebConfigurationManager.cs (GetSection): if we don't have a
722 valid request, open the web configuration corresponding to
723 HttpRuntime.AppDomainAppVirtualPath.
724 (GetBasePath): comment this a little, and make it work in the case
725 where we don't have an HttpRequest.
727 2006-04-27 Chris Toshok <toshok@ximian.com>
729 * AuthorizationRuleCollection.cs (ThrowOnDuplicate): for the time
730 being introduce a overridden property MS doesn't make use of.
731 This needs readdressing, but it should get people making use of
732 <authorization> rules working again.
734 2006-04-25 Chris Toshok <toshok@ximian.com>
736 * AuthorizationRule.cs (Reset): finally figure out what this
737 method is supposed to do. Assign our Action property based on
740 2006-04-25 Chris Toshok <toshok@ximian.com>
742 * WebConfigurationHost.cs (InitForConfiguration): actually, use
743 HttpRuntime.AppDomainAppVirtualPath on gonzalo's recommendation.
744 It's never null, and its use cleans things up a bit.
746 2006-04-25 Chris Toshok <toshok@ximian.com>
748 * WebConfigurationHost.cs (InitForConfiguration): stop going up
749 the virtual hierarchy once we reach the application's base virtual
752 2006-04-24 Chris Toshok <toshok@ximian.com>
754 * AuthorizationSection.cs (IsValidUser): fix a problem that
755 surfaced when converting from the 1.1 to 2.0 config classes. Only
756 check for verb match if there are actually verbs to match against.
758 2006-04-11 Chris Toshok <toshok@ximian.com>
760 * ExpressionBuilderCollection.cs (CreateNewElement): call argless
763 * ExpressionBuilder.cs: add internal argumentless ctor for use by
766 2006-03-24 Chris Toshok <toshok@ximian.com>
768 * WebConfigurationManager.cs (GetConfig): add a fallback case for
769 configuration sections that don't subclass from
770 ConfigurationSection.
772 2006-03-24 Chris Toshok <toshok@ximian.com>
774 * WebConfigurationHost.cs: fix bug where OpenWebConfiguration
775 ("/") would result in 2 configurations for that toplevel path to
778 2006-03-08 Chris Toshok <toshok@ximian.com>
780 * ProvidersHelper.cs: implement this static class properly.
782 * SiteMapSection.cs (ProvidersInternal): add internal property to
783 get the actual SiteMapProviderCollection from here.
785 2006-02-28 Chris Toshok <toshok@ximian.com>
787 * BuildProviderAppliesTo.cs, PagesToCountAction.cs: nuke.
789 2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
792 * CompilerCollection.cs: removed compatibility code.
794 * BuildProviderCollection.cs: add GetProviderForExtension().
796 2006-02-02 Chris Toshok <toshok@ximian.com>
798 * WebConfigurationManager.cs (GetSection(string,string)):
801 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
803 * TrustLevelCollection.cs, CodeSubDirectoriesCollection.cs,
804 CustomErrorCollection.cs, CompilerCollection.cs,
805 HttpHandlerActionCollection.cs,
806 FormsAuthenticationUserCollection.cs,
807 AuthorizationRuleCollection.cs, TagPrefixCollection.cs :
808 CollectionType is public.
810 2006-02-01 Chris Toshok <toshok@ximian.com>
812 * WebConfigurationManager.cs: In the normal case, get the current
813 request's web.config, not the application's. If there is no
814 current request, get the application's.
815 (GetWebApplicationConfiguration): use Request.ApplicationPath, not
816 Request.PhysicalApplicationPath. OpenWebConfiguration takes
819 * HttpConfigurationSystem.cs: GetWebApplicationSection =>
822 2006-02-01 Chris Toshok <toshok@ximian.com>
824 * CompilerCollection.cs: CONFIGURATION_2_0 => NET_2_0
828 2006-02-01 Chris Toshok <toshok@ximian.com>
830 * HttpConfigurationSystem.cs: SupportsUserConfig == true. let's
831 use this to determine if ConfigurationManager.AppSettings should
834 2006-01-31 Chris Toshok <toshok@ximian.com>
836 * WebConfigurationManager.cs: err, why did i ifdef stuff NET_2_0
837 inside of an ifdef NET_2_0?
839 2006-01-30 Chris Toshok <toshok@ximian.com>
841 * WebConfigurationManager.cs: lots of little changes. hopefully
842 this doesn't break anyone. it fixes all the nunit problems
845 * WebConfigurationHost.cs (GetStreamName): in the MachineWebPath
846 case, handle the case where we have a WebConfigurationFileMap.
847 (MapPath): this is likely wrong, but in the case where we don't
848 have a file map or current HttpContext, just return the path.
850 2006-01-29 Chris Toshok <toshok@ximian.com>
852 * HttpModulesSection.cs (LoadModules): I'm not sure we want to
853 solve this problem in this way, but the 1.x code forces
854 DefaultAuthenticationModule to be in the list of modules..
855 Without this fix (or something else) HttpContext.User is null when
858 2006-01-26 Chris Toshok <toshok@ximian.com>
860 * HttpConfigurationSystem.cs: new class that gets sections from
863 * WebConfigurationManager.cs: change a lot of the
864 NotImplementedExceptions to NotSupportedExceptions.
865 (AppSettings): implement by just returning
866 ConfigurationManager.AppSettings (note this is broken because
867 ConfigurationManager.AppSettings are read-only, but it works for
869 (ConnectionStrings): same (and probably broken in the same way..)
870 (Init): replace the 2.0 IInternalConfigSystem with our
871 HttpConfigurationSystem.
873 * WebConfigurationHost.cs: add a comment about how things are
874 likely to work in the face of IRemoteWebConfigurationHostServer.
875 (CreateConfigurationContext): return a WebContext instance.
877 2006-01-25 Chris Toshok <toshok@ximian.com>
879 * AuthorizationSection.cs (IsValidUser): instead of a blanket
880 false for a null user, just set the username to "" and short
881 circuit out the check for roles.
883 2006-01-25 Chris Toshok <toshok@ximian.com>
885 * AuthorizationRule.cs (CheckUser): handle * and ?, and use
886 String.Compare instead of ==.
887 (CheckVerb): use String.Compare instead of ==.
889 * AuthorizationSection.cs (IsValidUser): return false for a null
892 2006-01-22 Chris Toshok <toshok@ximian.com>
894 * GlobalizationSection.cs (VerifyData): quiet mcs.
896 2006-01-18 Chris Toshok <toshok@ximian.com>
898 * SystemWebSectionGroup.cs: wrap System.Web.Services references in
901 2006-01-16 Chris Toshok <toshok@ximian.com>
903 * WebConfigurationManager.cs: implement a IConfigurationSystem for
904 use with WebConfigurationManager.
905 (GetSection): try to load the section
906 using GetWebApplicationSection before calling into
907 ConfigurationManager.GetSection.
908 (GetWebApplicationConfiguration): move common code to here.
909 (GetWebApplicationSection): use GetWebApplicationConfiguration.
910 (AppSettings): implement.
912 * WebConfigurationHost.cs (GetWebConfigFileName): add
913 "Web.Config", and move to an array/loop implementation. maybe we
914 should scan the directory and check ToLower() instead of
915 explicitly enumerating?
917 2006-01-10 Chris Toshok <toshok@ximian.com>
919 * SystemWebSectionGroup.cs (HostingEnvironment): enable this property.
920 (ProcessModel): add the ConfigurationPropertyAttribute.
922 2006-01-10 Chris Toshok <toshok@ximian.com>
924 * PagesSection.cs (.cctor): fix the default value for the
925 enableSessionState attribute - it's not a bool, but a
926 PagesEnableSessionState enum.
928 2006-01-10 Chris Toshok <toshok@ximian.com>
930 * MachineKeySection.cs (ValidationKeyBytes, DecryptionKeyBytes,
931 DecryptionKey192Bits): if the keys are null, generate them. Fixes
932 Page.EnableViewStateMac support.
934 2006-01-09 Chris Toshok <toshok@ximian.com>
936 * RoleManagerSection.cs, SqlCacheDepencendySection.cs,
937 SessionStateSection.cs, TraceSection.cs, SecurityPolicySection.cs,
938 PagesSection.cs, RulesSettings.cs, UrlMappingSection.cs: fix
941 2006-01-09 Chris Toshok <toshok@ximian.com>
943 * ExpressionBuilderCollection.cs (.cctor): no need to create a
944 collection property here. we're already in the collection.
946 * CompilationSection.cs: fix typo.
948 2006-01-04 Chris Toshok <toshok@ximian.com>
950 * MachineKeySection.cs: bring over some more internal methods from
951 MachineKeyConfig, and call Set{Decryption,Validation}Key from
952 their respective property setters.
954 2006-01-03 Chris Toshok <toshok@ximian.com>
956 * AuthorizationSection.cs (IsValidUser): add analogous method from
957 AuthorizationConfig.cs.
959 * AuthorizationRule.cs: add predicates for Verb, User, and Role
960 analogous to what existed in AuthorizationConfig.cs.
962 2005-12-11 Chris Toshok <toshok@ximian.com>
964 * WebConfigurationManager.cs (OpenMachineConfiguration): just call
965 ConfigurationManager.OpenMachineConfiguration.
966 (OpenWebConfiguration): remove the "IntPtr userToken" version and
967 add a "string userName" version to clean up corcompare output.
968 Modify all the overloads to pass null instead of IntPtr.Zero.
969 (GetWebApplicationSection): if we're not running in a web
970 application, use the machine configuration.
972 2005-12-06 Chris Toshok <toshok@ximian.com>
974 * CodeSubDirectory.cs (DirectoryName): don't use an private field,
975 but base[directoyNameProp].
977 * AuthorizationRuleCollection.cs (Add): use BaseAdd (rule, false),
978 so we can insert duplicates.
980 (GetElementKey): MS for some reason just uses the action for the
982 (Remove): pass the correct key.
984 * ProfileGroupSettings.cs (GetHashCode): implement.
986 * GlobalizationSection.cs (GetEncoding): for the utf-8 case, just
989 * AssemblyCollection.cs (Add): use BaseAdd (info, false) so we can
992 * CacheSection.cs (.cctor): make privateByteLimit's default 0L so
993 we don't get a invalid cast exception later on.
995 * AuthorizationRule.cs (VerifyData): split out the verification
996 foo from PreSerialize.
997 (PostDeserialize): so we can call it from here.
998 (PreSerialize): and here.
1000 2005-12-05 Chris Toshok <toshok@ximian.com>
1002 * AuthorizationRuleCollection.cs (GetKey): split out the logic for
1003 creating a key from a rule here.
1004 (GetElementKey): use it here.
1007 2005-12-04 Chris Toshok <toshok@ximian.com>
1009 * UrlMapping.cs: add an internal argument-less ctor.
1011 * UrlMappingCollection.cs (CreateNewElement): use argument-less
1013 (GetKey): implement.
1014 (AllKeys): implement.
1016 * TrustLevel.cs: add an internal argument-less ctor.
1018 * TrustLevelCollection.cs (Set): implement.
1019 (CreateNewElement): use argument-less ctor.
1020 (IsElementName): implement.
1021 (ElementName): implement.
1022 (set_Item (int index)): use Set.
1023 (ThrowOnDuplicate): implement.
1025 * TagPrefixInfo.cs: add internal argument-less ctor.
1027 * TagPrefixCollection.cs (CreateNewElement): call argument-less
1029 (CollectionType): add text to TODO.
1030 (ElementName): implement.
1032 * SqlCacheDependencyDatabaseCollection.cs (Set): implement.
1033 (AllKeys): implement.
1035 * RuleSettings.cs: add internal argument-less ctor.
1037 * RuleSettingsCollection.cs (Contains): implement.
1038 (CreateNewElement): use argument-less ctor.
1039 (IndexOf): implement.
1040 (Insert): implement.
1042 * RootProfilePropertySettingsCollection.cs (IsModified): chain up
1043 to base.IsModified for now.
1044 (Reset): chain up to base.Reset for now.
1045 (ResetModified): chain up to base.ResetModified for now.
1047 * ProfileSettings.cs: add internal argument-less ctor.
1049 * ProfileSettingsCollection.cs (Contains): implement.
1050 (CreateNewElement): use argument-less ctor.
1051 (IndexOf): implement.
1052 (Insert): implement.
1054 * ProfilePropertySettingsCollection.cs (IndexOf): implement.
1056 (AllKeys): implement.
1058 * ProfileGroupSettings.cs: add internal argument-less ctor.
1060 * ProfileGroupSettingsCollection.cs (CreateNewElement): use
1061 parameter-less ctor.
1062 (GetKey): implement.
1063 (ResetModified): for now call base.ResetModified.
1065 (AllKeys): implement.
1067 * OutputCacheProfile.cs: add internal argument-less ctor.
1069 * OutputCacheProfileCollection.cs (CreateNewElement): use
1070 parameter-less ctor.
1072 (AllKeys): implement.
1074 * HttpModuleActionCollection.cs (Add): remove MonoTODO.
1075 (CreateNewElement): same.
1077 * HttpHandlerActionCollection.cs (GetElementKey): build up the key
1078 from both the path and the verb.
1081 * FormsAuthenticationUserCollection.cs (Set): implement.
1082 (AllKeys): implement.
1084 * EventMappingSettings.cs: add an internal argument-less ctor.
1086 * EventMappingSettingsCollection.cs (Contains): implement.
1087 (CreateNewElement): use argument-less ctor.
1088 (IndexOf): implement.
1089 (Insert): implement.
1091 * CompilerCollection.cs (GetKey): implement.
1092 (AllKeys): implement.
1094 * ClientTargetCollection.cs (GetKey): implement.
1095 (AllKeys): implement.
1097 * AuthorizationRuleCollection.cs (Set): implement.
1098 (ElementName): add some text to the MonoTODO.
1099 (set_Item (int index)): use Set.
1101 2005-12-04 Chris Toshok <toshok@ximian.com>
1103 * CustomError.cs: add an internal argument-less ctor for use by
1106 * CustomErrorCollection.cs: implement all the MonoTODO's.
1108 2005-12-02 Chris Toshok <toshok@ximian.com>
1110 * GlobalizationSection.cs (VerifyData): split out the stuff that
1111 used to live in PreSerialize here.
1112 (PreSerialize): call VerifyData here.
1113 (PostDeserialize): and here.
1115 2005-12-01 Chris Toshok <toshok@ximian.com>
1117 * GlobalizationSection.cs (PreSerialize): add checks for Culture
1118 and UICulture properties.
1120 2005-12-01 Chris Toshok <toshok@ximian.com>
1122 * AuthorizationRule.cs (..ctor): provide default values for
1123 roles/users/verbs here. Not sure if we should do this in the ctor
1124 or if the System.Configuration infrastructure should.. time will
1126 (PreSerialize): throw if Roles.Count and Users.Count == 0.
1127 (SerializeElement): write out the element here. don't chain up to
1128 the base class since that has differing behavior than what we
1131 2005-11-30 Chris Toshok <toshok@ximian.com>
1133 * CompilerCollection.cs: ugly hack to fix the
1134 2.0-without-config-2.0 case. wrap this file in #if
1135 CONFIGURATION_2_0 as well as #if NET_2_0.
1137 * Compiler.cs: same.
1139 2005-11-28 Chris Toshok <toshok@ximian.com>
1141 * SessionStateSection.cs (CookieLess): correct the compat function
1144 2005-11-28 Chris Toshok <toshok@ximian.com>
1146 * GlobalizationSection.cs (GetEncoding): if the encoding name is
1147 null, default to utf-8 before we hit the try block, so we don't
1148 throw and generate a spurious warning.
1150 * SessionStateSection.cs: The Cookieless handling needs a custom
1151 parser, it appears, as the converter is a StringConverter, not a
1152 GenericEnumConverter.
1153 (ParseCookieMode): the parser.
1155 2005-11-28 Chris Toshok <toshok@ximian.com>
1157 * PagesSection.cs (GetInstance): nuke.
1159 * CompilationSection.cs (GetInstance): nuke.
1161 2005-11-28 Chris Toshok <toshok@ximian.com>
1163 * HttpHandlerAction.cs: add some c&p code from the 1.1 config
1164 stuff to look for matching handlers.
1165 (..ctor): add parameterless ctor.
1167 * HttpHandlerActionCollection.cs: clean up formatting.
1168 (CreateNewElement): call the parameter-less ctor for
1171 * HttpHandlersSection.cs (..ctor): add a ConfigurationProperty for
1172 the default collection.
1173 (get_Handlers): implement.
1174 (LocateHandler): copy over (and massage) some 1.1 config code.
1176 * MachineKeySection.cs: move some code over from the 1.1 config
1177 code to deal with autogeneration of keys, as well as converting
1178 from the string rep to the byte[] rep.
1180 2005-11-28 Chris Toshok <toshok@ximian.com>
1182 * HttpModuleActionCollection.cs (CreateNewElement): use the new
1183 HttpModuleAction ctor.
1185 * HttpModuleAction.cs: add internal ctor with no parameters, for
1186 use in HttpModuleActionCollection.
1188 2005-11-28 Chris Toshok <toshok@ximian.com>
1190 * GlobalizationSection.cs (..cctor): the encoding
1191 ConfigurationProperties are of type "string", even though the
1192 properties themselves are of type Encoding. we do conversions
1193 manually in the setter/getters. gross. Add code (mostly c&p +
1194 massaged from GlobalizationConfigurationHandler) for this and also
1195 to handle the culture gettes.
1197 2005-11-26 Chris Toshok <toshok@ximian.com>
1199 * AuthorizationRuleCollection.cs (GetElementKey): implement this.
1201 * ProfilePropertyNameValidator.cs: make this internal, and add a
1202 blurb about how MS doesn't do the testing you'd expect them to.
1204 2005-11-25 Chris Toshok <toshok@ximian.com>
1206 * AuthorizationRuleCollection.cs (CreateNewElement): remove
1209 * CompilationSection.cs (GetRuntimeObject): add comment to TODO.
1211 * ProfileGroupSettings.cs: reformat some things.
1213 * FormsAuthenticationUser.cs (Name): remove MonoTODO.
1215 * WebPartsSection.cs (GetRuntimeObject): change TODO comment.
1217 * ProfilePropertySettings.cs: add internal argument-less ctor.
1219 * IdentitySection.cs (GetRuntimeObject): return this.
1221 * ProfilePropertySettingsCollection.cs: implement much of the
1224 * WebControlsSection.cs (GetRuntimeObject): implement.
1226 * SqlCacheDependencyDatabaseCollection.cs (GetElementKey):
1228 (GetKey): implement.
1230 2005-11-24 Chris Toshok <toshok@ximian.com>
1232 * AssemblyInfo.cs: move this here from System.Web.Configuration,
1233 and fix up the properties.
1235 * SystemWebSectionGroup.cs: enable most of the sections (2
1236 remaining to be enabled.)
1238 2005-11-24 Chris Toshok <toshok@ximian.com>
1240 * ProcessModelSection.cs, SqlCacheDependencySection.cs,
1241 SessionStateSection.cs, PassportAuthentication.cs,
1242 FormsAuthenticationConfiguration.cs,
1243 SqlCacheDependencyDatabase.cs, HttpModuleAction.cs,
1244 BufferModeSettings.cs, TagPrefixInfo.cs (..cctor): init
1246 (ValidateElement): new static validator callback.
1247 (ElementProperty): enable this, return elementProperty.
1249 2005-11-23 Chris Toshok <toshok@ximian.com>
1251 * ProfilePropertyNameValidator.cs: new implementation.
1253 * ProfilePropertySettings.cs, ProfileGroupSettings.cs,
1254 ClientTargetSection.cs, ClientTargetSection.cs,
1255 BufferModeSettings.cs, HttpModulesSection.cs,
1256 WebPartsPersonalization.cs, TransformerInfo.cs, TrustLevel.cs,
1257 NamespaceInfo.cs, SqlCacheDependencyDatabase.cs,
1258 AuthenticationSection.cs, RuleSettings.cs,
1259 FormsAuthenticationUser.cs, WebPartsSection.cs, BuildProvider.cs,
1260 WebPartsPersonalizationAuthorization.cs, Compiler.cs,
1261 ExpressionBuilder.cs, OutputCacheProfile.cs,
1262 FormsAuthenticationCredentials.cs, XhtmlConformanceSection.cs,
1263 OutputCacheSettingsSection.cs, CustomError.cs, TraceSection.cs,
1264 ExpressionBuilderCollection.cs, ProfileSettings.cs,
1265 SessionStateSection.cs, HealthMonitoringSection.cs,
1266 FormsAuthenticationConfiguration.cs, HttpRuntimeSection.cs,
1267 SessionPageStateSection.cs, TrustSection.cs,
1268 AnonymousIdentificationSection.cs, WebControlsSection.cs,
1269 ClientTarget.cs, TagMapInfo.cs, AuthorizationSection.cs,
1270 ProcessModelSection.cs, RoleManagerSection.cs,
1271 MembershipSection.cs, CustomErrorsSection.cs (..cctor): fix
1272 validator/converters.
1274 * MachineKeySection.cs (..cctor): fix validators/converters.
1275 (Validation): enable the Converter.
1277 * CodeSubDirectory.cs (..cctor): fix validator/converters.
1278 (DirectoryName): add note about missing validator decoration.
1280 * HttpModuleAction.cs (..cctor): init properties.
1281 (Properties): return properties.
1283 * CompilationSection.cs (..cctor): fix validator/converters.
1284 (GetInstance): add in this pre-2.0 interface for the time being,
1285 hopefully it'll make it easier to migrate later on.
1287 * HttpHandlerActionCollection.cs (..cctor): init properties.
1288 (Properties): return properties.
1290 * PagesSection.cs (..cctor): fix validator/converters.
1291 (GetInstance): add in this pre-2.0 interface for the time being,
1292 hopefully it'll make it easier to migrate later on.
1294 * HttpHandlersSection.cs (..cctor): init properties.
1295 (Properties): return properties.
1297 * EventMappingSettings.cs (..cctor): fix validator/converters.
1298 (Name): add note about missing validator decoration.
1300 * HttpHandlerAction.cs (..cctor): fix validator/converters.
1301 (PAth, Type, Verb): add note about missing validator decoration.
1303 * NamespaceCollection.cs (..cctor): fix properties.
1305 * ProfilePropertySettingsCollection.cs (..cctor): init properties.
1306 (..ctor): don't throw NIE.
1307 (Properties): return properties.
1309 * HttpModuleActionCollection.cs (..cctor): init properties.
1310 (Properties): return properties.
1312 * CacheSection.cs (..cctor): fix validators/converters.
1313 (PrivateBytesPollTime): add note about missing validator
1316 * AuthorizationRule.cs (..cctor): fix validators/converters.
1317 (Roles, Users, Verbs): enable the TypeConverter decorations.
1319 * UrlMapping.cs (ValidateUrl): static method for use as a
1320 validation callback. unimplemented as yet.
1321 (..cctor): fix validators/converters.
1322 (MappedUrl): add note about missing validator decoration.
1324 * PropertyHelper.cs: static utility class which contains
1325 references to validators and converters for use in static
1326 constructors (building the Properties arrays).
1328 2005-11-23 Chris Toshok <toshok@ximian.com>
1330 * MachineKeyValidationConverter.cs: new converter (and a pretty
1331 silly one, considering all it seems to do is convert "TripleDES"
1334 * HostingEnvironmentSection.cs (.cctor): use
1335 PositiveTimeSpanValidator like MS does.
1337 2005-11-18 Chris Toshok <toshok@ximian.com>
1339 * HostingEnvironmentSection.cs (.cctor): add validators.
1341 * CompilationSection.cs (.cctor): fix defaultvalue of
1344 2005-11-18 Chris Toshok <toshok@ximian.com>
1346 * SystemWebSectionGroup.cs: enable a whole slew of properties.
1348 * RegexWorker.cs: stub this out.
1350 * HttpCapabilitiesBase.cs: remove GetClrVersions since it's in one
1351 of the other partial files.
1353 * CompilationSection.cs: fix this up.
1355 * PagesSection.cs: fix some types and add a comment to
1358 * CompilerCollection.cs (Add): new internal method.
1360 * ProvidersHelper.cs: put the using System.Configuration.Provider
1361 inside the NET_2_0 block.
1363 * CacheSection.cs: add validators.
1365 2005-11-14 Chris Toshok <toshok@ximian.com>
1367 * BufferModeSettings.cs: add validators/converters to the
1368 programmatic property list.
1370 * BuildProvider.cs: add validators/converters to the programmatic
1371 property list, and add an internal ctor with no args.
1373 * Compiler.cs: wrap the code i hacked from the 1.1 stuff with a
1376 * BuildProviderCollection.cs (CreateNewElement): use the internal
1377 BuildProvider ctor to get around validation.
1379 * AssemblyCollection.cs: same.
1381 2005-11-14 Chris Toshok <toshok@ximian.com>
1383 * TagPrefixCollection.cs (Remove): pass the key to BaseRemove.
1384 (set_Item (int index)): implement.
1386 * TagPrefixInfo.cs (Equals): implement.
1387 (GetHashCode): implement.
1389 * AuthorizationRuleCollection.cs (CreateNewElement(string)):
1390 implement propertly.
1391 (IndexOf): implement.
1392 (IsElementName): implement.
1393 (ElementName): implement.
1394 (Item (int index)): implement.
1396 * FormsAuthenticationUserCollection.cs (set_Item (int index)): implement.
1398 * UrlMappingCollection.cs (set_Item (int index)): implement.
1400 * OutputCacheProfileCollection.cs (set_Item (int index)): implement.
1402 * TransformerInfo.cs (Equals): implement.
1403 (GetHashCode): implement.
1405 * NamespaceInfo.cs (Equals): implement.
1406 (GetHashCode): implement.
1408 * ProfileSettingsCollection.cs (set_Item (int index)): implement.
1410 * TransformerInfoCollection.cs (set_Item (int index)): implement.
1412 * HttpHandlerActionCollection.cs (set_Item (int index)): implement.
1414 * BufferModesCollection.cs (set_Item (int index)): implement.
1416 * BuildProvider.cs: use the base[fooProp] pattern instead of
1419 * ProfileGroupSettingsCollection.cs: implement most of this class.
1421 * RuleSettingsCollection.cs (set_Item (int index)): implement.
1423 * ClientTargetCollection.cs (set_Item (int index)): implement.
1425 * AssemblyCollection.cs (set_Item (int index)): implement.
1427 * BuildProviderCollection.cs (set_Item (int index)): reformat.
1429 * CustomError.cs (Equals): implement.
1430 (GetHashCode): implement.
1432 * ExpressionBuilderCollection.cs (set_Item (int index)): reformat.
1434 * PassportAuthentication.cs (RedirectUrl): express consternation
1437 * NamespaceCollection.cs (set_Item (int index)): implement.
1439 * RootProfilePropertySettingsCollection.cs (SerializeElement): add
1442 * ProfilePropertySettingsCollection.cs (set_Item (int index)):
1445 * CustomErrorCollection.cs (set_Item (int index)): implement.
1447 * HttpModuleActionCollection.cs (set_Item (int index)): implement.
1449 * CodeSubDirectoriesCollection.cs (set_Item (int index)):
1452 * CustomErrorsSection.cs (DeserializeSection): include call to
1453 base.DeserializeSection, and add MonoTODO.
1455 * EventMappingSettingsCollection.cs (set_Item (int index)):
1458 * AuthorizationRule.cs (Equals): implement.
1459 (GetHashCode): implement.
1460 (SerializeElement): add comment.
1462 * TagMapCollection.cs (Remove): pass the key to BaseRemove.
1463 (set_Item (int index)): implement.
1465 * TagMapInfo.cs (Equals): implement.
1466 (GetHashCode): implement.
1467 (SerializeElement): add call to base.SerializeElement.
1469 * TrustLevelCollection.cs (Remove): pass the key to BaseRemove.
1470 (GetElementKey): implement.
1472 * SqlCacheDependencyDatabase.cs (set_Item (int index)): implement.
1474 * WebContext.cs: new implementation.
1476 2005-11-13 Chris Toshok <toshok@ximian.com>
1478 * AnonymousIdentificationSection.cs: rework this class a bit to
1479 fit in with the rest of S.W.C. Add validators to the
1480 ConfigurationProperty ctor calls, a pattern which will need to be
1481 replicated across the entire assembly, it appears (uggggh).
1483 2005-11-13 Chris Toshok <toshok@ximian.com>
1485 * AuthorizationRuleCollection.cs: fix ConfigurationCollection
1488 * TransformerInfo.cs: fix corcompare.
1490 * SqlCacheDependencyDatabase.cs: mark ctor internal to fix
1493 * AuthenticationSection.cs: add missing Reset stub.
1495 * ProfileSettingsCollection.cs: use the more succint ctor.
1497 * FormsAuthenticationUser.cs: enable the TypeConverter on "name".
1499 * GlobalizationSection.cs: fix up corcompare.
1501 * WebPartsSection.cs: fix up corcompare.
1503 * ProfileGroupSettingsCollection.cs: add missing
1504 ConfigurationCollection attribute.
1506 * ExpressionBuilder.cs: implement.
1508 * FormsAuthenticationCredentials.cs: fix up corcompare.
1510 * AssemblyCollection.cs: implement Properties.
1512 * SiteMapSection.cs: implement Properties.
1514 * ExpressionBuilderCollection.cs: fix up corcompare.
1516 * ProfileSettings.cs: add missing ctor.
1518 * PassportAuthentication.cs: new implementation.
1520 * SqlCacheDependencySection.cs: fix up corcompare.
1522 * ProfilePropertySettingsCollection.cs: fix up corcompare.
1524 * HttpModuleActionCollection.cs: fix up corcompare.
1526 * EventMappingSettingsCollection.cs: fix up corcompare.
1528 * AuthorizationRule.cs: fix up corcompare.
1530 * WebControlsSection.cs: fix up corcompare.
1532 * AuthorizationSection.cs: fix up corcompare.
1534 * MembershipSection.cs: clean this up, implement Properties, fix
1537 2005-11-13 Chris Toshok <toshok@ximian.com>
1539 * UrlMapping.cs, CustomErrorCollection.cs, CustomError.cs,
1540 HostingEnvironmentSection.cs, TrustLevel.cs,
1541 HttpCookiesSection.cs, UrlMappingsSection.cs,
1542 UrlMappingCollection.cs, LowerCaseStringConverter.cs,
1543 RoleManagerSection.cs, ProcessModelSection.cs,
1544 TrustLevelCollection.cs, ClientTarget.cs, CustomErrorsSection.cs,
1545 MachineKeySection.cs, SessionPageStateSection.cs,
1546 SessionStateSection.cs, ProvidersHelper.cs,
1547 ClientTargetCollection.cs, SecurityPolicySection.cs,
1548 HttpCapabilitiesBase.cs, ClientTargetSection.cs: Another large
1552 2005-11-12 Chris Toshok <toshok@ximian.com>
1554 * AuthorizationRuleCollection.cs, AuthorizationRule.cs,
1555 AuthorizationSection.cs, BufferModesCollection.cs,
1556 BufferModeSettings.cs, CacheSection.cs, CompilerCollection.cs,
1557 Compiler.cs, DeploymentSection.cs,
1558 EventMappingSettingsCollection.cs, EventMappingSettings.cs,
1559 GlobalizationSection.cs, HealthMonitoringSection.cs,
1560 IdentitySection.cs, OutputCacheProfileCollection.cs,
1561 OutputCacheProfile.cs, OutputCacheSection.cs,
1562 OutputCacheSettingsSection.cs, ProfileSettingsCollection.cs,
1563 ProfileSettings.cs, RuleSettingsCollection.cs, RuleSettings.cs,
1564 SqlCacheDependencyDatabaseCollection.cs,
1565 SqlCacheDependencyDatabase.cs, SqlCacheDependencySection.cs,
1566 SystemWebCachingSectionGroup.cs, TraceSection.cs,
1567 TransformerInfoCollection.cs, TransformerInfo.cs, TrustSection.cs,
1568 WebControlsSection.cs, WebPartsPersonalizationAuthorization.cs,
1569 WebPartsPersonalization.cs, WebPartsSection.cs,
1570 XhtmlConformanceSection.cs: a whole slew of new classes. the
1571 fruits of tons of c&p and ibuprofen.
1574 2005-11-09 Chris Toshok <toshok@ximian.com>
1576 * PagesSection.cs, AuthenticationSection.cs, BuildProvider.cs,
1577 BuildProviderCollection.cs, HttpHandlerActionCollection.cs,
1578 HttpModulesSection.cs, HttpModuleAction.cs,
1579 HttpModuleActionCollection.cs, AnonymousIdentificationSection.cs,
1580 CodeSubDirectory.cs, CodeSubDirectoriesCollection.cs,
1581 SystemWebSectionGroup.cs, SiteMapSection.cs,
1582 WebConfigurationManager.cs: flesh out the implementation.
1584 * TagMap*.cs, TagPrefix*.cs: new implementation.
1586 * FormsAuthentication*.cs: new implementation.
1588 * Profile*.cs: new implementation.
1590 * Namespace*.cs: new implementation.
1592 * HttpRuntimeSection.cs: new implementation.