Commit Graph
14 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier 4873356045 2006-01-30 Gonzalo Paniagua Javier <[email protected]>
* TraceHandler.cs: class status fixes.


svn path=/trunk/mcs/; revision=56292
2006-01-30 22:07:10 +00:00
Chris Toshok bab1a5f8bf 2006-01-26 Chris Toshok <[email protected]>
* AssemblyResourceLoader.cs (GetResourceUrl): if the assembly
	corresponds to an on-disk file, append the last write time to the
	url so we can enable client side caching.
	(ProcessRequest): tell the client to cache the url for 1 year, and
	have it vary by 'r' (resource name) and 't' (assembly timestamp).


svn path=/trunk/mcs/; revision=56127
2006-01-26 23:23:49 +00:00
Gonzalo Paniagua Javier 85c6971bfc 2006-01-03 Gonzalo Paniagua Javier <[email protected]>
* TraceHandler.cs: when clearing trace data, remove 'clear=1' from the
	query string. Fixes bug #77072.


svn path=/trunk/mcs/; revision=54996
2006-01-03 09:52:01 +00:00
Sebastien Pouliot 7ff6d1e02f 2005-09-02 Sebastien Pouliot <[email protected]>
* AssemblyResourceLoader.cs: Class is sealed in 2.0.
	* TraceHandler.cs: Added security permissions on class (LinkDemand and
	InheritanceDemand for AspNetHostingPermission) and on ctor (Demand for
	UnmanagedCode). Stubbed new protected methods for 2.0.


svn path=/trunk/mcs/; revision=49382
2005-09-02 23:27:20 +00:00
Lluis Sanchez ac1ae94b5b 2004-11-18 Lluis Sanchez Gual <[email protected]>
* AssemblyResourceLoader.cs: Use a special name when encoding a resource
	from the System.Web assembly.


svn path=/trunk/mcs/; revision=36428
2004-11-23 10:35:54 +00:00
Gonzalo Paniagua Javier 2c0860c663 2004-10-06 Gonzalo Paniagua Javier <[email protected]>
* TraceHandler.cs: error code is 403 and the message different when
	trace is enabled but not for remote clients.

svn path=/trunk/mcs/; revision=34750
2004-10-06 05:46:02 +00:00
Gonzalo Paniagua Javier 8432e31ff8 2004-07-02 Gonzalo Paniagua Javier <[email protected]>
* System.Web/TraceContext.cs: added internal HaveTrace property whose
	value is true when the page has a Trace attribute.

	* System.Web.Handlers/TraceHandler.cs: check that trace is enabled or
	throw.

	* System.Web.UI/Page.cs: added additional checks for saving/displaying
	trace data.

	* System.Web.UI/PageParser.cs: removed checks for trace enabled in
	configuration files.

	Thanks to David Taylor for most of these patch and the tests.

svn path=/trunk/mcs/; revision=30638
2004-07-02 01:54:48 +00:00
Gonzalo Paniagua Javier aa11211a2a 2004-06-03 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Handlers/TraceHandler.cs:
	* System.Web.UI/Control.cs:
	* System.Web.UI/Html32TextWriter.cs:
	* System.Web.UI/HtmlTextWriter.cs:
	* System.Web.UI/SimpleWebHandlerParser.cs:
	* System.Web.UI/TemplateControl.cs:
	* System.Web.UI.WebControls/Calendar.cs:
	* System.Web.UI.WebControls/CompareValidator.cs:
	* System.Web.UI.WebControls/ImageButton.cs:
	* System.Web.UI.WebControls/Style.cs:
	* System.Web.UI.WebControls/WebControl.cs:
	Added protected missing members and attributes.

svn path=/trunk/mcs/; revision=28743
2004-06-03 06:17:31 +00:00
Jackson Harper fdf22ddecd * TraceHandler.cs: Obey localOnly attribute.
svn path=/trunk/mcs/; revision=21951
2004-01-11 21:42:04 +00:00
Jackson Harper 7e679b5c2e * TraceHandler.cs: Implement.
svn path=/trunk/mcs/; revision=21922
2004-01-11 01:48:45 +00:00
Gonzalo Paniagua Javier ffc3fa7caf 2003-11-05 Gonzalo Paniagua Javier <[email protected]>
* AssemblyResourceLoader.cs: fixed compilation under MS. Ben already
	filed a bug report.

svn path=/trunk/mcs/; revision=19639
2003-11-05 06:14:59 +00:00
Jackson Harper b7aeba0bd5 * AssemblyResourceLoader.cs: No method body for v1. This fixes the
build.

svn path=/trunk/mcs/; revision=19634
2003-11-05 00:27:31 +00:00
Ben Maurer 4ff2d51140 2003-11-04 Ben Maurer <[email protected]>
* 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
	* AssemblyResourceLoader.cs: New file. New v2 handler.
	* Control.cs (GetWebResourceUrl): new v2 function
	* Page.cs (GetWebResourceUrl): ditto.
	make the JS we generate work with moz if the form is not a child
	of document.
	* WebResourceAttribute.cs: Added, new v2 attribute.

svn path=/trunk/mcs/; revision=19631
2003-11-04 23:43:25 +00:00
Gonzalo Paniagua Javier 18be21e855 2002-10-08 Gonzalo Paniagua Javier <[email protected]>
* list: Modified file.

	* System.Web/HttpApplication.cs: fixed type and handle factories when
	creating IHttpHandler for a request.

	* System.Web.Configuration/HttpHandlersSectionHandler.cs: made a
	couple of static methods be part of a class used in other handlers.
	* System.Web.Configuration/HttpModulesConfigurationHandler.cs: handler
	for modules.
	* System.Web.Configuration/ModuleItem.cs: added IsMatch method.
	* System.Web.Configuration/ModulesConfiguration.cs: made it similar to
	the handlers class: added Clear, Remove.

	* System.Web.Handlers/ChangeLog: New file.
	* System.Web.Handlers/TraceHandler.cs: stubbed out. This should generate
	the trace page when tracing is enabled.

	* System.Web.SessionState/SessionStateModule.cs: don't throw exception.
	Just for testing the configuration stuff until we implement this.

svn path=/trunk/mcs/; revision=8074
2002-10-08 22:03:56 +00:00