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