Commit Graph
7 Commits
Author SHA1 Message Date
Miguel de Icaza 48292550e8 More NET_2_0 define removal 2011-03-16 21:46:02 -04:00
Marek Habersack c6c642eec3 commit 9405fa168b1255c51bb31ef17511c05593b08caa
Author: Marek Habersack <[email protected]>
Date:   Sat Mar 6 03:37:53 2010 +0100

    2010-03-06  Marek Habersack  <[email protected]>

    	* CompilerCollection.cs: in the 4.0 profile, the latest C#
    	standard is the compiler's default.

    2010-03-06  Marek Habersack  <[email protected]>

    	* CSharpCodeCompiler.cs: in the 4.0 profile, the latest C#
    	standard is the default one.

    2010-03-06  Marek Habersack  <[email protected]>

    	* RequestValidatorTestGenerated.cs: added

    	* RequestValidator.cs: added

    2010-03-06  Marek Habersack  <[email protected]>

    	* TestWorkerRequest.cs: added overloads of GetRawUrl and
    	GetUriPath which make sure that the returned paths do not contain
    	more than one leading / character.

    	* TestRunItem.cs: added new TestRunData property - to contain
    	per-appdomain test run data.

    	* TestCallback.cs: added a TestRunItem parameter.

    	* StandaloneTest.cs: runner object is created for each test item
    	now.
    	Added test progress feedback.

    	* ITestRunner.cs: added two properties, TestRunData - to return
    	collected test result data, if any, and Domain which returns the
    	current AppDomain.

    2010-03-06  Marek Habersack  <[email protected]>

    	* RequestValidatorTest.cs: added

    2010-03-06  Marek Habersack  <[email protected]>

    	* HttpRequest.cs: cache RawUrl value.
    	Added new internal property, PathNoValidation, which returns
    	request path without validating it.
    	Implemented 4.0 extensible validation.

    	* HttpApplication.cs: Pipeline () validates the request path, if
    	new validation mode is enabled, before doing anything else.
    	Added a generic LoadType overload which checks whether the loaded
    	type, if any, derives from the type specified in the method's
    	specialization.

    2010-03-06  Marek Habersack  <[email protected]>

    	* RequestValidator.cs: added

    	* RequestValidationSource.cs: added

    2010-03-06  Marek Habersack  <[email protected]>

    	* WebConfigurationManager.cs: do not use Request.Path - it may
    	fail because of invalid web.config file, use
    	Request.PathNoValidation instead.

    	* VersionConverter.cs: added

    	* PropertyHelper.cs: added a Version converter helper.

    	* HttpRuntimeSection.cs: added 4.0 properties -
    	RequestPathInvalidCharacters, RequestValidationType and
    	RequestValidationMode.

svn path=/trunk/mcs/; revision=153172
2010-03-06 02:48:31 +00:00
Marek Habersack e7f4c49538 2008-10-09 Marek Habersack <[email protected]>
* CompilerCollection.cs: use all the compiler information from
	config file when adding new CompilerInfo. Fixes bug #433802

svn path=/trunk/mcs/; revision=115329
2008-10-09 11:51:09 +00:00
Marek Habersack f3e716d95e 2007-12-15 Marek Habersack <[email protected]>
* System.dll.sources: added
	System.CodeDom.Compiler/CompilerProviderOption.cs and
	System.CodeDom.Compiler/CompilerProviderOptionsCollection.cs
2007-12-15  Marek Habersack  <[email protected]>

	* CSharpCodeProvider.cs: added support for the 2.0sp1 constructor
	which takes a Dictionary <string, string> parameter with compiler
	provider options. If any options are present, the
	generator/compiler are created using appropriate constructor
	overload.

	* CSharpCodeGenerator.cs: added support for the 2.0sp1 constructor
	which takes a Dictionary <string, string> parameter with compiler
	provider options.

	* CSharpCodeCompiler.cs: added support for the 2.0sp1 constructor
	which takes a Dictionary <string, string> parameter with compiler
	provider options. The "CompilerVersion" option is supported, with
	possible values "2.0" (currently maps to -langversion:Default) and
	"3.5" (currently maps to -langversion:linq).
2007-12-15  Marek Habersack  <[email protected]>

	* Compiler.cs: added support for the default collection of
	<providerOption> child elements and corresponding public
	properties (ProviderOptions and ProviderOptionsDictionary).

	* CompilerInfo.cs: added ProviderOptions dictionary, to hold
	values from the <providerOption> collection of the
	system.codeDom/compilers/compiler/ element.
	CodeDomProviderType throws an exception if the provider type
	cannot be found, as per MSDN.
	CreateProvider uses the new provider constructor which takes
	provider options dictionary as its parameter, if found in the
	provider type.

	* CompilerCollection.cs: compiler defaults are initialized using
	the provider options dictionary, with one option present -
	"CompilerVersion" set to "2.0".
	Two dictionaries to map languages and extensions to compiler
	information objects added.

	* CompilerProviderOption.cs: added - implements the
	<providerOption> element.

	* CompilerProviderOptionsCollection.cs: added - implements
	collection for the 2.0sp1 <providerOption> child element of the
	system.codeDom/compilers/compiler element.


svn path=/trunk/mcs/; revision=91337
2007-12-15 01:46:04 +00:00
Marek Habersack 7e8cda0259 Be case-insensitive when looking up compilers
svn path=/trunk/mcs/; revision=73327
2007-02-22 16:54:03 +00:00
Marek Habersack 5af811cddc CompilerCollection must use a List to store the compiler infos because MS.NET allows storing multiple entries for the same language
svn path=/trunk/mcs/; revision=68039
2006-11-16 22:53:10 +00:00
Marek Habersack ff553f3300 Reimplementation of the CodeDomConfigurationHandler class as a ConfigurationSection. It now provides default compiler entries a'la MS.NET
svn path=/trunk/mcs/; revision=67961
2006-11-16 00:13:33 +00:00