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