Files
mono/mcs/class/System/System.CodeDom.Compiler/ChangeLog
T
Gert Driesen e4e516d410 * CodeGeneratorFromStatementTest.cs: Added tests for
CodeAssignStatement, CodeAttachEventStatement,
CodeConditionStatement, CodeExpressionStatement,
CodeIterationStatement, CodeLabeledStatement,
CodeMethodReturnStatement, CodeRemoveEventStatement,
CodeSnippetStatement, CodeStatement, CodeVariableDeclarationStatement.
* CodeRemoveEventStatementTest.cs: Added tests for ctors.
* IndentedTextWriterTest.cs: Added tests for Indent property.
* CodeGeneratorFromStatementTest.cs: Added tests for
CodeAssignStatement, CodeAttachEventStatement, CodeConditionStatement,
CodeExpressionStatement, CodeIterationStatement,
CodeLabeledStatement, CodeMethodReturnStatement,
CodeRemoveEventStatement and CodeSnippetStatement.
* CSharpCodeGenerator.cs: No longer output semicolon and newline for
CodeVariableDeclarationStatement in for statement, fixes #75292.
Fixed NRE in GenerateEventReferenceExpression. Cosmetic changes to
code generated for iteration to match MS.NET. Temporary reduce
indentation for label and no longer escape label if its a keyword.
* CodeRemoveEventStatement.cs: Event returns new CodeEventReference
if underlying value is null.
* System_test.dll.sources: Added CodeRemoveEventStatementTest.cs from
System.CodeDom.
* CodeGenerator.cs: Corrected line endings. Set eol-style to native.
* IndentedTextWriter.cs: Indent can no longer become negative.
* VBCodeGenerator.cs: Fixed NRE in GenerateEventReferenceExpression,
and escape event name. Indent statements for iteration. Avoid
ArgumentNullException if expression is not set for CodeReturnStatement.
Temporary reduce indentation for label, and fixed ArgumentNullException
if no statement is set. Cosmetic changes to code generated for
condition to match MS.NET. In OutputTypeNamePair, escape name.

svn path=/trunk/mcs/; revision=53703
2005-11-30 18:54:17 +00:00

315 lines
10 KiB
Plaintext

