Fixed loading of web.config for TARGET_J2EE.
[mono.git] / mcs / class / System.Web / System.Web.Configuration / ChangeLog
1 2005-07-25  Eyal Alalouf  <eyala@mainsoft.com>
2         * WebConfigurationSettings.cs: Fixed LoadFromFile to find web.config under
3           TARGET_J2EE (case sensitivity).
4
5 2005-07-25  Eyal Alalouf  <eyala@mainsoft.com>
6         * WebConfigurationSettings.cs: TARGET_J2EE ifdef reorder for readability.
7
8 2005-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
9
10         * MachineKeyConfigHandler.cs: removed unused code. Use
11         MachineKeyValidation.
12         * MachineKeyValidation.cs: made internal for 1.1 and added AES.
13         * MachineKeyConfig.cs: new property to return 24 bits needed for 3DES.
14         fix typo from last patch ('AutoGenerate'). Made the keys different when
15         both are autogenerated.
16
17 2005-07-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
18
19         * MachineKeyConfigHandler.cs:
20         * MachineKeyConfig.cs: patch from Miguel that moves code from
21         MachineKeyConfigHandler to MachineKeyConfig.
22
23 2005-07-24  Eyal Alalouf  <eyala@mainsoft.com>
24
25         * WebConfigurationSettings.cs: TARGET_J2EE changes. static variables in
26           AppDomain.
27
28 2005-07-19  Eyal Alalouf  <eyala@mainsoft.com>
29         * WebConfigurationSettings.cs: Grasshopper doesn't support remoting and the FileSystemWatcher
30
31 2005-07-01  Lluis Sanchez Gual <lluis@novell.com>
32
33         * MembershipSection.cs: Implemented.
34         * SiteMapSection.cs: Define properties using attributes.
35         * AnonymousIdentificationSection.cs: Define properties using attributes.
36         * WebConfigurationManager.cs: return the correct base path for the
37           root path.
38         * IRemoteWebConfigurationHostServer.cs: Fixed method signatures.
39         * WebConfigurationHost.cs: Added the machine web.config to the web.config
40         file chain. Several fixes in the chain order. Implemented 
41         IsDefinitionAllowed and VerifyDefinitionAllowed.
42
43         * VirtualDirectoryMappingCollection.cs:
44         * WebConfigurationFileMap.cs:
45         * AdapterDictionary.cs:
46         * AuthenticationSection.cs:
47         * AssemblyCollection.cs:
48         * AssemblyInfo.cs: Minor api fixes.
49         
50 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
51
52         * HandlerItem.cs: the path matches 'path\z', as the previous '\Apath\z'
53         failed for 'dir/*.ext'.
54
55 2005-06-23  Lluis Sanchez Gual <lluis@novell.com>
56
57         * VirtualDirectoryMapping.cs: Implemented.
58         * WebConfigurationManager.cs: Initial implementation.
59         * VirtualDirectoryMappingCollection.cs: Implemented.
60         * WebConfigurationFileMap.cs: Implemented.
61         * WebConfigurationHost.cs: Initial implementation of class
62         that supports IInternalConfigHost.
63
64 2005-06-19 Ilya Kharmatsky <ilyak-at-mainsoft.com>
65
66         * HttpRuntimeConfig.cs: Added TARGET_JVM directive in "using clause"
67         in order to exclude in J2EE configuration usage of unsupported
68         CodeDome API.
69
70 2005-06-15  Lluis Sanchez Gual <lluis@novell.com>
71
72         * CodeSubDirectory.cs:
73         * ExpressionBuilder.cs:
74         * AssemblyInfo.cs:
75         * BuildProviderCollection.cs:
76         * ExpressionBuilderCollection.cs:
77         * CodeSubDirectoriesCollection.cs:
78         * AnonymousIdentificationSection.cs: Track 2.0 api changes
79         in System.Configuration.
80
81 2005-06-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
82
83         * GlobalizationConfigurationHandler.cs: when an attribute is not
84         provided, don't assing Encoding.Default to it, as we might override
85         parent's settings.
86
87 2005-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
88
89         * CompilationConfiguration.cs: throw if we cannot load the type given
90         in the configuration file.
91
92 2005-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
93
94         * CompilerCollection.cs: added CompareLanguages method.
95
96 2005-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
97
98         * CompilationConfigurationHandler.cs: ensure TempDirectory is not empty
99         before assigning it. Don't mangle the assembly names provided.
100
101         * CompilationConfiguration.cs: use DynamicBase as the temp directory
102         instead of Path.GetTempPath.
103
104 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
105
106         * ModuleItem.cs:
107         * GlobalizationConfigurationHandler.cs:
108         * WebConfigurationSettings.cs:
109         * CustomErrorsConfigHandler.cs:
110         * PagesConfigurationHandler.cs:
111         * WebControlsSectionHandler.cs:
112         * AuthorizationConfigHandler.cs: removed warnings.
113
114 2005-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
115
116         * CompilerCollection.cs:
117         * CompilationConfigurationHandler.cs:
118         * Compiler.cs:
119         * CompilationSection.cs:
120         * CompilationConfiguration.cs: reverted last patch and/or disable code
121         until the whole config system is migrated to 2.0. Fixes bug #73736.
122
123 2005-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
124
125         * CodeSubDirectoriesCollection.cs:
126         * ExpressionBuilderCollection.cs:
127         * BuildProviderCollection.cs:
128         * CompilerCollection.cs:
129         * CompilationConfigurationHandler.cs:
130         * ExpressionBuilder.cs:
131         * Compiler.cs:
132         * CompilationSection.cs:
133         * CompilationConfiguration.cs:
134         * CodeSubDirectory.cs: added and implemented
135         most of these files that are used when reading configuration files in
136         NET_2_0.
137
138         * WebCompiler.cs: renamed to Compiler.cs
139
140 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
141
142         * WebConfigurationSettings.cs: correctly detect web.config changes.
143
144 2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
145
146         * HandlerItem.cs: for reusable items, return the same instance always.
147         Fixes bug #69959.
148
149
150 2004-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
151
152         * GlobalizationConfigurationHandler.cs: fixed stupid typo (uiculture ->
153         uiCulture). Closes bug #69524.
154
155 2004-11-18  Lluis Sanchez Gual <lluis@novell.com>
156
157         * AnonymousIdentificationSection.cs, AuthenticationSection.cs,
158         AssemblyInfo.cs: Initialize     property collection.
159         * SiteMapSection.cs, SiteMapHierarchicalDataSourceView.cs, 
160         SiteMapDataSource.cs: New file.
161         * SiteMapDataSourceView.cs: Minor fixes.
162
163 2004-11-15  Lluis Sanchez Gual <lluis@novell.com>
164
165         * AnonymousIdentificationSection.cs, InternalSection.cs,
166         AuthenticationSection.cs, AssemblyCollection.cs, AssemblyInfo.cs,
167         AdapterDictionary.cs: Implemented.
168         * PassportAuthentication.cs, FormsAuthenticationConfiguration.cs:
169         created classes.
170
171 2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
172
173         * WebConfigurationSettings.cs: use CurrentExecutionFilePath instead of
174         FilePath. Fixes bug #67982.
175
176 2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
177
178         * WebConfigurationSettings.cs: fix bug when processing empty location
179         tags. Closes bug #63001.
180
181 2004-08-02  Duncan Mak  <duncan@ximian.com>
182
183         * AuthorizationRuleAction.cs:
184         * BuildProviderAppliesTo.cs:
185         * CustomErrorsMode.cs:
186         * MachineKeyValidation.cs:
187         * PagesEnableSessionState.cs:
188         * PagesToCountAction.cs:
189         * ProcessModelComAuthenticationLevel.cs:        
190         * ProcessModelComImpersonationLevel.cs:
191         * ProcessModelLogLevel.cs;
192         * SerializationMode.cs:
193         * TraceDisplayMode.cs: Added enumerations.
194
195         * IRemoteWebConfigarationHostServer.cs: Added interface.
196
197 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
198
199         * AuthorizationConfig.cs: really fix bug #60482. Thanks David!
200
201 2004-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
202
203         * AuthorizationConfig.cs: we must match [verb +] (role|user). Fixes bug
204         #60482.
205
206 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
207
208         * WebConfigurationSettings.cs: allow empty <configSections>.
209
210 2004-06-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
211
212         * GlobalizationConfigurationHandler.cs: if no culture given, use the
213         default one, not the invariant.
214
215 2004-06-07  Alon Gazit <along@mainsoft.com>
216
217         * HandlerFactoryConfiguration.cs: using cache to get performance
218         improvement.
219         
220
221 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
222
223         * HttpCapabilitiesBase.cs: set the useragent of the new
224         HttpBrowserCapabilities object.
225
226 2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
227
228         * HttpCapabilitiesBase.cs: ClientTarget takes precedence over UserAgent.
229
230 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
231
232         * WebConfigurationSettings.cs: when the virtual path is not /, don't
233         loop forever trying to read configuration from /. Fixes bug #59480.
234
235 2004-05-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
236
237         * GlobalizationConfiguration.cs: if we have no context, use
238         GetAppConfig instead of GetConfig.
239
240 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
241
242         * CompilationConfiguration.cs: a null value is ok for TempDirectory.
243
244 2004-05-12  Jaroslaw Kowalski <jaak@zd.com.pl>
245
246         * AuthenticationConfigHandler.cs: fixed slidingExpiration and requireSSL
247
248 2004-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
249
250         * WebConfigurationSettings.cs: fixed loading of external files. Closes
251         bug #57244.
252
253 2004-05-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
254
255         * WebConfigurationSettings.cs: now it defaults to 'web.config' and if
256         not found, 'Web.config'. Don't throw exception if both exists. Thanks
257         to urs and dru for bugging me about this.
258
259 2004-04-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
260
261         * WebConfigurationSettings.cs: fixed argument exception if the directory
262         we're trying to watch does not exists.
263
264 2004-04-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
265
266         * WebConfigurationSettings.cs: modify realpath when we reach the
267         virtual root of the application.
268
269 2004-04-12  Nick Drochak <ndrochak@gol.com>
270
271         * WebConfigurationSettings.cs: Fix build.  Forgot the '?'
272
273 2004-04-12  Atsushi Enomoto <atsushi@ximian.com>
274
275         * WebConfigurationSettings.cs : On Windows "Web.config" is "web.config".
276
277 2004-04-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
278
279         * WebConfigurationSettings.cs: "/" is the virtual root directory of
280         the application. This fixes a bug reported by Vlad that caused
281         configuration error because files were read twice when there's an
282         application different from "/" defined.
283
284 2004-03-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
285
286         * WebConfigurationSettings.cs: fixes bug 56267.
287
288 2004-03-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
289
290         * WebConfigurationSettings.cs: use FileSystemWatcher and really reload
291         configuration when the file is created or modified.
292
293 2004-02-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
294
295         * WebConfigurationSettings.cs: we were loading web.config from / always!
296         Thanks to Lluis for noticing this.
297
298 2004-02-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
299
300         * WebConfigurationSettings.cs: fix Web.config search for case
301         insensitive filesystems.
302
303 2004-02-04  Lluis Sanchez Gual <lluis@ximian.com>
304
305         * WebConfigurationSettings.cs: Load remoting configuration when reading
306           the web.config file.
307
308 2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
309
310         * AuthConfig.cs:
311         * AuthenticationConfigHandler.cs: added RequireSSL and
312         SlidingExpiration.
313
314         * HandlerFactoryProxy.cs: not public.
315         * HandlerItem.cs: not public.
316
317 2004-01-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
318
319         * WebConfigurationSettings.cs: fix location path lookup. Closes bug
320         #53072.
321
322 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
323
324         * System.Web.Configuration/GlobalizationConfiguration.cs: undo old fix.
325
326         * System.Web.Configuration/PagesConfiguration.cs:
327         * System.Web.Configuration/PagesConfigurationHandler.cs: new files for
328         processing system.web/pages section.
329
330 2004-01-10  Jackson Harper <jackson@ximian.com>
331
332         * TraceConfig.cs: New class contains trace configuration data.
333         * TraceConfigurationHandler.cs: New class parses trace
334         configurations.
335         
336 2004-01-05  Jackson Harper <jackson@ximian.com>
337
338         * HandlerItem.cs: Fix typo so slashes are stripped from paths properly.
339         
340 2003-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
341
342         * CustomErrorsConfigHandler.cs: handle <system.web><customErrors />..
343
344 2003-12-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
345
346         * HttpCapabilitiesBase.cs: use the new loader.
347
348 2003-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
349
350         * WebConfigurationSettings.cs: also cache parents when building the
351         hierarchy up. Fixes bug #51818.
352
353 2003-12-09  Jackson Harper <jackson@ximian.com>
354
355         * GlobalizationConfigurationHander.cs: Make unicode encodings case
356         insensitive.
357         
358 2003-12-08  Jackson Harper <jackson@ximian.com>
359
360         * GlobalizationConfigurationHandler.cs: Handle creating some the unicode
361         encodings here so we can create ones without BOMs.
362         
363 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
364
365         * GlobalizationConfiguration.cs: return null when the configuration is
366         not available.
367         
368         * WebConfigurationSettings.cs: handle configuration for System.Web. It
369         replaces the default IConfigurationSystem with itself and handles
370         web.config files oddities.
371
372 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
373
374         * CompilationConfiguration.cs: don't throw an HttpException.
375         * HttpRuntimeConfig.cs:
376         * HttpRuntimeConfigurationHandler.cs: handle system.web/httpRuntime
377         configuration section.
378
379 2003-11-10 Jackson Harper <jackson@ximian.com>
380
381         * CompilationConfigurationHandler.cs: Append .dll to shortened
382         assembly names. 
383         
384 2003-11-08 Jackson Harper <jackson@ximian.com>
385
386         * CompilationConfigurationHandler.cs: Trim extra versioning
387         information off of assembly names. This is a workaround that fixes
388         bug #50355.
389         
390 2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
391
392         * GlobalizationConfiguration.cs: added GetInstance method.
393
394         * GlobalizationConfigurationHandler.cs: warn about unsupported encodings
395         and provide reasonable defaults.
396
397 2003-10-17 Ben Maurer  <bmaurer@users.sourceforge.net>
398
399         * CompilationConfiguration.cs (Init): you have to inherit copying
400         files from the bin folders too.
401
402 2003-10-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
403
404         * CompilationConfiguration.cs: use the context passed in. If not, try
405         the current context.
406
407 2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
408
409         * CompilationConfiguration.cs:
410         * CompilationConfigurationHandler.cs:
411         * CompilerCollection.cs:
412         * WebCompiler.cs: new files that process and store
413         system.web/compilation info (compilers + assemblies).
414
415         * HttpHandlersSectionHandler.cs: added option for an attribute to be
416         empty.
417
418 2003-10-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
419
420         * WebControlsSectionHandler.cs: new file to handle <webControls>
421         configuration.
422
423 2003-10-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
424
425         * HandlerItem.cs: make it work for file names without wildcards.
426
427 2003-03-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
428
429         * ModuleItem.cs: it's not public.
430         * ModulesConfiguration.cs: it's not public.
431
432 2003-02-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
433
434         * AuthenticationConfigHandler.cs: 'name' is optional in <forms>.
435
436 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
437
438         * HandlerFactoryConfiguration.cs: first search in the mappings of this
439         instance, then in the parent.
440
441 2003-02-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
442
443         * GlobalizationConfiguration.cs: added internal fields to hold the
444         values in the globalization node.
445
446         * GlobalizationConfigurationHandler.cs: handler to load
447         <system.web/globalization> section.
448
449 2003-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
450
451         * AuthorizationConfigHandler.cs: handler for system.web/authorization
452         section.
453
454         * AuthorizationConfig.cs: keeps record of authorization configuration.
455
456 2003-01-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
457
458         * HttpModulesConfigurationHandler.cs: add a default authentication
459         module at the end of the list.
460
461         * ModuleItem.cs: new constructor.
462
463 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
464
465         * AuthConfig.cs: LoginUrl defaults to login.aspx.
466
467 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
468
469         * AuthConfig.cs:
470         * AuthenticationConfigHandler.cs: handler and helper class for
471         system.web/authentication configuration section.
472
473         * HttpHandlersSectionHandler.cs: check for null in attributes.
474
475         * MachineKeyConfig.cs:
476         * MachineKeyConfigHandler.cs: handler and helper class for
477         system.web/machineKey tag.
478
479 2002-10-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
480
481         * HttpHandlersSectionHandler.cs: more null checks.
482
483 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
484
485         * HttpHandlersSectionHandler.cs: made a couple of static methods be
486         part of a class used in other handlers.
487         * HttpModulesConfigurationHandler.cs: handler for modules.
488         * ModuleItem.cs: added IsMatch method.
489         * ModulesConfiguration.cs: made it similar to the handlers class: added         Clear, Remove.
490
491 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
492
493         * HttpHandlerTypeMapper.cs: removed.
494         * HandlerFactoryConfiguration.cs: readded. I removed it by mistake.
495         * HandlerItem.cs: only load the type if we gotta validate it.
496         Implemented initial IsMatch.
497         * HttpConfigurationContext.cs: New file.
498         * HttpHandlersSectionHandler.cs: validate is optional (default true). 
499         Use HttpHandlerTypeMapper.
500
501 2002-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
502
503         * System.Web.Configuration/HandlerFactoryConfiguration.cs: removed.
504
505         * System.Web.Configuration/HandlerItem.cs: added validation field.
506
507         * System.Web.Configuration/HttpHandlerTypeMapper.cs: holds mappings
508         between verbs and wilcards and their associated HandlerItem.
509
510         * System.Web.Configuration/HttpHandlersSectionHandler.cs: this one
511         processes system.web/httpHandlers section of machine.config file.
512
513 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
514
515         * AuthenticationMode.cs:
516         * ClientTargetSectionHandler.cs:
517         * FormsAuthPasswordFormat.cs:
518         * FormsProtectionEnum.cs:
519         * HttpCapabilitiesBase.cs: fixes base on class status page.
520
521 2002-08-05  Patrik Torstensson <ptorsten@hotmail.com>
522
523         * HandlerFactoryConfiguration.cs,
524            HandlerFactoryProxy.cs,
525            HandlerItem.cs       : New files to emulate HttpHandler configuration
526            
527         * ModuleItem.cs,
528            ModulesConfiguration.cs : New files to emulate HttpModule configuration      
529
530 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
531
532         * System.Web.Configuration/HttpCapabilitiesBase.cs: New file.
533