Commit Graph
11 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier 6be4ffb621 2006-02-10 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Configuration_2.0/Compiler.cs:
	* System.Web.Configuration_2.0/CompilerCollection.cs: removed
	compatibility code.

	* System.Web.Configuration_2.0/BuildProviderCollection.cs: add
	GetProviderForExtension().

	* System.Web.UI/IThemeResolutionService.cs: this is now added to the
	sources file, but some other stuff does not compile yet as the
	interface changed after the beta.

	* System.Web.UI/ObjectConverter.cs: removed extra attribute.

	* System.Web.UI/ObjectStateFormatter.cs: add IStateFormatter for 2.0.

	* System.Web.UI/ICallbackEventHandler.cs: update the interface, but
	commented the 'good' stuff out, since other files need to be fixed
	too.

	* System.Web.dll.sources: add new files.

	* System.Web.Configuration/CompilationConfiguration.cs:
	* System.Web.Configuration/CompilationConfigurationHandler.cs: only
	compile these for pre-2.0 assemblies.

	* System.Web.Hosting/DefaultVirtualPathProvider.cs: add some
	comments/TODO.
	* System.Web.Hosting/HostingEnvironment.cs: initialize the
	default value for VirtualPathProvider.

	* System.Web.Compilation/CompilerType.cs: implemented.

	* System.Web.Compilation/AssemblyBuilder.cs: implemented most of it.

	* System.Web.Compilation/WebServiceCompiler.cs:
	* System.Web.Compilation/CachingCompiler.cs: update 2.0 compiler
	instance creation code.

	* System.Web.Compilation/ClientBuildManager.cs: implemented some of
	its methods. Not yet ready.

	* System.Web.Compilation/BuildManager.cs: the more interesting methods
	are implemented now.

	* System.Web.Compilation/BaseCompiler.cs: delete the temporary files
	in case of error.

	* System.Web.Compilation/BuildProvider.cs: implemented the
	Get*Compiler* protected methods.


svn path=/trunk/mcs/; revision=56781
2006-02-10 23:43:09 +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
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
Chris Toshok 28faff3bd6 2005-11-19 Chris Toshok <[email protected]>
* CompilationConfigurationHandler.cs (ReadCompilers): call
	CompilerCollection.Add in the 2.0 case, as it doesn't expose a
	setter indexer.

	* CompilationConfiguration.cs: need this to keep things compiling,
	even though CompilationConfiguration doesn't need to be used in
	the 2.0 case.


svn path=/trunk/mcs/; revision=53268
2005-11-19 07:03:55 +00:00
Gonzalo Paniagua Javier 197f824568 2005-04-22 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Configuration/CompilationConfigurationHandler.cs: ensure
	TempDirectory is not empty before assigning it. Don't mangle the
	assembly names provided.

	* System.Web.Configuration/CompilationConfiguration.cs: use DynamicBase
	as the temp directory instead of Path.GetTempPath.

	* System.Web.UI/SimpleWebHandlerParser.cs:
	* System.Web.UI/TemplateParser.cs: always get the location (full path)
	for assemblies, even the ones from the GAC.

	* System.Web.Compilation/BaseCompiler.cs: check that DynamicBase
	directory exists before creating the TempFileCollection.

	The changes related to assembly names fix bug number #74500.


svn path=/trunk/mcs/; revision=43462
2005-04-22 20:34:00 +00:00
Gonzalo Paniagua Javier 1ab40e42af 2005-03-16 Gonzalo Paniagua Javier <[email protected]>
* CompilerCollection.cs:
	* CompilationConfigurationHandler.cs:
	* Compiler.cs:
	* CompilationSection.cs:
	* CompilationConfiguration.cs: reverted last patch and/or disable code
	until the whole config system is migrated to 2.0. Fixes bug #73736.


svn path=/trunk/mcs/; revision=41924
2005-03-17 00:31:49 +00:00
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
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Jackson Harper ef7bedd254 * CompilationConfigurationHandler.cs: Append .dll to shortened
assembly names.

svn path=/trunk/mcs/; revision=19795
2003-11-10 21:06:23 +00:00
Jackson Harper 8ad1e88c45 * CompilationConfigurationHandler.cs: Trim extra versioning
information off of assembly names. This is a workaround that fixes
	bug #50355.

svn path=/trunk/mcs/; revision=19740
2003-11-08 19:02:56 +00:00
Gonzalo Paniagua Javier 50e79aceb8 2003-10-14 Gonzalo Paniagua Javier <[email protected]>
* 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
2003-10-14 11:12:47 +00:00