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