Commit Graph
41 Commits
Author SHA1 Message Date
Marek Habersack bee5c455c0 2008-04-29 Marek Habersack <[email protected]>
* WebConfigurationSettings.cs: if path mapping fails in
	GetConfigFromFileName, fall back to the application's physical
	directory.

2008-04-29  Marek Habersack  <[email protected]>

	* HttpException.cs: safe guard against context being null in
	GetHtmlErrorMessage.

2008-04-29  Marek Habersack  <[email protected]>

	* WebServiceCompiler.cs: if compiling a body-less web service, try
	to load the class type from the loaded assemblies before
	attempting to find it in the assemblies on disk.

svn path=/trunk/mcs/; revision=102127
2008-04-29 14:48:26 +00:00
Robert Jordan cc8387ea6f In System.Web/System.Web.Configuration:
2007-08-23  Robert Jordan  <[email protected]>

	* WebConfigurationSettings.cs: Move RemotingConfiguration to
	System.Runtime.Remoting.Channels.Http/HttpRemotingHandlerFactory.cs.
	Fixes #19384.

In System.Runtime.Remoting/System.Runtime.Remoting.Channels.Http:
2007-08-23  Robert Jordan  <[email protected]>

	* HttpRemotingHandlerFactory.cs: configure Remoting because
	System.Web doesn't anymore. Fixes #81831.


svn path=/trunk/mcs/; revision=84681
2007-08-23 06:47:58 +00:00
Marek Habersack 2416d13727 2007-08-08 Marek Habersack <[email protected]>
* SessionDictionary.cs: do not use lock (this), replace it
	with lock (this_object), where this_object is an instance
	variable. Prevents deadlocks in situation when external code locks
	on the class instance.
2007-08-08  Marek Habersack  <[email protected]>

	* WebConfigurationSettings.cs: do not use lock (this), replace it
	with lock (this_object), where this_object is an instance
	variable. Prevents deadlocks in situation when external code locks
	on the class instance.
2007-08-08  Marek Habersack  <[email protected]>

	* StaticSiteMapProvider.cs, HttpApplicationFactory.cs,
	HttpStaticObjectsCollection.cs, SiteMapProvider.cs,
	XmlSiteMapProvider.cs, HttpApplication.cs, CapabilitiesLoader.cs,
	TimeoutManager.cs: do not use lock (this), replace it with lock
	(this_object), where this_object is an instance	variable. Prevents
	deadlocks in situation when external code locks on the class
	instance.

svn path=/trunk/mcs/; revision=83648
2007-08-08 09:36:02 +00:00
Marek Habersack 6b2025f651 2007-04-10 Marek Habersack <[email protected]>
* CacheDependency.cs: add the NotifyFilters.Size to the
	watcher flags, so that we watch for modifications to a file when
	using Linux inotify.

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

	* XmlSiteMapProvider.cs: add the NotifyFilters.Size to the
	watcher flags, so that we watch for modifications to a file when
	using Linux inotify.

	* HttpApplicationFactory.cs: add the NotifyFilters.Size to the
	watcher flags, so that we watch for modifications to a file when
	using Linux inotify.
	App_Code, App_Browsers and App_GlobalResources watchers must watch
	for events with the '*' mask so that they can notice events
	related to subdirectory creation/deletion.
	Watch for subdirectory events with the App_Code watcher.

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

	* WebConfigurationSettings.cs: add NotifyFilter.Size to the
	watcher notification filter to enable file modification events
	with Linux inotify.

svn path=/trunk/mcs/; revision=75568
2007-04-10 10:42:02 +00:00
Marek Habersack f2f8823517 2007-03-19 Marek Habersack <[email protected]>
* WebConfigurationSettings.cs: another fix to the
	GetConfigFromFileName logic - the passed "filepath" must not end
	with a slash when called recursively, or it will lead to endless
	recursion.

svn path=/trunk/mcs/; revision=74578
2007-03-19 00:06:33 +00:00
Marek Habersack 988df7eff0 2007-03-18 Marek Habersack <[email protected]>
* UrlUtils.cs: GetDirectory always returns a path with trailing
	slash.

