Commit Graph
82 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier ee4fb18353 2005-03-14 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: added new files in System.Web.Configuration.

	* System.Web.Configuration/CodeSubDirectoriesCollection.cs:
	* System.Web.Configuration/ExpressionBuilderCollection.cs:
	* System.Web.Configuration/BuildProviderCollection.cs:
	* System.Web.Configuration/CompilerCollection.cs:
	* System.Web.Configuration/CompilationConfigurationHandler.cs:
	* System.Web.Configuration/ExpressionBuilder.cs:
	* System.Web.Configuration/Compiler.cs:
	* System.Web.Configuration/CompilationSection.cs:
	* System.Web.Configuration/CompilationConfiguration.cs:
	* System.Web.Configuration/CodeSubDirectory.cs: added and implemented
	most of these files that are used when reading configuration files in
	NET_2_0.

	* System.Web.Configuration/WebCompiler.cs: renamed to Compiler.cs


svn path=/trunk/mcs/; revision=41813
2005-03-15 01:01:38 +00:00
Gonzalo Paniagua Javier f9f5a24c80 oops
svn path=/trunk/mcs/; revision=40819
2005-02-17 19:18:41 +00:00
Gonzalo Paniagua Javier e47bf13b19 2004-12-15 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: reread application CultureInfo as
	web.config might have changed. Fixes bug #62539.

	* System.Web.Configuration/WebConfigurationSettings.cs: correctly
	detect web.config changes.


svn path=/trunk/mcs/; revision=37779
2004-12-15 13:03:45 +00:00
Marek Safar 47bb6c3b60 removed unused variable
svn path=/trunk/mcs/; revision=36775
2004-11-29 12:52:00 +00:00
Gonzalo Paniagua Javier cd9e5eaa22 2004-11-28 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplication.cs: Create() is not GetInstance().
	* System.Web.Configuration/HandlerItem.cs: for reusable items, return
	the same instance always. Fixes bug #69959.


svn path=/trunk/mcs/; revision=36733
2004-11-28 23:44:41 +00:00
Gonzalo Paniagua Javier 4088ebf156 2004-11-24 Gonzalo Paniagua Javier <[email protected]>
* GlobalizationConfigurationHandler.cs: fixed stupid typo (uiculture ->
	uiCulture). Closes bug #69524.


svn path=/trunk/mcs/; revision=36507
2004-11-24 22:19:39 +00:00
Lluis Sanchez 4da27b7b8d 2004-11-18 Lluis Sanchez Gual <[email protected]>
* AnonymousIdentificationSection.cs, AuthenticationSection.cs,
	AssemblyInfo.cs: Initialize	property collection.
	* SiteMapSection.cs, SiteMapHierarchicalDataSourceView.cs, 
	SiteMapDataSource.cs: New file.
	* SiteMapDataSourceView.cs: Minor fixes.


svn path=/trunk/mcs/; revision=36273
2004-11-18 14:31:36 +00:00
Lluis Sanchez e7c428e461 * AnonymousIdentificationSection.cs, InternalSection.cs,
AuthenticationSection.cs, AssemblyCollection.cs,
AssemblyInfo.cs,
        AdapterDictionary.cs: Implemented.
        * PassportAuthentication.cs,
        * FormsAuthenticationConfiguration.cs:
        created classes.

svn path=/trunk/mcs/; revision=36148
2004-11-15 22:10:49 +00:00
Gonzalo Paniagua Javier 14eeae29e1 2004-10-10 Gonzalo Paniagua Javier <[email protected]>
* System.Web/TraceContext.cs: don't cast to Page is the handler it's
	not a page.

	* System.Web.Configuration/WebConfigurationSettings.cs: use
	CurrentExecutionFilePath instead of FilePath. Fixes bug #67982.

