**** Merged from MCS ****
[mono-project.git] / mcs / class / System / Microsoft.CSharp / ChangeLog
blob49f62aa4de266051f2b8da1d24a786316fcae55b
1 2004-10-02 Marek Safar <marek.safar@seznam.cz>
3         * CSharpCodeCompiler.cs: Fix #65722.
5 2004-09-14 Marek Safar <marek.safar@seznam.cz>
7         * CSharpCodeGenerator.cs: Fix #65854.
9 2004-09-08  Lluis Sanchez Gual  <lluis@novell.com>
11         * CSharpCodeGenerator.cs: Reverted change in GenerateArrayCreateExpression.
12         It was causing regressions.
14 2004-09-06 Marek Safar <marek.safar@seznam.cz>
16         * CSharpCodeGenerator.cs: Implemented NET_2_0 extensions
17         
18 2004-09-01 Marek Safar <marek.safar@seznam.cz>
20         * CSharpCodeGenerator.cs : New private member dont_write_semicolon.
21         Used for one row "for" syntax.
22         (GenerateEvent): Added attributes output.
23         (GenerateField): Don't output access and scope modifier for enum field.
24         (GenerateConstructor): Added attributes output.
25         (QuoteSnippetString): Fixed mixed case type conversion. Replace '+'
26         with '.' for nested classes.
28 2004-07-21  Lluis Sanchez Gual  <lluis@novell.com>
30         * CSharpCodeCompiler.cs: Hack to make code generation work in 2.0.
32 2004-07-13  Peter Williams  <peter@newton.cx>
34         * CSharpCodeCompiler.cs (CompileAssemblyFromDomBatch): Include
35         counter in the extension so that batch compilations work.
36         (CompileAssemblyFromSourceBatch): Same.
38 2004-07-12  Fawad Halim <fawad@fawad.net>
40         * CSharpCodeGenerator.cs : Have GenerateField generate field sans the type for enums.
42 2004-06-28  Atsushi Enomoto  <atsushi@ximian.com>
44         * CSharpCodeCompiler.cs : (only for windows) First check mcs.bat, then
45           check mcs.exe. It enables xsp working with mono windows installer.
47 2004-06-24  Atsushi Enomoto  <atsushi@ximian.com>
49         * CSharpCodeCompiler.cs : On windows we use fixed mono.exe and mcs.exe
50           located by mscorlib.dll.
52 2004-06-23  Jackson Harper  <jackson@ximian.com>
54         * CSharpCodeGenerator.cs (GenerateLabeledStatement): Append a ": "
55         to the statement name. Make sure the statement isn't null before
56         writing. Patch by Alex Yakunin.
57         
58 2004-06-22  Atsushi Enomoto  <atsushi@ximian.com>
60         * CSharpCodeGenerator.cs :
61           Check null argument in CreateValidIdentifier().
63 2004-06-21  Atsushi Enomoto  <atsushi@ximian.com>
65         * CSharpCodeGenerator.cs : Fix for tests. Check type names in
66           CreateValidIdentifier. Implemented IsValidIdentifier.
68 2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
70         * CSharpCodeCompiler.cs: let the TempFileCollection handle the removal
71         of the files if needed.
73 2004-04-26  Atsushi Enomoto  <atsushi@ximian.com>
75         * CSharpCodeGenerator.cs : implemented GenerateEvent.
76           Delegate was output as usual class.
78 2004-03-29  Lluis Sanchez Gual  <lluis@ximian.com>
80         * CSharpCodeGenerator.cs: In GetTypeOutput, never escape runtime type names.
81         Created a new method GetSafeTypeName to support this.
83 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
85         * CSharpCodeGenerator.cs: patch from Jaroslaw Kowalski that fixes
86         CodeMethodReturnStatement(). Closes bug #54934.
88 2004-02-27  Jaroslaw Kowalski <jaak@zd.com.pl>
90         * CSharpCodeGenerator.cs: fixed static property references
91         in GeneratePropertyReferenceExpression
93 2004-02-10  Jackson Harper <jackson@ximian.com>
95         * CSharpCodeCompiler.cs: Use the temp files collection for
96         creating temp files.
97         
98 2004-02-04  Jackson Harper <jackson@ximian.com>
100         * CSharpCodeGenerator.cs: Don't write ToThrow statement if it is
101         null (matches MS output). When creating comments there is a space
102         after the first // but not the following lines.
103         
104 2004-01-21  Atsushi Enomoto <atsushi@ximian.com>
106         * CSharpCodeGenerator.cs: Implemented CreateEscapedIdentifier() and
107           CreateValidIdentifier().
109 2004-01-19  Lluis Sanchez Gual <lluis@ximian.com>
111         * CSharpCodeGenerator.cs: Do not generate access and scope modifiers for
112         interface methods.
114 2004-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
116         * CSharpCodeCompiler.cs: when generating files from DOM, set the
117         encoding to UTF-8 with BOM marker. Fixes bug #52604.
119 2003-11-12  Lluis Sanchez Gual <lluis@ximian.com>
121         * CSharpCodeCompiler.cs: In BuildArgs, add "--" separator between
122         options and source files.
124 2003-10-15  Lluis Sanchez Gual <lluis@ximian.com>
126         * CSharpCodeGenerator.cs: added override for the method 
127           GenerateParameterDeclarationExpression. The parameter must be
128           generated with a safe C# name.
129         
130 2003-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
132         * CSharpCodeCompiler.cs: don't leave temporary files around.
134 2003-09-04  Lluis Sanchez Gual <lluis@ximian.com>
136         * CSharpCodeGenerator.cs: Fixed generation of array construction with
137         initializers. Render return type custom attributes.
139 2003-08-15  Jaroslaw Kowalski <jarek@atm.com.pl>
141         * CSharpCodeGenerator.cs:
142         
143           - fixed support for method references where target
144                 object is null
145           - fixed CodeThrowExceptionStatement
146           - disabled member access modifiers for private method
147             implementations
148           - disabled generation of empty method body for interface
149             declarations
150           - disabled generation of empty property accessor bodies
151             in interface declarations
152           - added support for indexers (properties named "Item")
153           - added support for chained constructor arguments and
154             base constructor arguments
156 2003-08-05  Lluis Sanchez Gual <lluis@ximian.com>
158         * CSharpCodeGenerator.cs: Added method GetSafeName() that checks if
159           a given id is a C# keyword, and returns the same if if it is not,
160           or @id if it is a keyword. This method is used everywhere
161           a name is rendered.
163 2003-08-05  Lluis Sanchez Gual <lluis@ximian.com>
165         * CSharpCodeGenerator.cs: GenerateComment(): Render multiline comments.
167 2003-07-30  Lluis Sanchez Gual <lluis@ximian.com>
169         * CSharpCodeGenerator.cs: GenerateTypeStart(): Write type custom attributes
171 2003-07-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
173         * CSharpCodeCompiler.cs: Few fixes for update in CodeDom.Compiler
175 2003-07-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
177         * CSharpCodeCompiler.cs: ignore debug statistics in mcs output when
178         debug is turned on.
180 2003-07-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
182         * CSharpCodeCompiler.cs: patch from pelle.johnsen@mail.dk (Pelle
183         Johnsen) that fixes bug #45708.
185 2003-05-17  Ben Maurer <bmaurer@users.sourceforge.net>
187         * CSharpCodeGenerator.cs: implemented GenerateLinePragma{Start, End}. 
188         Marked GenerateEvent as MonoTODO.
190 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
192         * CSharpCodeCompiler.cs: add quotes around out assembly name.
194 2003-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
196         * CSharpCodeCompiler.cs:
197         (CompileAssemblyFromDomBatch): add the assemblies referenced by the
198         CodeCompileUnits to the options.
200 2003-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
202         * CSharpCodeCompiler.cs: set NativeCompilerReturnValue.
204 2003-04-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
206         * CSharpCodeGenerator.cs:
207         (QuoteSnippetString): add a few common escape sequences.
209 2003-04-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
211         * CSharpCodeGenerator.cs: implemented GenerateSnippetMember and some
212         little fixes.
214 2003-04-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
216         * CSharpCodeGenerator.cs: beautified conditional statements. Implemented
217         GenerateConstructor and GenerateTypeConstructor.
219 2003-01-10  Duncan Mak  <duncan@ximian.com>
221         * CSharpCodeCompiler.cs: 
222         * CSharpCodeProvider.cs: Patch from Sean Kasun
223         <skasun@azstarnet.com> to implement CSharpCodeCompiler.
225 2002-12-07 Jackson Harper <jackson@latitudegeo.com>
227         * CompilerError.cs Compiler.cs: Moving these classes to their own assembly
229 2002-11-11 Jackson Harper <jackson@latitudegeo.com>
231         * CompilerError.cs: Reordered ErrorLevel enumeration to match MS values
233 2002-11-11 Jackson Harper <jackson@latitudegeo.com>
235         * CompilerError.cs: Error levels are now lower case to match MS spec
237 2002-11-9 Jackson Harper <jackson@latitudegeo.com>
239         * CompilerError.cs: ToString() Do not show source file info if there was no source file in the error message
241 2002-11-6 Jackson Harper <jackson@latitudegeo.com>
243         * Compiler.cs: No longers waits untill mcs is finished running to read output, this should prevent
244         crashes from buffers filling up.        
246 2002-11-4 Jackson Harper <jackson@latitudegeo.com>
248         * Compiler.cs CompilerError.cs: Fixed (C) in header
249         
250 2002-11-4 Jackson Harper <jackson@latitudegeo.com>
252         * Compiler.cs: Added file
254 2002-11-4 Jackson Harper <jackson@latitudegeo.com>
256         * CompilerError.cs: Changed FileName property to the correct name 'SourceFile'
258 2002-10-30 Jackson Harper <jackson@latitudegeo.com>
260         * CompilerError.cs: Added class
261         
262 2002-10-19  Rachel Hestilow <hestilow@ximian.com>
264         * CSharpCodeProvider.cs
265         (GeneratePropertySetValueReferenceExpression): Implement.
266         (GenerateField, GenerateMethod): Only call OutputAttributeDeclarations
267         if there are any attributes.
268         (GenerateProperty): Implement.
269          
270 2002-10-11  Duncan Mak  <duncan@ximian.com>
272         * CSharpCodeProvider.cs: Fix constructor visibility.
274 2002-05-28  Daniel Stodden <stodden@in.tum.de>
276         * ChangeLog: added
278         * CSharpCodeProvider.cs: added
280         * CSharpCodeGenerator.cs: C# Code Generator. Not fully complete
281         but doing fairly well.