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