2005-11-28 Chris Toshok <toshok@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web.Configuration_2.0 / ChangeLog
1 2005-11-28  Chris Toshok  <toshok@ximian.com>
2
3         * GlobalizationSection.cs (GetEncoding): if the encoding name is
4         null, default to utf-8 before we hit the try block, so we don't
5         throw and generate a spurious warning.
6
7         * SessionStateSection.cs: The Cookieless handling needs a custom
8         parser, it appears, as the converter is a StringConverter, not a
9         GenericEnumConverter.
10         (ParseCookieMode): the parser.
11
12 2005-11-28  Chris Toshok  <toshok@ximian.com>
13
14         * PagesSection.cs (GetInstance): nuke.
15
16         * CompilationSection.cs (GetInstance): nuke.
17
18 2005-11-28  Chris Toshok  <toshok@ximian.com>
19
20         * HttpHandlerAction.cs: add some c&p code from the 1.1 config
21         stuff to look for matching handlers.
22         (..ctor): add parameterless ctor.
23         
24         * HttpHandlerActionCollection.cs: clean up formatting.
25         (CreateNewElement): call the parameter-less ctor for
26         HttpHandlerAction.
27
28         * HttpHandlersSection.cs (..ctor): add a ConfigurationProperty for
29         the default collection.
30         (get_Handlers): implement.
31         (LocateHandler): copy over (and massage) some 1.1 config code.
32
33         * MachineKeySection.cs: move some code over from the 1.1 config
34         code to deal with autogeneration of keys, as well as converting
35         from the string rep to the byte[] rep.
36
37 2005-11-28  Chris Toshok  <toshok@ximian.com>
38
39         * HttpModuleActionCollection.cs (CreateNewElement): use the new
40         HttpModuleAction ctor.
41
42         * HttpModuleAction.cs: add internal ctor with no parameters, for
43         use in HttpModuleActionCollection.
44
45 2005-11-28  Chris Toshok  <toshok@ximian.com>
46
47         * GlobalizationSection.cs (..cctor): the encoding
48         ConfigurationProperties are of type "string", even though the
49         properties themselves are of type Encoding.  we do conversions
50         manually in the setter/getters.  gross.  Add code (mostly c&p +
51         massaged from GlobalizationConfigurationHandler) for this and also
52         to handle the culture gettes.
53
54 2005-11-26  Chris Toshok  <toshok@ximian.com>
55
56         * AuthorizationRuleCollection.cs (GetElementKey): implement this.
57
58         * ProfilePropertyNameValidator.cs: make this internal, and add a
59         blurb about how MS doesn't do the testing you'd expect them to.
60
61 2005-11-25  Chris Toshok  <toshok@ximian.com>
62
63         * AuthorizationRuleCollection.cs (CreateNewElement): remove
64         MonoTODO.
65
66         * CompilationSection.cs (GetRuntimeObject): add comment to TODO.
67
68         * ProfileGroupSettings.cs: reformat some things.
69
70         * FormsAuthenticationUser.cs (Name): remove MonoTODO.
71
72         * WebPartsSection.cs (GetRuntimeObject): change TODO comment.
73
74         * ProfilePropertySettings.cs: add internal argument-less ctor.
75
76         * IdentitySection.cs (GetRuntimeObject): return this.
77
78         * ProfilePropertySettingsCollection.cs: implement much of the
79         TODO's.
80         
81         * WebControlsSection.cs (GetRuntimeObject): implement.
82
83         * SqlCacheDependencyDatabaseCollection.cs (GetElementKey):
84         implement.
85         (GetKey): implement.
86
87 2005-11-24  Chris Toshok  <toshok@ximian.com>
88
89         * AssemblyInfo.cs: move this here from System.Web.Configuration,
90         and fix up the properties.
91
92         * SystemWebSectionGroup.cs: enable most of the sections (2
93         remaining to be enabled.)
94
95 2005-11-24  Chris Toshok  <toshok@ximian.com>
96
97         * ProcessModelSection.cs, SqlCacheDependencySection.cs,
98         SessionStateSection.cs, PassportAuthentication.cs,
99         FormsAuthenticationConfiguration.cs,
100         SqlCacheDependencyDatabase.cs, HttpModuleAction.cs,
101         BufferModeSettings.cs, TagPrefixInfo.cs (..cctor): init
102         elementProperty.
103         (ValidateElement): new static validator callback.
104         (ElementProperty): enable this, return elementProperty.
105         
106 2005-11-23  Chris Toshok  <toshok@ximian.com>
107
108         * ProfilePropertyNameValidator.cs: new implementation.
109         
110         * ProfilePropertySettings.cs, ProfileGroupSettings.cs,
111         ClientTargetSection.cs, ClientTargetSection.cs,
112         BufferModeSettings.cs, HttpModulesSection.cs,
113         WebPartsPersonalization.cs, TransformerInfo.cs, TrustLevel.cs,
114         NamespaceInfo.cs, SqlCacheDependencyDatabase.cs,
115         AuthenticationSection.cs, RuleSettings.cs,
116         FormsAuthenticationUser.cs, WebPartsSection.cs, BuildProvider.cs,
117         WebPartsPersonalizationAuthorization.cs, Compiler.cs,
118         ExpressionBuilder.cs, OutputCacheProfile.cs,
119         FormsAuthenticationCredentials.cs, XhtmlConformanceSection.cs,
120         OutputCacheSettingsSection.cs, CustomError.cs, TraceSection.cs,
121         ExpressionBuilderCollection.cs, ProfileSettings.cs,
122         SessionStateSection.cs, HealthMonitoringSection.cs,
123         FormsAuthenticationConfiguration.cs, HttpRuntimeSection.cs,
124         SessionPageStateSection.cs, TrustSection.cs,
125         AnonymousIdentificationSection.cs, WebControlsSection.cs,
126         ClientTarget.cs, TagMapInfo.cs, AuthorizationSection.cs,
127         ProcessModelSection.cs, RoleManagerSection.cs,
128         MembershipSection.cs, CustomErrorsSection.cs (..cctor): fix
129         validator/converters.
130         
131         * MachineKeySection.cs (..cctor): fix validators/converters.
132         (Validation): enable the Converter.
133         
134         * CodeSubDirectory.cs (..cctor): fix validator/converters.
135         (DirectoryName): add note about missing validator decoration.
136         
137         * HttpModuleAction.cs (..cctor): init properties.
138         (Properties): return properties.
139         
140         * CompilationSection.cs (..cctor): fix validator/converters.
141         (GetInstance): add in this pre-2.0 interface for the time being,
142         hopefully it'll make it easier to migrate later on.
143         
144         * HttpHandlerActionCollection.cs (..cctor): init properties.
145         (Properties): return properties.
146
147         * PagesSection.cs (..cctor): fix validator/converters.
148         (GetInstance): add in this pre-2.0 interface for the time being,
149         hopefully it'll make it easier to migrate later on.
150         
151         * HttpHandlersSection.cs (..cctor): init properties.
152         (Properties): return properties.
153         
154         * EventMappingSettings.cs (..cctor): fix validator/converters.
155         (Name): add note about missing validator decoration.
156         
157         * HttpHandlerAction.cs (..cctor): fix validator/converters.
158         (PAth, Type, Verb): add note about missing validator decoration.
159
160         * NamespaceCollection.cs (..cctor): fix properties.
161
162         * ProfilePropertySettingsCollection.cs (..cctor): init properties.
163         (..ctor): don't throw NIE.
164         (Properties): return properties.
165
166         * HttpModuleActionCollection.cs (..cctor): init properties.
167         (Properties): return properties.
168
169         * CacheSection.cs (..cctor): fix validators/converters.
170         (PrivateBytesPollTime): add note about missing validator
171         decoration.
172
173         * AuthorizationRule.cs (..cctor): fix validators/converters.
174         (Roles, Users, Verbs): enable the TypeConverter decorations.
175         
176         * UrlMapping.cs (ValidateUrl): static method for use as a
177         validation callback.  unimplemented as yet.
178         (..cctor): fix validators/converters.
179         (MappedUrl): add note about missing validator decoration.
180         
181         * PropertyHelper.cs: static utility class which contains
182         references to validators and converters for use in static
183         constructors (building the Properties arrays).
184
185 2005-11-23  Chris Toshok  <toshok@ximian.com>
186
187         * MachineKeyValidationConverter.cs: new converter (and a pretty
188         silly one, considering all it seems to do is convert "TripleDES"
189         to "3DES").
190
191         * HostingEnvironmentSection.cs (.cctor): use
192         PositiveTimeSpanValidator like MS does.
193
194 2005-11-18  Chris Toshok  <toshok@ximian.com>
195
196         * HostingEnvironmentSection.cs (.cctor): add validators.
197
198         * CompilationSection.cs (.cctor): fix defaultvalue of
199         urlLinePragmas.
200
201 2005-11-18  Chris Toshok  <toshok@ximian.com>
202
203         * SystemWebSectionGroup.cs: enable a whole slew of properties.
204
205         * RegexWorker.cs: stub this out.
206
207         * HttpCapabilitiesBase.cs: remove GetClrVersions since it's in one
208         of the other partial files.
209
210         * CompilationSection.cs: fix this up.
211
212         * PagesSection.cs: fix some types and add a comment to
213         DeserializeSection.
214
215         * CompilerCollection.cs (Add): new internal method.
216
217         * ProvidersHelper.cs: put the using System.Configuration.Provider
218         inside the NET_2_0 block.
219
220         * CacheSection.cs: add validators.
221
222 2005-11-14  Chris Toshok  <toshok@ximian.com>
223
224         * BufferModeSettings.cs: add validators/converters to the
225         programmatic property list.
226         
227         * BuildProvider.cs: add validators/converters to the programmatic
228         property list, and add an internal ctor with no args.
229
230         * Compiler.cs: wrap the code i hacked from the 1.1 stuff with a
231         #region.
232
233         * BuildProviderCollection.cs (CreateNewElement): use the internal
234         BuildProvider ctor to get around validation.
235
236         * AssemblyCollection.cs: same.
237
238 2005-11-14  Chris Toshok  <toshok@ximian.com>
239
240         * TagPrefixCollection.cs (Remove): pass the key to BaseRemove.
241         (set_Item (int index)): implement.
242         
243         * TagPrefixInfo.cs (Equals): implement.
244         (GetHashCode): implement.
245
246         * AuthorizationRuleCollection.cs (CreateNewElement(string)):
247         implement propertly.
248         (IndexOf): implement.
249         (IsElementName): implement.
250         (ElementName): implement.
251         (Item (int index)): implement.
252         
253         * FormsAuthenticationUserCollection.cs (set_Item (int index)): implement.
254
255         * UrlMappingCollection.cs (set_Item (int index)): implement.
256
257         * OutputCacheProfileCollection.cs (set_Item (int index)): implement.
258
259         * TransformerInfo.cs (Equals): implement.
260         (GetHashCode): implement.
261
262         * NamespaceInfo.cs (Equals): implement.
263         (GetHashCode): implement.
264         
265         * ProfileSettingsCollection.cs (set_Item (int index)): implement.
266
267         * TransformerInfoCollection.cs (set_Item (int index)): implement.
268
269         * HttpHandlerActionCollection.cs (set_Item (int index)): implement.
270
271         * BufferModesCollection.cs (set_Item (int index)): implement.
272
273         * BuildProvider.cs: use the base[fooProp] pattern instead of
274         instance fields.
275
276         * ProfileGroupSettingsCollection.cs: implement most of this class.
277
278         * RuleSettingsCollection.cs (set_Item (int index)): implement.
279
280         * ClientTargetCollection.cs (set_Item (int index)): implement.
281
282         * AssemblyCollection.cs (set_Item (int index)): implement.
283
284         * BuildProviderCollection.cs (set_Item (int index)): reformat.
285
286         * CustomError.cs (Equals): implement.
287         (GetHashCode): implement.
288
289         * ExpressionBuilderCollection.cs (set_Item (int index)): reformat.
290
291         * PassportAuthentication.cs (RedirectUrl): express consternation
292         in comment form.
293
294         * NamespaceCollection.cs (set_Item (int index)): implement.
295
296         * RootProfilePropertySettingsCollection.cs (SerializeElement): add
297         comment.
298
299         * ProfilePropertySettingsCollection.cs (set_Item (int index)):
300         implement.
301
302         * CustomErrorCollection.cs (set_Item (int index)): implement.
303
304         * HttpModuleActionCollection.cs (set_Item (int index)): implement.
305
306         * CodeSubDirectoriesCollection.cs (set_Item (int index)):
307         implement.
308
309         * CustomErrorsSection.cs (DeserializeSection): include call to
310         base.DeserializeSection, and add MonoTODO.
311
312         * EventMappingSettingsCollection.cs (set_Item (int index)):
313         implement.
314
315         * AuthorizationRule.cs (Equals): implement.
316         (GetHashCode): implement.
317         (SerializeElement): add comment.
318
319         * TagMapCollection.cs (Remove): pass the key to BaseRemove.
320         (set_Item (int index)): implement.
321         
322         * TagMapInfo.cs (Equals): implement.
323         (GetHashCode): implement.
324         (SerializeElement): add call to base.SerializeElement.
325
326         * TrustLevelCollection.cs (Remove): pass the key to BaseRemove.
327         (GetElementKey): implement.
328
329         * SqlCacheDependencyDatabase.cs (set_Item (int index)): implement.
330
331         * WebContext.cs: new implementation.
332
333 2005-11-13  Chris Toshok  <toshok@ximian.com>
334
335         * AnonymousIdentificationSection.cs: rework this class a bit to
336         fit in with the rest of S.W.C.  Add validators to the
337         ConfigurationProperty ctor calls, a pattern which will need to be
338         replicated across the entire assembly, it appears (uggggh).
339
340 2005-11-13  Chris Toshok  <toshok@ximian.com>
341
342         * AuthorizationRuleCollection.cs: fix ConfigurationCollection
343         attribute.
344
345         * TransformerInfo.cs: fix corcompare.
346
347         * SqlCacheDependencyDatabase.cs: mark ctor internal to fix
348         corcompare.
349
350         * AuthenticationSection.cs: add missing Reset stub.
351
352         * ProfileSettingsCollection.cs: use the more succint ctor.
353
354         * FormsAuthenticationUser.cs: enable the TypeConverter on "name".
355
356         * GlobalizationSection.cs: fix up corcompare.
357
358         * WebPartsSection.cs: fix up corcompare.
359
360         * ProfileGroupSettingsCollection.cs: add missing
361         ConfigurationCollection attribute.
362
363         * ExpressionBuilder.cs: implement.
364
365         * FormsAuthenticationCredentials.cs: fix up corcompare.
366
367         * AssemblyCollection.cs: implement Properties.
368
369         * SiteMapSection.cs: implement Properties.
370
371         * ExpressionBuilderCollection.cs: fix up corcompare.
372
373         * ProfileSettings.cs: add missing ctor.
374
375         * PassportAuthentication.cs: new implementation.
376
377         * SqlCacheDependencySection.cs: fix up corcompare.
378
379         * ProfilePropertySettingsCollection.cs: fix up corcompare.
380
381         * HttpModuleActionCollection.cs: fix up corcompare.
382
383         * EventMappingSettingsCollection.cs: fix up corcompare.
384
385         * AuthorizationRule.cs: fix up corcompare.
386
387         * WebControlsSection.cs: fix up corcompare.
388
389         * AuthorizationSection.cs: fix up corcompare.
390
391         * MembershipSection.cs: clean this up, implement Properties, fix
392         up corcompare, etc.
393
394 2005-11-13  Chris Toshok  <toshok@ximian.com>
395
396         * UrlMapping.cs, CustomErrorCollection.cs, CustomError.cs,
397         HostingEnvironmentSection.cs, TrustLevel.cs,
398         HttpCookiesSection.cs, UrlMappingsSection.cs,
399         UrlMappingCollection.cs, LowerCaseStringConverter.cs,
400         RoleManagerSection.cs, ProcessModelSection.cs,
401         TrustLevelCollection.cs, ClientTarget.cs, CustomErrorsSection.cs,
402         MachineKeySection.cs, SessionPageStateSection.cs,
403         SessionStateSection.cs, ProvidersHelper.cs,
404         ClientTargetCollection.cs, SecurityPolicySection.cs,
405         HttpCapabilitiesBase.cs, ClientTargetSection.cs: Another large
406         swath.
407
408
409 2005-11-12  Chris Toshok  <toshok@ximian.com>
410
411         * AuthorizationRuleCollection.cs, AuthorizationRule.cs,
412         AuthorizationSection.cs, BufferModesCollection.cs,
413         BufferModeSettings.cs, CacheSection.cs, CompilerCollection.cs,
414         Compiler.cs, DeploymentSection.cs,
415         EventMappingSettingsCollection.cs, EventMappingSettings.cs,
416         GlobalizationSection.cs, HealthMonitoringSection.cs,
417         IdentitySection.cs, OutputCacheProfileCollection.cs,
418         OutputCacheProfile.cs, OutputCacheSection.cs,
419         OutputCacheSettingsSection.cs, ProfileSettingsCollection.cs,
420         ProfileSettings.cs, RuleSettingsCollection.cs, RuleSettings.cs,
421         SqlCacheDependencyDatabaseCollection.cs,
422         SqlCacheDependencyDatabase.cs, SqlCacheDependencySection.cs,
423         SystemWebCachingSectionGroup.cs, TraceSection.cs,
424         TransformerInfoCollection.cs, TransformerInfo.cs, TrustSection.cs,
425         WebControlsSection.cs, WebPartsPersonalizationAuthorization.cs,
426         WebPartsPersonalization.cs, WebPartsSection.cs,
427         XhtmlConformanceSection.cs: a whole slew of new classes.  the
428         fruits of tons of c&p and ibuprofen.
429
430
431 2005-11-09  Chris Toshok  <toshok@ximian.com>
432
433         * PagesSection.cs, AuthenticationSection.cs, BuildProvider.cs,
434         BuildProviderCollection.cs, HttpHandlerActionCollection.cs,
435         HttpModulesSection.cs, HttpModuleAction.cs,
436         HttpModuleActionCollection.cs, AnonymousIdentificationSection.cs,
437         CodeSubDirectory.cs, CodeSubDirectoriesCollection.cs,
438         SystemWebSectionGroup.cs, SiteMapSection.cs,
439         WebConfigurationManager.cs: flesh out the implementation.
440
441         * TagMap*.cs, TagPrefix*.cs: new implementation.
442
443         * FormsAuthentication*.cs: new implementation.
444
445         * Profile*.cs: new implementation.
446
447         * Namespace*.cs: new implementation.
448
449         * HttpRuntimeSection.cs: new implementation.
450