svn path=/trunk/mcs/; revision=34841
2004-10-10 13:34:58 +00:00
Gonzalo Paniagua Javier 15c8c05104 2004-08-22 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: fix bug when processing empty location
	tags. Closes bug #63001.

svn path=/trunk/mcs/; revision=32667
2004-08-22 20:42:27 +00:00
Duncan Mak c526b7c7a3 Add attributes.
svn path=/trunk/mcs/; revision=32414
2004-08-16 23:00:57 +00:00
Duncan Mak c6232a2da4 * IAppManagerAppDomainFactory.cs:
* IApplicationHost.cs:
* IHttpWorkerRequestHandler.cs:
* IProcessHost.cs:
* IProcessHostFactoryHelper.cs:
* IProcessHostSupportFunction.cs:
* IProcessPingCallback.cs:
* IQueueHost.cs:
* IRegisteredObject.cs: Added interfaces.

svn path=/trunk/mcs/; revision=31759
2004-08-03 00:55:45 +00:00
Duncan Mak 55d695fbdb 2004-08-02 Duncan Mak <[email protected]>
* AuthorizationRuleAction.cs:
	* BuildProviderAppliesTo.cs:
	* CustomErrorsMode.cs:
	* MachineKeyValidation.cs:
	* PagesEnableSessionState.cs:
	* PagesToCountAction.cs:
	* ProcessModelComAuthenticationLevel.cs:
	* ProcessModelComImpersonationLevel.cs:
	* ProcessModelLogLevel.cs;
	* SerializationMode.cs:
	* TraceDisplayMode.cs: Added enumerations.

	* IRemoteWebConfigarationHostServer.cs: Added interface.

svn path=/trunk/mcs/; revision=31758
2004-08-03 00:53:06 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Gonzalo Paniagua Javier 40181c2c94 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
* AuthorizationConfig.cs: really fix bug #60482. Thanks David!

svn path=/trunk/mcs/; revision=30178
2004-06-23 11:13:28 +00:00
Gonzalo Paniagua Javier 72d5a6809b 2004-06-22 Gonzalo Paniagua Javier <[email protected]>
* AuthorizationConfig.cs: we must match [verb +] (role|user). Fixes bug
	#60482.

svn path=/trunk/mcs/; revision=30095
2004-06-22 08:18:48 +00:00
Gonzalo Paniagua Javier e649fb3261 2004-06-15 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: allow empty <configSections>.

svn path=/trunk/mcs/; revision=29578
2004-06-15 04:59:43 +00:00
Gonzalo Paniagua Javier 31fdfdaac3 2004-06-09 Gonzalo Paniagua Javier <[email protected]>
* GlobalizationConfigurationHandler.cs: if no culture given, use the
	default one, not the invariant.

svn path=/trunk/mcs/; revision=29100
2004-06-09 09:51:06 +00:00
Alon Gazit 8a5e2b7bcf using cache to get performance improvement.
svn path=/trunk/mcs/; revision=28956
2004-06-07 11:40:32 +00:00
Gonzalo Paniagua Javier a952b3414f 2004-06-07 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpBrowserCapabilities.cs: implemented ClrVersion and
	GetClrVersions.

	* System.Web.Configuration/HttpCapabilitiesBase.cs: set the useragent
	of the new HttpBrowserCapabilities object.

	* System.Web/HttpException.cs: removed MonoTODO.

svn path=/trunk/mcs/; revision=28936
2004-06-06 23:18:11 +00:00
Gonzalo Paniagua Javier e404b1b70d 2004-06-04 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRequest.cs: added ClientTarget internal property.

	* System.Web.Compilation/PageCompiler.cs: override CreateConstructor
	to add assignment for ClientTarget.

	* System.Web.Configuration/HttpCapabilitiesBase.cs: ClientTarget takes
	precedence over UserAgent.

	* System.Web.UI/Page.cs: implemented ClientTarget.
	* System.Web.UI/PageParser.cs: support for clientTarget and check for
	validity.

