[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / System.Web / System.Web / ChangeLog
index 4e10f2ff3211b65dd37c0b0600b33f056ece8f71..320e428260ba29f14c83dae1eecd1e422c90bd54 100644 (file)
@@ -1,3 +1,274 @@
+2010-07-21  Miguel de Icaza  <miguel@novell.com>
+
+       * HttpApplication.cs, HttpRuntime.cs, HttpApplicationFactory.cs:
+       Prepare for the runtime change that will terminate threadpool
+       threads when exception are not caught.
+
+2010-06-27  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpUtility.cs: if IHtmlString instance is passed to HtmlEncode
+       (object), use IHtmlString.ToHtmlString () to return the value
+       without encoding it.
+
+2010-06-02  Marek Habersack  <mhabersack@novell.com>
+
+       * DefaultHttpHandler.cs: implemented, so that static file requests
+       work again in 4.0
+
+2010-06-01  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpUtility.cs: moved chunks of code to the new
+       System.Web.Util.HttpEncoder class.
+
+       * HttpResponseHeader.cs: encode header names and values using
+       HttpEncoder.
+
+       * HttpRequest.cs: added internal method Validate, to validate the
+       request in 4.0 profile.
+
+       * HttpHeaderCollection.cs: added. A helper class to encode header
+       names/values on add.
+
+       * HttpApplication.cs: Pipeline () validates request by calling
+       HttpRequest.Validate in the 4.0 profile.
+
+2010-05-17  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpApplicationFactory.cs: pre-application start methods must be
+       called even before App_Code is compiled.
+
+2010-05-16  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpApplicationFactory.cs: let BuildManager know when it's safe
+       to cache referenced assemblies.
+
+2010-05-15  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpResponse.cs: added internal Context property
+
+       * HttpRequest.cs: added a setter to the internal Context property
+
+       * HttpContext.cs: set request and response Context properties to
+       'this' in the constructor.
+
+2010-05-12  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpApplicationFactory.cs: when initializing new application
+       type, make sure to call pre-application start methods.
+
+       * HttpServerUtility.cs: Execute checks whether
+       IAsyncResult.AsyncWaitHandle is not null before attempting to use
+       it. Fixes bug #604502
+
+2010-05-06  Marek Habersack  <mhabersack@novell.com>
+
+       * PreApplicationStartMethodAttribute.cs: added. New 4.0 type.
+
+       * HttpUtility.cs: HtmlEncode, UrlEncode changes for 4.0
+       Implemented JavaScriptStringEncode for 4.0
+
+       * HttpServerUtility.cs: added TransferRequest methods.
+
+       * HttpRuntime.cs: added AspClientScriptPhysicalPath,
+       AspClientScriptVirtualPath, UsingIntegratedPipeline properties and
+       the GetNamedPermissionSet method.
+
+       * HttpResponse.cs: implemented the following 4.0 methods:
+       RedirectPermanent, RedirectToRoute, RedirectToRoutePermanent and
+       RemoveOutputCacheItem.
+       Output property no longer lazily creates a writer object - it's
+       created in the internal constructors. If a user sets it to null,
+       it remains null for good or bad.
+       Added Output setter for 4.0+
+
+2010-05-05  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpRequest.cs: implemented new 4.0 property - RequestContext
+
+2010-04-29  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpRequest.cs: added 4.0 InsertEntityBody overloads (not
+       supported when running under Mono)
+       Added the HttpChannelBinding 4.0 property.
+       Added the CurrentExecutionFilePathExtension 4.0 property.
+
+2010-04-27  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpException.cs: implemented 4.0 property WebEventCode, also
+       made it available in the 2.0 profile as internal.
+       Added a method with several overloads, NewWithCode, which creates
+       an instance of HttpException and sets the web error code.
+
+       * HttpApplication.cs, HttpRequest.cs, HttpRuntime.cs: use HttpException.NewWithCode for some
+       exceptions.
+
+2010-04-21  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpApplication.cs: update to fix for bug #572469 - ProcessError
+       clears the error after handler return only if stop_processing is
+       true. Also, stop_processing is never set before calling ProcessError
+
+2010-04-02  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpException.cs: handle situations when current exception is an
+       instance of a class derived from HttpException and there's no
+       InnerException.
+
+       * HttpApplication.cs: ProcessError must call ClearError on the
+       current context after the handler returns without error. Fixes bug
+       #572469
+
+2010-03-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * HttpResponseStream.cs: speed up short writes.
+
+2010-03-20  Marek Habersack  <mhabersack@novell.com>
+
+       * SiteMapNode.cs: avoid calling ChildNodes twice in HasChildNodes.
+       Cache child nodes in the ChildNodes property.
+
+2010-03-06  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpRequest.cs: cache RawUrl value.
+       Added new internal property, PathNoValidation, which returns
+       request path without validating it.
+       Implemented 4.0 extensible validation.
+
+       * HttpApplication.cs: Pipeline () validates the request path, if
+       new validation mode is enabled, before doing anything else.
+       Added a generic LoadType overload which checks whether the loaded
+       type, if any, derives from the type specified in the method's
+       specialization.
+
+       * HttpUtility.cs: decode entities which use hexadecimal
+       encoding. Fixes bug #585992. Patch from Sebastien Morin
+       <smsisko@gmail.com>, thanks!
+
+2010-03-04  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpRuntime.cs: do less work in the static constructor. Most of
+       the code was moved to System.Web.Util.RuntimeHelpers. Properties
+       which have been moved: MonoVersion, RunningOnWindows,
+       CaseInsensitive, IsDebuggingEnabled
+
+2010-02-27  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpRuntime.cs: added internal property DomainUnloading.
+
+       * HttpApplication.cs: when app domain is unloading, catch
+       ThreadAbortExceptions and reset the abort.
+
+2010-02-03  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpApplication.cs: GetOutputCacheProviderName returns the value
+       of OutputCache.DefaultProviderName
+
+       * HttpRuntime.cs: internal cache is used to hold the dependencies
+       now.
+
+2010-01-20  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpContext.cs: implemented the 4.0 SetSessionStateBehavior
+       method
+
+       * HttpCacheVaryByContentEncodings.cs, HttpCacheVaryByHeaders.cs,
+       HttpCacheVaryByParams.cs : parameterless constructors are public
+       in 4.0
+
+       * HttpApplication.cs: implemented the 4.0
+       GetOutputCacheProviderName method
+
+2010-01-19  Marek Habersack  <mhabersack@novell.com>
+
+       * StaticSiteMapProvider.cs: AddNode checks the url of node
+       returned by FindSiteMapNode to see if it indeed was a
+       duplicate. It is necessary if application derives from
+       StaticSiteMapProvider and overrides FindSiteMapNode to return
+       RootNode if rawUrl doesn't match any existing node. Fixes bug
+       #570194
+
+2010-01-09  Marek Habersack  <mhabersack@novell.com>
+
+       * VirtualPathUtility.cs: small optimizations for GetDirectory
+
+2009-11-23  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpRequest.cs: PathInfo returns an empty string when worker
+       request is absent or its GetPathInfo method returns a null. Patch
+       from Tiaan <tagdev@gmail.com>, thanks!
+
+2009-11-19  Marek Habersack  <mhabersack@novell.com>
+
+       * VirtualPathUtility.cs: made Normalize internal
+
+2009-11-16  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpContext.cs: RewritePath now treats non-rooted and
+       app-relative paths correctly - the former are formed by
+       concatenating base virtual path with the passed file path and the
+       latter by calling VirtualPathUtility.ToAbsolute. Rooted and
+       absolute paths are left unmodified. Fixes bug #550103
+
+2009-11-13  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpResponse.cs: added parameter checks to Redirect ().
+       If the passed url starts with http:, https:, file: or ftp: then it
+       is treated as a fully qualified one and no attempt to rewrite the
+       url to the fully qualified form (if system.web/httpRuntime
+       UseFullyQualifiedRedirectUrl is true) is made.
+
+2009-11-09  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpCookie.cs: made HttpCookie.CookieNVC serializable. Patch
+       from Sean Foy <sean.foy+novell@gmail.com>, thanks! Fixes bug
+       #553063
+
+       * HttpCookieCollection.cs: Add allows for duplicate cookie
+       names. Fixes bug #553150
+
+2009-10-30  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpRequest.cs: added internal property ClientFilePath, which
+       may have a different value than FilePath when virtual path has
+       been rewritten, but the caller specified that the client paths
+       should still be constructed using the original url.
+
+       * HttpContext.cs: RewritePath always sets Request.FilePath,
+       Request.ClientFilePath is set only when setClientFilePath is
+       true. This makes client urls work correctly when url rewriting is
+       being used.
+
+2009-10-20  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpResponse.cs: implemented the WriteSubstitution method,
+       thus enabling post-cache substitution.
+
+2009-10-12  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpResponse.cs: actually _use_ the url passed to Redirect when
+       fully qualified redirect url is requested, doh. Fixes bug #542846
+
+2009-10-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * StaticFileHandler.cs: it's the last flush even when a VPP is used.
+
+2009-10-07  Marek Habersack  <mhabersack@novell.com>
+
+       * TraceData.cs: make long execution times stand out.
+
+2009-09-29  Miguel de Icaza  <miguel@novell.com>
+
+       * HttpUtility.cs: Do not use CAS Attributes when using MonoTouch.
+
+       Remove unnecesasry using clause.
+
+2009-09-29  Marek Habersack  <mhabersack@novell.com>
+
+       * HttpResponse.cs: use full url in redirect if
+       UseFullyQualifiedRedirectUrl is set to true in httpRuntime
+       configuration section. Patch from Brett Kiefer
+       <brett@fogcreek.com>, thanks! Fixes bug #542846
+
 2009-09-28  Marek Habersack  <mhabersack@novell.com>
 
        * HttpContext.cs: GetResourceProvider - renamed the 'key' argument