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