svn path=/trunk/mcs/; revision=28811
2004-06-04 04:01:07 +00:00
Gonzalo Paniagua Javier 3d1a0acc32 2004-06-02 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: when the virtual path is not /, don't
	loop forever trying to read configuration from /. Fixes bug #59480.

svn path=/trunk/mcs/; revision=28710
2004-06-02 18:08:21 +00:00
Gonzalo Paniagua Javier 9634b2bb99 2004-05-25 Gonzalo Paniagua Javier <[email protected]>
* 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
2004-05-25 20:59:53 +00:00
Gonzalo Paniagua Javier 21eafae84c 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* 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
2004-05-14 03:01:04 +00:00
Sebastien Pouliot 7af6a24eee 2004-05-12 Jaroslaw Kowalski <[email protected]>
* AuthenticationConfigHandler.cs: fixed slidingExpiration and requireSSL

svn path=/trunk/mcs/; revision=27180
2004-05-12 18:04:18 +00:00
Gonzalo Paniagua Javier 020945f624 2004-05-07 Gonzalo Paniagua Javier <[email protected]>
* System.Web.dll.sources: removed 2 unused files in system.Web.Utils.

	* System.Web/HttpRequest.cs:
	* System.Web/HttpResponse.cs:
	* System.Web/HttpRuntime.cs:
	* System.Web/HttpServerUtility.cs:
	* System.Web/HttpUnhandledException.cs:
	* System.Web.Compilation/CachingCompiler.cs:
	* System.Web.Configuration/AuthenticationConfigHandler.cs:
	* System.Web.Configuration/CompilationConfiguration.cs:
	* System.Web.Configuration/MachineKeyConfigHandler.cs:
	* System.Web.UI/Page.cs:
	* System.Web.UI.WebControls/Calendar.cs:
	* System.Web.UI.WebControls/FontInfo.cs:
	* System.Web.UI.WebControls/WebControl.cs: removed TODOs.

	* System.Web.UI/ApplicationFileParser.cs: add file dependencies.
	* System.Web.UI/Control.cs: removed TODOs and some ^M.

	* System.Web.Util/ApacheVersionInfo.cs: removed.
	* System.Web.Util/IISVersionInfo.cs: removed.

svn path=/trunk/mcs/; revision=26947
2004-05-07 20:24:19 +00:00
Gonzalo Paniagua Javier 24a8232adc 2004-05-06 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: fixed loading of external files. Closes
	bug #57244.

svn path=/trunk/mcs/; revision=26794
2004-05-06 00:11:28 +00:00
Gonzalo Paniagua Javier b5d55265c2 2004-05-04 Gonzalo Paniagua Javier <[email protected]>
* 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
2004-05-04 14:16:12 +00:00
Gonzalo Paniagua Javier 9d76a57969 Warnings
svn path=/trunk/mcs/; revision=25814
2004-04-22 03:07:54 +00:00
Gonzalo Paniagua Javier 916f7a42f8 2004-04-22 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: fixed argument exception if the directory
	we're trying to watch does not exists.

svn path=/trunk/mcs/; revision=25798
2004-04-21 22:48:54 +00:00
Gonzalo Paniagua Javier 1c800f71d8 2004-04-21 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: modify realpath when we reach the
	virtual root of the application.

svn path=/trunk/mcs/; revision=25748
2004-04-21 02:03:14 +00:00
Gonzalo Paniagua Javier e5863ab02c added comment on bug related to last change here
svn path=/trunk/mcs/; revision=25401
2004-04-13 15:10:44 +00:00
Nick Drochak 9170f6e27b 2004-04-12 Nick Drochak <[email protected]>
* WebConfigurationSettings.cs: Fix build.  Forgot the '?'

svn path=/trunk/mcs/; revision=25362
2004-04-12 13:05:07 +00:00
Atsushi Eno ee0f616ea4 2004-04-12 Atsushi Enomoto <[email protected]>
* WebConfigurationSettings.cs : On Windows "Web.config" is "web.config".

