When running the 2.0 test suite some assemblies will invoke mcs via
CodeDOM and the new mcs process will find the MONO_PATH variable in its
environment pointing to the net_2_0 library which will cause the runtime
to attempt to load the 2.0 corlib into 4.0 process and thus mcs will
fail. At the same time, we must not touch MONO_PATH when running outside
the test suite, thus the kludge.
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
* Microsoft.CSharp/CSharpCodeCompiler.cs:
* Microsoft.VisualBasic/VBCodeCompiler.cs: better error when there's a
problem running the specified exec.
svn path=/trunk/mcs/; revision=132387
* CSharpCodeCompiler.cs: pass current application's domain
PrivateBinPath to gmcs using its /lib parameter and put the same
value in the MONO_PATH environment variable. Fixes bug #493874
svn path=/trunk/mcs/; revision=131983
2008-12-25 Miguel de Icaza <[email protected]>
* ProcessTest.cs: Created a test case from bug 459450.
2008-12-25 Leszek Ciesielski <[email protected]>
* System.Diagnostics/Process.cs: Raise the
Process.OutputDataReceived and Process.ErrorDataReceived with null
arguments at the end. This is the documented behavior:
http://msdn.microsoft.com/en-us/library/system.diagnostics.datareceivedeventargs.data.aspx
And CruiseControl.NET depended on this. Bug #459450.
* Microsoft.CSharp/CSharpCodeCompiler.cs: Fix the code, as it
depened on the previous broken behavior.
svn path=/trunk/mcs/; revision=122125
* CSharpCodeProvider.cs: fix the constructor to take an IDictionary
instead of a plain Dictionary for provider options.
* CSharpCodeGenerator.cs, CSharpCodeCompiler.cs: update accordingly.
Fixes#411105.
svn path=/trunk/mcs/; revision=108446
* CSharpCodeCompiler.cs : in 2.0 profile, do not capture stdout (we
didn't do that in 1.0 either). Fixed bug #379535.
svn path=/trunk/mcs/; revision=105026
* CSharpCodeCompiler.cs: Don't mess around with the
MONO_INSIDE_MDB environment variable, it may only be modified by
the debugger.
svn path=/trunk/mcs/; revision=102742
* CSharpCodeCompiler.cs: CompilerResults.Output can now be set
internally.
2008-02-26 Marek Habersack <[email protected]>
* CompilerResults.cs: Output can be set internally.
svn path=/trunk/mcs/; revision=96615
* CSharpCodeCompiler.cs: check if running under the debugger and,
if yes, make sure that gmcs runs correctly by removing the
MONO_INSIDE_MDB environment variable before executing gmcs and
restore it after the compiler process exits. Fixes bug #352377
svn path=/trunk/mcs/; revision=92575
* 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
if its a zero-length string. Fixed bug #80920. Set extension to exe or
dll depending on whether we're generating an executable or not.
* CSharpCodeProviderTest.cs: Added test for generating executable.
Modified existing test to use zero-length OutputAssembly, and verify
expected OutputAssembly after generating assembly.
svn path=/trunk/mcs/; revision=73262
#78384, and check support for linked resources.
* VBCodeProviderTest.cs: Modified tests to verify fix for bug
#78384, and check support for linked resources.
* CSharpCodeCompiler.cs: Added support for embedded resources, fixes
bug #78384. Added support for linked resources. Removed unnecessary
null check for options.ReferencedAssemblies.
svn path=/trunk/mcs/; revision=63465
* CSharpCodeCompiler.cs: patch from Maksim Vorobiev that prevents
InvalidOperationException if the thread running mcs is aborted.
svn path=/trunk/mcs/; revision=48688
* CSharpCodeCompiler.cs: added missing colon after the line,column
parenthesis in the regex that parses the errors to make this work with
HEAD mcs.
svn path=/trunk/mcs/; revision=48102
* CSharpCodeCompiler.cs: use UTF8 in the StreamWriter, as it did before
r45802 removed it accidentally. Fixes bug #75361.
svn path=/trunk/mcs/; revision=46420
* CSharpCodeCompiler.cs (CompileAssemblyFromDomBatch): Include
counter in the extension so that batch compilations work.
(CompileAssemblyFromSourceBatch): Same.
svn path=/trunk/mcs/; revision=31111
* CSharpCodeCompiler.cs : (only for windows) First check mcs.bat, then
check mcs.exe. It enables xsp working with mono windows installer.
svn path=/trunk/mcs/; revision=30472