1 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * OutputFilterStream.cs: proxy class for response filters.
4 * HttpResponse.cs: moved all the actual write operations into the
5 response stream. Handle response filtering. When caching, get the
6 actual length of the data, not the buffer length.
7 * HttpApplication.cs: if there's no error, invoke the filters before
8 updating the request cache.
9 * HttpResponseStream.cs: new Filter property. SendChunkSize is moved
10 here and now supports writing the final chunk. New method ApplyFilter
11 that filters the existing buckets and replaces them with the filtered
12 ones. Modified Write to deal with buffering and filtering.
14 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
16 * HttpResponseStream.cs: allow for writes of more than 32K at once.
18 2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
20 * InputFilterStream.cs proxy stream for use by filters.
21 * HttpRequest.cs: implement input filtering.
23 2005-10-02 Eyal Alaluf <eyala@mainsoft.com>
24 * HttpApplication.jvm.cs - Workaround for use of yield in
25 HttpApplication.cs HttpRuntime.cs: AppDomain.Unload is not supported
28 2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
30 * HttpResponseStream.cs: remove dead code.
32 2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
34 * HttpClientCertificate.cs: Remove last TODO on IsValid. This now
35 works when using XSP. Now use flags to determine valid/presence.
37 2005-09-26 Chris Toshok <toshok@ximian.com>
39 * HttpApplicationFactory.cs (OnAppFileChanged): add null checks
40 for bin_watcher and app_file_watcher so we don't get NRE's here.
42 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
44 * BrowserCapabilities.cs: don't rely on the win32 attribute to be there.
45 Just use the platform to determine whether Win32 is true or not. Fixes
48 2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
50 * HttpApplication.cs: fixed typo when setting UI culture. Closes bug
53 2005-09-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
55 * HttpRequest.cs: new SetFilePath() that does not conflict with
56 SetCurrentExePath. Now when transfering from a page to another,
57 CurrentExecutionFilePath and FilePath are correct.
59 2005-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
61 * TraceContext.cs: add new method to store size of controls.
62 * TraceData.cs: render control size.
63 * HttpResponse.cs: new internal method to get the number of bytes of
65 * HttpResponseStream.cs: added Length property to the Buckets and new
68 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
70 * TraceData.cs: we have to change the method of getting a control render
71 size. MS does not do this or otherwise would run into the same bug
72 (#76051) that this patch fixes. This is temporarily setting the size
75 2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
77 * HttpResponseStream.cs: implemented Send(stream) for files. Fixes bug
80 2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
82 * HttpRuntime.cs: catch errors when compiling global.asax and
83 initializing the application. Fixes bug #76090.
85 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
87 * BrowserCapabilities.cs: Fixed changes (in 2.0) with versions. Fixed
88 compare with "True" (culture and case sensitivity).
89 * HttpApplicationState.cs: Added LinkDemand for Minimal. Use the
90 internal HttpStaticObjectsCollection ctor to avoid the UnmanagedCode
92 * HttpContext.cs: Added LinkDemand for Minimal. Added 2.0 properties
93 and methods to test CAS on them.
94 * HttpRequest.cs: Added LinkDemand for Minimal. Ensure we return
95 proper values when worker_request is null.
96 * HttpResponse.cs: Added LinkDemand for Minimal. Ensure we return
97 proper values when context or WorkerRequest is null. Added 2.0
98 properties and methods to test CAS on them.
99 * HttpRuntime.cs: Added LinkDemand for Minimal. Added PathDiscovery
100 demands for properties returning directories. Added demand for High
101 level on AppDomainAppId and AppDomainId properties, Low level on
102 IsOnUNCShare, Medium level on ProcessRequest and a demand for
103 UnmanagedCode on UnloadAppDomain method. Constructor also has a
104 UnmanagedCode demand for 1.x.
105 * HttpStaticObjectsCollection.cs: Added LinkDemand for Minimal. Added
106 a UnmanagedCode demand to public ctor. Added internal ctor without the
107 demand. Changed Serialize and Deserialize methods to public for 2.0.
109 2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
111 * HttpWorkerRequest.cs: Removed TODO for 2.0 APIs and return the
112 default values for them.
114 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
116 * HttpApplication.cs: : Added LinkDemand and InheritanceDemand (class)
117 for Minimal. Changed AssemblyLocation to a property (so it doesn't
118 require special permission, PathDiscovery) to create an instance.
119 Protected Modules property with a Demand for High level. Added some
120 missing HttpException for null context.
121 * HttpServerUtility.cs: Added LinkDemand for Minimal. Added demands
122 for UnmanagedCode on all CreateObject* methods. Added demand for
123 Medium level on MachineName and ScriptTimeout properties. Added new
124 overloaded Transfer method (2.0) to test CAS on it.
125 * HttpUtility.cs: Added LinkDemand for Minimal. Added [Obsolete] to
126 ctor (2.0). Changed some return values when 'count' is 0. Added
127 ParseQueryString (overload) methods for 2.0 (to enabled CAS testing on
129 * HttpWorkerRequest.cs: Added LinkDemand and InheritanceDemand (class)
130 for Minimal. Added RequestTraceIdentifier and RootWebConfigPath (2.0)
131 properties, GetPreloadedEntityBody, GetPreloadedEntityBodyLength,
132 GetTotalEntityBodyLength and ReadEntityBody (2.0) methods to test CAS
133 on them. Fixed SendResponseFromMemory to ignore IntPtr.Zero (used in
134 tests without failures).
135 * ServerVariablesCollection.cs: Fixed loadServerVariablesCollection
136 when HttpWorkerRequest is null.
137 * TraceContext.cs: Added LinkDemand for Minimal. Fixed default Mode
138 (SortByTime). Added new (2.0) TraceFinished event to test CAS on it.
140 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
142 * HttpBrowserCapabilities.cs: Added LinkDemand and InheritanceDemand
143 (class) for Minimal. Note that current MCS has problem compiling
144 security attributes on partial class (bug #75969).
145 * HttpCachePolicy.cs: Added LinkDemand for Minimal. Added 2.0 methods
146 (stub) to enable CAS tests on them.
147 * HttpCacheVaryByHeaders.cs: Added LinkDemand for Minimal.
148 * HttpCacheVaryByParams.cs: Added LinkDemand for Minimal.
149 * HttpClientCertificate.cs: Added LinkDemand and InheritanceDemand
151 * HttpCookie.cs: Added LinkDemand for Minimal.
152 * HttpCookieCollection.cs: Added LinkDemand for Minimal.
153 * HttpFileCollection.cs: Added LinkDemand for Minimal.
154 * HttpModuleCollection.cs: Added LinkDemand for Minimal.
155 * HttpPostedFile.cs: Added LinkDemand for Minimal.
156 * HttpRequestPriority.cs: Fix enum values.
157 * HttpWriter.cs: Added LinkDemand for Minimal.
159 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
161 * ProcessInfo.cs: Added LinkDemand and InheritanceDemand (class) for
163 * ProcessModelInfo.cs: Added LinkDemand and InheritanceDemand (class)
164 for Minimal. Methods GetCurrentProcessInfo and GetHistory are also
165 protected by Demand for High level.
167 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
169 * HttpCompileException.cs: Added new public ctors and [Serializable]
170 to 2.0. Added new Message property and GetObjectData (protected by a
171 demand for SerializationFormatter) for 2.0. Fixed line-ending.
172 * HttpException.cs: Added LinkDemand and InheritanceDemand (class) for
173 Minimal. Renamed parameters to match documentation.
174 * HttpParseException.cs: Added LinkDemand (class) for Minimal. Added
175 demand for SerializationFormatter on GetObjectData method. Fixed
177 * HttpRequestValidationException.cs: Added new public ctors and
178 [Serializable] to 2.0. Added LinkDemand for Minimal.
179 * HttpUnhandledException.cs: Added new public ctors and [Serializable]
180 to 2.0. Removed unused internal ctor. Added LinkDemand for Minimal.
183 2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
185 * HttpResponseSubstitutionCallback.cs: New. 2.0 delegate.
186 * TraceContextEventArgs.cs: New. 2.0 class.
187 * TraceContextEventHandler.cs: New. 2.0 delegate.
189 2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
191 * HttpRequest.cs: use GetServerName instead of GetLocalAddress when
194 2005-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
196 * HttpRequest.cs: fix the indexer.
198 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
200 * HttpPostedFile.cs: fixes in Seek and Position.
202 2005-09-08 Sebastien Pouliot <sebastien@ximian.com>
204 * HttpRequest.cs: Make sure the MemoryStream created have their
205 contents marked as public - or else you can't call GetBuffer on them!
207 2005-09-08 Miguel de Icaza <miguel@novell.com>
209 * HttpRequest.cs: Patch from Juraj Skripsky <js@hotfeet.ch> that
212 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
214 * HttpPostedFile.cs: Make this class actually work. Every time we read,
215 we have to position the underlying stream.
217 2005-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
219 * HttpRequest.cs: reading multipart/form-data works again.
221 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
222 * HttpRequest.cs: Under TARGET_JVM the input stream must allow GetBuffer.
224 2005-09-08 Eyal Alaluf <eyala@mainsoft.com>
225 * HttpApplicationFactory.cs: TARGET_J2EE/JVM fix.
227 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
229 * HttpRequest.cs: correctly detect multipart/form-data.
231 2005-09-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
233 * HttpApplicationFactory.cs: recycle after invoking session_end.
235 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
237 * HttpRuntime.cs: remove Console.
239 * HttpApplicationFactory.cs: don't hook Session_End, but keep
240 the MethodInfo around for later invocation if needed. Don't call
241 GetMethods() for every HttpApplication (or derived class) instances.
242 Added a method, used by SessionStateModule, that will create use an
243 application without context to invoke Session_End. Keep a pool of
244 applications that are meant to be used by this method only.
246 * HttpApplication.cs: add a SetSession method and do not
247 attach all the events if the application is for Session_End only.
249 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
251 * HttpRuntime.cs: actually unload the domain when requested. Reformatted
252 FinishUnavailable() and removed the 'Location' header form the error.
254 * HttpApplicationFactory.cs: set up the watcher for the bin directory.
255 This also prevents a nullref when global.asax is changed.
257 2005-09-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
259 * HttpApplication.cs: fixed bug introduced when moving GetHandler call
260 around. Now we get error pages again.
262 2005-09-06 Miguel de Icaza <miguel@novell.com>
264 * HttpApplication.cs: Catch EndRequest errors as well.
266 2005-09-05 Miguel de Icaza <miguel@novell.com>
268 * HttpApplication.cs: Invoke EndRequest handler before OutputPage
269 as FormsAuthentication will issue a Redirect from the EndRequest
272 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
274 * HttpApplication.cs: when writing an error message, catch the possible
277 2005-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
279 * HttpResponseStream.cs: prevent invalid cast exception if the first
280 thing written is a file.
282 2005-09-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
284 * HttpApplication.cs: fix invalid cast exception (bug #75926).
286 2005-09-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
288 * HttpApplicationFactory.cs: only trigger the Application_Start event
289 once. It was being invoked more than once when several clients were
290 hitting the server at the same time on startup.
292 2005-09-01 Eyal Alaluf <eyala@mainsoft.com>
294 * HttpContext.cs HttpResponse.cs HttpWorkerRequest.cs HttpRuntime.cs
295 HttpApplicationFactory.cs HttpApplication.cs: TARGET_J2EE/JVM fixes.
296 Mostly workaround limited AppModel in TARGET_J2EE.
298 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
300 * HttpResponse.cs: if the request method is HEAD, that's equivalent to
301 SuppressContent. Added an internal TransmitFile that allows setting the
303 * StaticFileHandler.cs: use the new internal TransmitFile and remove
304 generation of Content-Length header, as now it's computed correctly.
305 * HttpApplication.cs: remove debugging stuff.
306 * HttpResponseStream.cs: suppress_content is checked in HttpResponse.
308 2005-08-31 Miguel de Icaza <miguel@novell.com>
310 Removed debugging info.
312 * HttpApplication.cs: Add support for async handlers.
314 Add extra 2.x methods.
316 2005-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
318 * BrowserCapabilities.cs: removed extra 'using'.
320 * HttpApplication.cs: use just the 'modcoll' to hold the collection of
321 modules instead of having a separate 'modules' one.
323 2005-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
325 * HttpApplication.cs: clone the module collection so that
326 it's not shared between HttpApplications. Call GetHandler() in the
329 2005-08-30 Miguel de Icaza <miguel@novell.com>
331 * HttpApplication.cs: Add the new 2.x method overloads that take a
334 (RunHooks): Pass the extra data instead of null.
336 * HttpCookie.cs (HttpOnly): Add 2.x cookie header.
338 * BrowserCapabilities.cs: Move the core of the capabilities into a
339 separate file. Use partial classes to choose what version to
342 * HttpBrowserCapabilities.cs: Update to move the code elsewhere.
344 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
346 * HttpResponseStream.cs: Fix a bug introduced by last fix (thanks to
349 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
351 * HttpResponseStream.cs: Compilation fixes for TARGET_JVM. TARGET_JVM
352 does not support unsafe code. I localized all unsafe code within Chunk
353 & Block and created a managed version of Chunk.
355 2005-08-30 Eyal Alaluf <eyala@mainsoft.com>
356 * HttpApplicationFactory.cs: Compilation fixes for TARGET_J2EE. Under
357 TARGET_J2EE static fields are shared by all app domains. We handle
358 this difference by explicitly getting/setting values from the app
359 domain. Since HttpApplicationFactory has many static fields, I
360 refactored it to have one static instance and moved the static fields
361 into instance fields.
363 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
365 * HttpRequest.cs: Disable use of IntPtrStream for TARGET_JVM
367 2005-08-29 Eyal Alaluf <eyala@mainsoft.com>
369 * HttpContext.cs: Compilation fixes for TARGET_J2EE/JVM
371 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
373 * HttpResponse.cs: don't duplicate the 'charset=' and don't send a
374 charset for unknown MIME types.
375 * StaticFileHandler.cs: set the Content-Length header here.
376 * HttpRequest.cs: prevent nullrefs when we have no 'charset='.
378 2005-08-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
380 * StaticFileHandler.cs: use TransmitFile instead of WriteFile. This way
381 xsp will use sendfile().
383 2005-08-28 Chris Toshok <toshok@ximian.com>
385 * SiteMapNode.cs: fix IHierarchyData.GetParent.
387 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
390 * IntPtrStream.cs: now we only have a read-only MemoryStream or an
391 IntPtrStream. The copy is moved into HttpRequest.
393 2005-08-26 Sebastien Pouliot <sebastien@ximian.com>
395 * WebCategoryAttribute.cs: New. Required internal attribute.
396 * WebSysDescriptionAttribute.cs: New. Required internal attribute.
398 2005-08-26 Jackson Harper <jackson@ximian.com>
400 * HttpResponseStream.cs: Use GetBuffer so the memory isn't
403 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
405 * HttpApplication.cs: GetHandler might return null when, for example,
406 a web service fails, but that does not mean that returning a null
407 handler should throw another exception, as the web service code
408 serialized the error as a faultString. So if the handler is null, just
409 don't call ProcessRequest and keep going.
411 2005-08-26 Jackson Harper <jackson@ximian.com>
413 * HttpResponse.cs: Send the cached headers if this is a cached
414 response. Save the headers, date header, and page data. Fix a typo.
415 * HttpResponseStream.cs: Add new accesor to get a byte [] of the
418 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
420 * HttpWorkerRequest.cs: SetEndOfSendNotification is a noop. No matter
421 what callback you use that never gets called. In XSP I actually
422 implement something for this method.
423 * HttpServerUtility.cs: unused variable.
425 2005-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
427 * HttpInputStream.cs: new ctor that takes a byte [].
428 * IntPtrStream.cs: make it work on a byte [] too.
431 (ContentLength): return 0 for negative numbers or error parsing, but
432 keep content_length negative in those cases.
433 (MakeInputStream): when there's no content-length (or it's negative),
434 we still read the request into a MemoryStream. Use
435 IsEntireEntityIsPreloaded() as a fast path.
437 2005-08-25 Sebastien Pouliot <sebastien@ximian.com>
439 * HttpClientCertificate.cs: On 1.x the .ctor throws a
440 ArgumentNullException (but 2.0 throws a NRE).
442 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
444 * HttpRequest.cs: HttpMethod deserves its own field. Fix IsLocal.
446 2005-08-25 Chris Toshok <toshok@ximian.com>
448 * HttpApplication.cs (IsReusable): return true.
449 (InitOnce): remove the initialization of handler_factory from
451 (GetHandler) and move it here, so we make sure to load handlers
452 from all needed web.config files.
454 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
456 * HttpServerUtility.cs: use GetHandler().
457 * HttpApplication.cs: remove obsolete method. Now Transfe/Execute work.
459 2005-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
461 * HttpApplication.cs: no need for the local var. here.
463 2005-08-25 Chris Toshok <toshok@ximian.com>
465 * HttpApplication.cs (InitOnce): move the initialization of
466 modules above the call to HttpApplicationFactory.AttachEvents,
467 since that method accesses HttpApplication.Modules. Fixes
469 (IsReusable): mark TODO.
471 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
473 * HttpResponseHeader.cs: removed obsolete class.
474 * HttpResponse.cs: no more 'obsolete' warnings.
476 2005-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
478 * HttpRuntime.cs: implemeted some missing properties.
480 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
482 * HttpResponse.cs: implemented RemoveOutputCacheItem().
484 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
486 * HttpApplication.cs: implemented GetVaryByCustomString().
488 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
490 * HttpRequest.cs: implemented SetHeader (allows adding a header
491 circumventing the read-only protection of the collection) and SetForm,
492 which just assigns a value of the 'form' collection.
493 * HttpServerUtility.cs: NameValueCollection -> WebROCollection.
495 2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
498 * HttpRequest.cs: implemented RewritePath and supporting methods.
500 2005-08-22 Sebastien Pouliot <sebastien@ximian.com>
502 * HttpRequest.cs: Avoid NRE if work_request if null in the ctor.
503 * HttpResponse.cs: Avoid NRE if work_request if null in the ctor.
505 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
507 * HttpApplication.cs: if there's any exception thrown when getting the
508 handler, don't add an extra error to the context, as we already have
511 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
515 * HttpWorkerRequest.cs:
516 * HttpApplication.cs: added mising attributes and enabled methods
519 2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
521 * WebROCollection.cs: a collection that allows setting IsReadOnly.
522 * HttpRequest.cs: implemented MapImageCoordinates(). Use WebROCollection
523 instead of a NameValueCollection in Form, Headers, Params, QueryString.
525 2005-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
527 * HttpInputStream.cs: new copy ctor.
528 * IntPtrStream.cs: getters for base_address and size.
529 * HttpRequest.cs: implemented SaveAs(). Use a wrapper on top of
530 InputStream so that reading POST form or files does not modify the state
531 if InputStream. Don't use uri_builder.Query in QueryStringRaw, as it
534 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
536 * HttpRequest.cs: implemented UserLanguages and reuse code from
539 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
541 * HttpRequest.cs: implemented AcceptTypes.
543 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
545 * HttpRequest.cs: implemented this[] in terms of Params. Don't add the
546 header collection in Params.
548 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
550 * HttpRequest.cs: fix Files property.
551 * HttpApplication.cs: invoke the default authentication event after all
552 the other auth. modules.
554 2005-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
556 * ServerVariablesCollection.cs: mark the collection as read-only except
557 when we fill it. Add the HTTP_blah key/value pairs too.
559 2005-08-18 Chris Toshok <toshok@ximian.com>
561 * HttpRequest.cs (get_Params): implement.
563 2005-08-17 Chris Toshok <toshok@ximian.com>
565 * HttpResponse.cs: HttpResponse's Cookie's collection acts
566 differently than HttpRequests in that it never returns null from
567 the "this [string]" accessor.
569 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
571 * HttpRequest.cs: check length 0 case when reading a POST.
573 2005-08-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
575 * HttpContext.cs: added security attributes for User and
576 SkipAuthorization properties.
577 * HttpApplicationFactory.cs: AttachEvents is now called form the
578 application .ctor. Recycle instead of dispose.
579 * HttpApplication.cs: attach events to the newly created application.
581 2005-08-15 Jackson Harper <jackson@ximian.com>
583 * ApplicationShutdownReason.cs: make build
585 2005-08-15 Miguel de Icaza <miguel@novell.com>
587 * HttpApplication.cs: Update comments
589 * HttpPostedFile.cs: Use a substream to read from the uploaded
592 * HttpRequest.cs: use new code to read the uploaded files.
594 2005-08-12 Miguel de Icaza <miguel@novell.com>
596 2.x API fixage and small additions:
598 * HttpResponse.cs: Make constructor internal.
600 * HttpRequest.cs (IsLocal): Expose if NET_2.x
602 * HttpContext.cs: Remove internal routine.
604 * HttpApplication.cs: Add 2.x events.
606 * HttpRequest.cs: Another iFolder issue: I was not setting up the
609 Fixes to get iFolder to work:
611 * HttpApplicationFactory.cs: Set the context when we are initting
614 * HttpApplication.cs (SetContext): helper routine.
616 * HttpResponse.cs: Implement the various cache operations:n
617 Expires, ExpiresAbsolute, CacheControl.
619 Actually produce the Cache-Control header, the "Cache" property
620 takes precedence over the compatibility settings (Expires,
621 ExpiresAbsolutely and CacheControl).
623 * HttpCachePolicy.cs: Fix style.
625 Fix the generation of the headers, use lower-case values, do not
626 add the max-value if the value is zero.
628 Allow for all possible values in SetCacheability.
630 * HttpRuntime.cs (ClrInstallDirectory): Implement.
632 * HttpResponseStream.cs: Remove debugging stuff.
634 2005-08-11 Miguel de Icaza <miguel@novell.com>
636 Big chunked handling rewrite, and integration of Ben's unmanaged
639 * HttpWriter.cs: Delegate chunked encoding writing to the
642 * HttpResponse.cs: Rework the chunked encoding system, centralize
645 * HttpResponseStream.cs: Deploy Ben's bucket-base unmanaged
648 Changed the way that we handle chunked encoding, centralize it
651 Remove a lot of manual handling of buffering turned off, and
652 instead delegate it all to Flush, fixes several issues with the
655 * HttpWorkerRequest.cs (SendResponseFromMemory (IntPtr, int)):
656 Provide a default implementation since currently XSP does not have
657 this method implemented.
659 2005-08-11 Sebastien Pouliot <sebastien@ximian.com>
661 * HttpClientCertificate.cs: Culture insensitive int parsing. Fixed
664 2005-08-10 Miguel de Icaza <miguel@novell.com>
666 * ServerVariablesCollection.cs: For Ben. Implement the header
667 fetching here, do not implement it in HttpRequest.cs.
669 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
671 * HttpClientCertificate.cs: Changed IsPresent logic so that new unit
672 tests will work as expected.
674 2005-08-10 Sebastien Pouliot <sebastien@ximian.com>
676 * HttpClientCertificate.cs: Implemented, except for validation. Note
677 that the HttpWorkerRequest derived classes must be updated to supply
678 the required informations.
679 * HttpRequest.cs: Create an HttpClientCertificate on first call to
682 2005-08-09 Miguel de Icaza <miguel@novell.com>
684 * HttpRuntime.cs (AspInstallDirectory): Implement.
686 2005-08-09 Sebastien Pouliot <sebastien@ximian.com>
688 * HttpClientCertificate.cs: New. Stub. It won't be fun to test.
690 2005-08-04 Ben Maurer <bmaurer@ximian.com>
692 * HttpContext.cs: Kill a NIE.
694 2005-08-04 Miguel de Icaza <miguel@novell.com>
696 * HttpApplicationFactory.cs: Change "Start" event like the "End"
697 event, and only do this once, when we init the type.
699 Fire the "Application_Start" event after we create the type.
701 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
703 * HttpApplication.cs: catch a ThreadAbort (coming from Response.End)
706 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
708 * HttpResponse.cs: setting the Status property resets the
709 StatusDescription (see the tests) and the default value for the
710 description is the one provided by GetStatusDescription() in
713 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
715 * HttpRequest.cs: s/boundry/boundary/ and fix typo in array creation.
717 2005-08-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
719 * HttpApplication.cs: add call to EndOfRequest when everything is said
722 2005-08-02 Miguel de Icaza <miguel@novell.com>
724 * HttpResponse.cs: Stub for TransmitFile.
726 * HttpRequest.cs (IsAuthenticated): Implement.
728 2005-08-01 Miguel de Icaza <miguel@novell.com>
730 * HttpRequest.cs: Cope with implementations of HttpWorkerRequest
731 (unpatched xsp) that do not send back the PreloadedEntityBody.
733 * HttpApplication.cs: keep track of the factory.
734 (Dispose): Only dispose once, clean up other variables, release
735 the ManualResetEvent.
736 Release the handler to the factory.
738 * HttpApplicationFactory.cs: Implement a stack to reuse the
741 * HttpRequest.cs: On uploads, if the ContentLenght is zero, throw
744 * HttpRuntime.cs: Recycle the application after using it.
746 * HttpPostedFile.cs: Implement SaveAs.
748 * HttpContext.cs: Return the "Server" property.
750 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
752 * HttpServerUtility.cs: implemented missing bits.
754 2005-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
756 * HttpRequest.cs: query string was getting a '?' as the start of the
757 first variable name. This makes the asmx help page work again.
759 2005-08-01 Miguel de Icaza <miguel@novell.com>
761 * HttpRequest.cs (Cookies, Forms): Add validation.
762 (Forms): Add application/x-www-form-urlencoded parsing and
763 multipart/form-data parsing.
765 (HttpMultiPart): Implement new class to load multi-part data from
766 a stream since there is no longer a byte [] that holds the data
767 (currently we have an unmanaged IntPtr buffer wrapped as a
768 stream). Also the 2.x framework will add support for large
769 uploads which are sent directly to disk, which will require the
770 FileStream interface.
772 (Path, PathInfo): Fill a couple more methods to avoid crashes.
774 * HttpContext.cs: Fill another one to get web services summary
775 page painting. The page does not work though.
777 * HttpApplication.cs: Rework the pipeline to not depend on
778 `finally', as `finally' would not be invoked if we choose not to
779 call the pipeline again (which happens if the `stop' variable is
782 Instead force the pipeline to go to the shutdown, and yield from
783 there after all the release-state callbacks have been invoked.
785 2005-07-31 Miguel de Icaza <miguel@novell.com>
787 * HttpApplication.cs: Remove debugging messages since the compiler
790 You must use at least mcs from revision 47879 for the application
793 2005-07-30 Miguel de Icaza <miguel@novell.com>
795 * HttpContext.cs: Error handling methods.
797 * HttpResponse.cs: Trigger the last event.
799 * HttpRuntime.cs: Add queueing of the next request.
801 * HttpApplication.cs: Deploy the new yield-based application
802 pipeline, add error handling to the pipeline.
804 * HttpApplication.cs (AsyncRequestState): Just use the done event
807 2005-07-29 Miguel de Icaza <miguel@novell.com>
809 * HttpResponseStream.cs, HttpRequest.cs: Fix bugs found by nunit.
811 * HttpApplication.cs: Fix a race condition.
813 * HttpResponseStream.cs: Fix bug, send the size of the buffer that
814 we have so far instead of the internal size of the buffer. This
815 will need work later to ensure we enforce the Content-Length
816 maximum output size if set.
818 * ServerVariablesCollection.cs: This class now inherits from
819 NameValueCollection, we should probably review what the middle
820 class did, there are no dependencies on it.
822 I need to write tests to investigate if something is missing or
823 has changed in this implementation.
825 2005-07-27 Miguel de Icaza <miguel@novell.com>
827 * HttpRequest.cs: No happy replies here, send a 411.
829 2005-07-27 Chris Toshok <toshok@ximian.com>
831 * HttpResponseHeader.cs: remove spew.
833 2005-07-27 Chris Toshok <toshok@ximian.com>
835 * HttpResponseHeader.cs (HttpResponseHandler..ctor): use
836 HttpWorkerRequest.GetKnownResponseHeaderName instead of
837 GetKnownRequestHeaderName. Fixes Response.Redirect until miguel's
838 new HttpReponse is online.
840 2005-07-26 Miguel de Icaza <miguel@novell.com>
842 * HttpResponse.cs: use_chunked is now a byte-array, if not null,
843 we use it to hold the size of the chunked so we do not have to
844 allocate many of these.
845 (SendSize): Helper routine to send the chunked headers.
846 (BinaryWrite): First user of the chunked writer.
848 * HttpApplication.cs: Do not crash if they request a Server
849 instance, but throw a NotImplementedException.
851 * HttpRequest.cs: fix a few problems exposed by the regression
854 * HttpRequest.cs (Cookies): use Chris' new constructor to get the
857 : The big Uri rework: instead of using QueryString
858 as the population mechanism, populate an UriBuilder from the
859 various HttpWorkerRequest methods.
861 * HttpWorkerRequest.cs (GetProtocol): Implement in terms of
864 * HttpResponse.cs: Pointed by Ben, Write (null) is a nop instead
867 * HttpContext.cs: Add a couple of properties to help the 2.x
870 * HttpResponse.cs: Make ContentLength a long, add back support for
871 session's app_path_mod.
872 (ApplyAppPathmodifier): put back.
873 (End): Pass a flag to abort so we can tell the exceptions appart
875 (WriteHeaders): Send the HTTP status.
876 (Redirect): Implement.
877 (Write): Use the Output property to load writer when needed.
879 * HttpRequest.cs (ctor): Temporary use of InitFromWR, will fix
881 (MakeInputStream): check content-length size, use routines to load
882 the preloaded data, handle incomplete transfers.
883 (Query): Do not insert null keys into the collection.
885 (UrlReferer): implement.
887 * HttpApplication.cs (RunHooks): Catch Thread.Abort, and call
888 Thread.ResetAbort after each step.
890 Ensure that ReleaseState is called if we ever succeed in acquiring
891 the state even if we have stopped the request pipeline.
893 Report file not found, directory not found.
895 2005-07-25 Miguel de Icaza <miguel@novell.com>
897 * HttpCookieCollection.cs: Add expiration of the cookie.
899 * HttpRequest.cs: Add check for ContentLength, use
900 GetPreloadedEntityBody, correct number of bytes uploaded.
902 2005-07-21 Miguel de Icaza <miguel@novell.com>
904 * HttpResponseHeader.cs: Our implementation of HttpResponse only
905 uses the text headers, does not use any constants as XSP would go
906 through a slower code path anyways.
908 2005-07-21 Chris Toshok <toshok@ximian.com>
910 * HttpBrowserCapabilities.cs: enable support for the W3CDomVersion
911 and EcmaScriptVersion properties.
913 2005-07-21 Chris Toshok <toshok@ximian.com>
915 * HttpResponseHeader.cs: hi, i'm stupid and missed String.Replace.
917 2005-07-21 Chris Toshok <toshok@ximian.com>
919 * HttpResponseHeader.cs: url encode just \r and \n if they're
920 present in the value.
922 2005-07-20 Chris Toshok <toshok@ximian.com>
924 * HttpPostedFile.cs: add missing ContentLength property.
926 2005-07-20 Chris Toshok <toshok@ximian.com>
928 * HttpCookieCollection.cs: add a new ctor that takes a string (the
929 contents of the Cookies: header).
931 2005-07-20 Chris Toshok <toshok@ximian.com>
933 * HttpCookieCollection.cs: add another ctor (internal, but not
934 obsolete, so we aren't passing a stupid HttpResponse in in order
935 to change the behavior of the collection.)
937 * HttpCookie.cs: init this.values in the internal ctor.
939 2005-07-20 Chris Toshok <toshok@ximian.com>
941 * HttpCookieCollection.cs: use "auto-fill mode" when we're dealing
942 with an HttpResponse's cookie collection. That is, create the
943 cookie if the consumer looks it up.
945 2005-07-20 Miguel de Icaza <miguel@novell.com>
947 * HttpApplication.cs: Ongoing work on pipeline, I will need to
950 2005-07-19 Miguel de Icaza <miguel@novell.com>
952 * HttpContext.cs (GetService): Implement. Return all of the
953 properties that we have access to. Make HttpWorkerRequest the
954 first match as this is the only likely reason people need to use
957 * IntPtrStream.cs: Bring from corlib.
959 * MultiPartContentParser.cs: use a MemoryStream as HttpInputStream
960 will now be using IntPtrStream.
962 * HttpRequest.cs (MakeInputStream): move code that loads the
964 (CloseInputStream): Helper method that we will call later to
965 ensure that we dispose properly the malloced() block.
966 (BinaryRead): Implemented.
968 * HttpInputStream.cs: Rewrite to be a descendant of
971 2005-07-18 Miguel de Icaza <miguel@novell.com>
973 * HttpApplication.cs (Modules): Add modules support and
976 2005-07-18 Chris Toshok <toshok@ximian.com>
978 * HttpResponseHeader.cs: initial implementation.
980 2005-07-18 Chris Toshok <toshok@ximian.com>
982 * HttpModuleCollection.cs (HttpModuleCollection.GetKey): add
985 * HttpFileCollection.cs: initial implementation.
987 2005-07-18 Chris Toshok <toshok@ximian.com>
989 * HttpModuleCollection.cs (HttpModuleCollection.CopyTo): implement
992 2005-07-18 Chris Toshok <toshok@ximian.com>
994 * HttpModuleCollection.cs: initial implementation.
996 2005-07-18 Chris Toshok <toshok@ximian.com>
998 * HttpCacheVaryByHeaders.cs: only add the header if it's not
1001 * HttpCacheVaryByParams.cs: only add the param if it's not already
1004 2005-07-18 Chris Toshok <toshok@ximian.com>
1006 * HttpCookie.cs (HttpCookie+CookieNVC.Set): new override to fix an
1009 2005-07-17 Miguel de Icaza <miguel@novell.com>
1011 * HttpRequest.cs (Headers, InputStream): implemented two more
1014 * HttpInputStream.cs: All we need is a MemoryStream with writable
1017 * HttpPostedFile.cs: Use a Stream.
1019 2005-07-16 Chris Toshok <toshok@ximian.com>
1021 * HttpCacheVaryByHeaders.cs: make sure we set vary_by_unspecified
1022 = false in the custom setter.
1024 2005-07-16 Chris Toshok <toshok@ximian.com>
1026 * HttpCacheVaryByParams.cs: initial implementation.
1028 2005-07-16 Chris Toshok <toshok@ximian.com>
1030 * HttpCacheVaryByHeaders.cs: initial implementation.
1032 2005-07-15 Chris Toshok <toshok@ximian.com>
1034 * HttpCookie.cs: one more time.
1036 2005-07-15 Chris Toshok <toshok@ximian.com>
1038 * HttpCookie.cs (HttpCookie.GetCookieHeader): use
1041 2005-07-15 Chris Toshok <toshok@ximian.com>
1043 * HttpCookie.cs (HttpCookie.GetCookieHeader): implement to fix
1046 2005-07-15 Chris Toshok <toshok@ximian.com>
1048 * HttpCookieCollection.cs: initial implementation (with a couple
1049 of labeled inefficiencies.)
1051 2005-07-15 Chris Toshok <toshok@ximian.com>
1053 * HttpCookie.cs (HttpCookie.get_HasKeys): use values.HasKeys()
1054 instead of trying to be smart about it ourselves.
1056 2005-07-15 Chris Toshok <toshok@ximian.com>
1058 * HttpCookie.cs: initial implementation. we fail one unit test,
1059 but it might be due to a bug in NameValueCollection.
1061 2005-07-15 Miguel de Icaza <miguel@novell.com>
1065 2005-07-14 Miguel de Icaza <miguel@novell.com>
1067 * HttpRuntime.cs: Return a few of the values from the AppDomain
1070 Put the application shutdown process.
1072 * HttpApplicationFactory.cs (AddEvent): Fixed bug when more than
1075 (FireEvent): Do not ignore errors.
1077 * HttpContext.cs (GetAppConfig, GetConfig): First success, use
1078 ConfigurationSettings.GetConfig to get the value that QueueManager
1081 2005-07-14 Dick Porter <dick@ximian.com>
1083 * HttpPostedFile.cs: New basic implementation; needs someone to
1084 figure out what a HttpRequestStream does
1086 2005-07-13 Miguel de Icaza <miguel@novell.com>
1088 * HttpRequest.cs: More work on this file
1090 * HttpRequest.cs, HttpApplication.cs, HttpContext.cs,
1091 HttpRuntime.cs: New from scratch implementation.
1093 2005-07-01 Lluis Sanchez Gual <lluis@novell.com>
1095 * SiteMap.cs: Read provider info from the configuration files.
1097 2005-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1099 * HttpResponseHeader.cs: URL encode \r and \n in header values. Fixes
1102 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1104 * HttpUtility.cs: fix another stupid buglet in htmldecode.
1106 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1110 * HttpRequest.cs: use StrUtils (invariant culture).
1112 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1114 * HttpRequest.cs: use StartsWith when looking for 'multipart/form-data'.
1115 File uploading was broken since a few commits ago.
1117 2005-06-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1119 * HttpResponse.cs: ensure that the last chunk ('0\r\n\r\n') is sent
1120 even if response.Close is called before a final flush. MS/IIS fails to
1123 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1125 * HttpRequest.cs: don't print anything for unknown content types in
1126 ParseFormData. Use lowercase compare.
1128 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1130 * HttpResponse.cs: invariant love.
1132 2005-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1134 * HttpResponse.cs: avoid 1 string concat.
1135 * HttpRequest.cs: fix BinaryRead. It was totally wrong.
1137 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1139 * HttpUtility.cs: don't append an extra 0 when no digits seen. Fixes
1142 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1144 * HttpUtility.cs: the lower limit for using &#xx; encoding is 160, not
1145 128. Reset number back to 0 after use. Fixes bug #75365.
1147 2005-06-19 Svetlana Zholkovsky <svetlanaz-at-mainsoft.com>
1148 * In following classes added TARGET_J2EE or/and TARGET_JVM
1153 - CapabilitiesLoader.cs
1154 - HttpApplication.cs
1155 - HttpApplicationFactory.cs
1159 * Added Mainsoft's specific files :
1160 - GhHttpAsyncResult.jvm.cs
1162 2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1164 * HttpRequest.cs: avoid one intermediate buffer when reading the request
1165 body and fail for over limit content length when the content type is
1166 not handled as form or multipart data.
1168 2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1170 * HttpResponse.cs: fix the check in Close() so that CloseConnection is
1171 called even if there has been no final Flush. Fixes bug #75176.
1173 2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1175 * HttpParseException.cs:
1177 * HttpApplication.cs: updates for 1.1 service pack.
1179 2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1181 * HttpUtility.cs: fix InvalidCastException.
1183 2005-06-05 Kornél Pál <kornelpal@hotmail.com>
1185 * HttpWriter.cs: Fixed: _OutputFilter.Close () was called twice.
1187 2005-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1189 * HttpUtility.cs: modified HtmlDecode so that it does not need to call
1190 Int32.Parse and handles improper &# sequences. Fixes bug #74907.
1192 2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
1194 * SiteMapNodeCollection.cs: Implemented missing methods. The collection
1195 does not inherit from CollectionBase any more.
1196 * SiteMapNode.cs: Track api changes.
1197 * SiteMapProvider.cs: Moved several methods to the new
1198 StaticSiteMapProvider class. Other fixes.
1199 * XmlSiteMapProvider.cs: Watch changes in the xml files. Other fixes.
1200 * SiteMapProviderCollection.cs: Minor fixes.
1201 * SiteMap.cs: Added missing event. Avoid double check lock.
1202 * StaticSiteMapProvider.cs: New class that implements some of the
1203 funtionality of SiteMapProvider.
1205 2005-05-25 Ben Maurer <bmaurer@ximian.com>
1207 * MimeTypes.cs: Remove extra spaces, they were typos. Fixes 75049.
1209 2005-05-13 Atsushi Enomoto <atsishi@ximian.com>
1211 * HttpUtility.cs : UrlDecodeToBytes() incorrectly decoded escaped
1212 characters. Patch by Kazuki Oikawa.
1214 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1216 * HttpRuntime.cs: PlatformID.Unix.
1218 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1220 * HttpResponse.cs: cleaned up the .ctors, fix IsClientConnected and just
1221 Clear the _Headers array instead of creating a new ArrayList in
1224 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1226 * HttpResponse.cs: we had 2 variables to track client connection status.
1227 Use only one. Increase the buffer size to 28KB when writing from a file.
1229 * StaticFileHandler.cs: set the Content-Type before writing the file.
1230 This allows flushing before all the content is written.
1232 * HttpApplication.cs: use the variable instead of the property when
1233 setting the Principal for the current process.
1235 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1237 * ReusableMemoryStream.cs:
1238 * HttpWriter.cs: keep a pool of buffers to avoid allocations.
1240 2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1242 * HttpResponse.cs: no need to save/restore the thread culture when
1243 getting the Date header. According to Ben's profiling, this is a big
1244 deal in performance.
1246 * HttpRuntime.cs: ignore exceptions that might be thrown when unloading
1249 2005-05-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1251 * HttpApplicationFactory.cs: ignore any exception thrown when invoking
1252 an application event.
1254 2005-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1256 * HttpBrowserCapabilities.cs: fix Win32 property.
1258 2005-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1260 * HttpResponse.cs: only add the charset when explicitly set or for
1261 well-known content types.
1263 2005-04-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1265 * HttpCachePolicy.cs:
1266 * HttpAsyncResult.cs:
1267 * HttpClientCertificate.cs:
1270 * HttpCacheVaryByHeaders.cs:
1271 * HttpBrowserCapabilities.cs:
1273 * HttpCacheVaryByParams.cs: no more warnings.
1275 * QueueManager.cs: check for local connections with minLocalFreeThreads.
1277 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1279 * ServerVariablesCollection.cs: shuffled variables, added missing ones
1280 and call a method in HttpRequest to set the HTTP_ variables.
1282 * HttpRequest.cs: new method to add HTTP_ variables to a collection.
1284 2005-04-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1286 * HttpRequest.cs: GetAllHeaders was returning the value twice instead
1287 of 'name: value'. When HTTP_ is requested on the output, don't include
1290 2005-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1292 * HttpCookieCollection.cs: when adding more than one cookie with the
1293 same name, the last one is the winner.
1295 2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1297 * HttpRequest.cs: correctly store the value cookies in Params. Fixes
1300 2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1302 * HttpRequest.cs: Path and FilePath also change when RewritePath is
1303 called. Fixes bug #73055.
1305 2005-02-23 Sebastien Pouliot <sebastien@ximian.com>
1307 * HttpRequest.cs: Make sure that any access after a ValidateInput
1308 throws an exception if the data isn't safe.
1310 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1312 * CapabilitiesLoader.cs: fix the path, as machine.config is now in a
1313 x.x/ directory below $PREFIX/etc/mono.
1315 2005-02-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1317 * HttpRequest.cs: fail on unicode full-width '<' and '>' too. Fixes
1318 a security report (http://secunia.com/advisories/14325) that wan't
1319 reported to us before public disclosure.
1321 2005-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1323 * HttpResponse.cs: send the calculated content length even when it's 0.
1326 2005-02-04 Lluis Sanchez Gual <lluis@novell.com>
1328 * HttpContext.cs: Added internal property to keep a reference to
1329 the last accessed page. Page uses this to implement PreviousPage.
1331 2005-02-02 Lluis Sanchez Gual <lluis@novell.com>
1333 * ProcessModelInfo.cs: Fixed warning.
1335 2005-02-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1337 * TraceContext.cs: writing a message without any other argument is not
1338 a warniing. Fixes bug #72017.
1340 2005-01-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1342 * HttpApplication.cs: if there are no more handlers, finish the
1343 request and ensure we call Complete on it. Now FreeTextBox 3.0 works.
1345 2004-12-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1347 * HttpRequest.cs: honor the maxRequestSize limit from machine.config.
1349 2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1351 * HttpApplication.cs: reread application CultureInfo as web.config
1352 might have changed. Fixes bug #62539.
1354 2004-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1356 * HttpResponse.cs: fixed ApplyAppPathModifier to insert the session ID.
1358 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1360 * HttpApplicationFactory.cs: monitor changes in global.asax and bin
1361 directory and shutdown the application when that happens. Fixes bug
1364 2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1366 * ReusableMemoryStream.cs: copied from System.IO.MemoryStream and
1367 slightly modified to allow expanding the buffer for cases on which the
1368 regular MemoryStream don't allow it.
1370 * HttpWriter.cs: use the new ReusableMemoryStream and fix bug #59841.
1371 Otherwise we would have to allocate a new MemoryStream...
1373 2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1375 * HttpApplication.cs: Create() is now GetInstance().
1377 2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
1379 * SiteMapNodeCollection.cs: Added missing properties.
1380 * HttpParseException.cs: Added 2.0 methods and properties.
1381 * SiteMapNode.cs: Added missing methods and properties.
1382 * SiteMapProvider.cs, XmlSiteMapProvider.cs,
1383 SiteMapProviderCollection.cs: IProvider does not exist any
1384 more, it is now ProviderBase.
1385 * ISiteMapProvider.cs: Deleted.
1386 * ParserErrorCollection.cs, ParserError.cs, SiteMapResolveEventArgs.cs:
1388 * SiteMap.cs: Minor fixes.
1390 2004-11-15 Lluis Sanchez Gual <lluis@novell.com>
1392 * SiteMapProviderCollection.cs: Fixed warning.
1393 * HttpApplication.cs: Added new 2.0 events.
1395 2004-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1397 * HttpResponse.cs: added internl SetHeadersSent.
1398 * HttpRuntime.cs: don't throw the 'headers already sent' exception
1399 if we're sending a runtime error.
1401 2004-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1403 * HttpApplication.cs: undo the TimeoutManager.(Add|Remove) shuffling.
1404 It causes troubles under heavy load.
1406 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1408 * SiteMap.cs: don't lock on Type.
1409 * CapabilitiesLoader.cs: avoid 2 locks when loading data.
1411 2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1413 * HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
1414 presence of rewriting.
1416 2004-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1418 * HttpApplication.cs: don't hang if a sync step is aborted. Fixes the
1419 system.web portion of bug #68270.
1421 2004-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1423 * TraceContext.cs: don't cast to Page is the handler it's
1426 2004-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1428 * HttpRequest.cs: CurrentExecutionFilePath is the one that
1429 changes when Transfer or Execute are used, not FilePath.
1431 * HttpServerUtility.cs: moved form saving/restoring from
1432 Transfer to Execute, as it's needed there too. the query string is
1433 correctly set now. Fixes bug #67388.
1435 * HttpContext.cs: use SetCurrentExePath instead of SetFilePath.
1437 2004-10-03 Ben Maurer <bmaurer@ximian.com>
1439 * HttpResponse.cs: use UtcNow
1441 2004-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1443 * HttpResponse.cs: SuppressContent does not throw and clears all the
1444 buffered output. Fixes bug #67213.
1446 2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1448 * HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.
1450 2004-09-29 Ben Maurer <bmaurer@ximian.com>
1452 * HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.
1454 2004-09-25 Ben Maurer <bmaurer@ximian.com>
1456 * HttpApplication.cs: Make sure requests are removed from
1457 the timeout manager. Fixes a major leak. #66751.
1459 2004-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1461 * HttpApplicationFactory.cs:
1462 * HttpRuntime.cs: implemented UnloadAppDomain and be ready for domain
1465 2004-09-12 Ben Maurer <bmaurer@ximian.com>
1467 * HttpContext.cs: use CallContext. It is a little bit faster.
1469 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1471 * HttpStaticObjectsCollection.cs: don't share static session objects
1472 declared in the application file across the application, but on a
1473 per-session basis. Fixes bug #65446.
1475 2004-09-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1477 * HttpServerUtility.cs: in Transfer(path), don't keep form data if
1478 the transfer is done from inside a page that received a postback.
1481 2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1483 * HttpValueCollection.cs: fixed signature of ToString (). Closes bug
1486 2004-09-06 Ben Maurer <bmaurer@users.sourceforge.net>
1488 * HttpWriter.cs (.ctor): Dont create teh StreamWriter twice
1489 (Clear): Don't recreate the MemoryStream and StreamWriter
1491 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1493 * HttpApplication.cs: only add/remove to/from the timeout
1494 manager when we're in a interruptible step.
1496 2004-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1498 * TraceContext.cs: when IsEnabled has not been set, return the value
1499 from the TraceManager. Fixes bug #63469.
1501 2004-08-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1503 * HttpRuntime.cs: initialize the response writer when finishing a
1504 request because it cannot be queued. Under heavy load we made new
1505 requests be processed before the ones that might be queued. This is
1508 * QueueManager.cs: instead of queueing/dequeuing separately, we now
1509 have a single method that does everything needed to decide which one
1510 will be the next request processed.
1512 2004-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1514 * HttpRuntime.cs: removed initializations to null in .cctor. Prevent
1515 other requests from avoiding the lock if they are received before the
1516 configuration system is inited. Ensure that the queue manager is not
1517 null before using it (it can be null while the first request is being
1520 2004-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1522 * HttpServerUtility.cs: ensure we have a full virtual path for the
1523 request being executed.
1525 2004-08-02 Duncan Mak <duncan@ximian.com>
1527 * ApplicationShutdownReason.cs: Fixed typos.
1529 * HttpCookieMode.cs:
1530 * HttpDataTransferMode.cs:
1531 * HttpRequestPriority.cs: Added [Serializable] attribute.
1533 2004-08-02 Duncan Mak <duncan@ximian.com>
1535 * ApplicationShutdownReason.cs:
1536 * HttpCookieMode.cs:
1537 * HttpDataTransferMode.cs:
1538 * HttpRequestPriority.cs: Added 2.0 enumerations.
1540 2004-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1542 * HttpApplication.cs: the file not found might be a dependency.
1544 2004-07-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1546 * HttpCookie.cs: use invariant when formatting expires date. Fixes bug
1549 2004-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1551 * HttpApplication.cs: don't keep the session around if we got it from
1552 the context. Fixes bug #61232.
1554 2004-07-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1556 * HttpUtility.cs: fixed stupid bug in UrlDecode from bytes. Closes bug
1559 2004-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1561 * TraceContext.cs: added internal HaveTrace property whose
1562 value is true when the page has a Trace attribute.
1564 2004-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1566 * TraceData.cs: fixed <br> output. Closes bug #60181.
1568 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1570 * HttpUtility.cs: check for control characters in the string to encode
1571 or decode and return the same string if there are none.
1573 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1575 * HttpApplication.cs: change/restore the IPrincipal in their own methods
1576 and make them internal.
1578 2004-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1580 * HttpContext.cs: reverting Pedro's patch and sending mail with test
1583 2004-06-09 Pedro Martnez Juli <yoros@wanadoo.es>
1585 * HttpContext: User property returns its own "user" value because
1586 the context can walk through different Threads. When "User" property
1587 is changed, change "Thread.CurrentPrincipal" too.
1589 2004-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1591 * HttpRequest.cs: removed extra ^Ms and fixed style of last patch.
1593 2004-06-08 Alon Gazit <along@mainsoft.com>
1595 * HttpRequest.cs: Add a patch for HttpRequest.ServerVariables.
1597 2004-06-07 Sebastien Pouliot <sebastien@ximian.com>
1599 * HttpContext.cs: User property now get/set Thread.CurrentPrincipal.
1600 Fix (at least partially) #59683.
1602 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1604 * HttpRequest.cs: reverting patch from Alon Gazit. Uses the above file
1605 that doesn't compile.
1607 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1609 * TraceData.cs: fixes nullref in an application that relies on
1610 r ["Message"] not being null. Closes bug #59679.
1612 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1614 * HttpCachePolicy.cs: implemented SetAllowResponseInBrowserHistory.
1616 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1618 * HttpRuntime.cs: implemented a 5 simple properties that were TODOs.
1620 2004-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1622 * HttpBrowserCapabilities.cs: implemented ClrVersion and GetClrVersions.
1623 * HttpException.cs: removed MonoTODO.
1625 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1627 * TraceContext.cs: don't check if HttpRuntime.TraceManager
1628 is enabled when writing.
1630 2004-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1632 * HttpRequest.cs: added ClientTarget internal property.
1634 2004-06-03 Lluis Sanchez Gual <lluis@ximian.com>
1636 * HttpApplication.cs: Clear the http handler list after releasing the
1639 2004-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1641 * TraceData.cs: html-encode the messages written to the trace. Fixes
1644 2004-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1646 * HttpWorkerRequest.cs: the hashtables are now case-insensitive. Thanks
1649 2004-05-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1651 * HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
1652 when SetFilePath is called. This way the cached values are reset and
1653 get the right value in case someone (namely SessionStateModule +
1654 cookieless session) changes the FilePath after the property cached its
1655 value. Fixes bug #59364.
1657 2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>
1659 * HttpApplicationFactory.cs: Added SignalError (still todo)
1661 2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1663 * HttpResponse.cs: remove hardcoded "HTTP/1.0" version that kept
1664 chunked encoding disabled. Fixed chunked suffix and end. Send the
1665 'lastchunk' marked when in the final Flush even if the content length
1666 is 0. This makes mod-mono-server work fine with chunked encoding.
1668 * HttpRuntime.cs: Set the _firstRequest* variables to true
1669 earlier. TraceContext don't take any parameter now.
1671 * TraceManager.cs: don't need a context. Use GetAppConfig.
1673 2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1675 * HttpApplication.cs: set culture/uiculture from configuration and
1676 restore it after each step. Fixes bug #52851.
1678 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1680 * HttpUtility.cs: use lower case in UrlEncode like MS does. Delay
1681 entities hashtable creation until it's really needed.
1683 2004-05-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1685 * HttpApplicationFactory.cs: if no module matches the name found for a
1686 possible event, ignore it. Fixes bug #58542.
1688 2004-05-16 Patrik Torstensson <totte@hiddenpeaks.com>
1690 * HttpRuntime (Init): Removed old todo
1691 * HttApplication : Implemented IHttpHandlerFactory recycling
1693 2004-04-28 Patrik Torstensson
1695 * HttpApplicationState.cs: Performance, usage of ReaderWriter lock,
1698 2004-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1700 * HttpUtility.cs: return null in HtmlDecode for null input instead of
1701 throwing an exception. Patch by Jan Jaros (bug #57083).
1703 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
1705 * TimeoutManager.cs: Swap the order of initialization of contexts
1706 and the Timer, to avoid race condition of CheckTimeouts being called
1707 before contexts gets initialized.
1709 2004-03-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1711 * HttpRequestStream.cs: patch from Jan Jaros that fixes bug #56080.
1712 Now the posted file content does not have the boundaries and headers
1715 2004-03-25 Alon Gazit <along@mainsoft.com>
1717 * HttpRequest.cs: fix ValidateCookieCollection() to prevent
1718 InvalidCastException.
1720 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1722 * HttpValueCollection.cs: don't UrlDecode cookies. Fixes bug #55254.
1724 2004-03-01 Larry Ewing <lewing@ximian.com>
1726 * HttpUtility.cs: fix UrlEncodeToBytes count check.
1728 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1730 * HttpServerUtility.cs:
1731 * HttpUtility.cs: added some checks for null. Fixed UrlPathEncode (bug
1734 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1736 * HttpUtility.cs: fixed length check. Closes bug #54201.
1737 Thanks to Michal Moskal. Use MemoryStream instead of an ArrayList when
1740 2004-02-11 Jackson Harper <jackson@ximian.com>
1742 * TraceData.cs: Use ToString for cookie/header/var name values so
1743 null is handled properly.
1745 2004-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1747 * HttpApplication.cs: ApplicationState is inited by the factory so,
1748 return that value in the property. when we use the context Session,
1749 cache it in the instance field.
1751 * HttpApplicationFactory.cs: fixed target Type for the event when
1752 hooking application and module events. Initialize application
1753 and session scope objects. Fixes non-aplication events hook up.
1755 * HttpStaticObjectsCollection.cs: added StaticItem and delay the
1756 creation of the objects until they are requested.
1758 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1760 * HttpApplicationFactory.cs: fixlet for session events hook.
1762 2004-01-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1764 * HttpApplicationFactory.cs: attach all events from Type and BaseType
1765 at the same time. Fixes bug #53454.
1767 2004-01-27 Jackson Harper <jackson@ximian.com>
1769 * HttpCachePolicy.cs: varybyparams::GetResponseHeader can return
1770 null now, dont hadd the header if it does.
1771 * HttpCacheVaryByParams.cs: Return null if there are no items.
1773 2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1775 * HttpCachePolicy.cs: it's not public.
1776 * HttpRuntime.cs: wait for requests before disposing the queue.
1778 2004-01-15 Jackson Harper <jackson@ximian.com>
1780 * HttpCachePolicy.cs: Fix typo causing varyby params headers to be
1781 created when they shouldn't be.
1783 2004-01-14 Jackson Harper <jackson@ximian.com>
1785 * TraceData.cs: Fix some typos in the output text. Fix control
1786 position when adding controls recursively.
1788 2004-01-14 Jackson Harper <jackson@ximian.com>
1790 * HttpCachePolicy.cs: Expose duration and sliding properties.
1792 2004-01-14 Jackson Harper <jackson@ximian.com>
1794 * HttpCachePolicy.cs: Add an event that is fired when the
1795 cacheability is updated. The response uses this to determine
1796 whether or not it needs to cache itself.
1797 * HttpResponse.cs: When the cacheability is updated either create
1798 or dispose of the cached raw response based on whether or not we
1799 wil need it. This allows output caching to be controlled
1802 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1804 * HttpContext.cs: add setter for ConfigTimeout.
1805 * HttpException.cs: added Description property and HTML encode some
1808 * HttpRequest.cs: support request validation.
1810 * HttpRequestValidationException.cs: added message and description.
1812 * HttpServerUtility.cs: implemented ScriptTimeout.
1814 2004-01-11 Jackson Harper <jackson@ximian.com>
1816 * TraceManager.cs: Dont crash if there is no trace config element.
1818 2004-01-11 Jackson Harper <jackson@ximian.com>
1820 * HttpRequest.cs: Add property for determining if the request is
1823 2004-01-10 Jackson Harper <jackson@ximian.com>
1825 * TraceContext.cs: Handle tracing when it is enabled in the config
1826 file but not on the page.
1827 * TraceManager.cs: Get settings from the configuration object.
1828 * HttpRuntime.cs: Create trace manager in the first request start
1829 so it can get configuration settings.
1831 2004-01-10 Jackson Harper <jackson@ximian.com>
1833 * TraceContext.cs: Save the request path in the trace data.
1834 * TraceData.cs: Add RequestPath property, make some rendering
1835 methods internal static so the TraceHandler can use them.
1836 * TraceManager.cs: Expose trace data, add a method for clearing
1839 2004-01-10 Jackson Harper <jackson@ximian.com>
1841 * HttpRuntime.cs: Add trace manager
1842 * TraceManager.cs: New class for handling trace configuration and
1843 storing trace data objects.
1844 * TraceContext.cs: Save trace data to the trace manager. Fix typo.
1846 2004-01-10 Jackson Harper <jackson@ximian.com>
1848 * TraceData.cs: New class for storing trace data. Data is stored
1849 here instead of the trace context so it can be saved and accessed
1850 from the trace handler.
1851 * TraceContext.cs: Save data in the TraceData object, let the
1852 trace data object handle the rendering.
1854 2004-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1856 * HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
1857 Thanks to Jan Jaros (mono-bug@jerryweb.info).
1859 * HttpRequestValidationException.cs: fix comment.
1861 2004-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1863 * HttpException.cs: default to error 500. Fixes bug #52623.
1865 2004-01-04 Jackson Harper <jackson@ximian.com>
1867 * TraceContext.cs: Store and render trace info times. Also render
1868 cookie sizes. Remove debug code.
1870 2004-01-04 Jackson Harper <jackson@ximian.com>
1872 * HttpResponse.cs: Set the cached response date header so it can
1874 * HttpResponseHeader.cs: Let values be set so we can update cached
1875 response header values.
1877 2004-01-04 Jackson Harper <jackson@ximian.com>
1879 * HttpResponse.cs: Implement RemoveOutputCacheItem.
1881 2004-01-04 Jackson Harper <jackson@ximian.com>
1883 * HttpCachePolicy.cs: Add internal method to get the vary by custom string
1884 * HttpCacheVaryByHeaders.cs: Add internal method to get the header names.
1886 2004-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1888 * HttpRuntime.cs: implemented MachineConfigurationDirectory,
1890 2004-1-1 Alon Gazit <along@mainsoft.com>
1891 * HttpWriter.cs: add check in Write() in order to prevent
1892 NullReferenceException.
1894 2004-1-1 Alon Gazit <along@mainsoft.com>
1895 * HttpResponse.cs: implemented ExpiresAbsolute and Expires.
1897 2003-12-18 Jackson Harper <jackson@ximian.com>
1899 * TraceContext.cs: Write () methods are not warnings.
1901 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1903 * HttpBrowserCapabilities.cs: added GetClrVersions ().
1904 * HttpCachePolicy.cs: added SetAllowResponseInBrowserHistory ().
1905 * HttpContext.cs: added set_Current and RewritePath (s, s, s) for 1.1.
1906 * HttpRequest.cs: added set_ContentType, SetPathInfo and ValidateInput.
1907 * HttpRequestValidationException.cs: new class for 1.1
1908 * HttpResponse.cs: added RedirectLocation.
1909 * HttpRuntime.cs: added UnloadAppDomain.
1910 * HttpServerUtility.cs: Execute (s, t, b) is internal for < 1.2
1911 * HttpUtility.cs: copied UrlPathEncode from HttpServerUtility.
1912 * HttpWorkerRequest.cs: added [ComVisible] and made the ctor public.
1914 2003-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1916 * HttpContext.cs: implemented IsCustomErrorEnabled and
1917 IsDebuggingEnabled. Added internal ErrorPage property.
1919 * HttpRuntime.cs: on error, check if we have a custom error page enabled
1920 to handle it and redirect.
1922 * HttpResponse.cs: added RedirectCustomError (), which actually does
1923 the redirection to the error page.
1925 2003-12-16 Jackson Harper <jackson@ximian.com>
1927 * TraceContext.cs: Render all the data, and the stylesheet.
1929 2003-12-16 Jackson Harper <jackson@ximian.com>
1931 * TraceContext.cs: Add incomplete render method.
1933 2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1935 * CapabilitiesLoader.cs: loads browser detection and capabilities data
1936 from browscap.ini file by Gary J. Keith.
1938 * HttpBrowserCapabilities.cs: removed almost all TODOs.
1940 * HttpRequest.cs: fixed Browser property.
1942 2003-12-15 Jackson Harper <jackson@ximian.com>
1944 * TraceContext.cs: Initial implementation of storing data.
1945 * HttpContext.cs: Create and expose a trace object.
1947 2003-12-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1949 * HttpApplication.cs: ThreadAbortException is ok on Redirect.
1950 * HttpContext.cs: added TimeoutPossible property.
1951 * HttpResponse.cs: throw ThreadAbortException if End () is called within
1952 a step in which is possible to timeout.
1956 2003-12-04 Jackson Harper <jackson@ximian.com>
1958 * HttpRequest.cs: Cleanup method.
1960 2003-12-04 Jackson Harper <jackson@ximian.com>
1962 * HttpValueCollection.cs: Allow blank value names. Posting
1963 <blank>=SomeValue is valid. And occurs if a radio button does
1964 not have its name set.
1966 2003-12-03 Jackson Harper <jackson@ximian.com>
1968 * HttpResponse.cs: Actually apply an app path modifier in
1969 ApplyAppPathModifer and add a method to set the app path modifier.
1970 * HttpRequest.cs: Add utility method for setting a request header.
1972 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1974 * HttpApplication.cs: handle FileNotFound and DirectoryNotFound
1975 exceptions when creating the handler to generate a better error page.
1977 * HttpException.cs: display the http_code if available. Changed all
1978 \n by \r\n to make the hidden stack trace readable.
1980 * StaticFileHandler.cs: don't send the real path in th eerror.
1982 2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1984 * HttpContext.cs: updated GetConfig and GetAppConfig to new API.
1986 * HttpResponse.cs: separate initialization of the HttpWriter, as it
1987 tries to read configuration settings while the config. system is not
1988 available (ie, before the first request).
1990 * HttpRuntime.cs: delayed queueManager and response writer
1991 initialization until the configuration system is working.
1993 2003-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1995 * HttpRuntime.cs: added request queue handling.
1997 * QueueManager.cs: simple request queue.
1999 * TimeoutManager.cs: added some locks to prevent the enumerator used in
2000 CheckTimeouts to be out of synch.
2002 2003-11-25 Jackson Harper <jackson@ximian.com>
2004 * HttpStaticObjectsCollection.cs: Add methods for serialization
2005 and conversion to/from byte arrays.
2007 2003-11-21 Jackson Harper <jackson@ximian.com>
2009 * HttpResponse.cs: When caching data set the content length in the
2010 cached repsonse so that only that amount will be written back to
2011 the client. Add method to write a range of binary data.
2012 * HttpCacheVaryByParams.cs: Add method to retrieve param names.
2014 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2016 * HttpApplication.cs:
2018 * HttpRuntime.cs: add timeout handling.
2019 * TimeoutManager.cs: new class that takes care of aborting threads on
2022 2003-11-19 Jackson Harper <jackson@ximian.com>
2024 * HttpWriter.cs: Use a constant for the buffer size so the cache
2025 can get the buffer size. Add method to get the buffer.
2026 * HttpResponse.cs: Methods for getting data to cache, and setting
2027 vars from the cache.
2028 * HttpCachePolicy.cs: Expose a pages cache expire time.
2030 2003-11-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2033 * HttpWriter.cs: some fixes to allow closing a response stream without
2036 2003-11-13 Jackson Harper <jackson@ximian.com>
2038 * HttpCachePolicy.cs: Make sure cacheability and maxage get
2039 set. Add method to set Http response header data
2040 * HttpCacheVaryByParams.cs: Add method to create a response header.
2041 * HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
2042 * HttpResponse.cs: Set cache headers.
2044 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
2046 * HttpModuleCollection.cs (GetKey): Recursion, again!
2048 2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
2050 * HttpClientCertificate.cs (ValidUntil): recursion!
2052 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
2054 * SiteMapNode.cs (GetDataSourceView): Implement.
2055 * SiteMapProvider.cs: Typo fixing.
2056 * XmlSiteMapProvider.cs: We shouldnt resolve here.
2058 2003-11-08 Ben Maurer <bmaurer@users.sourceforge.net>
2060 * SiteMap.cs (Init): implement a hack that doesnt need the config
2061 stuff. Should do that later.
2062 * SiteMapNodeCollection (OnValidate): Fix recursion.
2063 * SiteMapProvider.cs: We dont implement some culture stuff work
2064 around it. Fix typo.
2065 * XmlSiteMapProvider.cs: Added.
2067 2003-11-07 Ben Maurer <bmaurer@users.sourceforge.net>
2069 * ISiteMapProvider.cs:
2072 * SiteMapNodeCollection.cs:
2073 * SiteMapProvider.cs:
2074 * SiteMapProviderCollection.cs: V2 sitemap related stuff.
2076 2003-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2078 * HttpRequest.cs: don't attempt to read more bytes than specified
2081 2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2086 * HttpValueCollection.cs: encoding fixes/updates.
2088 * HttpWriter.cs: when updating the encoding, flush the existing stream.
2091 2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
2093 * HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
2094 return false (which makes sense, as the custom errors *arent* enabled;
2096 * HttpResponseStream.cs: you actually can write with len = 0
2098 2003-11-03 Jackson Harper <jackson@ximian.com>
2100 * HttpResponse.cs (ContentEncoding): Throw
2101 ArgumentNullException. Patch by Yaron Shkop.
2103 2003-10-30 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2105 * HttpMultipartContentParser.cs : Quick fix for cygwin build.
2106 CSC complains that constant char cannot be casted as byte.
2108 2003-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2110 * HttpApplication.cs: added AssemblyLocation property.
2112 2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2114 * HttpApplicationFactory.cs: use NoParamsInvoker.
2115 * HttpRequest.cs: support request filters.
2116 * HttpRequestStream.cs: mono-stylized and added new Set method.
2118 * NoParamsInvoker.cs: proxy class to invoke user-provided methods
2119 without parameters that are invoked by EventHandlers.
2121 2003-10-13 Lluis Sanchez Gual <lluis@ximian.com>
2123 * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
2124 to invariant culture.
2126 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2129 * HttpServerUtility.cs: change the response writer in Execute. Thanks
2130 to Rich Alimi <rich@velvetsea.net> for noticing this.
2132 2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2134 * HttpApplicationFactory.cs: support for wiring up events without
2137 2003-10-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2139 * HttpUtility.cs: small memory usage reduction.
2141 2003-10-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2143 * HttpApplication.cs: pass the Uri, not the file path to
2144 when looking for a handler.
2146 2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2148 * HttpRequest.cs: small fix needed when reading big POST data.
2150 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
2152 * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
2153 (this will get the address from the request headers).
2155 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
2157 * HttpServerUtility.cs: In Transfer(), preserve the query string if
2160 2003-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2162 * HttpApplication.cs: ensure we do all the EndRequest steps. Don't
2163 filter the output on error.
2165 * HttpResponse.cs: modified DoFilter to allow bypassing filtering.
2167 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2169 * HttpApplication.cs: when the request is completed or an
2170 error happens, execute all the delegates attached to EndRequest, not
2171 only the last one. This makes xsp/test/authtest work again.
2173 * HttpMethodNotAllowedHandler.cs: fixed description for http
2176 2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2178 * HttpRequest.cs: quick way of checking that the path is within the
2179 root for the application. Thanks to Johannes for reporting.
2181 * HttpRuntime.cs: use the status code from teh exception when it'ss a
2184 * StaticFileHandler.cs: forbidden is 403.
2186 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2188 * HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
2189 <rich@velvetsea.net>.
2191 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2193 * HttpException.cs: make the unhandled error more like the MS one.
2194 * HttpRuntime.cs: set a 500 error code on unhandled exceptions.
2196 2003-08-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2198 * HttpResponse.cs: flush headers when the body length is 0.
2199 * StaticFileHandler.cs: added If-Modified-Since handling patch slightly
2200 modified from the original by Piers Haken <piersh@friskit.com>.
2202 2003-08-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2204 * HttpResponse.cs: another patch from totte and me. This one prevents
2205 writing output if the client have disconnected and filters the data
2206 when there's a non-final Flush in the middle of the process.
2208 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2210 * HttpApplication.cs: fixed typos. Closes bug #44197.
2212 2003-08-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2214 * HttpApplication.cs:
2215 * HttpApplicationFactory.cs: fix duplicate application OnStart events.
2217 Patch by Patrik Torstensson.
2219 2003-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2221 * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
2222 overload. The previous one only admits static methods.
2224 2003-08-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2226 * ProcessModelInfo.cs: Fixed signature
2228 2003-07-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2230 * WebCategoryAttribute.cs: Implemented localization
2231 * WebSysDescriptionAttribute.cs: Implemented localization
2233 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2235 * HttpRuntime.cs: also clear the headers that may have been set upon
2236 error processing the request.
2238 2003-07-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2240 * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
2243 * HttpWriter.cs: flush the filter after writing.
2245 2003-07-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2247 * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
2249 2003-07-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2251 * HttpContext.cs: Session doesn't have a setter.
2253 * HttpResponse.cs: Request is private.
2255 2003-07-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2257 * HttpRequest.cs: fixed Headers property. It was getting known headers
2258 values instead of known headers names.
2260 2003-07-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2262 * HttpApplication.cs: prevent nullref if an error happens before context
2264 * HttpException.cs: small fix in the stack trace sent.
2265 * HttpUtility.cs: the lock is not needed.
2267 2003-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2269 * HttpRequest.cs: added REMOTE_PORT.
2270 * HttpValueCollection.cs: fixed bug #45490.
2272 2003-05-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2274 * HttpApplication.cs:
2275 * HttpApplicationFactory.cs: fire application start and session
2278 2003-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2280 * HttpException.cs: encode as HTML the inner exception that
2281 is appended as a comment at the end of error pages.
2283 2003-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2285 * HttpWriter.cs: don't do anything in Flush. Fixes #42249.
2287 2003-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2289 * HtmlizedException.cs: added more virtual methods.
2291 * HttpException.cs: some work on the output when there's a source
2294 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2296 * HtmlizedException.cs: simplified to cope with the new interface.
2298 * HttpApplicationFactory.cs: use the application file parser to get the
2301 * HttpException.cs: small changes. Needs some more work on
2304 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2306 * HttpRequest.cs: fixed Url property.
2308 2003-03-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2310 * HtmlizedException.cs:
2311 * HttpException.cs: display the correct line number in error messages.
2313 2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2315 * HttpCachePolicy.cs: implemented all TODOs.
2316 * HttpRequestStream.cs: make it internal.
2318 2003-03-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2320 * HttpContext.cs: implemented RewritePath in other way.
2321 * HttpRequest.cs: removed SetPhysicalPath and added SetForm.
2322 * HttpServerUtility.cs: implemented Transfer (string, bool).
2324 2003-03-16 Daniel Lopez Ridruejo <daniel @ rawbyte.com>
2325 * HttpContext.cs : Implemented RewritePath
2326 * HttpRequest.cs : Added internal function SetPhysicalPath
2328 2003-03-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2330 * HttpServerUtility.cs: implemented Transfer ().
2332 2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2334 * HttpRuntime.cs: Cache no longer have a Dispose method.
2336 * HttpServerUtility.cs: removed MonoTODO.
2338 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2340 * HttpHelper.cs: store the values in an ArrayList to get them in correct
2343 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2345 * HttpApplicationFactory.cs: Global.asax takes precedence over
2346 global.asax if it exists.
2348 * HttpRequest.cs: use allowCrossAppMapping in MapPath.
2350 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2352 * HttpApplication.cs: CreateHttpHandler is now internal.
2354 * HttpRequest.cs: allow setting QueryStringRaw, which
2355 invalidates the data obtained from the previous value. Added internal
2358 * HttpServerUtility.cs: implemented Execute and GetLastError.
2360 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2362 * HttpServerUtility.cs: style.
2364 2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2366 * HttpApplication.cs: only execute the EndRequest step on error
2367 condition or request marked as completed. This prevent page events from
2368 being called when, for example, the url authorization module forbids
2371 2003-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2373 * HttpRequest.cs: implemented the indexer.
2375 2003-02-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2377 * HtmlizedException.cs: base class for exceptions that makes it easy to
2378 generate error pages.
2380 * HttpException.cs: improved error displaying.
2382 * HttpRuntime.cs: removed debugging output.
2384 2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2386 * HttpApplication.cs: display the error instead of hanging when we get
2387 any error before the last step of the request.
2389 2003-02-04 Tim Haynes <thaynes@openlinksw.com>
2391 * HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement
2394 2003-01-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2396 * HttpRequest.cs: added BaseVirtualDir property and use it in MapPath.
2398 2003-01-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2400 * HttpRequest.cs: implemented CurrentExecutionFilePath.
2402 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2404 * HttpApplication.cs: keep _lasterror if no context. Attach
2405 application events *after* modules initialization (if not, User is not
2406 set when the user handler is called).
2408 * HttpApplicationFactory.cs: made all methods related to
2409 AttachEvents static. I will fix OnStart/OnEnd for application and
2412 * HttpRequest.cs: don't initialize cookies twice.
2414 2003-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2417 (ApplyAppPathModifiers): return the root directory for "".
2419 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2421 * HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException.
2423 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2425 * HttpApplication.cs: added new state to handle default authentication.
2427 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2429 * HttpContext.cs: removed hack to get the User.
2431 2003-01-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2433 * HttpUtility.cs: fixed bug #36038. Thanks to juancri@tagnet.org for
2434 reporting the bug and how to fix it.
2436 2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2438 * HttpCookie.cs: send 'expires' in the header.
2440 2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2442 * HttpValueCollection.cs: patch from Botjan Vizin
2443 <bostjan.vizin@siol.net> that implements ToString (bool).
2445 2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2447 * HttpApplicationFactory.cs: add the context as parameter when building
2448 the application Type.
2450 * HttpCookie.cs: new internal constructor.
2451 * HttpCookieCollection.cs: new internal method to make a cookie expire.
2453 * HttpRequest.cs: MapPath fixes.
2454 * HttpResponse.cs: implemented ApplyAppPathModifier.
2455 * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
2457 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2459 * HttpContext.cs: hack to create a default user when there's no one.
2460 Implemented GetConfig (string).
2462 * HttpRequest.cs: fixes to MapPath (string).
2464 2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2466 * HttpRuntime.cs: avoid nulls and exception when getting resource
2469 * StaticFileHandler.cs: added file name to error message.
2471 2002-12-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2473 * HttpResponse.cs: avoid sending chunked content for HTTP/1.1.
2475 2002-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2477 * HttpApplicationFactory.cs: get the events from the application class,
2478 fire Application/Session Start/End and add the others as application
2481 2002-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2483 * HttpApplicationFactory.cs: compile global.asax file if it exists.
2485 2002-11-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2487 * HttpRequest.cs: provide a default Browser until we detect it.
2489 (End): do not close the connection here.
2490 (Flush (bool)): send the headers when, for example, Redirect () is
2493 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2495 * HttpException.cs: simple error output.
2497 2002-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2499 * HttpApplication.cs: style.
2500 * HttpException.cs: style.
2501 * HttpRuntime.cs: only flush the response if there are no errors.
2502 Otherwise, write an error output.
2503 * HttpWriter.cs: change Unicode to UTF8.
2505 2002-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2507 * HttpApplication.cs: don't begin the request using ExecuteNextAsync
2508 (it fails to work on NetServ).
2510 * HttpWorkerRequest.cs: typo.
2512 2002-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2514 * HttpValueCollection.cs: the value may contain trailing '=' as it is
2515 UrlEncoded. Don't split name=value based on '='.
2517 2002-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2519 * HttpCookie.cs: made GetCookieHeader internal.
2521 * HttpRequest.cs: get cookies from request.
2523 * HttpResponse.cs: send cookies. Implemented
2524 AddFileDependencies (). Added check for _Writer == null in Flush
2525 (Patrik ;-). Clear the content if HEAD or SupressContent == true.
2526 Removed redirect hack used in old server.
2528 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2530 * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at
2531 most ContentLength bytes.
2533 * HttpResponse.cs: now it sends the headers. Added
2534 X-Powered-By header :-).
2536 * HttpRuntime.cs: fixed typo.
2538 * HttpValueCollection.cs: cosmetic changes.
2540 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2542 * HttpApplication.cs: reenabled a few lines of code
2543 (ThreadPool already fixed).
2548 * HttpValueCollection.cs:
2549 * HttpWriter.cs: Use WebEncoding.Encoding.
2551 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2553 * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8.
2554 This fixes sending bytes and allows mixing byte with chars.
2556 2002-10-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2558 * HttpResponse.cs: implemented WriteFile methods.
2559 * MimeTypes.cs: removed duplicated entries.
2561 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2563 * HttpResponse.cs: don't throw exception in a couple of
2564 methods not yet implemented.
2566 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2568 * HttpApplication.cs: fixed type and handle factories when creating
2569 IHttpHandler for a request.
2571 2002-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2573 * HttpApplication.cs: use handlers from configuration.
2574 * HttpContext.cs: get handlers from ConfigurationSettings.
2576 2002-10-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2578 * HttpMethodNotAllowedHandler.cs:
2580 * StaticFileHandler.cs: Modified file.
2582 * HttpUtility.cs: implemented all missing methods.
2585 2002-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2587 * System.Web/HttpApplication.cs: use the static file handler.
2588 * System.Web/HttpForbiddenHandler.cs: handler to forbid access.
2589 * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not
2592 * System.Web/HttpUtility.cs: finished all UrlDecode methods.
2593 * System.Web/MimeTypes.cs: map from file extension to MIME type.
2594 * System.Web/StaticFileHandler.cs: serves static files
2596 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2598 * System.Web/HttpApplication.cs:
2599 * System.Web/HttpApplicationFactory.cs:
2600 * System.Web/HttpRequest.cs:
2601 * System.Web/HttpRuntime.cs: we are now able to compile pages and use
2602 HttpApplication, HttpRuntime and SimpleWorkerRequest.
2604 2002-09-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2606 * HttpApplication.cs: added some missing methods.
2607 * HttpApplicationFactory.cs: get event handlers for the application.
2608 * HttpAsyncResult.cs: little fixes.
2609 * HttpRequest.cs: make Encoding work even with no worker request.
2611 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2613 * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot
2614 to add HttpMapPath to the list file...
2616 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2618 * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug
2619 report when i get a test case.
2621 2002-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2623 * HttpApplicationFactory.cs:
2624 * HttpCachePolicy.cs:
2625 * HttpResponseHeader.cs:
2626 * HttpResponseStream.cs:
2627 * HttpResponseStreamProxy.cs:
2628 * HttpValueCollection.cs: misc. fixes based on class status page.
2630 * IHttpMapPath.cs: New file.
2632 * HttpRequest.cs: implemented ContentEncoding.
2633 * HttpWorkerRequest.cs: mono-stylized and implemented
2634 SendResponseFromMemory.
2636 2002-08-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2638 * HttpContext.cs: reformatted.
2639 * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and
2642 2002-08-05 Patrik Torstensson <ptorsten@hotmail.com>
2644 * HttpApplication.cs: Implemented a state machine to allow handling of
2645 HttpModules and HttpHandlers. Implementation of async handlers.
2647 * HttpApplicationFactory.cs: Factory for creating HttpApplication
2648 instances, including caching.
2650 * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a
2651 application instance to execute requests in and implementation of
2652 request execution (still no request queue).
2654 * HttpAsyncResult.cs: New file to handle async module results.
2656 * HttpRequest.cs: Change signature of Dispose
2657 * HttpResponse.cs: new internal method allowing filtering to happen
2658 during the request flow in the state machine.
2660 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2662 * HttpApplication.cs: events were not being initialized.
2664 2002-07-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2666 * ProcessModelInfo.cs: fixed compilation.
2668 2002-07-25 Tim Coleman <tim@timcoleman.com>
2669 * ProcessModelInfo.cs:
2671 * HttpParseException.cs:
2672 * HttpCompileException.cs:
2673 * HttpUnhandledException.cs:
2674 Internal constructors added to these
2676 2002-07-24 Tim Coleman <tim@timcoleman.com>
2678 Fix constructor, reference to shutdownreason.
2680 2002-07-24 Tim Coleman <tim@timcoleman.com>
2681 * HttpCachePolicy.cs:
2682 Added stubbs to this class.
2683 * HttpCacheability.cs:
2684 * HttpCacheRevalidation.cs:
2685 * HttpValidationStatus.cs:
2686 * ProcessShutdownReason.cs:
2689 Reorder the enumerations (and in some cases make
2690 one-based) in order to agree with the .NET
2691 implementation, based on the class status page.
2693 Implementation of this class.
2695 2002-07-23 Tim Coleman <tim@timcoleman.com>
2696 * HttpCompileException.cs:
2697 * HttpParseException.cs:
2698 * HttpUnhandledException.cs:
2700 * HttpApplication.cs:
2701 * HttpBrowserCapabilities.cs:
2702 Added missing methods stubbs and attributes based
2703 on the class status page. Also reformatted some
2704 source for consistency.
2706 2002-07-23 Tim Coleman <tim@timcoleman.com>
2707 * HttpUtility.cs: Moved entities hashtable into main
2708 class as a static object, so we don't instantiate
2709 a new one every time. Also put the hashtable
2710 building into a lock block.
2712 2002-07-22 Tim Coleman <tim@timcoleman.com>
2713 * HttpUtility.cs: Cleanup of the code, implementation
2714 of HtmlDecode/HtmlEncode functions
2716 2002-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2718 * HttpResponse.cs: quick&dirty hack to make redirection work. Should
2719 be out of there once we have SimpleWorkerRequest.
2721 2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2723 * HttpUtility.cs: little typo, big headache.
2725 2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2727 * HttpRuntime.cs: don't throw NotImplemented in a couple of methods.
2729 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2731 * System.Web/HttpResponse.cs:
2733 Fixes based on class status page:
2735 - Add attributes (DefaultEvent, ParseChildren).
2737 - Explicitly implement some interfaces (IPostBackDataHandler
2738 and IPostBackEventHandler).
2739 - Implemented some missing methods.
2741 2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2744 (Session): return null instead of throwing an exception.
2747 (HttpMethod): return RequestType if not set.
2748 (GetRawContent): return QueryString if we don't have a
2751 * HttpUtility.cs: fixed Decode and Encode.
2753 2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2755 * HttpApplication.cs:
2756 * HttpContext.cs: added System.Web.SessionState namespace.
2758 * HttpSessionState.cs: removed. It is under
2759 System.Web.SessionState.
2761 2002-06-10 Duncan Mak <duncan@ximian.com>
2763 * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo.
2765 2002-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2767 * HttpRequest.cs: implemented Browser property.
2769 2002-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2771 * HttpBrowserCapabilities.cs: stubbed out.
2773 2002-05-18 Miguel de Icaza <miguel@ximian.com>
2775 * HttpRuntime.cs: Reformat file.
2777 2002-05-07 Duncan Mak <duncan@ximian.com>
2779 * HttpBrowserCapabilities.cs: Added, replacing
2780 HttpBrowserCapabilites because of typo.
2782 * HttpBrowserCapabilites.cs: Removed, replaced by above.
2784 * HttpRequest.cs (Browser): Fixed typo.
2786 2002-04-12 Patrik Torstensson <patrik.torstensson@labs2.com>
2788 * HttpApplication.cs: Minor updates
2789 * HttpApplicationState.cs: Ready.
2790 * HttpClientCertificate.cs: Signature updates
2791 * HttpValueCollection.cs: ready
2792 * HttpStaticObjectsCollection.cs: ready
2793 * HttpResponseHeader.cs: made internal only
2794 * HttpResponse.cs: Signature updates
2795 * HttpPostedFile.cs: ready
2796 * HttpCacheVaryByHeaders.cs: ready (except communication to policy)
2797 * HttpCacheVaryByParams.cs: ready (except communication to policy)
2799 System.Web is now over 60% ready..
2801 2002-04-11 Patrik Torstensson <patrik.torstensson@labs2.com>
2803 * HttpException.cs: 95% ready, only windows dependent code left
2804 * HttpFileCollection.cs: Finished.
2805 * HttpRequest.cs: Minor fixes and fixed signature problems
2806 * HttpResponse.cs: Implementation of missing methods and signature problems
2807 * HttpResponseHeader.cs: Fixed signature problems
2808 * HttpRuntime.cs: Fixed signature problems
2809 * HttpServerUtility.cs: Added support for HttpApplication
2810 * HttpSessionState.cs: Fixed signature issues
2811 * HttpUtility.cs: fixed signature issues
2812 * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues
2813 * HttpWorkerRequest.cs: Fixed small signature issue
2814 * HttpWriter.cs: Fixed signature issue
2815 * HttpApplication.cs: Basic implementation
2816 * HttpApplicationState.cs: Small fixes to support major change comming up
2817 * HttpBrowserCapabilities.cs: Added Type method
2818 * HttpClientCertificate.cs: Almost ready, needs to parse certificate.
2819 * HttpContext.cs: Fixed signature issues and added last methods.
2820 * HttpCookie.cs: Full implementation
2821 * HttpCookieCollection.cs: Full implementation
2822 * TraceContext.cs: Methods implemented.
2823 * HttpPostedFile.cs: Placeholder
2824 * HttpStaticObjectsCollection.cs: Placeholder
2825 * HttpModuleCollection.cs: Ready, will be used during the major revamp.
2827 * Fixed a number of other small signature problems also (class status page)
2830 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
2832 * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest)
2833 * Checkin of all new files (noted in last changenote)
2835 2002-04-10 Patrik Torstensson <patrik.torstensson@labs2.com>
2837 * HttpContext.cs: First implementation (basic support, few methods left to impl)
2838 * HttpException.cs: Partial implementation (basic support)
2839 * HttpHelper.cs: Header parse helper, used by runtime (non public)
2840 * HttpRequest.cs: Implementation (all methods there, not all fully impl)
2841 * HttpRequestStream.cs: Full implementation
2842 * HttpResponse.cs: Partial implementation(almost all methods)
2843 * HttpResponseHeader.cs: Header helper
2844 * HttpResponseStream.cs: Full implementation - Response stream support
2845 * HttpResponseStreamProxy.cs: Implementation - filter support
2846 * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime)
2847 * HttpServerUtility.cs: Implemented usage of HttpContext for methods
2848 and moved encoding functions to HttpUtility.
2850 * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and
2851 added the Attribute encoding functions.
2853 * HttpValueCollection.cs: Implementation.
2854 * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready)
2855 * HttpWriter.cs: Implementation (with filter support)
2857 * HttpFileCollection: Added dummy class (placeholder)
2858 * HttpApplication.cs: Added dummy class (placeholder)
2859 * HttpApplicationState.cs: Added dummy class (placeholder)
2860 * HttpBrowserCapabilities.cs: Added dummy class (placeholder)
2861 * HtttpCachePolicy.cs: Added dummy class (placeholder)
2862 * HttpClientCertificate.cs: Added dummy class (placeholder)
2863 * HttpSessionState.cs: Added dummy class (placeholder)
2864 * TraceContext.cs: Added dummy class (placeholder)
2867 2002/04/10 Nick Drochak <ndrochak@gol.com>
2869 * HttpServerUtility.cs: Fix build breaker.
2871 2002-03-28 Wictor Wiln <wictor@iBizkit.se>
2873 * HttpServerUtils.cs : Added some more functionality
2875 2002-03-28 Martin Baulig <martin@gnome.org>
2877 * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
2878 char to a string, use ToString() instead.
2880 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
2882 * WebCategoryAttribute.cs
2883 : Added private attribute.
2885 2002-03-16 Gaurav Vaish <gavish@iitk.ac.in>
2887 * HttpRuntime.cs : Stubbed methods for
2888 FormatStringResource(...) in agreement with the various
2889 overloads available at String.Format(...)
2891 2002-01-08 Gaurav Vaish <gavish@iitk.ac.in>
2893 * TODOAttribute.cs : Added, as an internal class to the assembly
2895 2002-01-03 Nick Drochak <ndrochak@gol.com>
2897 * HttpRuntime.cs: remove uneeded exception variable from catch and
2898 initialize remaining instance members to avoid compile warnings
2900 2002-01-02 Nick Drochak <ndrochak@gol.com>
2902 * HttpRuntime.cs: fix spelling error/variable name change.
2904 2001-12-18 Gaurav Vaish <gvaish@iitk.ac.in>
2906 * HttpRuntime.cs : Initial implementation
2908 2001-08-29 Bob Smith <bob@thestuff.net>
2910 * HttpWorkerRequest.cs: Partial Implementation.
2912 2001-08-16 Bob Smith <bob@thestuff.net>
2914 * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes.
2916 2001-08-09 Bob Smith <bob@thestuff.net>
2918 * BeginEventHandler.cs: Implemented.
2919 * EndEventHandler.cs: Implemented.
2920 * HttpCacheability.cs: Implemented.
2921 * HttpCacheRevalidation.cs: Implemented.
2922 * HttpCacheValidateHandler.cs: Implemented.
2923 * HttpCookieCollection.cs: Implemented.
2924 * HttpCookie.cs: Implemented.
2925 * HttpValidationStatus.cs: Implemented.
2926 * HttpWorkerRequest.EndOfSendNotification.cs: Implemented.
2927 * IHttpAsyncHandler.cs: Implemented.
2928 * IHttpHandler.cs: Implemented.
2929 * IHttpHandlerFactory.cs: Implemented.
2930 * IHttpModule.cs: Implemented.
2931 * ProcessShutdownReason.cs: Implemented.
2932 * ProcessStatus.cs: Implemented.
2933 * TraceMode.cs: Implemented.