2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web / ChangeLog
1 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2
3         * OutputFilterStream.cs: proxy class for response filters.
4         * HttpResponse.cs: moved all the actual write operations into the
5         response stream. Handle response filtering. When caching, get the
6         actual length of the data, not the buffer length.
7         * HttpApplication.cs: if there's no error, invoke the filters before
8         updating the request cache.
9         * HttpResponseStream.cs: new Filter property. SendChunkSize is moved
10         here and now supports writing the final chunk. New method ApplyFilter
11         that filters the existing buckets and replaces them with the filtered
12         ones. Modified Write to deal with buffering and filtering.
13
14 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
15
16         * HttpResponseStream.cs: allow for writes of more than 32K at once.
17
18 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
19
20         * InputFilterStream.cs proxy stream for use by filters.
21         * HttpRequest.cs: implement input filtering.
22
23 2005-10-02 Eyal Alaluf <eyala@mainsoft.com>
24         * HttpApplication.jvm.cs - Workaround for use of yield in
25         HttpApplication.cs HttpRuntime.cs: AppDomain.Unload is not supported
26         * under TARGET_J2EE
27
28 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
29
30         * HttpResponseStream.cs: remove dead code.
31
32 2005-09-29  Sebastien Pouliot  <sebastien@ximian.com> 
33
34         * HttpClientCertificate.cs: Remove last TODO on IsValid. This now 
35         works when using XSP. Now use flags to determine valid/presence.
36
37 2005-09-26  Chris Toshok  <toshok@ximian.com>
38
39         * HttpApplicationFactory.cs (OnAppFileChanged): add null checks
40         for bin_watcher and app_file_watcher so we don't get NRE's here.
41
42 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
43
44         * BrowserCapabilities.cs: don't rely on the win32 attribute to be there.
45         Just use the platform to determine whether Win32 is true or not. Fixes
46         bug #74777.
47
48 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
49
50         * HttpApplication.cs: fixed typo when setting UI culture. Closes bug
51         #76189.
52
53 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
54
55         * HttpRequest.cs: new SetFilePath() that does not conflict with
56         SetCurrentExePath. Now when transfering from a page to another,
57         CurrentExecutionFilePath and FilePath are correct.
58
59 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
60
61         * TraceContext.cs: add new method to store size of controls.
62         * TraceData.cs: render control size.
63         * HttpResponse.cs: new internal method to get the number of bytes of
64         buffered output.
65         * HttpResponseStream.cs: added Length property to the Buckets and new
66         GetTotalLength.
67
68 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
69
70         * TraceData.cs: we have to change the method of getting a control render
71         size. MS does not do this or otherwise would run into the same bug
72         (#76051) that this patch fixes. This is temporarily setting the size
73         to 0.
74
75 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
76
77         * HttpResponseStream.cs: implemented Send(stream) for files. Fixes bug
78         #76145.
79
80 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
81
82         * HttpRuntime.cs: catch errors when compiling global.asax and
83         initializing the application. Fixes bug #76090.
84
85 2005-09-14  Sebastien Pouliot  <sebastien@ximian.com> 
86  
87         * BrowserCapabilities.cs: Fixed changes (in 2.0) with versions. Fixed
88         compare with "True" (culture and case sensitivity).
89         * HttpApplicationState.cs: Added LinkDemand for Minimal. Use the 
90         internal HttpStaticObjectsCollection ctor to avoid the UnmanagedCode
91         demand.
92         * HttpContext.cs: Added LinkDemand for Minimal. Added 2.0 properties
93         and methods to test CAS on them.
94         * HttpRequest.cs: Added LinkDemand for Minimal. Ensure we return 
95         proper values when worker_request is null.
96         * HttpResponse.cs: Added LinkDemand for Minimal. Ensure we return 
97         proper values when context or WorkerRequest is null. Added 2.0 
98         properties and methods to test CAS on them.
99         * HttpRuntime.cs: Added LinkDemand for Minimal. Added PathDiscovery 
100         demands for properties returning directories. Added demand for High 
101         level on AppDomainAppId and AppDomainId properties, Low level on 
102         IsOnUNCShare, Medium level on ProcessRequest and a demand for 
103         UnmanagedCode on UnloadAppDomain method. Constructor also has a 
104         UnmanagedCode demand for 1.x.
105         * HttpStaticObjectsCollection.cs: Added LinkDemand for Minimal. Added
106         a UnmanagedCode demand to public ctor. Added internal ctor without the
107         demand. Changed Serialize and Deserialize methods to public for 2.0.
108
109 2005-09-14  Sebastien Pouliot  <sebastien@ximian.com>
110
111         * HttpWorkerRequest.cs: Removed TODO for 2.0 APIs and return the 
112         default values for them.
113
114 2005-09-13  Sebastien Pouliot  <sebastien@ximian.com>
115
116         * HttpApplication.cs: : Added LinkDemand and InheritanceDemand (class)
117         for Minimal. Changed AssemblyLocation to a property (so it doesn't 
118         require special permission, PathDiscovery) to create an instance. 
119         Protected Modules property with a Demand for High level. Added some 
120         missing HttpException for null context.
121         * HttpServerUtility.cs: Added LinkDemand for Minimal. Added demands 
122         for UnmanagedCode on all CreateObject* methods. Added demand for 
123         Medium level on MachineName and ScriptTimeout properties. Added new
124         overloaded Transfer method (2.0) to test CAS on it.
125         * HttpUtility.cs: Added LinkDemand for Minimal. Added [Obsolete] to 
126         ctor (2.0). Changed some return values when 'count' is 0. Added 
127         ParseQueryString (overload) methods for 2.0 (to enabled CAS testing on
128         them).
129         * HttpWorkerRequest.cs: Added LinkDemand and InheritanceDemand (class)
130         for Minimal. Added RequestTraceIdentifier and RootWebConfigPath (2.0) 
131         properties, GetPreloadedEntityBody, GetPreloadedEntityBodyLength, 
132         GetTotalEntityBodyLength and ReadEntityBody (2.0) methods to test CAS 
133         on them. Fixed SendResponseFromMemory to ignore IntPtr.Zero (used in 
134         tests without failures).
135         * ServerVariablesCollection.cs: Fixed loadServerVariablesCollection 
136         when HttpWorkerRequest is null.
137         * TraceContext.cs: Added LinkDemand for Minimal. Fixed default Mode 
138         (SortByTime). Added new (2.0) TraceFinished event to test CAS on it.
139
140 2005-09-13  Sebastien Pouliot  <sebastien@ximian.com> 
141  
142         * HttpBrowserCapabilities.cs: Added LinkDemand and InheritanceDemand 
143         (class) for Minimal. Note that current MCS has problem compiling 
144         security attributes on partial class (bug #75969).
145         * HttpCachePolicy.cs: Added LinkDemand for Minimal. Added 2.0 methods
146         (stub) to enable CAS tests on them.
147         * HttpCacheVaryByHeaders.cs: Added LinkDemand for Minimal.
148         * HttpCacheVaryByParams.cs: Added LinkDemand for Minimal.
149         * HttpClientCertificate.cs: Added LinkDemand and InheritanceDemand 
150         (class) for Minimal.
151         * HttpCookie.cs: Added LinkDemand for Minimal.
152         * HttpCookieCollection.cs: Added LinkDemand for Minimal.
153         * HttpFileCollection.cs: Added LinkDemand for Minimal.
154         * HttpModuleCollection.cs: Added LinkDemand for Minimal.
155         * HttpPostedFile.cs: Added LinkDemand for Minimal.
156         * HttpRequestPriority.cs: Fix enum values.
157         * HttpWriter.cs: Added LinkDemand for Minimal.
158
159 2005-09-13  Sebastien Pouliot  <sebastien@ximian.com>
160
161         * ProcessInfo.cs: Added LinkDemand and InheritanceDemand (class) for
162         Minimal.
163         * ProcessModelInfo.cs: Added LinkDemand and InheritanceDemand (class)
164         for Minimal. Methods GetCurrentProcessInfo and GetHistory are also
165         protected by Demand for High level.
166
167 2005-09-13  Sebastien Pouliot  <sebastien@ximian.com> 
168  
169         * HttpCompileException.cs: Added new public ctors and [Serializable]
170         to 2.0. Added new Message property and GetObjectData (protected by a
171         demand for SerializationFormatter) for 2.0. Fixed line-ending.
172         * HttpException.cs: Added LinkDemand and InheritanceDemand (class) for
173         Minimal. Renamed parameters to match documentation.
174         * HttpParseException.cs: Added LinkDemand (class) for Minimal. Added
175         demand for SerializationFormatter on GetObjectData method. Fixed 
176         line-ending.
177         * HttpRequestValidationException.cs: Added new public ctors and 
178         [Serializable] to 2.0. Added LinkDemand for Minimal.
179         * HttpUnhandledException.cs: Added new public ctors and [Serializable]
180         to 2.0. Removed unused internal ctor. Added LinkDemand for Minimal.
181         Fixed line-ending.
182
183 2005-09-13  Sebastien Pouliot  <sebastien@ximian.com>
184
185         * HttpResponseSubstitutionCallback.cs: New. 2.0 delegate.
186         * TraceContextEventArgs.cs: New. 2.0 class.
187         * TraceContextEventHandler.cs: New. 2.0 delegate.
188
189 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
190
191         * HttpRequest.cs: use GetServerName instead of GetLocalAddress when
192         building the Url.
193
194 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
195
196         * HttpRequest.cs: fix the indexer.
197
198 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
199
200         * HttpPostedFile.cs: fixes in Seek and Position.
201
202 2005-09-08  Sebastien Pouliot  <sebastien@ximian.com>
203
204         * HttpRequest.cs: Make sure the MemoryStream created have their 
205         contents marked as public - or else you can't call GetBuffer on them!
206
207 2005-09-08  Miguel de Icaza  <miguel@novell.com>
208
209         * HttpRequest.cs: Patch from Juraj Skripsky <js@hotfeet.ch> that
210         fixes UrlReferrer. 
211
212 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
213
214         * HttpPostedFile.cs: Make this class actually work. Every time we read,
215         we have to position the underlying stream.
216
217 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
218
219         * HttpRequest.cs: reading multipart/form-data works again.
220
221 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
222         * HttpRequest.cs: Under TARGET_JVM the input stream must allow GetBuffer.
223
224 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
225         * HttpApplicationFactory.cs: TARGET_J2EE/JVM fix.
226
227 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
228
229         * HttpRequest.cs: correctly detect multipart/form-data.
230
231 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
232
233         * HttpApplicationFactory.cs: recycle after invoking session_end.
234
235 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
236
237         * HttpRuntime.cs: remove Console.
238
239         * HttpApplicationFactory.cs: don't hook Session_End, but keep
240         the MethodInfo around for later invocation if needed. Don't call
241         GetMethods() for every HttpApplication (or derived class) instances.
242         Added a method, used by SessionStateModule, that will create use an
243         application without context to invoke Session_End. Keep a pool of
244         applications that are meant to be used by this method only.
245
246         * HttpApplication.cs: add a SetSession method and do not
247         attach all the events if the application is for Session_End only.
248
249 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
250
251         * HttpRuntime.cs: actually unload the domain when requested. Reformatted
252         FinishUnavailable() and removed the 'Location' header form the error.
253
254         * HttpApplicationFactory.cs: set up the watcher for the bin directory.
255         This also prevents a nullref when global.asax is changed.
256
257 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
258
259         * HttpApplication.cs: fixed bug introduced when moving GetHandler call
260         around. Now we get error pages again.
261
262 2005-09-06  Miguel de Icaza  <miguel@novell.com>
263
264         * HttpApplication.cs: Catch EndRequest errors as well.
265
266 2005-09-05  Miguel de Icaza  <miguel@novell.com>
267
268         * HttpApplication.cs: Invoke EndRequest handler before OutputPage
269         as FormsAuthentication will issue a Redirect from the EndRequest 
270         handler. 
271
272 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
273
274         * HttpApplication.cs: when writing an error message, catch the possible
275         write error.
276
277 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
278
279         * HttpResponseStream.cs: prevent invalid cast exception if the first
280         thing written is a file.
281
282 2005-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
283
284         * HttpApplication.cs: fix invalid cast exception (bug #75926).
285
286 2005-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
287
288         * HttpApplicationFactory.cs: only trigger the Application_Start event
289         once. It was being invoked more than once when several clients were
290         hitting the server at the same time on startup.
291
292 2005-09-01 Eyal Alaluf <eyala@mainsoft.com>
293
294         * HttpContext.cs HttpResponse.cs HttpWorkerRequest.cs HttpRuntime.cs
295           HttpApplicationFactory.cs HttpApplication.cs: TARGET_J2EE/JVM fixes.
296           Mostly workaround limited AppModel in TARGET_J2EE.
297
298 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
299
300         * HttpResponse.cs: if the request method is HEAD, that's equivalent to
301         SuppressContent. Added an internal TransmitFile that allows setting the
302         final_flush flag.
303         * StaticFileHandler.cs: use the new internal TransmitFile and remove
304         generation of Content-Length header, as now it's computed correctly.
305         * HttpApplication.cs: remove debugging stuff.
306         * HttpResponseStream.cs: suppress_content is checked in HttpResponse.
307
308 2005-08-31  Miguel de Icaza  <miguel@novell.com>
309
310         Removed debugging info.
311         
312         * HttpApplication.cs: Add support for async handlers. 
313
314         Add extra 2.x methods. 
315
316 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
317
318         * BrowserCapabilities.cs: removed extra 'using'.
319
320         * HttpApplication.cs: use just the 'modcoll' to hold the collection of
321         modules instead of having a separate 'modules' one.
322
323 2005-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
324
325         * HttpApplication.cs: clone the module collection so that
326         it's not shared between HttpApplications. Call GetHandler() in the
327         right place.
328
329 2005-08-30  Miguel de Icaza  <miguel@novell.com>
330
331         * HttpApplication.cs: Add the new 2.x method overloads that take a
332         data object.
333
334         (RunHooks): Pass the extra data instead of null.
335
336         * HttpCookie.cs (HttpOnly): Add 2.x cookie header.
337
338         * BrowserCapabilities.cs: Move the core of the capabilities into a
339         separate file.  Use partial classes to choose what version to
340         compile against.
341
342         * HttpBrowserCapabilities.cs: Update to move the code elsewhere.
343
344 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
345
346         * HttpResponseStream.cs: Fix a bug introduced by last fix (thanks to
347         Ben)
348
349 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
350
351         * HttpResponseStream.cs: Compilation fixes for TARGET_JVM. TARGET_JVM
352         does not support unsafe code. I localized all unsafe code within Chunk
353         & Block and created a managed version of Chunk.
354
355 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
356         * HttpApplicationFactory.cs: Compilation fixes for TARGET_J2EE. Under
357         TARGET_J2EE static fields are shared by all app domains. We handle
358         this difference by explicitly getting/setting values from the app
359         domain.  Since HttpApplicationFactory has many static fields, I
360         refactored it to have one static instance and moved the static fields
361         into instance fields.
362
363 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
364
365         * HttpRequest.cs: Disable use of IntPtrStream for TARGET_JVM
366
367 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
368
369         * HttpContext.cs: Compilation fixes for TARGET_J2EE/JVM
370
371 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
372
373         * HttpResponse.cs: don't duplicate the 'charset=' and don't send a
374         charset for unknown MIME types.
375         * StaticFileHandler.cs: set the Content-Length header here.
376         * HttpRequest.cs: prevent nullrefs when we have no 'charset='.
377
378 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
379
380         * StaticFileHandler.cs: use TransmitFile instead of WriteFile. This way
381         xsp will use sendfile().
382
383 2005-08-28  Chris Toshok  <toshok@ximian.com>
384
385         * SiteMapNode.cs: fix IHierarchyData.GetParent.
386
387 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
388
389         * HttpRequest.cs:
390         * IntPtrStream.cs: now we only have a read-only MemoryStream or an
391         IntPtrStream. The copy is moved into HttpRequest.
392
393 2005-08-26  Sebastien Pouliot  <sebastien@ximian.com>
394
395         * WebCategoryAttribute.cs: New. Required internal attribute.
396         * WebSysDescriptionAttribute.cs: New. Required internal attribute.
397
398 2005-08-26  Jackson Harper  <jackson@ximian.com>
399
400         * HttpResponseStream.cs: Use GetBuffer so the memory isn't
401         duplicated.
402
403 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
404
405         * HttpApplication.cs: GetHandler might return null when, for example,
406         a web service fails, but that does not mean that returning a null
407         handler should throw another exception, as the web service code
408         serialized the error as a faultString. So if the handler is null, just
409         don't call ProcessRequest and keep going.
410
411 2005-08-26  Jackson Harper  <jackson@ximian.com>
412
413         * HttpResponse.cs: Send the cached headers if this is a cached
414         response. Save the headers, date header, and page data. Fix a typo.
415         * HttpResponseStream.cs: Add new accesor to get a byte [] of the
416         page data.
417
418 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
419
420         * HttpWorkerRequest.cs: SetEndOfSendNotification is a noop. No matter
421         what callback you use that never gets called. In XSP I actually
422         implement something for this method.
423         * HttpServerUtility.cs: unused variable.
424
425 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
426
427         * HttpInputStream.cs: new ctor that takes a byte [].
428         * IntPtrStream.cs: make it work on a byte [] too.
429
430         * HttpRequest.cs:
431         (ContentLength): return 0 for negative numbers or error parsing, but
432         keep content_length negative in those cases.
433         (MakeInputStream): when there's no content-length (or it's negative),
434         we still read the request into a MemoryStream. Use
435         IsEntireEntityIsPreloaded() as a fast path.
436
437 2005-08-25  Sebastien Pouliot  <sebastien@ximian.com>
438
439         * HttpClientCertificate.cs: On 1.x the .ctor throws a 
440         ArgumentNullException (but 2.0 throws a NRE).
441
442 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
443
444         * HttpRequest.cs: HttpMethod deserves its own field. Fix IsLocal.
445
446 2005-08-25  Chris Toshok  <toshok@ximian.com>
447
448         * HttpApplication.cs (IsReusable): return true.
449         (InitOnce): remove the initialization of handler_factory from
450         here.
451         (GetHandler) and move it here, so we make sure to load handlers
452         from all needed web.config files.
453
454 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
455
456         * HttpServerUtility.cs: use GetHandler().
457         * HttpApplication.cs: remove obsolete method. Now Transfe/Execute work.
458
459 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
460
461         * HttpApplication.cs: no need for the local var. here.
462
463 2005-08-25  Chris Toshok  <toshok@ximian.com>
464
465         * HttpApplication.cs (InitOnce): move the initialization of
466         modules above the call to HttpApplicationFactory.AttachEvents,
467         since that method accesses HttpApplication.Modules.  Fixes
468         nGallery.
469         (IsReusable): mark TODO.
470
471 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
472
473         * HttpResponseHeader.cs: removed obsolete class.
474         * HttpResponse.cs: no more 'obsolete' warnings.
475
476 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
477
478         * HttpRuntime.cs: implemeted some missing properties.
479
480 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
481
482         * HttpResponse.cs: implemented RemoveOutputCacheItem().
483
484 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
485
486         * HttpApplication.cs: implemented GetVaryByCustomString().
487
488 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
489
490         * HttpRequest.cs: implemented SetHeader (allows adding a header
491         circumventing the read-only protection of the collection) and SetForm,
492         which just assigns a value of the 'form' collection.
493         * HttpServerUtility.cs: NameValueCollection -> WebROCollection.
494
495 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
496
497         * HttpContext.cs:
498         * HttpRequest.cs: implemented RewritePath and supporting methods.
499
500 2005-08-22  Sebastien Pouliot  <sebastien@ximian.com>
501
502         * HttpRequest.cs: Avoid NRE if work_request if null in the ctor.
503         * HttpResponse.cs: Avoid NRE if work_request if null in the ctor.
504
505 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
506
507         * HttpApplication.cs: if there's any exception thrown when getting the
508         handler, don't add an extra error to the context, as we already have
509         one.
510
511 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
512
513         * HttpWriter.cs:
514         * HttpResponse.cs:
515         * HttpWorkerRequest.cs:
516         * HttpApplication.cs: added mising attributes and enabled methods
517         present in 1.1 SP1.
518
519 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
520
521         * WebROCollection.cs: a collection that allows setting IsReadOnly.
522         * HttpRequest.cs: implemented MapImageCoordinates(). Use WebROCollection
523         instead of a NameValueCollection in Form, Headers, Params, QueryString.
524
525 2005-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
526
527         * HttpInputStream.cs: new copy ctor.
528         * IntPtrStream.cs: getters for base_address and size.
529         * HttpRequest.cs: implemented SaveAs(). Use a wrapper on top of
530         InputStream so that reading POST form or files does not modify the state
531         if InputStream. Don't use uri_builder.Query in QueryStringRaw, as it
532         returns the '?'.
533
534 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
535
536         * HttpRequest.cs: implemented UserLanguages and reuse code from
537         AcceptTypes.
538
539 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
540
541         * HttpRequest.cs: implemented AcceptTypes.
542
543 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
544
545         * HttpRequest.cs: implemented this[] in terms of Params. Don't add the
546         header collection in Params.
547
548 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
549
550         * HttpRequest.cs: fix Files property.
551         * HttpApplication.cs: invoke the default authentication event after all 
552         the other auth. modules.
553
554 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
555
556         * ServerVariablesCollection.cs: mark the collection as read-only except
557         when we fill it. Add the HTTP_blah key/value pairs too.
558
559 2005-08-18  Chris Toshok  <toshok@ximian.com>
560
561         * HttpRequest.cs (get_Params): implement.
562
563 2005-08-17  Chris Toshok  <toshok@ximian.com>
564
565         * HttpResponse.cs: HttpResponse's Cookie's collection acts
566         differently than HttpRequests in that it never returns null from
567         the "this [string]" accessor.
568
569 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
570
571         * HttpRequest.cs: check length 0 case when reading a POST.
572
573 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
574
575         * HttpContext.cs: added security attributes for User and
576         SkipAuthorization properties.
577         * HttpApplicationFactory.cs: AttachEvents is now called form the
578         application .ctor. Recycle instead of dispose.
579         * HttpApplication.cs: attach events to the newly created application.
580
581 2005-08-15  Jackson Harper  <jackson@ximian.com>
582
583         * ApplicationShutdownReason.cs: make build
584
585 2005-08-15  Miguel de Icaza  <miguel@novell.com>
586
587         * HttpApplication.cs: Update comments
588
589         * HttpPostedFile.cs: Use a substream to read from the uploaded
590         multiparts. 
591
592         * HttpRequest.cs: use new code to read the uploaded files.
593
594 2005-08-12  Miguel de Icaza  <miguel@novell.com>
595
596         2.x API fixage and small additions:
597         
598         * HttpResponse.cs: Make constructor internal.
599
600         * HttpRequest.cs (IsLocal): Expose if NET_2.x
601
602         * HttpContext.cs: Remove internal routine.
603
604         * HttpApplication.cs: Add 2.x events. 
605
606         * HttpRequest.cs: Another iFolder issue: I was not setting up the
607         uri_builder here.
608
609         Fixes to get iFolder to work:
610         
611         * HttpApplicationFactory.cs: Set the context when we are initting
612         the application.
613
614         * HttpApplication.cs (SetContext): helper routine. 
615
616         * HttpResponse.cs: Implement the various cache operations:n
617         Expires, ExpiresAbsolute, CacheControl.
618
619         Actually produce the Cache-Control header, the "Cache" property
620         takes precedence over the compatibility settings (Expires,
621         ExpiresAbsolutely and CacheControl). 
622
623         * HttpCachePolicy.cs: Fix style.
624
625         Fix the generation of the headers, use lower-case values, do not
626         add the max-value if the value is zero.  
627
628         Allow for all possible values in SetCacheability. 
629
630         * HttpRuntime.cs (ClrInstallDirectory): Implement.
631
632         * HttpResponseStream.cs: Remove debugging stuff. 
633
634 2005-08-11  Miguel de Icaza  <miguel@novell.com>
635
636         Big chunked handling rewrite, and integration of Ben's unmanaged
637         output stream.
638
639         * HttpWriter.cs: Delegate chunked encoding writing to the
640         HttpResponse. 
641
642         * HttpResponse.cs: Rework the chunked encoding system, centralize
643         it all. 
644
645         * HttpResponseStream.cs: Deploy Ben's bucket-base unmanaged
646         buffers code. 
647
648         Changed the way that we handle chunked encoding, centralize it
649         all;  
650
651         Remove a lot of manual handling of buffering turned off, and
652         instead delegate it all to Flush, fixes several issues with the
653         new framework.
654
655         * HttpWorkerRequest.cs (SendResponseFromMemory (IntPtr, int)):
656         Provide a default implementation since currently XSP does not have
657         this method implemented. 
658
659 2005-08-11  Sebastien Pouliot  <sebastien@ximian.com> 
660  
661         * HttpClientCertificate.cs: Culture insensitive int parsing. Fixed
662         NET_2_0 build.
663
664 2005-08-10  Miguel de Icaza  <miguel@novell.com>
665
666         * ServerVariablesCollection.cs: For Ben.  Implement the header
667         fetching here, do not implement it in HttpRequest.cs.
668
669 2005-08-10  Sebastien Pouliot  <sebastien@ximian.com> 
670  
671         * HttpClientCertificate.cs: Changed IsPresent logic so that new unit
672         tests will work as expected.
673
674 2005-08-10  Sebastien Pouliot  <sebastien@ximian.com>
675
676         * HttpClientCertificate.cs: Implemented, except for validation. Note 
677         that the HttpWorkerRequest derived classes must be updated to supply 
678         the required informations.
679         * HttpRequest.cs: Create an HttpClientCertificate on first call to
680         ClientCertificate.
681
682 2005-08-09  Miguel de Icaza  <miguel@novell.com>
683
684         * HttpRuntime.cs (AspInstallDirectory): Implement.
685
686 2005-08-09  Sebastien Pouliot  <sebastien@ximian.com>
687
688         * HttpClientCertificate.cs: New. Stub. It won't be fun to test.
689
690 2005-08-04  Ben Maurer  <bmaurer@ximian.com>
691
692         * HttpContext.cs: Kill a NIE.
693
694 2005-08-04  Miguel de Icaza  <miguel@novell.com>
695
696         * HttpApplicationFactory.cs: Change "Start" event like the "End"
697         event, and only do this once, when we init the type.
698
699         Fire the "Application_Start" event after we create the type.
700
701 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
702
703         * HttpApplication.cs: catch a ThreadAbort (coming from Response.End)
704         here too.
705
706 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
707
708         * HttpResponse.cs: setting the Status property resets the
709         StatusDescription (see the tests) and the default value for the
710         description is the one provided by GetStatusDescription() in
711         HttpWorkerRequest.
712
713 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
714
715         * HttpRequest.cs: s/boundry/boundary/ and fix typo in array creation.
716
717 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
718
719         * HttpApplication.cs: add call to EndOfRequest when everything is said
720         and done.
721
722 2005-08-02  Miguel de Icaza  <miguel@novell.com>
723
724         * HttpResponse.cs: Stub for TransmitFile.
725
726         * HttpRequest.cs (IsAuthenticated): Implement.
727
728 2005-08-01  Miguel de Icaza  <miguel@novell.com>
729
730         * HttpRequest.cs: Cope with implementations of HttpWorkerRequest
731         (unpatched xsp) that do not send back the PreloadedEntityBody. 
732
733         * HttpApplication.cs: keep track of the factory. 
734         (Dispose): Only dispose once, clean up other variables, release
735         the ManualResetEvent.
736         Release the handler to the factory.
737
738         * HttpApplicationFactory.cs: Implement a stack to reuse the
739         applications. 
740
741         * HttpRequest.cs: On uploads, if the ContentLenght is zero, throw
742         a 411.
743
744         * HttpRuntime.cs: Recycle the application after using it.
745
746         * HttpPostedFile.cs: Implement SaveAs.
747
748         * HttpContext.cs: Return the "Server" property.
749
750 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
751
752         * HttpServerUtility.cs: implemented missing bits.
753
754 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
755
756         * HttpRequest.cs: query string was getting a '?' as the start of the
757         first variable name. This makes the asmx help page work again.
758
759 2005-08-01  Miguel de Icaza  <miguel@novell.com>
760
761         * HttpRequest.cs (Cookies, Forms): Add validation.
762         (Forms): Add application/x-www-form-urlencoded parsing and
763         multipart/form-data parsing.
764         
765         (HttpMultiPart): Implement new class to load multi-part data from
766         a stream since there is no longer a byte [] that holds the data
767         (currently we have an unmanaged IntPtr buffer wrapped as a
768         stream).  Also the 2.x framework will add support for large
769         uploads which are sent directly to disk, which will require the
770         FileStream interface. 
771         
772         (Path, PathInfo): Fill a couple more methods to avoid crashes.
773
774         * HttpContext.cs: Fill another one to get web services summary
775         page painting.  The page does not work though.
776         
777         * HttpApplication.cs: Rework the pipeline to not depend on
778         `finally', as `finally' would not be invoked if we choose not to
779         call the pipeline again (which happens if the `stop' variable is
780         set). 
781
782         Instead force the pipeline to go to the shutdown, and yield from
783         there after all the release-state callbacks have been invoked. 
784
785 2005-07-31  Miguel de Icaza  <miguel@novell.com>
786
787         * HttpApplication.cs: Remove debugging messages since the compiler
788         bug has been fixed.
789
790         You must use at least mcs from revision 47879 for the application
791         pipeline to work. 
792
793 2005-07-30  Miguel de Icaza  <miguel@novell.com>
794
795         * HttpContext.cs: Error handling methods.
796
797         * HttpResponse.cs: Trigger the last event.
798
799         * HttpRuntime.cs: Add queueing of the next request. 
800
801         * HttpApplication.cs: Deploy the new yield-based application
802         pipeline, add error handling to the pipeline.
803         
804         * HttpApplication.cs (AsyncRequestState): Just use the done event
805         from the parent.
806
807 2005-07-29  Miguel de Icaza  <miguel@novell.com>
808
809         * HttpResponseStream.cs, HttpRequest.cs: Fix bugs found by nunit.
810
811         * HttpApplication.cs: Fix a race condition. 
812
813         * HttpResponseStream.cs: Fix bug, send the size of the buffer that
814         we have so far instead of the internal size of the buffer.   This
815         will need work later to ensure we enforce the Content-Length
816         maximum output size if set.
817
818         * ServerVariablesCollection.cs: This class now inherits from
819         NameValueCollection, we should probably review what the middle
820         class did, there are no dependencies on it.
821
822         I need to write tests to investigate if something is missing or
823         has changed in this implementation. 
824
825 2005-07-27  Miguel de Icaza  <miguel@novell.com>
826
827         * HttpRequest.cs: No happy replies here, send a 411.
828
829 2005-07-27  Chris Toshok  <toshok@ximian.com>
830
831         * HttpResponseHeader.cs: remove spew.
832         
833 2005-07-27  Chris Toshok  <toshok@ximian.com>
834
835         * HttpResponseHeader.cs (HttpResponseHandler..ctor): use
836         HttpWorkerRequest.GetKnownResponseHeaderName instead of
837         GetKnownRequestHeaderName.  Fixes Response.Redirect until miguel's
838         new HttpReponse is online.
839
840 2005-07-26  Miguel de Icaza  <miguel@novell.com>
841
842         * HttpResponse.cs: use_chunked is now a byte-array, if not null,
843         we use it to hold the size of the chunked so we do not have to
844         allocate many of these. 
845         (SendSize): Helper routine to send the chunked headers.
846         (BinaryWrite): First user of the chunked writer.
847
848         * HttpApplication.cs: Do not crash if they request a Server
849         instance, but throw a NotImplementedException.
850
851         * HttpRequest.cs: fix a few problems exposed by the regression
852         test suite.
853
854         * HttpRequest.cs (Cookies): use Chris' new constructor to get the
855         cookies parsed.
856
857         : The big Uri rework: instead of using QueryString
858         as the population mechanism, populate an UriBuilder from the
859         various HttpWorkerRequest methods.
860
861         * HttpWorkerRequest.cs (GetProtocol): Implement in terms of
862         IsSecure().
863
864         * HttpResponse.cs: Pointed by Ben, Write (null) is a nop instead
865         of a crash.
866
867         * HttpContext.cs: Add a couple of properties to help the 2.x
868         build.
869         
870         * HttpResponse.cs: Make ContentLength a long, add back support for
871         session's app_path_mod.
872         (ApplyAppPathmodifier): put back.
873         (End): Pass a flag to abort so we can tell the exceptions appart
874         in HttpApplication.
875         (WriteHeaders): Send the HTTP status.
876         (Redirect): Implement.
877         (Write): Use the Output property to load writer when needed.
878         
879         * HttpRequest.cs (ctor): Temporary use of InitFromWR, will fix
880         later. 
881         (MakeInputStream): check content-length size, use routines to load
882         the preloaded data, handle incomplete transfers.
883         (Query): Do not insert null keys into the collection.
884         (Url): implement.
885         (UrlReferer): implement.
886
887         * HttpApplication.cs (RunHooks): Catch Thread.Abort, and call
888         Thread.ResetAbort after each step.
889
890         Ensure that ReleaseState is called if we ever succeed in acquiring
891         the state even if we have stopped the request pipeline.
892
893         Report file not found, directory not found.
894
895 2005-07-25  Miguel de Icaza  <miguel@novell.com>
896
897         * HttpCookieCollection.cs: Add expiration of the cookie. 
898
899         * HttpRequest.cs: Add check for ContentLength, use
900         GetPreloadedEntityBody, correct number of bytes uploaded.
901
902 2005-07-21  Miguel de Icaza  <miguel@novell.com>
903
904         * HttpResponseHeader.cs: Our implementation of HttpResponse only
905         uses the text headers, does not use any constants as XSP would go
906         through a slower code path anyways.
907
908 2005-07-21  Chris Toshok  <toshok@ximian.com>
909
910         * HttpBrowserCapabilities.cs: enable support for the W3CDomVersion
911         and EcmaScriptVersion properties.
912
913 2005-07-21  Chris Toshok  <toshok@ximian.com>
914
915         * HttpResponseHeader.cs: hi, i'm stupid and missed String.Replace.
916         
917 2005-07-21  Chris Toshok  <toshok@ximian.com>
918
919         * HttpResponseHeader.cs: url encode just \r and \n if they're
920         present in the value.
921
922 2005-07-20  Chris Toshok  <toshok@ximian.com>
923
924         * HttpPostedFile.cs: add missing ContentLength property.
925
926 2005-07-20  Chris Toshok  <toshok@ximian.com>
927
928         * HttpCookieCollection.cs: add a new ctor that takes a string (the
929         contents of the Cookies: header).
930
931 2005-07-20  Chris Toshok  <toshok@ximian.com>
932
933         * HttpCookieCollection.cs: add another ctor (internal, but not
934         obsolete, so we aren't passing a stupid HttpResponse in in order
935         to change the behavior of the collection.)
936
937         * HttpCookie.cs: init this.values in the internal ctor.
938
939 2005-07-20  Chris Toshok  <toshok@ximian.com>
940
941         * HttpCookieCollection.cs: use "auto-fill mode" when we're dealing
942         with an HttpResponse's cookie collection.  That is, create the
943         cookie if the consumer looks it up.
944
945 2005-07-20  Miguel de Icaza  <miguel@novell.com>
946
947         * HttpApplication.cs: Ongoing work on pipeline, I will need to
948         redo this later.
949
950 2005-07-19  Miguel de Icaza  <miguel@novell.com>
951
952         * HttpContext.cs (GetService): Implement.  Return all of the
953         properties that we have access to.  Make HttpWorkerRequest the
954         first match as this is the only likely reason people need to use
955         this. 
956
957         * IntPtrStream.cs: Bring from corlib.
958
959         * MultiPartContentParser.cs: use a MemoryStream as HttpInputStream
960         will now be using IntPtrStream. 
961
962         * HttpRequest.cs (MakeInputStream): move code that loads the
963         request here
964         (CloseInputStream): Helper method that we will call later to
965         ensure that we dispose properly the malloced() block. 
966         (BinaryRead): Implemented.
967
968         * HttpInputStream.cs: Rewrite to be a descendant of
969         IntPtrStream.cs 
970
971 2005-07-18  Miguel de Icaza  <miguel@novell.com>
972
973         * HttpApplication.cs (Modules): Add modules support and
974         AsyncResult.
975
976 2005-07-18  Chris Toshok  <toshok@ximian.com>
977
978         * HttpResponseHeader.cs: initial implementation.
979
980 2005-07-18  Chris Toshok  <toshok@ximian.com>
981
982         * HttpModuleCollection.cs (HttpModuleCollection.GetKey): add
983         missing method.
984
985         * HttpFileCollection.cs: initial implementation.
986
987 2005-07-18  Chris Toshok  <toshok@ximian.com>
988
989         * HttpModuleCollection.cs (HttpModuleCollection.CopyTo): implement
990         missing method.
991
992 2005-07-18  Chris Toshok  <toshok@ximian.com>
993
994         * HttpModuleCollection.cs: initial implementation.
995
996 2005-07-18  Chris Toshok  <toshok@ximian.com>
997
998         * HttpCacheVaryByHeaders.cs: only add the header if it's not
999         already in the hash.
1000
1001         * HttpCacheVaryByParams.cs: only add the param if it's not already
1002         in the hash.
1003
1004 2005-07-18  Chris Toshok  <toshok@ximian.com>
1005
1006         * HttpCookie.cs (HttpCookie+CookieNVC.Set): new override to fix an
1007         MS quirk.
1008
1009 2005-07-17  Miguel de Icaza  <miguel@novell.com>
1010
1011         * HttpRequest.cs (Headers, InputStream): implemented two more
1012         properties.
1013
1014         * HttpInputStream.cs: All we need is a MemoryStream with writable
1015         set to false.
1016
1017         * HttpPostedFile.cs: Use a Stream.
1018
1019 2005-07-16  Chris Toshok  <toshok@ximian.com>
1020
1021         * HttpCacheVaryByHeaders.cs: make sure we set vary_by_unspecified
1022         = false in the custom setter.
1023
1024 2005-07-16  Chris Toshok  <toshok@ximian.com>
1025
1026         * HttpCacheVaryByParams.cs: initial implementation.
1027
1028 2005-07-16  Chris Toshok  <toshok@ximian.com>
1029
1030         * HttpCacheVaryByHeaders.cs: initial implementation.
1031
1032 2005-07-15  Chris Toshok  <toshok@ximian.com>
1033
1034         * HttpCookie.cs: one more time.
1035
1036 2005-07-15  Chris Toshok  <toshok@ximian.com>
1037
1038         * HttpCookie.cs (HttpCookie.GetCookieHeader): use
1039         expires.ToString().
1040         
1041 2005-07-15  Chris Toshok  <toshok@ximian.com>
1042
1043         * HttpCookie.cs (HttpCookie.GetCookieHeader): implement to fix
1044         ben's bug.
1045
1046 2005-07-15  Chris Toshok  <toshok@ximian.com>
1047
1048         * HttpCookieCollection.cs: initial implementation (with a couple
1049         of labeled inefficiencies.)
1050
1051 2005-07-15  Chris Toshok  <toshok@ximian.com>
1052
1053         * HttpCookie.cs (HttpCookie.get_HasKeys): use values.HasKeys()
1054         instead of trying to be smart about it ourselves.
1055
1056 2005-07-15  Chris Toshok  <toshok@ximian.com>
1057
1058         * HttpCookie.cs: initial implementation.  we fail one unit test,
1059         but it might be due to a bug in NameValueCollection.
1060
1061 2005-07-15  Miguel de Icaza  <miguel@novell.com>
1062
1063         * HttpRequest.cs: 
1064
1065 2005-07-14  Miguel de Icaza  <miguel@novell.com>
1066
1067         * HttpRuntime.cs: Return a few of the values from the AppDomain
1068         data. 
1069
1070         Put the application shutdown process.
1071
1072         * HttpApplicationFactory.cs (AddEvent): Fixed bug when more than
1073         one method existed.
1074         
1075         (FireEvent): Do not ignore errors.
1076
1077         * HttpContext.cs (GetAppConfig, GetConfig): First success, use
1078         ConfigurationSettings.GetConfig to get the value that QueueManager
1079         needed.
1080
1081 2005-07-14  Dick Porter  <dick@ximian.com>
1082
1083         * HttpPostedFile.cs: New basic implementation; needs someone to
1084         figure out what a HttpRequestStream does
1085
1086 2005-07-13  Miguel de Icaza  <miguel@novell.com>
1087
1088         * HttpRequest.cs: More work on this file
1089
1090         * HttpRequest.cs, HttpApplication.cs, HttpContext.cs,
1091         HttpRuntime.cs: New from scratch implementation.
1092
1093 2005-07-01  Lluis Sanchez Gual <lluis@novell.com>
1094
1095         * SiteMap.cs: Read provider info from the configuration files.
1096
1097 2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1098
1099         * HttpResponseHeader.cs: URL encode \r and \n in header values. Fixes
1100         bug #75392.
1101
1102 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1103
1104         * HttpUtility.cs: fix another stupid buglet in htmldecode.
1105
1106 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1107
1108         * HttpContext.cs:
1109         * HttpResponse.cs:
1110         * HttpRequest.cs: use StrUtils (invariant culture).
1111
1112 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1113
1114         * HttpRequest.cs: use StartsWith when looking for 'multipart/form-data'.
1115         File uploading was broken since a few commits ago.
1116
1117 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1118
1119         * HttpResponse.cs: ensure that the last chunk ('0\r\n\r\n') is sent
1120         even if response.Close is called before a final flush. MS/IIS fails to
1121         do this.
1122
1123 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1124
1125         * HttpRequest.cs: don't print anything for unknown content types in
1126         ParseFormData. Use lowercase compare.
1127
1128 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1129
1130         * HttpResponse.cs: invariant love.
1131
1132 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1133
1134         * HttpResponse.cs: avoid 1 string concat.
1135         * HttpRequest.cs: fix BinaryRead. It was totally wrong.
1136
1137 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1138
1139         * HttpUtility.cs: don't append an extra 0 when no digits seen. Fixes
1140         bug #75370.
1141
1142 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1143
1144         * HttpUtility.cs: the lower limit for using &#xx; encoding is 160, not
1145         128. Reset number back to 0 after use. Fixes bug #75365.
1146
1147 2005-06-19  Svetlana Zholkovsky <svetlanaz-at-mainsoft.com>
1148                 * In following classes added TARGET_J2EE or/and TARGET_JVM
1149                   directives:
1150                         - HttpResponse.cs
1151                         - HttpRuntime.cs
1152                         - HttpUtility.cs
1153                         - CapabilitiesLoader.cs
1154                         - HttpApplication.cs
1155                         - HttpApplicationFactory.cs
1156                         - HttpContext.cs
1157                         - HttpException.cs
1158                         - HttpRequest.cs
1159                 * Added Mainsoft's specific files :
1160                         - GhHttpAsyncResult.jvm.cs
1161
1162 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1163
1164         * HttpRequest.cs: avoid one intermediate buffer when reading the request
1165         body and fail for over limit content length when the content type is
1166         not handled as form or multipart data.
1167
1168 2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1169
1170         * HttpResponse.cs: fix the check in Close() so that CloseConnection is
1171         called even if there has been no final Flush. Fixes bug #75176.
1172
1173 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1174
1175         * HttpParseException.cs:
1176         * HttpResponse.cs:
1177         * HttpApplication.cs: updates for 1.1 service pack.
1178
1179 2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1180
1181         * HttpUtility.cs: fix InvalidCastException.
1182
1183 2005-06-05  Kornél Pál <kornelpal@hotmail.com>
1184
1185         * HttpWriter.cs: Fixed: _OutputFilter.Close () was called twice.
1186
1187 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1188
1189         * HttpUtility.cs: modified HtmlDecode so that it does not need to call
1190         Int32.Parse and handles improper &# sequences. Fixes bug #74907.
1191
1192 2005-05-26  Lluis Sanchez Gual <lluis@novell.com>
1193
1194         * SiteMapNodeCollection.cs: Implemented missing methods. The collection
1195         does not inherit from CollectionBase any more.
1196         * SiteMapNode.cs: Track api changes.
1197         * SiteMapProvider.cs: Moved several methods to the new
1198         StaticSiteMapProvider class. Other fixes.
1199         * XmlSiteMapProvider.cs: Watch changes in the xml files. Other fixes.
1200         * SiteMapProviderCollection.cs: Minor fixes.
1201         * SiteMap.cs: Added missing event. Avoid double check lock.
1202         * StaticSiteMapProvider.cs: New class that implements some of the
1203         funtionality of SiteMapProvider.
1204
1205 2005-05-25  Ben Maurer  <bmaurer@ximian.com>
1206
1207         * MimeTypes.cs: Remove extra spaces, they were typos. Fixes 75049.
1208
1209 2005-05-13 Atsushi Enomoto <atsishi@ximian.com>
1210
1211         * HttpUtility.cs : UrlDecodeToBytes() incorrectly decoded escaped 
1212           characters. Patch by Kazuki Oikawa.
1213
1214 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1215
1216         * HttpRuntime.cs: PlatformID.Unix.
1217
1218 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1219
1220         * HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
1221         Clear the _Headers array instead of creating a new ArrayList in
1222         ClearHeaders().
1223
1224 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1225
1226         * HttpResponse.cs: we had 2 variables to track client connection status.
1227         Use only one. Increase the buffer size to 28KB when writing from a file.
1228
1229         * StaticFileHandler.cs: set the Content-Type before writing the file.
1230         This allows flushing before all the content is written.
1231
1232         * HttpApplication.cs: use the variable instead of the property when
1233         setting the Principal for the current process.
1234
1235 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1236
1237         * ReusableMemoryStream.cs:
1238         * HttpWriter.cs: keep a pool of buffers to avoid allocations.
1239
1240 2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1241
1242         * HttpResponse.cs: no need to save/restore the thread culture when
1243         getting the Date header. According to Ben's profiling, this is a big
1244         deal in performance.
1245
1246         * HttpRuntime.cs: ignore exceptions that might be thrown when unloading 
1247         a domain.
1248
1249 2005-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1250
1251         * HttpApplicationFactory.cs: ignore any exception thrown when invoking
1252         an application event.
1253
1254 2005-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1255
1256         * HttpBrowserCapabilities.cs: fix Win32 property.
1257
1258 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1259
1260         * HttpResponse.cs: only add the charset when explicitly set or for
1261         well-known content types.
1262
1263 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1264
1265         * HttpCachePolicy.cs:
1266         * HttpAsyncResult.cs:
1267         * HttpClientCertificate.cs:
1268         * HttpException.cs:
1269         * HttpRuntime.cs:
1270         * HttpCacheVaryByHeaders.cs:
1271         * HttpBrowserCapabilities.cs:
1272         * HttpUtility.cs:
1273         * HttpCacheVaryByParams.cs: no more warnings.
1274
1275         * QueueManager.cs: check for local connections with minLocalFreeThreads.
1276
1277 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1278
1279         * ServerVariablesCollection.cs: shuffled variables, added missing ones
1280         and call a method in HttpRequest to set the HTTP_ variables.
1281
1282         * HttpRequest.cs: new method to add HTTP_ variables to a collection.
1283
1284 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1285
1286         * HttpRequest.cs: GetAllHeaders was returning the value twice instead
1287         of 'name: value'. When HTTP_ is requested on the output, don't include
1288         unknown headers.
1289
1290 2005-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1291
1292         * HttpCookieCollection.cs: when adding more than one cookie with the
1293         same name, the last one is the winner.
1294
1295 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1296
1297         * HttpRequest.cs: correctly store the value cookies in Params. Fixes
1298         bug #73345.
1299
1300 2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1301
1302         * HttpRequest.cs: Path and FilePath also change when RewritePath is
1303         called. Fixes bug #73055.
1304
1305 2005-02-23  Sebastien Pouliot  <sebastien@ximian.com>
1306
1307         * HttpRequest.cs: Make sure that any access after a ValidateInput 
1308         throws an exception if the data isn't safe.
1309
1310 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1311
1312         * CapabilitiesLoader.cs: fix the path, as machine.config is now in a
1313         x.x/ directory below $PREFIX/etc/mono.
1314
1315 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1316
1317         * HttpRequest.cs: fail on unicode full-width '<' and '>' too. Fixes
1318         a security report (http://secunia.com/advisories/14325) that wan't
1319         reported to us before public disclosure.
1320
1321 2005-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1322
1323         * HttpResponse.cs: send the calculated content length even when it's 0.
1324         Fixes bug #72655.
1325
1326 2005-02-04  Lluis Sanchez Gual <lluis@novell.com>
1327
1328         * HttpContext.cs: Added internal property to keep a reference to
1329         the last accessed page. Page uses this to implement PreviousPage.
1330
1331 2005-02-02  Lluis Sanchez Gual <lluis@novell.com>
1332
1333         * ProcessModelInfo.cs: Fixed warning.
1334
1335 2005-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1336
1337         * TraceContext.cs: writing a message without any other argument is not
1338         a warniing. Fixes bug #72017.
1339
1340 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1341
1342         * HttpApplication.cs: if there are no more handlers, finish the
1343         request and ensure we call Complete on it. Now FreeTextBox 3.0 works.
1344
1345 2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1346
1347         * HttpRequest.cs: honor the maxRequestSize limit from machine.config.
1348
1349 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1350
1351         * HttpApplication.cs: reread application CultureInfo as web.config
1352         might have changed. Fixes bug #62539.
1353
1354 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1355
1356         * HttpResponse.cs: fixed ApplyAppPathModifier to insert the session ID.
1357
1358 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1359
1360         * HttpApplicationFactory.cs: monitor changes in global.asax and bin
1361         directory and shutdown the application when that happens. Fixes bug
1362         #49651.
1363
1364 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1365
1366         * ReusableMemoryStream.cs: copied from System.IO.MemoryStream and
1367         slightly modified to allow expanding the buffer for cases on which the
1368         regular MemoryStream don't allow it.
1369
1370         * HttpWriter.cs: use the new ReusableMemoryStream and fix bug #59841.
1371         Otherwise we would have to allocate a new MemoryStream...
1372
1373 2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1374
1375         * HttpApplication.cs: Create() is now GetInstance().
1376
1377 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
1378
1379         * SiteMapNodeCollection.cs: Added missing properties.
1380         * HttpParseException.cs: Added 2.0 methods and properties.
1381         * SiteMapNode.cs: Added missing methods and properties.
1382         * SiteMapProvider.cs, XmlSiteMapProvider.cs, 
1383         SiteMapProviderCollection.cs: IProvider does not exist any
1384         more, it is now ProviderBase.
1385         * ISiteMapProvider.cs: Deleted.
1386         * ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
1387           Implemented.
1388         * SiteMap.cs: Minor fixes.      
1389
1390 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
1391
1392         * SiteMapProviderCollection.cs: Fixed warning.
1393         * HttpApplication.cs: Added new 2.0 events.
1394
1395 2004-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1396
1397         * HttpResponse.cs: added internl SetHeadersSent.
1398         * HttpRuntime.cs: don't throw the 'headers already sent' exception
1399         if we're sending a runtime error.
1400
1401 2004-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1402
1403         * HttpApplication.cs: undo the TimeoutManager.(Add|Remove) shuffling.
1404         It causes troubles under heavy load.
1405
1406 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1407
1408         * SiteMap.cs: don't lock on Type.
1409         * CapabilitiesLoader.cs: avoid 2 locks when loading data.
1410
1411 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1412
1413         * HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
1414         presence of rewriting.
1415
1416 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1417
1418         * HttpApplication.cs: don't hang if a sync step is aborted. Fixes the
1419         system.web portion of bug #68270.
1420
1421 2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1422
1423         * TraceContext.cs: don't cast to Page is the handler it's
1424         not a page.
1425
1426 2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1427
1428         * HttpRequest.cs: CurrentExecutionFilePath is the one that
1429         changes when Transfer or Execute are used, not FilePath.
1430
1431         * HttpServerUtility.cs: moved form saving/restoring from
1432         Transfer to Execute, as it's needed there too. the query string is
1433         correctly set now. Fixes bug #67388.
1434
1435         * HttpContext.cs: use SetCurrentExePath instead of SetFilePath.
1436
1437 2004-10-03 Ben Maurer  <bmaurer@ximian.com>
1438
1439         * HttpResponse.cs: use UtcNow
1440
1441 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1442
1443         * HttpResponse.cs: SuppressContent does not throw and clears all the
1444         buffered output. Fixes bug #67213.
1445
1446 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1447
1448         * HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.
1449
1450 2004-09-29 Ben Maurer  <bmaurer@ximian.com>
1451
1452         * HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.
1453
1454 2004-09-25 Ben Maurer  <bmaurer@ximian.com>
1455
1456         * HttpApplication.cs: Make sure requests are removed from
1457         the timeout manager. Fixes a major leak. #66751.
1458
1459 2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1460
1461         * HttpApplicationFactory.cs:
1462         * HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
1463         unloading.
1464
1465 2004-09-12 Ben Maurer  <bmaurer@ximian.com>
1466
1467         * HttpContext.cs: use CallContext. It is a little bit faster.
1468
1469 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1470
1471         * HttpStaticObjectsCollection.cs: don't share static session objects
1472         declared in the application file across the application, but on a
1473         per-session basis. Fixes bug #65446.
1474
1475 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1476
1477         * HttpServerUtility.cs: in Transfer(path), don't keep form data if
1478         the transfer is done from inside a page that received a postback.
1479         Fixes bug #65613.
1480
1481 2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1482
1483         * HttpValueCollection.cs: fixed signature of ToString (). Closes bug
1484         #65392.
1485
1486 2004-09-06 Ben Maurer  <bmaurer@users.sourceforge.net>
1487
1488         * HttpWriter.cs (.ctor): Dont create teh StreamWriter twice
1489         (Clear): Don't recreate the MemoryStream and StreamWriter
1490
1491 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1492
1493         * HttpApplication.cs: only add/remove to/from the timeout
1494         manager when we're in a interruptible step.
1495
1496 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1497
1498         * TraceContext.cs: when IsEnabled has not been set, return the value
1499         from the TraceManager. Fixes bug #63469.
1500
1501 2004-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1502
1503         * HttpRuntime.cs: initialize the response writer when finishing a
1504         request because it cannot be queued. Under heavy load we made new
1505         requests be processed before the ones that might be queued. This is
1506         no longer the case.
1507
1508         * QueueManager.cs: instead of queueing/dequeuing separately, we now
1509         have a single method that does everything needed to decide which one
1510         will be the next request processed.
1511
1512 2004-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1513
1514         * HttpRuntime.cs: removed initializations to null in .cctor. Prevent
1515         other requests from avoiding the lock if they are received before the
1516         configuration system is inited. Ensure that the queue manager is not
1517         null before using it (it can be null while the first request is being
1518         processed).
1519
1520 2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1521
1522         * HttpServerUtility.cs: ensure we have a full virtual path for the
1523         request being executed.
1524
1525 2004-08-02  Duncan Mak  <duncan@ximian.com>
1526
1527         * ApplicationShutdownReason.cs: Fixed typos.
1528
1529         * HttpCookieMode.cs:
1530         * HttpDataTransferMode.cs:
1531         * HttpRequestPriority.cs: Added [Serializable] attribute.
1532         
1533 2004-08-02  Duncan Mak  <duncan@ximian.com>
1534
1535         * ApplicationShutdownReason.cs:
1536         * HttpCookieMode.cs:
1537         * HttpDataTransferMode.cs:
1538         * HttpRequestPriority.cs: Added 2.0 enumerations.
1539         
1540 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1541
1542         * HttpApplication.cs: the file not found might be a dependency.
1543
1544 2004-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1545
1546         * HttpCookie.cs: use invariant when formatting expires date. Fixes bug
1547         #61690.
1548
1549 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1550
1551         * HttpApplication.cs: don't keep the session around if we got it from
1552         the context. Fixes bug #61232.
1553
1554 2004-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1555
1556         * HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
1557         #61181.
1558
1559 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1560
1561         * TraceContext.cs: added internal HaveTrace property whose
1562         value is true when the page has a Trace attribute.
1563
1564 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1565
1566         * TraceData.cs: fixed <br> output. Closes bug #60181.
1567
1568 2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1569
1570         * HttpUtility.cs: check for control characters in the string to encode
1571         or decode and return the same string if there are none.
1572
1573 2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1574
1575         * HttpApplication.cs: change/restore the IPrincipal in their own methods
1576         and make them internal.
1577
1578 2004-06-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1579
1580         * HttpContext.cs: reverting Pedro's patch and sending mail with test
1581         to mono-devel.
1582
1583 2004-06-09  Pedro Martnez Juli  <yoros@wanadoo.es>
1584
1585         * HttpContext: User property returns its own "user" value because
1586         the context can walk through different Threads. When "User" property
1587         is changed, change "Thread.CurrentPrincipal" too.
1588
1589 2004-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1590
1591         * HttpRequest.cs: removed extra ^Ms and fixed style of last patch.
1592
1593 2004-06-08  Alon Gazit  <along@mainsoft.com>
1594
1595         * HttpRequest.cs: Add a patch for HttpRequest.ServerVariables.
1596
1597 2004-06-07  Sebastien Pouliot  <sebastien@ximian.com>
1598
1599         * HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
1600         Fix (at least partially) #59683.
1601
1602 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1603
1604         * HttpRequest.cs: reverting patch from Alon Gazit. Uses the above file
1605         that doesn't compile.
1606
1607 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1608
1609         * TraceData.cs: fixes nullref in an application that relies on
1610         r ["Message"] not being null. Closes bug #59679.
1611
1612 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1613
1614         * HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.
1615
1616 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1617
1618         * HttpRuntime.cs: implemented a 5 simple properties that were TODOs.
1619
1620 2004-06-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1621
1622         * HttpBrowserCapabilities.cs: implemented ClrVersion and GetClrVersions.
1623         * HttpException.cs: removed MonoTODO.
1624
1625 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1626
1627         * TraceContext.cs: don't check if HttpRuntime.TraceManager
1628         is enabled when writing.
1629
1630 2004-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1631
1632         * HttpRequest.cs: added ClientTarget internal property.
1633
1634 2004-06-03  Lluis Sanchez Gual <lluis@ximian.com>
1635
1636         * HttpApplication.cs: Clear the http handler list after releasing the
1637           handlers.
1638
1639 2004-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1640
1641         * TraceData.cs: html-encode the messages written to the trace. Fixes
1642         bug #59431.
1643
1644 2004-06-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1645
1646         * HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
1647         to Markus Krutner.
1648
1649 2004-05-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1650
1651         * HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
1652         when SetFilePath is called. This way the cached values are reset and
1653         get the right value in case someone (namely SessionStateModule + 
1654         cookieless session) changes the FilePath after the property cached its
1655         value. Fixes bug #59364.
1656
1657 2004-05-27      Patrik Torstensson <totte@hiddenpeaks.com>
1658
1659         * HttpApplicationFactory.cs: Added SignalError (still todo)
1660
1661 2004-05-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1662
1663         * HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
1664         chunked encoding disabled. Fixed chunked suffix and end. Send the
1665         'lastchunk' marked when in the final Flush even if the content length
1666         is 0. This makes mod-mono-server work fine with chunked encoding.
1667          
1668         * HttpRuntime.cs: Set the _firstRequest* variables to true
1669         earlier. TraceContext don't take any parameter now.
1670
1671         * TraceManager.cs: don't need a context. Use GetAppConfig.
1672
1673 2004-05-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1674
1675         * HttpApplication.cs: set culture/uiculture from configuration and
1676         restore it after each step. Fixes bug #52851.
1677
1678 2004-05-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1679
1680         * HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
1681         entities hashtable creation until it's really needed.
1682
1683 2004-05-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1684
1685         * HttpApplicationFactory.cs: if no module matches the name found for a
1686         possible event, ignore it. Fixes bug #58542.
1687
1688 2004-05-16      Patrik Torstensson <totte@hiddenpeaks.com>
1689
1690         * HttpRuntime (Init): Removed old todo
1691         * HttApplication : Implemented IHttpHandlerFactory recycling
1692         
1693 2004-04-28      Patrik Torstensson
1694
1695         * HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
1696         removed MonoTodo
1697
1698 2004-04-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1699
1700         * HttpUtility.cs: return null in HtmlDecode for null input instead of
1701         throwing an exception. Patch by Jan Jaros (bug #57083).
1702
1703 2004-04-10  Vladimir Vukicevic  <vladimir@pobox.com>
1704
1705         * TimeoutManager.cs: Swap the order of initialization of contexts
1706         and the Timer, to avoid race condition of CheckTimeouts being called
1707         before contexts gets initialized.
1708
1709 2004-03-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1710
1711         * HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
1712         Now the posted file content does not have the boundaries and headers
1713         included.
1714
1715 2004-03-25  Alon Gazit <along@mainsoft.com>
1716
1717         * HttpRequest.cs: fix ValidateCookieCollection() to prevent
1718         InvalidCastException.
1719
1720 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1721
1722         * HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.
1723
1724 2004-03-01  Larry Ewing  <lewing@ximian.com>
1725
1726         * HttpUtility.cs: fix UrlEncodeToBytes count check.
1727
1728 2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1729
1730         * HttpServerUtility.cs:
1731         * HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
1732         #53670).
1733
1734 2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1735
1736         * HttpUtility.cs: fixed length check. Closes bug #54201.
1737         Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
1738         decoding.
1739
1740 2004-02-11  Jackson Harper <jackson@ximian.com>
1741
1742         * TraceData.cs: Use ToString for cookie/header/var name values so
1743         null is handled properly.
1744         
1745 2004-02-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1746
1747         * HttpApplication.cs: ApplicationState is inited by the factory so,
1748         return that value in the property. when we use the context Session,
1749         cache it in the instance field.
1750
1751         * HttpApplicationFactory.cs: fixed target Type for the event when
1752         hooking application and module events. Initialize application
1753         and session scope objects. Fixes non-aplication events hook up.
1754
1755         * HttpStaticObjectsCollection.cs: added StaticItem and delay the
1756         creation of the objects until they are requested.
1757
1758 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1759
1760         * HttpApplicationFactory.cs: fixlet for session events hook.
1761
1762 2004-01-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1763
1764         * HttpApplicationFactory.cs: attach all events from Type and BaseType
1765         at the same time. Fixes bug #53454.
1766
1767 2004-01-27  Jackson Harper <jackson@ximian.com>
1768
1769         * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
1770         null now, dont hadd the header if it does.
1771         * HttpCacheVaryByParams.cs: Return null if there are no items.
1772
1773 2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1774
1775         * HttpCachePolicy.cs: it's not public.
1776         * HttpRuntime.cs: wait for requests before disposing the queue.
1777
1778 2004-01-15  Jackson Harper <jackson@ximian.com>
1779
1780         * HttpCachePolicy.cs: Fix typo causing varyby params headers to be
1781         created when they shouldn't be.
1782         
1783 2004-01-14  Jackson Harper <jackson@ximian.com>
1784
1785         * TraceData.cs: Fix some typos in the output text. Fix control
1786         position when adding controls recursively.
1787         
1788 2004-01-14  Jackson Harper <jackson@ximian.com>
1789
1790         * HttpCachePolicy.cs: Expose duration and sliding properties.
1791         
1792 2004-01-14  Jackson Harper <jackson@ximian.com>
1793
1794         * HttpCachePolicy.cs: Add an event that is fired when the
1795         cacheability is updated. The response uses this to determine
1796         whether or not it needs to cache itself.
1797         * HttpResponse.cs: When the cacheability is updated either create
1798         or dispose of the cached raw response based on whether or not we
1799         wil need it. This allows output caching to be controlled
1800         programatically.
1801         
1802 2004-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1803
1804         * HttpContext.cs: add setter for ConfigTimeout.
1805         * HttpException.cs: added Description property and HTML encode some
1806         unescaped values.
1807
1808         * HttpRequest.cs: support request validation.
1809
1810         * HttpRequestValidationException.cs: added message and description.
1811
1812         * HttpServerUtility.cs: implemented ScriptTimeout.
1813
1814 2004-01-11  Jackson Harper <jackson@ximian.com>
1815
1816         * TraceManager.cs: Dont crash if there is no trace config element.
1817         
1818 2004-01-11  Jackson Harper <jackson@ximian.com>
1819
1820         * HttpRequest.cs: Add property for determining if the request is
1821         local or not.
1822         
1823 2004-01-10  Jackson Harper <jackson@ximian.com>
1824
1825         * TraceContext.cs: Handle tracing when it is enabled in the config
1826         file but not on the page.
1827         * TraceManager.cs: Get settings from the configuration object.
1828         * HttpRuntime.cs: Create trace manager in the first request start
1829         so it can get configuration settings.
1830         
1831 2004-01-10  Jackson Harper <jackson@ximian.com>
1832
1833         * TraceContext.cs: Save the request path in the trace data.
1834         * TraceData.cs: Add RequestPath property, make some rendering
1835         methods internal static so the TraceHandler can use them.
1836         * TraceManager.cs: Expose trace data, add a method for clearing
1837         trace data.
1838         
1839 2004-01-10  Jackson Harper <jackson@ximian.com>
1840
1841         * HttpRuntime.cs: Add trace manager
1842         * TraceManager.cs: New class for handling trace configuration and
1843         storing trace data objects.
1844         * TraceContext.cs: Save trace data to the trace manager. Fix typo.
1845         
1846 2004-01-10  Jackson Harper <jackson@ximian.com>
1847
1848         * TraceData.cs: New class for storing trace data. Data is stored
1849         here instead of the trace context so it can be saved and accessed
1850         from the trace handler.
1851         * TraceContext.cs: Save data in the TraceData object, let the
1852         trace data object handle the rendering.
1853         
1854 2004-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1855
1856         * HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
1857         Thanks to Jan Jaros (mono-bug@jerryweb.info).
1858
1859         * HttpRequestValidationException.cs: fix comment.
1860
1861 2004-01-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1862
1863         * HttpException.cs: default to error 500. Fixes bug #52623.
1864
1865 2004-01-04  Jackson Harper <jackson@ximian.com>
1866
1867         * TraceContext.cs: Store and render trace info times. Also render
1868         cookie sizes. Remove debug code.
1869         
1870 2004-01-04  Jackson Harper <jackson@ximian.com>
1871
1872         * HttpResponse.cs: Set the cached response date header so it can
1873         be updated.
1874         * HttpResponseHeader.cs: Let values be set so we can update cached 
1875         response header values.
1876         
1877 2004-01-04  Jackson Harper <jackson@ximian.com>
1878
1879         * HttpResponse.cs: Implement RemoveOutputCacheItem.
1880         
1881 2004-01-04  Jackson Harper <jackson@ximian.com>
1882
1883         * HttpCachePolicy.cs: Add internal method to get the vary by custom string
1884         * HttpCacheVaryByHeaders.cs: Add internal method to get the header names.
1885         
1886 2004-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1887
1888         * HttpRuntime.cs: implemented MachineConfigurationDirectory,
1889
1890 2004-1-1  Alon Gazit <along@mainsoft.com>
1891         * HttpWriter.cs: add check in Write() in order to prevent
1892         NullReferenceException.
1893
1894 2004-1-1  Alon Gazit <along@mainsoft.com>
1895         * HttpResponse.cs: implemented ExpiresAbsolute and Expires.
1896
1897 2003-12-18  Jackson Harper <jackson@ximian.com>
1898
1899         * TraceContext.cs: Write () methods are not warnings.
1900         
1901 2003-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1902
1903         * HttpBrowserCapabilities.cs: added GetClrVersions ().
1904         * HttpCachePolicy.cs: added SetAllowResponseInBrowserHistory ().
1905         * HttpContext.cs: added set_Current and RewritePath (s, s, s) for 1.1.
1906         * HttpRequest.cs: added set_ContentType, SetPathInfo and ValidateInput.
1907         * HttpRequestValidationException.cs: new class for 1.1
1908         * HttpResponse.cs: added RedirectLocation.
1909         * HttpRuntime.cs: added UnloadAppDomain.
1910         * HttpServerUtility.cs: Execute (s, t, b) is internal for < 1.2
1911         * HttpUtility.cs: copied UrlPathEncode from HttpServerUtility.
1912         * HttpWorkerRequest.cs: added [ComVisible] and made the ctor public.
1913
1914 2003-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1915
1916         * HttpContext.cs: implemented IsCustomErrorEnabled and
1917         IsDebuggingEnabled. Added internal ErrorPage property.
1918
1919         * HttpRuntime.cs: on error, check if we have a custom error page enabled
1920         to handle it and redirect.
1921
1922         * HttpResponse.cs: added RedirectCustomError (), which actually does
1923         the redirection to the error page.
1924         
1925 2003-12-16  Jackson Harper <jackson@ximian.com>
1926
1927         * TraceContext.cs: Render all the data, and the stylesheet.
1928         
1929 2003-12-16  Jackson Harper <jackson@ximian.com>
1930
1931         * TraceContext.cs: Add incomplete render method.
1932         
1933 2003-12-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1934
1935         * CapabilitiesLoader.cs: loads browser detection and capabilities data
1936         from browscap.ini file by Gary J. Keith.
1937
1938         * HttpBrowserCapabilities.cs: removed almost all TODOs.
1939
1940         * HttpRequest.cs: fixed Browser property.
1941
1942 2003-12-15  Jackson Harper <jackson@ximian.com>
1943
1944         * TraceContext.cs: Initial implementation of storing data.
1945         * HttpContext.cs: Create and expose a trace object.
1946         
1947 2003-12-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1948
1949         * HttpApplication.cs: ThreadAbortException is ok on Redirect.
1950         * HttpContext.cs: added TimeoutPossible property.
1951         * HttpResponse.cs: throw ThreadAbortException if End () is called within
1952         a step in which is possible to timeout.
1953
1954         Fixes bug #51703.
1955
1956 2003-12-04  Jackson Harper <jackson@ximian.com>
1957
1958         * HttpRequest.cs: Cleanup method.
1959         
1960 2003-12-04  Jackson Harper <jackson@ximian.com>
1961
1962         * HttpValueCollection.cs: Allow blank value names. Posting
1963         <blank>=SomeValue is valid. And occurs if a radio button does
1964         not have its name set.
1965         
1966 2003-12-03  Jackson Harper <jackson@ximian.com>
1967
1968         * HttpResponse.cs: Actually apply an app path modifier in
1969         ApplyAppPathModifer and add a method to set the app path modifier.
1970         * HttpRequest.cs: Add utility method for setting a request header.
1971         
1972 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1973
1974         * HttpApplication.cs: handle FileNotFound and DirectoryNotFound
1975         exceptions when creating the handler to generate a better error page.
1976
1977         * HttpException.cs: display the http_code if available.  Changed all
1978         \n by \r\n to make the hidden stack trace readable.
1979         
1980         * StaticFileHandler.cs: don't send the real path in th eerror.
1981
1982 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1983
1984         * HttpContext.cs: updated GetConfig and GetAppConfig to new API.
1985         
1986         * HttpResponse.cs: separate initialization of the HttpWriter, as it
1987         tries to read configuration settings while the config. system is not
1988         available (ie, before the first request).
1989         
1990         * HttpRuntime.cs: delayed queueManager and response writer
1991         initialization until the configuration system is working.
1992
1993 2003-11-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1994
1995         * HttpRuntime.cs: added request queue handling.
1996
1997         * QueueManager.cs: simple request queue.
1998         
1999         * TimeoutManager.cs: added some locks to prevent the enumerator used in
2000         CheckTimeouts to be out of synch.
2001
2002 2003-11-25  Jackson Harper <jackson@ximian.com>
2003
2004         * HttpStaticObjectsCollection.cs: Add methods for serialization
2005         and conversion to/from byte arrays.
2006         
2007 2003-11-21  Jackson Harper <jackson@ximian.com>
2008
2009         * HttpResponse.cs: When caching data set the content length in the
2010         cached repsonse so that only that amount will be written back to
2011         the client. Add method to write a range of binary data.
2012         * HttpCacheVaryByParams.cs: Add method to retrieve param names.
2013         
2014 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2015
2016         * HttpApplication.cs:
2017         * HttpContext.cs:
2018         * HttpRuntime.cs: add timeout handling.
2019         * TimeoutManager.cs: new class that takes care of aborting threads on
2020         timeout.
2021
2022 2003-11-19  Jackson Harper <jackson@ximian.com>
2023
2024         * HttpWriter.cs: Use a constant for the buffer size so the cache
2025         can get the buffer size. Add method to get the buffer.
2026         * HttpResponse.cs: Methods for getting data to cache, and setting
2027         vars from the cache.
2028         * HttpCachePolicy.cs: Expose a pages cache expire time.
2029         
2030 2003-11-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2031
2032         * HttpResponse.cs: 
2033         * HttpWriter.cs: some fixes to allow closing a response stream without
2034         messing the rest.
2035
2036 2003-11-13  Jackson Harper  <jackson@ximian.com>
2037
2038         * HttpCachePolicy.cs: Make sure cacheability and maxage get
2039         set. Add method to set Http response header data
2040         * HttpCacheVaryByParams.cs: Add method to create a response header.
2041         * HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
2042         * HttpResponse.cs: Set cache headers.
2043         
2044 2003-11-11 Ben Maurer  <bmaurer@users.sourceforge.net>
2045
2046         * HttpModuleCollection.cs (GetKey): Recursion, again!
2047
2048 2003-11-11 Ben Maurer  <bmaurer@users.sourceforge.net>
2049
2050         * HttpClientCertificate.cs (ValidUntil): recursion!
2051
2052 2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
2053
2054         * SiteMapNode.cs (GetDataSourceView): Implement.
2055         * SiteMapProvider.cs: Typo fixing.
2056         * XmlSiteMapProvider.cs: We shouldnt resolve here.
2057         
2058 2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
2059
2060         * SiteMap.cs (Init): implement a hack that doesnt need the config
2061         stuff. Should do that later.
2062         * SiteMapNodeCollection (OnValidate): Fix recursion.
2063         * SiteMapProvider.cs: We dont implement some culture stuff work
2064         around it. Fix typo.
2065         * XmlSiteMapProvider.cs: Added.
2066         
2067 2003-11-07 Ben Maurer  <bmaurer@users.sourceforge.net>
2068
2069         * ISiteMapProvider.cs:
2070         * SiteMap.cs:
2071         * SiteMapNode.cs:
2072         * SiteMapNodeCollection.cs:
2073         * SiteMapProvider.cs:
2074         * SiteMapProviderCollection.cs: V2 sitemap related stuff.
2075
2076 2003-11-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2077
2078         * HttpRequest.cs: don't attempt to read more bytes than specified
2079         content length.
2080
2081 2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2082
2083         * HttpRequest.cs:
2084         * HttpResponse.cs:
2085         * HttpUtility.cs:
2086         * HttpValueCollection.cs: encoding fixes/updates.
2087
2088         * HttpWriter.cs: when updating the encoding, flush the existing stream.
2089         Encoding updates.
2090
2091 2003-11-04 Ben Maurer  <bmaurer@users.sourceforge.net>
2092
2093         * HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
2094         return false (which makes sense, as the custom errors *arent* enabled;
2095         ie they dont work.
2096         * HttpResponseStream.cs: you actually can write with len = 0
2097
2098 2003-11-03 Jackson Harper <jackson@ximian.com>
2099
2100         * HttpResponse.cs (ContentEncoding): Throw
2101         ArgumentNullException. Patch by Yaron Shkop.
2102         
2103 2003-10-30  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2104
2105         * HttpMultipartContentParser.cs : Quick fix for cygwin build. 
2106           CSC complains that constant char cannot be casted as byte.
2107
2108 2003-10-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2109
2110         * HttpApplication.cs: added AssemblyLocation property.
2111
2112 2003-10-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2113
2114         * HttpApplicationFactory.cs: use NoParamsInvoker.
2115         * HttpRequest.cs: support request filters.
2116         * HttpRequestStream.cs: mono-stylized and added new Set method.
2117
2118         * NoParamsInvoker.cs: proxy class to invoke user-provided methods
2119         without parameters that are invoked by EventHandlers.
2120
2121 2003-10-13  Lluis Sanchez Gual <lluis@ximian.com>
2122
2123         * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
2124           to invariant culture.
2125
2126 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2127
2128         * HttpResponse.cs:
2129         * HttpServerUtility.cs: change the response writer in Execute. Thanks
2130         to Rich Alimi <rich@velvetsea.net> for noticing this.
2131
2132 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2133
2134         * HttpApplicationFactory.cs: support for wiring up events without
2135         parameters.
2136
2137 2003-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2138
2139         * HttpUtility.cs: small memory usage reduction.
2140
2141 2003-10-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2142
2143         * HttpApplication.cs: pass the Uri, not the file path to
2144         when looking for a handler.
2145
2146 2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2147
2148         * HttpRequest.cs: small fix needed when reading big POST data.
2149
2150 2003-09-04  Lluis Sanchez Gual <lluis@ximian.com>
2151
2152         * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
2153           (this will get the address from the request headers).
2154
2155 2003-09-04  Lluis Sanchez Gual <lluis@ximian.com>
2156
2157         * HttpServerUtility.cs: In Transfer(), preserve the query string if
2158           told to do so.
2159
2160 2003-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2161
2162         * HttpApplication.cs: ensure we do all the EndRequest steps. Don't
2163         filter the output on error.
2164         
2165         * HttpResponse.cs: modified DoFilter to allow bypassing filtering.
2166
2167 2003-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2168
2169         * HttpApplication.cs: when the request is completed or an
2170         error happens, execute all the delegates attached to EndRequest, not
2171         only the last one. This makes xsp/test/authtest work again.
2172         
2173         * HttpMethodNotAllowedHandler.cs: fixed description for http
2174         status code.
2175
2176 2003-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2177
2178         * HttpRequest.cs: quick way of checking that the path is within the
2179         root for the application. Thanks to Johannes for reporting.
2180         
2181         * HttpRuntime.cs: use the status code from teh exception when it'ss a
2182         HttpException.
2183
2184         * StaticFileHandler.cs: forbidden is 403.
2185
2186 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2187
2188         * HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
2189         <rich@velvetsea.net>.
2190
2191 2003-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2192
2193         * HttpException.cs: make the unhandled error more like the MS one.
2194         * HttpRuntime.cs: set a 500 error code on unhandled exceptions.
2195
2196 2003-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2197
2198         * HttpResponse.cs: flush headers when the body length is 0.
2199         * StaticFileHandler.cs: added If-Modified-Since handling patch slightly
2200         modified from the original by Piers Haken <piersh@friskit.com>.
2201
2202 2003-08-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2203
2204         * HttpResponse.cs: another patch from totte and me. This one prevents
2205         writing output if the client have disconnected and filters the data
2206         when there's a non-final Flush in the middle of the process.
2207
2208 2003-08-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2209
2210         * HttpApplication.cs: fixed typos. Closes bug #44197.
2211
2212 2003-08-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2213
2214         * HttpApplication.cs:
2215         * HttpApplicationFactory.cs: fix duplicate application OnStart events.
2216
2217         Patch by Patrik Torstensson.
2218
2219 2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2220
2221         * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
2222         overload. The previous one only admits static methods.
2223
2224 2003-08-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2225
2226         * ProcessModelInfo.cs: Fixed signature
2227
2228 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2229
2230         * WebCategoryAttribute.cs: Implemented localization
2231         * WebSysDescriptionAttribute.cs: Implemented localization
2232
2233 2003-07-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2234
2235         * HttpRuntime.cs: also clear the headers that may have been set upon
2236         error processing the request.
2237
2238 2003-07-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2239
2240         * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
2241         Write method.
2242
2243         * HttpWriter.cs: flush the filter after writing.
2244
2245 2003-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2246
2247         * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
2248
2249 2003-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2250
2251         * HttpContext.cs: Session doesn't have a setter.
2252
2253         * HttpResponse.cs: Request is private.
2254
2255 2003-07-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2256
2257         * HttpRequest.cs: fixed Headers property. It was getting known headers
2258         values instead of known headers names.
2259
2260 2003-07-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2261
2262         * HttpApplication.cs: prevent nullref if an error happens before context
2263         is set.
2264         * HttpException.cs: small fix in the stack trace sent.
2265         * HttpUtility.cs: the lock is not needed.
2266
2267 2003-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2268
2269         * HttpRequest.cs: added REMOTE_PORT.
2270         * HttpValueCollection.cs: fixed bug #45490.
2271
2272 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2273
2274         * HttpApplication.cs:
2275         * HttpApplicationFactory.cs: fire application start and session
2276         start/end events.
2277
2278 2003-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2279
2280         * HttpException.cs: encode as HTML the inner exception that
2281         is appended as a comment at the end of error pages.
2282
2283 2003-05-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2284
2285         * HttpWriter.cs: don't do anything in Flush. Fixes #42249.
2286
2287 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2288
2289         * HtmlizedException.cs: added more virtual methods.
2290
2291         * HttpException.cs:  some work on the output when there's a source
2292         file present.
2293
2294 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2295
2296         * HtmlizedException.cs: simplified to cope with the new interface.
2297
2298         * HttpApplicationFactory.cs: use the application file parser to get the 
2299         application Type.
2300         
2301         * HttpException.cs: small changes. Needs some more work on
2302         ParseExceptions.
2303         
2304 2003-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2305
2306         * HttpRequest.cs: fixed Url property.
2307
2308 2003-03-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2309
2310         * HtmlizedException.cs:
2311         * HttpException.cs: display the correct line number in error messages.
2312
2313 2003-03-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2314
2315         * HttpCachePolicy.cs: implemented all TODOs.
2316         * HttpRequestStream.cs: make it internal.
2317
2318 2003-03-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2319
2320         * HttpContext.cs: implemented RewritePath in other way.
2321         * HttpRequest.cs: removed SetPhysicalPath and added SetForm.
2322         * HttpServerUtility.cs: implemented Transfer (string, bool).
2323
2324 2003-03-16  Daniel Lopez Ridruejo <daniel @ rawbyte.com>
2325         * HttpContext.cs : Implemented RewritePath
2326         * HttpRequest.cs : Added internal function SetPhysicalPath
2327
2328 2003-03-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2329
2330         * HttpServerUtility.cs: implemented Transfer ().
2331
2332 2003-03-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2333
2334         * HttpRuntime.cs: Cache no longer have a Dispose method.
2335
2336         * HttpServerUtility.cs: removed MonoTODO.
2337
2338 2003-03-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2339
2340         * HttpHelper.cs: store the values in an ArrayList to get them in correct
2341         order.
2342
2343 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2344
2345         * HttpApplicationFactory.cs: Global.asax takes precedence over
2346         global.asax if it exists.
2347
2348         * HttpRequest.cs: use allowCrossAppMapping in MapPath.
2349
2350 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2351
2352         * HttpApplication.cs: CreateHttpHandler is now internal.
2353
2354         * HttpRequest.cs: allow setting QueryStringRaw, which
2355         invalidates the data obtained from the previous value. Added internal
2356         SetFilePath method.
2357
2358         * HttpServerUtility.cs: implemented Execute and GetLastError.
2359
2360 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2361
2362         * HttpServerUtility.cs: style.
2363
2364 2003-02-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2365
2366         * HttpApplication.cs: only execute the EndRequest step on error
2367         condition or request marked as completed. This prevent page events from
2368         being called when, for example, the url authorization module forbids
2369         the request.
2370
2371 2003-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2372
2373         * HttpRequest.cs: implemented the indexer.
2374
2375 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2376
2377         * HtmlizedException.cs: base class for exceptions that makes it easy to
2378         generate error pages.
2379
2380         * HttpException.cs: improved error displaying.
2381
2382         * HttpRuntime.cs: removed debugging output.
2383
2384 2003-02-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2385
2386         * HttpApplication.cs: display the error instead of hanging when we get
2387         any error before the last step of the request.
2388
2389 2003-02-04  Tim Haynes <thaynes@openlinksw.com>
2390
2391         * HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement
2392         instance counter.
2393
2394 2003-01-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2395
2396         * HttpRequest.cs: added BaseVirtualDir property and use it in MapPath.
2397
2398 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2399
2400         * HttpRequest.cs: implemented CurrentExecutionFilePath.
2401
2402 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2403
2404         * HttpApplication.cs: keep _lasterror if no context. Attach
2405         application events *after* modules initialization (if not, User is not
2406         set when the user handler is called).
2407         
2408         * HttpApplicationFactory.cs: made all methods related to
2409         AttachEvents static. I will fix OnStart/OnEnd for application and
2410         session later.
2411         
2412         * HttpRequest.cs: don't initialize cookies twice.
2413
2414 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2415
2416         * HttpResponse.cs:
2417         (ApplyAppPathModifiers): return the root directory for "".
2418
2419 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2420
2421         * HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.
2422
2423 2003-01-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2424
2425         * HttpApplication.cs: added new state to handle default authentication.
2426
2427 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2428
2429         * HttpContext.cs: removed hack to get the User.
2430
2431 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2432
2433         * HttpUtility.cs: fixed bug #36038. Thanks to juancri@tagnet.org for
2434         reporting the bug and how to fix it.
2435
2436 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2437
2438         * HttpCookie.cs: send 'expires' in the header.
2439
2440 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2441
2442         * HttpValueCollection.cs: patch from Botjan Vizin 
2443         <bostjan.vizin@siol.net> that implements ToString (bool).
2444
2445 2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2446
2447         * HttpApplicationFactory.cs: add the context as parameter when building
2448         the application Type.
2449         
2450         * HttpCookie.cs: new internal constructor.
2451         * HttpCookieCollection.cs: new internal method to make a cookie expire.
2452
2453         * HttpRequest.cs: MapPath fixes.
2454         * HttpResponse.cs: implemented ApplyAppPathModifier.
2455         * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
2456
2457 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2458
2459         * HttpContext.cs: hack to create a default user when there's no one.
2460         Implemented GetConfig (string).
2461
2462         * HttpRequest.cs: fixes to MapPath (string).
2463
2464 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2465
2466         * HttpRuntime.cs: avoid nulls and exception when getting resource
2467         format strings.
2468
2469         * StaticFileHandler.cs: added file name to error message.
2470
2471 2002-12-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2472
2473         * HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
2474
2475 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2476
2477         * HttpApplicationFactory.cs: get the events from the application class,
2478         fire Application/Session Start/End and add the others as application
2479         events.
2480
2481 2002-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2482
2483         * HttpApplicationFactory.cs: compile global.asax file if it exists.
2484
2485 2002-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2486
2487         * HttpRequest.cs: provide a default Browser until we detect it.
2488         * HttpResponse.cs:
2489         (End): do not close the connection here.
2490         (Flush (bool)): send the headers when, for example, Redirect () is
2491         called.
2492
2493 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2494
2495         * HttpException.cs: simple error output.
2496
2497 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2498
2499         * HttpApplication.cs: style.
2500         * HttpException.cs: style.
2501         * HttpRuntime.cs: only flush the response if there are no errors.
2502         Otherwise, write an error output.
2503         * HttpWriter.cs: change Unicode to UTF8.
2504
2505 2002-11-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2506
2507         * HttpApplication.cs: don't begin the request using ExecuteNextAsync
2508         (it fails to work on NetServ).
2509
2510         * HttpWorkerRequest.cs: typo.
2511
2512 2002-11-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2513
2514         * HttpValueCollection.cs: the value may contain trailing '=' as it is
2515         UrlEncoded. Don't split name=value based on '='.
2516
2517 2002-11-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2518
2519         * HttpCookie.cs: made GetCookieHeader internal.
2520
2521         * HttpRequest.cs: get cookies from request.
2522
2523         * HttpResponse.cs: send cookies. Implemented
2524         AddFileDependencies (). Added check for _Writer == null in Flush
2525         (Patrik ;-). Clear the content if HEAD or SupressContent == true.
2526         Removed redirect hack used in old server.
2527
2528 2002-10-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2529
2530         * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
2531         most ContentLength bytes.
2532
2533         * HttpResponse.cs: now it sends the headers. Added
2534         X-Powered-By header :-).
2535
2536         * HttpRuntime.cs: fixed typo.
2537
2538         * HttpValueCollection.cs: cosmetic changes.
2539
2540 2002-10-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2541
2542         * HttpApplication.cs: reenabled a few lines of code
2543         (ThreadPool already fixed). 
2544         
2545         * HttpRequest.cs:
2546         * HttpResponse.cs:
2547         * HttpUtility.cs:
2548         * HttpValueCollection.cs:
2549         * HttpWriter.cs: Use WebEncoding.Encoding.
2550
2551 2002-10-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2552
2553         * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
2554         This fixes sending bytes and allows mixing byte with chars.
2555
2556 2002-10-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2557
2558         * HttpResponse.cs: implemented WriteFile methods.
2559         * MimeTypes.cs: removed duplicated entries.
2560
2561 2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2562
2563         * HttpResponse.cs: don't throw exception in a couple of
2564         methods not yet implemented.
2565
2566 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2567
2568         * HttpApplication.cs: fixed type and handle factories when creating
2569         IHttpHandler for a request.
2570
2571 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2572
2573         * HttpApplication.cs: use handlers from configuration.
2574         * HttpContext.cs: get handlers from ConfigurationSettings.
2575
2576 2002-10-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2577
2578         * HttpMethodNotAllowedHandler.cs:
2579         * HttpRuntime.cs:
2580         * StaticFileHandler.cs: Modified file.
2581
2582         * HttpUtility.cs: implemented all missing methods.
2583
2584
2585 2002-09-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2586
2587         * System.Web/HttpApplication.cs: use the static file handler.
2588         * System.Web/HttpForbiddenHandler.cs: handler to forbid access.
2589         * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
2590         allowed.
2591         
2592         * System.Web/HttpUtility.cs: finished all UrlDecode methods.
2593         * System.Web/MimeTypes.cs: map from file extension to MIME type.
2594         * System.Web/StaticFileHandler.cs: serves static files
2595
2596 2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2597
2598         * System.Web/HttpApplication.cs:
2599         * System.Web/HttpApplicationFactory.cs:
2600         * System.Web/HttpRequest.cs:
2601         * System.Web/HttpRuntime.cs: we are now able to compile pages and use
2602         HttpApplication, HttpRuntime and SimpleWorkerRequest.
2603
2604 2002-09-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2605
2606         * HttpApplication.cs: added some missing methods.
2607         * HttpApplicationFactory.cs: get event handlers for the application.
2608         * HttpAsyncResult.cs: little fixes.
2609         * HttpRequest.cs: make Encoding work even with no worker request.
2610
2611 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2612
2613         * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
2614         to add HttpMapPath to the list file...
2615
2616 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2617
2618         * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
2619         report when i get a test case.
2620
2621 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2622
2623         * HttpApplicationFactory.cs:
2624         * HttpCachePolicy.cs:
2625         * HttpResponseHeader.cs:
2626         * HttpResponseStream.cs:
2627         * HttpResponseStreamProxy.cs:
2628         * HttpValueCollection.cs: misc. fixes based on class status page.
2629
2630         * IHttpMapPath.cs: New file.
2631
2632         * HttpRequest.cs: implemented ContentEncoding.
2633         * HttpWorkerRequest.cs: mono-stylized and implemented
2634         SendResponseFromMemory.
2635
2636 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2637
2638         * HttpContext.cs: reformatted.
2639         * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
2640         the indexer.
2641
2642 2002-08-05  Patrik Torstensson <ptorsten@hotmail.com>
2643
2644         * HttpApplication.cs: Implemented a state machine to allow handling of
2645         HttpModules and HttpHandlers. Implementation of async handlers. 
2646                                                                  
2647         * HttpApplicationFactory.cs: Factory for creating HttpApplication
2648         instances, including caching.
2649         
2650         * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
2651         application instance to execute requests in and implementation of 
2652         request execution (still no request queue). 
2653                                                          
2654         * HttpAsyncResult.cs: New file to handle async module results.                                          
2655                                                          
2656         * HttpRequest.cs: Change signature of Dispose
2657         * HttpResponse.cs: new internal method allowing filtering to happen
2658         during the request flow in the state machine.
2659
2660 2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2661
2662         * HttpApplication.cs: events were not being initialized.
2663
2664 2002-07-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2665
2666         * ProcessModelInfo.cs: fixed compilation.
2667
2668 2002-07-25  Tim Coleman <tim@timcoleman.com>
2669         * ProcessModelInfo.cs:
2670                 New class added
2671         * HttpParseException.cs:
2672         * HttpCompileException.cs:
2673         * HttpUnhandledException.cs:
2674                 Internal constructors added to these
2675
2676 2002-07-24  Tim Coleman <tim@timcoleman.com>
2677         * ProcessInfo.cs: 
2678                 Fix constructor, reference to shutdownreason.
2679
2680 2002-07-24  Tim Coleman <tim@timcoleman.com>
2681         * HttpCachePolicy.cs:
2682                 Added stubbs to this class.
2683         * HttpCacheability.cs:
2684         * HttpCacheRevalidation.cs:
2685         * HttpValidationStatus.cs:
2686         * ProcessShutdownReason.cs:
2687         * ProcessStatus.cs:
2688         * TraceMode.cs:
2689                 Reorder the enumerations (and in some cases make
2690                 one-based) in order to agree with the .NET 
2691                 implementation, based on the class status page.
2692         * ProcessInfo.cs:
2693                 Implementation of this class.
2694
2695 2002-07-23  Tim Coleman <tim@timcoleman.com>
2696         * HttpCompileException.cs:
2697         * HttpParseException.cs:
2698         * HttpUnhandledException.cs:
2699                 New stubbs created.
2700         * HttpApplication.cs:
2701         * HttpBrowserCapabilities.cs:
2702                 Added missing methods stubbs and attributes based
2703                 on the class status page.  Also reformatted some
2704                 source for consistency.
2705
2706 2002-07-23  Tim Coleman <tim@timcoleman.com>
2707         * HttpUtility.cs: Moved entities hashtable into main
2708                 class as a static object, so we don't instantiate
2709                 a new one every time.  Also put the hashtable
2710                 building into a lock block.
2711
2712 2002-07-22  Tim Coleman <tim@timcoleman.com>
2713         * HttpUtility.cs: Cleanup of the code, implementation
2714                 of HtmlDecode/HtmlEncode functions
2715
2716 2002-07-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2717
2718         * HttpResponse.cs: quick&dirty hack to make redirection work. Should
2719         be out of there once we have SimpleWorkerRequest.
2720
2721 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2722
2723         * HttpUtility.cs: little typo, big headache.
2724
2725 2002-07-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2726
2727         * HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
2728
2729 2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2730
2731         * System.Web/HttpResponse.cs: 
2732
2733         Fixes based on class status page:
2734         
2735                 - Add attributes (DefaultEvent, ParseChildren).
2736                 - Fix declarations.
2737                 - Explicitly implement some interfaces (IPostBackDataHandler
2738                 and IPostBackEventHandler).
2739                 - Implemented some missing methods.
2740
2741 2002-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2742
2743         * HttpContext.cs:
2744         (Session): return null instead of throwing an exception.
2745
2746         * HttpRequest.cs:
2747         (HttpMethod): return RequestType if not set.
2748         (GetRawContent): return QueryString if we don't have a
2749         HttpWorkerRequest.
2750
2751         * HttpUtility.cs: fixed Decode and Encode.
2752
2753 2002-06-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2754
2755         * HttpApplication.cs:
2756         * HttpContext.cs: added System.Web.SessionState namespace.
2757
2758         * HttpSessionState.cs: removed. It is under
2759         System.Web.SessionState.
2760
2761 2002-06-10  Duncan Mak  <duncan@ximian.com>
2762
2763         * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
2764
2765 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2766
2767         * HttpRequest.cs: implemented Browser property.
2768
2769 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2770
2771         * HttpBrowserCapabilities.cs: stubbed out.
2772
2773 2002-05-18  Miguel de Icaza  <miguel@ximian.com>
2774
2775         * HttpRuntime.cs: Reformat file.
2776
2777 2002-05-07  Duncan Mak  <duncan@ximian.com>
2778
2779         * HttpBrowserCapabilities.cs: Added, replacing
2780         HttpBrowserCapabilites because of typo.
2781
2782         * HttpBrowserCapabilites.cs: Removed, replaced by above.
2783
2784         * HttpRequest.cs (Browser): Fixed typo.
2785
2786 2002-04-12  Patrik Torstensson <patrik.torstensson@labs2.com>
2787
2788         * HttpApplication.cs: Minor updates
2789         * HttpApplicationState.cs: Ready.
2790         * HttpClientCertificate.cs: Signature updates
2791         * HttpValueCollection.cs: ready
2792         * HttpStaticObjectsCollection.cs: ready
2793         * HttpResponseHeader.cs: made internal only
2794         * HttpResponse.cs: Signature updates
2795         * HttpPostedFile.cs: ready
2796         * HttpCacheVaryByHeaders.cs: ready (except communication to policy)
2797         * HttpCacheVaryByParams.cs: ready (except communication to policy)
2798         
2799         System.Web is now over 60% ready.. 
2800
2801 2002-04-11  Patrik Torstensson <patrik.torstensson@labs2.com>
2802
2803         * HttpException.cs: 95% ready, only windows dependent code left
2804         * HttpFileCollection.cs: Finished.
2805         * HttpRequest.cs: Minor fixes and fixed signature problems
2806         * HttpResponse.cs: Implementation of missing methods and signature problems
2807         * HttpResponseHeader.cs: Fixed signature problems
2808         * HttpRuntime.cs: Fixed signature problems
2809         * HttpServerUtility.cs: Added support for HttpApplication
2810         * HttpSessionState.cs: Fixed signature issues
2811         * HttpUtility.cs: fixed signature issues
2812         * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
2813         * HttpWorkerRequest.cs: Fixed small signature issue
2814         * HttpWriter.cs: Fixed signature issue
2815         * HttpApplication.cs: Basic implementation
2816         * HttpApplicationState.cs: Small fixes to support major change comming up
2817         * HttpBrowserCapabilities.cs: Added Type method
2818         * HttpClientCertificate.cs: Almost ready, needs to parse certificate.
2819         * HttpContext.cs: Fixed signature issues and added last methods.
2820         * HttpCookie.cs: Full implementation
2821         * HttpCookieCollection.cs: Full implementation
2822         * TraceContext.cs: Methods implemented.
2823         * HttpPostedFile.cs: Placeholder
2824         * HttpStaticObjectsCollection.cs: Placeholder
2825         * HttpModuleCollection.cs: Ready, will be used during the major revamp.
2826         
2827         * Fixed a number of other small signature problems also (class status page)
2828         
2829         
2830 2002-04-10  Patrik Torstensson <patrik.torstensson@labs2.com>
2831
2832     * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
2833     * Checkin of all new files (noted in last changenote)
2834
2835 2002-04-10  Patrik Torstensson <patrik.torstensson@labs2.com>
2836
2837     * HttpContext.cs: First implementation (basic support, few methods left to impl)
2838     * HttpException.cs: Partial implementation (basic support)
2839     * HttpHelper.cs: Header parse helper, used by runtime (non public)
2840     * HttpRequest.cs: Implementation (all methods there, not all fully impl)
2841     * HttpRequestStream.cs: Full implementation
2842     * HttpResponse.cs: Partial implementation(almost all methods)
2843     * HttpResponseHeader.cs: Header helper
2844     * HttpResponseStream.cs: Full implementation - Response stream support
2845     * HttpResponseStreamProxy.cs: Implementation - filter support
2846     * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
2847         * HttpServerUtility.cs: Implemented usage of HttpContext for methods
2848                                 and moved encoding functions to HttpUtility.
2849
2850     * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
2851                       added the Attribute encoding functions.
2852
2853     * HttpValueCollection.cs: Implementation.
2854     * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
2855     * HttpWriter.cs: Implementation (with filter support)    
2856
2857     * HttpFileCollection: Added dummy class (placeholder)
2858     * HttpApplication.cs: Added dummy class (placeholder)
2859     * HttpApplicationState.cs: Added dummy class (placeholder)
2860     * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
2861     * HtttpCachePolicy.cs: Added dummy class (placeholder)
2862     * HttpClientCertificate.cs: Added dummy class (placeholder)
2863     * HttpSessionState.cs: Added dummy class (placeholder)
2864     * TraceContext.cs: Added dummy class (placeholder)
2865     
2866
2867 2002/04/10  Nick Drochak <ndrochak@gol.com>
2868
2869         * HttpServerUtility.cs: Fix build breaker.
2870
2871 2002-03-28  Wictor Wiln  <wictor@iBizkit.se>
2872
2873         * HttpServerUtils.cs : Added some more functionality
2874         
2875 2002-03-28  Martin Baulig  <martin@gnome.org>
2876
2877         * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
2878         char to a string, use ToString() instead.
2879
2880 2002-03-16  Gaurav Vaish  <gavish@iitk.ac.in>
2881
2882         * WebCategoryAttribute.cs
2883                                : Added private attribute.
2884
2885 2002-03-16  Gaurav Vaish  <gavish@iitk.ac.in>
2886
2887         * HttpRuntime.cs       : Stubbed methods for
2888                   FormatStringResource(...) in agreement with the various
2889                   overloads available at String.Format(...)
2890
2891 2002-01-08  Gaurav Vaish  <gavish@iitk.ac.in>
2892
2893         * TODOAttribute.cs     : Added, as an internal class to the assembly
2894
2895 2002-01-03  Nick Drochak  <ndrochak@gol.com>
2896
2897         * HttpRuntime.cs: remove uneeded exception variable from catch and
2898         initialize remaining instance members to avoid compile warnings
2899
2900 2002-01-02  Nick Drochak  <ndrochak@gol.com>
2901
2902         * HttpRuntime.cs: fix spelling error/variable name change.
2903
2904 2001-12-18  Gaurav Vaish <gvaish@iitk.ac.in>
2905
2906         * HttpRuntime.cs       : Initial implementation
2907
2908 2001-08-29  Bob Smith  <bob@thestuff.net>
2909
2910         * HttpWorkerRequest.cs: Partial Implementation.
2911
2912 2001-08-16  Bob Smith  <bob@thestuff.net>
2913
2914          * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
2915
2916 2001-08-09  Bob Smith  <bob@thestuff.net>
2917
2918          * BeginEventHandler.cs: Implemented.
2919          * EndEventHandler.cs: Implemented.
2920          * HttpCacheability.cs: Implemented.
2921          * HttpCacheRevalidation.cs: Implemented.
2922          * HttpCacheValidateHandler.cs: Implemented.
2923          * HttpCookieCollection.cs: Implemented.
2924          * HttpCookie.cs: Implemented.
2925          * HttpValidationStatus.cs: Implemented.
2926          * HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
2927          * IHttpAsyncHandler.cs: Implemented.
2928          * IHttpHandler.cs: Implemented.
2929          * IHttpHandlerFactory.cs: Implemented.
2930          * IHttpModule.cs: Implemented.
2931          * ProcessShutdownReason.cs: Implemented.
2932          * ProcessStatus.cs: Implemented.
2933          * TraceMode.cs: Implemented.