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