+2006-03-10 Chris Toshok <toshok@ximian.com>
+
+ * StaticSiteMapProvider.cs (UrlToNode): this entire file is #if
+ NET_2_0, no need to embed another #if NET_2_0.
+
+ * SiteMapProvider.cs (AddNode): throw NotImplementedException.
+ (FindSiteMapNode): with null context, return null. don't throw
+ ArgumentNullException.
+ (RemoveNode): throw NotImplementedException.
+ (IsAccessibleToUser): check arguments to make test pass. still
+ lacking the method's actual functionality.
+ (ResourceKey): add missing property.
+
+2006-03-10 Chris Toshok <toshok@ximian.com>
+
+ * HttpRequest.cs (CheckString): add back in the check for \xff1c
+ that i took out. oops.
+
+2006-03-10 Chris Toshok <toshok@ximian.com>
+
+ * HttpRequest.cs (CheckString): implement as described in
+ Shackow's "Professional ASP.NET 2.0 Security, Membership, and Role
+ Management", page 310.
+
+2006-03-08 Chris Toshok <toshok@ximian.com>
+
+ * SiteMap.cs: clean this up a bunch. use the SiteMapSection to
+ initialize the provider collection, and don't add a provider.
+ web.config handles that for us. Also, don't always return true
+ from get_Enabled.
+
+2006-02-28 Chris Toshok <toshok@ximian.com>
+
+ * HttpCookieMode.cs: corcompare work.
+
+ * ProcessShutdownReason.cs: same.
+
+ * SiteMapNodeCollection.cs: same.
+
+ * SiteMapNode.cs: same.
+
+ * SiteMapProvider.cs: same.
+
+ * HttpCacheRevalidation.cs: same.
+
+ * HttpCacheability.cs: same.
+
+ * StaticSiteMapProvider.cs: same.
+
+ * HttpValidationStatus.cs: same.
+
+2006-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * DefaultHttpHandler.cs: New file.
+
+2006-02-01 Chris Toshok <toshok@ximian.com>
+
+ * SiteMap.cs: use GetSection instead of GetWebApplicationSection.
+
+2006-02-01 Chris Toshok <toshok@ximian.com>
+
+ * HttpApplication.cs: CONFIGURATION_2_0 => NET_2_0, and use
+ GetSection instead of GetWebApplicationSection.
+
+ * HttpApplication.jvm.cs: same.
+
+ * HttpApplicationFactory.cs: same.
+
+ * HttpContext.cs: same.
+
+ * CapabilitiesLoader.cs: same.
+
+ * QueueManager.cs: same.
+
+ * HttpRuntime.cs: same.
+
+ * TraceManager.cs: same.
+
+ * HttpRequest.cs: same.
+
+2006-01-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpApplication.cs: keep any exception that happens during
+ initialization.
+
+2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpDataTransferMode.cs: Removed file.
+ * HttpRequestPriority.cs: Removed file.
+ * ApplicationShutdownReason.cs:
+ * SiteMap.cs:
+ * HttpRuntime.cs:
+ * HttpApplication.cs: minor class status fixes.
+
+2006-01-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * VirtualPathUtility.cs: done with all the not implemented methods.
+
+2006-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpResponse.cs: use UInt64.Parse for content length. In AppendHeader,
+ set cache_control through the property to update the cachebility
+ accordingly. When using the cached headers, don't add again all the
+ headers to that collection.
+ * HttpCacheVaryByParams.cs: if there are no params, return null.
+ Otherwise we get an empty 'Vary' header.
+
+2006-01-25 Chris Toshok <toshok@ximian.com>
+
+ * HttpApplication.cs (Start): wrap InitOnce in a try/catch block,
+ and if there's a configuration error, output it and end things
+ immediately.
+
+2006-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpRequest.cs: fixed the file path when RewritePath is used. Also
+ add the PathInfo to the Url. Fixes bug #77291.
+
+2006-01-22 Chris Toshok <toshok@ximian.com>
+
+ * HttpRequest.cs (ReadBoundary): remove two unused variables to
+ quiet mcs.
+ (IsBoundary): remove unused method.
+
+ * MimeTypes.cs (.cctor): use a 2.0 friendly form of the Hashtable
+ ctor to silence a warning.
+
+ * HttpCacheVaryByHeaders.cs (.ctor): same.
+
+ * HttpCacheVaryByParams.cs (.ctor): same.
+
+ * StaticSiteMapProvider.cs (UrlToNode): same.
+
+2006-01-22 Konstantin Triger <kostat@mainsoft.com>
+
+ * HttpWorkerRequest.cs: ensure case insensitivity in header search.
+
+2006-01-19 Konstantin Triger <kostat@mainsoft.com>
+
+ * HttpApplication.jvm.cs: merge HttpApplication.cs changes.
+
+2006-01-17 Chris Toshok <toshok@ximian.com>
+
+ * CapabilitiesLoader.cs (Init): use WebConfigurationManager in the
+ CONFIGURATION_2_0 case.
+
+ * HttpRuntime.cs (MachineConfigurationDirectory): same.
+
+2006-01-16 Chris Toshok <toshok@ximian.com>
+
+ * HttpApplicationFactory.cs: call WebConfigurationManager.Init in
+ the CONFIGURATION_2_0 case.
+
+2006-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpWriter.cs: made Write (char) less memory hungry. Thanks to Mike
+ Glenn for pointing this out.
+
+2006-01-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpApplicationFactory.cs: fix condition for ContextAvailable.
+
+2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+ * HttpResponse.cs: removed TARGET_JVM block from End
+ * GetJavaTextReader: Merged TARGET_JVM block from LoadFile
+ to GetJavaTextReader
+
+2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+ * HttpRequest.cs: removed TARGET_JVM block from MapPath
+
+2006-01-11 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+ * HttpRequest.cs: little fix in MapPath(), virtualPath.Replace
+ return value wasnt stored.
+
+2006-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpResponse.cs: typo in comment.
+
+ * HttpApplicationFactory.cs:
+ * HttpApplication.cs: don't discard the application used for running the
+ Application_Start event to allow for Redirect/Transfer to be used. Fail
+ to get the request/response from the application object as MS does (it
+ can still be retrieved through HttpContext.Current.blah). Fixes
+ bug #77162.
+
+2006-01-09 Vladimir Krasnov <vladimirk@mainsoft.com>
+
+ * CapabilitiesLoader.cs: Merged TARGET_JVM parts in LoadFile
+ from /main/9
+ * HttpException.cs: Merged TARGET_JVM parts in GetHtmlizedErrorMessage
+ from /main/13
+ * HttpRequest.cs: Merged TARGET_JVM parts in MapPath from /main/29
+ * HttpResponse.cs: Merged TARGET_JVM parts in End() from /main/30
+ * StaticFileHandler.cs: Merged TARGET_JVM parts in ProcessRequest
+ from /main/7
+
+2006-01-08 Konstantin Triger <kostat@mainsoft.com>
+
+ * BrowserCapabilities.cs, HttpBrowserCapabilities.cs,
+ HttpResponseStream.cs: TARGET_JVM changes to let the compilation
+ pass with csc 1.1.
+
+2006-01-04 Chris Toshok <toshok@ximian.com>
+
+ * HttpContext.cs (IsCustomErrorEnabled): add CONFIGURATION_2_0
+ code. use a nasty 'using' hack to map the 2.0 CustomErrorsMode to
+ the 1.x CustomErrorMode name.
+ (IsDebuggingEnabled): add CONFIGURATION_2_0 code.
+ (ConfigTimeout): add CONFIGURATION_2_0 code.
+
+ * HttpRequest.cs (MakeInputStream): add CONFIGURATION_2_0 code.
+
+ * HttpApplication.cs (RedirectCustomError): add CONFIGURATION_2_0
+ code.
+
+ * SiteMap.c (Init): use
+ WebConfigurationManager.GetWebApplicationSection.
+
+2005-12-21 Miguel de Icaza <miguel@novell.com>
+
+ * HttpUtility.cs (UrlEncodeUnicode): The generated encoding of
+ unicode values must be in %XXXX format, not %XX sometimes.
+
+2005-12-08 Robert Jordan <robertj@gmx.net>
+
+ * MimeTypes.cs: added entry for "jpg".
+
+2005-12-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpRequest.cs: only read up to content-length when provided. Patch
+ by Peter Teichman.
+
+2005-12-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpCookie.cs: fixed the set_Secure. Closes bug #76906.
+
+2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpResponseStream.cs: flush the filter stream before closing.
+ Patch by Geir Bergum that fixes bug #76753.
+
+2005-11-28 Chris Toshok <toshok@ximian.com>
+
+ * HttpContext.cs (Profile): remove the #if false from around this,
+ as we now have the ProfileBase type.
+ (GetConfig): add CONFIGURATION_2_0 version.
+ (GetSection): add CONFIGURATION_2_0 version.
+
+2005-11-28 Chris Toshok <toshok@ximian.com>
+
+ * TraceManager.cs (..ctor): CONFIGURATION_2_0 work.
+
+ * QueueManager.cs (..ctor): CONFIGURATION_2_0 work.
+
+ * HttpRequest.cs (AnonymousID): add 2.0 property.
+ (MakeInputStream): CONFIGURATION_2_0 work.
+
+ * HttpApplication.cs (InitOnce): change around the
+ CONFIGURATION_2_0 stuff since we need additional Culture foo for
+ it.
+
+2005-11-27 Chris Toshok <toshok@ximian.com>
+
+ * HttpApplication.cs (InitOnce): add Configuration_2.0 code.
+ (GetHandler): same.
+
+2005-11-26 Miguel de Icaza <miguel@novell.com>
+
+ * HttpResponseStream.cs: Do not try to write zero bytes.
+
+2005-11-24 Miguel de Icaza <miguel@novell.com>
+
+ * WebROCollection.cs: Do not add an empty "=" to the query string
+ if the key is empty or null.
+
+2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * WebROCollection.cs: override ToString and generate a query string from
+ the key/value pairs. Fixes bug #76779.
+
+2005-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpServerUtility.cs: prevent possible nullref in GetLastError().
+
+2005-11-07 Jason Diamond <jason@diamond.name>
+
+ * HttpRequest.cs: Don't throw exception when Content-Length doesn't
+ match length of POSTed data. Also, allow charset parameter on
+ Content-Type header when type is "application/x-www-form-urlencoded".
+
+2005-11-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * WebROCollection.cs: add an ID for the collection. Page needs it.
+
+2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpRequest.cs: no need to allocate the buffer when all the content
+ is preloaded.
+
+2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpApplication.cs: ignore TAE in ProcesssError. The Error event might
+ redirect or transfer and that causes a TAE to be thrown. Fixes
+ bug #76573.
+
+2005-11-01 Chris Toshok <toshok@ximian.com>
+
+ * VirtualPathUtility.cs: new (partial implementation) to get some
+ MS provider examples compiling.
+
+2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpContext.cs: added a new internal overload for ClearError.
+
+2005-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpRuntime.cs: invoke callbacks on private items in the cache before
+ calling disposing the app. factory. This way we get notifications of
+ removal for all sessions stored in the cache (InProc only).
+
+2005-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpResponseStream.cs: reworked buffering so that adjacents blocks are
+ written at once. Also fix bug #76460.
+
+2005-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpResponseStream.cs: when allocating a chunk larger than the
+ default chunk size, mark all the blocks as taken. Fixes bug
+ #76452.
+
+2005-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpResponse.cs: use HaveFilter instead of Filter.
+ * HttpResponseStream.cs: allocate chunks of the requested size
+ when it's > 32KB. Fixes bug #76460.
+
+2005-10-14 Sebastien Pouliot <sebastien@ximian.com>
+
+ * ServerVariablesCollection.cs: Added a demand for
+ SerializationFormatter on GetObjectData method (even if it's not
+ really required in this case as it remove warnings from gendarme.
+
+2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpResponse.cs:
+ * HttpRequest.cs: buglets in error checking in Filter.
+
2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* OutputFilterStream.cs: proxy class for response filters.
* InputFilterStream.cs proxy stream for use by filters.
* HttpRequest.cs: implement input filtering.
+2005-10-02 Eyal Alaluf <eyala@mainsoft.com>
+ * HttpApplication.jvm.cs - Workaround for use of yield in
+ HttpApplication.cs HttpRuntime.cs: AppDomain.Unload is not supported
+ * under TARGET_J2EE
+
+2005-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpResponseStream.cs: remove dead code.
+
+2005-09-29 Sebastien Pouliot <sebastien@ximian.com>
+
+ * HttpClientCertificate.cs: Remove last TODO on IsValid. This now
+ works when using XSP. Now use flags to determine valid/presence.
+
2005-09-26 Chris Toshok <toshok@ximian.com>
* HttpApplicationFactory.cs (OnAppFileChanged): add null checks
- for bin_watcher and app_file_watcher so we don't get NRE's
- here. Fixes bug #76233.
+ for bin_watcher and app_file_watcher so we don't get NRE's here.
2005-09-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRuntime.cs: catch errors when compiling global.asax and
initializing the application. Fixes bug #76090.
+2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
+
+ * BrowserCapabilities.cs: Fixed changes (in 2.0) with versions. Fixed
+ compare with "True" (culture and case sensitivity).
+ * HttpApplicationState.cs: Added LinkDemand for Minimal. Use the
+ internal HttpStaticObjectsCollection ctor to avoid the UnmanagedCode
+ demand.
+ * HttpContext.cs: Added LinkDemand for Minimal. Added 2.0 properties
+ and methods to test CAS on them.
+ * HttpRequest.cs: Added LinkDemand for Minimal. Ensure we return
+ proper values when worker_request is null.
+ * HttpResponse.cs: Added LinkDemand for Minimal. Ensure we return
+ proper values when context or WorkerRequest is null. Added 2.0
+ properties and methods to test CAS on them.
+ * HttpRuntime.cs: Added LinkDemand for Minimal. Added PathDiscovery
+ demands for properties returning directories. Added demand for High
+ level on AppDomainAppId and AppDomainId properties, Low level on
+ IsOnUNCShare, Medium level on ProcessRequest and a demand for
+ UnmanagedCode on UnloadAppDomain method. Constructor also has a
+ UnmanagedCode demand for 1.x.
+ * HttpStaticObjectsCollection.cs: Added LinkDemand for Minimal. Added
+ a UnmanagedCode demand to public ctor. Added internal ctor without the
+ demand. Changed Serialize and Deserialize methods to public for 2.0.
+
+2005-09-14 Sebastien Pouliot <sebastien@ximian.com>
+
+ * HttpWorkerRequest.cs: Removed TODO for 2.0 APIs and return the
+ default values for them.
+
+2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
+
+ * HttpApplication.cs: : Added LinkDemand and InheritanceDemand (class)
+ for Minimal. Changed AssemblyLocation to a property (so it doesn't
+ require special permission, PathDiscovery) to create an instance.
+ Protected Modules property with a Demand for High level. Added some
+ missing HttpException for null context.
+ * HttpServerUtility.cs: Added LinkDemand for Minimal. Added demands
+ for UnmanagedCode on all CreateObject* methods. Added demand for
+ Medium level on MachineName and ScriptTimeout properties. Added new
+ overloaded Transfer method (2.0) to test CAS on it.
+ * HttpUtility.cs: Added LinkDemand for Minimal. Added [Obsolete] to
+ ctor (2.0). Changed some return values when 'count' is 0. Added
+ ParseQueryString (overload) methods for 2.0 (to enabled CAS testing on
+ them).
+ * HttpWorkerRequest.cs: Added LinkDemand and InheritanceDemand (class)
+ for Minimal. Added RequestTraceIdentifier and RootWebConfigPath (2.0)
+ properties, GetPreloadedEntityBody, GetPreloadedEntityBodyLength,
+ GetTotalEntityBodyLength and ReadEntityBody (2.0) methods to test CAS
+ on them. Fixed SendResponseFromMemory to ignore IntPtr.Zero (used in
+ tests without failures).
+ * ServerVariablesCollection.cs: Fixed loadServerVariablesCollection
+ when HttpWorkerRequest is null.
+ * TraceContext.cs: Added LinkDemand for Minimal. Fixed default Mode
+ (SortByTime). Added new (2.0) TraceFinished event to test CAS on it.
+
+2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
+
+ * HttpBrowserCapabilities.cs: Added LinkDemand and InheritanceDemand
+ (class) for Minimal. Note that current MCS has problem compiling
+ security attributes on partial class (bug #75969).
+ * HttpCachePolicy.cs: Added LinkDemand for Minimal. Added 2.0 methods
+ (stub) to enable CAS tests on them.
+ * HttpCacheVaryByHeaders.cs: Added LinkDemand for Minimal.
+ * HttpCacheVaryByParams.cs: Added LinkDemand for Minimal.
+ * HttpClientCertificate.cs: Added LinkDemand and InheritanceDemand
+ (class) for Minimal.
+ * HttpCookie.cs: Added LinkDemand for Minimal.
+ * HttpCookieCollection.cs: Added LinkDemand for Minimal.
+ * HttpFileCollection.cs: Added LinkDemand for Minimal.
+ * HttpModuleCollection.cs: Added LinkDemand for Minimal.
+ * HttpPostedFile.cs: Added LinkDemand for Minimal.
+ * HttpRequestPriority.cs: Fix enum values.
+ * HttpWriter.cs: Added LinkDemand for Minimal.
+
+2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
+
+ * ProcessInfo.cs: Added LinkDemand and InheritanceDemand (class) for
+ Minimal.
+ * ProcessModelInfo.cs: Added LinkDemand and InheritanceDemand (class)
+ for Minimal. Methods GetCurrentProcessInfo and GetHistory are also
+ protected by Demand for High level.
+
+2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
+
+ * HttpCompileException.cs: Added new public ctors and [Serializable]
+ to 2.0. Added new Message property and GetObjectData (protected by a
+ demand for SerializationFormatter) for 2.0. Fixed line-ending.
+ * HttpException.cs: Added LinkDemand and InheritanceDemand (class) for
+ Minimal. Renamed parameters to match documentation.
+ * HttpParseException.cs: Added LinkDemand (class) for Minimal. Added
+ demand for SerializationFormatter on GetObjectData method. Fixed
+ line-ending.
+ * HttpRequestValidationException.cs: Added new public ctors and
+ [Serializable] to 2.0. Added LinkDemand for Minimal.
+ * HttpUnhandledException.cs: Added new public ctors and [Serializable]
+ to 2.0. Removed unused internal ctor. Added LinkDemand for Minimal.
+ Fixed line-ending.
+
+2005-09-13 Sebastien Pouliot <sebastien@ximian.com>
+
+ * HttpResponseSubstitutionCallback.cs: New. 2.0 delegate.
+ * TraceContextEventArgs.cs: New. 2.0 class.
+ * TraceContextEventHandler.cs: New. 2.0 delegate.
+
2005-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: use GetServerName instead of GetLocalAddress when