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