2007-04-17 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web.Configuration_2.0 / ChangeLog
1 2007-04-17  Atsushi Enomoto  <atsushi@ximian.com>
2
3         * ProcessModelSection.cs : cpuMask default value should be int,
4           not uint.
5
6 2007-04-06  Marek Habersack  <mhabersack@novell.com>
7
8         * CustomErrorsSection.cs: make the customErrors section work.
9
10         * PagesSection.cs: provide appropriate default value for the
11         asyncTimeout setting.
12
13 2007-03-24  Marek Habersack  <mhabersack@novell.com>
14
15         * WebConfigurationHost.cs: allow MachineToApplication definition
16         for config paths that equal the domain virtual app directory.
17
18 2007-03-22  Adar Wesley <adarw@mainsoft.com>
19
20         * HttpCapabilitiesBase.cs: implemented all capabilities.  Capabilities
21         still throw if there is no value in browscaps.ini and the property is called.
22
23 2007-03-21  Vladimir Krasnov  <vladimirk@mainsoft.com>
24
25         * WebConfigurationManager.cs: fixed OpenWebConfiguration, should not
26         lock when checking if configuration is already open
27
28 2007-03-15  Vladimir Krasnov  <vladimirk@mainsoft.com>
29
30         * WebConfigurationManager.cs: fixed OpenWebConfiguration, removed 
31         GetBasePath call and locations search, since this not affects
32         configuration initialization, but improves performance
33
34 2007-03-12  Marek Habersack  <mhabersack@novell.com>
35
36         * ProvidersHelper.cs: support loading custom providers from
37         App_Code assemblies. Fixes bug #81071.
38         Also set eol-style to native.
39
40 2007-03-08  Gert Driesen  <drieseng@users.souceforge.net>
41
42         * PagesSection.cs: Revert part of Adar's patch that regresses
43         bug #80913.
44
45 2007-03-06  Adar Wesley <adarw@mainsoft.com>
46
47         * PagesSection.cs: improve Enum parsing and strongly typed default values.
48
49 2007-02-20  Marek Habersack  <grendello@gmail.com>
50
51         * Patch from Gert Driesen  <drieseng@users.sourceforge.net>
52         * PagesSection.cs: Process value of EnableSessionState attribute
53         case-sensitive, and perform check in getter. Fix for bug #80913.
54         * PageParser.cs: Added note on difference in behaviour between page
55         level attribute and configuration attribute for enableSessionState.
56         * PagesConfiguration.cs: Fixed compiler warning.
57
58 2007-02-22  Marek Habersack  <grendello@gmail.com>
59
60         * CompilerCollection.cs: Optimize language lookup a bit.
61
62 2007-02-05  Konstantin Triger <kostat@mainsoft.com>
63
64         * TagPrefixCollection.cs: Fix element key creation.
65
66 2007-02-04  Konstantin Triger <kostat@mainsoft.com>
67
68         * NamespaceInfo.cs, HttpModuleAction.cs, RoleManagerSection.cs:
69                 fix the default value.
70
71 2007-02-02  Marek Habersack  <grendello@gmail.com>
72
73         * TagPrefixCollection.cs: Add the CollectionType parameter.
74         Get rid of unnecessary interface references in the class declaration.
75         GetElementKey should return Source which should be unique, unlike TagPrefix.
76
77 2007-01-04  Konstantin Triger <kostat@mainsoft.com>
78
79         * ProfileSection.cs: Ensure enabled = true by default; cleanup.
80
81 2006-12-27  Vladimir Krasnov  <vladimirk@mainsoft.com>
82
83         * CustomErrorCollection.cs: fixed ThrowOnDuplicate to false as in .net
84
85 2006-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
86
87         * GlobalizationSection.cs: make encodings actually work for the 2.0
88         profile.
89
90 2006-12-21  Marek Habersack  <grendello@gmail.com>
91
92         * TagMapInfo.cs: Add an internal default constructor for use from
93         TagMapCollection.
94
95         * TagMapCollection.cs: Don't call the string,string constructor of
96         TagMapInfo - the class disallows empty strings as values of its
97         properties.
98
99 2006-12-21  Vladimir Krasnov  <vladimirk@mainsoft.com>
100
101         * RoleManagerSection.cs: refactored using attributes
102
103 2006-12-20  Marek Habersack  <grendello@gmail.com>
104
105         * ProfilePropertyNameValidator.cs: added a few checks.
106
107 2006-12-18  Vladimir Krasnov  <vladimirk@mainsoft.com>
108
109         * WebConfigurationManager.cs: fixed GetSection to execute
110         GetRuntimeObject, refactored GetSection and GetWebApplicationSection
111
112 2006-12-17  Vladimir Krasnov  <vladimirk@mainsoft.com>
113
114         * HttpHandlerAction.cs: fixed 'verb' config property
115
116 2006-12-07  Igor Zelmanovich  <igorz@mainsoft.com>
117
118         * ProvidersHelper.cs: fixed: load assembles from /bin
119
120 2006-11-22  Miguel de Icaza  <miguel@novell.com>
121
122         * SessionStateSection.cs: Do not call Enum.Parse with a null
123         argument, prevents an exception from being thrown.
124
125 2006-11-20  Marek Habersack  <grendello@gmail.com>
126
127         * GlobalizationSection.cs: Added support for "auto" cultures and
128         the "auto:DEFAULT_CULTURE" cultures.
129
130 2006-11-13  Konstantin Triger  <kostat@mainsoft.com>
131
132         * WebConfigurationHost.cs: use Type.GetType for loading full qualified types.
133
134 2006-11-05  Vladimir Krasnov  <vladimirk@mainsoft.com>
135
136         * ProfileGroupSettings.cs, ProfileGroupSettingsCollection.cs
137         ProfilePropertySettingsCollection.cs, ProfileSection.cs
138         RootProfilePropertySettingsCollection.cs: refactoring and fix of
139         <group> element
140
141 2006-10-18  Marek Habersack  <grendello@gmail.com>
142
143         * WebConfigurationManager.cs: implement support for extra
144         assemblies to be referenced when compiling a page.
145
146 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
147
148         * WebConfigurationManager.cs: add null checks. Patch by Marek Habersack
149         that fixes bug #79283.
150
151 2006-09-06  Konstantin Triger  <kostat@mainsoft.com>
152
153         * WebConfigurationHost.cs: do not recourse as this will be done by
154                 Configuration object.
155
156 2006-08-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
157
158         * WebConfigurationManager.cs: added configSystem property under 
159         TARGET_JVM part
160         * WebConfigurationHost.cs: fixed GetStreamName and OpenStreamForRead
161         for TARGET_JVM
162         * CompilationSection.cs: BuildProviders property removed from
163         TARGET_JVM
164         * SystemWebSectionGroup.cs: Compilation property removed from
165         TARGET_JVM
166
167 2006-06-26  Atsushi Enomoto  <atsushi@ximian.com>
168
169         * NullableStringValidator.cs : new internal class that is almost
170           identical to StringValidator but allows null value.
171         * PropertyHelper.cs : use new NullableStringValidator.
172         * NamespaceCollection.cs : in NamespaceInfo "" is not allowed.
173
174 2006-06-08  Chris Toshok  <toshok@ximian.com>
175
176         * WebConfigurationHost.cs (InitForConfiguration): i know this is
177         going to bite me in the ass, but guard against configPath being ==
178         to "/", since this will result in an infinite loop.
179         (MapPath): fix a NRE.
180
181 2006-05-18  Atsushi Enomoto  <atsushi@ximian.com>
182
183         * WebConfigurationManager.cs: recent sys.config.dll changes on
184           ConfigurationManager.GetSection() which should call
185           GetRuntimeObject() should also apply here. Fixed monodoc web.
186
187 2006-05-10  Andrew Skiba <andrews@mainsoft.com>
188
189         * HttpHandlerAction.cs: keep the internal exception
190
191 2006-05-08  Chris Toshok  <toshok@ximian.com>
192
193         * WebConfigurationManager.cs (GetBasePath): fix bug where
194         path.Length was 0 when we got to the last while loop (and indexed
195         -1 into an array.)  Thanks Marek for the fix.
196
197 2006-05-04  Chris Toshok  <toshok@ximian.com>
198
199         [ Fixes bug #78256 ]
200         
201         * WebConfigurationHost.cs (GetConfigType): add a MonoTODO about
202         how we should use the build provider machinery to get types.
203         (MapPath): add rudimentary mapping in the case where we don't have
204         a request, basically handle the case where the url begins with (or
205         is) HttpRuntime.AppDomainAppVirtualPath.
206
207         * WebConfigurationManager.cs (GetSection): if we don't have a
208         valid request, open the web configuration corresponding to
209         HttpRuntime.AppDomainAppVirtualPath.
210         (GetBasePath): comment this a little, and make it work in the case
211         where we don't have an HttpRequest.
212
213 2006-04-27  Chris Toshok  <toshok@ximian.com>
214
215         * AuthorizationRuleCollection.cs (ThrowOnDuplicate): for the time
216         being introduce a overridden property MS doesn't make use of.
217         This needs readdressing, but it should get people making use of
218         <authorization> rules working again.
219
220 2006-04-25  Chris Toshok  <toshok@ximian.com>
221
222         * AuthorizationRule.cs (Reset): finally figure out what this
223         method is supposed to do.  Assign our Action property based on
224         parentElement's.
225
226 2006-04-25  Chris Toshok  <toshok@ximian.com>
227
228         * WebConfigurationHost.cs (InitForConfiguration): actually, use
229         HttpRuntime.AppDomainAppVirtualPath on gonzalo's recommendation.
230         It's never null, and its use cleans things up a bit.
231
232 2006-04-25  Chris Toshok  <toshok@ximian.com>
233
234         * WebConfigurationHost.cs (InitForConfiguration): stop going up
235         the virtual hierarchy once we reach the application's base virtual
236         path.
237
238 2006-04-24  Chris Toshok  <toshok@ximian.com>
239
240         * AuthorizationSection.cs (IsValidUser): fix a problem that
241         surfaced when converting from the 1.1 to 2.0 config classes.  Only
242         check for verb match if there are actually verbs to match against.
243
244 2006-04-11  Chris Toshok  <toshok@ximian.com>
245
246         * ExpressionBuilderCollection.cs (CreateNewElement): call argless
247         ctor.
248
249         * ExpressionBuilder.cs: add internal argumentless ctor for use by
250         the collection type.
251
252 2006-03-24  Chris Toshok  <toshok@ximian.com>
253
254         * WebConfigurationManager.cs (GetConfig): add a fallback case for
255         configuration sections that don't subclass from
256         ConfigurationSection.
257
258 2006-03-24  Chris Toshok  <toshok@ximian.com>
259
260         * WebConfigurationHost.cs: fix bug where OpenWebConfiguration
261         ("/") would result in 2 configurations for that toplevel path to
262         be opened.
263
264 2006-03-08  Chris Toshok  <toshok@ximian.com>
265
266         * ProvidersHelper.cs: implement this static class properly.
267
268         * SiteMapSection.cs (ProvidersInternal): add internal property to
269         get the actual SiteMapProviderCollection from here.
270
271 2006-02-28  Chris Toshok  <toshok@ximian.com>
272
273         * BuildProviderAppliesTo.cs, PagesToCountAction.cs: nuke.
274
275 2006-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
276
277         * Compiler.cs:
278         * CompilerCollection.cs: removed compatibility code.
279
280         * BuildProviderCollection.cs: add GetProviderForExtension().
281
282 2006-02-02  Chris Toshok  <toshok@ximian.com>
283
284         * WebConfigurationManager.cs (GetSection(string,string)):
285         implement.
286
287 2006-02-01  Atsushi Enomoto  <atsushi@ximian.com>
288
289         * TrustLevelCollection.cs, CodeSubDirectoriesCollection.cs,
290           CustomErrorCollection.cs, CompilerCollection.cs,
291           HttpHandlerActionCollection.cs,
292           FormsAuthenticationUserCollection.cs,
293           AuthorizationRuleCollection.cs, TagPrefixCollection.cs :
294           CollectionType is public.
295
296 2006-02-01  Chris Toshok  <toshok@ximian.com>
297
298         * WebConfigurationManager.cs: In the normal case, get the current
299         request's web.config, not the application's.  If there is no
300         current request, get the application's.
301         (GetWebApplicationConfiguration): use Request.ApplicationPath, not
302         Request.PhysicalApplicationPath.  OpenWebConfiguration takes
303         virtual paths.
304
305         * HttpConfigurationSystem.cs: GetWebApplicationSection =>
306         GetSection.
307
308 2006-02-01  Chris Toshok  <toshok@ximian.com>
309
310         * CompilerCollection.cs: CONFIGURATION_2_0 => NET_2_0
311
312         * Compiler.cs: same.
313
314 2006-02-01  Chris Toshok  <toshok@ximian.com>
315
316         * HttpConfigurationSystem.cs: SupportsUserConfig == true.  let's
317         use this to determine if ConfigurationManager.AppSettings should
318         be read-only or not.
319
320 2006-01-31  Chris Toshok  <toshok@ximian.com>
321
322         * WebConfigurationManager.cs: err, why did i ifdef stuff NET_2_0
323         inside of an ifdef NET_2_0?
324
325 2006-01-30  Chris Toshok  <toshok@ximian.com>
326
327         * WebConfigurationManager.cs: lots of little changes.  hopefully
328         this doesn't break anyone.  it fixes all the nunit problems
329         gonzalo was having.
330
331         * WebConfigurationHost.cs (GetStreamName): in the MachineWebPath
332         case, handle the case where we have a WebConfigurationFileMap.
333         (MapPath): this is likely wrong, but in the case where we don't
334         have a file map or current HttpContext, just return the path.
335
336 2006-01-29  Chris Toshok  <toshok@ximian.com>
337
338         * HttpModulesSection.cs (LoadModules): I'm not sure we want to
339         solve this problem in this way, but the 1.x code forces
340         DefaultAuthenticationModule to be in the list of modules..
341         Without this fix (or something else) HttpContext.User is null when
342         it shouldn't be.
343
344 2006-01-26  Chris Toshok  <toshok@ximian.com>
345
346         * HttpConfigurationSystem.cs: new class that gets sections from
347         web.config files.
348
349         * WebConfigurationManager.cs: change a lot of the
350         NotImplementedExceptions to NotSupportedExceptions.
351         (AppSettings): implement by just returning
352         ConfigurationManager.AppSettings (note this is broken because
353         ConfigurationManager.AppSettings are read-only, but it works for
354         reading.)
355         (ConnectionStrings): same (and probably broken in the same way..)
356         (Init): replace the 2.0 IInternalConfigSystem with our
357         HttpConfigurationSystem.
358
359         * WebConfigurationHost.cs: add a comment about how things are
360         likely to work in the face of IRemoteWebConfigurationHostServer.
361         (CreateConfigurationContext): return a WebContext instance.
362
363 2006-01-25  Chris Toshok  <toshok@ximian.com>
364
365         * AuthorizationSection.cs (IsValidUser): instead of a blanket
366         false for a null user, just set the username to "" and short
367         circuit out the check for roles.
368
369 2006-01-25  Chris Toshok  <toshok@ximian.com>
370
371         * AuthorizationRule.cs (CheckUser): handle * and ?, and use
372         String.Compare instead of ==.
373         (CheckVerb): use String.Compare instead of ==.
374
375         * AuthorizationSection.cs (IsValidUser): return false for a null
376         user.
377
378 2006-01-22  Chris Toshok  <toshok@ximian.com>
379
380         * GlobalizationSection.cs (VerifyData): quiet mcs.
381
382 2006-01-18  Chris Toshok  <toshok@ximian.com>
383
384         * SystemWebSectionGroup.cs: wrap System.Web.Services references in
385         WEBSERVICES_DEP.
386
387 2006-01-16  Chris Toshok  <toshok@ximian.com>
388
389         * WebConfigurationManager.cs: implement a IConfigurationSystem for
390         use with WebConfigurationManager.
391         (GetSection): try to load the section
392         using GetWebApplicationSection before calling into
393         ConfigurationManager.GetSection.
394         (GetWebApplicationConfiguration): move common code to here.
395         (GetWebApplicationSection): use GetWebApplicationConfiguration.
396         (AppSettings): implement.
397
398         * WebConfigurationHost.cs (GetWebConfigFileName): add
399         "Web.Config", and move to an array/loop implementation.  maybe we
400         should scan the directory and check ToLower() instead of
401         explicitly enumerating?
402
403 2006-01-10  Chris Toshok  <toshok@ximian.com>
404
405         * SystemWebSectionGroup.cs (HostingEnvironment): enable this property.
406         (ProcessModel): add the ConfigurationPropertyAttribute.
407
408 2006-01-10  Chris Toshok  <toshok@ximian.com>
409
410         * PagesSection.cs (.cctor): fix the default value for the
411         enableSessionState attribute - it's not a bool, but a
412         PagesEnableSessionState enum.
413
414 2006-01-10  Chris Toshok  <toshok@ximian.com>
415
416         * MachineKeySection.cs (ValidationKeyBytes, DecryptionKeyBytes,
417         DecryptionKey192Bits): if the keys are null, generate them.  Fixes
418         Page.EnableViewStateMac support.
419
420 2006-01-09  Chris Toshok  <toshok@ximian.com>
421
422         * RoleManagerSection.cs, SqlCacheDepencendySection.cs,
423         SessionStateSection.cs, TraceSection.cs, SecurityPolicySection.cs,
424         PagesSection.cs, RulesSettings.cs, UrlMappingSection.cs: fix
425         dumper output.
426
427 2006-01-09  Chris Toshok  <toshok@ximian.com>
428
429         * ExpressionBuilderCollection.cs (.cctor): no need to create a
430         collection property here.  we're already in the collection.
431
432         * CompilationSection.cs: fix typo.
433
434 2006-01-04  Chris Toshok  <toshok@ximian.com>
435
436         * MachineKeySection.cs: bring over some more internal methods from
437         MachineKeyConfig, and call Set{Decryption,Validation}Key from
438         their respective property setters.
439
440 2006-01-03  Chris Toshok  <toshok@ximian.com>
441
442         * AuthorizationSection.cs (IsValidUser): add analogous method from
443         AuthorizationConfig.cs.
444
445         * AuthorizationRule.cs: add predicates for Verb, User, and Role
446         analogous to what existed in AuthorizationConfig.cs.
447
448 2005-12-11  Chris Toshok  <toshok@ximian.com>
449
450         * WebConfigurationManager.cs (OpenMachineConfiguration): just call
451         ConfigurationManager.OpenMachineConfiguration.
452         (OpenWebConfiguration): remove the "IntPtr userToken" version and
453         add a "string userName" version to clean up corcompare output.
454         Modify all the overloads to pass null instead of IntPtr.Zero.
455         (GetWebApplicationSection): if we're not running in a web
456         application, use the machine configuration.
457
458 2005-12-06  Chris Toshok  <toshok@ximian.com>
459
460         * CodeSubDirectory.cs (DirectoryName): don't use an private field,
461         but base[directoyNameProp].
462
463         * AuthorizationRuleCollection.cs (Add): use BaseAdd (rule, false),
464         so we can insert duplicates.
465         (GetKey): nuke.
466         (GetElementKey): MS for some reason just uses the action for the
467         key, ToString()'ed.
468         (Remove): pass the correct key.
469
470         * ProfileGroupSettings.cs (GetHashCode): implement.
471
472         * GlobalizationSection.cs (GetEncoding): for the utf-8 case, just
473         use Encoding.UTF8.
474
475         * AssemblyCollection.cs (Add): use BaseAdd (info, false) so we can
476         insert duplicates.
477
478         * CacheSection.cs (.cctor): make privateByteLimit's default 0L so
479         we don't get a invalid cast exception later on.
480
481         * AuthorizationRule.cs (VerifyData): split out the verification
482         foo from PreSerialize.
483         (PostDeserialize): so we can call it from here.
484         (PreSerialize): and here.
485
486 2005-12-05  Chris Toshok  <toshok@ximian.com>
487
488         * AuthorizationRuleCollection.cs (GetKey): split out the logic for
489         creating a key from a rule here.
490         (GetElementKey): use it here.
491         (Remove): and here.
492
493 2005-12-04  Chris Toshok  <toshok@ximian.com>
494
495         * UrlMapping.cs: add an internal argument-less ctor.
496
497         * UrlMappingCollection.cs (CreateNewElement): use argument-less
498         ctor.
499         (GetKey): implement.
500         (AllKeys): implement.
501
502         * TrustLevel.cs: add an internal argument-less ctor.
503         
504         * TrustLevelCollection.cs (Set): implement.
505         (CreateNewElement): use argument-less ctor.
506         (IsElementName): implement.
507         (ElementName): implement.
508         (set_Item (int index)): use Set.
509         (ThrowOnDuplicate): implement.
510         
511         * TagPrefixInfo.cs: add internal argument-less ctor.
512
513         * TagPrefixCollection.cs (CreateNewElement): call argument-less
514         ctor.
515         (CollectionType): add text to TODO.
516         (ElementName): implement.
517         
518         * SqlCacheDependencyDatabaseCollection.cs (Set): implement.
519         (AllKeys): implement.
520
521         * RuleSettings.cs: add internal argument-less ctor.
522
523         * RuleSettingsCollection.cs (Contains): implement.
524         (CreateNewElement): use argument-less ctor.
525         (IndexOf): implement.
526         (Insert): implement.
527
528         * RootProfilePropertySettingsCollection.cs (IsModified): chain up
529         to base.IsModified for now.
530         (Reset): chain up to base.Reset for now.
531         (ResetModified): chain up to base.ResetModified for now.
532
533         * ProfileSettings.cs: add internal argument-less ctor.
534
535         * ProfileSettingsCollection.cs (Contains): implement.
536         (CreateNewElement): use argument-less ctor.
537         (IndexOf): implement.
538         (Insert): implement.
539         
540         * ProfilePropertySettingsCollection.cs (IndexOf): implement.
541         (Set): implement.
542         (AllKeys): implement.
543         
544         * ProfileGroupSettings.cs: add internal argument-less ctor.
545
546         * ProfileGroupSettingsCollection.cs (CreateNewElement): use
547         parameter-less ctor.
548         (GetKey): implement.
549         (ResetModified): for now call base.ResetModified.
550         (Set): implement.
551         (AllKeys): implement.
552         
553         * OutputCacheProfile.cs: add internal argument-less ctor.
554
555         * OutputCacheProfileCollection.cs (CreateNewElement): use
556         parameter-less ctor.
557         (Set): implement.
558         (AllKeys): implement.
559
560         * HttpModuleActionCollection.cs (Add): remove MonoTODO.
561         (CreateNewElement): same.
562         
563         * HttpHandlerActionCollection.cs (GetElementKey): build up the key
564         from both the path and the verb.
565         (Remove): same.
566
567         * FormsAuthenticationUserCollection.cs (Set): implement.
568         (AllKeys): implement.
569
570         * EventMappingSettings.cs: add an internal argument-less ctor.
571
572         * EventMappingSettingsCollection.cs (Contains): implement.
573         (CreateNewElement): use argument-less ctor.
574         (IndexOf): implement.
575         (Insert): implement.
576
577         * CompilerCollection.cs (GetKey): implement.
578         (AllKeys): implement.
579
580         * ClientTargetCollection.cs (GetKey): implement.
581         (AllKeys): implement.
582
583         * AuthorizationRuleCollection.cs (Set): implement.
584         (ElementName): add some text to the MonoTODO.
585         (set_Item (int index)): use Set.
586
587 2005-12-04  Chris Toshok  <toshok@ximian.com>
588
589         * CustomError.cs: add an internal argument-less ctor for use by
590         the collection.
591
592         * CustomErrorCollection.cs: implement all the MonoTODO's.
593
594 2005-12-02  Chris Toshok  <toshok@ximian.com>
595
596         * GlobalizationSection.cs (VerifyData): split out the stuff that
597         used to live in PreSerialize here.
598         (PreSerialize): call VerifyData here.
599         (PostDeserialize): and here.
600         
601 2005-12-01  Chris Toshok  <toshok@ximian.com>
602
603         * GlobalizationSection.cs (PreSerialize): add checks for Culture
604         and UICulture properties.
605
606 2005-12-01  Chris Toshok  <toshok@ximian.com>
607
608         * AuthorizationRule.cs (..ctor): provide default values for
609         roles/users/verbs here.  Not sure if we should do this in the ctor
610         or if the System.Configuration infrastructure should.. time will
611         tell.
612         (PreSerialize): throw if Roles.Count and Users.Count == 0.
613         (SerializeElement): write out the element here.  don't chain up to
614         the base class since that has differing behavior than what we
615         want.
616
617 2005-11-30  Chris Toshok  <toshok@ximian.com>
618
619         * CompilerCollection.cs: ugly hack to fix the
620         2.0-without-config-2.0 case.  wrap this file in #if
621         CONFIGURATION_2_0 as well as #if NET_2_0.
622         
623         * Compiler.cs: same.
624
625 2005-11-28  Chris Toshok  <toshok@ximian.com>
626
627         * SessionStateSection.cs (CookieLess): correct the compat function
628         implementation.
629
630 2005-11-28  Chris Toshok  <toshok@ximian.com>
631
632         * GlobalizationSection.cs (GetEncoding): if the encoding name is
633         null, default to utf-8 before we hit the try block, so we don't
634         throw and generate a spurious warning.
635
636         * SessionStateSection.cs: The Cookieless handling needs a custom
637         parser, it appears, as the converter is a StringConverter, not a
638         GenericEnumConverter.
639         (ParseCookieMode): the parser.
640
641 2005-11-28  Chris Toshok  <toshok@ximian.com>
642
643         * PagesSection.cs (GetInstance): nuke.
644
645         * CompilationSection.cs (GetInstance): nuke.
646
647 2005-11-28  Chris Toshok  <toshok@ximian.com>
648
649         * HttpHandlerAction.cs: add some c&p code from the 1.1 config
650         stuff to look for matching handlers.
651         (..ctor): add parameterless ctor.
652         
653         * HttpHandlerActionCollection.cs: clean up formatting.
654         (CreateNewElement): call the parameter-less ctor for
655         HttpHandlerAction.
656
657         * HttpHandlersSection.cs (..ctor): add a ConfigurationProperty for
658         the default collection.
659         (get_Handlers): implement.
660         (LocateHandler): copy over (and massage) some 1.1 config code.
661
662         * MachineKeySection.cs: move some code over from the 1.1 config
663         code to deal with autogeneration of keys, as well as converting
664         from the string rep to the byte[] rep.
665
666 2005-11-28  Chris Toshok  <toshok@ximian.com>
667
668         * HttpModuleActionCollection.cs (CreateNewElement): use the new
669         HttpModuleAction ctor.
670
671         * HttpModuleAction.cs: add internal ctor with no parameters, for
672         use in HttpModuleActionCollection.
673
674 2005-11-28  Chris Toshok  <toshok@ximian.com>
675
676         * GlobalizationSection.cs (..cctor): the encoding
677         ConfigurationProperties are of type "string", even though the
678         properties themselves are of type Encoding.  we do conversions
679         manually in the setter/getters.  gross.  Add code (mostly c&p +
680         massaged from GlobalizationConfigurationHandler) for this and also
681         to handle the culture gettes.
682
683 2005-11-26  Chris Toshok  <toshok@ximian.com>
684
685         * AuthorizationRuleCollection.cs (GetElementKey): implement this.
686
687         * ProfilePropertyNameValidator.cs: make this internal, and add a
688         blurb about how MS doesn't do the testing you'd expect them to.
689
690 2005-11-25  Chris Toshok  <toshok@ximian.com>
691
692         * AuthorizationRuleCollection.cs (CreateNewElement): remove
693         MonoTODO.
694
695         * CompilationSection.cs (GetRuntimeObject): add comment to TODO.
696
697         * ProfileGroupSettings.cs: reformat some things.
698
699         * FormsAuthenticationUser.cs (Name): remove MonoTODO.
700
701         * WebPartsSection.cs (GetRuntimeObject): change TODO comment.
702
703         * ProfilePropertySettings.cs: add internal argument-less ctor.
704
705         * IdentitySection.cs (GetRuntimeObject): return this.
706
707         * ProfilePropertySettingsCollection.cs: implement much of the
708         TODO's.
709         
710         * WebControlsSection.cs (GetRuntimeObject): implement.
711
712         * SqlCacheDependencyDatabaseCollection.cs (GetElementKey):
713         implement.
714         (GetKey): implement.
715
716 2005-11-24  Chris Toshok  <toshok@ximian.com>
717
718         * AssemblyInfo.cs: move this here from System.Web.Configuration,
719         and fix up the properties.
720
721         * SystemWebSectionGroup.cs: enable most of the sections (2
722         remaining to be enabled.)
723
724 2005-11-24  Chris Toshok  <toshok@ximian.com>
725
726         * ProcessModelSection.cs, SqlCacheDependencySection.cs,
727         SessionStateSection.cs, PassportAuthentication.cs,
728         FormsAuthenticationConfiguration.cs,
729         SqlCacheDependencyDatabase.cs, HttpModuleAction.cs,
730         BufferModeSettings.cs, TagPrefixInfo.cs (..cctor): init
731         elementProperty.
732         (ValidateElement): new static validator callback.
733         (ElementProperty): enable this, return elementProperty.
734         
735 2005-11-23  Chris Toshok  <toshok@ximian.com>
736
737         * ProfilePropertyNameValidator.cs: new implementation.
738         
739         * ProfilePropertySettings.cs, ProfileGroupSettings.cs,
740         ClientTargetSection.cs, ClientTargetSection.cs,
741         BufferModeSettings.cs, HttpModulesSection.cs,
742         WebPartsPersonalization.cs, TransformerInfo.cs, TrustLevel.cs,
743         NamespaceInfo.cs, SqlCacheDependencyDatabase.cs,
744         AuthenticationSection.cs, RuleSettings.cs,
745         FormsAuthenticationUser.cs, WebPartsSection.cs, BuildProvider.cs,
746         WebPartsPersonalizationAuthorization.cs, Compiler.cs,
747         ExpressionBuilder.cs, OutputCacheProfile.cs,
748         FormsAuthenticationCredentials.cs, XhtmlConformanceSection.cs,
749         OutputCacheSettingsSection.cs, CustomError.cs, TraceSection.cs,
750         ExpressionBuilderCollection.cs, ProfileSettings.cs,
751         SessionStateSection.cs, HealthMonitoringSection.cs,
752         FormsAuthenticationConfiguration.cs, HttpRuntimeSection.cs,
753         SessionPageStateSection.cs, TrustSection.cs,
754         AnonymousIdentificationSection.cs, WebControlsSection.cs,
755         ClientTarget.cs, TagMapInfo.cs, AuthorizationSection.cs,
756         ProcessModelSection.cs, RoleManagerSection.cs,
757         MembershipSection.cs, CustomErrorsSection.cs (..cctor): fix
758         validator/converters.
759         
760         * MachineKeySection.cs (..cctor): fix validators/converters.
761         (Validation): enable the Converter.
762         
763         * CodeSubDirectory.cs (..cctor): fix validator/converters.
764         (DirectoryName): add note about missing validator decoration.
765         
766         * HttpModuleAction.cs (..cctor): init properties.
767         (Properties): return properties.
768         
769         * CompilationSection.cs (..cctor): fix validator/converters.
770         (GetInstance): add in this pre-2.0 interface for the time being,
771         hopefully it'll make it easier to migrate later on.
772         
773         * HttpHandlerActionCollection.cs (..cctor): init properties.
774         (Properties): return properties.
775
776         * PagesSection.cs (..cctor): fix validator/converters.
777         (GetInstance): add in this pre-2.0 interface for the time being,
778         hopefully it'll make it easier to migrate later on.
779         
780         * HttpHandlersSection.cs (..cctor): init properties.
781         (Properties): return properties.
782         
783         * EventMappingSettings.cs (..cctor): fix validator/converters.
784         (Name): add note about missing validator decoration.
785         
786         * HttpHandlerAction.cs (..cctor): fix validator/converters.
787         (PAth, Type, Verb): add note about missing validator decoration.
788
789         * NamespaceCollection.cs (..cctor): fix properties.
790
791         * ProfilePropertySettingsCollection.cs (..cctor): init properties.
792         (..ctor): don't throw NIE.
793         (Properties): return properties.
794
795         * HttpModuleActionCollection.cs (..cctor): init properties.
796         (Properties): return properties.
797
798         * CacheSection.cs (..cctor): fix validators/converters.
799         (PrivateBytesPollTime): add note about missing validator
800         decoration.
801
802         * AuthorizationRule.cs (..cctor): fix validators/converters.
803         (Roles, Users, Verbs): enable the TypeConverter decorations.
804         
805         * UrlMapping.cs (ValidateUrl): static method for use as a
806         validation callback.  unimplemented as yet.
807         (..cctor): fix validators/converters.
808         (MappedUrl): add note about missing validator decoration.
809         
810         * PropertyHelper.cs: static utility class which contains
811         references to validators and converters for use in static
812         constructors (building the Properties arrays).
813
814 2005-11-23  Chris Toshok  <toshok@ximian.com>
815
816         * MachineKeyValidationConverter.cs: new converter (and a pretty
817         silly one, considering all it seems to do is convert "TripleDES"
818         to "3DES").
819
820         * HostingEnvironmentSection.cs (.cctor): use
821         PositiveTimeSpanValidator like MS does.
822
823 2005-11-18  Chris Toshok  <toshok@ximian.com>
824
825         * HostingEnvironmentSection.cs (.cctor): add validators.
826
827         * CompilationSection.cs (.cctor): fix defaultvalue of
828         urlLinePragmas.
829
830 2005-11-18  Chris Toshok  <toshok@ximian.com>
831
832         * SystemWebSectionGroup.cs: enable a whole slew of properties.
833
834         * RegexWorker.cs: stub this out.
835
836         * HttpCapabilitiesBase.cs: remove GetClrVersions since it's in one
837         of the other partial files.
838
839         * CompilationSection.cs: fix this up.
840
841         * PagesSection.cs: fix some types and add a comment to
842         DeserializeSection.
843
844         * CompilerCollection.cs (Add): new internal method.
845
846         * ProvidersHelper.cs: put the using System.Configuration.Provider
847         inside the NET_2_0 block.
848
849         * CacheSection.cs: add validators.
850
851 2005-11-14  Chris Toshok  <toshok@ximian.com>
852
853         * BufferModeSettings.cs: add validators/converters to the
854         programmatic property list.
855         
856         * BuildProvider.cs: add validators/converters to the programmatic
857         property list, and add an internal ctor with no args.
858
859         * Compiler.cs: wrap the code i hacked from the 1.1 stuff with a
860         #region.
861
862         * BuildProviderCollection.cs (CreateNewElement): use the internal
863         BuildProvider ctor to get around validation.
864
865         * AssemblyCollection.cs: same.
866
867 2005-11-14  Chris Toshok  <toshok@ximian.com>
868
869         * TagPrefixCollection.cs (Remove): pass the key to BaseRemove.
870         (set_Item (int index)): implement.
871         
872         * TagPrefixInfo.cs (Equals): implement.
873         (GetHashCode): implement.
874
875         * AuthorizationRuleCollection.cs (CreateNewElement(string)):
876         implement propertly.
877         (IndexOf): implement.
878         (IsElementName): implement.
879         (ElementName): implement.
880         (Item (int index)): implement.
881         
882         * FormsAuthenticationUserCollection.cs (set_Item (int index)): implement.
883
884         * UrlMappingCollection.cs (set_Item (int index)): implement.
885
886         * OutputCacheProfileCollection.cs (set_Item (int index)): implement.
887
888         * TransformerInfo.cs (Equals): implement.
889         (GetHashCode): implement.
890
891         * NamespaceInfo.cs (Equals): implement.
892         (GetHashCode): implement.
893         
894         * ProfileSettingsCollection.cs (set_Item (int index)): implement.
895
896         * TransformerInfoCollection.cs (set_Item (int index)): implement.
897
898         * HttpHandlerActionCollection.cs (set_Item (int index)): implement.
899
900         * BufferModesCollection.cs (set_Item (int index)): implement.
901
902         * BuildProvider.cs: use the base[fooProp] pattern instead of
903         instance fields.
904
905         * ProfileGroupSettingsCollection.cs: implement most of this class.
906
907         * RuleSettingsCollection.cs (set_Item (int index)): implement.
908
909         * ClientTargetCollection.cs (set_Item (int index)): implement.
910
911         * AssemblyCollection.cs (set_Item (int index)): implement.
912
913         * BuildProviderCollection.cs (set_Item (int index)): reformat.
914
915         * CustomError.cs (Equals): implement.
916         (GetHashCode): implement.
917
918         * ExpressionBuilderCollection.cs (set_Item (int index)): reformat.
919
920         * PassportAuthentication.cs (RedirectUrl): express consternation
921         in comment form.
922
923         * NamespaceCollection.cs (set_Item (int index)): implement.
924
925         * RootProfilePropertySettingsCollection.cs (SerializeElement): add
926         comment.
927
928         * ProfilePropertySettingsCollection.cs (set_Item (int index)):
929         implement.
930
931         * CustomErrorCollection.cs (set_Item (int index)): implement.
932
933         * HttpModuleActionCollection.cs (set_Item (int index)): implement.
934
935         * CodeSubDirectoriesCollection.cs (set_Item (int index)):
936         implement.
937
938         * CustomErrorsSection.cs (DeserializeSection): include call to
939         base.DeserializeSection, and add MonoTODO.
940
941         * EventMappingSettingsCollection.cs (set_Item (int index)):
942         implement.
943
944         * AuthorizationRule.cs (Equals): implement.
945         (GetHashCode): implement.
946         (SerializeElement): add comment.
947
948         * TagMapCollection.cs (Remove): pass the key to BaseRemove.
949         (set_Item (int index)): implement.
950         
951         * TagMapInfo.cs (Equals): implement.
952         (GetHashCode): implement.
953         (SerializeElement): add call to base.SerializeElement.
954
955         * TrustLevelCollection.cs (Remove): pass the key to BaseRemove.
956         (GetElementKey): implement.
957
958         * SqlCacheDependencyDatabase.cs (set_Item (int index)): implement.
959
960         * WebContext.cs: new implementation.
961
962 2005-11-13  Chris Toshok  <toshok@ximian.com>
963
964         * AnonymousIdentificationSection.cs: rework this class a bit to
965         fit in with the rest of S.W.C.  Add validators to the
966         ConfigurationProperty ctor calls, a pattern which will need to be
967         replicated across the entire assembly, it appears (uggggh).
968
969 2005-11-13  Chris Toshok  <toshok@ximian.com>
970
971         * AuthorizationRuleCollection.cs: fix ConfigurationCollection
972         attribute.
973
974         * TransformerInfo.cs: fix corcompare.
975
976         * SqlCacheDependencyDatabase.cs: mark ctor internal to fix
977         corcompare.
978
979         * AuthenticationSection.cs: add missing Reset stub.
980
981         * ProfileSettingsCollection.cs: use the more succint ctor.
982
983         * FormsAuthenticationUser.cs: enable the TypeConverter on "name".
984
985         * GlobalizationSection.cs: fix up corcompare.
986
987         * WebPartsSection.cs: fix up corcompare.
988
989         * ProfileGroupSettingsCollection.cs: add missing
990         ConfigurationCollection attribute.
991
992         * ExpressionBuilder.cs: implement.
993
994         * FormsAuthenticationCredentials.cs: fix up corcompare.
995
996         * AssemblyCollection.cs: implement Properties.
997
998         * SiteMapSection.cs: implement Properties.
999
1000         * ExpressionBuilderCollection.cs: fix up corcompare.
1001
1002         * ProfileSettings.cs: add missing ctor.
1003
1004         * PassportAuthentication.cs: new implementation.
1005
1006         * SqlCacheDependencySection.cs: fix up corcompare.
1007
1008         * ProfilePropertySettingsCollection.cs: fix up corcompare.
1009
1010         * HttpModuleActionCollection.cs: fix up corcompare.
1011
1012         * EventMappingSettingsCollection.cs: fix up corcompare.
1013
1014         * AuthorizationRule.cs: fix up corcompare.
1015
1016         * WebControlsSection.cs: fix up corcompare.
1017
1018         * AuthorizationSection.cs: fix up corcompare.
1019
1020         * MembershipSection.cs: clean this up, implement Properties, fix
1021         up corcompare, etc.
1022
1023 2005-11-13  Chris Toshok  <toshok@ximian.com>
1024
1025         * UrlMapping.cs, CustomErrorCollection.cs, CustomError.cs,
1026         HostingEnvironmentSection.cs, TrustLevel.cs,
1027         HttpCookiesSection.cs, UrlMappingsSection.cs,
1028         UrlMappingCollection.cs, LowerCaseStringConverter.cs,
1029         RoleManagerSection.cs, ProcessModelSection.cs,
1030         TrustLevelCollection.cs, ClientTarget.cs, CustomErrorsSection.cs,
1031         MachineKeySection.cs, SessionPageStateSection.cs,
1032         SessionStateSection.cs, ProvidersHelper.cs,
1033         ClientTargetCollection.cs, SecurityPolicySection.cs,
1034         HttpCapabilitiesBase.cs, ClientTargetSection.cs: Another large
1035         swath.
1036
1037
1038 2005-11-12  Chris Toshok  <toshok@ximian.com>
1039
1040         * AuthorizationRuleCollection.cs, AuthorizationRule.cs,
1041         AuthorizationSection.cs, BufferModesCollection.cs,
1042         BufferModeSettings.cs, CacheSection.cs, CompilerCollection.cs,
1043         Compiler.cs, DeploymentSection.cs,
1044         EventMappingSettingsCollection.cs, EventMappingSettings.cs,
1045         GlobalizationSection.cs, HealthMonitoringSection.cs,
1046         IdentitySection.cs, OutputCacheProfileCollection.cs,
1047         OutputCacheProfile.cs, OutputCacheSection.cs,
1048         OutputCacheSettingsSection.cs, ProfileSettingsCollection.cs,
1049         ProfileSettings.cs, RuleSettingsCollection.cs, RuleSettings.cs,
1050         SqlCacheDependencyDatabaseCollection.cs,
1051         SqlCacheDependencyDatabase.cs, SqlCacheDependencySection.cs,
1052         SystemWebCachingSectionGroup.cs, TraceSection.cs,
1053         TransformerInfoCollection.cs, TransformerInfo.cs, TrustSection.cs,
1054         WebControlsSection.cs, WebPartsPersonalizationAuthorization.cs,
1055         WebPartsPersonalization.cs, WebPartsSection.cs,
1056         XhtmlConformanceSection.cs: a whole slew of new classes.  the
1057         fruits of tons of c&p and ibuprofen.
1058
1059
1060 2005-11-09  Chris Toshok  <toshok@ximian.com>
1061
1062         * PagesSection.cs, AuthenticationSection.cs, BuildProvider.cs,
1063         BuildProviderCollection.cs, HttpHandlerActionCollection.cs,
1064         HttpModulesSection.cs, HttpModuleAction.cs,
1065         HttpModuleActionCollection.cs, AnonymousIdentificationSection.cs,
1066         CodeSubDirectory.cs, CodeSubDirectoriesCollection.cs,
1067         SystemWebSectionGroup.cs, SiteMapSection.cs,
1068         WebConfigurationManager.cs: flesh out the implementation.
1069
1070         * TagMap*.cs, TagPrefix*.cs: new implementation.
1071
1072         * FormsAuthentication*.cs: new implementation.
1073
1074         * Profile*.cs: new implementation.
1075
1076         * Namespace*.cs: new implementation.
1077
1078         * HttpRuntimeSection.cs: new implementation.
1079