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