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