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