* StaticFileHandler.cs: Modified 404 message to match MS.
[mono.git] / mcs / class / System.Web / System.Web / ChangeLog
1 2007-10-24  Gert Driesen  <drieseng@users.sourceforge.net>
2
3         * StaticFileHandler.cs: Modified 404 message to match MS.
4
5 2007-10-24  Marek Habersack  <mhabersack@novell.com>
6
7         * HttpUtility.cs: MS.NET does not support the ';' query parameter
8         separator. Fixes bug #335615
9
10 2007-10-18  Juraj Skripsky  <js@hotfeet.ch>
11
12         * StaticSiteMapProvider.cs: Replace Hashtables by Dictionaries,
13         don't allocate them on-demand, there will never be many
14         Provider instances around.
15         AddNode(): Check for duplicate keys before adding any item to
16         hashtables.
17         RemoveNode(): Use fact that Hashtable.Remove() never throws,
18         remove item from keyToNode as well, make symmetric to AddNode().
19         MapUrl(): Use VirtualPathUtility, allow for full urls
20         (e.g. http://www.google.com).
21         
22 2007-10-17  Marek Habersack  <mhabersack@novell.com>
23
24         * StaticFileHandler.cs: fixed an bug with Mono running under
25         Windows operating systems which caused XSP to return source of the
26         requested page if the file name used in the request ended in any
27         number of spaces or dots. The problem lies in the way the Win32
28         subsystem treats such file names - it ignores the trailing
29         characters and allows the calling application to open a file on
30         disk even when its name does not contain the trailing characters
31         used in the open request. Such file names may be supported by the
32         underlying filesystem (e.g. NTFS) but they are not supported by
33         the I/O Win32 subsystem. The security issue is reported in
34         CVE security report CVE-2007-5473. Fixes bug #332401
35         
36 2007-10-17  Igor Zelmanovich <igorz@mainsoft.com>
37
38         * HttpResponse.cs:
39         response status is sent after PreSendRequestHeaders invoked.
40         Redirect method set RedirectLocation property
41         fixes bug #334521
42                 
43 2007-10-15  Marek Habersack  <mhabersack@novell.com>
44
45         * HttpApplication.cs: do not return a non-existing bin directory
46         from BinDirectories. Patch from Atsushi Enomoto
47         <atsushi@ximian.com>, thanks! Fixes bug #332434. 
48
49 2007-10-04  Marek Habersack  <mhabersack@novell.com>
50
51         * HttpApplication.cs: call the Init method after loading the
52         modules and hooking up application events. Fixes bug #330416.
53
54 2007-10-01  Marek Habersack  <mhabersack@novell.com>
55
56         * HttpServerUtility.cs: set a flag when transferring control to
57         another page.
58
59         * HttpContext.cs: added an internal InTransit property to carry
60         information that HttpServerUtility.Transfer has been used, over to
61         the target page.
62
63 2007-09-12  Juraj Skripsky <js@hotfeet.ch>
64
65         * StaticSiteMapProvider.cs (AddNode): Add message text to
66         InvalidOperationException (duplicate url case).
67
68 2007-09-06  Marek Habersack  <mhabersack@novell.com>
69
70         * HttpCachePolicy.cs: implemented setting the ETag and
71         Last-Modified headers from file dependencies.
72
73         * HttpResponse.cs: implemented file dependency methods.
74
75 2007-09-01  Marek Habersack  <mhabersack@novell.com>
76
77         * HttpRuntime.cs: rewrote the app_offline.htm support. It now uses
78         filesystem watchers instead of checking for existence of the
79         file(s) at the beginning of every request. No performance penalty
80         that way.
81
82 2007-08-31  Marek Habersack  <mhabersack@novell.com>
83
84         * HttpApplicationFactory.cs: added methods to enable/disable
85         watchers.
86
87         * HttpRuntime.cs: implemented handling of app_offline.htm file in
88         the application root directory. Fixes bug #81127.
89
90         * HttpResponse.cs: make sure neither context or
91         context.ApplicationInstance are null in End ().
92
93 2007-08-27  Marek Habersack  <mhabersack@novell.com>
94
95         * HttpCookie.cs: make sure a key is output even if it has no
96         values set. Fixes bug #81333.
97
98 2007-08-23  Marek Habersack  <mhabersack@novell.com>
99
100         * HttpApplication.cs: added a static array BinDirs which contains
101         the common bin directory names we can encounter.
102         Added internal static property IsRunningOnWindows.
103         Added internal enumerable property BinDirectories to iterate over
104         the full paths of the available binary directories.
105         Added internal enumerable property BinDirectoryAssemblies to
106         iterate over .dll files in the bin directories.
107         LoadTypeFromPrivateBin renamed to LoadTypeFromBin.
108         LoadTypeFromBin uses BinDirectoryAssemblies.
109         
110         * HttpApplicationFactory.cs: use HttpApplication.BinDirectories to
111         interate over the list of bin dirs.
112
113 2007-08-21  Marek Habersack  <mhabersack@novell.com>
114
115         * HttpApplicationFactory.cs: watch for changes in all the
116         private binary directories for the current application domain.
117
118         * HttpApplication.cs: turn the PrivateBinPath property into an
119         internal enumerable, so that code throughout the assembly can
120         iterate over the list of private bin directories configured for
121         the application domain.
122         Added a new internal method LoadTypeFromPrivateBin, for sharing
123         with other parts of the assembly.
124
125 2007-08-18  Juraj Skripsky <js@hotfeet.ch>
126
127         * HttpRequest.cs (StripPath): Fix off-by-one error, make static.
128
129 2007-08-18  Marek Habersack  <mhabersack@novell.com>
130
131         * HttpRequest.cs: IE sends the full input file path when uploading
132         a file via the upload input control. Detect the situation and
133         strip the leading path. Fixes bug #82059.
134
135         * HttpServerUtility.cs: set the current context's path(s) to the
136         Transfer/Execute target only to retrieve the new handler, and
137         restore them immediately afterwards. It has a two-fold effect:
138         first it avoids an extra round trip to the original page which
139         called Transfer/Execute, second it makes FilePath etc. return
140         information about the original page (that is the one which called
141         Transfer/Execute). Fixes bug #82439.
142
143 2007-08-14  Marek Habersack  <mhabersack@novell.com>
144
145         * XmlSiteMapProvider.cs: do not hide this_lock.
146
147 2007-08-09  Marek Habersack  <mhabersack@novell.com>
148
149         * HttpApplicationFactory.cs: unconditionally watch for changes
150         (including creation) to Global.asax, global.asax, Web.config,
151         web.config and Web.Config. This makes the application restart once
152         any of those is created. Patch from Juraj Skripsky
153         <juraj@hotfeet.ch>, thanks! Fixes bug #82380.
154
155 2007-08-08  Marek Habersack  <mhabersack@novell.com>
156
157         * StaticSiteMapProvider.cs, HttpApplicationFactory.cs,
158         HttpStaticObjectsCollection.cs, SiteMapProvider.cs,
159         XmlSiteMapProvider.cs, HttpApplication.cs, CapabilitiesLoader.cs,
160         TimeoutManager.cs: do not use lock (this), replace it with lock
161         (this_object), where this_object is an instance variable. Prevents
162         deadlocks in situation when external code locks on the class
163         instance.
164
165 2007-08-05  Vladimir Krasnov  <vladimirk@mainsoft.com>
166
167         * HttpUtility.cs: performance refactoring, optimized UrlEncode
168
169 2007-08-05 Igor Zelmanovich <igorz@mainsoft.com>
170
171         * SiteMapNode.cs: refactoring + typo fix: 
172         variable is declared in scope where is used.
173
174 2007-07-31  Vladimir Krasnov  <vladimirk@mainsoft.com>
175
176         * VirtualPathUtility.cs: refactored GetDirectory, ToAbsolute, added
177         internal api to skip path normalizing
178
179 2007-07-30  Vladimir Krasnov  <vladimirk@mainsoft.com>
180
181         * HttpResponseStream.jvm.cs: optimized CharBucket
182
183 2007-07-22  Vladimir Krasnov  <vladimirk@mainsoft.com>
184
185         * HttpServerUtility.cs: fixed Execute, SetCurrentExePath should be 
186         called after ApplicationInstance.GetHandler call in case of GetHandler
187         fails for some reason
188
189 2007-07-21  Marek Habersack  <mhabersack@novell.com>
190
191         * HttpRuntime.cs: clean up the dynamic base directory on domain
192         shutdown.
193
194 2007-07-10  Vladimir Krasnov  <vladimirk@mainsoft.com>
195
196         * HttpUtility.cs: optimized HtmlEncode and HtmlAttributeEncode methods
197
198 2007-07-05  Miguel de Icaza  <miguel@novell.com>
199
200         * HttpApplication.cs (AsyncRequestState.Complete): Add the
201         try/catch for the callback here to ensure that we only call
202         complete_event.Set once. 
203
204         (PipelineDone): This is where the core of the bug fix is: do not
205         call Complete() or call done.Set() (depending on the invocation
206         case) until we are actually done cleaning up the request.
207
208         The problem was that we signaled that we were done, but we had not
209         completed the shut down, so another thread could have been
210         scheduled on the same HttpApplication and had its variables be
211         modified as we completed the shutdown on the first thread. 
212
213         This fixes #81400 which was a very long standing bug.  
214
215         (Tick): Remove the pipeline check against null, this is not
216         necessary and it will help us find problems like this one in the
217         future.
218
219         Reverts patch r66072 which was a described as:
220
221                 band-aid patch to help debugging hang running 2.0
222                 tests.
223
224 2007-07-02  Marek Habersack  <mhabersack@novell.com>
225
226         * CapabilitiesLoader.cs: provide default capability values for all
227         the 2.0+ capabilities which are not defined in our
228         browscap.ini. The default values have been assigned as per
229         MSDN. Fixes bug #81927
230
231 2007-06-28  Vladimir Krasnov  <vladimirk@mainsoft.com>
232
233         * HttpResponse.cs: fixed AddHeadersNoCache, removed content-length
234         header for TARGET_JVM
235         * HttpWorkerRequest.cs: made this class partial, moved TARGET_JVM stuff
236         to .jvm part
237         * HttpWriter.cs: fixed write methods, output_stream can write char[]
238         and string in TARGET_JVM
239         added HttpWorkerRequest.jvm.cs, HttpResponseStream.jvm.cs
240
241 2007-06-25 Juraj Skripsky <js@hotfeet.ch>
242
243         * HttpRuntime.cs (ShutdownAppDomain): Re-introduce call to
244         "Cache.InvokePrivateCallbacks".
245
246 2007-06-24  Vladimir Krasnov  <vladimirk@mainsoft.com>
247
248         * HttpUtility.cs: fixed HtmlAttributeEncode, performance improvement
249
250 2007-06-20  Marek Habersack  <mhabersack@novell.com>
251
252         * HttpRuntime.cs: added new internal property, InternalCache, to
253         keep all the internal cache entries instead of mixing them with
254         the public cache ones.
255         Do not invoke Cache.InvokePrivateCallbacks - this method no longer
256         exists.
257
258         * HttpResponse.cs: private entries are now kept in
259         Context.InternalCache.
260
261         * HttpContext.cs: added new internal property, InternalCache,
262         which returns the HttpRuntime.InternalCache value.
263
264         * HttpApplication.cs: check all the loaded assemblies for the type
265         being looked up. Patch from Juraj Skripsky <juraj@hotfeet.ch>,
266         thanks! Fixes bug #81697.
267
268 2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>
269
270         * HttpUtility.cs: refactoring:
271         removed constants to another class.     
272
273 2007-06-18 Igor Zelmanovich <igorz@mainsoft.com>
274
275         * AssemblyResourceLoader.cs: refactoring:
276         make the code reusable in System.Web.Extenssions.       
277
278 2007-05-31  Marek Habersack  <mhabersack@novell.com>
279
280         * SiteMapProvider.cs: implemented proper logic of authorizing
281         user's access to a sitemap node, as per MSDN2 docs. Patch from
282         Dumitru Ban <dban@dako.ro>, thanks!
283
284 2007-05-30  Marek Habersack  <mhabersack@novell.com>
285
286         * TraceManager.cs: Catch all the possible exceptions in the
287         constructor - the object MUST be created successfully (even if
288         there are errors).
289
290         * HttpRequest.cs: do not attempt to apply url mappings if the
291         configuration manager has errors.
292
293         * HttpRuntime.cs: handle static constructor exceptions later on,
294         during the first call to ReallyProcessRequest.
295
296         * QueueManager.cs: provide defaults for the parameters to be read
297         from the config file(s).
298         Catch all the possible exceptions in the constructor - the object
299         MUST be created successfully (even if there are errors).
300
301 2007-05-29  Marek Habersack  <mhabersack@novell.com>
302
303         * SiteMapProvider.cs: updated the node accessibility comments.
304         If Roles not null and user is not in at least one of the
305         specified roles, return false.
306         If there Url is null or empty, return false.
307
308 2007-05-28  Marek Habersack  <mhabersack@novell.com>
309
310         * HttpRequest.cs: since Path is used from within
311         WebConfigurationManager, under some conditions it may lead to
312         endless recursion if the UrlComponents is not instantiated when
313         Path_get is called.
314
315 2007-05-21  Vladimir Krasnov  <vladimirk@mainsoft.com>
316
317         * HttpContext.cs: added ProfileInitialized boolean property
318
319 2007-05-16  Vladimir Krasnov  <vladimirk@mainsoft.com>
320
321         * VirtualPathUtility.cs: Normalize method check more carefully if need
322         to normalize, performance fix
323
324 2007-05-16  Konstantin Triger <kostat@mainsoft.com>
325
326         * HttpContext.cs: correctly check for request locality.
327
328 2007-05-15  Marek Habersack  <mhabersack@novell.com>
329
330         * HttpApplication.cs: refactoring - moved LoadType from
331         WebConfigurationHost here and made it internal static, in order to
332         make the code avaliable from all the places where extended type
333         loading is required.
334
335 2007-05-14  Marek Habersack  <mhabersack@novell.com>
336  
337         * HttpUtility.cs: when parsing query strings, skip the leading ?
338         for the first parameter name.
339
340         * HttpRequest.cs: added support for mapping urls, as defined in
341         the system.web/urlMappings section.
342
343 2007-05-14  Vladimir Krasnov  <vladimirk@mainsoft.com>
344         
345         * HttpWriter.cs: GetMaxByteCount was used in Write and WriteString
346         methods to improve performance of HttpWriter
347
348 2007-05-14 Igor Zelmanovich <igorz@mainsoft.com>
349
350         * HttpApplication.cs:
351         prevent DOS attack: remove configuration from the cache in case 
352         of invalid resource not exists  
353
354 2007-05-14  Vladimir Krasnov  <vladimirk@mainsoft.com>
355
356         * TraceContext.cs: refactoring, cached TraceManager
357
358 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
359
360         * HttpApplication.cs:
361         * HttpContext.cs:
362         handling exceptions occurred if  <system.web/customError> 
363         section is not valid.   
364
365 2007-05-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
366
367         * BaseParamsCollection.cs: fixed Get(string) property, fixed collection
368         lazy initialization
369
370 2007-05-07  Marek Habersack  <mhabersack@novell.com>
371
372         * HttpResponseStream.cs: use BufferOutput
373
374         * HttpResponse.cs: support Buffer, but use BufferOutput
375
376 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
377
378         * BrowserCapabilities.cs:
379         added missing API.      
380
381 2007-04-30 Igor Zelmanovich <igorz@mainsoft.com>
382
383         * HttpApplication.cs: reverted r74717.
384
385 2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
386
387         * HttpContext.jvm.cs: Response.End() must abort thread if not async.    
388
389 2007-04-29 Igor Zelmanovich <igorz@mainsoft.com>
390
391         * HttpApplication.cs: doesn't cache httpHandlersSection in instance, 
392         that allows to consider httpHandlers section in nested web.config.      
393
394 2007-04-27  Marek Habersack  <mhabersack@novell.com>
395
396         * XmlSiteMapProvider.cs: add support for siteMapFile attribute.
397
398 2007-04-24  Marek Habersack  <mhabersack@novell.com>
399
400         * CapabilitiesLoader.cs: Hashtables used as property containers
401         should not be case-insensitive as we now preload the property
402         hashes with default properties, to make the code work in case
403         browscap.ini is broken or missing. Instead, the keys are
404         lower-cased and trimmed before indexing the Hashtable.
405         Added all the missing capabilities to the defaultCaps Hashtable.
406         The returned Hashtable is not reversed in GetCapabilities anymore
407         - it might make the code faster, but it also makes it mismatch
408         browsers (e.g. Firefox 2.0 is mismatched for Mozilla 1.8).
409         All of the above fixes bug #81437.
410
411         * HttpRequest.cs: MS.NET throws HttpException for invalid paths,
412         not ArgumentNullException.
413
414         * HttpException.cs: wrap GetHtmlErrorMessage internals in
415         try/catch to capture possible exceptions in HttpContext.
416
417         * HttpContext.cs: IsCustomErrorEnabled is used from within
418         HttpException, make sure it gets the section in a safe way and
419         resorts to the default settings.
420         
421         * HttpResponse.cs: HeaderEncoding is used in the same context as
422         above. Take the same precautions.
423         
424 2007-04-22 Joshua Tauberer <jit@occams.info>
425  
426         * HttpParamsCollection.cs: Fix IndexOutOfRangeException.
427
428 2007-04-19  Miguel de Icaza  <miguel@novell.com>
429
430         * BaseParamsCollection.cs (Get (string)): Call LoadInfo here to
431         fix #81385
432
433 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
434
435         * HttpException.cs: used GetBaseException() instead InnerException.
436
437 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
438
439         * HttpException.cs: shows message of InnerException in head of Page.
440
441 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
442
443         * HttpException.cs: fixed generated HTML formating.
444
445 2007-04-17 Igor Zelmanovich <igorz@mainsoft.com>
446
447         * HttpContext.cs: GetGlobalResourceObject, GetLocalResourceObject
448         use case-insensitive ResourceManager
449
450 2007-04-15  Marek Habersack  <mhabersack@novell.com>
451
452         * VirtualPathUtility.cs: converted to LF line endings and set the
453         svn:eol-style property to 'native'
454
455 2007-04-13  Marek Habersack  <mhabersack@novell.com>
456
457         * SiteMap.cs: try to look up the current map node in providers
458         other than the current one. Patch from Mike Morano
459         <mmorano@mikeandwan.us>. Fixes bug #81366. 
460
461 2007-04-12  Vladimir Krasnov  <vladimirk@mainsoft.com>
462
463         * HttpRequest.cs: fixed Params property to be lazy initialzation
464         collection
465         * added HttpParamsCollection.cs
466
467 2007-04-11  Konstantin Triger <kostat@mainsoft.com>
468
469         * HttpRequest.cs: IsLocal should return true for loopback addresses.
470
471 2007-04-10  Marek Habersack  <mhabersack@novell.com>
472
473         * HttpCookie.cs: format the output of HttpCookie.Values.ToString()
474         in the same way MS.NET does. Fixes bug #81333. Patch from Mike
475         Morano <mmorano@mikeandwan.us>.
476
477         * XmlSiteMapProvider.cs: add the NotifyFilters.Size to the
478         watcher flags, so that we watch for modifications to a file when
479         using Linux inotify.
480
481         * HttpApplicationFactory.cs: add the NotifyFilters.Size to the
482         watcher flags, so that we watch for modifications to a file when
483         using Linux inotify.
484         App_Code, App_Browsers and App_GlobalResources watchers must watch
485         for events with the '*' mask so that they can notice events
486         related to subdirectory creation/deletion.
487         Watch for subdirectory events with the App_Code watcher.
488
489 2007-04-07  Marek Habersack  <mhabersack@novell.com>
490
491         * HttpException.cs: show a default custom error message if custom
492         errors are enabled.
493         Cleaned up the errors HTML, made it XHTML-compliant. Generated
494         HTML now uses inline CSS styles.
495
496 2007-04-06  Marek Habersack  <mhabersack@novell.com>
497
498         * HttpUtility.cs: added a constant that contains the default query
499         parameter character.
500         ParseQueryString supports queries with both '&' and ';' parameter
501         separators.
502
503 2007-04-05  Marek Habersack  <mhabersack@novell.com>
504
505         * CapabilitiesLoader.cs: Make sure that the capability names
506         (keys) are stored in lowercase.
507
508 2007-04-05 Igor Zelmanovich <igorz@mainsoft.com>
509
510         * XmlSiteMapProvider.cs: 
511         custom attributes of siteMapNode are loaded properly.
512
513 2007-04-05  Marek Habersack  <mhabersack@novell.com>
514
515         * CapabilitiesLoader.cs: add a full default set of capabilities
516         for cases when browscap.ini is broken, missing or doesn't contain
517         definition for the client's User-Agent. Makes it possible to surf
518         asp.net sites from unsupported clients.
519
520 2007-04-04 Juraj Skripsky <js@hotfeet.ch>
521
522         * HttpApplicationFactory.cs: Make sure an web application is
523         shutdown only once (and Application_End in global.asax is called
524         only once as well). This is necessary because FileSystemWatcher
525         emits multiple events when e.g. global.asax is changed.
526
527 2007-04-01  Vladimir Krasnov  <vladimirk@mainsoft.com>
528
529         * HttpRequest.cs: fixed Headers property to use optimized
530         HeadersCollection
531         * WebROCollection.cs: used StringComparer.OrdinalIgnoreCase for
532         NET_2_0
533         * ServerVariablesCollection.cs: used lazy collection fill optimization
534         * added: HeadersCollection.cs, BaseParamsCollection.cs
535
536 2007-04-01  Konstantin Triger <kostat@mainsoft.com>
537
538         * HttpContext.cs: 
539                 GetLocalResourceObject - should not prefix resources with 'Resources.'.
540
541 2007-04-01  Konstantin Triger <kostat@mainsoft.com>
542
543         * BrowserCapabilities.cs: Default Browser (userAgent) property to 'Unknown'.
544
545 2007-03-29  Vladimir Krasnov  <vladimirk@mainsoft.com>
546
547         * HttpContext.cs: timeout methods removed from TARGET_J2EE compilation
548         * HttpContext.jvm.cs: added stubs for timeout methods
549
550 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
551
552         * StaticSiteMapProvider.cs:
553         GetChildNodes does not return null but SiteMapNodeCollection.EmptyCollection.
554
555 2007-03-28  Konstantin Triger <kostat@mainsoft.com>
556
557         * BrowserCapabilities.cs: 
558                 1. refactoring.
559                 2. Break recoursion in case 'browser' capability is not found.
560
561 2007-03-28 Igor Zelmanovich <igorz@mainsoft.com>
562
563         * SiteMapNode.cs: fixed GetAllNodes method.
564
565 2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
566
567         * XmlSiteMapProvider.cs: fixed:
568         resolve app-relative path from config such siteMapFile="~/Web.sitemap".
569
570 2007-03-27 Igor Zelmanovich <igorz@mainsoft.com>
571
572         * SiteMapNode.cs:
573         * XmlSiteMapProvider.cs: fixed: Localize Site-Map Data.
574
575 2007-03-26  Konstantin Triger <kostat@mainsoft.com>
576
577         * HttpRequest.cs: correctly handle null and empty virtual pathes in MapPath.
578
579 2007-03-25  Vladimir Krasnov  <vladimirk@mainsoft.com>
580
581         * HttpContext.cs: AppGlobalResourcesAssembly static member stored in
582         AppDomain for TARGET_JVM
583
584 2007-03-24  Marek Habersack  <mhabersack@novell.com>
585
586         * HttpRuntime.cs: use ICalls.GetMachineConfigPath instead of
587         opening the machine.config file and getting its path.
588
589         * CapabilitiesLoader.cs: use HttpRuntime.MachineConfigurationDirectory 
590         instead of opening the machine config file and getting its path.
591
592 2007-03-23  Konstantin Triger <kostat@mainsoft.com>
593
594         * HttpApplication.cs: complete the pipeline in case of exception during
595                 InitOnce() to avoid a deadlock.
596
597 2007-03-22  Adar Wesley <adarw@mainsoft.com>
598
599         * BrowserCapabilities.cs: Added implementation for all capabilities.
600         changed implementation to throw when capability is not defined in browscaps.ini.
601
602         * CapabilitiesLoader.cs: fixed parent resultion bug.  added internal support for
603         browser and browsers capabilities.
604
605 2007-03-21  Vladimir Krasnov  <vladimirk@mainsoft.com>
606
607         * HttpContext.jvm.cs, HttpRuntime.cs: cached instance of HttpRuntime
608         in context in addition to AppDomain
609
610 2007-03-21  Vladimir Krasnov  <vladimirk@mainsoft.com>
611         
612         * HttpCookie.cs, HttpCookieCollection.cs: used OrdinalIgnoreCase
613         StringComparer for cookies and values collections 
614
615 2007-03-21  Vladimir Krasnov  <vladimirk@mainsoft.com>
616
617         * HttpApplication.cs: refactred handlers configuration section as
618         member of class
619
620 2007-03-20  Marek Habersack  <mhabersack@novell.com>
621
622         * HttpRequest.cs: implement AppRelativeCurrentExecutionFilePath.
623
624 2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
625
626         * VirtualPathUtility.cs: fixed GetFileName(), GetExtension() methods.
627
628 2007-03-18 Igor Zelmanovich <igorz@mainsoft.com>
629
630         * VirtualPathUtility.cs: fixed GetDirectory() method.
631
632 2007-03-15  Marek Habersack  <mhabersack@novell.com>
633
634         * XmlSiteMapProvider.cs: handle cases with no default for the
635         reskey properly.
636
637 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
638
639         * HttpRequest.cs: fixed MapPath () method.
640
641 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
642
643         * VirtualPathUtility.cs: fixed ToAbsolute() method.
644
645 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
646
647         * VirtualPathUtility.cs: refactoring: class is shared with 1.x.
648
649 2007-03-15  Marek Habersack  <mhabersack@novell.com>
650
651         * XmlSiteMapProvider.cs: add support for the enableLocalization
652         <siteMap> attribute and handle per-node localization resource
653         strings for explicit localization as well as the resourceKey
654         attribute to <siteMapNode> for implicit localization (closes bug
655         #81103).
656
657         * SiteMapNode.cs: add support for the resource keys and foreign
658         attributes.
659         Implement GetImplicitResourceString.
660         Add support for translation of the Title and Description
661         attributes (closes bug #81103) as well as foreign attributes.
662
663 2007-03-15 Igor Zelmanovich <igorz@mainsoft.com>
664
665         * VirtualPathUtility.cs: fixed: works properly with appRelative path.
666
667 2007-03-13  Marek Habersack  <mhabersack@novell.com>
668
669         * HttpApplicationFactory.cs: resources compiler no longer accepts
670         a boolean parameter.
671
672         * HttpRuntime.cs: Do not compile local resources here anymore.
673
674         * HttpContext.cs: if App_LocalResources assembly corresponding to
675         the virtual path is not found, compile it here.
676         Look up resources in the "Resources." class path.
677
678 2007-03-13 Igor Zelmanovich <igorz@mainsoft.com>
679
680         * HttpUtility.cs: fixed HttpUtillity.HtmlAttributeEncode
681          '<' char must be encoded.      
682
683 2007-03-12  Vladimir Krasnov  <vladimirk@mainsoft.com>
684
685         * CapabilitiesLoader.cs: added TARGET_JVM part of static members,
686         added caching to GetCapabilities method for performance improvement
687
688 2007-03-12  Marek Habersack  <mhabersack@novell.com>
689
690         * XmlSiteMapProvider.cs: support custom site map providers. Fixes
691         bug #81115
692
693 2007-03-06  Vladimir Krasnov  <vladimirk@mainsoft.com>
694
695         * StaticFileHandler.cs: fixed ProcessRequest TARGET_JVM path,
696         if_modified_since fixed in WAR mode
697
698 2007-02-25  Vladimir Krasnov  <vladimirk@mainsoft.com>
699
700         * HttpRequest.jvm.cs: fixed LoadWwwForm, should distinguish between
701         query string and form values
702
703 2007-02-21  Marek Habersack  <grendello@gmail.com>
704
705         * HttpRuntime.cs: BinDirectory returns the bin directory
706         determined by the application host on the application startup.
707
708         * HttpApplicationFactory.cs: Watch the bin directory determined by
709         the application host on the application startup.
710
711 2007-02-20  Vladimir Krasnov  <vladimirk@mainsoft.com>
712
713         * HttpRequest.cs: fixed MapPath, removed TARGET_J2EE block that checks
714         war root symbol
715
716 2007-02-19  Marek Habersack  <grendello@gmail.com>
717
718         * HttpContext.cs: Make sure all the global resource objects are
719         sought in the Resources. namespace.
720
721 2007-02-18  Eyal Alaluf  <eyala@mainsoft.com>
722
723         * HttpContext.jvm.cs, HttpRequest.jvm.cs: Adapt for tunning under test
724           harness where we don't have a SevletRequest/Response.
725
726 2007-02-13  Vladimir Krasnov  <vladimirk@mainsoft.com>
727
728         * HttpApplication.cs: fixed InitOnce, httpModules section is global and
729         taken from the root web.config
730
731 2007-02-12  Robert Jordan  <robertj@gmx.net>
732
733         * HttpResponseStream.cs (BlockManager.EnsureCapacity):
734         don't call Marshal.ReAllocHGlobal on NULL because, unlike
735         realloc(3) and g_realloc, it doesn't support this semantic.
736         Fixes a part of bug #77075.
737
738 2007-02-12  Marek Habersack  <grendello@gmail.com>
739
740         * HttpRuntime.cs: support for preservation (.compiled) assembly
741         mapping files.
742
743 2007-02-11  Vladimir Krasnov  <vladimirk@mainsoft.com>
744
745         * HttpApplication.cs: added exception pass through from processAction
746         in j2ee portal
747
748 2007-02-02  Marek Habersack  <grendello@gmail.com>
749
750         * HttpApplicationFactory.cs: make code a bit more compact.
751
752 2007-01-30  Vladimir Krasnov  <vladimirk@mainsoft.com>
753
754         * HttpResponse.cs: fixed TARGET_J2EE part of Redirect for portlet
755
756 2007-01-30  Adar Wesley <adarw@mainsoft.com>
757
758         * VirtualPathUtility.cs: fixed exceptions thrown from Combine
759         so they are compatible with MS.
760
761 2007-01-25  Marek Habersack  <grendello@gmail.com>
762
763         * HttpApplication.cs: Make sure that a specific culture is used
764         when setting the current thread culture.
765
766 2007-01-21 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
767
768         * HttpServerUtility.cs: implement Execute/Transfer overloads that take
769         an IHttpHandler. Still missing the documented check for page IsCallback.
770         Also, on MS when i derive from Page for my IHttpHandler, it works fine,
771         but if I just implement IHttpHandler, an exception is thrown. This needs
772         to be researched but, by now, the IHttpHandler version works on mono
773         and fails on MS.
774
775 2007-01-20  Miguel de Icaza  <miguel@novell.com>
776
777         * SiteMapNode.cs (GetExplicitResourceString): implement.
778
779         * HttpContext.cs (GetGlobalResourceObject): remove unused variable.
780
781         * StaticFileHandler.cs (ProcessRequest): remove unused variable.
782
783         * HttpApplication.cs (ProcessError): Remove unused variable. 
784
785         * HttpServerUtility.cs (Execute): Add new overload and rename
786         parameter to match MS (as they are normative).
787
788 2007-01-17  Marek Habersack  <grendello@gmail.com>
789
790         * HttpApplicationFactory.cs: Implement code and framework to
791         enable automatic application restarts on changes to folders/files
792         in a generic way. Patch from Damien Churchill
793         <damien.churchill@ukplc.net>, thanks!
794         Make sure the top-level assemblies (App_Code, resources) are not
795         referenced twice should a compilation error occur.
796
797 2007-01-16  Atsushi Enomoto  <atsushi@ximian.com>
798
799         * TraceData.cs : page could be null. Fixed bug #80480.
800
801 2007-01-15  Ilya Kharmatsky   <ilya -at- decode-systems.com>
802
803         * VirtualPathUtility.cs: fixed bugs in methods - GetDirectory and
804         GetExtension, according to the VirtualPathUtilityTest
805
806 2007-01-15  Vladimir Krasnov  <vladimirk@mainsoft.com>
807
808         * SiteMapProvider.cs: fixed IsAccessibleToUser, true if
809         SecurityTrimmingEnabled not enabled, true if Roles exists on node and
810         rolename is '*'
811
812 2007-01-14  Eyal Alaluf  <eyala@mainsoft.com>
813
814         * HttpRequest.jvm.cs, HttpContext.jvm.cs: Added TARGET_J2EE specific files.
815         * HttpContext.cs, HttpResponse.cs, HttpRequest.cs, HttpCookie.cs:
816           Add J2EE Portal support for TARGET_J2EE.
817
818 2007-01-04  Vladimir Krasnov  <vladimirk@mainsoft.com>
819
820         * HttpRequest.cs: fixed IsLocal, should check all ip addresses of host
821
822 2007-01-05  Marek Habersack  <grendello@gmail.com>
823
824         * HttpApplicationFactory.cs: Use the new app resources compiler.
825
826         * HttpRuntime.cs: Use the new app resources compiler.
827
828         * HttpContext.cs: Reimplement the GetGlobalResourceObject
829         methods, implement the GetLocalResourceObject methods.
830
831         * HttpResponse.cs: Implement the HeaderEncoding property.
832
833 2007-01-04  Andreia Gaita  <avidigal@novell.com>
834
835         * HttpRuntime.cs: Add check for NET_2_0 when initializing
836         WebConfigurationManager, build failing on 1.1 profile
837         
838 2007-01-04  Vladimir Krasnov  <vladimirk@mainsoft.com>
839
840         * HttpApplicationFactory.cs, HttpRuntime.cs: WebConfigurationManager
841         should be initializaed before any possible access to it
842
843 2007-01-04  Vladimir Krasnov  <vladimirk@mainsoft.com>
844
845         * HttpRequest.cs: fixed Path property, add call of
846         Uri.UnescapeDataString in net_2_0
847
848 2007-01-04  Vladimir Krasnov  <vladimirk@mainsoft.com>
849
850         * HttpApplication.cs: fixed PreStart, should not set thread culture
851         to invariant
852
853 2007-01-03  Vladimir Krasnov  <vladimirk@mainsoft.com>
854
855         * HttpRequest.cs: fixed jvm version of MakeInputStream, should not
856         throw exception on zero content length
857
858 2007-01-03  Vladimir Krasnov  <vladimirk@mainsoft.com>
859
860         * SiteMap.cs, SiteMapNodeCollection.cs: TARGET_JVM of static members
861
862 2006-12-20  Marek Habersack  <grendello@gmail.com>
863
864         * HttpContext.cs: add internal setter for the Profile property.
865
866         * HttpApplicationFactory.cs: Added a shortcut version of
867         InvokeSessionEnd for use from the 2.0 SessionState code.
868
869 2006-12-18  Vladimir Krasnov  <vladimirk@mainsoft.com>
870
871         * HttpRequest.cs: fixed Path property, returns unescaped url
872
873 2006-12-16  Marek Habersack  <grendello@gmail.com>
874
875         * HttpRequest.cs: Fix for http exception during first visit to an
876         application when the visit path is not the app's virtual root.
877
878 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
879
880         * SiteMapProvider.cs.cs:
881         * XmlSiteMapProvider.cs: fixed: because more then one node with empty url
882         is allowed unique key is generated for each node.               
883
884 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
885
886         * SiteMapProvider.cs.cs: fixed: IsAccessibleToUser resolvs relative url.
887         * StaticSiteMapProvider.cs: fixed: RemoveNode   
888
889 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
890
891         * VirtualPathUtility.cs: fixed: Combine(), ToAbsolute() methods.
892
893 2006-12-12 Igor Zelmanovich <igorz@mainsoft.com>
894
895         * VirtualPathUtility.cs: fixed: IsAppRelative() method.
896
897 2006-12-07  Vladimir Krasnov  <vladimirk@mainsoft.com>
898
899         * BrowserCapabilities.cs: fixed MSDomVersion property
900
901 2006-12-05 Igor Zelmanovich <igorz@mainsoft.com>
902
903         * VirtualPathUtility.cs: fixed: ToAbsolute() method.
904
905 2006-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
906
907         * HttpRequest.cs: call MapPath on the HttpWorkerRequest so that if
908         FilePath is changed we get the new physical path, not the one of the
909         original request. Fixes bug #80152.
910
911 2006-12-03 Igor Zelmanovich <igorz@mainsoft.com>
912
913         * HttpWriter.cs: reverted r38835.
914
915 2006-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
916
917         * HttpWriter.cs: remove unused WriteBytes method.
918
919 2006-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
920
921         * HttpRequest.cs: physical path comes from GetFilePathTranslated to
922         avoid trimming in HttpRequest.MapPath.
923
924 2006-11-29  Marek Habersack  <grendello@gmail.com>
925
926         * HttpApplication.cs: Make use of the handler stack implemented
927         in HttpContext.
928
929         * HttpCacheVaryByHeaders.cs: Optionally omit the vary:* header
930         value in the 2.0 profile.
931
932         * HttpServerUtility.cs: Make use of the handler stack implemented
933         in HttpContext.
934         Implemented the UrlToken{Encode,Decode} 2.0 methods.
935
936         * HttpResponse.cs: Implemented the IsRequestBeingRedirected
937         property.
938
939         * HttpContext.cs: Implemented the CurrentHandler and PreviousHandler
940         methods, together with helper functions to handle the handler
941         stack.
942         GetSection(string) should be present only in the 2.0 profile.
943
944         * HttpCachePolicy.cs: implement the SetNoServerCaching,
945         SetNoStore, SetNoTransforms, SetValidUntilExpires and
946         SetOmitVaryStar methods.
947         Added code to set the no-store and no-transform options of the
948         Cache-Control header.
949
950 2006-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
951
952         * HttpServerUtility.cs: don't prepend extra '?' when the original url
953         already has a query string. Fixes bug #80042.
954
955 2006-11-24  Miguel de Icaza  <miguel@novell.com>
956
957         * HttpApplicationFactory.cs (InitType): Also look for "Web.Config"
958         casing here.
959
960 2006-11-20  Marek Habersack  <grendello@gmail.com>
961
962         * HttpApplication.cs: Added support for automatic detection of
963         user's preferred language.
964
965 2006-11-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
966
967         * HttpApplication.cs: don't leak the directory name for non-local
968         connections.
969
970 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
971
972         * CapabilitiesLoader.cs: made the hasstable that contains the properties
973         for the brower case insensitive. Fixes bug #79795.
974
975 2006-11-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
976
977         * HttpResponse.cs: fix typo that prevented Server.Execute from restoring
978         the initial output stream used. Closes bug #79916.
979
980 2006-11-12  Marek Habersack  <grendello@gmail.com>
981
982         * HttpContext.cs: Implemented the 2.0 RewritePath overloads.
983
984 2006-11-08  Marek Habersack  <grendello@gmail.com>
985
986         * HttpRuntime.cs: Moved the resource compiler results handling to
987         the resource compiler itself.
988
989         * HttpApplicationFactory.cs: Add invocation of the App_Code
990         compiler. Moved the resource compiler results handling to the
991         resource compiler itself. Removed compilation of the local
992         resources from here - it should be done only when a request
993         determines that the App_LocalResources directory exists.
994         
995
996 2006-11-07  Andrew Skiba  <andrews@mainsoft.com>
997
998         * HttpRuntime.cs: TARGET_JVM ifdef
999
1000 2006-11-05  Andrew Skiba  <andrews@mainsoft.com>
1001
1002         * SiteMapProvider.cs: don't iterate through Roles when they are null.
1003
1004 2006-11-05  Vladimir Krasnov  <vladimirk@mainsoft.com>
1005
1006         * HttpContext.cs: implemented Profile property
1007
1008 2006-11-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1009
1010         * HttpApplication.cs: the unexpected 'tick' exceptions can be an abort
1011         exception due to timeout or end of the request.
1012
1013 2006-10-18  Marek Habersack  <grendello@gmail.com>
1014
1015         * HttpRuntime.cs: add support for compilation of local resources
1016         at the start of request.
1017
1018         * HttpContext.cs: implement the GetGlobalResourceObject APIs
1019
1020         * HttpApplicationFactory.cs: include the bootstrap code for the
1021         global/local resources compiler.
1022
1023 2006-10-09  Marek Habersack  <grendello@gmail.com>
1024
1025         * HttpApplication.cs: change the pipeline order for ASP.NET 2.0 to
1026         comply with the Microsoft documentation.
1027
1028 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1029
1030         * HttpApplication.cs: this makes the test run successfully. Still need
1031         to figure out why that is null.
1032
1033 2006-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1034
1035         * HttpApplication.cs: band-aid patch to help debugging hang running 2.0
1036         tests.
1037
1038 2006-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1039
1040         * HttpServerUtility.cs: 1.1 Execute(s) preserves the query string.
1041         Thanks to Hubert Fongarnand. Fixes bug #79506.
1042
1043 2006-09-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1044
1045         * QueueManager.cs: if disposed, always return null for next request.
1046         * HttpRuntime.cs: dispose the queue manager when shutting down the
1047         domain. This will close pending requests with a 503.
1048         * HttpApplication.cs: release the handler before marking the request
1049         as completed. If in PipelineDone context is null, use
1050         HttpContext.Current. Fixes some of those "Tick detected an unhandled
1051         exception" errors printed out.
1052
1053 2006-09-11  Andrew Skiba <andrews@mainsoft.com>
1054
1055         * XmlSiteMapProvider.cs: ifdef TARGET_JVM
1056
1057 2006-09-11  Vladimir Krasnov  <vladimirk@mainsoft.com>
1058
1059         * HttpWriter.cs: fixed WriteLine to work correctly in utf-16 encoding
1060
1061 2006-09-08  Robert Jordan  <robertj@gmx.net>
1062
1063         * TraceData.cs: fixed NRE if `sizes' is null, which may happen
1064         if a page was unable to save its viewstate and size.
1065
1066 2006-09-07 Andrew Skiba <andrews@mainsoft.com>
1067
1068         * HttpApplicationFactory.cs: ifdef the previous fix with TARGET_JVM to
1069         pass compilation.
1070
1071 2006-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1072
1073         * HttpApplicationFactory.cs: watch web.config too. Fixes bug #78356.
1074
1075 2006-09-05  Konstantin Triger <kostat@mainsoft.com>
1076
1077         * SiteMapProvider.cs: consider authorization section for access decision.
1078
1079 2006-09-04 Igor Zelmanovich <igorz@mainsoft.com>
1080
1081         * HttpUtility.cs: fixed UrlPathEncode method.
1082
1083 2006-08-31      Boris Kirzner <borisk@mainsoft.com>
1084
1085         * VirtualPathUtility.cs : pass parameters in correct order.
1086
1087 2006-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1088
1089         * HttpApplicationFactory.cs: handle the 'renamed' event too.
1090
1091 2006-08-08  Vladimir Krasnov  <vladimirk@mainsoft.com>
1092
1093         * HttpApplication.cs: fixed BeginProcessRequest, TARGET_JVM part
1094         merged
1095
1096 2006-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1097
1098         * HttpApplication.cs: don't leak local path names when a file is not
1099         found.
1100
1101 2006-06-21 Konstantin Triger <kostat@mainsoft.com>
1102
1103         * XmlSiteMapProvider.cs: if the url is relative, make it relative to the
1104                 context root.
1105
1106 2006-06-07 Juraj Skripsky <js@hotfeet.ch>
1107
1108         * HttpException.cs (GetHtmlizedErrorMessage): Beautify compilation error
1109         page by showing multiple errors on separate lines.
1110
1111 2006-06-05 Juraj Skripsky <js@hotfeet.ch>
1112
1113         * HttpRequest.cs: simplify code around uri_builder (and rename 
1114         to url_components). Move storage of query_string into 
1115         uri_builder.Query and initialize it lazily using 
1116         worker_request.GetQueryStringRawBytes() or GetQueryString().
1117         (QueryString): Use HttpUtility.ParseQueryString instead of 
1118         duplicating its functionality.
1119
1120 2006-06-05 Juraj Skripsky <js@hotfeet.ch>
1121
1122         * HttpUtility.cs (ParseQueryString): move core of
1123         ParseQueryString into internal method to make it available to 
1124         HttpRequest.
1125
1126 2006-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1127
1128         * HttpApplication.cs: assign the context when run from a thread not in
1129         the threadpool. Patch by Andrew Skiba. Fixes bug #78583.
1130
1131 2006-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1132
1133         * HttpApplication.cs: context.Handler does not change for
1134         HttpServerUtility.Execute, so moved setting it into the pipeline instead
1135         of GetHandler.
1136
1137 2006-05-17  Kazuki Oikawa  <kazuki@panicode.com>
1138
1139         * HttpUtility.cs: implemented ParseQueryString
1140
1141 2006-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1142
1143         * HttpUtility.cs: get rid of TryParseHexa.
1144
1145 2006-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1146
1147         * HttpApplicationFactory.cs: make sure that the application start event
1148         is run before any request is processed.
1149
1150 2006-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1151
1152         * HttpServerUtility.cs: don't reset the query string in Execute() when
1153         the path does not contain it and we have one from the previous request.
1154         Fixes bug #78177.
1155
1156 2006-04-20 Andrew Skiba <andrews@mainsoft.com>
1157
1158         * SiteMapNode.cs: fix few null reference exceptions
1159
1160 2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1161
1162         * HttpResponse.cs:
1163         (TransmitFile): make sure we can read the file before buffering it.
1164
1165 2006-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1166
1167         * HttpApplicationFactory.cs: don't fail on events that are not
1168         EventHandlers. Patch by Matthew Metnetsky.
1169
1170 2006-04-11 Andrew Skiba <andrews@mainsoft.com>
1171
1172         * HttpRequest.cs: remove code duplication (see UrlUtils.Combine)
1173
1174 2006-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1175
1176         * HttpUtility.cs: allow "%%" as a escape for '%' and ignore invalid
1177         hexadecimal characters. Based on a patch by Vladimir Krasnov.
1178
1179 2006-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1180
1181         * HttpWriter.cs: only keep the byte buffer around if its size is less
1182         than or equals to 32K.
1183
1184 2006-04-08  Miguel de Icaza  <miguel@novell.com>
1185
1186         * HttpWriter.cs (Write): Added missing check for null string as
1187         something is now calling it like that. 
1188
1189 2006-03-27 Joshua Tauberer <tauberer@for.net>
1190
1191         * HttpWriter.cs: Avoid creation of a byte[] on each Write()
1192           by reusing and resizing a private array.
1193
1194 2006-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1195
1196         * HttpRequest.cs: the field content_length can be < 0 and then we try to
1197         read when there's no data and block.
1198
1199 2006-04-05 Andrew Skiba <andrews@mainsoft.com>
1200
1201         * HttpUtility: UrlEncode and UrlEncodeUnicode logic unified, behaviour
1202         fixed to match dotnet and http://rfc.net/rfc1738.html
1203
1204 2006-03-30 Konstantin Triger <kostat@mainsoft.com>
1205
1206         * HttpApplicationFactory.cs: refactoring: remove static modifier from session_end field.
1207         Does not check the behavior as HttpApplicationFactory is a singleton.
1208
1209 2006-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1210
1211         * HttpUtility.cs: UrlDecode does not throw if an hexadecimal sequence
1212         fails to parse as an integer. Fixes bug #77931.
1213
1214 2006-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1215
1216         * HttpResponse.cs: more fixes for CacheControl: MS allows to set it to
1217         null and "" and the getter value does not completely depend on Cache.
1218
1219         * HttpRequest.cs: fail validating the request input if there's a control
1220         character after a '<'. Fixes XSS_Null test.
1221
1222         All System.Web tests pass again.
1223 2006-03-22  Robert Jordan  <robertj@gmx.net>
1224
1225         * HttpCachePolicy.cs: fix the Cache-control header. Fixes bug #77826.
1226
1227 2006-03-22  Chris Toshok  <toshok@ximian.com>
1228
1229         * HttpApplication.cs: fix typo - AuthenticateRequest =>
1230         PostAuthenticateRequest.
1231
1232 2006-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1233
1234         * ChangeLog:
1235         * HttpRequest.cs: revert part of r58229.
1236
1237 2006-03-21  Vladimir Krasnov  <vladimirk@mainsoft.com>
1238
1239         * ServerVariablesCollection.cs: fixed "URL" variable, it should not
1240         return path info
1241
1242 2006-03-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1243
1244         * HttpRequest.cs:
1245         (CheckString): style and don't index the string twice per iteration.
1246
1247 2006-03-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1248
1249         * TempFileStream.cs: a FileStream that removes the file once
1250         it is disposed.
1251         * HttpRequest.cs: support for writing request data to on-disk
1252         files if the request is longer than the threshold specified in the
1253         configuration files. In mono this will work for 1.x and 2.0, while with
1254         MS this only works for 2.0.
1255
1256 2006-03-18  Robert Jordan  <robertj@gmx.net>
1257
1258         * HttpCachePolicy.cs: expose the validation callbacks.
1259         Fixes bug #77825.
1260
1261 2006-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1262
1263         * HttpApplication.cs: fix upper bound when iterating through the module
1264         collection.
1265
1266 2006-03-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1267
1268         * HttpRequest.cs: use the provided content encoding to decode the file
1269         name. Fixes bug #77714.
1270
1271 2006-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1272
1273         * HttpResponse.cs: allow setting a Cache-Control header through
1274         AppendHeader. Fixes bug #77775.
1275
1276 2006-03-15  Chris Toshok  <toshok@ximian.com>
1277
1278         * XmlSiteMapProvider.cs (RemoveProvider): oops, no override.
1279
1280         * StaticSiteMapProvider.cs (AddNode): call MapUrl.
1281         (FindSiteMapNode): same.
1282
1283 2006-03-15  Chris Toshok  <toshok@ximian.com>
1284
1285         * SiteMapProvider.cs (ReturnNodeIfAccessible): new function,
1286         either return the node or throw InvalidOperationException.
1287         (get_RootNode): use ReturnNodeIfAccessible.
1288         (IsAccessibleToUser): flesh this out a bit, and add comments on
1289         how the rest of the implementation should be written.
1290         (FindSiteMapNodeFromKey): implement to match MS behavior, docs be
1291         damned.
1292
1293         * XmlSiteMapProvider.cs: corcompare work.
1294
1295         * StaticSiteMapProvider.cs (AddNode): Add a check to see if node
1296         == RootNode.  Not sure if this is actually correct, but it's
1297         required given our implementation of XmlSiteMapProvider.  without
1298         this check, we end up assigning RootNode.ParentNode == RootNode,
1299         which makes for an infinite loop when we traverse up the tree.
1300
1301 2006-03-15  Vladimir Krasnov  <vladimirk@mainsoft.com>
1302
1303         * HttpRequest.cs: fixed MakeInputStream method under TARGET_JVM,
1304         fixed if content lenght value is less that byte received
1305
1306 2006-03-10  Chris Toshok  <toshok@ximian.com>
1307
1308         * StaticSiteMapProvider.cs (UrlToNode): this entire file is #if
1309         NET_2_0, no need to embed another #if NET_2_0.
1310
1311         * SiteMapProvider.cs (AddNode): throw NotImplementedException.
1312         (FindSiteMapNode): with null context, return null.  don't throw
1313         ArgumentNullException.
1314         (RemoveNode): throw NotImplementedException.
1315         (IsAccessibleToUser): check arguments to make test pass.  still
1316         lacking the method's actual functionality.
1317         (ResourceKey): add missing property.
1318
1319 2006-03-10  Chris Toshok  <toshok@ximian.com>
1320
1321         * HttpRequest.cs (CheckString): add back in the check for \xff1c
1322         that i took out.  oops.
1323
1324 2006-03-10  Chris Toshok  <toshok@ximian.com>
1325
1326         * HttpRequest.cs (CheckString): implement as described in
1327         Shackow's "Professional ASP.NET 2.0 Security, Membership, and Role
1328         Management", page 310.
1329
1330 2006-03-08  Chris Toshok  <toshok@ximian.com>
1331
1332         * SiteMap.cs: clean this up a bunch.  use the SiteMapSection to
1333         initialize the provider collection, and don't add a provider.
1334         web.config handles that for us.  Also, don't always return true
1335         from get_Enabled.
1336
1337 2006-02-28  Chris Toshok  <toshok@ximian.com>
1338
1339         * HttpCookieMode.cs: corcompare work.
1340
1341         * ProcessShutdownReason.cs: same.
1342
1343         * SiteMapNodeCollection.cs: same.
1344
1345         * SiteMapNode.cs: same.
1346
1347         * SiteMapProvider.cs: same.
1348
1349         * HttpCacheRevalidation.cs: same.
1350
1351         * HttpCacheability.cs: same.
1352
1353         * StaticSiteMapProvider.cs: same.
1354
1355         * HttpValidationStatus.cs: same.
1356         
1357 2006-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1358
1359         * DefaultHttpHandler.cs: New file.
1360
1361 2006-02-01  Chris Toshok  <toshok@ximian.com>
1362
1363         * SiteMap.cs: use GetSection instead of GetWebApplicationSection.
1364
1365 2006-02-01  Chris Toshok  <toshok@ximian.com>
1366
1367         * HttpApplication.cs: CONFIGURATION_2_0 => NET_2_0, and use
1368         GetSection instead of GetWebApplicationSection.
1369
1370         * HttpApplication.jvm.cs: same.
1371         
1372         * HttpApplicationFactory.cs: same.
1373
1374         * HttpContext.cs: same.
1375
1376         * CapabilitiesLoader.cs: same.
1377
1378         * QueueManager.cs: same.
1379
1380         * HttpRuntime.cs: same.
1381
1382         * TraceManager.cs: same.
1383
1384         * HttpRequest.cs: same.
1385         
1386 2006-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1387
1388         * HttpApplication.cs: keep any exception that happens during
1389         initialization.
1390
1391 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1392
1393         * HttpDataTransferMode.cs: Removed file.
1394         * HttpRequestPriority.cs: Removed file.
1395         * ApplicationShutdownReason.cs:
1396         * SiteMap.cs:
1397         * HttpRuntime.cs:
1398         * HttpApplication.cs: minor class status fixes.
1399
1400 2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1401
1402         * VirtualPathUtility.cs: done with all the not implemented methods.
1403
1404 2006-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1405
1406         * HttpResponse.cs: use UInt64.Parse for content length. In AppendHeader,
1407         set cache_control through the property to update the cachebility
1408         accordingly. When using the cached headers, don't add again all the
1409         headers to that collection.
1410         * HttpCacheVaryByParams.cs: if there are no params, return null.
1411         Otherwise we get an empty 'Vary' header.
1412
1413 2006-01-25  Chris Toshok  <toshok@ximian.com>
1414
1415         * HttpApplication.cs (Start): wrap InitOnce in a try/catch block,
1416         and if there's a configuration error, output it and end things
1417         immediately.
1418
1419 2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1420
1421         * HttpRequest.cs: fixed the file path when RewritePath is used. Also
1422         add the PathInfo to the Url. Fixes bug #77291.
1423
1424 2006-01-22  Chris Toshok  <toshok@ximian.com>
1425
1426         * HttpRequest.cs (ReadBoundary): remove two unused variables to
1427         quiet mcs.
1428         (IsBoundary): remove unused method.
1429
1430         * MimeTypes.cs (.cctor): use a 2.0 friendly form of the Hashtable
1431         ctor to silence a warning.
1432
1433         * HttpCacheVaryByHeaders.cs (.ctor): same.
1434
1435         * HttpCacheVaryByParams.cs (.ctor): same.
1436
1437         * StaticSiteMapProvider.cs (UrlToNode): same.
1438
1439 2006-01-22  Konstantin Triger <kostat@mainsoft.com>
1440
1441         * HttpWorkerRequest.cs: ensure case insensitivity in header search.
1442
1443 2006-01-19  Konstantin Triger <kostat@mainsoft.com>
1444
1445         * HttpApplication.jvm.cs: merge HttpApplication.cs changes.
1446
1447 2006-01-17  Chris Toshok  <toshok@ximian.com>
1448
1449         * CapabilitiesLoader.cs (Init): use WebConfigurationManager in the
1450         CONFIGURATION_2_0 case.
1451
1452         * HttpRuntime.cs (MachineConfigurationDirectory): same.
1453
1454 2006-01-16  Chris Toshok  <toshok@ximian.com>
1455
1456         * HttpApplicationFactory.cs: call WebConfigurationManager.Init in
1457         the CONFIGURATION_2_0 case.
1458
1459 2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1460
1461         * HttpWriter.cs: made Write (char) less memory hungry. Thanks to Mike
1462         Glenn for pointing this out.
1463
1464 2006-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1465
1466         * HttpApplicationFactory.cs: fix condition for ContextAvailable.
1467
1468 2006-01-11  Vladimir Krasnov  <vladimirk@mainsoft.com>
1469
1470         * HttpResponse.cs: removed TARGET_JVM block from End
1471         * GetJavaTextReader: Merged TARGET_JVM block from LoadFile
1472         to GetJavaTextReader
1473
1474 2006-01-11  Vladimir Krasnov  <vladimirk@mainsoft.com>
1475
1476         * HttpRequest.cs: removed TARGET_JVM block from MapPath
1477
1478 2006-01-11  Vladimir Krasnov  <vladimirk@mainsoft.com>
1479
1480         * HttpRequest.cs: little fix in MapPath(), virtualPath.Replace
1481         return value wasnt stored.
1482
1483 2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1484
1485         * HttpResponse.cs: typo in comment.
1486
1487         * HttpApplicationFactory.cs:
1488         * HttpApplication.cs: don't discard the application used for running the
1489         Application_Start event to allow for Redirect/Transfer to be used. Fail
1490         to get the request/response from the application object as MS does (it
1491         can still be retrieved through HttpContext.Current.blah). Fixes
1492         bug #77162.
1493
1494 2006-01-09  Vladimir Krasnov <vladimirk@mainsoft.com>
1495
1496         * CapabilitiesLoader.cs: Merged TARGET_JVM parts in LoadFile
1497         from /main/9
1498         * HttpException.cs: Merged TARGET_JVM parts in GetHtmlizedErrorMessage
1499         from /main/13
1500         * HttpRequest.cs: Merged TARGET_JVM parts in MapPath from /main/29
1501         * HttpResponse.cs: Merged TARGET_JVM parts in End() from /main/30
1502         * StaticFileHandler.cs: Merged TARGET_JVM parts in ProcessRequest
1503         from /main/7
1504
1505 2006-01-08  Konstantin Triger <kostat@mainsoft.com>
1506
1507         * BrowserCapabilities.cs, HttpBrowserCapabilities.cs,
1508         HttpResponseStream.cs: TARGET_JVM changes to let the compilation
1509         pass with csc 1.1.
1510
1511 2006-01-04  Chris Toshok  <toshok@ximian.com>
1512
1513         * HttpContext.cs (IsCustomErrorEnabled): add CONFIGURATION_2_0
1514         code.  use a nasty 'using' hack to map the 2.0 CustomErrorsMode to
1515         the 1.x CustomErrorMode name.
1516         (IsDebuggingEnabled): add CONFIGURATION_2_0 code.
1517         (ConfigTimeout): add CONFIGURATION_2_0 code.
1518
1519         * HttpRequest.cs (MakeInputStream): add CONFIGURATION_2_0 code.
1520
1521         * HttpApplication.cs (RedirectCustomError): add CONFIGURATION_2_0
1522         code.
1523
1524         * SiteMap.c (Init): use
1525         WebConfigurationManager.GetWebApplicationSection.
1526
1527 2005-12-21  Miguel de Icaza  <miguel@novell.com>
1528
1529         * HttpUtility.cs (UrlEncodeUnicode): The generated encoding of
1530         unicode values must be in %XXXX format, not %XX sometimes.
1531
1532 2005-12-08 Robert Jordan  <robertj@gmx.net> 
1533
1534         * MimeTypes.cs: added entry for "jpg".
1535
1536 2005-12-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1537
1538         * HttpRequest.cs: only read up to content-length when provided. Patch
1539         by Peter Teichman.
1540
1541 2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1542
1543         * HttpCookie.cs: fixed the set_Secure. Closes bug #76906.
1544
1545 2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1546
1547         * HttpResponseStream.cs: flush the filter stream before closing.
1548         Patch by Geir Bergum that fixes bug #76753.
1549
1550 2005-11-28  Chris Toshok  <toshok@ximian.com>
1551
1552         * HttpContext.cs (Profile): remove the #if false from around this,
1553         as we now have the ProfileBase type.
1554         (GetConfig): add CONFIGURATION_2_0 version.
1555         (GetSection): add CONFIGURATION_2_0 version.
1556
1557 2005-11-28  Chris Toshok  <toshok@ximian.com>
1558
1559         * TraceManager.cs (..ctor): CONFIGURATION_2_0 work.
1560
1561         * QueueManager.cs (..ctor): CONFIGURATION_2_0 work.
1562
1563         * HttpRequest.cs (AnonymousID): add 2.0 property.
1564         (MakeInputStream): CONFIGURATION_2_0 work.
1565
1566         * HttpApplication.cs (InitOnce): change around the
1567         CONFIGURATION_2_0 stuff since we need additional Culture foo for
1568         it.
1569
1570 2005-11-27  Chris Toshok  <toshok@ximian.com>
1571
1572         * HttpApplication.cs (InitOnce): add Configuration_2.0 code.
1573         (GetHandler): same.
1574
1575 2005-11-26  Miguel de Icaza  <miguel@novell.com>
1576
1577         * HttpResponseStream.cs: Do not try to write zero bytes.
1578
1579 2005-11-24  Miguel de Icaza  <miguel@novell.com>
1580
1581         * WebROCollection.cs: Do not add an empty "=" to the query string
1582         if the key is empty or null.
1583
1584 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1585
1586         * WebROCollection.cs: override ToString and generate a query string from
1587         the key/value pairs. Fixes bug #76779.
1588
1589 2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1590
1591         * HttpServerUtility.cs: prevent possible nullref in GetLastError().
1592
1593 2005-11-07  Jason Diamond  <jason@diamond.name>
1594
1595         * HttpRequest.cs: Don't throw exception when Content-Length doesn't
1596         match length of POSTed data. Also, allow charset parameter on
1597         Content-Type header when type is "application/x-www-form-urlencoded".
1598
1599 2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1600
1601         * WebROCollection.cs: add an ID for the collection. Page needs it.
1602
1603 2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1604
1605         * HttpRequest.cs: no need to allocate the buffer when all the content
1606         is preloaded.
1607
1608 2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1609
1610         * HttpApplication.cs: ignore TAE in ProcesssError. The Error event might
1611         redirect or transfer and that causes a TAE to be thrown. Fixes
1612         bug #76573.
1613
1614 2005-11-01  Chris Toshok  <toshok@ximian.com>
1615
1616         * VirtualPathUtility.cs: new (partial implementation) to get some
1617         MS provider examples compiling.
1618
1619 2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1620
1621         * HttpContext.cs: added a new internal overload for ClearError.
1622
1623 2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1624
1625         * HttpRuntime.cs: invoke callbacks on private items in the cache before 
1626         calling disposing the app. factory. This way we get notifications of
1627         removal for all sessions stored in the cache (InProc only).
1628
1629 2005-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1630
1631         * HttpResponseStream.cs: reworked buffering so that adjacents blocks are
1632         written at once. Also fix bug #76460.
1633
1634 2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1635
1636         * HttpResponseStream.cs: when allocating a chunk larger than the
1637         default chunk size, mark all the blocks as taken. Fixes bug
1638         #76452.
1639
1640 2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1641
1642         * HttpResponse.cs: use HaveFilter instead of Filter.
1643         * HttpResponseStream.cs: allocate chunks of the requested size
1644         when it's > 32KB. Fixes bug #76460.
1645
1646 2005-10-14  Sebastien Pouliot  <sebastien@ximian.com> 
1647
1648         * ServerVariablesCollection.cs: Added a demand for 
1649         SerializationFormatter on GetObjectData method (even if it's not 
1650         really required in this case as it remove warnings from gendarme.
1651
1652 2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1653
1654         * HttpResponse.cs:
1655         * HttpRequest.cs: buglets in error checking in Filter.
1656
1657 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1658
1659         * OutputFilterStream.cs: proxy class for response filters.
1660         * HttpResponse.cs: moved all the actual write operations into the
1661         response stream. Handle response filtering. When caching, get the
1662         actual length of the data, not the buffer length.
1663         * HttpApplication.cs: if there's no error, invoke the filters before
1664         updating the request cache.
1665         * HttpResponseStream.cs: new Filter property. SendChunkSize is moved
1666         here and now supports writing the final chunk. New method ApplyFilter
1667         that filters the existing buckets and replaces them with the filtered
1668         ones. Modified Write to deal with buffering and filtering.
1669
1670 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1671
1672         * HttpResponseStream.cs: allow for writes of more than 32K at once.
1673
1674 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1675
1676         * InputFilterStream.cs proxy stream for use by filters.
1677         * HttpRequest.cs: implement input filtering.
1678
1679 2005-10-02 Eyal Alaluf <eyala@mainsoft.com>
1680         * HttpApplication.jvm.cs - Workaround for use of yield in
1681         HttpApplication.cs HttpRuntime.cs: AppDomain.Unload is not supported
1682         * under TARGET_J2EE
1683
1684 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1685
1686         * HttpResponseStream.cs: remove dead code.
1687
1688 2005-09-29  Sebastien Pouliot  <sebastien@ximian.com> 
1689
1690         * HttpClientCertificate.cs: Remove last TODO on IsValid. This now 
1691         works when using XSP. Now use flags to determine valid/presence.
1692
1693 2005-09-26  Chris Toshok  <toshok@ximian.com>
1694
1695         * HttpApplicationFactory.cs (OnAppFileChanged): add null checks
1696         for bin_watcher and app_file_watcher so we don't get NRE's here.
1697
1698 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1699
1700         * BrowserCapabilities.cs: don't rely on the win32 attribute to be there.
1701         Just use the platform to determine whether Win32 is true or not. Fixes
1702         bug #74777.
1703
1704 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1705
1706         * HttpApplication.cs: fixed typo when setting UI culture. Closes bug
1707         #76189.
1708
1709 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1710
1711         * HttpRequest.cs: new SetFilePath() that does not conflict with
1712         SetCurrentExePath. Now when transfering from a page to another,
1713         CurrentExecutionFilePath and FilePath are correct.
1714
1715 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1716
1717         * TraceContext.cs: add new method to store size of controls.
1718         * TraceData.cs: render control size.
1719         * HttpResponse.cs: new internal method to get the number of bytes of
1720         buffered output.
1721         * HttpResponseStream.cs: added Length property to the Buckets and new
1722         GetTotalLength.
1723
1724 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1725
1726         * TraceData.cs: we have to change the method of getting a control render
1727         size. MS does not do this or otherwise would run into the same bug
1728         (#76051) that this patch fixes. This is temporarily setting the size
1729         to 0.
1730
1731 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1732
1733         * HttpResponseStream.cs: implemented Send(stream) for files. Fixes bug
1734         #76145.
1735
1736 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1737
1738         * HttpRuntime.cs: catch errors when compiling global.asax and
1739         initializing the application. Fixes bug #76090.
1740
1741 2005-09-14  Sebastien Pouliot  <sebastien@ximian.com> 
1742  
1743         * BrowserCapabilities.cs: Fixed changes (in 2.0) with versions. Fixed
1744         compare with "True" (culture and case sensitivity).
1745         * HttpApplicationState.cs: Added LinkDemand for Minimal. Use the 
1746         internal HttpStaticObjectsCollection ctor to avoid the UnmanagedCode
1747         demand.
1748         * HttpContext.cs: Added LinkDemand for Minimal. Added 2.0 properties
1749         and methods to test CAS on them.
1750         * HttpRequest.cs: Added LinkDemand for Minimal. Ensure we return 
1751         proper values when worker_request is null.
1752         * HttpResponse.cs: Added LinkDemand for Minimal. Ensure we return 
1753         proper values when context or WorkerRequest is null. Added 2.0 
1754         properties and methods to test CAS on them.
1755         * HttpRuntime.cs: Added LinkDemand for Minimal. Added PathDiscovery 
1756         demands for properties returning directories. Added demand for High 
1757         level on AppDomainAppId and AppDomainId properties, Low level on 
1758         IsOnUNCShare, Medium level on ProcessRequest and a demand for 
1759         UnmanagedCode on UnloadAppDomain method. Constructor also has a 
1760         UnmanagedCode demand for 1.x.
1761         * HttpStaticObjectsCollection.cs: Added LinkDemand for Minimal. Added
1762         a UnmanagedCode demand to public ctor. Added internal ctor without the
1763         demand. Changed Serialize and Deserialize methods to public for 2.0.
1764
1765 2005-09-14  Sebastien Pouliot  <sebastien@ximian.com>
1766
1767         * HttpWorkerRequest.cs: Removed TODO for 2.0 APIs and return the 
1768         default values for them.
1769
1770 2005-09-13  Sebastien Pouliot  <sebastien@ximian.com>
1771
1772         * HttpApplication.cs: : Added LinkDemand and InheritanceDemand (class)
1773         for Minimal. Changed AssemblyLocation to a property (so it doesn't 
1774         require special permission, PathDiscovery) to create an instance. 
1775         Protected Modules property with a Demand for High level. Added some 
1776         missing HttpException for null context.
1777         * HttpServerUtility.cs: Added LinkDemand for Minimal. Added demands 
1778         for UnmanagedCode on all CreateObject* methods. Added demand for 
1779         Medium level on MachineName and ScriptTimeout properties. Added new
1780         overloaded Transfer method (2.0) to test CAS on it.
1781         * HttpUtility.cs: Added LinkDemand for Minimal. Added [Obsolete] to 
1782         ctor (2.0). Changed some return values when 'count' is 0. Added 
1783         ParseQueryString (overload) methods for 2.0 (to enabled CAS testing on
1784         them).
1785         * HttpWorkerRequest.cs: Added LinkDemand and InheritanceDemand (class)
1786         for Minimal. Added RequestTraceIdentifier and RootWebConfigPath (2.0) 
1787         properties, GetPreloadedEntityBody, GetPreloadedEntityBodyLength, 
1788         GetTotalEntityBodyLength and ReadEntityBody (2.0) methods to test CAS 
1789         on them. Fixed SendResponseFromMemory to ignore IntPtr.Zero (used in 
1790         tests without failures).
1791         * ServerVariablesCollection.cs: Fixed loadServerVariablesCollection 
1792         when HttpWorkerRequest is null.
1793         * TraceContext.cs: Added LinkDemand for Minimal. Fixed default Mode 
1794         (SortByTime). Added new (2.0) TraceFinished event to test CAS on it.
1795
1796 2005-09-13  Sebastien Pouliot  <sebastien@ximian.com> 
1797  
1798         * HttpBrowserCapabilities.cs: Added LinkDemand and InheritanceDemand 
1799         (class) for Minimal. Note that current MCS has problem compiling 
1800         security attributes on partial class (bug #75969).
1801         * HttpCachePolicy.cs: Added LinkDemand for Minimal. Added 2.0 methods
1802         (stub) to enable CAS tests on them.
1803         * HttpCacheVaryByHeaders.cs: Added LinkDemand for Minimal.
1804         * HttpCacheVaryByParams.cs: Added LinkDemand for Minimal.
1805         * HttpClientCertificate.cs: Added LinkDemand and InheritanceDemand 
1806         (class) for Minimal.
1807         * HttpCookie.cs: Added LinkDemand for Minimal.
1808         * HttpCookieCollection.cs: Added LinkDemand for Minimal.
1809         * HttpFileCollection.cs: Added LinkDemand for Minimal.
1810         * HttpModuleCollection.cs: Added LinkDemand for Minimal.
1811         * HttpPostedFile.cs: Added LinkDemand for Minimal.
1812         * HttpRequestPriority.cs: Fix enum values.
1813         * HttpWriter.cs: Added LinkDemand for Minimal.
1814
1815 2005-09-13  Sebastien Pouliot  <sebastien@ximian.com>
1816
1817         * ProcessInfo.cs: Added LinkDemand and InheritanceDemand (class) for
1818         Minimal.
1819         * ProcessModelInfo.cs: Added LinkDemand and InheritanceDemand (class)
1820         for Minimal. Methods GetCurrentProcessInfo and GetHistory are also
1821         protected by Demand for High level.
1822
1823 2005-09-13  Sebastien Pouliot  <sebastien@ximian.com> 
1824  
1825         * HttpCompileException.cs: Added new public ctors and [Serializable]
1826         to 2.0. Added new Message property and GetObjectData (protected by a
1827         demand for SerializationFormatter) for 2.0. Fixed line-ending.
1828         * HttpException.cs: Added LinkDemand and InheritanceDemand (class) for
1829         Minimal. Renamed parameters to match documentation.
1830         * HttpParseException.cs: Added LinkDemand (class) for Minimal. Added
1831         demand for SerializationFormatter on GetObjectData method. Fixed 
1832         line-ending.
1833         * HttpRequestValidationException.cs: Added new public ctors and 
1834         [Serializable] to 2.0. Added LinkDemand for Minimal.
1835         * HttpUnhandledException.cs: Added new public ctors and [Serializable]
1836         to 2.0. Removed unused internal ctor. Added LinkDemand for Minimal.
1837         Fixed line-ending.
1838
1839 2005-09-13  Sebastien Pouliot  <sebastien@ximian.com>
1840
1841         * HttpResponseSubstitutionCallback.cs: New. 2.0 delegate.
1842         * TraceContextEventArgs.cs: New. 2.0 class.
1843         * TraceContextEventHandler.cs: New. 2.0 delegate.
1844
1845 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1846
1847         * HttpRequest.cs: use GetServerName instead of GetLocalAddress when
1848         building the Url.
1849
1850 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1851
1852         * HttpRequest.cs: fix the indexer.
1853
1854 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1855
1856         * HttpPostedFile.cs: fixes in Seek and Position.
1857
1858 2005-09-08  Sebastien Pouliot  <sebastien@ximian.com>
1859
1860         * HttpRequest.cs: Make sure the MemoryStream created have their 
1861         contents marked as public - or else you can't call GetBuffer on them!
1862
1863 2005-09-08  Miguel de Icaza  <miguel@novell.com>
1864
1865         * HttpRequest.cs: Patch from Juraj Skripsky <js@hotfeet.ch> that
1866         fixes UrlReferrer. 
1867
1868 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1869
1870         * HttpPostedFile.cs: Make this class actually work. Every time we read,
1871         we have to position the underlying stream.
1872
1873 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1874
1875         * HttpRequest.cs: reading multipart/form-data works again.
1876
1877 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
1878         * HttpRequest.cs: Under TARGET_JVM the input stream must allow GetBuffer.
1879
1880 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
1881         * HttpApplicationFactory.cs: TARGET_J2EE/JVM fix.
1882
1883 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1884
1885         * HttpRequest.cs: correctly detect multipart/form-data.
1886
1887 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1888
1889         * HttpApplicationFactory.cs: recycle after invoking session_end.
1890
1891 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1892
1893         * HttpRuntime.cs: remove Console.
1894
1895         * HttpApplicationFactory.cs: don't hook Session_End, but keep
1896         the MethodInfo around for later invocation if needed. Don't call
1897         GetMethods() for every HttpApplication (or derived class) instances.
1898         Added a method, used by SessionStateModule, that will create use an
1899         application without context to invoke Session_End. Keep a pool of
1900         applications that are meant to be used by this method only.
1901
1902         * HttpApplication.cs: add a SetSession method and do not
1903         attach all the events if the application is for Session_End only.
1904
1905 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1906
1907         * HttpRuntime.cs: actually unload the domain when requested. Reformatted
1908         FinishUnavailable() and removed the 'Location' header form the error.
1909
1910         * HttpApplicationFactory.cs: set up the watcher for the bin directory.
1911         This also prevents a nullref when global.asax is changed.
1912
1913 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1914
1915         * HttpApplication.cs: fixed bug introduced when moving GetHandler call
1916         around. Now we get error pages again.
1917
1918 2005-09-06  Miguel de Icaza  <miguel@novell.com>
1919
1920         * HttpApplication.cs: Catch EndRequest errors as well.
1921
1922 2005-09-05  Miguel de Icaza  <miguel@novell.com>
1923
1924         * HttpApplication.cs: Invoke EndRequest handler before OutputPage
1925         as FormsAuthentication will issue a Redirect from the EndRequest 
1926         handler. 
1927
1928 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1929
1930         * HttpApplication.cs: when writing an error message, catch the possible
1931         write error.
1932
1933 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1934
1935         * HttpResponseStream.cs: prevent invalid cast exception if the first
1936         thing written is a file.
1937
1938 2005-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1939
1940         * HttpApplication.cs: fix invalid cast exception (bug #75926).
1941
1942 2005-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1943
1944         * HttpApplicationFactory.cs: only trigger the Application_Start event
1945         once. It was being invoked more than once when several clients were
1946         hitting the server at the same time on startup.
1947
1948 2005-09-01 Eyal Alaluf <eyala@mainsoft.com>
1949
1950         * HttpContext.cs HttpResponse.cs HttpWorkerRequest.cs HttpRuntime.cs
1951           HttpApplicationFactory.cs HttpApplication.cs: TARGET_J2EE/JVM fixes.
1952           Mostly workaround limited AppModel in TARGET_J2EE.
1953
1954 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1955
1956         * HttpResponse.cs: if the request method is HEAD, that's equivalent to
1957         SuppressContent. Added an internal TransmitFile that allows setting the
1958         final_flush flag.
1959         * StaticFileHandler.cs: use the new internal TransmitFile and remove
1960         generation of Content-Length header, as now it's computed correctly.
1961         * HttpApplication.cs: remove debugging stuff.
1962         * HttpResponseStream.cs: suppress_content is checked in HttpResponse.
1963
1964 2005-08-31  Miguel de Icaza  <miguel@novell.com>
1965
1966         Removed debugging info.
1967         
1968         * HttpApplication.cs: Add support for async handlers. 
1969
1970         Add extra 2.x methods. 
1971
1972 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1973
1974         * BrowserCapabilities.cs: removed extra 'using'.
1975
1976         * HttpApplication.cs: use just the 'modcoll' to hold the collection of
1977         modules instead of having a separate 'modules' one.
1978
1979 2005-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1980
1981         * HttpApplication.cs: clone the module collection so that
1982         it's not shared between HttpApplications. Call GetHandler() in the
1983         right place.
1984
1985 2005-08-30  Miguel de Icaza  <miguel@novell.com>
1986
1987         * HttpApplication.cs: Add the new 2.x method overloads that take a
1988         data object.
1989
1990         (RunHooks): Pass the extra data instead of null.
1991
1992         * HttpCookie.cs (HttpOnly): Add 2.x cookie header.
1993
1994         * BrowserCapabilities.cs: Move the core of the capabilities into a
1995         separate file.  Use partial classes to choose what version to
1996         compile against.
1997
1998         * HttpBrowserCapabilities.cs: Update to move the code elsewhere.
1999
2000 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
2001
2002         * HttpResponseStream.cs: Fix a bug introduced by last fix (thanks to
2003         Ben)
2004
2005 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
2006
2007         * HttpResponseStream.cs: Compilation fixes for TARGET_JVM. TARGET_JVM
2008         does not support unsafe code. I localized all unsafe code within Chunk
2009         & Block and created a managed version of Chunk.
2010
2011 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
2012         * HttpApplicationFactory.cs: Compilation fixes for TARGET_J2EE. Under
2013         TARGET_J2EE static fields are shared by all app domains. We handle
2014         this difference by explicitly getting/setting values from the app
2015         domain.  Since HttpApplicationFactory has many static fields, I
2016         refactored it to have one static instance and moved the static fields
2017         into instance fields.
2018
2019 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
2020
2021         * HttpRequest.cs: Disable use of IntPtrStream for TARGET_JVM
2022
2023 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
2024
2025         * HttpContext.cs: Compilation fixes for TARGET_J2EE/JVM
2026
2027 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2028
2029         * HttpResponse.cs: don't duplicate the 'charset=' and don't send a
2030         charset for unknown MIME types.
2031         * StaticFileHandler.cs: set the Content-Length header here.
2032         * HttpRequest.cs: prevent nullrefs when we have no 'charset='.
2033
2034 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2035
2036         * StaticFileHandler.cs: use TransmitFile instead of WriteFile. This way
2037         xsp will use sendfile().
2038
2039 2005-08-28  Chris Toshok  <toshok@ximian.com>
2040
2041         * SiteMapNode.cs: fix IHierarchyData.GetParent.
2042
2043 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2044
2045         * HttpRequest.cs:
2046         * IntPtrStream.cs: now we only have a read-only MemoryStream or an
2047         IntPtrStream. The copy is moved into HttpRequest.
2048
2049 2005-08-26  Sebastien Pouliot  <sebastien@ximian.com>
2050
2051         * WebCategoryAttribute.cs: New. Required internal attribute.
2052         * WebSysDescriptionAttribute.cs: New. Required internal attribute.
2053
2054 2005-08-26  Jackson Harper  <jackson@ximian.com>
2055
2056         * HttpResponseStream.cs: Use GetBuffer so the memory isn't
2057         duplicated.
2058
2059 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2060
2061         * HttpApplication.cs: GetHandler might return null when, for example,
2062         a web service fails, but that does not mean that returning a null
2063         handler should throw another exception, as the web service code
2064         serialized the error as a faultString. So if the handler is null, just
2065         don't call ProcessRequest and keep going.
2066
2067 2005-08-26  Jackson Harper  <jackson@ximian.com>
2068
2069         * HttpResponse.cs: Send the cached headers if this is a cached
2070         response. Save the headers, date header, and page data. Fix a typo.
2071         * HttpResponseStream.cs: Add new accesor to get a byte [] of the
2072         page data.
2073
2074 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2075
2076         * HttpWorkerRequest.cs: SetEndOfSendNotification is a noop. No matter
2077         what callback you use that never gets called. In XSP I actually
2078         implement something for this method.
2079         * HttpServerUtility.cs: unused variable.
2080
2081 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2082
2083         * HttpInputStream.cs: new ctor that takes a byte [].
2084         * IntPtrStream.cs: make it work on a byte [] too.
2085
2086         * HttpRequest.cs:
2087         (ContentLength): return 0 for negative numbers or error parsing, but
2088         keep content_length negative in those cases.
2089         (MakeInputStream): when there's no content-length (or it's negative),
2090         we still read the request into a MemoryStream. Use
2091         IsEntireEntityIsPreloaded() as a fast path.
2092
2093 2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>
2094
2095         * HttpClientCertificate.cs: On 1.x the .ctor throws a 
2096         ArgumentNullException (but 2.0 throws a NRE).
2097
2098 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2099
2100         * HttpRequest.cs: HttpMethod deserves its own field. Fix IsLocal.
2101
2102 2005-08-25  Chris Toshok  <toshok@ximian.com>
2103
2104         * HttpApplication.cs (IsReusable): return true.
2105         (InitOnce): remove the initialization of handler_factory from
2106         here.
2107         (GetHandler) and move it here, so we make sure to load handlers
2108         from all needed web.config files.
2109
2110 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2111
2112         * HttpServerUtility.cs: use GetHandler().
2113         * HttpApplication.cs: remove obsolete method. Now Transfe/Execute work.
2114
2115 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2116
2117         * HttpApplication.cs: no need for the local var. here.
2118
2119 2005-08-25  Chris Toshok  <toshok@ximian.com>
2120
2121         * HttpApplication.cs (InitOnce): move the initialization of
2122         modules above the call to HttpApplicationFactory.AttachEvents,
2123         since that method accesses HttpApplication.Modules.  Fixes
2124         nGallery.
2125         (IsReusable): mark TODO.
2126
2127 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2128
2129         * HttpResponseHeader.cs: removed obsolete class.
2130         * HttpResponse.cs: no more 'obsolete' warnings.
2131
2132 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2133
2134         * HttpRuntime.cs: implemeted some missing properties.
2135
2136 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2137
2138         * HttpResponse.cs: implemented RemoveOutputCacheItem().
2139
2140 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2141
2142         * HttpApplication.cs: implemented GetVaryByCustomString().
2143
2144 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2145
2146         * HttpRequest.cs: implemented SetHeader (allows adding a header
2147         circumventing the read-only protection of the collection) and SetForm,
2148         which just assigns a value of the 'form' collection.
2149         * HttpServerUtility.cs: NameValueCollection -> WebROCollection.
2150
2151 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2152
2153         * HttpContext.cs:
2154         * HttpRequest.cs: implemented RewritePath and supporting methods.
2155
2156 2005-08-22  Sebastien Pouliot  <sebastien@ximian.com>
2157
2158         * HttpRequest.cs: Avoid NRE if work_request if null in the ctor.
2159         * HttpResponse.cs: Avoid NRE if work_request if null in the ctor.
2160
2161 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2162
2163         * HttpApplication.cs: if there's any exception thrown when getting the
2164         handler, don't add an extra error to the context, as we already have
2165         one.
2166
2167 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2168
2169         * HttpWriter.cs:
2170         * HttpResponse.cs:
2171         * HttpWorkerRequest.cs:
2172         * HttpApplication.cs: added mising attributes and enabled methods
2173         present in 1.1 SP1.
2174
2175 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2176
2177         * WebROCollection.cs: a collection that allows setting IsReadOnly.
2178         * HttpRequest.cs: implemented MapImageCoordinates(). Use WebROCollection
2179         instead of a NameValueCollection in Form, Headers, Params, QueryString.
2180
2181 2005-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2182
2183         * HttpInputStream.cs: new copy ctor.
2184         * IntPtrStream.cs: getters for base_address and size.
2185         * HttpRequest.cs: implemented SaveAs(). Use a wrapper on top of
2186         InputStream so that reading POST form or files does not modify the state
2187         if InputStream. Don't use uri_builder.Query in QueryStringRaw, as it
2188         returns the '?'.
2189
2190 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2191
2192         * HttpRequest.cs: implemented UserLanguages and reuse code from
2193         AcceptTypes.
2194
2195 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2196
2197         * HttpRequest.cs: implemented AcceptTypes.
2198
2199 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2200
2201         * HttpRequest.cs: implemented this[] in terms of Params. Don't add the
2202         header collection in Params.
2203
2204 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2205
2206         * HttpRequest.cs: fix Files property.
2207         * HttpApplication.cs: invoke the default authentication event after all 
2208         the other auth. modules.
2209
2210 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2211
2212         * ServerVariablesCollection.cs: mark the collection as read-only except
2213         when we fill it. Add the HTTP_blah key/value pairs too.
2214
2215 2005-08-18  Chris Toshok  <toshok@ximian.com>
2216
2217         * HttpRequest.cs (get_Params): implement.
2218
2219 2005-08-17  Chris Toshok  <toshok@ximian.com>
2220
2221         * HttpResponse.cs: HttpResponse's Cookie's collection acts
2222         differently than HttpRequests in that it never returns null from
2223         the "this [string]" accessor.
2224
2225 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2226
2227         * HttpRequest.cs: check length 0 case when reading a POST.
2228
2229 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2230
2231         * HttpContext.cs: added security attributes for User and
2232         SkipAuthorization properties.
2233         * HttpApplicationFactory.cs: AttachEvents is now called form the
2234         application .ctor. Recycle instead of dispose.
2235         * HttpApplication.cs: attach events to the newly created application.
2236
2237 2005-08-15  Jackson Harper  <jackson@ximian.com>
2238
2239         * ApplicationShutdownReason.cs: make build
2240
2241 2005-08-15  Miguel de Icaza  <miguel@novell.com>
2242
2243         * HttpApplication.cs: Update comments
2244
2245         * HttpPostedFile.cs: Use a substream to read from the uploaded
2246         multiparts. 
2247
2248         * HttpRequest.cs: use new code to read the uploaded files.
2249
2250 2005-08-12  Miguel de Icaza  <miguel@novell.com>
2251
2252         2.x API fixage and small additions:
2253         
2254         * HttpResponse.cs: Make constructor internal.
2255
2256         * HttpRequest.cs (IsLocal): Expose if NET_2.x
2257
2258         * HttpContext.cs: Remove internal routine.
2259
2260         * HttpApplication.cs: Add 2.x events. 
2261
2262         * HttpRequest.cs: Another iFolder issue: I was not setting up the
2263         uri_builder here.
2264
2265         Fixes to get iFolder to work:
2266         
2267         * HttpApplicationFactory.cs: Set the context when we are initting
2268         the application.
2269
2270         * HttpApplication.cs (SetContext): helper routine. 
2271
2272         * HttpResponse.cs: Implement the various cache operations:n
2273         Expires, ExpiresAbsolute, CacheControl.
2274
2275         Actually produce the Cache-Control header, the "Cache" property
2276         takes precedence over the compatibility settings (Expires,
2277         ExpiresAbsolutely and CacheControl). 
2278
2279         * HttpCachePolicy.cs: Fix style.
2280
2281         Fix the generation of the headers, use lower-case values, do not
2282         add the max-value if the value is zero.  
2283
2284         Allow for all possible values in SetCacheability. 
2285
2286         * HttpRuntime.cs (ClrInstallDirectory): Implement.
2287
2288         * HttpResponseStream.cs: Remove debugging stuff. 
2289
2290 2005-08-11  Miguel de Icaza  <miguel@novell.com>
2291
2292         Big chunked handling rewrite, and integration of Ben's unmanaged
2293         output stream.
2294
2295         * HttpWriter.cs: Delegate chunked encoding writing to the
2296         HttpResponse. 
2297
2298         * HttpResponse.cs: Rework the chunked encoding system, centralize
2299         it all. 
2300
2301         * HttpResponseStream.cs: Deploy Ben's bucket-base unmanaged
2302         buffers code. 
2303
2304         Changed the way that we handle chunked encoding, centralize it
2305         all;  
2306
2307         Remove a lot of manual handling of buffering turned off, and
2308         instead delegate it all to Flush, fixes several issues with the
2309         new framework.
2310
2311         * HttpWorkerRequest.cs (SendResponseFromMemory (IntPtr, int)):
2312         Provide a default implementation since currently XSP does not have
2313         this method implemented. 
2314
2315 2005-08-11  Sebastien Pouliot  <sebastien@ximian.com> 
2316  
2317         * HttpClientCertificate.cs: Culture insensitive int parsing. Fixed
2318         NET_2_0 build.
2319
2320 2005-08-10  Miguel de Icaza  <miguel@novell.com>
2321
2322         * ServerVariablesCollection.cs: For Ben.  Implement the header
2323         fetching here, do not implement it in HttpRequest.cs.
2324
2325 2005-08-10  Sebastien Pouliot  <sebastien@ximian.com> 
2326  
2327         * HttpClientCertificate.cs: Changed IsPresent logic so that new unit
2328         tests will work as expected.
2329
2330 2005-08-10  Sebastien Pouliot  <sebastien@ximian.com>
2331
2332         * HttpClientCertificate.cs: Implemented, except for validation. Note 
2333         that the HttpWorkerRequest derived classes must be updated to supply 
2334         the required informations.
2335         * HttpRequest.cs: Create an HttpClientCertificate on first call to
2336         ClientCertificate.
2337
2338 2005-08-09  Miguel de Icaza  <miguel@novell.com>
2339
2340         * HttpRuntime.cs (AspInstallDirectory): Implement.
2341
2342 2005-08-09  Sebastien Pouliot  <sebastien@ximian.com>
2343
2344         * HttpClientCertificate.cs: New. Stub. It won't be fun to test.
2345
2346 2005-08-04  Ben Maurer  <bmaurer@ximian.com>
2347
2348         * HttpContext.cs: Kill a NIE.
2349
2350 2005-08-04  Miguel de Icaza  <miguel@novell.com>
2351
2352         * HttpApplicationFactory.cs: Change "Start" event like the "End"
2353         event, and only do this once, when we init the type.
2354
2355         Fire the "Application_Start" event after we create the type.
2356
2357 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2358
2359         * HttpApplication.cs: catch a ThreadAbort (coming from Response.End)
2360         here too.
2361
2362 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2363
2364         * HttpResponse.cs: setting the Status property resets the
2365         StatusDescription (see the tests) and the default value for the
2366         description is the one provided by GetStatusDescription() in
2367         HttpWorkerRequest.
2368
2369 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2370
2371         * HttpRequest.cs: s/boundry/boundary/ and fix typo in array creation.
2372
2373 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2374
2375         * HttpApplication.cs: add call to EndOfRequest when everything is said
2376         and done.
2377
2378 2005-08-02  Miguel de Icaza  <miguel@novell.com>
2379
2380         * HttpResponse.cs: Stub for TransmitFile.
2381
2382         * HttpRequest.cs (IsAuthenticated): Implement.
2383
2384 2005-08-01  Miguel de Icaza  <miguel@novell.com>
2385
2386         * HttpRequest.cs: Cope with implementations of HttpWorkerRequest
2387         (unpatched xsp) that do not send back the PreloadedEntityBody. 
2388
2389         * HttpApplication.cs: keep track of the factory. 
2390         (Dispose): Only dispose once, clean up other variables, release
2391         the ManualResetEvent.
2392         Release the handler to the factory.
2393
2394         * HttpApplicationFactory.cs: Implement a stack to reuse the
2395         applications. 
2396
2397         * HttpRequest.cs: On uploads, if the ContentLenght is zero, throw
2398         a 411.
2399
2400         * HttpRuntime.cs: Recycle the application after using it.
2401
2402         * HttpPostedFile.cs: Implement SaveAs.
2403
2404         * HttpContext.cs: Return the "Server" property.
2405
2406 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2407
2408         * HttpServerUtility.cs: implemented missing bits.
2409
2410 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2411
2412         * HttpRequest.cs: query string was getting a '?' as the start of the
2413         first variable name. This makes the asmx help page work again.
2414
2415 2005-08-01  Miguel de Icaza  <miguel@novell.com>
2416
2417         * HttpRequest.cs (Cookies, Forms): Add validation.
2418         (Forms): Add application/x-www-form-urlencoded parsing and
2419         multipart/form-data parsing.
2420         
2421         (HttpMultiPart): Implement new class to load multi-part data from
2422         a stream since there is no longer a byte [] that holds the data
2423         (currently we have an unmanaged IntPtr buffer wrapped as a
2424         stream).  Also the 2.x framework will add support for large
2425         uploads which are sent directly to disk, which will require the
2426         FileStream interface. 
2427         
2428         (Path, PathInfo): Fill a couple more methods to avoid crashes.
2429
2430         * HttpContext.cs: Fill another one to get web services summary
2431         page painting.  The page does not work though.
2432         
2433         * HttpApplication.cs: Rework the pipeline to not depend on
2434         `finally', as `finally' would not be invoked if we choose not to
2435         call the pipeline again (which happens if the `stop' variable is
2436         set). 
2437
2438         Instead force the pipeline to go to the shutdown, and yield from
2439         there after all the release-state callbacks have been invoked. 
2440
2441 2005-07-31  Miguel de Icaza  <miguel@novell.com>
2442
2443         * HttpApplication.cs: Remove debugging messages since the compiler
2444         bug has been fixed.
2445
2446         You must use at least mcs from revision 47879 for the application
2447         pipeline to work. 
2448
2449 2005-07-30  Miguel de Icaza  <miguel@novell.com>
2450
2451         * HttpContext.cs: Error handling methods.
2452
2453         * HttpResponse.cs: Trigger the last event.
2454
2455         * HttpRuntime.cs: Add queueing of the next request. 
2456
2457         * HttpApplication.cs: Deploy the new yield-based application
2458         pipeline, add error handling to the pipeline.
2459         
2460         * HttpApplication.cs (AsyncRequestState): Just use the done event
2461         from the parent.
2462
2463 2005-07-29  Miguel de Icaza  <miguel@novell.com>
2464
2465         * HttpResponseStream.cs, HttpRequest.cs: Fix bugs found by nunit.
2466
2467         * HttpApplication.cs: Fix a race condition. 
2468
2469         * HttpResponseStream.cs: Fix bug, send the size of the buffer that
2470         we have so far instead of the internal size of the buffer.   This
2471         will need work later to ensure we enforce the Content-Length
2472         maximum output size if set.
2473
2474         * ServerVariablesCollection.cs: This class now inherits from
2475         NameValueCollection, we should probably review what the middle
2476         class did, there are no dependencies on it.
2477
2478         I need to write tests to investigate if something is missing or
2479         has changed in this implementation. 
2480
2481 2005-07-27  Miguel de Icaza  <miguel@novell.com>
2482
2483         * HttpRequest.cs: No happy replies here, send a 411.
2484
2485 2005-07-27  Chris Toshok  <toshok@ximian.com>
2486
2487         * HttpResponseHeader.cs: remove spew.
2488         
2489 2005-07-27  Chris Toshok  <toshok@ximian.com>
2490
2491         * HttpResponseHeader.cs (HttpResponseHandler..ctor): use
2492         HttpWorkerRequest.GetKnownResponseHeaderName instead of
2493         GetKnownRequestHeaderName.  Fixes Response.Redirect until miguel's
2494         new HttpReponse is online.
2495
2496 2005-07-26  Miguel de Icaza  <miguel@novell.com>
2497
2498         * HttpResponse.cs: use_chunked is now a byte-array, if not null,
2499         we use it to hold the size of the chunked so we do not have to
2500         allocate many of these. 
2501         (SendSize): Helper routine to send the chunked headers.
2502         (BinaryWrite): First user of the chunked writer.
2503
2504         * HttpApplication.cs: Do not crash if they request a Server
2505         instance, but throw a NotImplementedException.
2506
2507         * HttpRequest.cs: fix a few problems exposed by the regression
2508         test suite.
2509
2510         * HttpRequest.cs (Cookies): use Chris' new constructor to get the
2511         cookies parsed.
2512
2513         : The big Uri rework: instead of using QueryString
2514         as the population mechanism, populate an UriBuilder from the
2515         various HttpWorkerRequest methods.
2516
2517         * HttpWorkerRequest.cs (GetProtocol): Implement in terms of
2518         IsSecure().
2519
2520         * HttpResponse.cs: Pointed by Ben, Write (null) is a nop instead
2521         of a crash.
2522
2523         * HttpContext.cs: Add a couple of properties to help the 2.x
2524         build.
2525         
2526         * HttpResponse.cs: Make ContentLength a long, add back support for
2527         session's app_path_mod.
2528         (ApplyAppPathmodifier): put back.
2529         (End): Pass a flag to abort so we can tell the exceptions appart
2530         in HttpApplication.
2531         (WriteHeaders): Send the HTTP status.
2532         (Redirect): Implement.
2533         (Write): Use the Output property to load writer when needed.
2534         
2535         * HttpRequest.cs (ctor): Temporary use of InitFromWR, will fix
2536         later. 
2537         (MakeInputStream): check content-length size, use routines to load
2538         the preloaded data, handle incomplete transfers.
2539         (Query): Do not insert null keys into the collection.
2540         (Url): implement.
2541         (UrlReferer): implement.
2542
2543         * HttpApplication.cs (RunHooks): Catch Thread.Abort, and call
2544         Thread.ResetAbort after each step.
2545
2546         Ensure that ReleaseState is called if we ever succeed in acquiring
2547         the state even if we have stopped the request pipeline.
2548
2549         Report file not found, directory not found.
2550
2551 2005-07-25  Miguel de Icaza  <miguel@novell.com>
2552
2553         * HttpCookieCollection.cs: Add expiration of the cookie. 
2554
2555         * HttpRequest.cs: Add check for ContentLength, use
2556         GetPreloadedEntityBody, correct number of bytes uploaded.
2557
2558 2005-07-21  Miguel de Icaza  <miguel@novell.com>
2559
2560         * HttpResponseHeader.cs: Our implementation of HttpResponse only
2561         uses the text headers, does not use any constants as XSP would go
2562         through a slower code path anyways.
2563
2564 2005-07-21  Chris Toshok  <toshok@ximian.com>
2565
2566         * HttpBrowserCapabilities.cs: enable support for the W3CDomVersion
2567         and EcmaScriptVersion properties.
2568
2569 2005-07-21  Chris Toshok  <toshok@ximian.com>
2570
2571         * HttpResponseHeader.cs: hi, i'm stupid and missed String.Replace.
2572         
2573 2005-07-21  Chris Toshok  <toshok@ximian.com>
2574
2575         * HttpResponseHeader.cs: url encode just \r and \n if they're
2576         present in the value.
2577
2578 2005-07-20  Chris Toshok  <toshok@ximian.com>
2579
2580         * HttpPostedFile.cs: add missing ContentLength property.
2581
2582 2005-07-20  Chris Toshok  <toshok@ximian.com>
2583
2584         * HttpCookieCollection.cs: add a new ctor that takes a string (the
2585         contents of the Cookies: header).
2586
2587 2005-07-20  Chris Toshok  <toshok@ximian.com>
2588
2589         * HttpCookieCollection.cs: add another ctor (internal, but not
2590         obsolete, so we aren't passing a stupid HttpResponse in in order
2591         to change the behavior of the collection.)
2592
2593         * HttpCookie.cs: init this.values in the internal ctor.
2594
2595 2005-07-20  Chris Toshok  <toshok@ximian.com>
2596
2597         * HttpCookieCollection.cs: use "auto-fill mode" when we're dealing
2598         with an HttpResponse's cookie collection.  That is, create the
2599         cookie if the consumer looks it up.
2600
2601 2005-07-20  Miguel de Icaza  <miguel@novell.com>
2602
2603         * HttpApplication.cs: Ongoing work on pipeline, I will need to
2604         redo this later.
2605
2606 2005-07-19  Miguel de Icaza  <miguel@novell.com>
2607
2608         * HttpContext.cs (GetService): Implement.  Return all of the
2609         properties that we have access to.  Make HttpWorkerRequest the
2610         first match as this is the only likely reason people need to use
2611         this. 
2612
2613         * IntPtrStream.cs: Bring from corlib.
2614
2615         * MultiPartContentParser.cs: use a MemoryStream as HttpInputStream
2616         will now be using IntPtrStream. 
2617
2618         * HttpRequest.cs (MakeInputStream): move code that loads the
2619         request here
2620         (CloseInputStream): Helper method that we will call later to
2621         ensure that we dispose properly the malloced() block. 
2622         (BinaryRead): Implemented.
2623
2624         * HttpInputStream.cs: Rewrite to be a descendant of
2625         IntPtrStream.cs 
2626
2627 2005-07-18  Miguel de Icaza  <miguel@novell.com>
2628
2629         * HttpApplication.cs (Modules): Add modules support and
2630         AsyncResult.
2631
2632 2005-07-18  Chris Toshok  <toshok@ximian.com>
2633
2634         * HttpResponseHeader.cs: initial implementation.
2635
2636 2005-07-18  Chris Toshok  <toshok@ximian.com>
2637
2638         * HttpModuleCollection.cs (HttpModuleCollection.GetKey): add
2639         missing method.
2640
2641         * HttpFileCollection.cs: initial implementation.
2642
2643 2005-07-18  Chris Toshok  <toshok@ximian.com>
2644
2645         * HttpModuleCollection.cs (HttpModuleCollection.CopyTo): implement
2646         missing method.
2647
2648 2005-07-18  Chris Toshok  <toshok@ximian.com>
2649
2650         * HttpModuleCollection.cs: initial implementation.
2651
2652 2005-07-18  Chris Toshok  <toshok@ximian.com>
2653
2654         * HttpCacheVaryByHeaders.cs: only add the header if it's not
2655         already in the hash.
2656
2657         * HttpCacheVaryByParams.cs: only add the param if it's not already
2658         in the hash.
2659
2660 2005-07-18  Chris Toshok  <toshok@ximian.com>
2661
2662         * HttpCookie.cs (HttpCookie+CookieNVC.Set): new override to fix an
2663         MS quirk.
2664
2665 2005-07-17  Miguel de Icaza  <miguel@novell.com>
2666
2667         * HttpRequest.cs (Headers, InputStream): implemented two more
2668         properties.
2669
2670         * HttpInputStream.cs: All we need is a MemoryStream with writable
2671         set to false.
2672
2673         * HttpPostedFile.cs: Use a Stream.
2674
2675 2005-07-16  Chris Toshok  <toshok@ximian.com>
2676
2677         * HttpCacheVaryByHeaders.cs: make sure we set vary_by_unspecified
2678         = false in the custom setter.
2679
2680 2005-07-16  Chris Toshok  <toshok@ximian.com>
2681
2682         * HttpCacheVaryByParams.cs: initial implementation.
2683
2684 2005-07-16  Chris Toshok  <toshok@ximian.com>
2685
2686         * HttpCacheVaryByHeaders.cs: initial implementation.
2687
2688 2005-07-15  Chris Toshok  <toshok@ximian.com>
2689
2690         * HttpCookie.cs: one more time.
2691
2692 2005-07-15  Chris Toshok  <toshok@ximian.com>
2693
2694         * HttpCookie.cs (HttpCookie.GetCookieHeader): use
2695         expires.ToString().
2696         
2697 2005-07-15  Chris Toshok  <toshok@ximian.com>
2698
2699         * HttpCookie.cs (HttpCookie.GetCookieHeader): implement to fix
2700         ben's bug.
2701
2702 2005-07-15  Chris Toshok  <toshok@ximian.com>
2703
2704         * HttpCookieCollection.cs: initial implementation (with a couple
2705         of labeled inefficiencies.)
2706
2707 2005-07-15  Chris Toshok  <toshok@ximian.com>
2708
2709         * HttpCookie.cs (HttpCookie.get_HasKeys): use values.HasKeys()
2710         instead of trying to be smart about it ourselves.
2711
2712 2005-07-15  Chris Toshok  <toshok@ximian.com>
2713
2714         * HttpCookie.cs: initial implementation.  we fail one unit test,
2715         but it might be due to a bug in NameValueCollection.
2716
2717 2005-07-15  Miguel de Icaza  <miguel@novell.com>
2718
2719         * HttpRequest.cs: 
2720
2721 2005-07-14  Miguel de Icaza  <miguel@novell.com>
2722
2723         * HttpRuntime.cs: Return a few of the values from the AppDomain
2724         data. 
2725
2726         Put the application shutdown process.
2727
2728         * HttpApplicationFactory.cs (AddEvent): Fixed bug when more than
2729         one method existed.
2730         
2731         (FireEvent): Do not ignore errors.
2732
2733         * HttpContext.cs (GetAppConfig, GetConfig): First success, use
2734         ConfigurationSettings.GetConfig to get the value that QueueManager
2735         needed.
2736
2737 2005-07-14  Dick Porter  <dick@ximian.com>
2738
2739         * HttpPostedFile.cs: New basic implementation; needs someone to
2740         figure out what a HttpRequestStream does
2741
2742 2005-07-13  Miguel de Icaza  <miguel@novell.com>
2743
2744         * HttpRequest.cs: More work on this file
2745
2746         * HttpRequest.cs, HttpApplication.cs, HttpContext.cs,
2747         HttpRuntime.cs: New from scratch implementation.
2748
2749 2005-07-01  Lluis Sanchez Gual <lluis@novell.com>
2750
2751         * SiteMap.cs: Read provider info from the configuration files.
2752
2753 2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2754
2755         * HttpResponseHeader.cs: URL encode \r and \n in header values. Fixes
2756         bug #75392.
2757
2758 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2759
2760         * HttpUtility.cs: fix another stupid buglet in htmldecode.
2761
2762 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2763
2764         * HttpContext.cs:
2765         * HttpResponse.cs:
2766         * HttpRequest.cs: use StrUtils (invariant culture).
2767
2768 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2769
2770         * HttpRequest.cs: use StartsWith when looking for 'multipart/form-data'.
2771         File uploading was broken since a few commits ago.
2772
2773 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2774
2775         * HttpResponse.cs: ensure that the last chunk ('0\r\n\r\n') is sent
2776         even if response.Close is called before a final flush. MS/IIS fails to
2777         do this.
2778
2779 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2780
2781         * HttpRequest.cs: don't print anything for unknown content types in
2782         ParseFormData. Use lowercase compare.
2783
2784 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2785
2786         * HttpResponse.cs: invariant love.
2787
2788 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2789
2790         * HttpResponse.cs: avoid 1 string concat.
2791         * HttpRequest.cs: fix BinaryRead. It was totally wrong.
2792
2793 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2794
2795         * HttpUtility.cs: don't append an extra 0 when no digits seen. Fixes
2796         bug #75370.
2797
2798 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2799
2800         * HttpUtility.cs: the lower limit for using &#xx; encoding is 160, not
2801         128. Reset number back to 0 after use. Fixes bug #75365.
2802
2803 2005-06-19  Svetlana Zholkovsky <svetlanaz-at-mainsoft.com>
2804                 * In following classes added TARGET_J2EE or/and TARGET_JVM
2805                   directives:
2806                         - HttpResponse.cs
2807                         - HttpRuntime.cs
2808                         - HttpUtility.cs
2809                         - CapabilitiesLoader.cs
2810                         - HttpApplication.cs
2811                         - HttpApplicationFactory.cs
2812                         - HttpContext.cs
2813                         - HttpException.cs
2814                         - HttpRequest.cs
2815                 * Added Mainsoft's specific files :
2816                         - GhHttpAsyncResult.jvm.cs
2817
2818 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2819
2820         * HttpRequest.cs: avoid one intermediate buffer when reading the request
2821         body and fail for over limit content length when the content type is
2822         not handled as form or multipart data.
2823
2824 2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2825
2826         * HttpResponse.cs: fix the check in Close() so that CloseConnection is
2827         called even if there has been no final Flush. Fixes bug #75176.
2828
2829 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2830
2831         * HttpParseException.cs:
2832         * HttpResponse.cs:
2833         * HttpApplication.cs: updates for 1.1 service pack.
2834
2835 2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2836
2837         * HttpUtility.cs: fix InvalidCastException.
2838
2839 2005-06-05  Korn__l P__l <kornelpal@hotmail.com>
2840
2841         * HttpWriter.cs: Fixed: _OutputFilter.Close () was called twice.
2842
2843 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2844
2845         * HttpUtility.cs: modified HtmlDecode so that it does not need to call
2846         Int32.Parse and handles improper &# sequences. Fixes bug #74907.
2847
2848 2005-05-26  Lluis Sanchez Gual <lluis@novell.com>
2849
2850         * SiteMapNodeCollection.cs: Implemented missing methods. The collection
2851         does not inherit from CollectionBase any more.
2852         * SiteMapNode.cs: Track api changes.
2853         * SiteMapProvider.cs: Moved several methods to the new
2854         StaticSiteMapProvider class. Other fixes.
2855         * XmlSiteMapProvider.cs: Watch changes in the xml files. Other fixes.
2856         * SiteMapProviderCollection.cs: Minor fixes.
2857         * SiteMap.cs: Added missing event. Avoid double check lock.
2858         * StaticSiteMapProvider.cs: New class that implements some of the
2859         funtionality of SiteMapProvider.
2860
2861 2005-05-25  Ben Maurer  <bmaurer@ximian.com>
2862
2863         * MimeTypes.cs: Remove extra spaces, they were typos. Fixes 75049.
2864
2865 2005-05-13 Atsushi Enomoto <atsishi@ximian.com>
2866
2867         * HttpUtility.cs : UrlDecodeToBytes() incorrectly decoded escaped 
2868           characters. Patch by Kazuki Oikawa.
2869
2870 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2871
2872         * HttpRuntime.cs: PlatformID.Unix.
2873
2874 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2875
2876         * HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
2877         Clear the _Headers array instead of creating a new ArrayList in
2878         ClearHeaders().
2879
2880 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2881
2882         * HttpResponse.cs: we had 2 variables to track client connection status.
2883         Use only one. Increase the buffer size to 28KB when writing from a file.
2884
2885         * StaticFileHandler.cs: set the Content-Type before writing the file.
2886         This allows flushing before all the content is written.
2887
2888         * HttpApplication.cs: use the variable instead of the property when
2889         setting the Principal for the current process.
2890
2891 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2892
2893         * ReusableMemoryStream.cs:
2894         * HttpWriter.cs: keep a pool of buffers to avoid allocations.
2895
2896 2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2897
2898         * HttpResponse.cs: no need to save/restore the thread culture when
2899         getting the Date header. According to Ben's profiling, this is a big
2900         deal in performance.
2901
2902         * HttpRuntime.cs: ignore exceptions that might be thrown when unloading 
2903         a domain.
2904
2905 2005-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2906
2907         * HttpApplicationFactory.cs: ignore any exception thrown when invoking
2908         an application event.
2909
2910 2005-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2911
2912         * HttpBrowserCapabilities.cs: fix Win32 property.
2913
2914 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2915
2916         * HttpResponse.cs: only add the charset when explicitly set or for
2917         well-known content types.
2918
2919 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2920
2921         * HttpCachePolicy.cs:
2922         * HttpAsyncResult.cs:
2923         * HttpClientCertificate.cs:
2924         * HttpException.cs:
2925         * HttpRuntime.cs:
2926         * HttpCacheVaryByHeaders.cs:
2927         * HttpBrowserCapabilities.cs:
2928         * HttpUtility.cs:
2929         * HttpCacheVaryByParams.cs: no more warnings.
2930
2931         * QueueManager.cs: check for local connections with minLocalFreeThreads.
2932
2933 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2934
2935         * ServerVariablesCollection.cs: shuffled variables, added missing ones
2936         and call a method in HttpRequest to set the HTTP_ variables.
2937
2938         * HttpRequest.cs: new method to add HTTP_ variables to a collection.
2939
2940 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2941
2942         * HttpRequest.cs: GetAllHeaders was returning the value twice instead
2943         of 'name: value'. When HTTP_ is requested on the output, don't include
2944         unknown headers.
2945
2946 2005-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2947
2948         * HttpCookieCollection.cs: when adding more than one cookie with the
2949         same name, the last one is the winner.
2950
2951 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2952
2953         * HttpRequest.cs: correctly store the value cookies in Params. Fixes
2954         bug #73345.
2955
2956 2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2957
2958         * HttpRequest.cs: Path and FilePath also change when RewritePath is
2959         called. Fixes bug #73055.
2960
2961 2005-02-23  Sebastien Pouliot  <sebastien@ximian.com>
2962
2963         * HttpRequest.cs: Make sure that any access after a ValidateInput 
2964         throws an exception if the data isn't safe.
2965
2966 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2967
2968         * CapabilitiesLoader.cs: fix the path, as machine.config is now in a
2969         x.x/ directory below $PREFIX/etc/mono.
2970
2971 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2972
2973         * HttpRequest.cs: fail on unicode full-width '<' and '>' too. Fixes
2974         a security report (http://secunia.com/advisories/14325) that wan't
2975         reported to us before public disclosure.
2976
2977 2005-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2978
2979         * HttpResponse.cs: send the calculated content length even when it's 0.
2980         Fixes bug #72655.
2981
2982 2005-02-04  Lluis Sanchez Gual <lluis@novell.com>
2983
2984         * HttpContext.cs: Added internal property to keep a reference to
2985         the last accessed page. Page uses this to implement PreviousPage.
2986
2987 2005-02-02  Lluis Sanchez Gual <lluis@novell.com>
2988
2989         * ProcessModelInfo.cs: Fixed warning.
2990
2991 2005-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2992
2993         * TraceContext.cs: writing a message without any other argument is not
2994         a warniing. Fixes bug #72017.
2995
2996 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2997
2998         * HttpApplication.cs: if there are no more handlers, finish the
2999         request and ensure we call Complete on it. Now FreeTextBox 3.0 works.
3000
3001 2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3002
3003         * HttpRequest.cs: honor the maxRequestSize limit from machine.config.
3004
3005 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3006
3007         * HttpApplication.cs: reread application CultureInfo as web.config
3008         might have changed. Fixes bug #62539.
3009
3010 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3011
3012         * HttpResponse.cs: fixed ApplyAppPathModifier to insert the session ID.
3013
3014 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3015
3016         * HttpApplicationFactory.cs: monitor changes in global.asax and bin
3017         directory and shutdown the application when that happens. Fixes bug
3018         #49651.
3019
3020 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3021
3022         * ReusableMemoryStream.cs: copied from System.IO.MemoryStream and
3023         slightly modified to allow expanding the buffer for cases on which the
3024         regular MemoryStream don't allow it.
3025
3026         * HttpWriter.cs: use the new ReusableMemoryStream and fix bug #59841.
3027         Otherwise we would have to allocate a new MemoryStream...
3028
3029 2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3030
3031         * HttpApplication.cs: Create() is now GetInstance().
3032
3033 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
3034
3035         * SiteMapNodeCollection.cs: Added missing properties.
3036         * HttpParseException.cs: Added 2.0 methods and properties.
3037         * SiteMapNode.cs: Added missing methods and properties.
3038         * SiteMapProvider.cs, XmlSiteMapProvider.cs, 
3039         SiteMapProviderCollection.cs: IProvider does not exist any
3040         more, it is now ProviderBase.
3041         * ISiteMapProvider.cs: Deleted.
3042         * ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
3043           Implemented.
3044         * SiteMap.cs: Minor fixes.      
3045
3046 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
3047
3048         * SiteMapProviderCollection.cs: Fixed warning.
3049         * HttpApplication.cs: Added new 2.0 events.
3050
3051 2004-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3052
3053         * HttpResponse.cs: added internl SetHeadersSent.
3054         * HttpRuntime.cs: don't throw the 'headers already sent' exception
3055         if we're sending a runtime error.
3056
3057 2004-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3058
3059         * HttpApplication.cs: undo the TimeoutManager.(Add|Remove) shuffling.
3060         It causes troubles under heavy load.
3061
3062 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3063
3064         * SiteMap.cs: don't lock on Type.
3065         * CapabilitiesLoader.cs: avoid 2 locks when loading data.
3066
3067 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3068
3069         * HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
3070         presence of rewriting.
3071
3072 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3073
3074         * HttpApplication.cs: don't hang if a sync step is aborted. Fixes the
3075         system.web portion of bug #68270.
3076
3077 2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3078
3079         * TraceContext.cs: don't cast to Page is the handler it's
3080         not a page.
3081
3082 2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3083
3084         * HttpRequest.cs: CurrentExecutionFilePath is the one that
3085         changes when Transfer or Execute are used, not FilePath.
3086
3087         * HttpServerUtility.cs: moved form saving/restoring from
3088         Transfer to Execute, as it's needed there too. the query string is
3089         correctly set now. Fixes bug #67388.
3090
3091         * HttpContext.cs: use SetCurrentExePath instead of SetFilePath.
3092
3093 2004-10-03 Ben Maurer  <bmaurer@ximian.com>
3094
3095         * HttpResponse.cs: use UtcNow
3096
3097 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3098
3099         * HttpResponse.cs: SuppressContent does not throw and clears all the
3100         buffered output. Fixes bug #67213.
3101
3102 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3103
3104         * HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.
3105
3106 2004-09-29 Ben Maurer  <bmaurer@ximian.com>
3107
3108         * HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.
3109
3110 2004-09-25 Ben Maurer  <bmaurer@ximian.com>
3111
3112         * HttpApplication.cs: Make sure requests are removed from
3113         the timeout manager. Fixes a major leak. #66751.
3114
3115 2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3116
3117         * HttpApplicationFactory.cs:
3118         * HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
3119         unloading.
3120
3121 2004-09-12 Ben Maurer  <bmaurer@ximian.com>
3122
3123         * HttpContext.cs: use CallContext. It is a little bit faster.
3124
3125 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3126
3127         * HttpStaticObjectsCollection.cs: don't share static session objects
3128         declared in the application file across the application, but on a
3129         per-session basis. Fixes bug #65446.
3130
3131 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3132
3133         * HttpServerUtility.cs: in Transfer(path), don't keep form data if
3134         the transfer is done from inside a page that received a postback.
3135         Fixes bug #65613.
3136
3137 2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3138
3139         * HttpValueCollection.cs: fixed signature of ToString (). Closes bug
3140         #65392.
3141
3142 2004-09-06 Ben Maurer  <bmaurer@users.sourceforge.net>
3143
3144         * HttpWriter.cs (.ctor): Dont create teh StreamWriter twice
3145         (Clear): Don't recreate the MemoryStream and StreamWriter
3146
3147 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3148
3149         * HttpApplication.cs: only add/remove to/from the timeout
3150         manager when we're in a interruptible step.
3151
3152 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3153
3154         * TraceContext.cs: when IsEnabled has not been set, return the value
3155         from the TraceManager. Fixes bug #63469.
3156
3157 2004-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3158
3159         * HttpRuntime.cs: initialize the response writer when finishing a
3160         request because it cannot be queued. Under heavy load we made new
3161         requests be processed before the ones that might be queued. This is
3162         no longer the case.
3163
3164         * QueueManager.cs: instead of queueing/dequeuing separately, we now
3165         have a single method that does everything needed to decide which one
3166         will be the next request processed.
3167
3168 2004-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3169
3170         * HttpRuntime.cs: removed initializations to null in .cctor. Prevent
3171         other requests from avoiding the lock if they are received before the
3172         configuration system is inited. Ensure that the queue manager is not
3173         null before using it (it can be null while the first request is being
3174         processed).
3175
3176 2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3177
3178         * HttpServerUtility.cs: ensure we have a full virtual path for the
3179         request being executed.
3180
3181 2004-08-02  Duncan Mak  <duncan@ximian.com>
3182
3183         * ApplicationShutdownReason.cs: Fixed typos.
3184
3185         * HttpCookieMode.cs:
3186         * HttpDataTransferMode.cs:
3187         * HttpRequestPriority.cs: Added [Serializable] attribute.
3188         
3189 2004-08-02  Duncan Mak  <duncan@ximian.com>
3190
3191         * ApplicationShutdownReason.cs:
3192         * HttpCookieMode.cs:
3193         * HttpDataTransferMode.cs:
3194         * HttpRequestPriority.cs: Added 2.0 enumerations.
3195         
3196 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3197
3198         * HttpApplication.cs: the file not found might be a dependency.
3199
3200 2004-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3201
3202         * HttpCookie.cs: use invariant when formatting expires date. Fixes bug
3203         #61690.
3204
3205 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3206
3207         * HttpApplication.cs: don't keep the session around if we got it from
3208         the context. Fixes bug #61232.
3209
3210 2004-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3211
3212         * HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
3213         #61181.
3214
3215 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3216
3217         * TraceContext.cs: added internal HaveTrace property whose
3218         value is true when the page has a Trace attribute.
3219
3220 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3221
3222         * TraceData.cs: fixed <br> output. Closes bug #60181.
3223
3224 2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3225
3226         * HttpUtility.cs: check for control characters in the string to encode
3227         or decode and return the same string if there are none.
3228
3229 2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3230
3231         * HttpApplication.cs: change/restore the IPrincipal in their own methods
3232         and make them internal.
3233
3234 2004-06-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3235
3236         * HttpContext.cs: reverting Pedro's patch and sending mail with test
3237         to mono-devel.
3238
3239 2004-06-09  Pedro Martnez Juli  <yoros@wanadoo.es>
3240
3241         * HttpContext: User property returns its own "user" value because
3242         the context can walk through different Threads. When "User" property
3243         is changed, change "Thread.CurrentPrincipal" too.
3244
3245 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3246
3247         * HttpRequest.cs: removed extra ^Ms and fixed style of last patch.
3248
3249 2004-06-08  Alon Gazit  <along@mainsoft.com>
3250
3251         * HttpRequest.cs: Add a patch for HttpRequest.ServerVariables.
3252
3253 2004-06-07  Sebastien Pouliot  <sebastien@ximian.com>
3254
3255         * HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
3256         Fix (at least partially) #59683.
3257
3258 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3259
3260         * HttpRequest.cs: reverting patch from Alon Gazit. Uses the above file
3261         that doesn't compile.
3262
3263 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3264
3265         * TraceData.cs: fixes nullref in an application that relies on
3266         r ["Message"] not being null. Closes bug #59679.
3267
3268 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3269
3270         * HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.
3271
3272 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3273
3274         * HttpRuntime.cs: implemented a 5 simple properties that were TODOs.
3275
3276 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3277
3278         * HttpBrowserCapabilities.cs: implemented ClrVersion and GetClrVersions.
3279         * HttpException.cs: removed MonoTODO.
3280
3281 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3282
3283         * TraceContext.cs: don't check if HttpRuntime.TraceManager
3284         is enabled when writing.
3285
3286 2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3287
3288         * HttpRequest.cs: added ClientTarget internal property.
3289
3290 2004-06-03  Lluis Sanchez Gual <lluis@ximian.com>
3291
3292         * HttpApplication.cs: Clear the http handler list after releasing the
3293           handlers.
3294
3295 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3296
3297         * TraceData.cs: html-encode the messages written to the trace. Fixes
3298         bug #59431.
3299
3300 2004-06-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3301
3302         * HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
3303         to Markus Krutner.
3304
3305 2004-05-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3306
3307         * HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
3308         when SetFilePath is called. This way the cached values are reset and
3309         get the right value in case someone (namely SessionStateModule + 
3310         cookieless session) changes the FilePath after the property cached its
3311         value. Fixes bug #59364.
3312
3313 2004-05-27      Patrik Torstensson <totte@hiddenpeaks.com>
3314
3315         * HttpApplicationFactory.cs: Added SignalError (still todo)
3316
3317 2004-05-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3318
3319         * HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
3320         chunked encoding disabled. Fixed chunked suffix and end. Send the
3321         'lastchunk' marked when in the final Flush even if the content length
3322         is 0. This makes mod-mono-server work fine with chunked encoding.
3323          
3324         * HttpRuntime.cs: Set the _firstRequest* variables to true
3325         earlier. TraceContext don't take any parameter now.
3326
3327         * TraceManager.cs: don't need a context. Use GetAppConfig.
3328
3329 2004-05-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3330
3331         * HttpApplication.cs: set culture/uiculture from configuration and
3332         restore it after each step. Fixes bug #52851.
3333
3334 2004-05-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3335
3336         * HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
3337         entities hashtable creation until it's really needed.
3338
3339 2004-05-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3340
3341         * HttpApplicationFactory.cs: if no module matches the name found for a
3342         possible event, ignore it. Fixes bug #58542.
3343
3344 2004-05-16      Patrik Torstensson <totte@hiddenpeaks.com>
3345
3346         * HttpRuntime (Init): Removed old todo
3347         * HttApplication : Implemented IHttpHandlerFactory recycling
3348         
3349 2004-04-28      Patrik Torstensson
3350
3351         * HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
3352         removed MonoTodo
3353
3354 2004-04-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3355
3356         * HttpUtility.cs: return null in HtmlDecode for null input instead of
3357         throwing an exception. Patch by Jan Jaros (bug #57083).
3358
3359 2004-04-10  Vladimir Vukicevic  <vladimir@pobox.com>
3360
3361         * TimeoutManager.cs: Swap the order of initialization of contexts
3362         and the Timer, to avoid race condition of CheckTimeouts being called
3363         before contexts gets initialized.
3364
3365 2004-03-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3366
3367         * HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
3368         Now the posted file content does not have the boundaries and headers
3369         included.
3370
3371 2004-03-25  Alon Gazit <along@mainsoft.com>
3372
3373         * HttpRequest.cs: fix ValidateCookieCollection() to prevent
3374         InvalidCastException.
3375
3376 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3377
3378         * HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.
3379
3380 2004-03-01  Larry Ewing  <lewing@ximian.com>
3381
3382         * HttpUtility.cs: fix UrlEncodeToBytes count check.
3383
3384 2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3385
3386         * HttpServerUtility.cs:
3387         * HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
3388         #53670).
3389
3390 2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3391
3392         * HttpUtility.cs: fixed length check. Closes bug #54201.
3393         Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
3394         decoding.
3395
3396 2004-02-11  Jackson Harper <jackson@ximian.com>
3397
3398         * TraceData.cs: Use ToString for cookie/header/var name values so
3399         null is handled properly.
3400         
3401 2004-02-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3402
3403         * HttpApplication.cs: ApplicationState is inited by the factory so,
3404         return that value in the property. when we use the context Session,
3405         cache it in the instance field.
3406
3407         * HttpApplicationFactory.cs: fixed target Type for the event when
3408         hooking application and module events. Initialize application
3409         and session scope objects. Fixes non-aplication events hook up.
3410
3411         * HttpStaticObjectsCollection.cs: added StaticItem and delay the
3412         creation of the objects until they are requested.
3413
3414 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3415
3416         * HttpApplicationFactory.cs: fixlet for session events hook.
3417
3418 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3419
3420         * HttpApplicationFactory.cs: attach all events from Type and BaseType
3421         at the same time. Fixes bug #53454.
3422
3423 2004-01-27  Jackson Harper <jackson@ximian.com>
3424
3425         * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
3426         null now, dont hadd the header if it does.
3427         * HttpCacheVaryByParams.cs: Return null if there are no items.
3428
3429 2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3430
3431         * HttpCachePolicy.cs: it's not public.
3432         * HttpRuntime.cs: wait for requests before disposing the queue.
3433
3434 2004-01-15  Jackson Harper <jackson@ximian.com>
3435
3436         * HttpCachePolicy.cs: Fix typo causing varyby params headers to be
3437         created when they shouldn't be.
3438         
3439 2004-01-14  Jackson Harper <jackson@ximian.com>
3440
3441         * TraceData.cs: Fix some typos in the output text. Fix control
3442         position when adding controls recursively.
3443         
3444 2004-01-14  Jackson Harper <jackson@ximian.com>
3445
3446         * HttpCachePolicy.cs: Expose duration and sliding properties.
3447         
3448 2004-01-14  Jackson Harper <jackson@ximian.com>
3449
3450         * HttpCachePolicy.cs: Add an event that is fired when the
3451         cacheability is updated. The response uses this to determine
3452         whether or not it needs to cache itself.
3453         * HttpResponse.cs: When the cacheability is updated either create
3454         or dispose of the cached raw response based on whether or not we
3455         wil need it. This allows output caching to be controlled
3456         programatically.
3457         
3458 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3459
3460         * HttpContext.cs: add setter for ConfigTimeout.
3461         * HttpException.cs: added Description property and HTML encode some
3462         unescaped values.
3463
3464         * HttpRequest.cs: support request validation.
3465
3466         * HttpRequestValidationException.cs: added message and description.
3467
3468         * HttpServerUtility.cs: implemented ScriptTimeout.
3469
3470 2004-01-11  Jackson Harper <jackson@ximian.com>
3471
3472         * TraceManager.cs: Dont crash if there is no trace config element.
3473         
3474 2004-01-11  Jackson Harper <jackson@ximian.com>
3475
3476         * HttpRequest.cs: Add property for determining if the request is
3477         local or not.
3478         
3479 2004-01-10  Jackson Harper <jackson@ximian.com>
3480
3481         * TraceContext.cs: Handle tracing when it is enabled in the config
3482         file but not on the page.
3483         * TraceManager.cs: Get settings from the configuration object.
3484         * HttpRuntime.cs: Create trace manager in the first request start
3485         so it can get configuration settings.
3486         
3487 2004-01-10  Jackson Harper <jackson@ximian.com>
3488
3489         * TraceContext.cs: Save the request path in the trace data.
3490         * TraceData.cs: Add RequestPath property, make some rendering
3491         methods internal static so the TraceHandler can use them.
3492         * TraceManager.cs: Expose trace data, add a method for clearing
3493         trace data.
3494         
3495 2004-01-10  Jackson Harper <jackson@ximian.com>
3496
3497         * HttpRuntime.cs: Add trace manager
3498         * TraceManager.cs: New class for handling trace configuration and
3499         storing trace data objects.
3500         * TraceContext.cs: Save trace data to the trace manager. Fix typo.
3501         
3502 2004-01-10  Jackson Harper <jackson@ximian.com>
3503
3504         * TraceData.cs: New class for storing trace data. Data is stored
3505         here instead of the trace context so it can be saved and accessed
3506         from the trace handler.
3507         * TraceContext.cs: Save data in the TraceData object, let the
3508         trace data object handle the rendering.
3509         
3510 2004-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3511
3512         * HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
3513         Thanks to Jan Jaros (mono-bug@jerryweb.info).
3514
3515         * HttpRequestValidationException.cs: fix comment.
3516
3517 2004-01-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3518
3519         * HttpException.cs: default to error 500. Fixes bug #52623.
3520
3521 2004-01-04  Jackson Harper <jackson@ximian.com>
3522
3523         * TraceContext.cs: Store and render trace info times. Also render
3524         cookie sizes. Remove debug code.
3525         
3526 2004-01-04  Jackson Harper <jackson@ximian.com>
3527
3528         * HttpResponse.cs: Set the cached response date header so it can
3529         be updated.
3530         * HttpResponseHeader.cs: Let values be set so we can update cached 
3531         response header values.
3532         
3533 2004-01-04  Jackson Harper <jackson@ximian.com>
3534
3535         * HttpResponse.cs: Implement RemoveOutputCacheItem.
3536         
3537 2004-01-04  Jackson Harper <jackson@ximian.com>
3538
3539         * HttpCachePolicy.cs: Add internal method to get the vary by custom string
3540         * HttpCacheVaryByHeaders.cs: Add internal method to get the header names.
3541         
3542 2004-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3543
3544         * HttpRuntime.cs: implemented MachineConfigurationDirectory,
3545
3546 2004-1-1  Alon Gazit <along@mainsoft.com>
3547         * HttpWriter.cs: add check in Write() in order to prevent
3548         NullReferenceException.
3549
3550 2004-1-1  Alon Gazit <along@mainsoft.com>
3551         * HttpResponse.cs: implemented ExpiresAbsolute and Expires.
3552
3553 2003-12-18  Jackson Harper <jackson@ximian.com>
3554
3555         * TraceContext.cs: Write () methods are not warnings.
3556         
3557 2003-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3558
3559         * HttpBrowserCapabilities.cs: added GetClrVersions ().
3560         * HttpCachePolicy.cs: added SetAllowResponseInBrowserHistory ().
3561         * HttpContext.cs: added set_Current and RewritePath (s, s, s) for 1.1.
3562         * HttpRequest.cs: added set_ContentType, SetPathInfo and ValidateInput.
3563         * HttpRequestValidationException.cs: new class for 1.1
3564         * HttpResponse.cs: added RedirectLocation.
3565         * HttpRuntime.cs: added UnloadAppDomain.
3566         * HttpServerUtility.cs: Execute (s, t, b) is internal for < 1.2
3567         * HttpUtility.cs: copied UrlPathEncode from HttpServerUtility.
3568         * HttpWorkerRequest.cs: added [ComVisible] and made the ctor public.
3569
3570 2003-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3571
3572         * HttpContext.cs: implemented IsCustomErrorEnabled and
3573         IsDebuggingEnabled. Added internal ErrorPage property.
3574
3575         * HttpRuntime.cs: on error, check if we have a custom error page enabled
3576         to handle it and redirect.
3577
3578         * HttpResponse.cs: added RedirectCustomError (), which actually does
3579         the redirection to the error page.
3580         
3581 2003-12-16  Jackson Harper <jackson@ximian.com>
3582
3583         * TraceContext.cs: Render all the data, and the stylesheet.
3584         
3585 2003-12-16  Jackson Harper <jackson@ximian.com>
3586
3587         * TraceContext.cs: Add incomplete render method.
3588         
3589 2003-12-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3590
3591         * CapabilitiesLoader.cs: loads browser detection and capabilities data
3592         from browscap.ini file by Gary J. Keith.
3593
3594         * HttpBrowserCapabilities.cs: removed almost all TODOs.
3595
3596         * HttpRequest.cs: fixed Browser property.
3597
3598 2003-12-15  Jackson Harper <jackson@ximian.com>
3599
3600         * TraceContext.cs: Initial implementation of storing data.
3601         * HttpContext.cs: Create and expose a trace object.
3602         
3603 2003-12-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3604
3605         * HttpApplication.cs: ThreadAbortException is ok on Redirect.
3606         * HttpContext.cs: added TimeoutPossible property.
3607         * HttpResponse.cs: throw ThreadAbortException if End () is called within
3608         a step in which is possible to timeout.
3609
3610         Fixes bug #51703.
3611
3612 2003-12-04  Jackson Harper <jackson@ximian.com>
3613
3614         * HttpRequest.cs: Cleanup method.
3615         
3616 2003-12-04  Jackson Harper <jackson@ximian.com>
3617
3618         * HttpValueCollection.cs: Allow blank value names. Posting
3619         <blank>=SomeValue is valid. And occurs if a radio button does
3620         not have its name set.
3621         
3622 2003-12-03  Jackson Harper <jackson@ximian.com>
3623
3624         * HttpResponse.cs: Actually apply an app path modifier in
3625         ApplyAppPathModifer and add a method to set the app path modifier.
3626         * HttpRequest.cs: Add utility method for setting a request header.
3627         
3628 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3629
3630         * HttpApplication.cs: handle FileNotFound and DirectoryNotFound
3631         exceptions when creating the handler to generate a better error page.
3632
3633         * HttpException.cs: display the http_code if available.  Changed all
3634         \n by \r\n to make the hidden stack trace readable.
3635         
3636         * StaticFileHandler.cs: don't send the real path in th eerror.
3637
3638 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3639
3640         * HttpContext.cs: updated GetConfig and GetAppConfig to new API.
3641         
3642         * HttpResponse.cs: separate initialization of the HttpWriter, as it
3643         tries to read configuration settings while the config. system is not
3644         available (ie, before the first request).
3645         
3646         * HttpRuntime.cs: delayed queueManager and response writer
3647         initialization until the configuration system is working.
3648
3649 2003-11-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3650
3651         * HttpRuntime.cs: added request queue handling.
3652
3653         * QueueManager.cs: simple request queue.
3654         
3655         * TimeoutManager.cs: added some locks to prevent the enumerator used in
3656         CheckTimeouts to be out of synch.
3657
3658 2003-11-25  Jackson Harper <jackson@ximian.com>
3659
3660         * HttpStaticObjectsCollection.cs: Add methods for serialization
3661         and conversion to/from byte arrays.
3662         
3663 2003-11-21  Jackson Harper <jackson@ximian.com>
3664
3665         * HttpResponse.cs: When caching data set the content length in the
3666         cached repsonse so that only that amount will be written back to
3667         the client. Add method to write a range of binary data.
3668         * HttpCacheVaryByParams.cs: Add method to retrieve param names.
3669         
3670 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3671
3672         * HttpApplication.cs:
3673         * HttpContext.cs:
3674         * HttpRuntime.cs: add timeout handling.
3675         * TimeoutManager.cs: new class that takes care of aborting threads on
3676         timeout.
3677
3678 2003-11-19  Jackson Harper <jackson@ximian.com>
3679
3680         * HttpWriter.cs: Use a constant for the buffer size so the cache
3681         can get the buffer size. Add method to get the buffer.
3682         * HttpResponse.cs: Methods for getting data to cache, and setting
3683         vars from the cache.
3684         * HttpCachePolicy.cs: Expose a pages cache expire time.
3685         
3686 2003-11-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3687
3688         * HttpResponse.cs: 
3689         * HttpWriter.cs: some fixes to allow closing a response stream without
3690         messing the rest.
3691
3692 2003-11-13  Jackson Harper  <jackson@ximian.com>
3693
3694         * HttpCachePolicy.cs: Make sure cacheability and maxage get
3695         set. Add method to set Http response header data
3696         * HttpCacheVaryByParams.cs: Add method to create a response header.
3697         * HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
3698         * HttpResponse.cs: Set cache headers.
3699         
3700 2003-11-11 Ben Maurer  <bmaurer@users.sourceforge.net>
3701
3702         * HttpModuleCollection.cs (GetKey): Recursion, again!
3703
3704 2003-11-11 Ben Maurer  <bmaurer@users.sourceforge.net>
3705
3706         * HttpClientCertificate.cs (ValidUntil): recursion!
3707
3708 2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
3709
3710         * SiteMapNode.cs (GetDataSourceView): Implement.
3711         * SiteMapProvider.cs: Typo fixing.
3712         * XmlSiteMapProvider.cs: We shouldnt resolve here.
3713         
3714 2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
3715
3716         * SiteMap.cs (Init): implement a hack that doesnt need the config
3717         stuff. Should do that later.
3718         * SiteMapNodeCollection (OnValidate): Fix recursion.
3719         * SiteMapProvider.cs: We dont implement some culture stuff work
3720         around it. Fix typo.
3721         * XmlSiteMapProvider.cs: Added.
3722         
3723 2003-11-07 Ben Maurer  <bmaurer@users.sourceforge.net>
3724
3725         * ISiteMapProvider.cs:
3726         * SiteMap.cs:
3727         * SiteMapNode.cs:
3728         * SiteMapNodeCollection.cs:
3729         * SiteMapProvider.cs:
3730         * SiteMapProviderCollection.cs: V2 sitemap related stuff.
3731
3732 2003-11-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3733
3734         * HttpRequest.cs: don't attempt to read more bytes than specified
3735         content length.
3736
3737 2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3738
3739         * HttpRequest.cs:
3740         * HttpResponse.cs:
3741         * HttpUtility.cs:
3742         * HttpValueCollection.cs: encoding fixes/updates.
3743
3744         * HttpWriter.cs: when updating the encoding, flush the existing stream.
3745         Encoding updates.
3746
3747 2003-11-04 Ben Maurer  <bmaurer@users.sourceforge.net>
3748
3749         * HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
3750         return false (which makes sense, as the custom errors *arent* enabled;
3751         ie they dont work.
3752         * HttpResponseStream.cs: you actually can write with len = 0
3753
3754 2003-11-03 Jackson Harper <jackson@ximian.com>
3755
3756         * HttpResponse.cs (ContentEncoding): Throw
3757         ArgumentNullException. Patch by Yaron Shkop.
3758         
3759 2003-10-30  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3760
3761         * HttpMultipartContentParser.cs : Quick fix for cygwin build. 
3762           CSC complains that constant char cannot be casted as byte.
3763
3764 2003-10-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3765
3766         * HttpApplication.cs: added AssemblyLocation property.
3767
3768 2003-10-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3769
3770         * HttpApplicationFactory.cs: use NoParamsInvoker.
3771         * HttpRequest.cs: support request filters.
3772         * HttpRequestStream.cs: mono-stylized and added new Set method.
3773
3774         * NoParamsInvoker.cs: proxy class to invoke user-provided methods
3775         without parameters that are invoked by EventHandlers.
3776
3777 2003-10-13  Lluis Sanchez Gual <lluis@ximian.com>
3778
3779         * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
3780           to invariant culture.
3781
3782 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3783
3784         * HttpResponse.cs:
3785         * HttpServerUtility.cs: change the response writer in Execute. Thanks
3786         to Rich Alimi <rich@velvetsea.net> for noticing this.
3787
3788 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3789
3790         * HttpApplicationFactory.cs: support for wiring up events without
3791         parameters.
3792
3793 2003-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3794
3795         * HttpUtility.cs: small memory usage reduction.
3796
3797 2003-10-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3798
3799         * HttpApplication.cs: pass the Uri, not the file path to
3800         when looking for a handler.
3801
3802 2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3803
3804         * HttpRequest.cs: small fix needed when reading big POST data.
3805
3806 2003-09-04  Lluis Sanchez Gual <lluis@ximian.com>
3807
3808         * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
3809           (this will get the address from the request headers).
3810
3811 2003-09-04  Lluis Sanchez Gual <lluis@ximian.com>
3812
3813         * HttpServerUtility.cs: In Transfer(), preserve the query string if
3814           told to do so.
3815
3816 2003-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3817
3818         * HttpApplication.cs: ensure we do all the EndRequest steps. Don't
3819         filter the output on error.
3820         
3821         * HttpResponse.cs: modified DoFilter to allow bypassing filtering.
3822
3823 2003-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3824
3825         * HttpApplication.cs: when the request is completed or an
3826         error happens, execute all the delegates attached to EndRequest, not
3827         only the last one. This makes xsp/test/authtest work again.
3828         
3829         * HttpMethodNotAllowedHandler.cs: fixed description for http
3830         status code.
3831
3832 2003-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3833
3834         * HttpRequest.cs: quick way of checking that the path is within the
3835         root for the application. Thanks to Johannes for reporting.
3836         
3837         * HttpRuntime.cs: use the status code from teh exception when it'ss a
3838         HttpException.
3839
3840         * StaticFileHandler.cs: forbidden is 403.
3841
3842 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3843
3844         * HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
3845         <rich@velvetsea.net>.
3846
3847 2003-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3848
3849         * HttpException.cs: make the unhandled error more like the MS one.
3850         * HttpRuntime.cs: set a 500 error code on unhandled exceptions.
3851
3852 2003-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3853
3854         * HttpResponse.cs: flush headers when the body length is 0.
3855         * StaticFileHandler.cs: added If-Modified-Since handling patch slightly
3856         modified from the original by Piers Haken <piersh@friskit.com>.
3857
3858 2003-08-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3859
3860         * HttpResponse.cs: another patch from totte and me. This one prevents
3861         writing output if the client have disconnected and filters the data
3862         when there's a non-final Flush in the middle of the process.
3863
3864 2003-08-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3865
3866         * HttpApplication.cs: fixed typos. Closes bug #44197.
3867
3868 2003-08-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3869
3870         * HttpApplication.cs:
3871         * HttpApplicationFactory.cs: fix duplicate application OnStart events.
3872
3873         Patch by Patrik Torstensson.
3874
3875 2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3876
3877         * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
3878         overload. The previous one only admits static methods.
3879
3880 2003-08-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3881
3882         * ProcessModelInfo.cs: Fixed signature
3883
3884 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3885
3886         * WebCategoryAttribute.cs: Implemented localization
3887         * WebSysDescriptionAttribute.cs: Implemented localization
3888
3889 2003-07-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3890
3891         * HttpRuntime.cs: also clear the headers that may have been set upon
3892         error processing the request.
3893
3894 2003-07-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3895
3896         * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
3897         Write method.
3898
3899         * HttpWriter.cs: flush the filter after writing.
3900
3901 2003-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3902
3903         * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
3904
3905 2003-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3906
3907         * HttpContext.cs: Session doesn't have a setter.
3908
3909         * HttpResponse.cs: Request is private.
3910
3911 2003-07-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3912
3913         * HttpRequest.cs: fixed Headers property. It was getting known headers
3914         values instead of known headers names.
3915
3916 2003-07-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3917
3918         * HttpApplication.cs: prevent nullref if an error happens before context
3919         is set.
3920         * HttpException.cs: small fix in the stack trace sent.
3921         * HttpUtility.cs: the lock is not needed.
3922
3923 2003-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3924
3925         * HttpRequest.cs: added REMOTE_PORT.
3926         * HttpValueCollection.cs: fixed bug #45490.
3927
3928 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3929
3930         * HttpApplication.cs:
3931         * HttpApplicationFactory.cs: fire application start and session
3932         start/end events.
3933
3934 2003-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3935
3936         * HttpException.cs: encode as HTML the inner exception that
3937         is appended as a comment at the end of error pages.
3938
3939 2003-05-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3940
3941         * HttpWriter.cs: don't do anything in Flush. Fixes #42249.
3942
3943 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3944
3945         * HtmlizedException.cs: added more virtual methods.
3946
3947         * HttpException.cs:  some work on the output when there's a source
3948         file present.
3949
3950 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3951
3952         * HtmlizedException.cs: simplified to cope with the new interface.
3953
3954         * HttpApplicationFactory.cs: use the application file parser to get the 
3955         application Type.
3956         
3957         * HttpException.cs: small changes. Needs some more work on
3958         ParseExceptions.
3959         
3960 2003-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3961
3962         * HttpRequest.cs: fixed Url property.
3963
3964 2003-03-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3965
3966         * HtmlizedException.cs:
3967         * HttpException.cs: display the correct line number in error messages.
3968
3969 2003-03-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3970
3971         * HttpCachePolicy.cs: implemented all TODOs.
3972         * HttpRequestStream.cs: make it internal.
3973
3974 2003-03-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3975
3976         * HttpContext.cs: implemented RewritePath in other way.
3977         * HttpRequest.cs: removed SetPhysicalPath and added SetForm.
3978         * HttpServerUtility.cs: implemented Transfer (string, bool).
3979
3980 2003-03-16  Daniel Lopez Ridruejo <daniel @ rawbyte.com>
3981         * HttpContext.cs : Implemented RewritePath
3982         * HttpRequest.cs : Added internal function SetPhysicalPath
3983
3984 2003-03-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3985
3986         * HttpServerUtility.cs: implemented Transfer ().
3987
3988 2003-03-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3989
3990         * HttpRuntime.cs: Cache no longer have a Dispose method.
3991
3992         * HttpServerUtility.cs: removed MonoTODO.
3993
3994 2003-03-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
3995
3996         * HttpHelper.cs: store the values in an ArrayList to get them in correct
3997         order.
3998
3999 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4000
4001         * HttpApplicationFactory.cs: Global.asax takes precedence over
4002         global.asax if it exists.
4003
4004         * HttpRequest.cs: use allowCrossAppMapping in MapPath.
4005
4006 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4007
4008         * HttpApplication.cs: CreateHttpHandler is now internal.
4009
4010         * HttpRequest.cs: allow setting QueryStringRaw, which
4011         invalidates the data obtained from the previous value. Added internal
4012         SetFilePath method.
4013
4014         * HttpServerUtility.cs: implemented Execute and GetLastError.
4015
4016 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4017
4018         * HttpServerUtility.cs: style.
4019
4020 2003-02-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4021
4022         * HttpApplication.cs: only execute the EndRequest step on error
4023         condition or request marked as completed. This prevent page events from
4024         being called when, for example, the url authorization module forbids
4025         the request.
4026
4027 2003-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4028
4029         * HttpRequest.cs: implemented the indexer.
4030
4031 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4032
4033         * HtmlizedException.cs: base class for exceptions that makes it easy to
4034         generate error pages.
4035
4036         * HttpException.cs: improved error displaying.
4037
4038         * HttpRuntime.cs: removed debugging output.
4039
4040 2003-02-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4041
4042         * HttpApplication.cs: display the error instead of hanging when we get
4043         any error before the last step of the request.
4044
4045 2003-02-04  Tim Haynes <thaynes@openlinksw.com>
4046
4047         * HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement
4048         instance counter.
4049
4050 2003-01-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4051
4052         * HttpRequest.cs: added BaseVirtualDir property and use it in MapPath.
4053
4054 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4055
4056         * HttpRequest.cs: implemented CurrentExecutionFilePath.
4057
4058 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4059
4060         * HttpApplication.cs: keep _lasterror if no context. Attach
4061         application events *after* modules initialization (if not, User is not
4062         set when the user handler is called).
4063         
4064         * HttpApplicationFactory.cs: made all methods related to
4065         AttachEvents static. I will fix OnStart/OnEnd for application and
4066         session later.
4067         
4068         * HttpRequest.cs: don't initialize cookies twice.
4069
4070 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4071
4072         * HttpResponse.cs:
4073         (ApplyAppPathModifiers): return the root directory for "".
4074
4075 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4076
4077         * HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.
4078
4079 2003-01-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4080
4081         * HttpApplication.cs: added new state to handle default authentication.
4082
4083 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4084
4085         * HttpContext.cs: removed hack to get the User.
4086
4087 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4088
4089         * HttpUtility.cs: fixed bug #36038. Thanks to juancri@tagnet.org for
4090         reporting the bug and how to fix it.
4091
4092 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4093
4094         * HttpCookie.cs: send 'expires' in the header.
4095
4096 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4097
4098         * HttpValueCollection.cs: patch from Botjan Vizin 
4099         <bostjan.vizin@siol.net> that implements ToString (bool).
4100
4101 2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4102
4103         * HttpApplicationFactory.cs: add the context as parameter when building
4104         the application Type.
4105         
4106         * HttpCookie.cs: new internal constructor.
4107         * HttpCookieCollection.cs: new internal method to make a cookie expire.
4108
4109         * HttpRequest.cs: MapPath fixes.
4110         * HttpResponse.cs: implemented ApplyAppPathModifier.
4111         * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
4112
4113 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4114
4115         * HttpContext.cs: hack to create a default user when there's no one.
4116         Implemented GetConfig (string).
4117
4118         * HttpRequest.cs: fixes to MapPath (string).
4119
4120 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4121
4122         * HttpRuntime.cs: avoid nulls and exception when getting resource
4123         format strings.
4124
4125         * StaticFileHandler.cs: added file name to error message.
4126
4127 2002-12-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4128
4129         * HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
4130
4131 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4132
4133         * HttpApplicationFactory.cs: get the events from the application class,
4134         fire Application/Session Start/End and add the others as application
4135         events.
4136
4137 2002-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4138
4139         * HttpApplicationFactory.cs: compile global.asax file if it exists.
4140
4141 2002-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4142
4143         * HttpRequest.cs: provide a default Browser until we detect it.
4144         * HttpResponse.cs:
4145         (End): do not close the connection here.
4146         (Flush (bool)): send the headers when, for example, Redirect () is
4147         called.
4148
4149 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4150
4151         * HttpException.cs: simple error output.
4152
4153 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4154
4155         * HttpApplication.cs: style.
4156         * HttpException.cs: style.
4157         * HttpRuntime.cs: only flush the response if there are no errors.
4158         Otherwise, write an error output.
4159         * HttpWriter.cs: change Unicode to UTF8.
4160
4161 2002-11-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4162
4163         * HttpApplication.cs: don't begin the request using ExecuteNextAsync
4164         (it fails to work on NetServ).
4165
4166         * HttpWorkerRequest.cs: typo.
4167
4168 2002-11-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4169
4170         * HttpValueCollection.cs: the value may contain trailing '=' as it is
4171         UrlEncoded. Don't split name=value based on '='.
4172
4173 2002-11-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4174
4175         * HttpCookie.cs: made GetCookieHeader internal.
4176
4177         * HttpRequest.cs: get cookies from request.
4178
4179         * HttpResponse.cs: send cookies. Implemented
4180         AddFileDependencies (). Added check for _Writer == null in Flush
4181         (Patrik ;-). Clear the content if HEAD or SupressContent == true.
4182         Removed redirect hack used in old server.
4183
4184 2002-10-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4185
4186         * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
4187         most ContentLength bytes.
4188
4189         * HttpResponse.cs: now it sends the headers. Added
4190         X-Powered-By header :-).
4191
4192         * HttpRuntime.cs: fixed typo.
4193
4194         * HttpValueCollection.cs: cosmetic changes.
4195
4196 2002-10-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4197
4198         * HttpApplication.cs: reenabled a few lines of code
4199         (ThreadPool already fixed). 
4200         
4201         * HttpRequest.cs:
4202         * HttpResponse.cs:
4203         * HttpUtility.cs:
4204         * HttpValueCollection.cs:
4205         * HttpWriter.cs: Use WebEncoding.Encoding.
4206
4207 2002-10-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4208
4209         * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
4210         This fixes sending bytes and allows mixing byte with chars.
4211
4212 2002-10-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4213
4214         * HttpResponse.cs: implemented WriteFile methods.
4215         * MimeTypes.cs: removed duplicated entries.
4216
4217 2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4218
4219         * HttpResponse.cs: don't throw exception in a couple of
4220         methods not yet implemented.
4221
4222 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4223
4224         * HttpApplication.cs: fixed type and handle factories when creating
4225         IHttpHandler for a request.
4226
4227 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4228
4229         * HttpApplication.cs: use handlers from configuration.
4230         * HttpContext.cs: get handlers from ConfigurationSettings.
4231
4232 2002-10-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4233
4234         * HttpMethodNotAllowedHandler.cs:
4235         * HttpRuntime.cs:
4236         * StaticFileHandler.cs: Modified file.
4237
4238         * HttpUtility.cs: implemented all missing methods.
4239
4240
4241 2002-09-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4242
4243         * System.Web/HttpApplication.cs: use the static file handler.
4244         * System.Web/HttpForbiddenHandler.cs: handler to forbid access.
4245         * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
4246         allowed.
4247         
4248         * System.Web/HttpUtility.cs: finished all UrlDecode methods.
4249         * System.Web/MimeTypes.cs: map from file extension to MIME type.
4250         * System.Web/StaticFileHandler.cs: serves static files
4251
4252 2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4253
4254         * System.Web/HttpApplication.cs:
4255         * System.Web/HttpApplicationFactory.cs:
4256         * System.Web/HttpRequest.cs:
4257         * System.Web/HttpRuntime.cs: we are now able to compile pages and use
4258         HttpApplication, HttpRuntime and SimpleWorkerRequest.
4259
4260 2002-09-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4261
4262         * HttpApplication.cs: added some missing methods.
4263         * HttpApplicationFactory.cs: get event handlers for the application.
4264         * HttpAsyncResult.cs: little fixes.
4265         * HttpRequest.cs: make Encoding work even with no worker request.
4266
4267 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4268
4269         * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
4270         to add HttpMapPath to the list file...
4271
4272 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4273
4274         * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
4275         report when i get a test case.
4276
4277 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4278
4279         * HttpApplicationFactory.cs:
4280         * HttpCachePolicy.cs:
4281         * HttpResponseHeader.cs:
4282         * HttpResponseStream.cs:
4283         * HttpResponseStreamProxy.cs:
4284         * HttpValueCollection.cs: misc. fixes based on class status page.
4285
4286         * IHttpMapPath.cs: New file.
4287
4288         * HttpRequest.cs: implemented ContentEncoding.
4289         * HttpWorkerRequest.cs: mono-stylized and implemented
4290         SendResponseFromMemory.
4291
4292 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4293
4294         * HttpContext.cs: reformatted.
4295         * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
4296         the indexer.
4297
4298 2002-08-05  Patrik Torstensson <ptorsten@hotmail.com>
4299
4300         * HttpApplication.cs: Implemented a state machine to allow handling of
4301         HttpModules and HttpHandlers. Implementation of async handlers. 
4302                                                                  
4303         * HttpApplicationFactory.cs: Factory for creating HttpApplication
4304         instances, including caching.
4305         
4306         * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
4307         application instance to execute requests in and implementation of 
4308         request execution (still no request queue). 
4309                                                          
4310         * HttpAsyncResult.cs: New file to handle async module results.                                          
4311                                                          
4312         * HttpRequest.cs: Change signature of Dispose
4313         * HttpResponse.cs: new internal method allowing filtering to happen
4314         during the request flow in the state machine.
4315
4316 2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4317
4318         * HttpApplication.cs: events were not being initialized.
4319
4320 2002-07-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4321
4322         * ProcessModelInfo.cs: fixed compilation.
4323
4324 2002-07-25  Tim Coleman <tim@timcoleman.com>
4325         * ProcessModelInfo.cs:
4326                 New class added
4327         * HttpParseException.cs:
4328         * HttpCompileException.cs:
4329         * HttpUnhandledException.cs:
4330                 Internal constructors added to these
4331
4332 2002-07-24  Tim Coleman <tim@timcoleman.com>
4333         * ProcessInfo.cs: 
4334                 Fix constructor, reference to shutdownreason.
4335
4336 2002-07-24  Tim Coleman <tim@timcoleman.com>
4337         * HttpCachePolicy.cs:
4338                 Added stubbs to this class.
4339         * HttpCacheability.cs:
4340         * HttpCacheRevalidation.cs:
4341         * HttpValidationStatus.cs:
4342         * ProcessShutdownReason.cs:
4343         * ProcessStatus.cs:
4344         * TraceMode.cs:
4345                 Reorder the enumerations (and in some cases make
4346                 one-based) in order to agree with the .NET 
4347                 implementation, based on the class status page.
4348         * ProcessInfo.cs:
4349                 Implementation of this class.
4350
4351 2002-07-23  Tim Coleman <tim@timcoleman.com>
4352         * HttpCompileException.cs:
4353         * HttpParseException.cs:
4354         * HttpUnhandledException.cs:
4355                 New stubbs created.
4356         * HttpApplication.cs:
4357         * HttpBrowserCapabilities.cs:
4358                 Added missing methods stubbs and attributes based
4359                 on the class status page.  Also reformatted some
4360                 source for consistency.
4361
4362 2002-07-23  Tim Coleman <tim@timcoleman.com>
4363         * HttpUtility.cs: Moved entities hashtable into main
4364                 class as a static object, so we don't instantiate
4365                 a new one every time.  Also put the hashtable
4366                 building into a lock block.
4367
4368 2002-07-22  Tim Coleman <tim@timcoleman.com>
4369         * HttpUtility.cs: Cleanup of the code, implementation
4370                 of HtmlDecode/HtmlEncode functions
4371
4372 2002-07-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4373
4374         * HttpResponse.cs: quick&dirty hack to make redirection work. Should
4375         be out of there once we have SimpleWorkerRequest.
4376
4377 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4378
4379         * HttpUtility.cs: little typo, big headache.
4380
4381 2002-07-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4382
4383         * HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
4384
4385 2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4386
4387         * System.Web/HttpResponse.cs: 
4388
4389         Fixes based on class status page:
4390         
4391                 - Add attributes (DefaultEvent, ParseChildren).
4392                 - Fix declarations.
4393                 - Explicitly implement some interfaces (IPostBackDataHandler
4394                 and IPostBackEventHandler).
4395                 - Implemented some missing methods.
4396
4397 2002-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4398
4399         * HttpContext.cs:
4400         (Session): return null instead of throwing an exception.
4401
4402         * HttpRequest.cs:
4403         (HttpMethod): return RequestType if not set.
4404         (GetRawContent): return QueryString if we don't have a
4405         HttpWorkerRequest.
4406
4407         * HttpUtility.cs: fixed Decode and Encode.
4408
4409 2002-06-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4410
4411         * HttpApplication.cs:
4412         * HttpContext.cs: added System.Web.SessionState namespace.
4413
4414         * HttpSessionState.cs: removed. It is under
4415         System.Web.SessionState.
4416
4417 2002-06-10  Duncan Mak  <duncan@ximian.com>
4418
4419         * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
4420
4421 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4422
4423         * HttpRequest.cs: implemented Browser property.
4424
4425 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
4426
4427         * HttpBrowserCapabilities.cs: stubbed out.
4428
4429 2002-05-18  Miguel de Icaza  <miguel@ximian.com>
4430
4431         * HttpRuntime.cs: Reformat file.
4432
4433 2002-05-07  Duncan Mak  <duncan@ximian.com>
4434
4435         * HttpBrowserCapabilities.cs: Added, replacing
4436         HttpBrowserCapabilites because of typo.
4437
4438         * HttpBrowserCapabilites.cs: Removed, replaced by above.
4439
4440         * HttpRequest.cs (Browser): Fixed typo.
4441
4442 2002-04-12  Patrik Torstensson <patrik.torstensson@labs2.com>
4443
4444         * HttpApplication.cs: Minor updates
4445         * HttpApplicationState.cs: Ready.
4446         * HttpClientCertificate.cs: Signature updates
4447         * HttpValueCollection.cs: ready
4448         * HttpStaticObjectsCollection.cs: ready
4449         * HttpResponseHeader.cs: made internal only
4450         * HttpResponse.cs: Signature updates
4451         * HttpPostedFile.cs: ready
4452         * HttpCacheVaryByHeaders.cs: ready (except communication to policy)
4453         * HttpCacheVaryByParams.cs: ready (except communication to policy)
4454         
4455         System.Web is now over 60% ready.. 
4456
4457 2002-04-11  Patrik Torstensson <patrik.torstensson@labs2.com>
4458
4459         * HttpException.cs: 95% ready, only windows dependent code left
4460         * HttpFileCollection.cs: Finished.
4461         * HttpRequest.cs: Minor fixes and fixed signature problems
4462         * HttpResponse.cs: Implementation of missing methods and signature problems
4463         * HttpResponseHeader.cs: Fixed signature problems
4464         * HttpRuntime.cs: Fixed signature problems
4465         * HttpServerUtility.cs: Added support for HttpApplication
4466         * HttpSessionState.cs: Fixed signature issues
4467         * HttpUtility.cs: fixed signature issues
4468         * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
4469         * HttpWorkerRequest.cs: Fixed small signature issue
4470         * HttpWriter.cs: Fixed signature issue
4471         * HttpApplication.cs: Basic implementation
4472         * HttpApplicationState.cs: Small fixes to support major change comming up
4473         * HttpBrowserCapabilities.cs: Added Type method
4474         * HttpClientCertificate.cs: Almost ready, needs to parse certificate.
4475         * HttpContext.cs: Fixed signature issues and added last methods.
4476         * HttpCookie.cs: Full implementation
4477         * HttpCookieCollection.cs: Full implementation
4478         * TraceContext.cs: Methods implemented.
4479         * HttpPostedFile.cs: Placeholder
4480         * HttpStaticObjectsCollection.cs: Placeholder
4481         * HttpModuleCollection.cs: Ready, will be used during the major revamp.
4482         
4483         * Fixed a number of other small signature problems also (class status page)
4484         
4485         
4486 2002-04-10  Patrik Torstensson <patrik.torstensson@labs2.com>
4487
4488     * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
4489     * Checkin of all new files (noted in last changenote)
4490
4491 2002-04-10  Patrik Torstensson <patrik.torstensson@labs2.com>
4492
4493     * HttpContext.cs: First implementation (basic support, few methods left to impl)
4494     * HttpException.cs: Partial implementation (basic support)
4495     * HttpHelper.cs: Header parse helper, used by runtime (non public)
4496     * HttpRequest.cs: Implementation (all methods there, not all fully impl)
4497     * HttpRequestStream.cs: Full implementation
4498     * HttpResponse.cs: Partial implementation(almost all methods)
4499     * HttpResponseHeader.cs: Header helper
4500     * HttpResponseStream.cs: Full implementation - Response stream support
4501     * HttpResponseStreamProxy.cs: Implementation - filter support
4502     * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
4503         * HttpServerUtility.cs: Implemented usage of HttpContext for methods
4504                                 and moved encoding functions to HttpUtility.
4505
4506     * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
4507                       added the Attribute encoding functions.
4508
4509     * HttpValueCollection.cs: Implementation.
4510     * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
4511     * HttpWriter.cs: Implementation (with filter support)    
4512
4513     * HttpFileCollection: Added dummy class (placeholder)
4514     * HttpApplication.cs: Added dummy class (placeholder)
4515     * HttpApplicationState.cs: Added dummy class (placeholder)
4516     * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
4517     * HtttpCachePolicy.cs: Added dummy class (placeholder)
4518     * HttpClientCertificate.cs: Added dummy class (placeholder)
4519     * HttpSessionState.cs: Added dummy class (placeholder)
4520     * TraceContext.cs: Added dummy class (placeholder)
4521     
4522
4523 2002/04/10  Nick Drochak <ndrochak@gol.com>
4524
4525         * HttpServerUtility.cs: Fix build breaker.
4526
4527 2002-03-28  Wictor Wiln  <wictor@iBizkit.se>
4528
4529         * HttpServerUtils.cs : Added some more functionality
4530         
4531 2002-03-28  Martin Baulig  <martin@gnome.org>
4532
4533         * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
4534         char to a string, use ToString() instead.
4535
4536 2002-03-16  Gaurav Vaish  <gavish@iitk.ac.in>
4537
4538         * WebCategoryAttribute.cs
4539                                : Added private attribute.
4540
4541 2002-03-16  Gaurav Vaish  <gavish@iitk.ac.in>
4542
4543         * HttpRuntime.cs       : Stubbed methods for
4544                   FormatStringResource(...) in agreement with the various
4545                   overloads available at String.Format(...)
4546
4547 2002-01-08  Gaurav Vaish  <gavish@iitk.ac.in>
4548
4549         * TODOAttribute.cs     : Added, as an internal class to the assembly
4550
4551 2002-01-03  Nick Drochak  <ndrochak@gol.com>
4552
4553         * HttpRuntime.cs: remove uneeded exception variable from catch and
4554         initialize remaining instance members to avoid compile warnings
4555
4556 2002-01-02  Nick Drochak  <ndrochak@gol.com>
4557
4558         * HttpRuntime.cs: fix spelling error/variable name change.
4559
4560 2001-12-18  Gaurav Vaish <gvaish@iitk.ac.in>
4561
4562         * HttpRuntime.cs       : Initial implementation
4563
4564 2001-08-29  Bob Smith  <bob@thestuff.net>
4565
4566         * HttpWorkerRequest.cs: Partial Implementation.
4567
4568 2001-08-16  Bob Smith  <bob@thestuff.net>
4569
4570          * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
4571
4572 2001-08-09  Bob Smith  <bob@thestuff.net>
4573
4574          * BeginEventHandler.cs: Implemented.
4575          * EndEventHandler.cs: Implemented.
4576          * HttpCacheability.cs: Implemented.
4577          * HttpCacheRevalidation.cs: Implemented.
4578          * HttpCacheValidateHandler.cs: Implemented.
4579          * HttpCookieCollection.cs: Implemented.
4580          * HttpCookie.cs: Implemented.
4581          * HttpValidationStatus.cs: Implemented.
4582          * HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
4583          * IHttpAsyncHandler.cs: Implemented.
4584          * IHttpHandler.cs: Implemented.
4585          * IHttpHandlerFactory.cs: Implemented.
4586          * IHttpModule.cs: Implemented.
4587          * ProcessShutdownReason.cs: Implemented.
4588          * ProcessStatus.cs: Implemented.
4589          * TraceMode.cs: Implemented.