svn path=/trunk/mcs/; revision=25361
2004-04-12 12:26:42 +00:00
Gonzalo Paniagua Javier 972d9121d0 2004-04-04 Gonzalo Paniagua Javier <[email protected]>
* 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
2004-04-04 08:38:46 +00:00
Gonzalo Paniagua Javier 0d5e26f283 2004-03-31 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: fixes bug 56267.

svn path=/trunk/mcs/; revision=24834
2004-03-31 07:12:02 +00:00
Gonzalo Paniagua Javier ec0ca1bf87 2004-03-30 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: use FileSystemWatcher and really reload
	configuration when the file is created or modified.

svn path=/trunk/mcs/; revision=24776
2004-03-30 09:42:11 +00:00
Gonzalo Paniagua Javier 845610468b 2004-02-24 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: we were loading web.config from / always!
	Thanks to Lluis for noticing this.

svn path=/trunk/mcs/; revision=23420
2004-02-24 19:42:53 +00:00
Gonzalo Paniagua Javier af01dc4e8e 2004-02-09 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: fix Web.config search for caseo
	insensitive filesystems.

svn path=/trunk/mcs/; revision=22901
2004-02-09 15:22:09 +00:00
Lluis Sanchez 01e83c8301 * WebConfigurationSettings.cs: Load remoting configuration when reading
the web.config file.

svn path=/trunk/mcs/; revision=22753
2004-02-03 23:28:56 +00:00
Gonzalo Paniagua Javier d048b7b936 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
* AuthConfig.cs:
	* AuthenticationConfigHandler.cs: added RequireSSL and
	SlidingExpiration.

	* HandlerFactoryProxy.cs: not public.
	* HandlerItem.cs: not public.

svn path=/trunk/mcs/; revision=22421
2004-01-23 08:53:58 +00:00
Gonzalo Paniagua Javier 8a0faae09f 2004-01-20 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: fix location path lookup. Closes bug
	#53072.

svn path=/trunk/mcs/; revision=22280
2004-01-20 03:43:24 +00:00
Gonzalo Paniagua Javier 0745d5cd5d 2004-01-12 Gonzalo Paniagua Javier <[email protected]>
* 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
2004-01-12 07:03:42 +00:00
Jackson Harper c3282fb1dd * TraceConfig.cs: New class contains trace configuration data.
* TraceConfigurationHandler.cs: New class parses trace
	configurations.

svn path=/trunk/mcs/; revision=21926
2004-01-11 05:07:32 +00:00
Jackson Harper 7e7247bd80 * HandlerItem.cs: Fix typo so slashes are stripped from paths properly.
svn path=/trunk/mcs/; revision=21724
2004-01-05 19:19:47 +00:00
Gonzalo Paniagua Javier ed575c326a 2003-12-17 Gonzalo Paniagua Javier <[email protected]>
* 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
2003-12-17 17:26:46 +00:00
Gonzalo Paniagua Javier 94c898361b 2003-12-16 Gonzalo Paniagua Javier <[email protected]>
* 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
2003-12-16 03:14:35 +00:00
Gonzalo Paniagua Javier ce1cada176 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: also cache parents when building the
	hierarchy up. Fixes bug #51818.

svn path=/trunk/mcs/; revision=21054
2003-12-12 05:48:34 +00:00
Jackson Harper bae83da7e4 * GlobalizationConfigurationHander.cs: Make unicode encodings case
insensitive.

svn path=/trunk/mcs/; revision=20937
2003-12-09 17:39:44 +00:00
Jackson Harper 61cb04e1fd * GlobalizationConfigurationHandler.cs: Handle creating some
the unicode encodings here so we can create ones without BOMs.

svn path=/trunk/mcs/; revision=20923
2003-12-09 06:17:48 +00:00