* LosFormatter.cs: new ctor for 1.1. The default ctor is public.
* Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
internal.
* PageParser.cs: the ctor is public.
* PartialCachingAttribute.cs: added new ctor and Shared property.
svn path=/trunk/mcs/; revision=21290
* System.Web.dll.sources: added CustomErrorsConfigHandler.cs
* System.Web/HttpContext.cs: implemented IsCustomErrorEnabled and
IsDebuggingEnabled. Added internal ErrorPage property.
* System.Web/HttpRuntime.cs: on error, check if we have a custom error
page enabled to handle it and redirect.
* System.Web/HttpResponse.cs: added RedirectCustomError (), which
actually does the redirection to the error page.
* System.Web.Compilation/PageCompiler.cs: assign the ErrorPage property
if provided.
* System.Web.UI/Page.cs: assign the ErrorPage to the context if we get
an exception when processing the page which only calls Unload.
* System.Web.UI/PageParser.cs: handle ErrorPage.
* System.Web.Configuration/CustomErrorsConfigHandler.cs: handle
<system.web><customErrors />..
Closes bug #51979.
svn path=/trunk/mcs/; revision=21286
* ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
are not [Serializable]. Fixes bug #52244.
svn path=/trunk/mcs/; revision=21246
* Control.cs: remove a few dangling ^M, don't set values for fields
that has the default value. If Visible is modified and we're tracking
viewstate, save and restore it. Fixes bug #48689.
svn path=/trunk/mcs/; revision=21056
* System.Web/HttpApplication.cs: handle FileNotFound and
DirectoryNotFound exceptions when creating the handler to generate
a better error page.
* System.Web/HttpException.cs: display the http_code if available.
Changed all \n by \r\n to make the hidden stack trace readable.
* System.Web/StaticFileHandler.cs: don't send the real path in th
eerror.
* System.Web.Compilation/AspGenerator.cs: basic checking of ID validity.
Throw a ParseException when mixing languages.
* System.Web.UI/TemplateParser.cs: basic check for 'classname' attribute
and added patch by [email protected] for bug #51568, which fixes automatic
class names for pages starting with a number.
svn path=/trunk/mcs/; revision=20695
* System.Web.Compilation/PageCompiler.cs: assign LCID, Culture and/or
UICulture in FrameworInitialize() if provided in @Page.
* System.Web.UI/Page.cs: fixed UICulture, LCID and Culture. Set the
thread [UI]Culture before processing the request.
* System.Web.UI/PageParser.cs: read Culture, UICulture and LCID
attributes. Added properties for these. Partially contributed by
Mohammad Damt.
Fixes bug #51511.
svn path=/trunk/mcs/; revision=20633
* Control.cs: Add DataBindChildren for v2. Implement
glue to make Page.Eval work.
* Page: use a stack to store the current dataitem
for Eval. Implement Eval/XPath/XPathSelect
* DataBinder.cs: implement GetDataItem.
svn path=/trunk/mcs/; revision=20508
* ObjectStateFormatter.cs: v2 file. In v1.x this will be
internal as LosFormatter will eventually use it to save
the view state.
svn path=/trunk/mcs/; revision=20329
* 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
* System.Web/HttpApplication.cs: added AssemblyLocation property.
* System.Web.UI/DesignTimeTemplateParser.cs: added FIXME related to
PageParser.
* System.Web.UI/PageParser.cs: initialize the parser in the constructor,
not just before compiling and reference the application assembly.
* System.Web.UI/SimpleWebHandlerParser.cs: reference the assembly that
contains the application Type.
* System.Web.UI/TemplateControl.cs:
* System.Web.UI/TemplateControlParser.cs: fix BenM #1 bug. Now we pass
correct virtual path and physical path when compiling a user control.
* System.Web.UI/TemplateParser.cs: new AddApplicationAssembly ().
* System.Web.UI/UserControlParser.cs: now we get valid values in the
ctor.
Referencing the application assembly fixes bug #49652.
svn path=/trunk/mcs/; revision=19299
* System.Web.UI/TemplateControl.cs: moved NoParamsInvoker class to its
own file.
* System.Web/HttpApplicationFactory.cs: use NoParamsInvoker.
* System.Web/HttpRequest.cs: support request filters.
* System.Web/HttpRequestStream.cs: mono-stylized and added new Set
method.
* System.Web/NoParamsInvoker.cs: proxy class to invoke user-provided
methods without parameters that are invoked by EventHandlers.
svn path=/trunk/mcs/; revision=19156
* System.Web.dll.sources: new files in System.Web.Configuration.
* System.Web.Configuration/CompilationConfiguration.cs:
* System.Web.Configuration/CompilationConfigurationHandler.cs:
* System.Web.Configuration/CompilerCollection.cs:
* System.Web.Configuration/WebCompiler.cs: new files that process and
store system.web/compilation info (compilers + assemblies).
* System.Web.Configuration/HttpHandlersSectionHandler.cs: added option
for an attribute to be empty.
* System.Web.UI/BaseParser.cs: added CompilationConfig property.
* System.Web.UI/TemplateParser.cs:
* System.Web.UI/SimpleWebHandlerParser.cs: added CompilationConfig
property. Don't hardcode assembly names any more, assemblies in bin
are added depending on the configuration. The default language is
also taken from the configuration.
* System.Web.Compilation/BaseCompiler.cs: now gets the CodeCompiler
from configuration files.
In short, this changes make our ASP.NET support any language
that has CodeDom CodeCompiler and CodeGenerator.
VB.NET currently fails because of its buggy handling of options.
svn path=/trunk/mcs/; revision=19035
* System.Web.UI/Control.cs: removed some debug lines.
* System.Web.UI/Page.cs: implemented RegisterOnSubmitStatement
* System.Web.UI/TemplateControl.cs: fixed wire up for methods with no
parameters.
* System.Web.UI.HtmlControls/HtmlForm.cs: render the onsubmit attribute.
svn path=/trunk/mcs/; revision=18945