2006-09-15 LLuis Sanchez Gual * TempFileCollection.cs: Create files in a temporary subdirectory, for security reasons. * CodeCompiler.cs: Let TempFileCollection choose the temp dir. 2006-05-04 LLuis Sanchez Gual * TempFileCollection.cs: Make sure generated file names are unique. Fixes bug #76125 and #78230. 2006-04-20 Gert Driesen * CodeGenerator.cs: Output empty line between types if BlankLinesBetweenMembers option is set. 2006-03-24 Chris Toshok * CompilerInfo.cs (Init): make this internal as well, so CodeDomConfigurationHandler can call it. * CodeDomConfigurationHandler.cs (ReadCompilers): we need to call CompilerInfo.Init after setting CompilerInfo.TypeName. 2006-03-11 Miguel de Icaza * CodeDomConfigurationHandler.cs: Comment out unused methods. * TempFileCollection.cs: Implement explicitly some interface methods to get rid of the "!" errors on CorCompare. 2006-02-19 Zoltan Varga * CodeDomProvider.cs: Fix the [ToolboxItem] attribute. Fixes #77513. 2005-12-07 Gert Driesen * CodeGenerator.cs: Modified GeneratePrimitiveExpression to throw ArgumentException for sbyte value, use GenerateSingleFloatValue for float, GenerateDecimalValue for decimal and GenerateDoubleValue for double. Modified exception message for non-primitive types to match MS.NET. * ICodeCompiler.cs: Set eol-style to native. * CodeCompiler.cs: Set eol-style to native. * CodeDomConfigurationHandler.cs: Set eol-style to native. * CodeDomProvider.cs: Set eol-style to native. * CodeGeneratorOptions.cs: Set eol-style to native. * CodeParser.cs: Set eol-style to native. * CompilerError.cs: Set eol-style to native. * CompilerErrorCollection.cs: Set eol-style to native. * CompilerInfo.cs: Set eol-style to native. * CompilerParameters.cs: Set eol-style to native. * CompilerResults.cs: Set eol-style to native. * Executor.cs: Set eol-style to native. * GeneratorSupport.cs: Set eol-style to native. * ICodeGenerator.cs: Set eol-style to native. * ICodeParser.cs: Set eol-style to native. * LanguageOptions.cs: Set eol-style to native. * TempFileCollection.cs: Set eol-style to native. 2005-11-30 Gert Driesen * CodeGenerator.cs: Corrected line endings. Set eol-style to native. * IndentedTextWriter.cs: Indent can no longer become negative. 2005-11-04 Sebastien Pouliot * 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 * Executor.cs: Reworked (for permissions) and fixed ExitCode (must be called before Close). 2005-11-01 Sebastien Pouliot * CodeGenerator.cs: Added/stubbed missing 2.0 stuff. 2005-11-01 Sebastien Pouliot CodeDomProvider.cs: Added missing 2.0 methods. Added CAS permissions. Added protection against NullReferenceException when no config is available. 2005-10-29 Sebastien Pouliot CodeDomProvider.cs: Stubbed a few 2.0 methods to fix API errors in derived classes. 2005-10-25 Sebastien Pouliot * CompilerError.cs: Added LinkDemand for Unrestricted before 2.0. * CompilerErrorCollection.cs: Added LinkDemand for Unrestricted before 2.0. 2005-10-25 Sebastien Pouliot * CodeGenerator.cs: Fixed OutputAttributeArgument not to assume the default value is null (it's String.Empty). 2005-10-25 Sebastien Pouliot * 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 * 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 * TempFileCollection.cs: Added a call to GC.SuppressFinalize in Dispose. 2005-07-30 Gert Driesen * CodeGenerator.cs: In OutputMemberScopeModifier, only output "new" modifier in 2.0 profile. 2005-07-24 Gert Driesen * CodeGenerator.cs: Threat delegates like any other type. 2005-07-21 Gert Driesen * CodeGenerator.cs: Fixed IsCurrentClass to return false for delegate. 2005-06-28 Gert Driesen * 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 * CodeGenerator.cs: Fixed bug #75190, GenerateCodeFromCompileUnit generates no code for CodeSnippetCompileUnit. 2005-06-04 Gert Driesen * IndentedTextWriter.cs: also output tabs in WriteLine () to match MS.NET 2005-02-17 Gonzalo Paniagua Javier * CodeDomProvider.cs: implemented IsDefined* and GetCompilerInfo. * CompilerInfo.cs: implemented. * CodeDomConfigurationHandler.cs: system.codedom section reader. 2005-01-27 LLuis Sanchez Gual * CodeGenerator.cs: Write 'f' suffix for float constants. 2004-09-06 Marek Safar * CodeGenerator.cs, * GeneratorSupport.cs : Implemented NET_2_0 extension * CompilerInfo.cs : New NET_2_0 file. 2004-09-01 Marek Safar * CodeGenerator.cs : Added newline after global attributes output. (OutputAttributeDeclaration): Replace '+' with '.' for nested attribute types. 2004-08-09 Atsushi Enomoto * CodeGenerator.cs : Don't initialize output more than once. TextWriter is wrapped twice. 2004-07-15 Peter Williams * 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 * CompilerError.cs: * CodeGenerator.cs: Make sure we are using invariant for non culture sensitive operations. 2004-06-13 Gert Driesen * IndentedTextWriter.cs: have DefaultTabString correspond with MS.NET (meaning four spaces) 2004-05-14 Gonzalo Paniagua Javier * TempFileCollection.cs: don't create a Random object on every call to BasePath. 2004-04-26 Atsushi Enomoto * CodeGenerator.cs : delegate was output as usual class. 2004-03-29 Lluis Sanchez Gual * Executor.cs: Implemented. 2004-02-17 Gonzalo Paniagua Javier * TempFileCollection.cs: fixed typo in Delete. Closes bug #54443. 2004-02-10 Jackson Harper * CompilerParameters.cs: TempFiles should never return null. 2004-02-04 Jackson Harper * 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 * TempFileCollection.cs: fixed temp path in BaseDir. 2003-11-21 Gonzalo Paniagua Javier * CodeGenerator.cs: fixed assembly level attribute generation. 2003-08-08 Lluis Sanchez Gual * 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 * CodeGenerator.cs: Generate comments for properties and fields. Write a line separator between type declarations. 2003-07-10 Andreas Nahr * Executor.cs: Changed abstract to sealed 2003-07-07 Andreas Nahr * 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 * 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 * TempFileCollection.cs: Implement 2003-04-28 Gonzalo Paniagua Javier * CodeGenerator.cs: (GenerateSnippetStatement): use WriteLine instead of Write. 2003-04-25 Gonzalo Paniagua Javier * 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 * CodeGenerator.cs: more fixes and sorted the output. * IndentedTextWriter.cs: don't output tabs in WriteLine (). 2003-04-23 Gonzalo Paniagua Javier * 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 * CodeGenerator.cs: Generates the entry point method. 2003-01-10 Duncan Mak * CompilerErrorCollection.cs: * CompilerParameters.cs: Patch from Sean Kasun implementing most of the MonoTODOs in CompilerErrorCollection and the CompilerParameters overloads in CompilerParameters.cs. 2002-11-30 Jackson Harper * CodeCompiler.cs: Removed TODO attribute from abstract members 2002-11-30 Jackson Harper * CodeCompiler.cs: Added stub 2002-09-11 Gonzalo Paniagua Javier * CodeDomProvider.cs: * IndentedTextWriter.cs: misc. fixes. 2002-08-23 Gonzalo Paniagua Javier * CompilerError.cs: implemented. * CompilerErrorCollection.cs: stubbed out and fix inheritance. * GeneratorSupport.cs: fixed values. 2002-05-28 Daniel Stodden * 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 * CodeGenerator.cs : Mark bits with MonoTODO. 2001-07-15 Sean MacIsaac * CodeGenerator.cs: moved using statement out of namespace declaration.