* System.Web/HttpApplication.cs: set culture/uiculture from
configuration and restore it after each step. Fixes bug #52851.
* System.Web.Configuration/GlobalizationConfiguration.cs: if we have no
context, use GetAppConfig instead of GetConfig.
svn path=/trunk/mcs/; revision=28081
* System.Web.Compilation/BaseCompiler.cs: use DynamicBase for the output
assemblies.
* System.Web.Configuration/CompilationConfiguration.cs: a null value is
ok for TempDirectory.
* System.Web.Hosting/AppDomainFactory.cs: set the Dynamic base for the
AppDomain.
Fixes bug #57726.
svn path=/trunk/mcs/; revision=27329
* WebConfigurationSettings.cs: now it defaults to 'web.config' and if
not found, 'Web.config'. Don't throw exception if both exists. Thanks
to urs and dru for bugging me about this.
svn path=/trunk/mcs/; revision=26698
* WebConfigurationSettings.cs: "/" is the virtual root directory of
the application. This fixes a bug reported by Vlad that caused
configuration error because files were read twice when there's an
application different from "/" defined.
svn path=/trunk/mcs/; revision=25007
* WebConfigurationSettings.cs: use FileSystemWatcher and really reload
configuration when the file is created or modified.
svn path=/trunk/mcs/; revision=24776
* System.Web.dll.sources: added new files in S.W.Configuration.
* System.Web/HttpContext.cs: add setter for ConfigTimeout.
* System.Web/HttpException.cs: added Description property and HTML
encode some unescaped values.
* System.Web/HttpRequest.cs: support request validation.
* System.Web/HttpRequestValidationException.cs: added message and
description.
* System.Web/HttpServerUtility.cs: implemented ScriptTimeout.
* System.Web.Compilation/PageCompiler.cs: invoke Request.ValidateInput
if required.
* System.Web.Configuration/GlobalizationConfiguration.cs: undo old fix.
* System.Web.Configuration/PagesConfiguration.cs:
* System.Web.Configuration/PagesConfigurationHandler.cs: new files for
processing system.web/pages section.
* System.Web.UI/ApplicationFileParser.cs: adde DefaultBaseTypeName
property.
* System.Web.UI/PageParser.cs: support validateRequest.
* System.Web.UI/TemplateControlParser.cs: get default values from
system.web/pages section.
* System.Web.UI/TemplateParser.cs: added separate method for changing
base type (Inherits or system.web/pages).
* System.Web.UI/UserControlParser.cs: support system.web/pages defined
base type.
svn path=/trunk/mcs/; revision=21971
* 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
* System.Web.dll.sources: added CapabilitiesLoader.cs
* System.Web/CapabilitiesLoader.cs: loads browser detection and
capabilities data from browscap.ini file by Gary J. Keith.
* System.Web/HttpBrowserCapabilities.cs: removed almost all TODOs.
* System.Web/HttpRequest.cs: fixed Browser property.
* System.Web.Configuration/HttpCapabilitiesBase.cs: use the new loader.
svn path=/trunk/mcs/; revision=21214
* System.Web.dll.sources: added WebConfigurationSettings.
* System.Web/HttpContext.cs: updated GetConfig and GetAppConfig to new
API.
* System.Web/HttpResponse.cs: separate initialization of the HttpWriter,
as it tries to read configuration settings while the config. system is
not available (ie, before the first request).
* System.Web/HttpRuntime.cs: delayed queueManager and response writer
initialization until the configuration system is working.
* System.Web.Configuration/GlobalizationConfiguration.cs: return null
when the configuration is not available.
* System.Web.Util/WebEncoding.cs: use the Default encoding when the
globalization configuration is not available.
* System.Web.Configuration/WebConfigurationSettings.cs: handle
configuration for System.Web. It replaces the default
IConfigurationSystem with itself and handles web.config files
oddities.
* System.Web.UI.WebControls/WebControl.cs: don't create the attributes
when GetAttribute is called.
svn path=/trunk/mcs/; revision=20681
* 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/HttpApplication.cs: pass the Uri, not the file path to
when looking for a handler.
* System.Web.Configuration/HandlerItem.cs: make it work for file names
without wildcards.
svn path=/trunk/mcs/; revision=18459
* list: added SessionConfig.cs and SessionStateSectionHandler.cs
* System.Web/HttpHelper.cs: store the values in an ArrayList to get
them in correct order.
* System.Web.Configuration/ModuleItem.cs: it's not public.
* System.Web.Configuration/ModulesConfiguration.cs: it's not public.
* System.Web.SessionState/SessionConfig.cs:
* System.Web.SessionState/SessionStateSectionHandler.cs: new files to
read <sessionState> configuration.
svn path=/trunk/mcs/; revision=12118
* System.Web/HttpApplication.cs: CreateHttpHandler is now internal.
* System.Web/HttpRequest.cs: allow setting QueryStringRaw, which
invalidates the data obtained from the previous value. Added internal
SetFilePath method.
* System.Web/HttpServerUtility.cs: implemented Execute and GetLastError.
* System.Web.Configuration/HandlerFactoryConfiguration.cs: first search
in the mappings of this instance, then in the parent.
svn path=/trunk/mcs/; revision=11642
* GlobalizationConfiguration.cs: added internal fields to hold the
values in the globalization node.
* GlobalizationConfigurationHandler.cs: handler to load
<system.web/globalization> section.
svn path=/trunk/mcs/; revision=11543
* list: added AuthorizationConfig and AuthorizationConfigHandler.
* System.Web/HttpRequest.cs: implemented the indexer.
* System.Web.Configuration/AuthorizationConfigHandler.cs: handler for
system.web/authorization section.
* System.Web.Configuration/AuthorizationConfig.cs: keeps record of
authorization configuration.
* System.Web.Security/FormsAuthentication.cs: implemented
RedirectFromLoginPage and GetRedirectUrl.
* System.Web.Security/FormsAuthenticationModule.cs: redirect to the
login page when a 401 error happens.
* System.Web.Security/UrlAuthorizationModule.cs: check for valid user
or render error page.
svn path=/trunk/mcs/; revision=11512
* System.Web/HttpApplication.cs: added new state to handle default
authentication.
* System.Web.Configuration/HttpModulesConfigurationHandler.cs: add
a default authentication module at the end of the list.
* System.Web.Configuration/ModuleItem.cs: new constructor.
* System.Web.Security/DefaultAuthenticationModule.cs: implemented. It
just create a default unauthenticated user when no one else provided one.
* System.Web.Security/FormsAuthenticationModule.cs: removed debug output.
* System.Web.UI/Control.cs:
(AddedControl): take the children to the same state of the parent.
(InitRecursive): set the page of the children.
* System.Web.UI/Page.cs: removed one line (it's done a few lines above).
* System.Web.UI/UserControl.cs:
(OnInit): always call InitializeAsUserControl
(InitializeAsUserControl): sets the page for the control.
svn path=/trunk/mcs/; revision=10114
* System.Web.Configuration/AuthConfig.cs: LoginUrl defaults to login.aspx.
* System.Web.Security/FormsAuthentication.cs: return a null ticket when
an exception is thrown creating it. Implemented RenewTicketIfOld.
* System.Web.Security/FormsAuthenticationModule.cs: implemented event
handlers for AuthenticateRequest and EndRequest.
* System.Web.Security/FormsAuthenticationTicket.cs: implemented
SetDates and Clone methods.
svn path=/trunk/mcs/; revision=9764
* AuthConfig.cs:
* AuthenticationConfigHandler.cs: handler and helper class for
system.web/authentication configuration section.
* HttpHandlersSectionHandler.cs: check for null in attributes.
* MachineKeyConfig.cs:
* MachineKeyConfigHandler.cs: handler and helper class for
system.web/machineKey tag.
svn path=/trunk/mcs/; revision=9720
* 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
* System.Web/HttpApplication.cs: use handlers from configuration.
* System.Web/HttpContext.cs: get handlers from ConfigurationSettings.
* System.Web.Caching/Cache.cs: little fixes.
* System.Web.Configuration/HttpHandlerTypeMapper.cs: removed.
* System.Web.Configuration/HandlerFactoryConfiguration.cs: readded. I
removed it by mistake.
* System.Web.Configuration/HandlerItem.cs: only load the type if
we gotta validate it. Implemented initial IsMatch.
* System.Web.Configuration/HttpConfigurationContext.cs: New file.
* System.Web.Configuration/HttpHandlersSectionHandler.cs: validate is
optional (default true). Use HttpHandlerTypeMapper.
* System.Web.UI/SimpleHandlerFactory.cs: new handler for .ashx files.
svn path=/trunk/mcs/; revision=8053
* list: added new files in System.Web.Configuration.
* System.Web.Configuration/HandlerFactoryConfiguration.cs: removed.
* System.Web.Configuration/HandlerItem.cs: added validation field.
* System.Web.Configuration/HttpHandlerTypeMapper.cs: holds mappings
between verbs and wilcards and their associated HandlerItem.
* System.Web.Configuration/HttpHandlersSectionHandler.cs: this one
processes system.web/httpHandlers section of machine.config file.
svn path=/trunk/mcs/; revision=8030
* AuthenticationMode.cs:
* ClientTargetSectionHandler.cs:
* FormsAuthPasswordFormat.cs:
* FormsProtectionEnum.cs:
* HttpCapabilitiesBase.cs: fixes base on class status page.
svn path=/trunk/mcs/; revision=7047
* System.Web/HttpBrowserCapabilities.cs: stubbed out.
* System.Web.Configuration/HttpCapabilitiesBase.cs: New file.
* System.Web.Security/DefaultAuthenticationEventArgs.cs: New file.
* System.Web.SessionState/IReadOnlySessionState.cs: New file.
* System.Web.SessionState/IRequiresSessionState.cs: New file.
* System.Web.SessionState/SessionStateMode.cs: New file.
* System.Web.UI/Page.cs:
(FileDependencies): now is public public.
(EnableViewStateMAC): uncommented and made protected.
(GetTypeHashCode): added method.
* System.Web.UI.HtmlControls/HtmlForm.cs:
(RenderAttributes): changed new by override.
(Name): allow setting the property.
* System.Web.UI.WebControls/WebControl.cs: added attributes
PersistChildrenAttribute and ParseChildrenAttribute.
* System.Web.Configuration/ChangeLog:
* System.Web.Configuration/HttpCapabilitiesBase.cs:
* System.Web.Security/ChangeLog:
* System.Web.Security/DefaultAuthenticationEventArgs.cs:
* System.Web.SessionState/ChangeLog:
* System.Web.SessionState/IReadOnlySessionState.cs:
* System.Web.SessionState/IRequiresSessionState.cs:
* System.Web.SessionState/SessionStateMode.cs: new files.
Now we are able to compile some files generated by xsp with our
System.Web classes.
svn path=/trunk/mcs/; revision=5102