2005-08-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System / Microsoft.CSharp / ChangeLog
1 2005-08-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2
3         * CSharpCodeCompiler.cs: added missing colon after the line,column
4         parenthesis in the regex that parses the errors to make this work with
5         HEAD mcs.
6
7 2005-07-30 Gert Driesen <drieseng@users.sourceforge.net>
8
9         * CSharpCodeGenerator.cs: Fixed code generated for NewSlot members.
10
11 2005-07-24 Gert Driesen <drieseng@users.sourceforge.net>
12
13         * CSharpCodeGenerator.cs: Fixed generated code for enums, interfaces
14         and delegates to match MS.NET.
15
16 2005-07-02 Gert Driesen <drieseng@users.sourceforge.net>
17
18         * CSharpCodeGenerator.cs: Fixed output of ReturnTypeCustomAttributes.
19
20 2005-07-02 Gert Driesen <drieseng@users.sourceforge.net>
21
22         * CSharpCodeGenerator.cs: Added PrivateImplementationType support
23         for events, properties, methods. No longer output scope modifier
24         for events.
25
26 2005-06-30 Gert Driesen <drieseng@users.sourceforge.net>
27
28         * CSharpCodeGenerator.cs: Only consider property an indexer if
29         name is Item (case-insensitive comparison) and property has
30         parameters.
31
32 2005-06-28 Gert Driesen <drieseng@users.sourceforge.net>
33
34         * CSharpCodeGenerator.cs: Fixed GetTypeOutput to match MS.NET 1.x
35         and 2.0.        
36
37 2005-06-26 Gert Driesen <drieseng@users.sourceforge.net>
38
39         * CSharpCodeGenerator.cs: Fixed generated code for events, fields,
40         properties, methods and ctors to match MS.NET.
41
42 2005-06-25 Gert Driesen <drieseng@users.sourceforge.net>
43
44         * CSharpCodeGenerator.cs: Also modified generated code for type-level
45         attributes to match MS.NET.
46
47 2005-06-25 Gert Driesen <drieseng@users.sourceforge.net>
48
49         * CSharpCodeGenerator.cs: Fixed generated code for assembly-level
50         attributes to match code generated by MS.NET.
51
52 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
53
54         * CSharpCodeCompiler.cs: use UTF8 in the StreamWriter, as it did before
55         r45802 removed it accidentally. Fixes bug #75361.
56
57 2005-06-12  Gert Driesen <drieseng@users.sourceforge.net>
58
59         * CSharpCodeCompiler.cs: Temp source files should have extension
60         ".cs".
61
62 2005-06-11  Gert Driesen <drieseng@users.sourceforge.net>
63
64         * CSharpCodeGenerator.cs: Win32 resources are supported. Fixes bug
65         #75218.
66         * CSharpCodeCompiler.cs: Clean up temporary files after compilation. 
67         Fixes bug #75221. Added support for Win32 resources. Fixes bug
68         #75218.
69
70 2005-05-29  Gert Driesen <drieseng@users.sourceforge.net>
71
72         * CSharpCodeCompiler.cs: Load compiled assembly from byte array
73         if GenerateInMemory compiler parameter is set, set PathToAssembly
74         if compilation succeeded and GenerateInMemory is false.
75         Fixes bug #74959.
76
77 2005-04-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
78
79         * CSharpCodeCompiler.cs: fix problem with the output CS8028.
80
81 2005-02-03  Atsushi Enomoto  <atsushi@ximian.com>
82
83         * CSharpCodeCompiler.cs : On windows, use gmcs under 2.0 profile too.
84
85 2005-01-19  Jonathan Pryor  <jonpryor@vt.edu>
86
87         * CSharpCodeGenerator.cs: Remove extra ' ' emitted after class name in 
88           GenerateTypeStart().  This removes a regression test failure in
89           MonoTests.Microsoft.CSharp.CodeGeneratorFromTypeTest.DefaultTypeTest.
90
91 2005-01-12  Lluis Sanchez Gual  <lluis@novell.com>
92
93         * CSharpCodeGenerator.cs: Avoid keywords when writing enum members.
94         Removed the GetSafeTypeName method. It was a wrong bug fix. Type names
95         are expected to always use the full name form, never the alias.
96
97 2004-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
98
99         * CSharpCodeCompiler.cs: ignore the 'BETA SOFTWARE blah' from gmcs.
100         Use stderr to get the errors/warnings instead of stdout. Removed
101         obsolete lines from CreateErrorFromString.
102
103 2004-10-02 Marek Safar <marek.safar@seznam.cz>
104
105         * CSharpCodeCompiler.cs: Fix #65722.
106
107 2004-09-14 Marek Safar <marek.safar@seznam.cz>
108
109         * CSharpCodeGenerator.cs: Fix #65854.
110
111 2004-09-08  Lluis Sanchez Gual  <lluis@novell.com>
112
113         * CSharpCodeGenerator.cs: Reverted change in GenerateArrayCreateExpression.
114         It was causing regressions.
115
116 2004-09-06 Marek Safar <marek.safar@seznam.cz>
117
118         * CSharpCodeGenerator.cs: Implemented NET_2_0 extensions
119         
120 2004-09-01 Marek Safar <marek.safar@seznam.cz>
121
122         * CSharpCodeGenerator.cs : New private member dont_write_semicolon.
123         Used for one row "for" syntax.
124         (GenerateEvent): Added attributes output.
125         (GenerateField): Don't output access and scope modifier for enum field.
126         (GenerateConstructor): Added attributes output.
127         (QuoteSnippetString): Fixed mixed case type conversion. Replace '+'
128         with '.' for nested classes.
129
130 2004-07-21  Lluis Sanchez Gual  <lluis@novell.com>
131
132         * CSharpCodeCompiler.cs: Hack to make code generation work in 2.0.
133
134 2004-07-13  Peter Williams  <peter@newton.cx>
135
136         * CSharpCodeCompiler.cs (CompileAssemblyFromDomBatch): Include
137         counter in the extension so that batch compilations work.
138         (CompileAssemblyFromSourceBatch): Same.
139
140 2004-07-12  Fawad Halim <fawad@fawad.net>
141
142         * CSharpCodeGenerator.cs : Have GenerateField generate field sans the type for enums.
143
144 2004-06-28  Atsushi Enomoto  <atsushi@ximian.com>
145
146         * CSharpCodeCompiler.cs : (only for windows) First check mcs.bat, then
147           check mcs.exe. It enables xsp working with mono windows installer.
148
149 2004-06-24  Atsushi Enomoto  <atsushi@ximian.com>
150
151         * CSharpCodeCompiler.cs : On windows we use fixed mono.exe and mcs.exe
152           located by mscorlib.dll.
153
154 2004-06-23  Jackson Harper  <jackson@ximian.com>
155
156         * CSharpCodeGenerator.cs (GenerateLabeledStatement): Append a ": "
157         to the statement name. Make sure the statement isn't null before
158         writing. Patch by Alex Yakunin.
159         
160 2004-06-22  Atsushi Enomoto  <atsushi@ximian.com>
161
162         * CSharpCodeGenerator.cs :
163           Check null argument in CreateValidIdentifier().
164
165 2004-06-21  Atsushi Enomoto  <atsushi@ximian.com>
166
167         * CSharpCodeGenerator.cs : Fix for tests. Check type names in
168           CreateValidIdentifier. Implemented IsValidIdentifier.
169
170 2004-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
171
172         * CSharpCodeCompiler.cs: let the TempFileCollection handle the removal
173         of the files if needed.
174
175 2004-04-26  Atsushi Enomoto  <atsushi@ximian.com>
176
177         * CSharpCodeGenerator.cs : implemented GenerateEvent.
178           Delegate was output as usual class.
179
180 2004-03-29  Lluis Sanchez Gual  <lluis@ximian.com>
181
182         * CSharpCodeGenerator.cs: In GetTypeOutput, never escape runtime type names.
183         Created a new method GetSafeTypeName to support this.
184
185 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
186
187         * CSharpCodeGenerator.cs: patch from Jaroslaw Kowalski that fixes
188         CodeMethodReturnStatement(). Closes bug #54934.
189
190 2004-02-27  Jaroslaw Kowalski <jaak@zd.com.pl>
191  
192         * CSharpCodeGenerator.cs: fixed static property references
193         in GeneratePropertyReferenceExpression
194  
195 2004-02-10  Jackson Harper <jackson@ximian.com>
196
197         * CSharpCodeCompiler.cs: Use the temp files collection for
198         creating temp files.
199         
200 2004-02-04  Jackson Harper <jackson@ximian.com>
201
202         * CSharpCodeGenerator.cs: Don't write ToThrow statement if it is
203         null (matches MS output). When creating comments there is a space
204         after the first // but not the following lines.
205         
206 2004-01-21  Atsushi Enomoto <atsushi@ximian.com>
207
208         * CSharpCodeGenerator.cs: Implemented CreateEscapedIdentifier() and
209           CreateValidIdentifier().
210
211 2004-01-19  Lluis Sanchez Gual <lluis@ximian.com>
212
213         * CSharpCodeGenerator.cs: Do not generate access and scope modifiers for
214         interface methods.
215
216 2004-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
217
218         * CSharpCodeCompiler.cs: when generating files from DOM, set the
219         encoding to UTF-8 with BOM marker. Fixes bug #52604.
220
221 2003-11-12  Lluis Sanchez Gual <lluis@ximian.com>
222
223         * CSharpCodeCompiler.cs: In BuildArgs, add "--" separator between
224         options and source files.
225
226 2003-10-15  Lluis Sanchez Gual <lluis@ximian.com>
227
228         * CSharpCodeGenerator.cs: added override for the method 
229           GenerateParameterDeclarationExpression. The parameter must be
230           generated with a safe C# name.
231         
232 2003-09-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
233
234         * CSharpCodeCompiler.cs: don't leave temporary files around.
235
236 2003-09-04  Lluis Sanchez Gual <lluis@ximian.com>
237
238         * CSharpCodeGenerator.cs: Fixed generation of array construction with
239         initializers. Render return type custom attributes.
240
241 2003-08-15  Jaroslaw Kowalski <jarek@atm.com.pl>
242
243         * CSharpCodeGenerator.cs:
244         
245           - fixed support for method references where target
246                 object is null
247           - fixed CodeThrowExceptionStatement
248           - disabled member access modifiers for private method
249             implementations
250           - disabled generation of empty method body for interface
251             declarations
252           - disabled generation of empty property accessor bodies
253             in interface declarations
254           - added support for indexers (properties named "Item")
255           - added support for chained constructor arguments and
256             base constructor arguments
257
258 2003-08-05  Lluis Sanchez Gual <lluis@ximian.com>
259
260         * CSharpCodeGenerator.cs: Added method GetSafeName() that checks if
261           a given id is a C# keyword, and returns the same if if it is not,
262           or @id if it is a keyword. This method is used everywhere
263           a name is rendered.
264
265 2003-08-05  Lluis Sanchez Gual <lluis@ximian.com>
266
267         * CSharpCodeGenerator.cs: GenerateComment(): Render multiline comments.
268
269 2003-07-30  Lluis Sanchez Gual <lluis@ximian.com>
270
271         * CSharpCodeGenerator.cs: GenerateTypeStart(): Write type custom attributes
272
273 2003-07-06  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
274
275         * CSharpCodeCompiler.cs: Few fixes for update in CodeDom.Compiler
276
277 2003-07-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
278
279         * CSharpCodeCompiler.cs: ignore debug statistics in mcs output when
280         debug is turned on.
281
282 2003-07-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
283
284         * CSharpCodeCompiler.cs: patch from pelle.johnsen@mail.dk (Pelle
285         Johnsen) that fixes bug #45708.
286
287 2003-05-17  Ben Maurer <bmaurer@users.sourceforge.net>
288
289         * CSharpCodeGenerator.cs: implemented GenerateLinePragma{Start, End}. 
290         Marked GenerateEvent as MonoTODO.
291
292 2003-04-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
293
294         * CSharpCodeCompiler.cs: add quotes around out assembly name.
295
296 2003-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
297
298         * CSharpCodeCompiler.cs:
299         (CompileAssemblyFromDomBatch): add the assemblies referenced by the
300         CodeCompileUnits to the options.
301
302 2003-04-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>
303
304         * CSharpCodeCompiler.cs: set NativeCompilerReturnValue.
305
306 2003-04-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
307
308         * CSharpCodeGenerator.cs:
309         (QuoteSnippetString): add a few common escape sequences.
310
311 2003-04-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
312
313         * CSharpCodeGenerator.cs: implemented GenerateSnippetMember and some
314         little fixes.
315
316 2003-04-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
317
318         * CSharpCodeGenerator.cs: beautified conditional statements. Implemented
319         GenerateConstructor and GenerateTypeConstructor.
320
321 2003-01-10  Duncan Mak  <duncan@ximian.com>
322
323         * CSharpCodeCompiler.cs: 
324         * CSharpCodeProvider.cs: Patch from Sean Kasun
325         <skasun@azstarnet.com> to implement CSharpCodeCompiler.
326
327 2002-12-07 Jackson Harper <jackson@latitudegeo.com>
328
329         * CompilerError.cs Compiler.cs: Moving these classes to their own assembly
330
331 2002-11-11 Jackson Harper <jackson@latitudegeo.com>
332
333         * CompilerError.cs: Reordered ErrorLevel enumeration to match MS values
334
335 2002-11-11 Jackson Harper <jackson@latitudegeo.com>
336
337         * CompilerError.cs: Error levels are now lower case to match MS spec
338
339 2002-11-9 Jackson Harper <jackson@latitudegeo.com>
340
341         * CompilerError.cs: ToString() Do not show source file info if there was no source file in the error message
342
343 2002-11-6 Jackson Harper <jackson@latitudegeo.com>
344
345         * Compiler.cs: No longers waits untill mcs is finished running to read output, this should prevent
346         crashes from buffers filling up.        
347
348 2002-11-4 Jackson Harper <jackson@latitudegeo.com>
349
350         * Compiler.cs CompilerError.cs: Fixed (C) in header
351         
352 2002-11-4 Jackson Harper <jackson@latitudegeo.com>
353
354         * Compiler.cs: Added file
355
356 2002-11-4 Jackson Harper <jackson@latitudegeo.com>
357
358         * CompilerError.cs: Changed FileName property to the correct name 'SourceFile'
359
360 2002-10-30 Jackson Harper <jackson@latitudegeo.com>
361
362         * CompilerError.cs: Added class
363         
364 2002-10-19  Rachel Hestilow <hestilow@ximian.com>
365
366         * CSharpCodeProvider.cs
367         (GeneratePropertySetValueReferenceExpression): Implement.
368         (GenerateField, GenerateMethod): Only call OutputAttributeDeclarations
369         if there are any attributes.
370         (GenerateProperty): Implement.
371          
372 2002-10-11  Duncan Mak  <duncan@ximian.com>
373
374         * CSharpCodeProvider.cs: Fix constructor visibility.
375
376 2002-05-28  Daniel Stodden <stodden@in.tum.de>
377
378         * ChangeLog: added
379
380         * CSharpCodeProvider.cs: added
381
382         * CSharpCodeGenerator.cs: C# Code Generator. Not fully complete
383         but doing fairly well.