Commit Graph
78 Commits
Author SHA1 Message Date
Gert Driesen 24b7baffa1 * IndentedTextWriter.cs: have DefaultTabString correspond with
MS.NET (meaning four spaces)

svn path=/trunk/mcs/; revision=29457
2004-06-13 19:00:26 +00:00
Gonzalo Paniagua Javier db9292e4b5 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* TempFileCollection.cs: don't create a Random object on every call to
	BasePath.

svn path=/trunk/mcs/; revision=27328
2004-05-14 02:30:31 +00:00
Atsushi Eno b666e8ec01 2004-04-26 Atsushi Enomoto <[email protected]>
* CodeGenerator.cs : delegate was output as usual class.

svn path=/trunk/mcs/; revision=25986
2004-04-26 08:36:24 +00:00
Lluis Sanchez ff071e16b9 * Executor.cs: Implemented.
svn path=/trunk/mcs/; revision=24723
2004-03-29 17:56:19 +00:00
Gonzalo Paniagua Javier 492d674325 2004-02-17 Gonzalo Paniagua Javier <[email protected]>
* TempFileCollection.cs: fixed typo in Delete. Closes bug #54443.

svn path=/trunk/mcs/; revision=23154
2004-02-17 02:03:06 +00:00
Jackson Harper 6779183017 * CompilerParameters.cs: TempFiles should never return
null.

svn path=/trunk/mcs/; revision=22952
2004-02-10 19:59:54 +00:00
Jackson Harper d63d8d1ee8 * 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.

svn path=/trunk/mcs/; revision=22776
2004-02-04 23:44:11 +00:00
Gonzalo Paniagua Javier 8c74b14758 2003-12-12 Gonzalo Paniagua Javier <[email protected]>
* TempFileCollection.cs: fixed temp path in BaseDir.

svn path=/trunk/mcs/; revision=21060
2003-12-12 07:18:15 +00:00
Gonzalo Paniagua Javier 5e99ee75fe 2003-11-21 Gonzalo Paniagua Javier <[email protected]>
* System.CodeDom.Compiler/CodeGenerator.cs: fixed assembly level
	attribute generation.

	* Test/Microsoft.CSharp/CodeGeneratorFromCompileUnitTest.cs: don't
	compare whitespace for assembly level attribute.

svn path=/trunk/mcs/; revision=20292
2003-11-21 00:26:33 +00:00
Lluis Sanchez db6f616b5b * CodeGenerator.cs: When sorting the members of a type, keep the relative
order of the members of the same kind.

svn path=/trunk/mcs/; revision=17193
2003-08-08 17:14:13 +00:00
Lluis Sanchez 531c57df8e * CodeGenerator.cs: Generate comments for properties and fields.
Write a line separator between type declarations.

svn path=/trunk/mcs/; revision=17070
2003-08-05 15:46:57 +00:00
Andreas N fd1549e5ea 2003-07-10 Andreas Nahr <[email protected]>
* Executor.cs: Changed abstract to sealed

svn path=/trunk/mcs/; revision=16107
2003-07-10 16:56:19 +00:00
Andreas N b6687f8951 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

svn path=/trunk/mcs/; revision=16008
2003-07-07 11:00:51 +00:00
Andreas N 133bb5f987 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)

svn path=/trunk/mcs/; revision=15992
2003-07-06 21:55:32 +00:00
Dick Porter 7e502bc936 2003-05-16 Dick Porter <[email protected]>
* TempFileCollection.cs: Implement

svn path=/trunk/mcs/; revision=14629
2003-05-16 12:15:07 +00:00
Gonzalo Paniagua Javier 5c56fe4edc 2003-04-28 Gonzalo Paniagua Javier <[email protected]>
* CodeGenerator.cs:
	(GenerateSnippetStatement): use WriteLine instead of Write.

svn path=/trunk/mcs/; revision=14075
2003-04-28 18:31:18 +00:00
Gonzalo Paniagua Javier 9ea1da42e8 2003-04-25 Gonzalo Paniagua Javier <[email protected]>
* Microsoft.CSharp/CSharpCodeGenerator.cs:
	(QuoteSnippetString): add a few common escape sequences.

	* System.CodeDom.Compiler/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.

