1 2007-08-10 Gert Driesen <drieseng@users.sourceforge.net>
3 * PagesEnableSessionState.cs: Marked internal on 1.0 profile.
5 2007-07-16 Vladimir Krasnov <vladimirk@mainsoft.com>
7 * ProfileGroupSettingsCollection.cs: added ResetInternal internal
9 * RootProfilePropertySettingsCollection.cs: added Reset method
10 override to reset GroupSettings collection
12 2007-06-24 Vladimir Krasnov <vladimirk@mainsoft.com>
14 * HttpHandlerAction.cs: fixed SplitPaths property to be thread safe
16 2007-06-12 Vladimir Krasnov <vladimirk@mainsoft.com>
18 * CompilationSection.cs: TARGET_JVM on not supported features
19 * HttpModulesSection.cs: ctor should be static
21 2007-06-03 Adar Wesley <adarw@mainsoft.com>
23 * ProfilePropertySettingsCollection.cs: added missing method
24 OnDeserializeUnrecognizedElement.
26 2007-05-30 Marek Habersack <mhabersack@novell.com>
28 * WebConfigurationManager.cs: if errors happen when opening the
29 configuration file, mark the manager as unsafe to prevent further
30 usage and avoid error loops.
32 2007-05-17 Igor Zelmanovich <igorz@mainsoft.com>
34 * WebConfigurationHost.cs: for TARGET_J2EE only:
35 prevent NullRefference Exception.
37 2007-05-15 Igor Zelmanovich <igorz@mainsoft.com>
39 * WebConfigurationManager.cs:
40 make configurations hashtable case-insensitive.
41 * WebConfigurationHost.cs: for TARGET_J2EE only:
42 GetStreamName returns file path in right case, that make it works
43 on case-sensitive file system.
45 2007-05-15 Marek Habersack <mhabersack@novell.com>
47 * BuildProviderCollection.cs: refactoring - use
48 HttpApplication.LoadType to actually look up the type.
50 * HttpHandlerAction.cs: as above
52 * WebConfigurationHost.cs: refactoring - moved the LoadType to
53 HttpApplication to share the code between 1.1 and 2.0 profiles.
55 2007-05-14 Marek Habersack <mhabersack@novell.com>
57 * UrlMappingCollection.cs: implemented the Item (string) indexer.
59 * UrlMapping.cs: implemented the URL validation callback body
60 (doesn't work at the moment).
62 2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
64 * WebConfigurationManager.cs:
65 make configurations synchronized.
66 added new internal method RemoveConfigurationFromCache.
68 2007-05-07 Marek Habersack <mhabersack@novell.com>
70 * PagesSection.cs: buffering is on by default.
72 2007-04-24 Marek Habersack <mhabersack@novell.com>
74 * WebConfigurationHost.cs: wrap MapPath calls in try/catch,
75 because bad URLs can cause it to throw exceptions. If such
76 exception is caught, throw a HttpException for Bad Request (400).
77 Look for types in the top-level assemblies (App_Code and
80 * WebConfigurationManager.cs: added two internal methods for safe
81 retrieval of config sections.
83 2007-04-19 Marek Habersack <mhabersack@novell.com>
85 * HttpHandlerAction.cs: look up types in all the toplevel
86 assemblies. Fixes bug #80897.
88 2007-04-17 Atsushi Enomoto <atsushi@ximian.com>
90 * ProcessModelSection.cs : cpuMask default value should be int,
93 2007-04-06 Marek Habersack <mhabersack@novell.com>
95 * CustomErrorsSection.cs: make the customErrors section work.
97 * PagesSection.cs: provide appropriate default value for the
100 2007-03-24 Marek Habersack <mhabersack@novell.com>
102 * WebConfigurationHost.cs: allow MachineToApplication definition
103 for config paths that equal the domain virtual app directory.
105 2007-03-22 Adar Wesley <adarw@mainsoft.com>
107 * HttpCapabilitiesBase.cs: implemented all capabilities. Capabilities
108 still throw if there is no value in browscaps.ini and the property is called.
110 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
112 * WebConfigurationManager.cs: fixed OpenWebConfiguration, should not
113 lock when checking if configuration is already open
115 2007-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
117 * WebConfigurationManager.cs: fixed OpenWebConfiguration, removed
118 GetBasePath call and locations search, since this not affects
119 configuration initialization, but improves performance
121 2007-03-12 Marek Habersack <mhabersack@novell.com>
123 * ProvidersHelper.cs: support loading custom providers from
124 App_Code assemblies. Fixes bug #81071.
125 Also set eol-style to native.
127 2007-03-08 Gert Driesen <drieseng@users.souceforge.net>
129 * PagesSection.cs: Revert part of Adar's patch that regresses
132 2007-03-06 Adar Wesley <adarw@mainsoft.com>
134 * PagesSection.cs: improve Enum parsing and strongly typed default values.
136 2007-02-20 Marek Habersack <grendello@gmail.com>
138 * Patch from Gert Driesen <drieseng@users.sourceforge.net>
139 * PagesSection.cs: Process value of EnableSessionState attribute
140 case-sensitive, and perform check in getter. Fix for bug #80913.
141 * PageParser.cs: Added note on difference in behaviour between page
142 level attribute and configuration attribute for enableSessionState.
143 * PagesConfiguration.cs: Fixed compiler warning.
145 2007-02-22 Marek Habersack <grendello@gmail.com>
147 * CompilerCollection.cs: Optimize language lookup a bit.
149 2007-02-05 Konstantin Triger <kostat@mainsoft.com>
151 * TagPrefixCollection.cs: Fix element key creation.
153 2007-02-04 Konstantin Triger <kostat@mainsoft.com>
155 * NamespaceInfo.cs, HttpModuleAction.cs, RoleManagerSection.cs:
156 fix the default value.
158 2007-02-02 Marek Habersack <grendello@gmail.com>
160 * TagPrefixCollection.cs: Add the CollectionType parameter.
161 Get rid of unnecessary interface references in the class declaration.
162 GetElementKey should return Source which should be unique, unlike TagPrefix.
164 2007-01-04 Konstantin Triger <kostat@mainsoft.com>
166 * ProfileSection.cs: Ensure enabled = true by default; cleanup.
168 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
170 * CustomErrorCollection.cs: fixed ThrowOnDuplicate to false as in .net
172 2006-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
174 * GlobalizationSection.cs: make encodings actually work for the 2.0
177 2006-12-21 Marek Habersack <grendello@gmail.com>
179 * TagMapInfo.cs: Add an internal default constructor for use from
182 * TagMapCollection.cs: Don't call the string,string constructor of
183 TagMapInfo - the class disallows empty strings as values of its
186 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
188 * RoleManagerSection.cs: refactored using attributes
190 2006-12-20 Marek Habersack <grendello@gmail.com>
192 * ProfilePropertyNameValidator.cs: added a few checks.
194 2006-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
196 * WebConfigurationManager.cs: fixed GetSection to execute
197 GetRuntimeObject, refactored GetSection and GetWebApplicationSection
199 2006-12-17 Vladimir Krasnov <vladimirk@mainsoft.com>
201 * HttpHandlerAction.cs: fixed 'verb' config property
203 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
205 * ProvidersHelper.cs: fixed: load assembles from /bin
207 2006-11-22 Miguel de Icaza <miguel@novell.com>
209 * SessionStateSection.cs: Do not call Enum.Parse with a null
210 argument, prevents an exception from being thrown.
212 2006-11-20 Marek Habersack <grendello@gmail.com>
214 * GlobalizationSection.cs: Added support for "auto" cultures and
215 the "auto:DEFAULT_CULTURE" cultures.
217 2006-11-13 Konstantin Triger <kostat@mainsoft.com>
219 * WebConfigurationHost.cs: use Type.GetType for loading full qualified types.
221 2006-11-05 Vladimir Krasnov <vladimirk@mainsoft.com>
223 * ProfileGroupSettings.cs, ProfileGroupSettingsCollection.cs
224 ProfilePropertySettingsCollection.cs, ProfileSection.cs
225 RootProfilePropertySettingsCollection.cs: refactoring and fix of
228 2006-10-18 Marek Habersack <grendello@gmail.com>
230 * WebConfigurationManager.cs: implement support for extra
231 assemblies to be referenced when compiling a page.
233 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
235 * WebConfigurationManager.cs: add null checks. Patch by Marek Habersack
236 that fixes bug #79283.
238 2006-09-06 Konstantin Triger <kostat@mainsoft.com>
240 * WebConfigurationHost.cs: do not recourse as this will be done by
241 Configuration object.
243 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
245 * WebConfigurationManager.cs: added configSystem property under
247 * WebConfigurationHost.cs: fixed GetStreamName and OpenStreamForRead
249 * CompilationSection.cs: BuildProviders property removed from
251 * SystemWebSectionGroup.cs: Compilation property removed from
254 2006-06-26 Atsushi Enomoto <atsushi@ximian.com>
256 * NullableStringValidator.cs : new internal class that is almost
257 identical to StringValidator but allows null value.
258 * PropertyHelper.cs : use new NullableStringValidator.
259 * NamespaceCollection.cs : in NamespaceInfo "" is not allowed.
261 2006-06-08 Chris Toshok <toshok@ximian.com>
263 * WebConfigurationHost.cs (InitForConfiguration): i know this is
264 going to bite me in the ass, but guard against configPath being ==
265 to "/", since this will result in an infinite loop.
266 (MapPath): fix a NRE.
268 2006-05-18 Atsushi Enomoto <atsushi@ximian.com>
270 * WebConfigurationManager.cs: recent sys.config.dll changes on
271 ConfigurationManager.GetSection() which should call
272 GetRuntimeObject() should also apply here. Fixed monodoc web.
274 2006-05-10 Andrew Skiba <andrews@mainsoft.com>
276 * HttpHandlerAction.cs: keep the internal exception
278 2006-05-08 Chris Toshok <toshok@ximian.com>
280 * WebConfigurationManager.cs (GetBasePath): fix bug where
281 path.Length was 0 when we got to the last while loop (and indexed
282 -1 into an array.) Thanks Marek for the fix.
284 2006-05-04 Chris Toshok <toshok@ximian.com>
288 * WebConfigurationHost.cs (GetConfigType): add a MonoTODO about
289 how we should use the build provider machinery to get types.
290 (MapPath): add rudimentary mapping in the case where we don't have
291 a request, basically handle the case where the url begins with (or
292 is) HttpRuntime.AppDomainAppVirtualPath.
294 * WebConfigurationManager.cs (GetSection): if we don't have a
295 valid request, open the web configuration corresponding to
296 HttpRuntime.AppDomainAppVirtualPath.
297 (GetBasePath): comment this a little, and make it work in the case
298 where we don't have an HttpRequest.
300 2006-04-27 Chris Toshok <toshok@ximian.com>
302 * AuthorizationRuleCollection.cs (ThrowOnDuplicate): for the time
303 being introduce a overridden property MS doesn't make use of.
304 This needs readdressing, but it should get people making use of
305 <authorization> rules working again.
307 2006-04-25 Chris Toshok <toshok@ximian.com>
309 * AuthorizationRule.cs (Reset): finally figure out what this
310 method is supposed to do. Assign our Action property based on
313 2006-04-25 Chris Toshok <toshok@ximian.com>
315 * WebConfigurationHost.cs (InitForConfiguration): actually, use
316 HttpRuntime.AppDomainAppVirtualPath on gonzalo's recommendation.
317 It's never null, and its use cleans things up a bit.
319 2006-04-25 Chris Toshok <toshok@ximian.com>
321 * WebConfigurationHost.cs (InitForConfiguration): stop going up
322 the virtual hierarchy once we reach the application's base virtual
325 2006-04-24 Chris Toshok <toshok@ximian.com>
327 * AuthorizationSection.cs (IsValidUser): fix a problem that
328 surfaced when converting from the 1.1 to 2.0 config classes. Only
329 check for verb match if there are actually verbs to match against.
331 2006-04-11 Chris Toshok <toshok@ximian.com>
333 * ExpressionBuilderCollection.cs (CreateNewElement): call argless
336 * ExpressionBuilder.cs: add internal argumentless ctor for use by
339 2006-03-24 Chris Toshok <toshok@ximian.com>
341 * WebConfigurationManager.cs (GetConfig): add a fallback case for
342 configuration sections that don't subclass from
343 ConfigurationSection.
345 2006-03-24 Chris Toshok <toshok@ximian.com>
347 * WebConfigurationHost.cs: fix bug where OpenWebConfiguration
348 ("/") would result in 2 configurations for that toplevel path to
351 2006-03-08 Chris Toshok <toshok@ximian.com>
353 * ProvidersHelper.cs: implement this static class properly.
355 * SiteMapSection.cs (ProvidersInternal): add internal property to
356 get the actual SiteMapProviderCollection from here.
358 2006-02-28 Chris Toshok <toshok@ximian.com>
360 * BuildProviderAppliesTo.cs, PagesToCountAction.cs: nuke.
362 2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
365 * CompilerCollection.cs: removed compatibility code.
367 * BuildProviderCollection.cs: add GetProviderForExtension().
369 2006-02-02 Chris Toshok <toshok@ximian.com>
371 * WebConfigurationManager.cs (GetSection(string,string)):
374 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
376 * TrustLevelCollection.cs, CodeSubDirectoriesCollection.cs,
377 CustomErrorCollection.cs, CompilerCollection.cs,
378 HttpHandlerActionCollection.cs,
379 FormsAuthenticationUserCollection.cs,
380 AuthorizationRuleCollection.cs, TagPrefixCollection.cs :
381 CollectionType is public.
383 2006-02-01 Chris Toshok <toshok@ximian.com>
385 * WebConfigurationManager.cs: In the normal case, get the current
386 request's web.config, not the application's. If there is no
387 current request, get the application's.
388 (GetWebApplicationConfiguration): use Request.ApplicationPath, not
389 Request.PhysicalApplicationPath. OpenWebConfiguration takes
392 * HttpConfigurationSystem.cs: GetWebApplicationSection =>
395 2006-02-01 Chris Toshok <toshok@ximian.com>
397 * CompilerCollection.cs: CONFIGURATION_2_0 => NET_2_0
401 2006-02-01 Chris Toshok <toshok@ximian.com>
403 * HttpConfigurationSystem.cs: SupportsUserConfig == true. let's
404 use this to determine if ConfigurationManager.AppSettings should
407 2006-01-31 Chris Toshok <toshok@ximian.com>
409 * WebConfigurationManager.cs: err, why did i ifdef stuff NET_2_0
410 inside of an ifdef NET_2_0?
412 2006-01-30 Chris Toshok <toshok@ximian.com>
414 * WebConfigurationManager.cs: lots of little changes. hopefully
415 this doesn't break anyone. it fixes all the nunit problems
418 * WebConfigurationHost.cs (GetStreamName): in the MachineWebPath
419 case, handle the case where we have a WebConfigurationFileMap.
420 (MapPath): this is likely wrong, but in the case where we don't
421 have a file map or current HttpContext, just return the path.
423 2006-01-29 Chris Toshok <toshok@ximian.com>
425 * HttpModulesSection.cs (LoadModules): I'm not sure we want to
426 solve this problem in this way, but the 1.x code forces
427 DefaultAuthenticationModule to be in the list of modules..
428 Without this fix (or something else) HttpContext.User is null when
431 2006-01-26 Chris Toshok <toshok@ximian.com>
433 * HttpConfigurationSystem.cs: new class that gets sections from
436 * WebConfigurationManager.cs: change a lot of the
437 NotImplementedExceptions to NotSupportedExceptions.
438 (AppSettings): implement by just returning
439 ConfigurationManager.AppSettings (note this is broken because
440 ConfigurationManager.AppSettings are read-only, but it works for
442 (ConnectionStrings): same (and probably broken in the same way..)
443 (Init): replace the 2.0 IInternalConfigSystem with our
444 HttpConfigurationSystem.
446 * WebConfigurationHost.cs: add a comment about how things are
447 likely to work in the face of IRemoteWebConfigurationHostServer.
448 (CreateConfigurationContext): return a WebContext instance.
450 2006-01-25 Chris Toshok <toshok@ximian.com>
452 * AuthorizationSection.cs (IsValidUser): instead of a blanket
453 false for a null user, just set the username to "" and short
454 circuit out the check for roles.
456 2006-01-25 Chris Toshok <toshok@ximian.com>
458 * AuthorizationRule.cs (CheckUser): handle * and ?, and use
459 String.Compare instead of ==.
460 (CheckVerb): use String.Compare instead of ==.
462 * AuthorizationSection.cs (IsValidUser): return false for a null
465 2006-01-22 Chris Toshok <toshok@ximian.com>
467 * GlobalizationSection.cs (VerifyData): quiet mcs.
469 2006-01-18 Chris Toshok <toshok@ximian.com>
471 * SystemWebSectionGroup.cs: wrap System.Web.Services references in
474 2006-01-16 Chris Toshok <toshok@ximian.com>
476 * WebConfigurationManager.cs: implement a IConfigurationSystem for
477 use with WebConfigurationManager.
478 (GetSection): try to load the section
479 using GetWebApplicationSection before calling into
480 ConfigurationManager.GetSection.
481 (GetWebApplicationConfiguration): move common code to here.
482 (GetWebApplicationSection): use GetWebApplicationConfiguration.
483 (AppSettings): implement.
485 * WebConfigurationHost.cs (GetWebConfigFileName): add
486 "Web.Config", and move to an array/loop implementation. maybe we
487 should scan the directory and check ToLower() instead of
488 explicitly enumerating?
490 2006-01-10 Chris Toshok <toshok@ximian.com>
492 * SystemWebSectionGroup.cs (HostingEnvironment): enable this property.
493 (ProcessModel): add the ConfigurationPropertyAttribute.
495 2006-01-10 Chris Toshok <toshok@ximian.com>
497 * PagesSection.cs (.cctor): fix the default value for the
498 enableSessionState attribute - it's not a bool, but a
499 PagesEnableSessionState enum.
501 2006-01-10 Chris Toshok <toshok@ximian.com>
503 * MachineKeySection.cs (ValidationKeyBytes, DecryptionKeyBytes,
504 DecryptionKey192Bits): if the keys are null, generate them. Fixes
505 Page.EnableViewStateMac support.
507 2006-01-09 Chris Toshok <toshok@ximian.com>
509 * RoleManagerSection.cs, SqlCacheDepencendySection.cs,
510 SessionStateSection.cs, TraceSection.cs, SecurityPolicySection.cs,
511 PagesSection.cs, RulesSettings.cs, UrlMappingSection.cs: fix
514 2006-01-09 Chris Toshok <toshok@ximian.com>
516 * ExpressionBuilderCollection.cs (.cctor): no need to create a
517 collection property here. we're already in the collection.
519 * CompilationSection.cs: fix typo.
521 2006-01-04 Chris Toshok <toshok@ximian.com>
523 * MachineKeySection.cs: bring over some more internal methods from
524 MachineKeyConfig, and call Set{Decryption,Validation}Key from
525 their respective property setters.
527 2006-01-03 Chris Toshok <toshok@ximian.com>
529 * AuthorizationSection.cs (IsValidUser): add analogous method from
530 AuthorizationConfig.cs.
532 * AuthorizationRule.cs: add predicates for Verb, User, and Role
533 analogous to what existed in AuthorizationConfig.cs.
535 2005-12-11 Chris Toshok <toshok@ximian.com>
537 * WebConfigurationManager.cs (OpenMachineConfiguration): just call
538 ConfigurationManager.OpenMachineConfiguration.
539 (OpenWebConfiguration): remove the "IntPtr userToken" version and
540 add a "string userName" version to clean up corcompare output.
541 Modify all the overloads to pass null instead of IntPtr.Zero.
542 (GetWebApplicationSection): if we're not running in a web
543 application, use the machine configuration.
545 2005-12-06 Chris Toshok <toshok@ximian.com>
547 * CodeSubDirectory.cs (DirectoryName): don't use an private field,
548 but base[directoyNameProp].
550 * AuthorizationRuleCollection.cs (Add): use BaseAdd (rule, false),
551 so we can insert duplicates.
553 (GetElementKey): MS for some reason just uses the action for the
555 (Remove): pass the correct key.
557 * ProfileGroupSettings.cs (GetHashCode): implement.
559 * GlobalizationSection.cs (GetEncoding): for the utf-8 case, just
562 * AssemblyCollection.cs (Add): use BaseAdd (info, false) so we can
565 * CacheSection.cs (.cctor): make privateByteLimit's default 0L so
566 we don't get a invalid cast exception later on.
568 * AuthorizationRule.cs (VerifyData): split out the verification
569 foo from PreSerialize.
570 (PostDeserialize): so we can call it from here.
571 (PreSerialize): and here.
573 2005-12-05 Chris Toshok <toshok@ximian.com>
575 * AuthorizationRuleCollection.cs (GetKey): split out the logic for
576 creating a key from a rule here.
577 (GetElementKey): use it here.
580 2005-12-04 Chris Toshok <toshok@ximian.com>
582 * UrlMapping.cs: add an internal argument-less ctor.
584 * UrlMappingCollection.cs (CreateNewElement): use argument-less
587 (AllKeys): implement.
589 * TrustLevel.cs: add an internal argument-less ctor.
591 * TrustLevelCollection.cs (Set): implement.
592 (CreateNewElement): use argument-less ctor.
593 (IsElementName): implement.
594 (ElementName): implement.
595 (set_Item (int index)): use Set.
596 (ThrowOnDuplicate): implement.
598 * TagPrefixInfo.cs: add internal argument-less ctor.
600 * TagPrefixCollection.cs (CreateNewElement): call argument-less
602 (CollectionType): add text to TODO.
603 (ElementName): implement.
605 * SqlCacheDependencyDatabaseCollection.cs (Set): implement.
606 (AllKeys): implement.
608 * RuleSettings.cs: add internal argument-less ctor.
610 * RuleSettingsCollection.cs (Contains): implement.
611 (CreateNewElement): use argument-less ctor.
612 (IndexOf): implement.
615 * RootProfilePropertySettingsCollection.cs (IsModified): chain up
616 to base.IsModified for now.
617 (Reset): chain up to base.Reset for now.
618 (ResetModified): chain up to base.ResetModified for now.
620 * ProfileSettings.cs: add internal argument-less ctor.
622 * ProfileSettingsCollection.cs (Contains): implement.
623 (CreateNewElement): use argument-less ctor.
624 (IndexOf): implement.
627 * ProfilePropertySettingsCollection.cs (IndexOf): implement.
629 (AllKeys): implement.
631 * ProfileGroupSettings.cs: add internal argument-less ctor.
633 * ProfileGroupSettingsCollection.cs (CreateNewElement): use
636 (ResetModified): for now call base.ResetModified.
638 (AllKeys): implement.
640 * OutputCacheProfile.cs: add internal argument-less ctor.
642 * OutputCacheProfileCollection.cs (CreateNewElement): use
645 (AllKeys): implement.
647 * HttpModuleActionCollection.cs (Add): remove MonoTODO.
648 (CreateNewElement): same.
650 * HttpHandlerActionCollection.cs (GetElementKey): build up the key
651 from both the path and the verb.
654 * FormsAuthenticationUserCollection.cs (Set): implement.
655 (AllKeys): implement.
657 * EventMappingSettings.cs: add an internal argument-less ctor.
659 * EventMappingSettingsCollection.cs (Contains): implement.
660 (CreateNewElement): use argument-less ctor.
661 (IndexOf): implement.
664 * CompilerCollection.cs (GetKey): implement.
665 (AllKeys): implement.
667 * ClientTargetCollection.cs (GetKey): implement.
668 (AllKeys): implement.
670 * AuthorizationRuleCollection.cs (Set): implement.
671 (ElementName): add some text to the MonoTODO.
672 (set_Item (int index)): use Set.
674 2005-12-04 Chris Toshok <toshok@ximian.com>
676 * CustomError.cs: add an internal argument-less ctor for use by
679 * CustomErrorCollection.cs: implement all the MonoTODO's.
681 2005-12-02 Chris Toshok <toshok@ximian.com>
683 * GlobalizationSection.cs (VerifyData): split out the stuff that
684 used to live in PreSerialize here.
685 (PreSerialize): call VerifyData here.
686 (PostDeserialize): and here.
688 2005-12-01 Chris Toshok <toshok@ximian.com>
690 * GlobalizationSection.cs (PreSerialize): add checks for Culture
691 and UICulture properties.
693 2005-12-01 Chris Toshok <toshok@ximian.com>
695 * AuthorizationRule.cs (..ctor): provide default values for
696 roles/users/verbs here. Not sure if we should do this in the ctor
697 or if the System.Configuration infrastructure should.. time will
699 (PreSerialize): throw if Roles.Count and Users.Count == 0.
700 (SerializeElement): write out the element here. don't chain up to
701 the base class since that has differing behavior than what we
704 2005-11-30 Chris Toshok <toshok@ximian.com>
706 * CompilerCollection.cs: ugly hack to fix the
707 2.0-without-config-2.0 case. wrap this file in #if
708 CONFIGURATION_2_0 as well as #if NET_2_0.
712 2005-11-28 Chris Toshok <toshok@ximian.com>
714 * SessionStateSection.cs (CookieLess): correct the compat function
717 2005-11-28 Chris Toshok <toshok@ximian.com>
719 * GlobalizationSection.cs (GetEncoding): if the encoding name is
720 null, default to utf-8 before we hit the try block, so we don't
721 throw and generate a spurious warning.
723 * SessionStateSection.cs: The Cookieless handling needs a custom
724 parser, it appears, as the converter is a StringConverter, not a
725 GenericEnumConverter.
726 (ParseCookieMode): the parser.
728 2005-11-28 Chris Toshok <toshok@ximian.com>
730 * PagesSection.cs (GetInstance): nuke.
732 * CompilationSection.cs (GetInstance): nuke.
734 2005-11-28 Chris Toshok <toshok@ximian.com>
736 * HttpHandlerAction.cs: add some c&p code from the 1.1 config
737 stuff to look for matching handlers.
738 (..ctor): add parameterless ctor.
740 * HttpHandlerActionCollection.cs: clean up formatting.
741 (CreateNewElement): call the parameter-less ctor for
744 * HttpHandlersSection.cs (..ctor): add a ConfigurationProperty for
745 the default collection.
746 (get_Handlers): implement.
747 (LocateHandler): copy over (and massage) some 1.1 config code.
749 * MachineKeySection.cs: move some code over from the 1.1 config
750 code to deal with autogeneration of keys, as well as converting
751 from the string rep to the byte[] rep.
753 2005-11-28 Chris Toshok <toshok@ximian.com>
755 * HttpModuleActionCollection.cs (CreateNewElement): use the new
756 HttpModuleAction ctor.
758 * HttpModuleAction.cs: add internal ctor with no parameters, for
759 use in HttpModuleActionCollection.
761 2005-11-28 Chris Toshok <toshok@ximian.com>
763 * GlobalizationSection.cs (..cctor): the encoding
764 ConfigurationProperties are of type "string", even though the
765 properties themselves are of type Encoding. we do conversions
766 manually in the setter/getters. gross. Add code (mostly c&p +
767 massaged from GlobalizationConfigurationHandler) for this and also
768 to handle the culture gettes.
770 2005-11-26 Chris Toshok <toshok@ximian.com>
772 * AuthorizationRuleCollection.cs (GetElementKey): implement this.
774 * ProfilePropertyNameValidator.cs: make this internal, and add a
775 blurb about how MS doesn't do the testing you'd expect them to.
777 2005-11-25 Chris Toshok <toshok@ximian.com>
779 * AuthorizationRuleCollection.cs (CreateNewElement): remove
782 * CompilationSection.cs (GetRuntimeObject): add comment to TODO.
784 * ProfileGroupSettings.cs: reformat some things.
786 * FormsAuthenticationUser.cs (Name): remove MonoTODO.
788 * WebPartsSection.cs (GetRuntimeObject): change TODO comment.
790 * ProfilePropertySettings.cs: add internal argument-less ctor.
792 * IdentitySection.cs (GetRuntimeObject): return this.
794 * ProfilePropertySettingsCollection.cs: implement much of the
797 * WebControlsSection.cs (GetRuntimeObject): implement.
799 * SqlCacheDependencyDatabaseCollection.cs (GetElementKey):
803 2005-11-24 Chris Toshok <toshok@ximian.com>
805 * AssemblyInfo.cs: move this here from System.Web.Configuration,
806 and fix up the properties.
808 * SystemWebSectionGroup.cs: enable most of the sections (2
809 remaining to be enabled.)
811 2005-11-24 Chris Toshok <toshok@ximian.com>
813 * ProcessModelSection.cs, SqlCacheDependencySection.cs,
814 SessionStateSection.cs, PassportAuthentication.cs,
815 FormsAuthenticationConfiguration.cs,
816 SqlCacheDependencyDatabase.cs, HttpModuleAction.cs,
817 BufferModeSettings.cs, TagPrefixInfo.cs (..cctor): init
819 (ValidateElement): new static validator callback.
820 (ElementProperty): enable this, return elementProperty.
822 2005-11-23 Chris Toshok <toshok@ximian.com>
824 * ProfilePropertyNameValidator.cs: new implementation.
826 * ProfilePropertySettings.cs, ProfileGroupSettings.cs,
827 ClientTargetSection.cs, ClientTargetSection.cs,
828 BufferModeSettings.cs, HttpModulesSection.cs,
829 WebPartsPersonalization.cs, TransformerInfo.cs, TrustLevel.cs,
830 NamespaceInfo.cs, SqlCacheDependencyDatabase.cs,
831 AuthenticationSection.cs, RuleSettings.cs,
832 FormsAuthenticationUser.cs, WebPartsSection.cs, BuildProvider.cs,
833 WebPartsPersonalizationAuthorization.cs, Compiler.cs,
834 ExpressionBuilder.cs, OutputCacheProfile.cs,
835 FormsAuthenticationCredentials.cs, XhtmlConformanceSection.cs,
836 OutputCacheSettingsSection.cs, CustomError.cs, TraceSection.cs,
837 ExpressionBuilderCollection.cs, ProfileSettings.cs,
838 SessionStateSection.cs, HealthMonitoringSection.cs,
839 FormsAuthenticationConfiguration.cs, HttpRuntimeSection.cs,
840 SessionPageStateSection.cs, TrustSection.cs,
841 AnonymousIdentificationSection.cs, WebControlsSection.cs,
842 ClientTarget.cs, TagMapInfo.cs, AuthorizationSection.cs,
843 ProcessModelSection.cs, RoleManagerSection.cs,
844 MembershipSection.cs, CustomErrorsSection.cs (..cctor): fix
845 validator/converters.
847 * MachineKeySection.cs (..cctor): fix validators/converters.
848 (Validation): enable the Converter.
850 * CodeSubDirectory.cs (..cctor): fix validator/converters.
851 (DirectoryName): add note about missing validator decoration.
853 * HttpModuleAction.cs (..cctor): init properties.
854 (Properties): return properties.
856 * CompilationSection.cs (..cctor): fix validator/converters.
857 (GetInstance): add in this pre-2.0 interface for the time being,
858 hopefully it'll make it easier to migrate later on.
860 * HttpHandlerActionCollection.cs (..cctor): init properties.
861 (Properties): return properties.
863 * PagesSection.cs (..cctor): fix validator/converters.
864 (GetInstance): add in this pre-2.0 interface for the time being,
865 hopefully it'll make it easier to migrate later on.
867 * HttpHandlersSection.cs (..cctor): init properties.
868 (Properties): return properties.
870 * EventMappingSettings.cs (..cctor): fix validator/converters.
871 (Name): add note about missing validator decoration.
873 * HttpHandlerAction.cs (..cctor): fix validator/converters.
874 (PAth, Type, Verb): add note about missing validator decoration.
876 * NamespaceCollection.cs (..cctor): fix properties.
878 * ProfilePropertySettingsCollection.cs (..cctor): init properties.
879 (..ctor): don't throw NIE.
880 (Properties): return properties.
882 * HttpModuleActionCollection.cs (..cctor): init properties.
883 (Properties): return properties.
885 * CacheSection.cs (..cctor): fix validators/converters.
886 (PrivateBytesPollTime): add note about missing validator
889 * AuthorizationRule.cs (..cctor): fix validators/converters.
890 (Roles, Users, Verbs): enable the TypeConverter decorations.
892 * UrlMapping.cs (ValidateUrl): static method for use as a
893 validation callback. unimplemented as yet.
894 (..cctor): fix validators/converters.
895 (MappedUrl): add note about missing validator decoration.
897 * PropertyHelper.cs: static utility class which contains
898 references to validators and converters for use in static
899 constructors (building the Properties arrays).
901 2005-11-23 Chris Toshok <toshok@ximian.com>
903 * MachineKeyValidationConverter.cs: new converter (and a pretty
904 silly one, considering all it seems to do is convert "TripleDES"
907 * HostingEnvironmentSection.cs (.cctor): use
908 PositiveTimeSpanValidator like MS does.
910 2005-11-18 Chris Toshok <toshok@ximian.com>
912 * HostingEnvironmentSection.cs (.cctor): add validators.
914 * CompilationSection.cs (.cctor): fix defaultvalue of
917 2005-11-18 Chris Toshok <toshok@ximian.com>
919 * SystemWebSectionGroup.cs: enable a whole slew of properties.
921 * RegexWorker.cs: stub this out.
923 * HttpCapabilitiesBase.cs: remove GetClrVersions since it's in one
924 of the other partial files.
926 * CompilationSection.cs: fix this up.
928 * PagesSection.cs: fix some types and add a comment to
931 * CompilerCollection.cs (Add): new internal method.
933 * ProvidersHelper.cs: put the using System.Configuration.Provider
934 inside the NET_2_0 block.
936 * CacheSection.cs: add validators.
938 2005-11-14 Chris Toshok <toshok@ximian.com>
940 * BufferModeSettings.cs: add validators/converters to the
941 programmatic property list.
943 * BuildProvider.cs: add validators/converters to the programmatic
944 property list, and add an internal ctor with no args.
946 * Compiler.cs: wrap the code i hacked from the 1.1 stuff with a
949 * BuildProviderCollection.cs (CreateNewElement): use the internal
950 BuildProvider ctor to get around validation.
952 * AssemblyCollection.cs: same.
954 2005-11-14 Chris Toshok <toshok@ximian.com>
956 * TagPrefixCollection.cs (Remove): pass the key to BaseRemove.
957 (set_Item (int index)): implement.
959 * TagPrefixInfo.cs (Equals): implement.
960 (GetHashCode): implement.
962 * AuthorizationRuleCollection.cs (CreateNewElement(string)):
964 (IndexOf): implement.
965 (IsElementName): implement.
966 (ElementName): implement.
967 (Item (int index)): implement.
969 * FormsAuthenticationUserCollection.cs (set_Item (int index)): implement.
971 * UrlMappingCollection.cs (set_Item (int index)): implement.
973 * OutputCacheProfileCollection.cs (set_Item (int index)): implement.
975 * TransformerInfo.cs (Equals): implement.
976 (GetHashCode): implement.
978 * NamespaceInfo.cs (Equals): implement.
979 (GetHashCode): implement.
981 * ProfileSettingsCollection.cs (set_Item (int index)): implement.
983 * TransformerInfoCollection.cs (set_Item (int index)): implement.
985 * HttpHandlerActionCollection.cs (set_Item (int index)): implement.
987 * BufferModesCollection.cs (set_Item (int index)): implement.
989 * BuildProvider.cs: use the base[fooProp] pattern instead of
992 * ProfileGroupSettingsCollection.cs: implement most of this class.
994 * RuleSettingsCollection.cs (set_Item (int index)): implement.
996 * ClientTargetCollection.cs (set_Item (int index)): implement.
998 * AssemblyCollection.cs (set_Item (int index)): implement.
1000 * BuildProviderCollection.cs (set_Item (int index)): reformat.
1002 * CustomError.cs (Equals): implement.
1003 (GetHashCode): implement.
1005 * ExpressionBuilderCollection.cs (set_Item (int index)): reformat.
1007 * PassportAuthentication.cs (RedirectUrl): express consternation
1010 * NamespaceCollection.cs (set_Item (int index)): implement.
1012 * RootProfilePropertySettingsCollection.cs (SerializeElement): add
1015 * ProfilePropertySettingsCollection.cs (set_Item (int index)):
1018 * CustomErrorCollection.cs (set_Item (int index)): implement.
1020 * HttpModuleActionCollection.cs (set_Item (int index)): implement.
1022 * CodeSubDirectoriesCollection.cs (set_Item (int index)):
1025 * CustomErrorsSection.cs (DeserializeSection): include call to
1026 base.DeserializeSection, and add MonoTODO.
1028 * EventMappingSettingsCollection.cs (set_Item (int index)):
1031 * AuthorizationRule.cs (Equals): implement.
1032 (GetHashCode): implement.
1033 (SerializeElement): add comment.
1035 * TagMapCollection.cs (Remove): pass the key to BaseRemove.
1036 (set_Item (int index)): implement.
1038 * TagMapInfo.cs (Equals): implement.
1039 (GetHashCode): implement.
1040 (SerializeElement): add call to base.SerializeElement.
1042 * TrustLevelCollection.cs (Remove): pass the key to BaseRemove.
1043 (GetElementKey): implement.
1045 * SqlCacheDependencyDatabase.cs (set_Item (int index)): implement.
1047 * WebContext.cs: new implementation.
1049 2005-11-13 Chris Toshok <toshok@ximian.com>
1051 * AnonymousIdentificationSection.cs: rework this class a bit to
1052 fit in with the rest of S.W.C. Add validators to the
1053 ConfigurationProperty ctor calls, a pattern which will need to be
1054 replicated across the entire assembly, it appears (uggggh).
1056 2005-11-13 Chris Toshok <toshok@ximian.com>
1058 * AuthorizationRuleCollection.cs: fix ConfigurationCollection
1061 * TransformerInfo.cs: fix corcompare.
1063 * SqlCacheDependencyDatabase.cs: mark ctor internal to fix
1066 * AuthenticationSection.cs: add missing Reset stub.
1068 * ProfileSettingsCollection.cs: use the more succint ctor.
1070 * FormsAuthenticationUser.cs: enable the TypeConverter on "name".
1072 * GlobalizationSection.cs: fix up corcompare.
1074 * WebPartsSection.cs: fix up corcompare.
1076 * ProfileGroupSettingsCollection.cs: add missing
1077 ConfigurationCollection attribute.
1079 * ExpressionBuilder.cs: implement.
1081 * FormsAuthenticationCredentials.cs: fix up corcompare.
1083 * AssemblyCollection.cs: implement Properties.
1085 * SiteMapSection.cs: implement Properties.
1087 * ExpressionBuilderCollection.cs: fix up corcompare.
1089 * ProfileSettings.cs: add missing ctor.
1091 * PassportAuthentication.cs: new implementation.
1093 * SqlCacheDependencySection.cs: fix up corcompare.
1095 * ProfilePropertySettingsCollection.cs: fix up corcompare.
1097 * HttpModuleActionCollection.cs: fix up corcompare.
1099 * EventMappingSettingsCollection.cs: fix up corcompare.
1101 * AuthorizationRule.cs: fix up corcompare.
1103 * WebControlsSection.cs: fix up corcompare.
1105 * AuthorizationSection.cs: fix up corcompare.
1107 * MembershipSection.cs: clean this up, implement Properties, fix
1110 2005-11-13 Chris Toshok <toshok@ximian.com>
1112 * UrlMapping.cs, CustomErrorCollection.cs, CustomError.cs,
1113 HostingEnvironmentSection.cs, TrustLevel.cs,
1114 HttpCookiesSection.cs, UrlMappingsSection.cs,
1115 UrlMappingCollection.cs, LowerCaseStringConverter.cs,
1116 RoleManagerSection.cs, ProcessModelSection.cs,
1117 TrustLevelCollection.cs, ClientTarget.cs, CustomErrorsSection.cs,
1118 MachineKeySection.cs, SessionPageStateSection.cs,
1119 SessionStateSection.cs, ProvidersHelper.cs,
1120 ClientTargetCollection.cs, SecurityPolicySection.cs,
1121 HttpCapabilitiesBase.cs, ClientTargetSection.cs: Another large
1125 2005-11-12 Chris Toshok <toshok@ximian.com>
1127 * AuthorizationRuleCollection.cs, AuthorizationRule.cs,
1128 AuthorizationSection.cs, BufferModesCollection.cs,
1129 BufferModeSettings.cs, CacheSection.cs, CompilerCollection.cs,
1130 Compiler.cs, DeploymentSection.cs,
1131 EventMappingSettingsCollection.cs, EventMappingSettings.cs,
1132 GlobalizationSection.cs, HealthMonitoringSection.cs,
1133 IdentitySection.cs, OutputCacheProfileCollection.cs,
1134 OutputCacheProfile.cs, OutputCacheSection.cs,
1135 OutputCacheSettingsSection.cs, ProfileSettingsCollection.cs,
1136 ProfileSettings.cs, RuleSettingsCollection.cs, RuleSettings.cs,
1137 SqlCacheDependencyDatabaseCollection.cs,
1138 SqlCacheDependencyDatabase.cs, SqlCacheDependencySection.cs,
1139 SystemWebCachingSectionGroup.cs, TraceSection.cs,
1140 TransformerInfoCollection.cs, TransformerInfo.cs, TrustSection.cs,
1141 WebControlsSection.cs, WebPartsPersonalizationAuthorization.cs,
1142 WebPartsPersonalization.cs, WebPartsSection.cs,
1143 XhtmlConformanceSection.cs: a whole slew of new classes. the
1144 fruits of tons of c&p and ibuprofen.
1147 2005-11-09 Chris Toshok <toshok@ximian.com>
1149 * PagesSection.cs, AuthenticationSection.cs, BuildProvider.cs,
1150 BuildProviderCollection.cs, HttpHandlerActionCollection.cs,
1151 HttpModulesSection.cs, HttpModuleAction.cs,
1152 HttpModuleActionCollection.cs, AnonymousIdentificationSection.cs,
1153 CodeSubDirectory.cs, CodeSubDirectoriesCollection.cs,
1154 SystemWebSectionGroup.cs, SiteMapSection.cs,
1155 WebConfigurationManager.cs: flesh out the implementation.
1157 * TagMap*.cs, TagPrefix*.cs: new implementation.
1159 * FormsAuthentication*.cs: new implementation.
1161 * Profile*.cs: new implementation.
1163 * Namespace*.cs: new implementation.
1165 * HttpRuntimeSection.cs: new implementation.