* TraceContext.cs: Render all the data, and the stylesheet.
[mono.git] / mcs / class / System.Web / System.Web / ChangeLog
1 2003-12-16  Jackson Harper <jackson@ximian.com>
2
3         * TraceContext.cs: Render all the data, and the stylesheet.
4         
5 2003-12-16  Jackson Harper <jackson@ximian.com>
6
7         * TraceContext.cs: Add incomplete render method.
8         
9 2003-12-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
10
11         * CapabilitiesLoader.cs: loads browser detection and capabilities data
12         from browscap.ini file by Gary J. Keith.
13
14         * HttpBrowserCapabilities.cs: removed almost all TODOs.
15
16         * HttpRequest.cs: fixed Browser property.
17
18 2003-12-15  Jackson Harper <jackson@ximian.com>
19
20         * TraceContext.cs: Initial implementation of storing data.
21         * HttpContext.cs: Create and expose a trace object.
22         
23 2003-12-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
24
25         * HttpApplication.cs: ThreadAbortException is ok on Redirect.
26         * HttpContext.cs: added TimeoutPossible property.
27         * HttpResponse.cs: throw ThreadAbortException if End () is called within
28         a step in which is possible to timeout.
29
30         Fixes bug #51703.
31
32 2003-12-04  Jackson Harper <jackson@ximian.com>
33
34         * HttpRequest.cs: Cleanup method.
35         
36 2003-12-04  Jackson Harper <jackson@ximian.com>
37
38         * HttpValueCollection.cs: Allow blank value names. Posting
39         <blank>=SomeValue is valid. And occurs if a radio button does
40         not have its name set.
41         
42 2003-12-03  Jackson Harper <jackson@ximian.com>
43
44         * HttpResponse.cs: Actually apply an app path modifier in
45         ApplyAppPathModifer and add a method to set the app path modifier.
46         * HttpRequest.cs: Add utility method for setting a request header.
47         
48 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
49
50         * HttpApplication.cs: handle FileNotFound and DirectoryNotFound
51         exceptions when creating the handler to generate a better error page.
52
53         * HttpException.cs: display the http_code if available.  Changed all
54         \n by \r\n to make the hidden stack trace readable.
55         
56         * StaticFileHandler.cs: don't send the real path in th eerror.
57
58 2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
59
60         * HttpContext.cs: updated GetConfig and GetAppConfig to new API.
61         
62         * HttpResponse.cs: separate initialization of the HttpWriter, as it
63         tries to read configuration settings while the config. system is not
64         available (ie, before the first request).
65         
66         * HttpRuntime.cs: delayed queueManager and response writer
67         initialization until the configuration system is working.
68
69 2003-11-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
70
71         * HttpRuntime.cs: added request queue handling.
72
73         * QueueManager.cs: simple request queue.
74         
75         * TimeoutManager.cs: added some locks to prevent the enumerator used in
76         CheckTimeouts to be out of synch.
77
78 2003-11-25  Jackson Harper <jackson@ximian.com>
79
80         * HttpStaticObjectsCollection.cs: Add methods for serialization
81         and conversion to/from byte arrays.
82         
83 2003-11-21  Jackson Harper <jackson@ximian.com>
84
85         * HttpResponse.cs: When caching data set the content length in the
86         cached repsonse so that only that amount will be written back to
87         the client. Add method to write a range of binary data.
88         * HttpCacheVaryByParams.cs: Add method to retrieve param names.
89         
90 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
91
92         * HttpApplication.cs:
93         * HttpContext.cs:
94         * HttpRuntime.cs: add timeout handling.
95         * TimeoutManager.cs: new class that takes care of aborting threads on
96         timeout.
97
98 2003-11-19  Jackson Harper <jackson@ximian.com>
99
100         * HttpWriter.cs: Use a constant for the buffer size so the cache
101         can get the buffer size. Add method to get the buffer.
102         * HttpResponse.cs: Methods for getting data to cache, and setting
103         vars from the cache.
104         * HttpCachePolicy.cs: Expose a pages cache expire time.
105         
106 2003-11-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
107
108         * HttpResponse.cs: 
109         * HttpWriter.cs: some fixes to allow closing a response stream without
110         messing the rest.
111
112 2003-11-13  Jackson Harper  <jackson@ximian.com>
113
114         * HttpCachePolicy.cs: Make sure cacheability and maxage get
115         set. Add method to set Http response header data
116         * HttpCacheVaryByParams.cs: Add method to create a response header.
117         * HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
118         * HttpResponse.cs: Set cache headers.
119         
120 2003-11-11 Ben Maurer  <bmaurer@users.sourceforge.net>
121
122         * HttpModuleCollection.cs (GetKey): Recursion, again!
123
124 2003-11-11 Ben Maurer  <bmaurer@users.sourceforge.net>
125
126         * HttpClientCertificate.cs (ValidUntil): recursion!
127
128 2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
129
130         * SiteMapNode.cs (GetDataSourceView): Implement.
131         * SiteMapProvider.cs: Typo fixing.
132         * XmlSiteMapProvider.cs: We shouldnt resolve here.
133         
134 2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
135
136         * SiteMap.cs (Init): implement a hack that doesnt need the config
137         stuff. Should do that later.
138         * SiteMapNodeCollection (OnValidate): Fix recursion.
139         * SiteMapProvider.cs: We dont implement some culture stuff work
140         around it. Fix typo.
141         * XmlSiteMapProvider.cs: Added.
142         
143 2003-11-07 Ben Maurer  <bmaurer@users.sourceforge.net>
144
145         * ISiteMapProvider.cs:
146         * SiteMap.cs:
147         * SiteMapNode.cs:
148         * SiteMapNodeCollection.cs:
149         * SiteMapProvider.cs:
150         * SiteMapProviderCollection.cs: V2 sitemap related stuff.
151
152 2003-11-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
153
154         * HttpRequest.cs: don't attempt to read more bytes than specified
155         content length.
156
157 2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
158
159         * HttpRequest.cs:
160         * HttpResponse.cs:
161         * HttpUtility.cs:
162         * HttpValueCollection.cs: encoding fixes/updates.
163
164         * HttpWriter.cs: when updating the encoding, flush the existing stream.
165         Encoding updates.
166
167 2003-11-04 Ben Maurer  <bmaurer@users.sourceforge.net>
168
169         * HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
170         return false (which makes sense, as the custom errors *arent* enabled;
171         ie they dont work.
172         * HttpResponseStream.cs: you actually can write with len = 0
173
174 2003-11-03 Jackson Harper <jackson@ximian.com>
175
176         * HttpResponse.cs (ContentEncoding): Throw
177         ArgumentNullException. Patch by Yaron Shkop.
178         
179 2003-10-30  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
180
181         * HttpMultipartContentParser.cs : Quick fix for cygwin build. 
182           CSC complains that constant char cannot be casted as byte.
183
184 2003-10-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
185
186         * HttpApplication.cs: added AssemblyLocation property.
187
188 2003-10-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
189
190         * HttpApplicationFactory.cs: use NoParamsInvoker.
191         * HttpRequest.cs: support request filters.
192         * HttpRequestStream.cs: mono-stylized and added new Set method.
193
194         * NoParamsInvoker.cs: proxy class to invoke user-provided methods
195         without parameters that are invoked by EventHandlers.
196
197 2003-10-13  Lluis Sanchez Gual <lluis@ximian.com>
198
199         * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
200           to invariant culture.
201
202 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
203
204         * HttpResponse.cs:
205         * HttpServerUtility.cs: change the response writer in Execute. Thanks
206         to Rich Alimi <rich@velvetsea.net> for noticing this.
207
208 2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
209
210         * HttpApplicationFactory.cs: support for wiring up events without
211         parameters.
212
213 2003-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
214
215         * HttpUtility.cs: small memory usage reduction.
216
217 2003-10-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
218
219         * HttpApplication.cs: pass the Uri, not the file path to
220         when looking for a handler.
221
222 2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
223
224         * HttpRequest.cs: small fix needed when reading big POST data.
225
226 2003-09-04  Lluis Sanchez Gual <lluis@ximian.com>
227
228         * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
229           (this will get the address from the request headers).
230
231 2003-09-04  Lluis Sanchez Gual <lluis@ximian.com>
232
233         * HttpServerUtility.cs: In Transfer(), preserve the query string if
234           told to do so.
235
236 2003-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
237
238         * HttpApplication.cs: ensure we do all the EndRequest steps. Don't
239         filter the output on error.
240         
241         * HttpResponse.cs: modified DoFilter to allow bypassing filtering.
242
243 2003-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
244
245         * HttpApplication.cs: when the request is completed or an
246         error happens, execute all the delegates attached to EndRequest, not
247         only the last one. This makes xsp/test/authtest work again.
248         
249         * HttpMethodNotAllowedHandler.cs: fixed description for http
250         status code.
251
252 2003-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
253
254         * HttpRequest.cs: quick way of checking that the path is within the
255         root for the application. Thanks to Johannes for reporting.
256         
257         * HttpRuntime.cs: use the status code from teh exception when it'ss a
258         HttpException.
259
260         * StaticFileHandler.cs: forbidden is 403.
261
262 2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
263
264         * HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
265         <rich@velvetsea.net>.
266
267 2003-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
268
269         * HttpException.cs: make the unhandled error more like the MS one.
270         * HttpRuntime.cs: set a 500 error code on unhandled exceptions.
271
272 2003-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
273
274         * HttpResponse.cs: flush headers when the body length is 0.
275         * StaticFileHandler.cs: added If-Modified-Since handling patch slightly
276         modified from the original by Piers Haken <piersh@friskit.com>.
277
278 2003-08-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
279
280         * HttpResponse.cs: another patch from totte and me. This one prevents
281         writing output if the client have disconnected and filters the data
282         when there's a non-final Flush in the middle of the process.
283
284 2003-08-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
285
286         * HttpApplication.cs: fixed typos. Closes bug #44197.
287
288 2003-08-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
289
290         * HttpApplication.cs:
291         * HttpApplicationFactory.cs: fix duplicate application OnStart events.
292
293         Patch by Patrik Torstensson.
294
295 2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
296
297         * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
298         overload. The previous one only admits static methods.
299
300 2003-08-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
301
302         * ProcessModelInfo.cs: Fixed signature
303
304 2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
305
306         * WebCategoryAttribute.cs: Implemented localization
307         * WebSysDescriptionAttribute.cs: Implemented localization
308
309 2003-07-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
310
311         * HttpRuntime.cs: also clear the headers that may have been set upon
312         error processing the request.
313
314 2003-07-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
315
316         * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
317         Write method.
318
319         * HttpWriter.cs: flush the filter after writing.
320
321 2003-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
322
323         * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
324
325 2003-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
326
327         * HttpContext.cs: Session doesn't have a setter.
328
329         * HttpResponse.cs: Request is private.
330
331 2003-07-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
332
333         * HttpRequest.cs: fixed Headers property. It was getting known headers
334         values instead of known headers names.
335
336 2003-07-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
337
338         * HttpApplication.cs: prevent nullref if an error happens before context
339         is set.
340         * HttpException.cs: small fix in the stack trace sent.
341         * HttpUtility.cs: the lock is not needed.
342
343 2003-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
344
345         * HttpRequest.cs: added REMOTE_PORT.
346         * HttpValueCollection.cs: fixed bug #45490.
347
348 2003-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
349
350         * HttpApplication.cs:
351         * HttpApplicationFactory.cs: fire application start and session
352         start/end events.
353
354 2003-05-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
355
356         * HttpException.cs: encode as HTML the inner exception that
357         is appended as a comment at the end of error pages.
358
359 2003-05-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
360
361         * HttpWriter.cs: don't do anything in Flush. Fixes #42249.
362
363 2003-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
364
365         * HtmlizedException.cs: added more virtual methods.
366
367         * HttpException.cs:  some work on the output when there's a source
368         file present.
369
370 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
371
372         * HtmlizedException.cs: simplified to cope with the new interface.
373
374         * HttpApplicationFactory.cs: use the application file parser to get the 
375         application Type.
376         
377         * HttpException.cs: small changes. Needs some more work on
378         ParseExceptions.
379         
380 2003-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
381
382         * HttpRequest.cs: fixed Url property.
383
384 2003-03-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
385
386         * HtmlizedException.cs:
387         * HttpException.cs: display the correct line number in error messages.
388
389 2003-03-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
390
391         * HttpCachePolicy.cs: implemented all TODOs.
392         * HttpRequestStream.cs: make it internal.
393
394 2003-03-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
395
396         * HttpContext.cs: implemented RewritePath in other way.
397         * HttpRequest.cs: removed SetPhysicalPath and added SetForm.
398         * HttpServerUtility.cs: implemented Transfer (string, bool).
399
400 2003-03-16  Daniel Lopez Ridruejo <daniel @ rawbyte.com>
401         * HttpContext.cs : Implemented RewritePath
402         * HttpRequest.cs : Added internal function SetPhysicalPath
403
404 2003-03-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
405
406         * HttpServerUtility.cs: implemented Transfer ().
407
408 2003-03-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
409
410         * HttpRuntime.cs: Cache no longer have a Dispose method.
411
412         * HttpServerUtility.cs: removed MonoTODO.
413
414 2003-03-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
415
416         * HttpHelper.cs: store the values in an ArrayList to get them in correct
417         order.
418
419 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
420
421         * HttpApplicationFactory.cs: Global.asax takes precedence over
422         global.asax if it exists.
423
424         * HttpRequest.cs: use allowCrossAppMapping in MapPath.
425
426 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
427
428         * HttpApplication.cs: CreateHttpHandler is now internal.
429
430         * HttpRequest.cs: allow setting QueryStringRaw, which
431         invalidates the data obtained from the previous value. Added internal
432         SetFilePath method.
433
434         * HttpServerUtility.cs: implemented Execute and GetLastError.
435
436 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
437
438         * HttpServerUtility.cs: style.
439
440 2003-02-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
441
442         * HttpApplication.cs: only execute the EndRequest step on error
443         condition or request marked as completed. This prevent page events from
444         being called when, for example, the url authorization module forbids
445         the request.
446
447 2003-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
448
449         * HttpRequest.cs: implemented the indexer.
450
451 2003-02-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
452
453         * HtmlizedException.cs: base class for exceptions that makes it easy to
454         generate error pages.
455
456         * HttpException.cs: improved error displaying.
457
458         * HttpRuntime.cs: removed debugging output.
459
460 2003-02-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
461
462         * HttpApplication.cs: display the error instead of hanging when we get
463         any error before the last step of the request.
464
465 2003-02-04  Tim Haynes <thaynes@openlinksw.com>
466
467         * HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement
468         instance counter.
469
470 2003-01-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
471
472         * HttpRequest.cs: added BaseVirtualDir property and use it in MapPath.
473
474 2003-01-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
475
476         * HttpRequest.cs: implemented CurrentExecutionFilePath.
477
478 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
479
480         * HttpApplication.cs: keep _lasterror if no context. Attach
481         application events *after* modules initialization (if not, User is not
482         set when the user handler is called).
483         
484         * HttpApplicationFactory.cs: made all methods related to
485         AttachEvents static. I will fix OnStart/OnEnd for application and
486         session later.
487         
488         * HttpRequest.cs: don't initialize cookies twice.
489
490 2003-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
491
492         * HttpResponse.cs:
493         (ApplyAppPathModifiers): return the root directory for "".
494
495 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
496
497         * HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.
498
499 2003-01-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
500
501         * HttpApplication.cs: added new state to handle default authentication.
502
503 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
504
505         * HttpContext.cs: removed hack to get the User.
506
507 2003-01-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
508
509         * HttpUtility.cs: fixed bug #36038. Thanks to juancri@tagnet.org for
510         reporting the bug and how to fix it.
511
512 2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
513
514         * HttpCookie.cs: send 'expires' in the header.
515
516 2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
517
518         * HttpValueCollection.cs: patch from Botjan Vizin 
519         <bostjan.vizin@siol.net> that implements ToString (bool).
520
521 2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
522
523         * HttpApplicationFactory.cs: add the context as parameter when building
524         the application Type.
525         
526         * HttpCookie.cs: new internal constructor.
527         * HttpCookieCollection.cs: new internal method to make a cookie expire.
528
529         * HttpRequest.cs: MapPath fixes.
530         * HttpResponse.cs: implemented ApplyAppPathModifier.
531         * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
532
533 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
534
535         * HttpContext.cs: hack to create a default user when there's no one.
536         Implemented GetConfig (string).
537
538         * HttpRequest.cs: fixes to MapPath (string).
539
540 2002-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
541
542         * HttpRuntime.cs: avoid nulls and exception when getting resource
543         format strings.
544
545         * StaticFileHandler.cs: added file name to error message.
546
547 2002-12-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
548
549         * HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
550
551 2002-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
552
553         * HttpApplicationFactory.cs: get the events from the application class,
554         fire Application/Session Start/End and add the others as application
555         events.
556
557 2002-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
558
559         * HttpApplicationFactory.cs: compile global.asax file if it exists.
560
561 2002-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
562
563         * HttpRequest.cs: provide a default Browser until we detect it.
564         * HttpResponse.cs:
565         (End): do not close the connection here.
566         (Flush (bool)): send the headers when, for example, Redirect () is
567         called.
568
569 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
570
571         * HttpException.cs: simple error output.
572
573 2002-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
574
575         * HttpApplication.cs: style.
576         * HttpException.cs: style.
577         * HttpRuntime.cs: only flush the response if there are no errors.
578         Otherwise, write an error output.
579         * HttpWriter.cs: change Unicode to UTF8.
580
581 2002-11-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
582
583         * HttpApplication.cs: don't begin the request using ExecuteNextAsync
584         (it fails to work on NetServ).
585
586         * HttpWorkerRequest.cs: typo.
587
588 2002-11-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
589
590         * HttpValueCollection.cs: the value may contain trailing '=' as it is
591         UrlEncoded. Don't split name=value based on '='.
592
593 2002-11-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
594
595         * HttpCookie.cs: made GetCookieHeader internal.
596
597         * HttpRequest.cs: get cookies from request.
598
599         * HttpResponse.cs: send cookies. Implemented
600         AddFileDependencies (). Added check for _Writer == null in Flush
601         (Patrik ;-). Clear the content if HEAD or SupressContent == true.
602         Removed redirect hack used in old server.
603
604 2002-10-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
605
606         * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
607         most ContentLength bytes.
608
609         * HttpResponse.cs: now it sends the headers. Added
610         X-Powered-By header :-).
611
612         * HttpRuntime.cs: fixed typo.
613
614         * HttpValueCollection.cs: cosmetic changes.
615
616 2002-10-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
617
618         * HttpApplication.cs: reenabled a few lines of code
619         (ThreadPool already fixed). 
620         
621         * HttpRequest.cs:
622         * HttpResponse.cs:
623         * HttpUtility.cs:
624         * HttpValueCollection.cs:
625         * HttpWriter.cs: Use WebEncoding.Encoding.
626
627 2002-10-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
628
629         * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
630         This fixes sending bytes and allows mixing byte with chars.
631
632 2002-10-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
633
634         * HttpResponse.cs: implemented WriteFile methods.
635         * MimeTypes.cs: removed duplicated entries.
636
637 2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
638
639         * HttpResponse.cs: don't throw exception in a couple of
640         methods not yet implemented.
641
642 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
643
644         * HttpApplication.cs: fixed type and handle factories when creating
645         IHttpHandler for a request.
646
647 2002-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
648
649         * HttpApplication.cs: use handlers from configuration.
650         * HttpContext.cs: get handlers from ConfigurationSettings.
651
652 2002-10-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
653
654         * HttpMethodNotAllowedHandler.cs:
655         * HttpRuntime.cs:
656         * StaticFileHandler.cs: Modified file.
657
658         * HttpUtility.cs: implemented all missing methods.
659
660
661 2002-09-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
662
663         * System.Web/HttpApplication.cs: use the static file handler.
664         * System.Web/HttpForbiddenHandler.cs: handler to forbid access.
665         * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
666         allowed.
667         
668         * System.Web/HttpUtility.cs: finished all UrlDecode methods.
669         * System.Web/MimeTypes.cs: map from file extension to MIME type.
670         * System.Web/StaticFileHandler.cs: serves static files
671
672 2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
673
674         * System.Web/HttpApplication.cs:
675         * System.Web/HttpApplicationFactory.cs:
676         * System.Web/HttpRequest.cs:
677         * System.Web/HttpRuntime.cs: we are now able to compile pages and use
678         HttpApplication, HttpRuntime and SimpleWorkerRequest.
679
680 2002-09-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
681
682         * HttpApplication.cs: added some missing methods.
683         * HttpApplicationFactory.cs: get event handlers for the application.
684         * HttpAsyncResult.cs: little fixes.
685         * HttpRequest.cs: make Encoding work even with no worker request.
686
687 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
688
689         * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
690         to add HttpMapPath to the list file...
691
692 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
693
694         * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
695         report when i get a test case.
696
697 2002-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
698
699         * HttpApplicationFactory.cs:
700         * HttpCachePolicy.cs:
701         * HttpResponseHeader.cs:
702         * HttpResponseStream.cs:
703         * HttpResponseStreamProxy.cs:
704         * HttpValueCollection.cs: misc. fixes based on class status page.
705
706         * IHttpMapPath.cs: New file.
707
708         * HttpRequest.cs: implemented ContentEncoding.
709         * HttpWorkerRequest.cs: mono-stylized and implemented
710         SendResponseFromMemory.
711
712 2002-08-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
713
714         * HttpContext.cs: reformatted.
715         * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
716         the indexer.
717
718 2002-08-05  Patrik Torstensson <ptorsten@hotmail.com>
719
720         * HttpApplication.cs: Implemented a state machine to allow handling of
721         HttpModules and HttpHandlers. Implementation of async handlers. 
722                                                                  
723         * HttpApplicationFactory.cs: Factory for creating HttpApplication
724         instances, including caching.
725         
726         * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
727         application instance to execute requests in and implementation of 
728         request execution (still no request queue). 
729                                                          
730         * HttpAsyncResult.cs: New file to handle async module results.                                          
731                                                          
732         * HttpRequest.cs: Change signature of Dispose
733         * HttpResponse.cs: new internal method allowing filtering to happen
734         during the request flow in the state machine.
735
736 2002-07-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
737
738         * HttpApplication.cs: events were not being initialized.
739
740 2002-07-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
741
742         * ProcessModelInfo.cs: fixed compilation.
743
744 2002-07-25  Tim Coleman <tim@timcoleman.com>
745         * ProcessModelInfo.cs:
746                 New class added
747         * HttpParseException.cs:
748         * HttpCompileException.cs:
749         * HttpUnhandledException.cs:
750                 Internal constructors added to these
751
752 2002-07-24  Tim Coleman <tim@timcoleman.com>
753         * ProcessInfo.cs: 
754                 Fix constructor, reference to shutdownreason.
755
756 2002-07-24  Tim Coleman <tim@timcoleman.com>
757         * HttpCachePolicy.cs:
758                 Added stubbs to this class.
759         * HttpCacheability.cs:
760         * HttpCacheRevalidation.cs:
761         * HttpValidationStatus.cs:
762         * ProcessShutdownReason.cs:
763         * ProcessStatus.cs:
764         * TraceMode.cs:
765                 Reorder the enumerations (and in some cases make
766                 one-based) in order to agree with the .NET 
767                 implementation, based on the class status page.
768         * ProcessInfo.cs:
769                 Implementation of this class.
770
771 2002-07-23  Tim Coleman <tim@timcoleman.com>
772         * HttpCompileException.cs:
773         * HttpParseException.cs:
774         * HttpUnhandledException.cs:
775                 New stubbs created.
776         * HttpApplication.cs:
777         * HttpBrowserCapabilities.cs:
778                 Added missing methods stubbs and attributes based
779                 on the class status page.  Also reformatted some
780                 source for consistency.
781
782 2002-07-23  Tim Coleman <tim@timcoleman.com>
783         * HttpUtility.cs: Moved entities hashtable into main
784                 class as a static object, so we don't instantiate
785                 a new one every time.  Also put the hashtable
786                 building into a lock block.
787
788 2002-07-22  Tim Coleman <tim@timcoleman.com>
789         * HttpUtility.cs: Cleanup of the code, implementation
790                 of HtmlDecode/HtmlEncode functions
791
792 2002-07-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
793
794         * HttpResponse.cs: quick&dirty hack to make redirection work. Should
795         be out of there once we have SimpleWorkerRequest.
796
797 2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
798
799         * HttpUtility.cs: little typo, big headache.
800
801 2002-07-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
802
803         * HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
804
805 2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
806
807         * System.Web/HttpResponse.cs: 
808
809         Fixes based on class status page:
810         
811                 - Add attributes (DefaultEvent, ParseChildren).
812                 - Fix declarations.
813                 - Explicitly implement some interfaces (IPostBackDataHandler
814                 and IPostBackEventHandler).
815                 - Implemented some missing methods.
816
817 2002-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
818
819         * HttpContext.cs:
820         (Session): return null instead of throwing an exception.
821
822         * HttpRequest.cs:
823         (HttpMethod): return RequestType if not set.
824         (GetRawContent): return QueryString if we don't have a
825         HttpWorkerRequest.
826
827         * HttpUtility.cs: fixed Decode and Encode.
828
829 2002-06-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
830
831         * HttpApplication.cs:
832         * HttpContext.cs: added System.Web.SessionState namespace.
833
834         * HttpSessionState.cs: removed. It is under
835         System.Web.SessionState.
836
837 2002-06-10  Duncan Mak  <duncan@ximian.com>
838
839         * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
840
841 2002-06-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
842
843         * HttpRequest.cs: implemented Browser property.
844
845 2002-06-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
846
847         * HttpBrowserCapabilities.cs: stubbed out.
848
849 2002-05-18  Miguel de Icaza  <miguel@ximian.com>
850
851         * HttpRuntime.cs: Reformat file.
852
853 2002-05-07  Duncan Mak  <duncan@ximian.com>
854
855         * HttpBrowserCapabilities.cs: Added, replacing
856         HttpBrowserCapabilites because of typo.
857
858         * HttpBrowserCapabilites.cs: Removed, replaced by above.
859
860         * HttpRequest.cs (Browser): Fixed typo.
861
862 2002-04-12  Patrik Torstensson <patrik.torstensson@labs2.com>
863
864         * HttpApplication.cs: Minor updates
865         * HttpApplicationState.cs: Ready.
866         * HttpClientCertificate.cs: Signature updates
867         * HttpValueCollection.cs: ready
868         * HttpStaticObjectsCollection.cs: ready
869         * HttpResponseHeader.cs: made internal only
870         * HttpResponse.cs: Signature updates
871         * HttpPostedFile.cs: ready
872         * HttpCacheVaryByHeaders.cs: ready (except communication to policy)
873         * HttpCacheVaryByParams.cs: ready (except communication to policy)
874         
875         System.Web is now over 60% ready.. 
876
877 2002-04-11  Patrik Torstensson <patrik.torstensson@labs2.com>
878
879         * HttpException.cs: 95% ready, only windows dependent code left
880         * HttpFileCollection.cs: Finished.
881         * HttpRequest.cs: Minor fixes and fixed signature problems
882         * HttpResponse.cs: Implementation of missing methods and signature problems
883         * HttpResponseHeader.cs: Fixed signature problems
884         * HttpRuntime.cs: Fixed signature problems
885         * HttpServerUtility.cs: Added support for HttpApplication
886         * HttpSessionState.cs: Fixed signature issues
887         * HttpUtility.cs: fixed signature issues
888         * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
889         * HttpWorkerRequest.cs: Fixed small signature issue
890         * HttpWriter.cs: Fixed signature issue
891         * HttpApplication.cs: Basic implementation
892         * HttpApplicationState.cs: Small fixes to support major change comming up
893         * HttpBrowserCapabilities.cs: Added Type method
894         * HttpClientCertificate.cs: Almost ready, needs to parse certificate.
895         * HttpContext.cs: Fixed signature issues and added last methods.
896         * HttpCookie.cs: Full implementation
897         * HttpCookieCollection.cs: Full implementation
898         * TraceContext.cs: Methods implemented.
899         * HttpPostedFile.cs: Placeholder
900         * HttpStaticObjectsCollection.cs: Placeholder
901         * HttpModuleCollection.cs: Ready, will be used during the major revamp.
902         
903         * Fixed a number of other small signature problems also (class status page)
904         
905         
906 2002-04-10  Patrik Torstensson <patrik.torstensson@labs2.com>
907
908     * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
909     * Checkin of all new files (noted in last changenote)
910
911 2002-04-10  Patrik Torstensson <patrik.torstensson@labs2.com>
912
913     * HttpContext.cs: First implementation (basic support, few methods left to impl)
914     * HttpException.cs: Partial implementation (basic support)
915     * HttpHelper.cs: Header parse helper, used by runtime (non public)
916     * HttpRequest.cs: Implementation (all methods there, not all fully impl)
917     * HttpRequestStream.cs: Full implementation
918     * HttpResponse.cs: Partial implementation(almost all methods)
919     * HttpResponseHeader.cs: Header helper
920     * HttpResponseStream.cs: Full implementation - Response stream support
921     * HttpResponseStreamProxy.cs: Implementation - filter support
922     * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
923         * HttpServerUtility.cs: Implemented usage of HttpContext for methods
924                                 and moved encoding functions to HttpUtility.
925
926     * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
927                       added the Attribute encoding functions.
928
929     * HttpValueCollection.cs: Implementation.
930     * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
931     * HttpWriter.cs: Implementation (with filter support)    
932
933     * HttpFileCollection: Added dummy class (placeholder)
934     * HttpApplication.cs: Added dummy class (placeholder)
935     * HttpApplicationState.cs: Added dummy class (placeholder)
936     * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
937     * HtttpCachePolicy.cs: Added dummy class (placeholder)
938     * HttpClientCertificate.cs: Added dummy class (placeholder)
939     * HttpSessionState.cs: Added dummy class (placeholder)
940     * TraceContext.cs: Added dummy class (placeholder)
941     
942
943 2002/04/10  Nick Drochak <ndrochak@gol.com>
944
945         * HttpServerUtility.cs: Fix build breaker.
946
947 2002-03-28  Wictor WilĂ©n  <wictor@iBizkit.se>
948
949         * HttpServerUtils.cs : Added some more functionality
950         
951 2002-03-28  Martin Baulig  <martin@gnome.org>
952
953         * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
954         char to a string, use ToString() instead.
955
956 2002-03-16  Gaurav Vaish  <gavish@iitk.ac.in>
957
958         * WebCategoryAttribute.cs
959                                : Added private attribute.
960
961 2002-03-16  Gaurav Vaish  <gavish@iitk.ac.in>
962
963         * HttpRuntime.cs       : Stubbed methods for
964                   FormatStringResource(...) in agreement with the various
965                   overloads available at String.Format(...)
966
967 2002-01-08  Gaurav Vaish  <gavish@iitk.ac.in>
968
969         * TODOAttribute.cs     : Added, as an internal class to the assembly
970
971 2002-01-03  Nick Drochak  <ndrochak@gol.com>
972
973         * HttpRuntime.cs: remove uneeded exception variable from catch and
974         initialize remaining instance members to avoid compile warnings
975
976 2002-01-02  Nick Drochak  <ndrochak@gol.com>
977
978         * HttpRuntime.cs: fix spelling error/variable name change.
979
980 2001-12-18  Gaurav Vaish <gvaish@iitk.ac.in>
981
982         * HttpRuntime.cs       : Initial implementation
983
984 2001-08-29  Bob Smith  <bob@thestuff.net>
985
986         * HttpWorkerRequest.cs: Partial Implementation.
987
988 2001-08-16  Bob Smith  <bob@thestuff.net>
989
990          * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
991
992 2001-08-09  Bob Smith  <bob@thestuff.net>
993
994          * BeginEventHandler.cs: Implemented.
995          * EndEventHandler.cs: Implemented.
996          * HttpCacheability.cs: Implemented.
997          * HttpCacheRevalidation.cs: Implemented.
998          * HttpCacheValidateHandler.cs: Implemented.
999          * HttpCookieCollection.cs: Implemented.
1000          * HttpCookie.cs: Implemented.
1001          * HttpValidationStatus.cs: Implemented.
1002          * HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
1003          * IHttpAsyncHandler.cs: Implemented.
1004          * IHttpHandler.cs: Implemented.
1005          * IHttpHandlerFactory.cs: Implemented.
1006          * IHttpModule.cs: Implemented.
1007          * ProcessShutdownReason.cs: Implemented.
1008          * ProcessStatus.cs: Implemented.
1009          * TraceMode.cs: Implemented.