svn path=/trunk/mcs/; revision=13987
2003-04-24 23:01:27 +00:00
Gonzalo Paniagua Javier fd6f5a46b5 2003-04-24 Gonzalo Paniagua Javier <[email protected]>
* Microsoft.CSharp/CSharpCodeGenerator.cs: implemented
	GenerateSnippetMember and some little fixes.

	* System.CodeDom/CodeMemberProperty.cs: fixed HasGet and HasSet to
	actually generate code for the property.

	* System.CodeDom.Compiler/CodeGenerator.cs: more fixes and sorted the
	output.

	* System.CodeDom.Compiler/IndentedTextWriter.cs: don't output tabs in
	WriteLine ().

svn path=/trunk/mcs/; revision=13960
2003-04-24 06:32:22 +00:00
Gonzalo Paniagua Javier 2d82e07cc0 2003-04-23 Gonzalo Paniagua Javier <[email protected]>
* Microsoft.CSharp/CSharpCodeGenerator.cs: beautified conditional
	statements. Implemented GenerateConstructor and GenerateTypeConstructor.

	* System.CodeDom.Compiler/CodeGenerator.cs:
	(GenerateCompileUnitStart):
	(GenerateCompileUnitEnd): removed debug output.
	(GeneratePrimitiveExpression): handle null and bool as special cases.
	(GenerateType): added type constructor and constructor calls.

svn path=/trunk/mcs/; revision=13921
2003-04-23 14:28:32 +00:00
Miguel de Icaza 38efc26107 2003-02-20 Alfonso Ali <[email protected]>
* CodeGenerator.cs: Generates the entry point method.

svn path=/trunk/mcs/; revision=11769
2003-02-20 07:03:25 +00:00
Duncan Mak 544d9defeb 2003-01-10 Duncan Mak <[email protected]>
* list.unix (CSharpCodeCompiler): Add
	Microsoft.Charp.CSharpCodeCompiler for Sean Kasun.

	* CSharpCodeCompiler.cs:
	* CSharpCodeProvider.cs: Patch from Sean Kasun
	<[email protected]> to implement CSharpCodeCompiler.

	* CompilerErrorCollection.cs:
	* CompilerParameters.cs: Patch from Sean Kasun
	<[email protected]> implementing most of the MonoTODOs in
	CompilerErrorCollection and the CompilerParameters overloads in CompilerParameters.cs.

svn path=/trunk/mcs/; revision=10362
2003-01-10 21:38:30 +00:00
Jackson Harper 37ab1524ac Removed TODO attribute from abstract members
svn path=/trunk/mcs/; revision=9308
2002-12-01 08:10:48 +00:00
Jackson Harper c57f10190e Added stub
svn path=/trunk/mcs/; revision=9306
2002-12-01 07:01:58 +00:00
Gonzalo Paniagua Javier ef94f0465d 2002-09-11 Gonzalo Paniagua Javier <[email protected]>
* CodeDomProvider.cs:
	* IndentedTextWriter.cs: misc. fixes.

svn path=/trunk/mcs/; revision=7370
2002-09-11 23:40:37 +00:00
Gonzalo Paniagua Javier 9a22266fe9 2002-08-23 Gonzalo Paniagua Javier <[email protected]>
* CompilerError.cs: implemented.
	* CompilerErrorCollection.cs: stubbed out and fix inheritance.
	* GeneratorSupport.cs: fixed values.

svn path=/trunk/mcs/; revision=6931
2002-08-23 06:24:31 +00:00
Daniel Stodden 1b4e294c54 big patch:
- System.CodeDom: lotsa corrections
	- System.CodeDom.Compiler: CodeGenerator about 80% complete
	- Microsoft.CSharp: CSharpCodegenerator intro

svn path=/trunk/mcs/; revision=4980
2002-05-28 06:59:57 +00:00
Ravi Pratap M 1af668b2fc 2002-01-05 Ravi Pratap <[email protected]>
* CodeGenerator.cs : Mark bits with MonoTODO.

svn path=/trunk/mcs/; revision=1857
2002-01-05 13:07:37 +00:00
Sean MacIsaac c0d11bde1d * CodeGenerator.cs: moved using statement out of namespace
declaration.

svn path=/trunk/mcs/; revision=147
2001-07-15 05:44:43 +00:00