2005-11-30 Gert Driesen <[email protected]>
* CodeGenerator.cs: Corrected line endings. Set eol-style to native.
* IndentedTextWriter.cs: Indent can no longer become negative.
2005-11-04 Sebastien Pouliot <[email protected]>
* CodeCompiler.cs: Compile now use the Executor class (instead of the
Process class). Fixed JoinStringArray.
* CompilerResults.cs: Load assembly only when the property is called.
2005-11-02 Sebastien Pouliot <[email protected]>
* Executor.cs: Reworked (for permissions) and fixed ExitCode (must be
called before Close).
2005-11-01 Sebastien Pouliot <[email protected]>
* CodeGenerator.cs: Added/stubbed missing 2.0 stuff.
2005-11-01 Sebastien Pouliot <[email protected]>
CodeDomProvider.cs: Added missing 2.0 methods. Added CAS permissions.
Added protection against NullReferenceException when no config is
available.
2005-10-29 Sebastien Pouliot <[email protected]>
CodeDomProvider.cs: Stubbed a few 2.0 methods to fix API errors in
derived classes.
2005-10-25 Sebastien Pouliot <[email protected]>
* CompilerError.cs: Added LinkDemand for Unrestricted before 2.0.
* CompilerErrorCollection.cs: Added LinkDemand for Unrestricted before
2.0.
2005-10-25 Sebastien Pouliot <[email protected]>
* CodeGenerator.cs: Fixed OutputAttributeArgument not to assume the
default value is null (it's String.Empty).
2005-10-25 Sebastien Pouliot <[email protected]>
* CompilerParameters.cs: Added [ComVisible(false)] on the new (2.0)
EmbeddedResources and LinkedResources properties.
* TempFileCollection.cs: Changed BasePath property to use Path.
GetTempPath (Environment check) and added the PathDiscovery check on
the combined result. Fixed TempDir so it's value never change (i.e.
imply that it doesn't need any permissions). Fixed SyncRoot to always
return null.
2005-10-24 Sebastien Pouliot <[email protected]>
* CodeGeneratorOptions.cs: Fixed how properties are kept inside the
IDictionary (which is just like System.Web.dll).
* CompilerError.cs: Added [Serializable] attribute for 2.0.
* CompilerInfo.cs: Added LinkDemand for Unrestricted. Stubbed new
(2.0) CreateDefaultCompilerParameters method.
* CompilerParameters.cs: Added LinkDemand and InheritanceDemand for
Unrestricted. Added Demand for ControlEvidence to Evidence property.
Added new (2.0) EmbeddedResources and LinkedResources properties.
* CompilerResults.cs: Added LinkDemand and InheritanceDemand for
Unrestricted. Added Demand for ControlEvidence to Evidence property.
* Executor.cs: Added LinkDemand for Unrestricted. Added support for
userToken (impersonation).
* GeneratedCodeAttribute.cs: New. 2.0 attribute for code generated by
tools.
* IndentedTextWriter.cs: Added LinkDemand and InheritanceDemand for
Unrestricted.
2005-10-04 Sebastien Pouliot <[email protected]>
* TempFileCollection.cs: Added a call to GC.SuppressFinalize in
Dispose.
2005-07-30 Gert Driesen <[email protected]>
* CodeGenerator.cs: In OutputMemberScopeModifier, only output
"new" modifier in 2.0 profile.
2005-07-24 Gert Driesen <[email protected]>
* CodeGenerator.cs: Threat delegates like any other type.
2005-07-21 Gert Driesen <[email protected]>
* CodeGenerator.cs: Fixed IsCurrentClass to return false for delegate.
2005-06-28 Gert Driesen <[email protected]>
* CodeGenerator.cs: On 2.0 profile, internal members are also marked
virtual. Fixed access modifier for FamilyAndAssembly to match
MS.NET.
2005-06-25 Gert Driesen <[email protected]>
* CodeGenerator.cs: Fixed bug #75190, GenerateCodeFromCompileUnit
generates no code for CodeSnippetCompileUnit.
2005-06-04 Gert Driesen <[email protected]>
* IndentedTextWriter.cs: also output tabs in WriteLine () to
match MS.NET
2005-02-17 Gonzalo Paniagua Javier <[email protected]>
* CodeDomProvider.cs: implemented IsDefined* and GetCompilerInfo.
* CompilerInfo.cs: implemented.
* CodeDomConfigurationHandler.cs: system.codedom section reader.
2005-01-27 LLuis Sanchez Gual <[email protected]>
* CodeGenerator.cs: Write 'f' suffix for float constants.
2004-09-06 Marek Safar <[email protected]>
* CodeGenerator.cs,
* GeneratorSupport.cs : Implemented NET_2_0 extension
* CompilerInfo.cs : New NET_2_0 file.
2004-09-01 Marek Safar <[email protected]>
* CodeGenerator.cs : Added newline after global attributes output.
(OutputAttributeDeclaration): Replace '+' with '.' for nested
attribute types.
2004-08-09 Atsushi Enomoto <[email protected]>
* CodeGenerator.cs :
Don't initialize output more than once. TextWriter is wrapped twice.
2004-07-15 Peter Williams <[email protected]>
* CodeGenerator.cs: Have the basic generator create line pragmas
for NamespaceImports, SnippetCompileUnits, and TypeMembers, all of
which had LinePragma members which were going unused.
2004-06-17 Jackson Harper <[email protected]>
* CompilerError.cs:
* CodeGenerator.cs: Make sure we are using invariant for non
culture sensitive operations.
2004-06-13 Gert Driesen <[email protected]>
* IndentedTextWriter.cs: have DefaultTabString correspond with
MS.NET (meaning four spaces)
2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* TempFileCollection.cs: don't create a Random object on every call to
BasePath.
2004-04-26 Atsushi Enomoto <[email protected]>
* CodeGenerator.cs : delegate was output as usual class.
2004-03-29 Lluis Sanchez Gual <[email protected]>
* Executor.cs: Implemented.
2004-02-17 Gonzalo Paniagua Javier <[email protected]>
* TempFileCollection.cs: fixed typo in Delete. Closes bug #54443.
2004-02-10 Jackson Harper <[email protected]>
* CompilerParameters.cs: TempFiles should never return null.
2004-02-04 Jackson Harper <[email protected]>
* CodeGenerator.cs (GenerateExpression): Don't allow null
expressions. Throw ArgumentException if the expression type is not
handled.
* CodeGenerator.cs (GenerateStatement): Add line pragmas if they
are set. Throw ArgumentException if the expression type is not handled.
2003-12-12 Gonzalo Paniagua Javier <[email protected]>
* TempFileCollection.cs: fixed temp path in BaseDir.
2003-11-21 Gonzalo Paniagua Javier <[email protected]>
* CodeGenerator.cs: fixed assembly level attribute generation.
2003-08-08 Lluis Sanchez Gual <[email protected]>
* CodeGenerator.cs: When sorting the members of a type, keep the
relative order of the members of the same kind.
2003-08-05 Lluis Sanchez Gual <[email protected]>
* CodeGenerator.cs: Generate comments for properties and fields.
Write a line separator between type declarations.
2003-07-10 Andreas Nahr <[email protected]>
* Executor.cs: Changed abstract to sealed
2003-07-07 Andreas Nahr <[email protected]>
* CodeDomProvider.cs: Removed unneccesary attribute according to corecompare
* Executor.cs: Fixed signature with ref calls according to corecompare and made neccessary changes
2003-06-20 Andreas Nahr <[email protected]>
* CodeCompiler.cs: Nearly completely implemented
* CodeDomProvider.cs: Added missing Attribute, restyled according to style guidelines
* CodeGenerator.cs: Fixed visibilies, added missing members, implemented members, stubbed out missing member, restyled according to style guidelines
* CodeParser.cs: Added and implemented (ok no real implementation needed ;)
* CompilerErrorCollection.cs: Removed unneeded MonoTODOs, restyled according to style guidelines
* CompilerParameters.cs: Fixed wrong properties, Added Initializers, restyled according to style guidelines
* CompilerResults.cs: Added Evidence property, added initial values
* Executor.cs: Added and partially implemented (should probably be used by CodeCompiler)
* CompilerOptions.cs: Deleted this file (such a class does not exist)
2003-05-16 Dick Porter <[email protected]>
* TempFileCollection.cs: Implement
2003-04-28 Gonzalo Paniagua Javier <[email protected]>
* CodeGenerator.cs:
(GenerateSnippetStatement): use WriteLine instead of Write.
2003-04-25 Gonzalo Paniagua Javier <[email protected]>
* CodeGenerator.cs:
(GenerateCodePrimitive): special case strings and chars (bool was
already a special case). Throw an exception if the type is not a
primitive type.
2003-04-24 Gonzalo Paniagua Javier <[email protected]>
* CodeGenerator.cs: more fixes and sorted the output.
* IndentedTextWriter.cs: don't output tabs in WriteLine ().
2003-04-23 Gonzalo Paniagua Javier <[email protected]>
* CodeGenerator.cs:
(GenerateCompileUnitStart):
(GenerateCompileUnitEnd): removed debug output.
(GeneratePrimitiveExpression): handle null and bool as special cases.
(GenerateType): added type constructor and constructor calls.
2003-02-20 Alfonso Ali <[email protected]>
* CodeGenerator.cs: Generates the entry point method.
2003-01-10 Duncan Mak <[email protected]>
* CompilerErrorCollection.cs:
* CompilerParameters.cs: Patch from Sean Kasun
<[email protected]> implementing most of the MonoTODOs in
CompilerErrorCollection and the CompilerParameters overloads in CompilerParameters.cs.
2002-11-30 Jackson Harper <[email protected]>
* CodeCompiler.cs: Removed TODO attribute from abstract members
2002-11-30 Jackson Harper <[email protected]>
* CodeCompiler.cs: Added stub
2002-09-11 Gonzalo Paniagua Javier <[email protected]>
* CodeDomProvider.cs:
* IndentedTextWriter.cs: misc. fixes.
2002-08-23 Gonzalo Paniagua Javier <[email protected]>
* CompilerError.cs: implemented.
* CompilerErrorCollection.cs: stubbed out and fix inheritance.
* GeneratorSupport.cs: fixed values.
2002-05-28 Daniel Stodden <[email protected]>
* CodeDomProvider.cs: added, incomplete
* CodeGeneratorOptions.cs: added, complete
* CompilerErrorCollection.cs: added, stub
* CompilerOptions.cs: added, stub
* CompilerResults.cs: added, complete
* GeneratorSupport.cs: added, complete
* ICodeCompiler.cs: added, complete
* ICodeParser.cs: added, complete
* IndentedTextWriter.cs: added, complete
* LanguageOptions.cs: added, complete
* TempFileCollection.cs: added, stub
* ICodeGenerator.cs: added, complete
2002-01-05 Ravi Pratap <[email protected]>
* CodeGenerator.cs : Mark bits with MonoTODO.
2001-07-15 Sean MacIsaac <[email protected]>
* CodeGenerator.cs: moved using statement out of namespace
declaration.