1 2007-04-24 Marek Habersack <mhabersack@novell.com>
3 * WebConfigurationHost.cs: wrap MapPath calls in try/catch,
4 because bad URLs can cause it to throw exceptions. If such
5 exception is caught, throw a HttpException for Bad Request (400).
6 Look for types in the top-level assemblies (App_Code and
9 * WebConfigurationManager.cs: added two internal methods for safe
10 retrieval of config sections.
12 2007-04-19 Marek Habersack <mhabersack@novell.com>
14 * HttpHandlerAction.cs: look up types in all the toplevel
15 assemblies. Fixes bug #80897.
17 2007-04-17 Atsushi Enomoto <atsushi@ximian.com>
19 * ProcessModelSection.cs : cpuMask default value should be int,
22 2007-04-06 Marek Habersack <mhabersack@novell.com>
24 * CustomErrorsSection.cs: make the customErrors section work.
26 * PagesSection.cs: provide appropriate default value for the
29 2007-03-24 Marek Habersack <mhabersack@novell.com>
31 * WebConfigurationHost.cs: allow MachineToApplication definition
32 for config paths that equal the domain virtual app directory.
34 2007-03-22 Adar Wesley <adarw@mainsoft.com>
36 * HttpCapabilitiesBase.cs: implemented all capabilities. Capabilities
37 still throw if there is no value in browscaps.ini and the property is called.
39 2007-03-21 Vladimir Krasnov <vladimirk@mainsoft.com>
41 * WebConfigurationManager.cs: fixed OpenWebConfiguration, should not
42 lock when checking if configuration is already open
44 2007-03-15 Vladimir Krasnov <vladimirk@mainsoft.com>
46 * WebConfigurationManager.cs: fixed OpenWebConfiguration, removed
47 GetBasePath call and locations search, since this not affects
48 configuration initialization, but improves performance
50 2007-03-12 Marek Habersack <mhabersack@novell.com>
52 * ProvidersHelper.cs: support loading custom providers from
53 App_Code assemblies. Fixes bug #81071.
54 Also set eol-style to native.
56 2007-03-08 Gert Driesen <drieseng@users.souceforge.net>
58 * PagesSection.cs: Revert part of Adar's patch that regresses
61 2007-03-06 Adar Wesley <adarw@mainsoft.com>
63 * PagesSection.cs: improve Enum parsing and strongly typed default values.
65 2007-02-20 Marek Habersack <grendello@gmail.com>
67 * Patch from Gert Driesen <drieseng@users.sourceforge.net>
68 * PagesSection.cs: Process value of EnableSessionState attribute
69 case-sensitive, and perform check in getter. Fix for bug #80913.
70 * PageParser.cs: Added note on difference in behaviour between page
71 level attribute and configuration attribute for enableSessionState.
72 * PagesConfiguration.cs: Fixed compiler warning.
74 2007-02-22 Marek Habersack <grendello@gmail.com>
76 * CompilerCollection.cs: Optimize language lookup a bit.
78 2007-02-05 Konstantin Triger <kostat@mainsoft.com>
80 * TagPrefixCollection.cs: Fix element key creation.
82 2007-02-04 Konstantin Triger <kostat@mainsoft.com>
84 * NamespaceInfo.cs, HttpModuleAction.cs, RoleManagerSection.cs:
85 fix the default value.
87 2007-02-02 Marek Habersack <grendello@gmail.com>
89 * TagPrefixCollection.cs: Add the CollectionType parameter.
90 Get rid of unnecessary interface references in the class declaration.
91 GetElementKey should return Source which should be unique, unlike TagPrefix.
93 2007-01-04 Konstantin Triger <kostat@mainsoft.com>
95 * ProfileSection.cs: Ensure enabled = true by default; cleanup.
97 2006-12-27 Vladimir Krasnov <vladimirk@mainsoft.com>
99 * CustomErrorCollection.cs: fixed ThrowOnDuplicate to false as in .net
101 2006-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
103 * GlobalizationSection.cs: make encodings actually work for the 2.0
106 2006-12-21 Marek Habersack <grendello@gmail.com>
108 * TagMapInfo.cs: Add an internal default constructor for use from
111 * TagMapCollection.cs: Don't call the string,string constructor of
112 TagMapInfo - the class disallows empty strings as values of its
115 2006-12-21 Vladimir Krasnov <vladimirk@mainsoft.com>
117 * RoleManagerSection.cs: refactored using attributes
119 2006-12-20 Marek Habersack <grendello@gmail.com>
121 * ProfilePropertyNameValidator.cs: added a few checks.
123 2006-12-18 Vladimir Krasnov <vladimirk@mainsoft.com>
125 * WebConfigurationManager.cs: fixed GetSection to execute
126 GetRuntimeObject, refactored GetSection and GetWebApplicationSection
128 2006-12-17 Vladimir Krasnov <vladimirk@mainsoft.com>
130 * HttpHandlerAction.cs: fixed 'verb' config property
132 2006-12-07 Igor Zelmanovich <igorz@mainsoft.com>
134 * ProvidersHelper.cs: fixed: load assembles from /bin
136 2006-11-22 Miguel de Icaza <miguel@novell.com>
138 * SessionStateSection.cs: Do not call Enum.Parse with a null
139 argument, prevents an exception from being thrown.
141 2006-11-20 Marek Habersack <grendello@gmail.com>
143 * GlobalizationSection.cs: Added support for "auto" cultures and
144 the "auto:DEFAULT_CULTURE" cultures.
146 2006-11-13 Konstantin Triger <kostat@mainsoft.com>
148 * WebConfigurationHost.cs: use Type.GetType for loading full qualified types.
150 2006-11-05 Vladimir Krasnov <vladimirk@mainsoft.com>
152 * ProfileGroupSettings.cs, ProfileGroupSettingsCollection.cs
153 ProfilePropertySettingsCollection.cs, ProfileSection.cs
154 RootProfilePropertySettingsCollection.cs: refactoring and fix of
157 2006-10-18 Marek Habersack <grendello@gmail.com>
159 * WebConfigurationManager.cs: implement support for extra
160 assemblies to be referenced when compiling a page.
162 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
164 * WebConfigurationManager.cs: add null checks. Patch by Marek Habersack
165 that fixes bug #79283.
167 2006-09-06 Konstantin Triger <kostat@mainsoft.com>
169 * WebConfigurationHost.cs: do not recourse as this will be done by
170 Configuration object.
172 2006-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
174 * WebConfigurationManager.cs: added configSystem property under
176 * WebConfigurationHost.cs: fixed GetStreamName and OpenStreamForRead
178 * CompilationSection.cs: BuildProviders property removed from
180 * SystemWebSectionGroup.cs: Compilation property removed from
183 2006-06-26 Atsushi Enomoto <atsushi@ximian.com>
185 * NullableStringValidator.cs : new internal class that is almost
186 identical to StringValidator but allows null value.
187 * PropertyHelper.cs : use new NullableStringValidator.
188 * NamespaceCollection.cs : in NamespaceInfo "" is not allowed.
190 2006-06-08 Chris Toshok <toshok@ximian.com>
192 * WebConfigurationHost.cs (InitForConfiguration): i know this is
193 going to bite me in the ass, but guard against configPath being ==
194 to "/", since this will result in an infinite loop.
195 (MapPath): fix a NRE.
197 2006-05-18 Atsushi Enomoto <atsushi@ximian.com>
199 * WebConfigurationManager.cs: recent sys.config.dll changes on
200 ConfigurationManager.GetSection() which should call
201 GetRuntimeObject() should also apply here. Fixed monodoc web.
203 2006-05-10 Andrew Skiba <andrews@mainsoft.com>
205 * HttpHandlerAction.cs: keep the internal exception
207 2006-05-08 Chris Toshok <toshok@ximian.com>
209 * WebConfigurationManager.cs (GetBasePath): fix bug where
210 path.Length was 0 when we got to the last while loop (and indexed
211 -1 into an array.) Thanks Marek for the fix.
213 2006-05-04 Chris Toshok <toshok@ximian.com>
217 * WebConfigurationHost.cs (GetConfigType): add a MonoTODO about
218 how we should use the build provider machinery to get types.
219 (MapPath): add rudimentary mapping in the case where we don't have
220 a request, basically handle the case where the url begins with (or
221 is) HttpRuntime.AppDomainAppVirtualPath.
223 * WebConfigurationManager.cs (GetSection): if we don't have a
224 valid request, open the web configuration corresponding to
225 HttpRuntime.AppDomainAppVirtualPath.
226 (GetBasePath): comment this a little, and make it work in the case
227 where we don't have an HttpRequest.
229 2006-04-27 Chris Toshok <toshok@ximian.com>
231 * AuthorizationRuleCollection.cs (ThrowOnDuplicate): for the time
232 being introduce a overridden property MS doesn't make use of.
233 This needs readdressing, but it should get people making use of
234 <authorization> rules working again.
236 2006-04-25 Chris Toshok <toshok@ximian.com>
238 * AuthorizationRule.cs (Reset): finally figure out what this
239 method is supposed to do. Assign our Action property based on
242 2006-04-25 Chris Toshok <toshok@ximian.com>
244 * WebConfigurationHost.cs (InitForConfiguration): actually, use
245 HttpRuntime.AppDomainAppVirtualPath on gonzalo's recommendation.
246 It's never null, and its use cleans things up a bit.
248 2006-04-25 Chris Toshok <toshok@ximian.com>
250 * WebConfigurationHost.cs (InitForConfiguration): stop going up
251 the virtual hierarchy once we reach the application's base virtual
254 2006-04-24 Chris Toshok <toshok@ximian.com>
256 * AuthorizationSection.cs (IsValidUser): fix a problem that
257 surfaced when converting from the 1.1 to 2.0 config classes. Only
258 check for verb match if there are actually verbs to match against.
260 2006-04-11 Chris Toshok <toshok@ximian.com>
262 * ExpressionBuilderCollection.cs (CreateNewElement): call argless
265 * ExpressionBuilder.cs: add internal argumentless ctor for use by
268 2006-03-24 Chris Toshok <toshok@ximian.com>
270 * WebConfigurationManager.cs (GetConfig): add a fallback case for
271 configuration sections that don't subclass from
272 ConfigurationSection.
274 2006-03-24 Chris Toshok <toshok@ximian.com>
276 * WebConfigurationHost.cs: fix bug where OpenWebConfiguration
277 ("/") would result in 2 configurations for that toplevel path to
280 2006-03-08 Chris Toshok <toshok@ximian.com>
282 * ProvidersHelper.cs: implement this static class properly.
284 * SiteMapSection.cs (ProvidersInternal): add internal property to
285 get the actual SiteMapProviderCollection from here.
287 2006-02-28 Chris Toshok <toshok@ximian.com>
289 * BuildProviderAppliesTo.cs, PagesToCountAction.cs: nuke.
291 2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
294 * CompilerCollection.cs: removed compatibility code.
296 * BuildProviderCollection.cs: add GetProviderForExtension().
298 2006-02-02 Chris Toshok <toshok@ximian.com>
300 * WebConfigurationManager.cs (GetSection(string,string)):
303 2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
305 * TrustLevelCollection.cs, CodeSubDirectoriesCollection.cs,
306 CustomErrorCollection.cs, CompilerCollection.cs,
307 HttpHandlerActionCollection.cs,
308 FormsAuthenticationUserCollection.cs,
309 AuthorizationRuleCollection.cs, TagPrefixCollection.cs :
310 CollectionType is public.
312 2006-02-01 Chris Toshok <toshok@ximian.com>
314 * WebConfigurationManager.cs: In the normal case, get the current
315 request's web.config, not the application's. If there is no
316 current request, get the application's.
317 (GetWebApplicationConfiguration): use Request.ApplicationPath, not
318 Request.PhysicalApplicationPath. OpenWebConfiguration takes
321 * HttpConfigurationSystem.cs: GetWebApplicationSection =>
324 2006-02-01 Chris Toshok <toshok@ximian.com>
326 * CompilerCollection.cs: CONFIGURATION_2_0 => NET_2_0
330 2006-02-01 Chris Toshok <toshok@ximian.com>
332 * HttpConfigurationSystem.cs: SupportsUserConfig == true. let's
333 use this to determine if ConfigurationManager.AppSettings should
336 2006-01-31 Chris Toshok <toshok@ximian.com>
338 * WebConfigurationManager.cs: err, why did i ifdef stuff NET_2_0
339 inside of an ifdef NET_2_0?
341 2006-01-30 Chris Toshok <toshok@ximian.com>
343 * WebConfigurationManager.cs: lots of little changes. hopefully
344 this doesn't break anyone. it fixes all the nunit problems
347 * WebConfigurationHost.cs (GetStreamName): in the MachineWebPath
348 case, handle the case where we have a WebConfigurationFileMap.
349 (MapPath): this is likely wrong, but in the case where we don't
350 have a file map or current HttpContext, just return the path.
352 2006-01-29 Chris Toshok <toshok@ximian.com>
354 * HttpModulesSection.cs (LoadModules): I'm not sure we want to
355 solve this problem in this way, but the 1.x code forces
356 DefaultAuthenticationModule to be in the list of modules..
357 Without this fix (or something else) HttpContext.User is null when
360 2006-01-26 Chris Toshok <toshok@ximian.com>
362 * HttpConfigurationSystem.cs: new class that gets sections from
365 * WebConfigurationManager.cs: change a lot of the
366 NotImplementedExceptions to NotSupportedExceptions.
367 (AppSettings): implement by just returning
368 ConfigurationManager.AppSettings (note this is broken because
369 ConfigurationManager.AppSettings are read-only, but it works for
371 (ConnectionStrings): same (and probably broken in the same way..)
372 (Init): replace the 2.0 IInternalConfigSystem with our
373 HttpConfigurationSystem.
375 * WebConfigurationHost.cs: add a comment about how things are
376 likely to work in the face of IRemoteWebConfigurationHostServer.
377 (CreateConfigurationContext): return a WebContext instance.
379 2006-01-25 Chris Toshok <toshok@ximian.com>
381 * AuthorizationSection.cs (IsValidUser): instead of a blanket
382 false for a null user, just set the username to "" and short
383 circuit out the check for roles.
385 2006-01-25 Chris Toshok <toshok@ximian.com>
387 * AuthorizationRule.cs (CheckUser): handle * and ?, and use
388 String.Compare instead of ==.
389 (CheckVerb): use String.Compare instead of ==.
391 * AuthorizationSection.cs (IsValidUser): return false for a null
394 2006-01-22 Chris Toshok <toshok@ximian.com>
396 * GlobalizationSection.cs (VerifyData): quiet mcs.
398 2006-01-18 Chris Toshok <toshok@ximian.com>
400 * SystemWebSectionGroup.cs: wrap System.Web.Services references in
403 2006-01-16 Chris Toshok <toshok@ximian.com>
405 * WebConfigurationManager.cs: implement a IConfigurationSystem for
406 use with WebConfigurationManager.
407 (GetSection): try to load the section
408 using GetWebApplicationSection before calling into
409 ConfigurationManager.GetSection.
410 (GetWebApplicationConfiguration): move common code to here.
411 (GetWebApplicationSection): use GetWebApplicationConfiguration.
412 (AppSettings): implement.
414 * WebConfigurationHost.cs (GetWebConfigFileName): add
415 "Web.Config", and move to an array/loop implementation. maybe we
416 should scan the directory and check ToLower() instead of
417 explicitly enumerating?
419 2006-01-10 Chris Toshok <toshok@ximian.com>
421 * SystemWebSectionGroup.cs (HostingEnvironment): enable this property.
422 (ProcessModel): add the ConfigurationPropertyAttribute.
424 2006-01-10 Chris Toshok <toshok@ximian.com>
426 * PagesSection.cs (.cctor): fix the default value for the
427 enableSessionState attribute - it's not a bool, but a
428 PagesEnableSessionState enum.
430 2006-01-10 Chris Toshok <toshok@ximian.com>
432 * MachineKeySection.cs (ValidationKeyBytes, DecryptionKeyBytes,
433 DecryptionKey192Bits): if the keys are null, generate them. Fixes
434 Page.EnableViewStateMac support.
436 2006-01-09 Chris Toshok <toshok@ximian.com>
438 * RoleManagerSection.cs, SqlCacheDepencendySection.cs,
439 SessionStateSection.cs, TraceSection.cs, SecurityPolicySection.cs,
440 PagesSection.cs, RulesSettings.cs, UrlMappingSection.cs: fix
443 2006-01-09 Chris Toshok <toshok@ximian.com>
445 * ExpressionBuilderCollection.cs (.cctor): no need to create a
446 collection property here. we're already in the collection.
448 * CompilationSection.cs: fix typo.
450 2006-01-04 Chris Toshok <toshok@ximian.com>
452 * MachineKeySection.cs: bring over some more internal methods from
453 MachineKeyConfig, and call Set{Decryption,Validation}Key from
454 their respective property setters.
456 2006-01-03 Chris Toshok <toshok@ximian.com>
458 * AuthorizationSection.cs (IsValidUser): add analogous method from
459 AuthorizationConfig.cs.
461 * AuthorizationRule.cs: add predicates for Verb, User, and Role
462 analogous to what existed in AuthorizationConfig.cs.
464 2005-12-11 Chris Toshok <toshok@ximian.com>
466 * WebConfigurationManager.cs (OpenMachineConfiguration): just call
467 ConfigurationManager.OpenMachineConfiguration.
468 (OpenWebConfiguration): remove the "IntPtr userToken" version and
469 add a "string userName" version to clean up corcompare output.
470 Modify all the overloads to pass null instead of IntPtr.Zero.
471 (GetWebApplicationSection): if we're not running in a web
472 application, use the machine configuration.
474 2005-12-06 Chris Toshok <toshok@ximian.com>
476 * CodeSubDirectory.cs (DirectoryName): don't use an private field,
477 but base[directoyNameProp].
479 * AuthorizationRuleCollection.cs (Add): use BaseAdd (rule, false),
480 so we can insert duplicates.
482 (GetElementKey): MS for some reason just uses the action for the
484 (Remove): pass the correct key.
486 * ProfileGroupSettings.cs (GetHashCode): implement.
488 * GlobalizationSection.cs (GetEncoding): for the utf-8 case, just
491 * AssemblyCollection.cs (Add): use BaseAdd (info, false) so we can
494 * CacheSection.cs (.cctor): make privateByteLimit's default 0L so
495 we don't get a invalid cast exception later on.
497 * AuthorizationRule.cs (VerifyData): split out the verification
498 foo from PreSerialize.
499 (PostDeserialize): so we can call it from here.
500 (PreSerialize): and here.
502 2005-12-05 Chris Toshok <toshok@ximian.com>
504 * AuthorizationRuleCollection.cs (GetKey): split out the logic for
505 creating a key from a rule here.
506 (GetElementKey): use it here.
509 2005-12-04 Chris Toshok <toshok@ximian.com>
511 * UrlMapping.cs: add an internal argument-less ctor.
513 * UrlMappingCollection.cs (CreateNewElement): use argument-less
516 (AllKeys): implement.
518 * TrustLevel.cs: add an internal argument-less ctor.
520 * TrustLevelCollection.cs (Set): implement.
521 (CreateNewElement): use argument-less ctor.
522 (IsElementName): implement.
523 (ElementName): implement.
524 (set_Item (int index)): use Set.
525 (ThrowOnDuplicate): implement.
527 * TagPrefixInfo.cs: add internal argument-less ctor.
529 * TagPrefixCollection.cs (CreateNewElement): call argument-less
531 (CollectionType): add text to TODO.
532 (ElementName): implement.
534 * SqlCacheDependencyDatabaseCollection.cs (Set): implement.
535 (AllKeys): implement.
537 * RuleSettings.cs: add internal argument-less ctor.
539 * RuleSettingsCollection.cs (Contains): implement.
540 (CreateNewElement): use argument-less ctor.
541 (IndexOf): implement.
544 * RootProfilePropertySettingsCollection.cs (IsModified): chain up
545 to base.IsModified for now.
546 (Reset): chain up to base.Reset for now.
547 (ResetModified): chain up to base.ResetModified for now.
549 * ProfileSettings.cs: add internal argument-less ctor.
551 * ProfileSettingsCollection.cs (Contains): implement.
552 (CreateNewElement): use argument-less ctor.
553 (IndexOf): implement.
556 * ProfilePropertySettingsCollection.cs (IndexOf): implement.
558 (AllKeys): implement.
560 * ProfileGroupSettings.cs: add internal argument-less ctor.
562 * ProfileGroupSettingsCollection.cs (CreateNewElement): use
565 (ResetModified): for now call base.ResetModified.
567 (AllKeys): implement.
569 * OutputCacheProfile.cs: add internal argument-less ctor.
571 * OutputCacheProfileCollection.cs (CreateNewElement): use
574 (AllKeys): implement.
576 * HttpModuleActionCollection.cs (Add): remove MonoTODO.
577 (CreateNewElement): same.
579 * HttpHandlerActionCollection.cs (GetElementKey): build up the key
580 from both the path and the verb.
583 * FormsAuthenticationUserCollection.cs (Set): implement.
584 (AllKeys): implement.
586 * EventMappingSettings.cs: add an internal argument-less ctor.
588 * EventMappingSettingsCollection.cs (Contains): implement.
589 (CreateNewElement): use argument-less ctor.
590 (IndexOf): implement.
593 * CompilerCollection.cs (GetKey): implement.
594 (AllKeys): implement.
596 * ClientTargetCollection.cs (GetKey): implement.
597 (AllKeys): implement.
599 * AuthorizationRuleCollection.cs (Set): implement.
600 (ElementName): add some text to the MonoTODO.
601 (set_Item (int index)): use Set.
603 2005-12-04 Chris Toshok <toshok@ximian.com>
605 * CustomError.cs: add an internal argument-less ctor for use by
608 * CustomErrorCollection.cs: implement all the MonoTODO's.
610 2005-12-02 Chris Toshok <toshok@ximian.com>
612 * GlobalizationSection.cs (VerifyData): split out the stuff that
613 used to live in PreSerialize here.
614 (PreSerialize): call VerifyData here.
615 (PostDeserialize): and here.
617 2005-12-01 Chris Toshok <toshok@ximian.com>
619 * GlobalizationSection.cs (PreSerialize): add checks for Culture
620 and UICulture properties.
622 2005-12-01 Chris Toshok <toshok@ximian.com>
624 * AuthorizationRule.cs (..ctor): provide default values for
625 roles/users/verbs here. Not sure if we should do this in the ctor
626 or if the System.Configuration infrastructure should.. time will
628 (PreSerialize): throw if Roles.Count and Users.Count == 0.
629 (SerializeElement): write out the element here. don't chain up to
630 the base class since that has differing behavior than what we
633 2005-11-30 Chris Toshok <toshok@ximian.com>
635 * CompilerCollection.cs: ugly hack to fix the
636 2.0-without-config-2.0 case. wrap this file in #if
637 CONFIGURATION_2_0 as well as #if NET_2_0.
641 2005-11-28 Chris Toshok <toshok@ximian.com>
643 * SessionStateSection.cs (CookieLess): correct the compat function
646 2005-11-28 Chris Toshok <toshok@ximian.com>
648 * GlobalizationSection.cs (GetEncoding): if the encoding name is
649 null, default to utf-8 before we hit the try block, so we don't
650 throw and generate a spurious warning.
652 * SessionStateSection.cs: The Cookieless handling needs a custom
653 parser, it appears, as the converter is a StringConverter, not a
654 GenericEnumConverter.
655 (ParseCookieMode): the parser.
657 2005-11-28 Chris Toshok <toshok@ximian.com>
659 * PagesSection.cs (GetInstance): nuke.
661 * CompilationSection.cs (GetInstance): nuke.
663 2005-11-28 Chris Toshok <toshok@ximian.com>
665 * HttpHandlerAction.cs: add some c&p code from the 1.1 config
666 stuff to look for matching handlers.
667 (..ctor): add parameterless ctor.
669 * HttpHandlerActionCollection.cs: clean up formatting.
670 (CreateNewElement): call the parameter-less ctor for
673 * HttpHandlersSection.cs (..ctor): add a ConfigurationProperty for
674 the default collection.
675 (get_Handlers): implement.
676 (LocateHandler): copy over (and massage) some 1.1 config code.
678 * MachineKeySection.cs: move some code over from the 1.1 config
679 code to deal with autogeneration of keys, as well as converting
680 from the string rep to the byte[] rep.
682 2005-11-28 Chris Toshok <toshok@ximian.com>
684 * HttpModuleActionCollection.cs (CreateNewElement): use the new
685 HttpModuleAction ctor.
687 * HttpModuleAction.cs: add internal ctor with no parameters, for
688 use in HttpModuleActionCollection.
690 2005-11-28 Chris Toshok <toshok@ximian.com>
692 * GlobalizationSection.cs (..cctor): the encoding
693 ConfigurationProperties are of type "string", even though the
694 properties themselves are of type Encoding. we do conversions
695 manually in the setter/getters. gross. Add code (mostly c&p +
696 massaged from GlobalizationConfigurationHandler) for this and also
697 to handle the culture gettes.
699 2005-11-26 Chris Toshok <toshok@ximian.com>
701 * AuthorizationRuleCollection.cs (GetElementKey): implement this.
703 * ProfilePropertyNameValidator.cs: make this internal, and add a
704 blurb about how MS doesn't do the testing you'd expect them to.
706 2005-11-25 Chris Toshok <toshok@ximian.com>
708 * AuthorizationRuleCollection.cs (CreateNewElement): remove
711 * CompilationSection.cs (GetRuntimeObject): add comment to TODO.
713 * ProfileGroupSettings.cs: reformat some things.
715 * FormsAuthenticationUser.cs (Name): remove MonoTODO.
717 * WebPartsSection.cs (GetRuntimeObject): change TODO comment.
719 * ProfilePropertySettings.cs: add internal argument-less ctor.
721 * IdentitySection.cs (GetRuntimeObject): return this.
723 * ProfilePropertySettingsCollection.cs: implement much of the
726 * WebControlsSection.cs (GetRuntimeObject): implement.
728 * SqlCacheDependencyDatabaseCollection.cs (GetElementKey):
732 2005-11-24 Chris Toshok <toshok@ximian.com>
734 * AssemblyInfo.cs: move this here from System.Web.Configuration,
735 and fix up the properties.
737 * SystemWebSectionGroup.cs: enable most of the sections (2
738 remaining to be enabled.)
740 2005-11-24 Chris Toshok <toshok@ximian.com>
742 * ProcessModelSection.cs, SqlCacheDependencySection.cs,
743 SessionStateSection.cs, PassportAuthentication.cs,
744 FormsAuthenticationConfiguration.cs,
745 SqlCacheDependencyDatabase.cs, HttpModuleAction.cs,
746 BufferModeSettings.cs, TagPrefixInfo.cs (..cctor): init
748 (ValidateElement): new static validator callback.
749 (ElementProperty): enable this, return elementProperty.
751 2005-11-23 Chris Toshok <toshok@ximian.com>
753 * ProfilePropertyNameValidator.cs: new implementation.
755 * ProfilePropertySettings.cs, ProfileGroupSettings.cs,
756 ClientTargetSection.cs, ClientTargetSection.cs,
757 BufferModeSettings.cs, HttpModulesSection.cs,
758 WebPartsPersonalization.cs, TransformerInfo.cs, TrustLevel.cs,
759 NamespaceInfo.cs, SqlCacheDependencyDatabase.cs,
760 AuthenticationSection.cs, RuleSettings.cs,
761 FormsAuthenticationUser.cs, WebPartsSection.cs, BuildProvider.cs,
762 WebPartsPersonalizationAuthorization.cs, Compiler.cs,
763 ExpressionBuilder.cs, OutputCacheProfile.cs,
764 FormsAuthenticationCredentials.cs, XhtmlConformanceSection.cs,
765 OutputCacheSettingsSection.cs, CustomError.cs, TraceSection.cs,
766 ExpressionBuilderCollection.cs, ProfileSettings.cs,
767 SessionStateSection.cs, HealthMonitoringSection.cs,
768 FormsAuthenticationConfiguration.cs, HttpRuntimeSection.cs,
769 SessionPageStateSection.cs, TrustSection.cs,
770 AnonymousIdentificationSection.cs, WebControlsSection.cs,
771 ClientTarget.cs, TagMapInfo.cs, AuthorizationSection.cs,
772 ProcessModelSection.cs, RoleManagerSection.cs,
773 MembershipSection.cs, CustomErrorsSection.cs (..cctor): fix
774 validator/converters.
776 * MachineKeySection.cs (..cctor): fix validators/converters.
777 (Validation): enable the Converter.
779 * CodeSubDirectory.cs (..cctor): fix validator/converters.
780 (DirectoryName): add note about missing validator decoration.
782 * HttpModuleAction.cs (..cctor): init properties.
783 (Properties): return properties.
785 * CompilationSection.cs (..cctor): fix validator/converters.
786 (GetInstance): add in this pre-2.0 interface for the time being,
787 hopefully it'll make it easier to migrate later on.
789 * HttpHandlerActionCollection.cs (..cctor): init properties.
790 (Properties): return properties.
792 * PagesSection.cs (..cctor): fix validator/converters.
793 (GetInstance): add in this pre-2.0 interface for the time being,
794 hopefully it'll make it easier to migrate later on.
796 * HttpHandlersSection.cs (..cctor): init properties.
797 (Properties): return properties.
799 * EventMappingSettings.cs (..cctor): fix validator/converters.
800 (Name): add note about missing validator decoration.
802 * HttpHandlerAction.cs (..cctor): fix validator/converters.
803 (PAth, Type, Verb): add note about missing validator decoration.
805 * NamespaceCollection.cs (..cctor): fix properties.
807 * ProfilePropertySettingsCollection.cs (..cctor): init properties.
808 (..ctor): don't throw NIE.
809 (Properties): return properties.
811 * HttpModuleActionCollection.cs (..cctor): init properties.
812 (Properties): return properties.
814 * CacheSection.cs (..cctor): fix validators/converters.
815 (PrivateBytesPollTime): add note about missing validator
818 * AuthorizationRule.cs (..cctor): fix validators/converters.
819 (Roles, Users, Verbs): enable the TypeConverter decorations.
821 * UrlMapping.cs (ValidateUrl): static method for use as a
822 validation callback. unimplemented as yet.
823 (..cctor): fix validators/converters.
824 (MappedUrl): add note about missing validator decoration.
826 * PropertyHelper.cs: static utility class which contains
827 references to validators and converters for use in static
828 constructors (building the Properties arrays).
830 2005-11-23 Chris Toshok <toshok@ximian.com>
832 * MachineKeyValidationConverter.cs: new converter (and a pretty
833 silly one, considering all it seems to do is convert "TripleDES"
836 * HostingEnvironmentSection.cs (.cctor): use
837 PositiveTimeSpanValidator like MS does.
839 2005-11-18 Chris Toshok <toshok@ximian.com>
841 * HostingEnvironmentSection.cs (.cctor): add validators.
843 * CompilationSection.cs (.cctor): fix defaultvalue of
846 2005-11-18 Chris Toshok <toshok@ximian.com>
848 * SystemWebSectionGroup.cs: enable a whole slew of properties.
850 * RegexWorker.cs: stub this out.
852 * HttpCapabilitiesBase.cs: remove GetClrVersions since it's in one
853 of the other partial files.
855 * CompilationSection.cs: fix this up.
857 * PagesSection.cs: fix some types and add a comment to
860 * CompilerCollection.cs (Add): new internal method.
862 * ProvidersHelper.cs: put the using System.Configuration.Provider
863 inside the NET_2_0 block.
865 * CacheSection.cs: add validators.
867 2005-11-14 Chris Toshok <toshok@ximian.com>
869 * BufferModeSettings.cs: add validators/converters to the
870 programmatic property list.
872 * BuildProvider.cs: add validators/converters to the programmatic
873 property list, and add an internal ctor with no args.
875 * Compiler.cs: wrap the code i hacked from the 1.1 stuff with a
878 * BuildProviderCollection.cs (CreateNewElement): use the internal
879 BuildProvider ctor to get around validation.
881 * AssemblyCollection.cs: same.
883 2005-11-14 Chris Toshok <toshok@ximian.com>
885 * TagPrefixCollection.cs (Remove): pass the key to BaseRemove.
886 (set_Item (int index)): implement.
888 * TagPrefixInfo.cs (Equals): implement.
889 (GetHashCode): implement.
891 * AuthorizationRuleCollection.cs (CreateNewElement(string)):
893 (IndexOf): implement.
894 (IsElementName): implement.
895 (ElementName): implement.
896 (Item (int index)): implement.
898 * FormsAuthenticationUserCollection.cs (set_Item (int index)): implement.
900 * UrlMappingCollection.cs (set_Item (int index)): implement.
902 * OutputCacheProfileCollection.cs (set_Item (int index)): implement.
904 * TransformerInfo.cs (Equals): implement.
905 (GetHashCode): implement.
907 * NamespaceInfo.cs (Equals): implement.
908 (GetHashCode): implement.
910 * ProfileSettingsCollection.cs (set_Item (int index)): implement.
912 * TransformerInfoCollection.cs (set_Item (int index)): implement.
914 * HttpHandlerActionCollection.cs (set_Item (int index)): implement.
916 * BufferModesCollection.cs (set_Item (int index)): implement.
918 * BuildProvider.cs: use the base[fooProp] pattern instead of
921 * ProfileGroupSettingsCollection.cs: implement most of this class.
923 * RuleSettingsCollection.cs (set_Item (int index)): implement.
925 * ClientTargetCollection.cs (set_Item (int index)): implement.
927 * AssemblyCollection.cs (set_Item (int index)): implement.
929 * BuildProviderCollection.cs (set_Item (int index)): reformat.
931 * CustomError.cs (Equals): implement.
932 (GetHashCode): implement.
934 * ExpressionBuilderCollection.cs (set_Item (int index)): reformat.
936 * PassportAuthentication.cs (RedirectUrl): express consternation
939 * NamespaceCollection.cs (set_Item (int index)): implement.
941 * RootProfilePropertySettingsCollection.cs (SerializeElement): add
944 * ProfilePropertySettingsCollection.cs (set_Item (int index)):
947 * CustomErrorCollection.cs (set_Item (int index)): implement.
949 * HttpModuleActionCollection.cs (set_Item (int index)): implement.
951 * CodeSubDirectoriesCollection.cs (set_Item (int index)):
954 * CustomErrorsSection.cs (DeserializeSection): include call to
955 base.DeserializeSection, and add MonoTODO.
957 * EventMappingSettingsCollection.cs (set_Item (int index)):
960 * AuthorizationRule.cs (Equals): implement.
961 (GetHashCode): implement.
962 (SerializeElement): add comment.
964 * TagMapCollection.cs (Remove): pass the key to BaseRemove.
965 (set_Item (int index)): implement.
967 * TagMapInfo.cs (Equals): implement.
968 (GetHashCode): implement.
969 (SerializeElement): add call to base.SerializeElement.
971 * TrustLevelCollection.cs (Remove): pass the key to BaseRemove.
972 (GetElementKey): implement.
974 * SqlCacheDependencyDatabase.cs (set_Item (int index)): implement.
976 * WebContext.cs: new implementation.
978 2005-11-13 Chris Toshok <toshok@ximian.com>
980 * AnonymousIdentificationSection.cs: rework this class a bit to
981 fit in with the rest of S.W.C. Add validators to the
982 ConfigurationProperty ctor calls, a pattern which will need to be
983 replicated across the entire assembly, it appears (uggggh).
985 2005-11-13 Chris Toshok <toshok@ximian.com>
987 * AuthorizationRuleCollection.cs: fix ConfigurationCollection
990 * TransformerInfo.cs: fix corcompare.
992 * SqlCacheDependencyDatabase.cs: mark ctor internal to fix
995 * AuthenticationSection.cs: add missing Reset stub.
997 * ProfileSettingsCollection.cs: use the more succint ctor.
999 * FormsAuthenticationUser.cs: enable the TypeConverter on "name".
1001 * GlobalizationSection.cs: fix up corcompare.
1003 * WebPartsSection.cs: fix up corcompare.
1005 * ProfileGroupSettingsCollection.cs: add missing
1006 ConfigurationCollection attribute.
1008 * ExpressionBuilder.cs: implement.
1010 * FormsAuthenticationCredentials.cs: fix up corcompare.
1012 * AssemblyCollection.cs: implement Properties.
1014 * SiteMapSection.cs: implement Properties.
1016 * ExpressionBuilderCollection.cs: fix up corcompare.
1018 * ProfileSettings.cs: add missing ctor.
1020 * PassportAuthentication.cs: new implementation.
1022 * SqlCacheDependencySection.cs: fix up corcompare.
1024 * ProfilePropertySettingsCollection.cs: fix up corcompare.
1026 * HttpModuleActionCollection.cs: fix up corcompare.
1028 * EventMappingSettingsCollection.cs: fix up corcompare.
1030 * AuthorizationRule.cs: fix up corcompare.
1032 * WebControlsSection.cs: fix up corcompare.
1034 * AuthorizationSection.cs: fix up corcompare.
1036 * MembershipSection.cs: clean this up, implement Properties, fix
1039 2005-11-13 Chris Toshok <toshok@ximian.com>
1041 * UrlMapping.cs, CustomErrorCollection.cs, CustomError.cs,
1042 HostingEnvironmentSection.cs, TrustLevel.cs,
1043 HttpCookiesSection.cs, UrlMappingsSection.cs,
1044 UrlMappingCollection.cs, LowerCaseStringConverter.cs,
1045 RoleManagerSection.cs, ProcessModelSection.cs,
1046 TrustLevelCollection.cs, ClientTarget.cs, CustomErrorsSection.cs,
1047 MachineKeySection.cs, SessionPageStateSection.cs,
1048 SessionStateSection.cs, ProvidersHelper.cs,
1049 ClientTargetCollection.cs, SecurityPolicySection.cs,
1050 HttpCapabilitiesBase.cs, ClientTargetSection.cs: Another large
1054 2005-11-12 Chris Toshok <toshok@ximian.com>
1056 * AuthorizationRuleCollection.cs, AuthorizationRule.cs,
1057 AuthorizationSection.cs, BufferModesCollection.cs,
1058 BufferModeSettings.cs, CacheSection.cs, CompilerCollection.cs,
1059 Compiler.cs, DeploymentSection.cs,
1060 EventMappingSettingsCollection.cs, EventMappingSettings.cs,
1061 GlobalizationSection.cs, HealthMonitoringSection.cs,
1062 IdentitySection.cs, OutputCacheProfileCollection.cs,
1063 OutputCacheProfile.cs, OutputCacheSection.cs,
1064 OutputCacheSettingsSection.cs, ProfileSettingsCollection.cs,
1065 ProfileSettings.cs, RuleSettingsCollection.cs, RuleSettings.cs,
1066 SqlCacheDependencyDatabaseCollection.cs,
1067 SqlCacheDependencyDatabase.cs, SqlCacheDependencySection.cs,
1068 SystemWebCachingSectionGroup.cs, TraceSection.cs,
1069 TransformerInfoCollection.cs, TransformerInfo.cs, TrustSection.cs,
1070 WebControlsSection.cs, WebPartsPersonalizationAuthorization.cs,
1071 WebPartsPersonalization.cs, WebPartsSection.cs,
1072 XhtmlConformanceSection.cs: a whole slew of new classes. the
1073 fruits of tons of c&p and ibuprofen.
1076 2005-11-09 Chris Toshok <toshok@ximian.com>
1078 * PagesSection.cs, AuthenticationSection.cs, BuildProvider.cs,
1079 BuildProviderCollection.cs, HttpHandlerActionCollection.cs,
1080 HttpModulesSection.cs, HttpModuleAction.cs,
1081 HttpModuleActionCollection.cs, AnonymousIdentificationSection.cs,
1082 CodeSubDirectory.cs, CodeSubDirectoriesCollection.cs,
1083 SystemWebSectionGroup.cs, SiteMapSection.cs,
1084 WebConfigurationManager.cs: flesh out the implementation.
1086 * TagMap*.cs, TagPrefix*.cs: new implementation.
1088 * FormsAuthentication*.cs: new implementation.
1090 * Profile*.cs: new implementation.
1092 * Namespace*.cs: new implementation.
1094 * HttpRuntimeSection.cs: new implementation.