1 2007-05-07 Marek Habersack <mhabersack@novell.com>
3 * PagesSection.cs: buffering is on by default.
5 2007-04-24 Marek Habersack <mhabersack@novell.com>
7 * WebConfigurationHost.cs: wrap MapPath calls in try/catch,
8 because bad URLs can cause it to throw exceptions. If such
9 exception is caught, throw a HttpException for Bad Request (400).
10 Look for types in the top-level assemblies (App_Code and
13 * WebConfigurationManager.cs: added two internal methods for safe
14 retrieval of config sections.
16 2007-04-19 Marek Habersack <mhabersack@novell.com>
18 * HttpHandlerAction.cs: look up types in all the toplevel
19 assemblies. Fixes bug #80897.
21 2007-04-17 Atsushi Enomoto <atsushi@ximian.com>
23 * ProcessModelSection.cs : cpuMask default value should be int,
26 2007-04-06 Marek Habersack <mhabersack@novell.com>
28 * CustomErrorsSection.cs: make the customErrors section work.
30 * PagesSection.cs: provide appropriate default value for the
33 2007-03-24 Marek Habersack <mhabersack@novell.com>
35 * WebConfigurationHost.cs: allow MachineToApplication definition
36 for config paths that equal the domain virtual app directory.
38 2007-03-22 Adar Wesley <adarw@mainsoft.com>
40 * HttpCapabilitiesBase.cs: implemented all capabilities. Capabilities
41 still throw if there is no value in browscaps.ini and the property is called.
43 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
45 * WebConfigurationManager.cs: fixed OpenWebConfiguration, should not
46 lock when checking if configuration is already open
48 2007-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
50 * WebConfigurationManager.cs: fixed OpenWebConfiguration, removed
51 GetBasePath call and locations search, since this not affects
52 configuration initialization, but improves performance
54 2007-03-12 Marek Habersack <mhabersack@novell.com>
56 * ProvidersHelper.cs: support loading custom providers from
57 App_Code assemblies. Fixes bug #81071.
58 Also set eol-style to native.
60 2007-03-08 Gert Driesen <drieseng@users.souceforge.net>
62 * PagesSection.cs: Revert part of Adar's patch that regresses
65 2007-03-06 Adar Wesley <adarw@mainsoft.com>
67 * PagesSection.cs: improve Enum parsing and strongly typed default values.
69 2007-02-20 Marek Habersack <grendello@gmail.com>
71 * Patch from Gert Driesen <drieseng@users.sourceforge.net>
72 * PagesSection.cs: Process value of EnableSessionState attribute
73 case-sensitive, and perform check in getter. Fix for bug #80913.
74 * PageParser.cs: Added note on difference in behaviour between page
75 level attribute and configuration attribute for enableSessionState.
76 * PagesConfiguration.cs: Fixed compiler warning.
78 2007-02-22 Marek Habersack <grendello@gmail.com>
80 * CompilerCollection.cs: Optimize language lookup a bit.
82 2007-02-05 Konstantin Triger <kostat@mainsoft.com>
84 * TagPrefixCollection.cs: Fix element key creation.
86 2007-02-04 Konstantin Triger <kostat@mainsoft.com>
88 * NamespaceInfo.cs, HttpModuleAction.cs, RoleManagerSection.cs:
89 fix the default value.
91 2007-02-02 Marek Habersack <grendello@gmail.com>
93 * TagPrefixCollection.cs: Add the CollectionType parameter.
94 Get rid of unnecessary interface references in the class declaration.
95 GetElementKey should return Source which should be unique, unlike TagPrefix.
97 2007-01-04 Konstantin Triger <kostat@mainsoft.com>
99 * ProfileSection.cs: Ensure enabled = true by default; cleanup.
101 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
103 * CustomErrorCollection.cs: fixed ThrowOnDuplicate to false as in .net
105 2006-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
107 * GlobalizationSection.cs: make encodings actually work for the 2.0
110 2006-12-21 Marek Habersack <grendello@gmail.com>
112 * TagMapInfo.cs: Add an internal default constructor for use from
115 * TagMapCollection.cs: Don't call the string,string constructor of
116 TagMapInfo - the class disallows empty strings as values of its
119 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
121 * RoleManagerSection.cs: refactored using attributes
123 2006-12-20 Marek Habersack <grendello@gmail.com>
125 * ProfilePropertyNameValidator.cs: added a few checks.
127 2006-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
129 * WebConfigurationManager.cs: fixed GetSection to execute
130 GetRuntimeObject, refactored GetSection and GetWebApplicationSection
132 2006-12-17 Vladimir Krasnov <vladimirk@mainsoft.com>
134 * HttpHandlerAction.cs: fixed 'verb' config property
136 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
138 * ProvidersHelper.cs: fixed: load assembles from /bin
140 2006-11-22 Miguel de Icaza <miguel@novell.com>
142 * SessionStateSection.cs: Do not call Enum.Parse with a null
143 argument, prevents an exception from being thrown.
145 2006-11-20 Marek Habersack <grendello@gmail.com>
147 * GlobalizationSection.cs: Added support for "auto" cultures and
148 the "auto:DEFAULT_CULTURE" cultures.
150 2006-11-13 Konstantin Triger <kostat@mainsoft.com>
152 * WebConfigurationHost.cs: use Type.GetType for loading full qualified types.
154 2006-11-05 Vladimir Krasnov <vladimirk@mainsoft.com>
156 * ProfileGroupSettings.cs, ProfileGroupSettingsCollection.cs
157 ProfilePropertySettingsCollection.cs, ProfileSection.cs
158 RootProfilePropertySettingsCollection.cs: refactoring and fix of
161 2006-10-18 Marek Habersack <grendello@gmail.com>
163 * WebConfigurationManager.cs: implement support for extra
164 assemblies to be referenced when compiling a page.
166 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
168 * WebConfigurationManager.cs: add null checks. Patch by Marek Habersack
169 that fixes bug #79283.
171 2006-09-06 Konstantin Triger <kostat@mainsoft.com>
173 * WebConfigurationHost.cs: do not recourse as this will be done by
174 Configuration object.
176 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
178 * WebConfigurationManager.cs: added configSystem property under
180 * WebConfigurationHost.cs: fixed GetStreamName and OpenStreamForRead
182 * CompilationSection.cs: BuildProviders property removed from
184 * SystemWebSectionGroup.cs: Compilation property removed from
187 2006-06-26 Atsushi Enomoto <atsushi@ximian.com>
189 * NullableStringValidator.cs : new internal class that is almost
190 identical to StringValidator but allows null value.
191 * PropertyHelper.cs : use new NullableStringValidator.
192 * NamespaceCollection.cs : in NamespaceInfo "" is not allowed.
194 2006-06-08 Chris Toshok <toshok@ximian.com>
196 * WebConfigurationHost.cs (InitForConfiguration): i know this is
197 going to bite me in the ass, but guard against configPath being ==
198 to "/", since this will result in an infinite loop.
199 (MapPath): fix a NRE.
201 2006-05-18 Atsushi Enomoto <atsushi@ximian.com>
203 * WebConfigurationManager.cs: recent sys.config.dll changes on
204 ConfigurationManager.GetSection() which should call
205 GetRuntimeObject() should also apply here. Fixed monodoc web.
207 2006-05-10 Andrew Skiba <andrews@mainsoft.com>
209 * HttpHandlerAction.cs: keep the internal exception
211 2006-05-08 Chris Toshok <toshok@ximian.com>
213 * WebConfigurationManager.cs (GetBasePath): fix bug where
214 path.Length was 0 when we got to the last while loop (and indexed
215 -1 into an array.) Thanks Marek for the fix.
217 2006-05-04 Chris Toshok <toshok@ximian.com>
221 * WebConfigurationHost.cs (GetConfigType): add a MonoTODO about
222 how we should use the build provider machinery to get types.
223 (MapPath): add rudimentary mapping in the case where we don't have
224 a request, basically handle the case where the url begins with (or
225 is) HttpRuntime.AppDomainAppVirtualPath.
227 * WebConfigurationManager.cs (GetSection): if we don't have a
228 valid request, open the web configuration corresponding to
229 HttpRuntime.AppDomainAppVirtualPath.
230 (GetBasePath): comment this a little, and make it work in the case
231 where we don't have an HttpRequest.
233 2006-04-27 Chris Toshok <toshok@ximian.com>
235 * AuthorizationRuleCollection.cs (ThrowOnDuplicate): for the time
236 being introduce a overridden property MS doesn't make use of.
237 This needs readdressing, but it should get people making use of
238 <authorization> rules working again.
240 2006-04-25 Chris Toshok <toshok@ximian.com>
242 * AuthorizationRule.cs (Reset): finally figure out what this
243 method is supposed to do. Assign our Action property based on
246 2006-04-25 Chris Toshok <toshok@ximian.com>
248 * WebConfigurationHost.cs (InitForConfiguration): actually, use
249 HttpRuntime.AppDomainAppVirtualPath on gonzalo's recommendation.
250 It's never null, and its use cleans things up a bit.
252 2006-04-25 Chris Toshok <toshok@ximian.com>
254 * WebConfigurationHost.cs (InitForConfiguration): stop going up
255 the virtual hierarchy once we reach the application's base virtual
258 2006-04-24 Chris Toshok <toshok@ximian.com>
260 * AuthorizationSection.cs (IsValidUser): fix a problem that
261 surfaced when converting from the 1.1 to 2.0 config classes. Only
262 check for verb match if there are actually verbs to match against.
264 2006-04-11 Chris Toshok <toshok@ximian.com>
266 * ExpressionBuilderCollection.cs (CreateNewElement): call argless
269 * ExpressionBuilder.cs: add internal argumentless ctor for use by
272 2006-03-24 Chris Toshok <toshok@ximian.com>
274 * WebConfigurationManager.cs (GetConfig): add a fallback case for
275 configuration sections that don't subclass from
276 ConfigurationSection.
278 2006-03-24 Chris Toshok <toshok@ximian.com>
280 * WebConfigurationHost.cs: fix bug where OpenWebConfiguration
281 ("/") would result in 2 configurations for that toplevel path to
284 2006-03-08 Chris Toshok <toshok@ximian.com>
286 * ProvidersHelper.cs: implement this static class properly.
288 * SiteMapSection.cs (ProvidersInternal): add internal property to
289 get the actual SiteMapProviderCollection from here.
291 2006-02-28 Chris Toshok <toshok@ximian.com>
293 * BuildProviderAppliesTo.cs, PagesToCountAction.cs: nuke.
295 2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
298 * CompilerCollection.cs: removed compatibility code.
300 * BuildProviderCollection.cs: add GetProviderForExtension().
302 2006-02-02 Chris Toshok <toshok@ximian.com>
304 * WebConfigurationManager.cs (GetSection(string,string)):
307 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
309 * TrustLevelCollection.cs, CodeSubDirectoriesCollection.cs,
310 CustomErrorCollection.cs, CompilerCollection.cs,
311 HttpHandlerActionCollection.cs,
312 FormsAuthenticationUserCollection.cs,
313 AuthorizationRuleCollection.cs, TagPrefixCollection.cs :
314 CollectionType is public.
316 2006-02-01 Chris Toshok <toshok@ximian.com>
318 * WebConfigurationManager.cs: In the normal case, get the current
319 request's web.config, not the application's. If there is no
320 current request, get the application's.
321 (GetWebApplicationConfiguration): use Request.ApplicationPath, not
322 Request.PhysicalApplicationPath. OpenWebConfiguration takes
325 * HttpConfigurationSystem.cs: GetWebApplicationSection =>
328 2006-02-01 Chris Toshok <toshok@ximian.com>
330 * CompilerCollection.cs: CONFIGURATION_2_0 => NET_2_0
334 2006-02-01 Chris Toshok <toshok@ximian.com>
336 * HttpConfigurationSystem.cs: SupportsUserConfig == true. let's
337 use this to determine if ConfigurationManager.AppSettings should
340 2006-01-31 Chris Toshok <toshok@ximian.com>
342 * WebConfigurationManager.cs: err, why did i ifdef stuff NET_2_0
343 inside of an ifdef NET_2_0?
345 2006-01-30 Chris Toshok <toshok@ximian.com>
347 * WebConfigurationManager.cs: lots of little changes. hopefully
348 this doesn't break anyone. it fixes all the nunit problems
351 * WebConfigurationHost.cs (GetStreamName): in the MachineWebPath
352 case, handle the case where we have a WebConfigurationFileMap.
353 (MapPath): this is likely wrong, but in the case where we don't
354 have a file map or current HttpContext, just return the path.
356 2006-01-29 Chris Toshok <toshok@ximian.com>
358 * HttpModulesSection.cs (LoadModules): I'm not sure we want to
359 solve this problem in this way, but the 1.x code forces
360 DefaultAuthenticationModule to be in the list of modules..
361 Without this fix (or something else) HttpContext.User is null when
364 2006-01-26 Chris Toshok <toshok@ximian.com>
366 * HttpConfigurationSystem.cs: new class that gets sections from
369 * WebConfigurationManager.cs: change a lot of the
370 NotImplementedExceptions to NotSupportedExceptions.
371 (AppSettings): implement by just returning
372 ConfigurationManager.AppSettings (note this is broken because
373 ConfigurationManager.AppSettings are read-only, but it works for
375 (ConnectionStrings): same (and probably broken in the same way..)
376 (Init): replace the 2.0 IInternalConfigSystem with our
377 HttpConfigurationSystem.
379 * WebConfigurationHost.cs: add a comment about how things are
380 likely to work in the face of IRemoteWebConfigurationHostServer.
381 (CreateConfigurationContext): return a WebContext instance.
383 2006-01-25 Chris Toshok <toshok@ximian.com>
385 * AuthorizationSection.cs (IsValidUser): instead of a blanket
386 false for a null user, just set the username to "" and short
387 circuit out the check for roles.
389 2006-01-25 Chris Toshok <toshok@ximian.com>
391 * AuthorizationRule.cs (CheckUser): handle * and ?, and use
392 String.Compare instead of ==.
393 (CheckVerb): use String.Compare instead of ==.
395 * AuthorizationSection.cs (IsValidUser): return false for a null
398 2006-01-22 Chris Toshok <toshok@ximian.com>
400 * GlobalizationSection.cs (VerifyData): quiet mcs.
402 2006-01-18 Chris Toshok <toshok@ximian.com>
404 * SystemWebSectionGroup.cs: wrap System.Web.Services references in
407 2006-01-16 Chris Toshok <toshok@ximian.com>
409 * WebConfigurationManager.cs: implement a IConfigurationSystem for
410 use with WebConfigurationManager.
411 (GetSection): try to load the section
412 using GetWebApplicationSection before calling into
413 ConfigurationManager.GetSection.
414 (GetWebApplicationConfiguration): move common code to here.
415 (GetWebApplicationSection): use GetWebApplicationConfiguration.
416 (AppSettings): implement.
418 * WebConfigurationHost.cs (GetWebConfigFileName): add
419 "Web.Config", and move to an array/loop implementation. maybe we
420 should scan the directory and check ToLower() instead of
421 explicitly enumerating?
423 2006-01-10 Chris Toshok <toshok@ximian.com>
425 * SystemWebSectionGroup.cs (HostingEnvironment): enable this property.
426 (ProcessModel): add the ConfigurationPropertyAttribute.
428 2006-01-10 Chris Toshok <toshok@ximian.com>
430 * PagesSection.cs (.cctor): fix the default value for the
431 enableSessionState attribute - it's not a bool, but a
432 PagesEnableSessionState enum.
434 2006-01-10 Chris Toshok <toshok@ximian.com>
436 * MachineKeySection.cs (ValidationKeyBytes, DecryptionKeyBytes,
437 DecryptionKey192Bits): if the keys are null, generate them. Fixes
438 Page.EnableViewStateMac support.
440 2006-01-09 Chris Toshok <toshok@ximian.com>
442 * RoleManagerSection.cs, SqlCacheDepencendySection.cs,
443 SessionStateSection.cs, TraceSection.cs, SecurityPolicySection.cs,
444 PagesSection.cs, RulesSettings.cs, UrlMappingSection.cs: fix
447 2006-01-09 Chris Toshok <toshok@ximian.com>
449 * ExpressionBuilderCollection.cs (.cctor): no need to create a
450 collection property here. we're already in the collection.
452 * CompilationSection.cs: fix typo.
454 2006-01-04 Chris Toshok <toshok@ximian.com>
456 * MachineKeySection.cs: bring over some more internal methods from
457 MachineKeyConfig, and call Set{Decryption,Validation}Key from
458 their respective property setters.
460 2006-01-03 Chris Toshok <toshok@ximian.com>
462 * AuthorizationSection.cs (IsValidUser): add analogous method from
463 AuthorizationConfig.cs.
465 * AuthorizationRule.cs: add predicates for Verb, User, and Role
466 analogous to what existed in AuthorizationConfig.cs.
468 2005-12-11 Chris Toshok <toshok@ximian.com>
470 * WebConfigurationManager.cs (OpenMachineConfiguration): just call
471 ConfigurationManager.OpenMachineConfiguration.
472 (OpenWebConfiguration): remove the "IntPtr userToken" version and
473 add a "string userName" version to clean up corcompare output.
474 Modify all the overloads to pass null instead of IntPtr.Zero.
475 (GetWebApplicationSection): if we're not running in a web
476 application, use the machine configuration.
478 2005-12-06 Chris Toshok <toshok@ximian.com>
480 * CodeSubDirectory.cs (DirectoryName): don't use an private field,
481 but base[directoyNameProp].
483 * AuthorizationRuleCollection.cs (Add): use BaseAdd (rule, false),
484 so we can insert duplicates.
486 (GetElementKey): MS for some reason just uses the action for the
488 (Remove): pass the correct key.
490 * ProfileGroupSettings.cs (GetHashCode): implement.
492 * GlobalizationSection.cs (GetEncoding): for the utf-8 case, just
495 * AssemblyCollection.cs (Add): use BaseAdd (info, false) so we can
498 * CacheSection.cs (.cctor): make privateByteLimit's default 0L so
499 we don't get a invalid cast exception later on.
501 * AuthorizationRule.cs (VerifyData): split out the verification
502 foo from PreSerialize.
503 (PostDeserialize): so we can call it from here.
504 (PreSerialize): and here.
506 2005-12-05 Chris Toshok <toshok@ximian.com>
508 * AuthorizationRuleCollection.cs (GetKey): split out the logic for
509 creating a key from a rule here.
510 (GetElementKey): use it here.
513 2005-12-04 Chris Toshok <toshok@ximian.com>
515 * UrlMapping.cs: add an internal argument-less ctor.
517 * UrlMappingCollection.cs (CreateNewElement): use argument-less
520 (AllKeys): implement.
522 * TrustLevel.cs: add an internal argument-less ctor.
524 * TrustLevelCollection.cs (Set): implement.
525 (CreateNewElement): use argument-less ctor.
526 (IsElementName): implement.
527 (ElementName): implement.
528 (set_Item (int index)): use Set.
529 (ThrowOnDuplicate): implement.
531 * TagPrefixInfo.cs: add internal argument-less ctor.
533 * TagPrefixCollection.cs (CreateNewElement): call argument-less
535 (CollectionType): add text to TODO.
536 (ElementName): implement.
538 * SqlCacheDependencyDatabaseCollection.cs (Set): implement.
539 (AllKeys): implement.
541 * RuleSettings.cs: add internal argument-less ctor.
543 * RuleSettingsCollection.cs (Contains): implement.
544 (CreateNewElement): use argument-less ctor.
545 (IndexOf): implement.
548 * RootProfilePropertySettingsCollection.cs (IsModified): chain up
549 to base.IsModified for now.
550 (Reset): chain up to base.Reset for now.
551 (ResetModified): chain up to base.ResetModified for now.
553 * ProfileSettings.cs: add internal argument-less ctor.
555 * ProfileSettingsCollection.cs (Contains): implement.
556 (CreateNewElement): use argument-less ctor.
557 (IndexOf): implement.
560 * ProfilePropertySettingsCollection.cs (IndexOf): implement.
562 (AllKeys): implement.
564 * ProfileGroupSettings.cs: add internal argument-less ctor.
566 * ProfileGroupSettingsCollection.cs (CreateNewElement): use
569 (ResetModified): for now call base.ResetModified.
571 (AllKeys): implement.
573 * OutputCacheProfile.cs: add internal argument-less ctor.
575 * OutputCacheProfileCollection.cs (CreateNewElement): use
578 (AllKeys): implement.
580 * HttpModuleActionCollection.cs (Add): remove MonoTODO.
581 (CreateNewElement): same.
583 * HttpHandlerActionCollection.cs (GetElementKey): build up the key
584 from both the path and the verb.
587 * FormsAuthenticationUserCollection.cs (Set): implement.
588 (AllKeys): implement.
590 * EventMappingSettings.cs: add an internal argument-less ctor.
592 * EventMappingSettingsCollection.cs (Contains): implement.
593 (CreateNewElement): use argument-less ctor.
594 (IndexOf): implement.
597 * CompilerCollection.cs (GetKey): implement.
598 (AllKeys): implement.
600 * ClientTargetCollection.cs (GetKey): implement.
601 (AllKeys): implement.
603 * AuthorizationRuleCollection.cs (Set): implement.
604 (ElementName): add some text to the MonoTODO.
605 (set_Item (int index)): use Set.
607 2005-12-04 Chris Toshok <toshok@ximian.com>
609 * CustomError.cs: add an internal argument-less ctor for use by
612 * CustomErrorCollection.cs: implement all the MonoTODO's.
614 2005-12-02 Chris Toshok <toshok@ximian.com>
616 * GlobalizationSection.cs (VerifyData): split out the stuff that
617 used to live in PreSerialize here.
618 (PreSerialize): call VerifyData here.
619 (PostDeserialize): and here.
621 2005-12-01 Chris Toshok <toshok@ximian.com>
623 * GlobalizationSection.cs (PreSerialize): add checks for Culture
624 and UICulture properties.
626 2005-12-01 Chris Toshok <toshok@ximian.com>
628 * AuthorizationRule.cs (..ctor): provide default values for
629 roles/users/verbs here. Not sure if we should do this in the ctor
630 or if the System.Configuration infrastructure should.. time will
632 (PreSerialize): throw if Roles.Count and Users.Count == 0.
633 (SerializeElement): write out the element here. don't chain up to
634 the base class since that has differing behavior than what we
637 2005-11-30 Chris Toshok <toshok@ximian.com>
639 * CompilerCollection.cs: ugly hack to fix the
640 2.0-without-config-2.0 case. wrap this file in #if
641 CONFIGURATION_2_0 as well as #if NET_2_0.
645 2005-11-28 Chris Toshok <toshok@ximian.com>
647 * SessionStateSection.cs (CookieLess): correct the compat function
650 2005-11-28 Chris Toshok <toshok@ximian.com>
652 * GlobalizationSection.cs (GetEncoding): if the encoding name is
653 null, default to utf-8 before we hit the try block, so we don't
654 throw and generate a spurious warning.
656 * SessionStateSection.cs: The Cookieless handling needs a custom
657 parser, it appears, as the converter is a StringConverter, not a
658 GenericEnumConverter.
659 (ParseCookieMode): the parser.
661 2005-11-28 Chris Toshok <toshok@ximian.com>
663 * PagesSection.cs (GetInstance): nuke.
665 * CompilationSection.cs (GetInstance): nuke.
667 2005-11-28 Chris Toshok <toshok@ximian.com>
669 * HttpHandlerAction.cs: add some c&p code from the 1.1 config
670 stuff to look for matching handlers.
671 (..ctor): add parameterless ctor.
673 * HttpHandlerActionCollection.cs: clean up formatting.
674 (CreateNewElement): call the parameter-less ctor for
677 * HttpHandlersSection.cs (..ctor): add a ConfigurationProperty for
678 the default collection.
679 (get_Handlers): implement.
680 (LocateHandler): copy over (and massage) some 1.1 config code.
682 * MachineKeySection.cs: move some code over from the 1.1 config
683 code to deal with autogeneration of keys, as well as converting
684 from the string rep to the byte[] rep.
686 2005-11-28 Chris Toshok <toshok@ximian.com>
688 * HttpModuleActionCollection.cs (CreateNewElement): use the new
689 HttpModuleAction ctor.
691 * HttpModuleAction.cs: add internal ctor with no parameters, for
692 use in HttpModuleActionCollection.
694 2005-11-28 Chris Toshok <toshok@ximian.com>
696 * GlobalizationSection.cs (..cctor): the encoding
697 ConfigurationProperties are of type "string", even though the
698 properties themselves are of type Encoding. we do conversions
699 manually in the setter/getters. gross. Add code (mostly c&p +
700 massaged from GlobalizationConfigurationHandler) for this and also
701 to handle the culture gettes.
703 2005-11-26 Chris Toshok <toshok@ximian.com>
705 * AuthorizationRuleCollection.cs (GetElementKey): implement this.
707 * ProfilePropertyNameValidator.cs: make this internal, and add a
708 blurb about how MS doesn't do the testing you'd expect them to.
710 2005-11-25 Chris Toshok <toshok@ximian.com>
712 * AuthorizationRuleCollection.cs (CreateNewElement): remove
715 * CompilationSection.cs (GetRuntimeObject): add comment to TODO.
717 * ProfileGroupSettings.cs: reformat some things.
719 * FormsAuthenticationUser.cs (Name): remove MonoTODO.
721 * WebPartsSection.cs (GetRuntimeObject): change TODO comment.
723 * ProfilePropertySettings.cs: add internal argument-less ctor.
725 * IdentitySection.cs (GetRuntimeObject): return this.
727 * ProfilePropertySettingsCollection.cs: implement much of the
730 * WebControlsSection.cs (GetRuntimeObject): implement.
732 * SqlCacheDependencyDatabaseCollection.cs (GetElementKey):
736 2005-11-24 Chris Toshok <toshok@ximian.com>
738 * AssemblyInfo.cs: move this here from System.Web.Configuration,
739 and fix up the properties.
741 * SystemWebSectionGroup.cs: enable most of the sections (2
742 remaining to be enabled.)
744 2005-11-24 Chris Toshok <toshok@ximian.com>
746 * ProcessModelSection.cs, SqlCacheDependencySection.cs,
747 SessionStateSection.cs, PassportAuthentication.cs,
748 FormsAuthenticationConfiguration.cs,
749 SqlCacheDependencyDatabase.cs, HttpModuleAction.cs,
750 BufferModeSettings.cs, TagPrefixInfo.cs (..cctor): init
752 (ValidateElement): new static validator callback.
753 (ElementProperty): enable this, return elementProperty.
755 2005-11-23 Chris Toshok <toshok@ximian.com>
757 * ProfilePropertyNameValidator.cs: new implementation.
759 * ProfilePropertySettings.cs, ProfileGroupSettings.cs,
760 ClientTargetSection.cs, ClientTargetSection.cs,
761 BufferModeSettings.cs, HttpModulesSection.cs,
762 WebPartsPersonalization.cs, TransformerInfo.cs, TrustLevel.cs,
763 NamespaceInfo.cs, SqlCacheDependencyDatabase.cs,
764 AuthenticationSection.cs, RuleSettings.cs,
765 FormsAuthenticationUser.cs, WebPartsSection.cs, BuildProvider.cs,
766 WebPartsPersonalizationAuthorization.cs, Compiler.cs,
767 ExpressionBuilder.cs, OutputCacheProfile.cs,
768 FormsAuthenticationCredentials.cs, XhtmlConformanceSection.cs,
769 OutputCacheSettingsSection.cs, CustomError.cs, TraceSection.cs,
770 ExpressionBuilderCollection.cs, ProfileSettings.cs,
771 SessionStateSection.cs, HealthMonitoringSection.cs,
772 FormsAuthenticationConfiguration.cs, HttpRuntimeSection.cs,
773 SessionPageStateSection.cs, TrustSection.cs,
774 AnonymousIdentificationSection.cs, WebControlsSection.cs,
775 ClientTarget.cs, TagMapInfo.cs, AuthorizationSection.cs,
776 ProcessModelSection.cs, RoleManagerSection.cs,
777 MembershipSection.cs, CustomErrorsSection.cs (..cctor): fix
778 validator/converters.
780 * MachineKeySection.cs (..cctor): fix validators/converters.
781 (Validation): enable the Converter.
783 * CodeSubDirectory.cs (..cctor): fix validator/converters.
784 (DirectoryName): add note about missing validator decoration.
786 * HttpModuleAction.cs (..cctor): init properties.
787 (Properties): return properties.
789 * CompilationSection.cs (..cctor): fix validator/converters.
790 (GetInstance): add in this pre-2.0 interface for the time being,
791 hopefully it'll make it easier to migrate later on.
793 * HttpHandlerActionCollection.cs (..cctor): init properties.
794 (Properties): return properties.
796 * PagesSection.cs (..cctor): fix validator/converters.
797 (GetInstance): add in this pre-2.0 interface for the time being,
798 hopefully it'll make it easier to migrate later on.
800 * HttpHandlersSection.cs (..cctor): init properties.
801 (Properties): return properties.
803 * EventMappingSettings.cs (..cctor): fix validator/converters.
804 (Name): add note about missing validator decoration.
806 * HttpHandlerAction.cs (..cctor): fix validator/converters.
807 (PAth, Type, Verb): add note about missing validator decoration.
809 * NamespaceCollection.cs (..cctor): fix properties.
811 * ProfilePropertySettingsCollection.cs (..cctor): init properties.
812 (..ctor): don't throw NIE.
813 (Properties): return properties.
815 * HttpModuleActionCollection.cs (..cctor): init properties.
816 (Properties): return properties.
818 * CacheSection.cs (..cctor): fix validators/converters.
819 (PrivateBytesPollTime): add note about missing validator
822 * AuthorizationRule.cs (..cctor): fix validators/converters.
823 (Roles, Users, Verbs): enable the TypeConverter decorations.
825 * UrlMapping.cs (ValidateUrl): static method for use as a
826 validation callback. unimplemented as yet.
827 (..cctor): fix validators/converters.
828 (MappedUrl): add note about missing validator decoration.
830 * PropertyHelper.cs: static utility class which contains
831 references to validators and converters for use in static
832 constructors (building the Properties arrays).
834 2005-11-23 Chris Toshok <toshok@ximian.com>
836 * MachineKeyValidationConverter.cs: new converter (and a pretty
837 silly one, considering all it seems to do is convert "TripleDES"
840 * HostingEnvironmentSection.cs (.cctor): use
841 PositiveTimeSpanValidator like MS does.
843 2005-11-18 Chris Toshok <toshok@ximian.com>
845 * HostingEnvironmentSection.cs (.cctor): add validators.
847 * CompilationSection.cs (.cctor): fix defaultvalue of
850 2005-11-18 Chris Toshok <toshok@ximian.com>
852 * SystemWebSectionGroup.cs: enable a whole slew of properties.
854 * RegexWorker.cs: stub this out.
856 * HttpCapabilitiesBase.cs: remove GetClrVersions since it's in one
857 of the other partial files.
859 * CompilationSection.cs: fix this up.
861 * PagesSection.cs: fix some types and add a comment to
864 * CompilerCollection.cs (Add): new internal method.
866 * ProvidersHelper.cs: put the using System.Configuration.Provider
867 inside the NET_2_0 block.
869 * CacheSection.cs: add validators.
871 2005-11-14 Chris Toshok <toshok@ximian.com>
873 * BufferModeSettings.cs: add validators/converters to the
874 programmatic property list.
876 * BuildProvider.cs: add validators/converters to the programmatic
877 property list, and add an internal ctor with no args.
879 * Compiler.cs: wrap the code i hacked from the 1.1 stuff with a
882 * BuildProviderCollection.cs (CreateNewElement): use the internal
883 BuildProvider ctor to get around validation.
885 * AssemblyCollection.cs: same.
887 2005-11-14 Chris Toshok <toshok@ximian.com>
889 * TagPrefixCollection.cs (Remove): pass the key to BaseRemove.
890 (set_Item (int index)): implement.
892 * TagPrefixInfo.cs (Equals): implement.
893 (GetHashCode): implement.
895 * AuthorizationRuleCollection.cs (CreateNewElement(string)):
897 (IndexOf): implement.
898 (IsElementName): implement.
899 (ElementName): implement.
900 (Item (int index)): implement.
902 * FormsAuthenticationUserCollection.cs (set_Item (int index)): implement.
904 * UrlMappingCollection.cs (set_Item (int index)): implement.
906 * OutputCacheProfileCollection.cs (set_Item (int index)): implement.
908 * TransformerInfo.cs (Equals): implement.
909 (GetHashCode): implement.
911 * NamespaceInfo.cs (Equals): implement.
912 (GetHashCode): implement.
914 * ProfileSettingsCollection.cs (set_Item (int index)): implement.
916 * TransformerInfoCollection.cs (set_Item (int index)): implement.
918 * HttpHandlerActionCollection.cs (set_Item (int index)): implement.
920 * BufferModesCollection.cs (set_Item (int index)): implement.
922 * BuildProvider.cs: use the base[fooProp] pattern instead of
925 * ProfileGroupSettingsCollection.cs: implement most of this class.
927 * RuleSettingsCollection.cs (set_Item (int index)): implement.
929 * ClientTargetCollection.cs (set_Item (int index)): implement.
931 * AssemblyCollection.cs (set_Item (int index)): implement.
933 * BuildProviderCollection.cs (set_Item (int index)): reformat.
935 * CustomError.cs (Equals): implement.
936 (GetHashCode): implement.
938 * ExpressionBuilderCollection.cs (set_Item (int index)): reformat.
940 * PassportAuthentication.cs (RedirectUrl): express consternation
943 * NamespaceCollection.cs (set_Item (int index)): implement.
945 * RootProfilePropertySettingsCollection.cs (SerializeElement): add
948 * ProfilePropertySettingsCollection.cs (set_Item (int index)):
951 * CustomErrorCollection.cs (set_Item (int index)): implement.
953 * HttpModuleActionCollection.cs (set_Item (int index)): implement.
955 * CodeSubDirectoriesCollection.cs (set_Item (int index)):
958 * CustomErrorsSection.cs (DeserializeSection): include call to
959 base.DeserializeSection, and add MonoTODO.
961 * EventMappingSettingsCollection.cs (set_Item (int index)):
964 * AuthorizationRule.cs (Equals): implement.
965 (GetHashCode): implement.
966 (SerializeElement): add comment.
968 * TagMapCollection.cs (Remove): pass the key to BaseRemove.
969 (set_Item (int index)): implement.
971 * TagMapInfo.cs (Equals): implement.
972 (GetHashCode): implement.
973 (SerializeElement): add call to base.SerializeElement.
975 * TrustLevelCollection.cs (Remove): pass the key to BaseRemove.
976 (GetElementKey): implement.
978 * SqlCacheDependencyDatabase.cs (set_Item (int index)): implement.
980 * WebContext.cs: new implementation.
982 2005-11-13 Chris Toshok <toshok@ximian.com>
984 * AnonymousIdentificationSection.cs: rework this class a bit to
985 fit in with the rest of S.W.C. Add validators to the
986 ConfigurationProperty ctor calls, a pattern which will need to be
987 replicated across the entire assembly, it appears (uggggh).
989 2005-11-13 Chris Toshok <toshok@ximian.com>
991 * AuthorizationRuleCollection.cs: fix ConfigurationCollection
994 * TransformerInfo.cs: fix corcompare.
996 * SqlCacheDependencyDatabase.cs: mark ctor internal to fix
999 * AuthenticationSection.cs: add missing Reset stub.
1001 * ProfileSettingsCollection.cs: use the more succint ctor.
1003 * FormsAuthenticationUser.cs: enable the TypeConverter on "name".
1005 * GlobalizationSection.cs: fix up corcompare.
1007 * WebPartsSection.cs: fix up corcompare.
1009 * ProfileGroupSettingsCollection.cs: add missing
1010 ConfigurationCollection attribute.
1012 * ExpressionBuilder.cs: implement.
1014 * FormsAuthenticationCredentials.cs: fix up corcompare.
1016 * AssemblyCollection.cs: implement Properties.
1018 * SiteMapSection.cs: implement Properties.
1020 * ExpressionBuilderCollection.cs: fix up corcompare.
1022 * ProfileSettings.cs: add missing ctor.
1024 * PassportAuthentication.cs: new implementation.
1026 * SqlCacheDependencySection.cs: fix up corcompare.
1028 * ProfilePropertySettingsCollection.cs: fix up corcompare.
1030 * HttpModuleActionCollection.cs: fix up corcompare.
1032 * EventMappingSettingsCollection.cs: fix up corcompare.
1034 * AuthorizationRule.cs: fix up corcompare.
1036 * WebControlsSection.cs: fix up corcompare.
1038 * AuthorizationSection.cs: fix up corcompare.
1040 * MembershipSection.cs: clean this up, implement Properties, fix
1043 2005-11-13 Chris Toshok <toshok@ximian.com>
1045 * UrlMapping.cs, CustomErrorCollection.cs, CustomError.cs,
1046 HostingEnvironmentSection.cs, TrustLevel.cs,
1047 HttpCookiesSection.cs, UrlMappingsSection.cs,
1048 UrlMappingCollection.cs, LowerCaseStringConverter.cs,
1049 RoleManagerSection.cs, ProcessModelSection.cs,
1050 TrustLevelCollection.cs, ClientTarget.cs, CustomErrorsSection.cs,
1051 MachineKeySection.cs, SessionPageStateSection.cs,
1052 SessionStateSection.cs, ProvidersHelper.cs,
1053 ClientTargetCollection.cs, SecurityPolicySection.cs,
1054 HttpCapabilitiesBase.cs, ClientTargetSection.cs: Another large
1058 2005-11-12 Chris Toshok <toshok@ximian.com>
1060 * AuthorizationRuleCollection.cs, AuthorizationRule.cs,
1061 AuthorizationSection.cs, BufferModesCollection.cs,
1062 BufferModeSettings.cs, CacheSection.cs, CompilerCollection.cs,
1063 Compiler.cs, DeploymentSection.cs,
1064 EventMappingSettingsCollection.cs, EventMappingSettings.cs,
1065 GlobalizationSection.cs, HealthMonitoringSection.cs,
1066 IdentitySection.cs, OutputCacheProfileCollection.cs,
1067 OutputCacheProfile.cs, OutputCacheSection.cs,
1068 OutputCacheSettingsSection.cs, ProfileSettingsCollection.cs,
1069 ProfileSettings.cs, RuleSettingsCollection.cs, RuleSettings.cs,
1070 SqlCacheDependencyDatabaseCollection.cs,
1071 SqlCacheDependencyDatabase.cs, SqlCacheDependencySection.cs,
1072 SystemWebCachingSectionGroup.cs, TraceSection.cs,
1073 TransformerInfoCollection.cs, TransformerInfo.cs, TrustSection.cs,
1074 WebControlsSection.cs, WebPartsPersonalizationAuthorization.cs,
1075 WebPartsPersonalization.cs, WebPartsSection.cs,
1076 XhtmlConformanceSection.cs: a whole slew of new classes. the
1077 fruits of tons of c&p and ibuprofen.
1080 2005-11-09 Chris Toshok <toshok@ximian.com>
1082 * PagesSection.cs, AuthenticationSection.cs, BuildProvider.cs,
1083 BuildProviderCollection.cs, HttpHandlerActionCollection.cs,
1084 HttpModulesSection.cs, HttpModuleAction.cs,
1085 HttpModuleActionCollection.cs, AnonymousIdentificationSection.cs,
1086 CodeSubDirectory.cs, CodeSubDirectoriesCollection.cs,
1087 SystemWebSectionGroup.cs, SiteMapSection.cs,
1088 WebConfigurationManager.cs: flesh out the implementation.
1090 * TagMap*.cs, TagPrefix*.cs: new implementation.
1092 * FormsAuthentication*.cs: new implementation.
1094 * Profile*.cs: new implementation.
1096 * Namespace*.cs: new implementation.
1098 * HttpRuntimeSection.cs: new implementation.