2003-08-19 Gonzalo Paniagua Javier * 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 * 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 . 2003-08-14 Gonzalo Paniagua Javier * 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 * HttpApplication.cs: fixed typos. Closes bug #44197. 2003-08-12 Gonzalo Paniagua Javier * HttpApplication.cs: * HttpApplicationFactory.cs: fix duplicate application OnStart events. Patch by Patrik Torstensson. 2003-08-11 Gonzalo Paniagua Javier * HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate overload. The previous one only admits static methods. 2003-08-01 Andreas Nahr * ProcessModelInfo.cs: Fixed signature 2003-07-30 Andreas Nahr * WebCategoryAttribute.cs: Implemented localization * WebSysDescriptionAttribute.cs: Implemented localization 2003-07-23 Gonzalo Paniagua Javier * HttpRuntime.cs: also clear the headers that may have been set upon error processing the request. 2003-07-23 Gonzalo Paniagua Javier * HttpResponseStreamProxy.cs: reformatted. Fixed infinite recursion in Write method. * HttpWriter.cs: flush the filter after writing. 2003-07-22 Gonzalo Paniagua Javier * HttpWriter.cs: avoid duplicating the MemoryStream byte buffer. 2003-07-08 Gonzalo Paniagua Javier * HttpContext.cs: Session doesn't have a setter. * HttpResponse.cs: Request is private. 2003-07-03 Gonzalo Paniagua Javier * HttpRequest.cs: fixed Headers property. It was getting known headers values instead of known headers names. 2003-07-01 Gonzalo Paniagua Javier * HttpApplication.cs: prevent nullref if an error happens before context is set. * HttpException.cs: small fix in the stack trace sent. * HttpUtility.cs: the lock is not needed. 2003-06-30 Gonzalo Paniagua Javier * HttpRequest.cs: added REMOTE_PORT. * HttpValueCollection.cs: fixed bug #45490. 2003-05-13 Gonzalo Paniagua Javier * HttpApplication.cs: * HttpApplicationFactory.cs: fire application start and session start/end events. 2003-05-06 Gonzalo Paniagua Javier * HttpException.cs: encode as HTML the inner exception that is appended as a comment at the end of error pages. 2003-05-03 Gonzalo Paniagua Javier * HttpWriter.cs: don't do anything in Flush. Fixes #42249. 2003-05-01 Gonzalo Paniagua Javier * HtmlizedException.cs: added more virtual methods. * HttpException.cs: some work on the output when there's a source file present. 2003-04-30 Gonzalo Paniagua Javier * HtmlizedException.cs: simplified to cope with the new interface. * HttpApplicationFactory.cs: use the application file parser to get the application Type. * HttpException.cs: small changes. Needs some more work on ParseExceptions. 2003-03-25 Gonzalo Paniagua Javier * HttpRequest.cs: fixed Url property. 2003-03-24 Gonzalo Paniagua Javier * HtmlizedException.cs: * HttpException.cs: display the correct line number in error messages. 2003-03-22 Gonzalo Paniagua Javier * HttpCachePolicy.cs: implemented all TODOs. * HttpRequestStream.cs: make it internal. 2003-03-18 Gonzalo Paniagua Javier * HttpContext.cs: implemented RewritePath in other way. * HttpRequest.cs: removed SetPhysicalPath and added SetForm. * HttpServerUtility.cs: implemented Transfer (string, bool). 2003-03-16 Daniel Lopez Ridruejo * HttpContext.cs : Implemented RewritePath * HttpRequest.cs : Added internal function SetPhysicalPath 2003-03-14 Gonzalo Paniagua Javier * HttpServerUtility.cs: implemented Transfer (). 2003-03-13 Gonzalo Paniagua Javier * HttpRuntime.cs: Cache no longer have a Dispose method. * HttpServerUtility.cs: removed MonoTODO. 2003-03-03 Gonzalo Paniagua Javier * HttpHelper.cs: store the values in an ArrayList to get them in correct order. 2003-02-17 Gonzalo Paniagua Javier * HttpApplicationFactory.cs: Global.asax takes precedence over global.asax if it exists. * HttpRequest.cs: use allowCrossAppMapping in MapPath. 2003-02-17 Gonzalo Paniagua Javier * HttpApplication.cs: CreateHttpHandler is now internal. * HttpRequest.cs: allow setting QueryStringRaw, which invalidates the data obtained from the previous value. Added internal SetFilePath method. * HttpServerUtility.cs: implemented Execute and GetLastError. 2003-02-17 Gonzalo Paniagua Javier * HttpServerUtility.cs: style. 2003-02-13 Gonzalo Paniagua Javier * HttpApplication.cs: only execute the EndRequest step on error condition or request marked as completed. This prevent page events from being called when, for example, the url authorization module forbids the request. 2003-02-12 Gonzalo Paniagua Javier * HttpRequest.cs: implemented the indexer. 2003-02-11 Gonzalo Paniagua Javier * HtmlizedException.cs: base class for exceptions that makes it easy to generate error pages. * HttpException.cs: improved error displaying. * HttpRuntime.cs: removed debugging output. 2003-02-06 Gonzalo Paniagua Javier * HttpApplication.cs: display the error instead of hanging when we get any error before the last step of the request. 2003-02-04 Tim Haynes * HttpApplicationFactory.cs: fixed HttpRuntime.Close() to decrement instance counter. 2003-01-29 Gonzalo Paniagua Javier * HttpRequest.cs: added BaseVirtualDir property and use it in MapPath. 2003-01-17 Gonzalo Paniagua Javier * HttpRequest.cs: implemented CurrentExecutionFilePath. 2003-01-10 Gonzalo Paniagua Javier * HttpApplication.cs: keep _lasterror if no context. Attach application events *after* modules initialization (if not, User is not set when the user handler is called). * HttpApplicationFactory.cs: made all methods related to AttachEvents static. I will fix OnStart/OnEnd for application and session later. * HttpRequest.cs: don't initialize cookies twice. 2003-01-10 Gonzalo Paniagua Javier * HttpResponse.cs: (ApplyAppPathModifiers): return the root directory for "". 2003-01-08 Gonzalo Paniagua Javier * HttpUtility.cs: fixed HtmlDecode to avoid ArgumentOutOfRangeException. 2003-01-04 Gonzalo Paniagua Javier * HttpApplication.cs: added new state to handle default authentication. 2003-01-03 Gonzalo Paniagua Javier * HttpContext.cs: removed hack to get the User. 2003-01-03 Gonzalo Paniagua Javier * HttpUtility.cs: fixed bug #36038. Thanks to juancri@tagnet.org for reporting the bug and how to fix it. 2002-12-20 Gonzalo Paniagua Javier * HttpCookie.cs: send 'expires' in the header. 2002-12-19 Gonzalo Paniagua Javier * HttpValueCollection.cs: patch from Botjan Vizin that implements ToString (bool). 2002-12-18 Gonzalo Paniagua Javier * HttpApplicationFactory.cs: add the context as parameter when building the application Type. * HttpCookie.cs: new internal constructor. * HttpCookieCollection.cs: new internal method to make a cookie expire. * HttpRequest.cs: MapPath fixes. * HttpResponse.cs: implemented ApplyAppPathModifier. * HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath. 2002-12-17 Gonzalo Paniagua Javier * HttpContext.cs: hack to create a default user when there's no one. Implemented GetConfig (string). * HttpRequest.cs: fixes to MapPath (string). 2002-12-12 Gonzalo Paniagua Javier * HttpRuntime.cs: avoid nulls and exception when getting resource format strings. * StaticFileHandler.cs: added file name to error message. 2002-12-05 Gonzalo Paniagua Javier * HttpResponse.cs: avoid sending chunked content for HTTP/1.1. 2002-12-02 Gonzalo Paniagua Javier * HttpApplicationFactory.cs: get the events from the application class, fire Application/Session Start/End and add the others as application events. 2002-11-30 Gonzalo Paniagua Javier * HttpApplicationFactory.cs: compile global.asax file if it exists. 2002-11-27 Gonzalo Paniagua Javier * HttpRequest.cs: provide a default Browser until we detect it. * HttpResponse.cs: (End): do not close the connection here. (Flush (bool)): send the headers when, for example, Redirect () is called. 2002-11-12 Gonzalo Paniagua Javier * HttpException.cs: simple error output. 2002-11-12 Gonzalo Paniagua Javier * HttpApplication.cs: style. * HttpException.cs: style. * HttpRuntime.cs: only flush the response if there are no errors. Otherwise, write an error output. * HttpWriter.cs: change Unicode to UTF8. 2002-11-09 Gonzalo Paniagua Javier * HttpApplication.cs: don't begin the request using ExecuteNextAsync (it fails to work on NetServ). * HttpWorkerRequest.cs: typo. 2002-11-07 Gonzalo Paniagua Javier * HttpValueCollection.cs: the value may contain trailing '=' as it is UrlEncoded. Don't split name=value based on '='. 2002-11-02 Gonzalo Paniagua Javier * HttpCookie.cs: made GetCookieHeader internal. * HttpRequest.cs: get cookies from request. * HttpResponse.cs: send cookies. Implemented AddFileDependencies (). Added check for _Writer == null in Flush (Patrik ;-). Clear the content if HEAD or SupressContent == true. Removed redirect hack used in old server. 2002-10-31 Gonzalo Paniagua Javier * HttpRequest.cs: fixed GetRawContent (). Now it only tries to read at most ContentLength bytes. * HttpResponse.cs: now it sends the headers. Added X-Powered-By header :-). * HttpRuntime.cs: fixed typo. * HttpValueCollection.cs: cosmetic changes. 2002-10-27 Gonzalo Paniagua Javier * HttpApplication.cs: reenabled a few lines of code (ThreadPool already fixed). * HttpRequest.cs: * HttpResponse.cs: * HttpUtility.cs: * HttpValueCollection.cs: * HttpWriter.cs: Use WebEncoding.Encoding. 2002-10-25 Gonzalo Paniagua Javier * HttpWriter.cs: changed encoding of the writer from Unicode to UTF8. This fixes sending bytes and allows mixing byte with chars. 2002-10-25 Gonzalo Paniagua Javier * HttpResponse.cs: implemented WriteFile methods. * MimeTypes.cs: removed duplicated entries. 2002-10-24 Gonzalo Paniagua Javier * HttpResponse.cs: don't throw exception in a couple of methods not yet implemented. 2002-10-08 Gonzalo Paniagua Javier * HttpApplication.cs: fixed type and handle factories when creating IHttpHandler for a request. 2002-10-08 Gonzalo Paniagua Javier * HttpApplication.cs: use handlers from configuration. * HttpContext.cs: get handlers from ConfigurationSettings. 2002-10-02 Gonzalo Paniagua Javier * HttpMethodNotAllowedHandler.cs: * HttpRuntime.cs: * StaticFileHandler.cs: Modified file. * HttpUtility.cs: implemented all missing methods. 2002-09-30 Gonzalo Paniagua Javier * System.Web/HttpApplication.cs: use the static file handler. * System.Web/HttpForbiddenHandler.cs: handler to forbid access. * System.Web/HttpMethodNotAllowedHandler.cs: handler for method not allowed. * System.Web/HttpUtility.cs: finished all UrlDecode methods. * System.Web/MimeTypes.cs: map from file extension to MIME type. * System.Web/StaticFileHandler.cs: serves static files 2002-09-28 Gonzalo Paniagua Javier * System.Web/HttpApplication.cs: * System.Web/HttpApplicationFactory.cs: * System.Web/HttpRequest.cs: * System.Web/HttpRuntime.cs: we are now able to compile pages and use HttpApplication, HttpRuntime and SimpleWorkerRequest. 2002-09-25 Gonzalo Paniagua Javier * HttpApplication.cs: added some missing methods. * HttpApplicationFactory.cs: get event handlers for the application. * HttpAsyncResult.cs: little fixes. * HttpRequest.cs: make Encoding work even with no worker request. 2002-08-26 Gonzalo Paniagua Javier * HttpWorkerRequest.cs: mcs doesn't go crazy. It's just me, that forgot to add HttpMapPath to the list file... 2002-08-26 Gonzalo Paniagua Javier * HttpWorkerRequest.cs: fixes compilation with mcs. I will add a bug report when i get a test case. 2002-08-26 Gonzalo Paniagua Javier * HttpApplicationFactory.cs: * HttpCachePolicy.cs: * HttpResponseHeader.cs: * HttpResponseStream.cs: * HttpResponseStreamProxy.cs: * HttpValueCollection.cs: misc. fixes based on class status page. * IHttpMapPath.cs: New file. * HttpRequest.cs: implemented ContentEncoding. * HttpWorkerRequest.cs: mono-stylized and implemented SendResponseFromMemory. 2002-08-18 Gonzalo Paniagua Javier * HttpContext.cs: reformatted. * HttpStaticObjectsCollection.cs: implemented GetEnumertor, CopyTo and the indexer. 2002-08-05 Patrik Torstensson * HttpApplication.cs: Implemented a state machine to allow handling of HttpModules and HttpHandlers. Implementation of async handlers. * HttpApplicationFactory.cs: Factory for creating HttpApplication instances, including caching. * HttpRuntime.cs: Usage of the new HttpApplicationFactory to get a application instance to execute requests in and implementation of request execution (still no request queue). * HttpAsyncResult.cs: New file to handle async module results. * HttpRequest.cs: Change signature of Dispose * HttpResponse.cs: new internal method allowing filtering to happen during the request flow in the state machine. 2002-07-28 Gonzalo Paniagua Javier * HttpApplication.cs: events were not being initialized. 2002-07-25 Gonzalo Paniagua Javier * ProcessModelInfo.cs: fixed compilation. 2002-07-25 Tim Coleman * ProcessModelInfo.cs: New class added * HttpParseException.cs: * HttpCompileException.cs: * HttpUnhandledException.cs: Internal constructors added to these 2002-07-24 Tim Coleman * ProcessInfo.cs: Fix constructor, reference to shutdownreason. 2002-07-24 Tim Coleman * HttpCachePolicy.cs: Added stubbs to this class. * HttpCacheability.cs: * HttpCacheRevalidation.cs: * HttpValidationStatus.cs: * ProcessShutdownReason.cs: * ProcessStatus.cs: * TraceMode.cs: Reorder the enumerations (and in some cases make one-based) in order to agree with the .NET implementation, based on the class status page. * ProcessInfo.cs: Implementation of this class. 2002-07-23 Tim Coleman * HttpCompileException.cs: * HttpParseException.cs: * HttpUnhandledException.cs: New stubbs created. * HttpApplication.cs: * HttpBrowserCapabilities.cs: Added missing methods stubbs and attributes based on the class status page. Also reformatted some source for consistency. 2002-07-23 Tim Coleman * HttpUtility.cs: Moved entities hashtable into main class as a static object, so we don't instantiate a new one every time. Also put the hashtable building into a lock block. 2002-07-22 Tim Coleman * HttpUtility.cs: Cleanup of the code, implementation of HtmlDecode/HtmlEncode functions 2002-07-14 Gonzalo Paniagua Javier * HttpResponse.cs: quick&dirty hack to make redirection work. Should be out of there once we have SimpleWorkerRequest. 2002-07-13 Gonzalo Paniagua Javier * HttpUtility.cs: little typo, big headache. 2002-07-10 Gonzalo Paniagua Javier * HttpRuntime.cs: don't throw NotImplemented in a couple of methods. 2002-06-30 Gonzalo Paniagua Javier * System.Web/HttpResponse.cs: Fixes based on class status page: - Add attributes (DefaultEvent, ParseChildren). - Fix declarations. - Explicitly implement some interfaces (IPostBackDataHandler and IPostBackEventHandler). - Implemented some missing methods. 2002-06-29 Gonzalo Paniagua Javier * HttpContext.cs: (Session): return null instead of throwing an exception. * HttpRequest.cs: (HttpMethod): return RequestType if not set. (GetRawContent): return QueryString if we don't have a HttpWorkerRequest. * HttpUtility.cs: fixed Decode and Encode. 2002-06-25 Gonzalo Paniagua Javier * HttpApplication.cs: * HttpContext.cs: added System.Web.SessionState namespace. * HttpSessionState.cs: removed. It is under System.Web.SessionState. 2002-06-10 Duncan Mak * HttpBrowserCapabilities.cs (BackgroundSounds): Fixed typo. 2002-06-04 Gonzalo Paniagua Javier * HttpRequest.cs: implemented Browser property. 2002-06-03 Gonzalo Paniagua Javier * HttpBrowserCapabilities.cs: stubbed out. 2002-05-18 Miguel de Icaza * HttpRuntime.cs: Reformat file. 2002-05-07 Duncan Mak * HttpBrowserCapabilities.cs: Added, replacing HttpBrowserCapabilites because of typo. * HttpBrowserCapabilites.cs: Removed, replaced by above. * HttpRequest.cs (Browser): Fixed typo. 2002-04-12 Patrik Torstensson * HttpApplication.cs: Minor updates * HttpApplicationState.cs: Ready. * HttpClientCertificate.cs: Signature updates * HttpValueCollection.cs: ready * HttpStaticObjectsCollection.cs: ready * HttpResponseHeader.cs: made internal only * HttpResponse.cs: Signature updates * HttpPostedFile.cs: ready * HttpCacheVaryByHeaders.cs: ready (except communication to policy) * HttpCacheVaryByParams.cs: ready (except communication to policy) System.Web is now over 60% ready.. 2002-04-11 Patrik Torstensson * HttpException.cs: 95% ready, only windows dependent code left * HttpFileCollection.cs: Finished. * HttpRequest.cs: Minor fixes and fixed signature problems * HttpResponse.cs: Implementation of missing methods and signature problems * HttpResponseHeader.cs: Fixed signature problems * HttpRuntime.cs: Fixed signature problems * HttpServerUtility.cs: Added support for HttpApplication * HttpSessionState.cs: Fixed signature issues * HttpUtility.cs: fixed signature issues * HttpValueCollection.cs: Support for cookie parsing and fixed signature issues * HttpWorkerRequest.cs: Fixed small signature issue * HttpWriter.cs: Fixed signature issue * HttpApplication.cs: Basic implementation * HttpApplicationState.cs: Small fixes to support major change comming up * HttpBrowserCapabilities.cs: Added Type method * HttpClientCertificate.cs: Almost ready, needs to parse certificate. * HttpContext.cs: Fixed signature issues and added last methods. * HttpCookie.cs: Full implementation * HttpCookieCollection.cs: Full implementation * TraceContext.cs: Methods implemented. * HttpPostedFile.cs: Placeholder * HttpStaticObjectsCollection.cs: Placeholder * HttpModuleCollection.cs: Ready, will be used during the major revamp. * Fixed a number of other small signature problems also (class status page) 2002-04-10 Patrik Torstensson * HttpWorkerRequest.EndOfSendNotification.cs Removed (included in WorkerRequest) * Checkin of all new files (noted in last changenote) 2002-04-10 Patrik Torstensson * HttpContext.cs: First implementation (basic support, few methods left to impl) * HttpException.cs: Partial implementation (basic support) * HttpHelper.cs: Header parse helper, used by runtime (non public) * HttpRequest.cs: Implementation (all methods there, not all fully impl) * HttpRequestStream.cs: Full implementation * HttpResponse.cs: Partial implementation(almost all methods) * HttpResponseHeader.cs: Header helper * HttpResponseStream.cs: Full implementation - Response stream support * HttpResponseStreamProxy.cs: Implementation - filter support * HttpRuntime.cs: Rewrite to support one IHttpModule (use for testing the runtime) * HttpServerUtility.cs: Implemented usage of HttpContext for methods and moved encoding functions to HttpUtility. * HttpUtility.cs: Added encoding/decoding functions from HttpServerUtility and added the Attribute encoding functions. * HttpValueCollection.cs: Implementation. * HttpWorkerRequest.cs: Rewrite and implementation of all methods (ready) * HttpWriter.cs: Implementation (with filter support) * HttpFileCollection: Added dummy class (placeholder) * HttpApplication.cs: Added dummy class (placeholder) * HttpApplicationState.cs: Added dummy class (placeholder) * HttpBrowserCapabilities.cs: Added dummy class (placeholder) * HtttpCachePolicy.cs: Added dummy class (placeholder) * HttpClientCertificate.cs: Added dummy class (placeholder) * HttpSessionState.cs: Added dummy class (placeholder) * TraceContext.cs: Added dummy class (placeholder) 2002/04/10 Nick Drochak * HttpServerUtility.cs: Fix build breaker. 2002-03-28 Wictor Wilén * HttpServerUtils.cs : Added some more functionality 2002-03-28 Martin Baulig * HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a char to a string, use ToString() instead. 2002-03-16 Gaurav Vaish * WebCategoryAttribute.cs : Added private attribute. 2002-03-16 Gaurav Vaish * HttpRuntime.cs : Stubbed methods for FormatStringResource(...) in agreement with the various overloads available at String.Format(...) 2002-01-08 Gaurav Vaish * TODOAttribute.cs : Added, as an internal class to the assembly 2002-01-03 Nick Drochak * HttpRuntime.cs: remove uneeded exception variable from catch and initialize remaining instance members to avoid compile warnings 2002-01-02 Nick Drochak * HttpRuntime.cs: fix spelling error/variable name change. 2001-12-18 Gaurav Vaish * HttpRuntime.cs : Initial implementation 2001-08-29 Bob Smith * HttpWorkerRequest.cs: Partial Implementation. 2001-08-16 Bob Smith * HttpCookieCollection.cs, HttpCookie.cs: Bug fixes. 2001-08-09 Bob Smith * BeginEventHandler.cs: Implemented. * EndEventHandler.cs: Implemented. * HttpCacheability.cs: Implemented. * HttpCacheRevalidation.cs: Implemented. * HttpCacheValidateHandler.cs: Implemented. * HttpCookieCollection.cs: Implemented. * HttpCookie.cs: Implemented. * HttpValidationStatus.cs: Implemented. * HttpWorkerRequest.EndOfSendNotification.cs: Implemented. * IHttpAsyncHandler.cs: Implemented. * IHttpHandler.cs: Implemented. * IHttpHandlerFactory.cs: Implemented. * IHttpModule.cs: Implemented. * ProcessShutdownReason.cs: Implemented. * ProcessStatus.cs: Implemented. * TraceMode.cs: Implemented.