2007-03-18  Marek Habersack  <[email protected]>

	* WebConfigurationSettings.cs: fix the GetConfigFromFileName
	directory logic.

2007-03-18  Marek Habersack  <[email protected]>

	* BaseParser.cs: fix BaseVirtualDir to always return app-absolute
	paths.

svn path=/trunk/mcs/; revision=74574
2007-03-18 22:12:53 +00:00
Eyal Alalouf c694b23e35 Grasshopper now supports remoting.
svn path=/trunk/mcs/; revision=63760
2006-08-15 13:43:19 +00:00
Chris Toshok 0e8098088d 2006-02-01 Chris Toshok <[email protected]>
* CompilerCollection.cs: CONFIGURATION_2_0 => NET_2_0.

	* CompilationConfigurationHandler.cs: same.

	* Compiler.cs: same.

	* CompilationConfiguration.cs: same.


svn path=/trunk/mcs/; revision=56416
2006-02-01 20:13:24 +00:00
Gonzalo Paniagua Javier 0bb5724e38 2005-12-22 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: patch by Cyrille Colin that sets the
	right application path even when MapPath fails. Closes bug #77044.


svn path=/trunk/mcs/; revision=54716
2005-12-22 03:26:28 +00:00
Gonzalo Paniagua Javier ba33dc2d20 2005-12-02 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationSettings.cs: don't fail if <location> has more
	than one element. Fixes bug #76633.


svn path=/trunk/mcs/; revision=53841
2005-12-02 20:09:38 +00:00
Chris Toshok 3eb9cadf9d 2005-11-30 Chris Toshok <[email protected]>
* WebConfigurationSettings.cs (ReadSectionGroup): some
	CONFIGURATION_2_0 work.

	* CompilationConfigurationHandler.cs (ReadCompilers): change the
	NET_2_0 to CONFIGURATION_2_0.

	* CompilerCollection.cs: more ugly hacks for the
	2.0-without-config-2.0 case.  wrap this in #if !CONFIGURATION_2_0
	and make it public in the NET_2_0 case (so it can be used to keep
	the config 2.0 stuff building).

	* Compiler.cs: same.
	
	* CompilationConfiguration.cs (Init): change the #if NET_2_0 to
	#if CONFIGURATION_2_0.


svn path=/trunk/mcs/; revision=53737
2005-12-01 01:33:31 +00:00
Miguel de Icaza 54079f764a Commit of changes to core files, on behalf of the team
svn path=/trunk/mcs/; revision=48944
2005-08-26 22:58:48 +00:00
Eyal Alalouf b902e05323 Fixed loading of web.config for TARGET_J2EE.
svn path=/trunk/mcs/; revision=47661
2005-07-25 17:54:50 +00:00
Eyal Alalouf 5cfad21337 TARGET_J2EE ifdef reorder for readability
svn path=/trunk/mcs/; revision=47656
2005-07-25 14:47:38 +00:00
Eyal Alalouf 5d2b0b63b8 Making simple web app work with Grasshopper from svn.
svn path=/trunk/mcs/; revision=47610
2005-07-24 16:36:14 +00:00
Eyal Alalouf aab69ac325 TARGET_J2EE compilation & integration fixes.
svn path=/trunk/mcs/; revision=47416
2005-07-19 16:13:51 +00:00
Ben Maurer 2a81dac63f locking fixes
svn path=/trunk/mcs/; revision=45085
2005-05-26 23:06:52 +00:00
Gonzalo Paniagua Javier 445ccdc1bb 2005-04-20 Gonzalo Paniagua Javier <[email protected]>
* ModuleItem.cs:
	* GlobalizationConfigurationHandler.cs:
	* WebConfigurationSettings.cs:
	* CustomErrorsConfigHandler.cs:
	* PagesConfigurationHandler.cs:
	* WebControlsSectionHandler.cs:
	* AuthorizationConfigHandler.cs: removed warnings.


svn path=/trunk/mcs/; revision=43361
2005-04-20 22:19:43 +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 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 d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +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 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 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 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 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 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
Gonzalo Paniagua Javier 92bf49b0f6 2003-12-02 Gonzalo Paniagua Javier <[email protected]>
* 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
2003-12-02 04:00:19 +00:00