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