Commit Graph
24 Commits
Author SHA1 Message Date
Igor Zelmanovich 43697d3e4c 2007-08-23 Igor Zelmanovich <[email protected]>
* AssemblyResourceLoader.cs: for SYSTEM_WEB_EXTENSIONS only:
	fixed JSON serialization of resources.


svn path=/trunk/mcs/; revision=84685
2007-08-23 10:44:10 +00:00
Rodrigo Kumpera 685ad1f3e2 2007-08-06 Rodrigo Kumpera <[email protected]>
* AssemblyResourceLoader.cs: use the right static constructor name
	if SYSTEM_WEB_EXTENSIONS is defined.


svn path=/trunk/mcs/; revision=83540
2007-08-06 15:20:49 +00:00
Vladimir Krasnov 2b44f3485e * AssemblyResourceLoader.cs: performance optimization, caching urls for built-in resources
fixed CacheControl, should be private
added HttpException if resource is not found

svn path=/trunk/mcs/; revision=83532
2007-08-06 13:48:36 +00:00
Igor Zelmanovich 1e2a73bdf5 2007-07-16 Igor Zelmanovich <[email protected]>
* AssemblyResourceLoader.cs:
	fixed RegEx used for PerformSubstitution feature.


svn path=/trunk/mcs/; revision=82023
2007-07-16 10:24:19 +00:00
Igor Zelmanovich c182f522de 2007-07-11 Igor Zelmanovich <[email protected]>
* AssemblyResourceLoader.cs:
	for System.Web.Extensions only:
	ScriptResourceName may include ".resource" suffix.


svn path=/trunk/mcs/; revision=81784
2007-07-11 11:17:21 +00:00
Igor Zelmanovich eed675e11f 2007-07-03 Igor Zelmanovich <[email protected]>
* AssemblyResourceLoader.cs:
	implemented WebResourceAttribute.PerformSubstitution feature.


svn path=/trunk/mcs/; revision=81273
2007-07-03 16:04:32 +00:00
Vladimir Krasnov 8f28cf0c9a * AssemblyResourceLoader.cs: GetResourceUrl, fixed typo
svn path=/trunk/mcs/; revision=80314
2007-06-20 12:40:45 +00:00
Igor Zelmanovich 5eb4f1798b 2007-06-18 Igor Zelmanovich <[email protected]>
* AssemblyResourceLoader.cs: refactoring:
	make the code reusable in System.Web.Extensions.	

2007-06-18 Igor Zelmanovich <[email protected]>

	* HttpUtility.cs: refactoring:
	removed constants to another class.	


svn path=/trunk/mcs/; revision=79979
2007-06-18 08:08:58 +00:00
Vladimir Krasnov a9a8e58bfd * AssemblyResourceLoader.cs: GetResourceUrl, TARGET_JVM will use type's hashcode for resource url
svn path=/trunk/mcs/; revision=78176
2007-05-30 08:58:25 +00:00
Marek Habersack 2cdf3d39be 2007-04-06 Marek Habersack <[email protected]>
* ClientScriptManager.cs: render the 'type' attribute in
	WriteScript and do not render the 'language' attribute when in
	NET_2_0+ mode.

2007-04-06  Marek Habersack  <[email protected]>

	* HttpUtility.cs: added a constant that contains the default query
	parameter character.
	ParseQueryString supports queries with both '&' and ';' parameter
	separators.

2007-04-06  Marek Habersack  <[email protected]>

	* HtmlForm.cs: render the 'name' attribute only when in non-xhtml
	compliant mode.

2007-04-06  Marek Habersack  <[email protected]>

	* AssemblyResourceLoader.cs: use the correct query parameter
	separator char for the current platform version. Fixes bug
	#80633.

svn path=/trunk/mcs/; revision=75480
2007-04-06 11:51:51 +00:00
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