1 2005-06-30 Gert Driesen <drieseng@users.sourceforge.net>
3 * CSharpCodeGenerator.cs: Only consider property an indexer if
4 name is Item (case-insensitive comparison) and property has
7 2005-06-28 Gert Driesen <drieseng@users.sourceforge.net>
9 * CSharpCodeGenerator.cs: Fixed GetTypeOutput to match MS.NET 1.x
12 2005-06-26 Gert Driesen <drieseng@users.sourceforge.net>
14 * CSharpCodeGenerator.cs: Fixed generated code for events, fields,
15 properties, methods and ctors to match MS.NET.
17 2005-06-25 Gert Driesen <drieseng@users.sourceforge.net>
19 * CSharpCodeGenerator.cs: Also modified generated code for type-level
20 attributes to match MS.NET.
22 2005-06-25 Gert Driesen <drieseng@users.sourceforge.net>
24 * CSharpCodeGenerator.cs: Fixed generated code for assembly-level
25 attributes to match code generated by MS.NET.
27 2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
29 * CSharpCodeCompiler.cs: use UTF8 in the StreamWriter, as it did before
30 r45802 removed it accidentally. Fixes bug #75361.
32 2005-06-12 Gert Driesen <drieseng@users.sourceforge.net>
34 * CSharpCodeCompiler.cs: Temp source files should have extension
37 2005-06-11 Gert Driesen <drieseng@users.sourceforge.net>
39 * CSharpCodeGenerator.cs: Win32 resources are supported. Fixes bug
41 * CSharpCodeCompiler.cs: Clean up temporary files after compilation.
42 Fixes bug #75221. Added support for Win32 resources. Fixes bug
45 2005-05-29 Gert Driesen <drieseng@users.sourceforge.net>
47 * CSharpCodeCompiler.cs: Load compiled assembly from byte array
48 if GenerateInMemory compiler parameter is set, set PathToAssembly
49 if compilation succeeded and GenerateInMemory is false.
52 2005-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
54 * CSharpCodeCompiler.cs: fix problem with the output CS8028.
56 2005-02-03 Atsushi Enomoto <atsushi@ximian.com>
58 * CSharpCodeCompiler.cs : On windows, use gmcs under 2.0 profile too.
60 2005-01-19 Jonathan Pryor <jonpryor@vt.edu>
62 * CSharpCodeGenerator.cs: Remove extra ' ' emitted after class name in
63 GenerateTypeStart(). This removes a regression test failure in
64 MonoTests.Microsoft.CSharp.CodeGeneratorFromTypeTest.DefaultTypeTest.
66 2005-01-12 Lluis Sanchez Gual <lluis@novell.com>
68 * CSharpCodeGenerator.cs: Avoid keywords when writing enum members.
69 Removed the GetSafeTypeName method. It was a wrong bug fix. Type names
70 are expected to always use the full name form, never the alias.
72 2004-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
74 * CSharpCodeCompiler.cs: ignore the 'BETA SOFTWARE blah' from gmcs.
75 Use stderr to get the errors/warnings instead of stdout. Removed
76 obsolete lines from CreateErrorFromString.
78 2004-10-02 Marek Safar <marek.safar@seznam.cz>
80 * CSharpCodeCompiler.cs: Fix #65722.
82 2004-09-14 Marek Safar <marek.safar@seznam.cz>
84 * CSharpCodeGenerator.cs: Fix #65854.
86 2004-09-08 Lluis Sanchez Gual <lluis@novell.com>
88 * CSharpCodeGenerator.cs: Reverted change in GenerateArrayCreateExpression.
89 It was causing regressions.
91 2004-09-06 Marek Safar <marek.safar@seznam.cz>
93 * CSharpCodeGenerator.cs: Implemented NET_2_0 extensions
95 2004-09-01 Marek Safar <marek.safar@seznam.cz>
97 * CSharpCodeGenerator.cs : New private member dont_write_semicolon.
98 Used for one row "for" syntax.
99 (GenerateEvent): Added attributes output.
100 (GenerateField): Don't output access and scope modifier for enum field.
101 (GenerateConstructor): Added attributes output.
102 (QuoteSnippetString): Fixed mixed case type conversion. Replace '+'
103 with '.' for nested classes.
105 2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
107 * CSharpCodeCompiler.cs: Hack to make code generation work in 2.0.
109 2004-07-13 Peter Williams <peter@newton.cx>
111 * CSharpCodeCompiler.cs (CompileAssemblyFromDomBatch): Include
112 counter in the extension so that batch compilations work.
113 (CompileAssemblyFromSourceBatch): Same.
115 2004-07-12 Fawad Halim <fawad@fawad.net>
117 * CSharpCodeGenerator.cs : Have GenerateField generate field sans the type for enums.
119 2004-06-28 Atsushi Enomoto <atsushi@ximian.com>
121 * CSharpCodeCompiler.cs : (only for windows) First check mcs.bat, then
122 check mcs.exe. It enables xsp working with mono windows installer.
124 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
126 * CSharpCodeCompiler.cs : On windows we use fixed mono.exe and mcs.exe
127 located by mscorlib.dll.
129 2004-06-23 Jackson Harper <jackson@ximian.com>
131 * CSharpCodeGenerator.cs (GenerateLabeledStatement): Append a ": "
132 to the statement name. Make sure the statement isn't null before
133 writing. Patch by Alex Yakunin.
135 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
137 * CSharpCodeGenerator.cs :
138 Check null argument in CreateValidIdentifier().
140 2004-06-21 Atsushi Enomoto <atsushi@ximian.com>
142 * CSharpCodeGenerator.cs : Fix for tests. Check type names in
143 CreateValidIdentifier. Implemented IsValidIdentifier.
145 2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
147 * CSharpCodeCompiler.cs: let the TempFileCollection handle the removal
148 of the files if needed.
150 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
152 * CSharpCodeGenerator.cs : implemented GenerateEvent.
153 Delegate was output as usual class.
155 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
157 * CSharpCodeGenerator.cs: In GetTypeOutput, never escape runtime type names.
158 Created a new method GetSafeTypeName to support this.
160 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
162 * CSharpCodeGenerator.cs: patch from Jaroslaw Kowalski that fixes
163 CodeMethodReturnStatement(). Closes bug #54934.
165 2004-02-27 Jaroslaw Kowalski <jaak@zd.com.pl>
167 * CSharpCodeGenerator.cs: fixed static property references
168 in GeneratePropertyReferenceExpression
170 2004-02-10 Jackson Harper <jackson@ximian.com>
172 * CSharpCodeCompiler.cs: Use the temp files collection for
175 2004-02-04 Jackson Harper <jackson@ximian.com>
177 * CSharpCodeGenerator.cs: Don't write ToThrow statement if it is
178 null (matches MS output). When creating comments there is a space
179 after the first // but not the following lines.
181 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
183 * CSharpCodeGenerator.cs: Implemented CreateEscapedIdentifier() and
184 CreateValidIdentifier().
186 2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
188 * CSharpCodeGenerator.cs: Do not generate access and scope modifiers for
191 2004-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
193 * CSharpCodeCompiler.cs: when generating files from DOM, set the
194 encoding to UTF-8 with BOM marker. Fixes bug #52604.
196 2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
198 * CSharpCodeCompiler.cs: In BuildArgs, add "--" separator between
199 options and source files.
201 2003-10-15 Lluis Sanchez Gual <lluis@ximian.com>
203 * CSharpCodeGenerator.cs: added override for the method
204 GenerateParameterDeclarationExpression. The parameter must be
205 generated with a safe C# name.
207 2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
209 * CSharpCodeCompiler.cs: don't leave temporary files around.
211 2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
213 * CSharpCodeGenerator.cs: Fixed generation of array construction with
214 initializers. Render return type custom attributes.
216 2003-08-15 Jaroslaw Kowalski <jarek@atm.com.pl>
218 * CSharpCodeGenerator.cs:
220 - fixed support for method references where target
222 - fixed CodeThrowExceptionStatement
223 - disabled member access modifiers for private method
225 - disabled generation of empty method body for interface
227 - disabled generation of empty property accessor bodies
228 in interface declarations
229 - added support for indexers (properties named "Item")
230 - added support for chained constructor arguments and
231 base constructor arguments
233 2003-08-05 Lluis Sanchez Gual <lluis@ximian.com>
235 * CSharpCodeGenerator.cs: Added method GetSafeName() that checks if
236 a given id is a C# keyword, and returns the same if if it is not,
237 or @id if it is a keyword. This method is used everywhere
240 2003-08-05 Lluis Sanchez Gual <lluis@ximian.com>
242 * CSharpCodeGenerator.cs: GenerateComment(): Render multiline comments.
244 2003-07-30 Lluis Sanchez Gual <lluis@ximian.com>
246 * CSharpCodeGenerator.cs: GenerateTypeStart(): Write type custom attributes
248 2003-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
250 * CSharpCodeCompiler.cs: Few fixes for update in CodeDom.Compiler
252 2003-07-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
254 * CSharpCodeCompiler.cs: ignore debug statistics in mcs output when
257 2003-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
259 * CSharpCodeCompiler.cs: patch from pelle.johnsen@mail.dk (Pelle
260 Johnsen) that fixes bug #45708.
262 2003-05-17 Ben Maurer <bmaurer@users.sourceforge.net>
264 * CSharpCodeGenerator.cs: implemented GenerateLinePragma{Start, End}.
265 Marked GenerateEvent as MonoTODO.
267 2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
269 * CSharpCodeCompiler.cs: add quotes around out assembly name.
271 2003-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
273 * CSharpCodeCompiler.cs:
274 (CompileAssemblyFromDomBatch): add the assemblies referenced by the
275 CodeCompileUnits to the options.
277 2003-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
279 * CSharpCodeCompiler.cs: set NativeCompilerReturnValue.
281 2003-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
283 * CSharpCodeGenerator.cs:
284 (QuoteSnippetString): add a few common escape sequences.
286 2003-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
288 * CSharpCodeGenerator.cs: implemented GenerateSnippetMember and some
291 2003-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
293 * CSharpCodeGenerator.cs: beautified conditional statements. Implemented
294 GenerateConstructor and GenerateTypeConstructor.
296 2003-01-10 Duncan Mak <duncan@ximian.com>
298 * CSharpCodeCompiler.cs:
299 * CSharpCodeProvider.cs: Patch from Sean Kasun
300 <skasun@azstarnet.com> to implement CSharpCodeCompiler.
302 2002-12-07 Jackson Harper <jackson@latitudegeo.com>
304 * CompilerError.cs Compiler.cs: Moving these classes to their own assembly
306 2002-11-11 Jackson Harper <jackson@latitudegeo.com>
308 * CompilerError.cs: Reordered ErrorLevel enumeration to match MS values
310 2002-11-11 Jackson Harper <jackson@latitudegeo.com>
312 * CompilerError.cs: Error levels are now lower case to match MS spec
314 2002-11-9 Jackson Harper <jackson@latitudegeo.com>
316 * CompilerError.cs: ToString() Do not show source file info if there was no source file in the error message
318 2002-11-6 Jackson Harper <jackson@latitudegeo.com>
320 * Compiler.cs: No longers waits untill mcs is finished running to read output, this should prevent
321 crashes from buffers filling up.
323 2002-11-4 Jackson Harper <jackson@latitudegeo.com>
325 * Compiler.cs CompilerError.cs: Fixed (C) in header
327 2002-11-4 Jackson Harper <jackson@latitudegeo.com>
329 * Compiler.cs: Added file
331 2002-11-4 Jackson Harper <jackson@latitudegeo.com>
333 * CompilerError.cs: Changed FileName property to the correct name 'SourceFile'
335 2002-10-30 Jackson Harper <jackson@latitudegeo.com>
337 * CompilerError.cs: Added class
339 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
341 * CSharpCodeProvider.cs
342 (GeneratePropertySetValueReferenceExpression): Implement.
343 (GenerateField, GenerateMethod): Only call OutputAttributeDeclarations
344 if there are any attributes.
345 (GenerateProperty): Implement.
347 2002-10-11 Duncan Mak <duncan@ximian.com>
349 * CSharpCodeProvider.cs: Fix constructor visibility.
351 2002-05-28 Daniel Stodden <stodden@in.tum.de>
355 * CSharpCodeProvider.cs: added
357 * CSharpCodeGenerator.cs: C# Code Generator. Not fully complete
358 but doing fairly well.