* HttpResponse.cs: Actually apply an app path modifier in
[mono.git] / mcs / class / System.Web / System.Web / ChangeLog
index 7544a579a1f76d5d6c4a596edd8aeec8a257af63..d83ed4e500f13ff11e7bb8bb5f704b859de4b4a6 100644 (file)
@@ -1,3 +1,286 @@
+2003-12-03  Jackson Harper <jackson@ximian.com>
+
+       * HttpResponse.cs: Actually apply an app path modifier in
+       ApplyAppPathModifer and add a method to set the app path modifier.
+       * HttpRequest.cs: Add utility method for setting a request header.
+       
+2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpApplication.cs: handle FileNotFound and DirectoryNotFound
+       exceptions when creating the handler to generate a better error page.
+
+       * HttpException.cs: display the http_code if available.  Changed all
+       \n by \r\n to make the hidden stack trace readable.
+       
+       * StaticFileHandler.cs: don't send the real path in th eerror.
+
+2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpContext.cs: updated GetConfig and GetAppConfig to new API.
+       
+       * HttpResponse.cs: separate initialization of the HttpWriter, as it
+       tries to read configuration settings while the config. system is not
+       available (ie, before the first request).
+       
+       * HttpRuntime.cs: delayed queueManager and response writer
+       initialization until the configuration system is working.
+
+2003-11-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpRuntime.cs: added request queue handling.
+
+       * QueueManager.cs: simple request queue.
+       
+       * TimeoutManager.cs: added some locks to prevent the enumerator used in
+       CheckTimeouts to be out of synch.
+
+2003-11-25  Jackson Harper <jackson@ximian.com>
+
+       * HttpStaticObjectsCollection.cs: Add methods for serialization
+       and conversion to/from byte arrays.
+       
+2003-11-21  Jackson Harper <jackson@ximian.com>
+
+       * HttpResponse.cs: When caching data set the content length in the
+       cached repsonse so that only that amount will be written back to
+       the client. Add method to write a range of binary data.
+       * HttpCacheVaryByParams.cs: Add method to retrieve param names.
+       
+2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpApplication.cs:
+       * HttpContext.cs:
+       * HttpRuntime.cs: add timeout handling.
+       * TimeoutManager.cs: new class that takes care of aborting threads on
+       timeout.
+
+2003-11-19  Jackson Harper <jackson@ximian.com>
+
+       * HttpWriter.cs: Use a constant for the buffer size so the cache
+       can get the buffer size. Add method to get the buffer.
+       * HttpResponse.cs: Methods for getting data to cache, and setting
+       vars from the cache.
+       * HttpCachePolicy.cs: Expose a pages cache expire time.
+       
+2003-11-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpResponse.cs: 
+       * HttpWriter.cs: some fixes to allow closing a response stream without
+       messing the rest.
+
+2003-11-13  Jackson Harper  <jackson@ximian.com>
+
+       * HttpCachePolicy.cs: Make sure cacheability and maxage get
+       set. Add method to set Http response header data
+       * HttpCacheVaryByParams.cs: Add method to create a response header.
+       * HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
+       * HttpResponse.cs: Set cache headers.
+       
+2003-11-11 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * HttpModuleCollection.cs (GetKey): Recursion, again!
+
+2003-11-11 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * HttpClientCertificate.cs (ValidUntil): recursion!
+
+2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * SiteMapNode.cs (GetDataSourceView): Implement.
+       * SiteMapProvider.cs: Typo fixing.
+       * XmlSiteMapProvider.cs: We shouldnt resolve here.
+       
+2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * SiteMap.cs (Init): implement a hack that doesnt need the config
+       stuff. Should do that later.
+       * SiteMapNodeCollection (OnValidate): Fix recursion.
+       * SiteMapProvider.cs: We dont implement some culture stuff work
+       around it. Fix typo.
+       * XmlSiteMapProvider.cs: Added.
+       
+2003-11-07 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * ISiteMapProvider.cs:
+       * SiteMap.cs:
+       * SiteMapNode.cs:
+       * SiteMapNodeCollection.cs:
+       * SiteMapProvider.cs:
+       * SiteMapProviderCollection.cs: V2 sitemap related stuff.
+
+2003-11-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpRequest.cs: don't attempt to read more bytes than specified
+       content length.
+
+2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpRequest.cs:
+       * HttpResponse.cs:
+       * HttpUtility.cs:
+       * HttpValueCollection.cs: encoding fixes/updates.
+
+       * HttpWriter.cs: when updating the encoding, flush the existing stream.
+       Encoding updates.
+
+2003-11-04 Ben Maurer  <bmaurer@users.sourceforge.net>
+
+       * HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just
+       return false (which makes sense, as the custom errors *arent* enabled;
+       ie they dont work.
+       * HttpResponseStream.cs: you actually can write with len = 0
+
+2003-11-03 Jackson Harper <jackson@ximian.com>
+
+       * HttpResponse.cs (ContentEncoding): Throw
+       ArgumentNullException. Patch by Yaron Shkop.
+       
+2003-10-30  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
+
+       * HttpMultipartContentParser.cs : Quick fix for cygwin build. 
+         CSC complains that constant char cannot be casted as byte.
+
+2003-10-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpApplication.cs: added AssemblyLocation property.
+
+2003-10-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpApplicationFactory.cs: use NoParamsInvoker.
+       * HttpRequest.cs: support request filters.
+       * HttpRequestStream.cs: mono-stylized and added new Set method.
+
+       * NoParamsInvoker.cs: proxy class to invoke user-provided methods
+       without parameters that are invoked by EventHandlers.
+
+2003-10-13  Lluis Sanchez Gual <lluis@ximian.com>
+
+       * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
+         to invariant culture.
+
+2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpResponse.cs:
+       * HttpServerUtility.cs: change the response writer in Execute. Thanks
+       to Rich Alimi <rich@velvetsea.net> for noticing this.
+
+2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpApplicationFactory.cs: support for wiring up events without
+       parameters.
+
+2003-10-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpUtility.cs: small memory usage reduction.
+
+2003-10-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpApplication.cs: pass the Uri, not the file path to
+       when looking for a handler.
+
+2003-09-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpRequest.cs: small fix needed when reading big POST data.
+
+2003-09-04  Lluis Sanchez Gual <lluis@ximian.com>
+
+       * HttpRequest.cs: Url property: use GetLocalAddress() to get the address
+         (this will get the address from the request headers).
+
+2003-09-04  Lluis Sanchez Gual <lluis@ximian.com>
+
+       * HttpServerUtility.cs: In Transfer(), preserve the query string if
+         told to do so.
+
+2003-08-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpApplication.cs: ensure we do all the EndRequest steps. Don't
+       filter the output on error.
+       
+       * HttpResponse.cs: modified DoFilter to allow bypassing filtering.
+
+2003-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpApplication.cs: when the request is completed or an
+       error happens, execute all the delegates attached to EndRequest, not
+       only the last one. This makes xsp/test/authtest work again.
+       
+       * HttpMethodNotAllowedHandler.cs: fixed description for http
+       status code.
+
+2003-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpRequest.cs: quick way of checking that the path is within the
+       root for the application. Thanks to Johannes for reporting.
+       
+       * HttpRuntime.cs: use the status code from teh exception when it'ss a
+       HttpException.
+
+       * StaticFileHandler.cs: forbidden is 403.
+
+2003-08-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpServerUtility.cs: fixed path and query. Path by Rich Alimi
+       <rich@velvetsea.net>.
+
+2003-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpException.cs: make the unhandled error more like the MS one.
+       * HttpRuntime.cs: set a 500 error code on unhandled exceptions.
+
+2003-08-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpResponse.cs: flush headers when the body length is 0.
+       * StaticFileHandler.cs: added If-Modified-Since handling patch slightly
+       modified from the original by Piers Haken <piersh@friskit.com>.
+
+2003-08-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpResponse.cs: another patch from totte and me. This one prevents
+       writing output if the client have disconnected and filters the data
+       when there's a non-final Flush in the middle of the process.
+
+2003-08-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpApplication.cs: fixed typos. Closes bug #44197.
+
+2003-08-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpApplication.cs:
+       * HttpApplicationFactory.cs: fix duplicate application OnStart events.
+
+       Patch by Patrik Torstensson.
+
+2003-08-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
+       overload. The previous one only admits static methods.
+
+2003-08-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * ProcessModelInfo.cs: Fixed signature
+
+2003-07-30  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * WebCategoryAttribute.cs: Implemented localization
+       * WebSysDescriptionAttribute.cs: Implemented localization
+
+2003-07-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpRuntime.cs: also clear the headers that may have been set upon
+       error processing the request.
+
+2003-07-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in
+       Write method.
+
+       * HttpWriter.cs: flush the filter after writing.
+
+2003-07-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer.
+
 2003-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * HttpContext.cs: Session doesn't have a setter.