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