2006-08-08 Gert Driesen * CSharpCodeCompiler.cs: Added support for embedded resources, fixes bug #78384. Added support for linked resources. Removed unnecessary null check for options.ReferencedAssemblies. 2006-07-16 Andrew Skiba * CSharpCodeCompiler.cs: find mono.exe in mono/mini; fixes #78731 2006-04-30 Marek Safar * CSharpCodeCompiler.cs: mcs does not like /r:"" syntax; fixes #78038. 2005-12-07 Gert Driesen * CSharpCodeGenerator.cs: Override GeneratePrimitiveExpression to match .NET 1.x and 2.0 for float, decimal, char, ushort, uint, ulong and sbyte. 2005-11-30 Gert Driesen * 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. 2005-11-26 Gert Driesen * CSharpCodeGenerator.cs: Fixed GenerateComment to also write comment chars for carriage-return (and skip linefeed, if its the next character). Fixed output for TryCatchFinallyStatement. Fixed GotoStatement to end with newline. 2005-11-04 Gert Driesen * CSharpCodeGenerator.cs: Ignore ChecksumData of CodeChecksumPragma if null. 2005-10-29 Sebastien Pouliot * CSharpCodeProvider.cs: GenerateCodeFromMember method is an override in 2.0 final. 2005-10-28 Gert Driesen * CSharpCodeGenerator.cs: Use fixed signature for entrypoint method on 1.0 profile. On 2.0 profile output custom attributes, and return type. On 1.0 profile, also replace + with dot (for nested types). Fixes bug #76580. Set eol-style to native. * CSharpCodeCompiler.cs: Set eol-style to native. * CSharpCodeProvider.cs: Set eol-style to native. 2005-10-19 Miguel de Icaza * CSharpCodeCompiler.cs: Quote the directory, to fix #76469 2005-10-17 Sebastien Pouliot * CSharpCodeProvider.cs: Added a LinkDemand and an InheritanceDemand for FullTrust (i.e. Unrestricted permission set) at the class level. Added [Obsolete] on CreateCompiler and CreateGenerator methods (2.0). Stubbed new method GenerateCodeFromMember (2.0). 2005-10-15 Gert Driesen * CSharpCodeGenerator.cs: Support C bracing style. Fixes bug #76286. 2005-10-07 Gert Driesen * CSharpCodeGenerator.cs: Fixed supported for type arguments in GetTypeOutput on 2.0 profile. Partial fix for bug #76286. 2005-08-22 Gonzalo Paniagua Javier * CSharpCodeCompiler.cs: patch from Maksim Vorobiev that prevents InvalidOperationException if the thread running mcs is aborted. 2005-08-20 Gonzalo Paniagua Javier * CSharpCodeCompiler.cs: made the colon optional so that both mcs and gmcs work. 2005-08-08 Gonzalo Paniagua Javier * CSharpCodeCompiler.cs: added missing colon after the line,column parenthesis in the regex that parses the errors to make this work with HEAD mcs. 2005-07-30 Gert Driesen * CSharpCodeGenerator.cs: Fixed code generated for NewSlot members. 2005-07-24 Gert Driesen * CSharpCodeGenerator.cs: Fixed generated code for enums, interfaces and delegates to match MS.NET. 2005-07-02 Gert Driesen * CSharpCodeGenerator.cs: Fixed output of ReturnTypeCustomAttributes. 2005-07-02 Gert Driesen * CSharpCodeGenerator.cs: Added PrivateImplementationType support for events, properties, methods. No longer output scope modifier for events. 2005-06-30 Gert Driesen * CSharpCodeGenerator.cs: Only consider property an indexer if name is Item (case-insensitive comparison) and property has parameters. 2005-06-28 Gert Driesen * CSharpCodeGenerator.cs: Fixed GetTypeOutput to match MS.NET 1.x and 2.0. 2005-06-26 Gert Driesen * CSharpCodeGenerator.cs: Fixed generated code for events, fields, properties, methods and ctors to match MS.NET. 2005-06-25 Gert Driesen * CSharpCodeGenerator.cs: Also modified generated code for type-level attributes to match MS.NET. 2005-06-25 Gert Driesen * CSharpCodeGenerator.cs: Fixed generated code for assembly-level attributes to match code generated by MS.NET. 2005-06-23 Gonzalo Paniagua Javier * CSharpCodeCompiler.cs: use UTF8 in the StreamWriter, as it did before r45802 removed it accidentally. Fixes bug #75361. 2005-06-12 Gert Driesen * CSharpCodeCompiler.cs: Temp source files should have extension ".cs". 2005-06-11 Gert Driesen * CSharpCodeGenerator.cs: Win32 resources are supported. Fixes bug #75218. * CSharpCodeCompiler.cs: Clean up temporary files after compilation. Fixes bug #75221. Added support for Win32 resources. Fixes bug #75218. 2005-05-29 Gert Driesen * CSharpCodeCompiler.cs: Load compiled assembly from byte array if GenerateInMemory compiler parameter is set, set PathToAssembly if compilation succeeded and GenerateInMemory is false. Fixes bug #74959. 2005-04-18 Gonzalo Paniagua Javier * CSharpCodeCompiler.cs: fix problem with the output CS8028. 2005-02-03 Atsushi Enomoto * CSharpCodeCompiler.cs : On windows, use gmcs under 2.0 profile too. 2005-01-19 Jonathan Pryor * CSharpCodeGenerator.cs: Remove extra ' ' emitted after class name in GenerateTypeStart(). This removes a regression test failure in MonoTests.Microsoft.CSharp.CodeGeneratorFromTypeTest.DefaultTypeTest. 2005-01-12 Lluis Sanchez Gual * CSharpCodeGenerator.cs: Avoid keywords when writing enum members. Removed the GetSafeTypeName method. It was a wrong bug fix. Type names are expected to always use the full name form, never the alias. 2004-12-13 Gonzalo Paniagua Javier * CSharpCodeCompiler.cs: ignore the 'BETA SOFTWARE blah' from gmcs. Use stderr to get the errors/warnings instead of stdout. Removed obsolete lines from CreateErrorFromString. 2004-10-02 Marek Safar * CSharpCodeCompiler.cs: Fix #65722. 2004-09-14 Marek Safar * CSharpCodeGenerator.cs: Fix #65854. 2004-09-08 Lluis Sanchez Gual * CSharpCodeGenerator.cs: Reverted change in GenerateArrayCreateExpression. It was causing regressions. 2004-09-06 Marek Safar * CSharpCodeGenerator.cs: Implemented NET_2_0 extensions 2004-09-01 Marek Safar * CSharpCodeGenerator.cs : New private member dont_write_semicolon. Used for one row "for" syntax. (GenerateEvent): Added attributes output. (GenerateField): Don't output access and scope modifier for enum field. (GenerateConstructor): Added attributes output. (QuoteSnippetString): Fixed mixed case type conversion. Replace '+' with '.' for nested classes. 2004-07-21 Lluis Sanchez Gual * CSharpCodeCompiler.cs: Hack to make code generation work in 2.0. 2004-07-13 Peter Williams * CSharpCodeCompiler.cs (CompileAssemblyFromDomBatch): Include counter in the extension so that batch compilations work. (CompileAssemblyFromSourceBatch): Same. 2004-07-12 Fawad Halim * CSharpCodeGenerator.cs : Have GenerateField generate field sans the type for enums. 2004-06-28 Atsushi Enomoto * CSharpCodeCompiler.cs : (only for windows) First check mcs.bat, then check mcs.exe. It enables xsp working with mono windows installer. 2004-06-24 Atsushi Enomoto * CSharpCodeCompiler.cs : On windows we use fixed mono.exe and mcs.exe located by mscorlib.dll. 2004-06-23 Jackson Harper * CSharpCodeGenerator.cs (GenerateLabeledStatement): Append a ": " to the statement name. Make sure the statement isn't null before writing. Patch by Alex Yakunin. 2004-06-22 Atsushi Enomoto * CSharpCodeGenerator.cs : Check null argument in CreateValidIdentifier(). 2004-06-21 Atsushi Enomoto * CSharpCodeGenerator.cs : Fix for tests. Check type names in CreateValidIdentifier. Implemented IsValidIdentifier. 2004-06-11 Gonzalo Paniagua Javier * CSharpCodeCompiler.cs: let the TempFileCollection handle the removal of the files if needed. 2004-04-26 Atsushi Enomoto * CSharpCodeGenerator.cs : implemented GenerateEvent. Delegate was output as usual class. 2004-03-29 Lluis Sanchez Gual * CSharpCodeGenerator.cs: In GetTypeOutput, never escape runtime type names. Created a new method GetSafeTypeName to support this. 2004-03-15 Gonzalo Paniagua Javier * CSharpCodeGenerator.cs: patch from Jaroslaw Kowalski that fixes CodeMethodReturnStatement(). Closes bug #54934. 2004-02-27 Jaroslaw Kowalski * CSharpCodeGenerator.cs: fixed static property references in GeneratePropertyReferenceExpression 2004-02-10 Jackson Harper * CSharpCodeCompiler.cs: Use the temp files collection for creating temp files. 2004-02-04 Jackson Harper * CSharpCodeGenerator.cs: Don't write ToThrow statement if it is null (matches MS output). When creating comments there is a space after the first // but not the following lines. 2004-01-21 Atsushi Enomoto * CSharpCodeGenerator.cs: Implemented CreateEscapedIdentifier() and CreateValidIdentifier(). 2004-01-19 Lluis Sanchez Gual * CSharpCodeGenerator.cs: Do not generate access and scope modifiers for interface methods. 2004-01-10 Gonzalo Paniagua Javier * CSharpCodeCompiler.cs: when generating files from DOM, set the encoding to UTF-8 with BOM marker. Fixes bug #52604. 2003-11-12 Lluis Sanchez Gual * CSharpCodeCompiler.cs: In BuildArgs, add "--" separator between options and source files. 2003-10-15 Lluis Sanchez Gual * CSharpCodeGenerator.cs: added override for the method GenerateParameterDeclarationExpression. The parameter must be generated with a safe C# name. 2003-09-18 Gonzalo Paniagua Javier * CSharpCodeCompiler.cs: don't leave temporary files around. 2003-09-04 Lluis Sanchez Gual * CSharpCodeGenerator.cs: Fixed generation of array construction with initializers. Render return type custom attributes. 2003-08-15 Jaroslaw Kowalski * CSharpCodeGenerator.cs: - fixed support for method references where target object is null - fixed CodeThrowExceptionStatement - disabled member access modifiers for private method implementations - disabled generation of empty method body for interface declarations - disabled generation of empty property accessor bodies in interface declarations - added support for indexers (properties named "Item") - added support for chained constructor arguments and base constructor arguments 2003-08-05 Lluis Sanchez Gual * CSharpCodeGenerator.cs: Added method GetSafeName() that checks if a given id is a C# keyword, and returns the same if if it is not, or @id if it is a keyword. This method is used everywhere a name is rendered. 2003-08-05 Lluis Sanchez Gual * CSharpCodeGenerator.cs: GenerateComment(): Render multiline comments. 2003-07-30 Lluis Sanchez Gual * CSharpCodeGenerator.cs: GenerateTypeStart(): Write type custom attributes 2003-07-06 Andreas Nahr * CSharpCodeCompiler.cs: Few fixes for update in CodeDom.Compiler 2003-07-04 Gonzalo Paniagua Javier * CSharpCodeCompiler.cs: ignore debug statistics in mcs output when debug is turned on. 2003-07-02 Gonzalo Paniagua Javier * CSharpCodeCompiler.cs: patch from pelle.johnsen@mail.dk (Pelle Johnsen) that fixes bug #45708. 2003-05-17 Ben Maurer * CSharpCodeGenerator.cs: implemented GenerateLinePragma{Start, End}. Marked GenerateEvent as MonoTODO. 2003-04-30 Gonzalo Paniagua Javier * CSharpCodeCompiler.cs: add quotes around out assembly name. 2003-04-29 Gonzalo Paniagua Javier * CSharpCodeCompiler.cs: (CompileAssemblyFromDomBatch): add the assemblies referenced by the CodeCompileUnits to the options. 2003-04-29 Gonzalo Paniagua Javier * CSharpCodeCompiler.cs: set NativeCompilerReturnValue. 2003-04-25 Gonzalo Paniagua Javier * CSharpCodeGenerator.cs: (QuoteSnippetString): add a few common escape sequences. 2003-04-24 Gonzalo Paniagua Javier * CSharpCodeGenerator.cs: implemented GenerateSnippetMember and some little fixes. 2003-04-23 Gonzalo Paniagua Javier * CSharpCodeGenerator.cs: beautified conditional statements. Implemented GenerateConstructor and GenerateTypeConstructor. 2003-01-10 Duncan Mak * CSharpCodeCompiler.cs: * CSharpCodeProvider.cs: Patch from Sean Kasun to implement CSharpCodeCompiler. 2002-12-07 Jackson Harper * CompilerError.cs Compiler.cs: Moving these classes to their own assembly 2002-11-11 Jackson Harper * CompilerError.cs: Reordered ErrorLevel enumeration to match MS values 2002-11-11 Jackson Harper * CompilerError.cs: Error levels are now lower case to match MS spec 2002-11-9 Jackson Harper * CompilerError.cs: ToString() Do not show source file info if there was no source file in the error message 2002-11-6 Jackson Harper * Compiler.cs: No longers waits untill mcs is finished running to read output, this should prevent crashes from buffers filling up. 2002-11-4 Jackson Harper * Compiler.cs CompilerError.cs: Fixed (C) in header 2002-11-4 Jackson Harper * Compiler.cs: Added file 2002-11-4 Jackson Harper * CompilerError.cs: Changed FileName property to the correct name 'SourceFile' 2002-10-30 Jackson Harper * CompilerError.cs: Added class 2002-10-19 Rachel Hestilow * CSharpCodeProvider.cs (GeneratePropertySetValueReferenceExpression): Implement. (GenerateField, GenerateMethod): Only call OutputAttributeDeclarations if there are any attributes. (GenerateProperty): Implement. 2002-10-11 Duncan Mak * CSharpCodeProvider.cs: Fix constructor visibility. 2002-05-28 Daniel Stodden * ChangeLog: added * CSharpCodeProvider.cs: added * CSharpCodeGenerator.cs: C# Code Generator. Not fully complete but doing fairly well.