1 2006-09-15 LLuis Sanchez Gual <lluis@novell.com>
3 * TempFileCollection.cs: Create files in a temporary subdirectory,
5 * CodeCompiler.cs: Let TempFileCollection choose the temp dir.
7 2006-05-04 LLuis Sanchez Gual <lluis@novell.com>
9 * TempFileCollection.cs: Make sure generated file names
10 are unique. Fixes bug #76125 and #78230.
12 2006-04-20 Gert Driesen <drieseng@users.sourceforge.net>
14 * CodeGenerator.cs: Output empty line between types if
15 BlankLinesBetweenMembers option is set.
17 2006-03-24 Chris Toshok <toshok@ximian.com>
19 * CompilerInfo.cs (Init): make this internal as well, so
20 CodeDomConfigurationHandler can call it.
22 * CodeDomConfigurationHandler.cs (ReadCompilers): we need to call
23 CompilerInfo.Init after setting CompilerInfo.TypeName.
25 2006-03-11 Miguel de Icaza <miguel@novell.com>
27 * CodeDomConfigurationHandler.cs: Comment out unused methods.
29 * TempFileCollection.cs: Implement explicitly some interface
30 methods to get rid of the "!" errors on CorCompare.
32 2006-02-19 Zoltan Varga <vargaz@gmail.com>
34 * CodeDomProvider.cs: Fix the [ToolboxItem] attribute. Fixes #77513.
36 2005-12-07 Gert Driesen <drieseng@users.sourceforge.net>
38 * CodeGenerator.cs: Modified GeneratePrimitiveExpression to throw
39 ArgumentException for sbyte value, use GenerateSingleFloatValue for
40 float, GenerateDecimalValue for decimal and GenerateDoubleValue for
41 double. Modified exception message for non-primitive types to match
43 * ICodeCompiler.cs: Set eol-style to native.
44 * CodeCompiler.cs: Set eol-style to native.
45 * CodeDomConfigurationHandler.cs: Set eol-style to native.
46 * CodeDomProvider.cs: Set eol-style to native.
47 * CodeGeneratorOptions.cs: Set eol-style to native.
48 * CodeParser.cs: Set eol-style to native.
49 * CompilerError.cs: Set eol-style to native.
50 * CompilerErrorCollection.cs: Set eol-style to native.
51 * CompilerInfo.cs: Set eol-style to native.
52 * CompilerParameters.cs: Set eol-style to native.
53 * CompilerResults.cs: Set eol-style to native.
54 * Executor.cs: Set eol-style to native.
55 * GeneratorSupport.cs: Set eol-style to native.
56 * ICodeGenerator.cs: Set eol-style to native.
57 * ICodeParser.cs: Set eol-style to native.
58 * LanguageOptions.cs: Set eol-style to native.
59 * TempFileCollection.cs: Set eol-style to native.
61 2005-11-30 Gert Driesen <drieseng@users.sourceforge.net>
63 * CodeGenerator.cs: Corrected line endings. Set eol-style to native.
64 * IndentedTextWriter.cs: Indent can no longer become negative.
66 2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
68 * CodeCompiler.cs: Compile now use the Executor class (instead of the
69 Process class). Fixed JoinStringArray.
70 * CompilerResults.cs: Load assembly only when the property is called.
72 2005-11-02 Sebastien Pouliot <sebastien@ximian.com>
74 * Executor.cs: Reworked (for permissions) and fixed ExitCode (must be
77 2005-11-01 Sebastien Pouliot <sebastien@ximian.com>
79 * CodeGenerator.cs: Added/stubbed missing 2.0 stuff.
81 2005-11-01 Sebastien Pouliot <sebastien@ximian.com>
83 CodeDomProvider.cs: Added missing 2.0 methods. Added CAS permissions.
84 Added protection against NullReferenceException when no config is
87 2005-10-29 Sebastien Pouliot <sebastien@ximian.com>
89 CodeDomProvider.cs: Stubbed a few 2.0 methods to fix API errors in
92 2005-10-25 Sebastien Pouliot <sebastien@ximian.com>
94 * CompilerError.cs: Added LinkDemand for Unrestricted before 2.0.
95 * CompilerErrorCollection.cs: Added LinkDemand for Unrestricted before
98 2005-10-25 Sebastien Pouliot <sebastien@ximian.com>
100 * CodeGenerator.cs: Fixed OutputAttributeArgument not to assume the
101 default value is null (it's String.Empty).
103 2005-10-25 Sebastien Pouliot <sebastien@ximian.com>
105 * CompilerParameters.cs: Added [ComVisible(false)] on the new (2.0)
106 EmbeddedResources and LinkedResources properties.
107 * TempFileCollection.cs: Changed BasePath property to use Path.
108 GetTempPath (Environment check) and added the PathDiscovery check on
109 the combined result. Fixed TempDir so it's value never change (i.e.
110 imply that it doesn't need any permissions). Fixed SyncRoot to always
113 2005-10-24 Sebastien Pouliot <sebastien@ximian.com>
115 * CodeGeneratorOptions.cs: Fixed how properties are kept inside the
116 IDictionary (which is just like System.Web.dll).
117 * CompilerError.cs: Added [Serializable] attribute for 2.0.
118 * CompilerInfo.cs: Added LinkDemand for Unrestricted. Stubbed new
119 (2.0) CreateDefaultCompilerParameters method.
120 * CompilerParameters.cs: Added LinkDemand and InheritanceDemand for
121 Unrestricted. Added Demand for ControlEvidence to Evidence property.
122 Added new (2.0) EmbeddedResources and LinkedResources properties.
123 * CompilerResults.cs: Added LinkDemand and InheritanceDemand for
124 Unrestricted. Added Demand for ControlEvidence to Evidence property.
125 * Executor.cs: Added LinkDemand for Unrestricted. Added support for
126 userToken (impersonation).
127 * GeneratedCodeAttribute.cs: New. 2.0 attribute for code generated by
129 * IndentedTextWriter.cs: Added LinkDemand and InheritanceDemand for
132 2005-10-04 Sebastien Pouliot <sebastien@ximian.com>
134 * TempFileCollection.cs: Added a call to GC.SuppressFinalize in
137 2005-07-30 Gert Driesen <drieseng@users.sourceforge.net>
139 * CodeGenerator.cs: In OutputMemberScopeModifier, only output
140 "new" modifier in 2.0 profile.
142 2005-07-24 Gert Driesen <drieseng@users.sourceforge.net>
144 * CodeGenerator.cs: Threat delegates like any other type.
146 2005-07-21 Gert Driesen <drieseng@users.sourceforge.net>
148 * CodeGenerator.cs: Fixed IsCurrentClass to return false for delegate.
150 2005-06-28 Gert Driesen <drieseng@users.sourceforge.net>
152 * CodeGenerator.cs: On 2.0 profile, internal members are also marked
153 virtual. Fixed access modifier for FamilyAndAssembly to match
156 2005-06-25 Gert Driesen <drieseng@users.sourceforge.net>
158 * CodeGenerator.cs: Fixed bug #75190, GenerateCodeFromCompileUnit
159 generates no code for CodeSnippetCompileUnit.
161 2005-06-04 Gert Driesen <drieseng@users.sourceforge.net>
163 * IndentedTextWriter.cs: also output tabs in WriteLine () to
166 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
168 * CodeDomProvider.cs: implemented IsDefined* and GetCompilerInfo.
169 * CompilerInfo.cs: implemented.
170 * CodeDomConfigurationHandler.cs: system.codedom section reader.
172 2005-01-27 LLuis Sanchez Gual <lluis@novell.com>
174 * CodeGenerator.cs: Write 'f' suffix for float constants.
176 2004-09-06 Marek Safar <marek.safar@seznam.cz>
179 * GeneratorSupport.cs : Implemented NET_2_0 extension
181 * CompilerInfo.cs : New NET_2_0 file.
183 2004-09-01 Marek Safar <marek.safar@seznam.cz>
185 * CodeGenerator.cs : Added newline after global attributes output.
186 (OutputAttributeDeclaration): Replace '+' with '.' for nested
189 2004-08-09 Atsushi Enomoto <atsushi@ximian.com>
192 Don't initialize output more than once. TextWriter is wrapped twice.
194 2004-07-15 Peter Williams <peter@newton.cx>
196 * CodeGenerator.cs: Have the basic generator create line pragmas
197 for NamespaceImports, SnippetCompileUnits, and TypeMembers, all of
198 which had LinePragma members which were going unused.
200 2004-06-17 Jackson Harper <jackson@ximian.com>
203 * CodeGenerator.cs: Make sure we are using invariant for non
204 culture sensitive operations.
206 2004-06-13 Gert Driesen <drieseng@users.sourceforge.net>
208 * IndentedTextWriter.cs: have DefaultTabString correspond with
209 MS.NET (meaning four spaces)
211 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
213 * TempFileCollection.cs: don't create a Random object on every call to
216 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
218 * CodeGenerator.cs : delegate was output as usual class.
220 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
222 * Executor.cs: Implemented.
224 2004-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
226 * TempFileCollection.cs: fixed typo in Delete. Closes bug #54443.
228 2004-02-10 Jackson Harper <jackson@ximian.com>
230 * CompilerParameters.cs: TempFiles should never return null.
232 2004-02-04 Jackson Harper <jackson@ximian.com>
234 * CodeGenerator.cs (GenerateExpression): Don't allow null
235 expressions. Throw ArgumentException if the expression type is not
237 * CodeGenerator.cs (GenerateStatement): Add line pragmas if they
238 are set. Throw ArgumentException if the expression type is not handled.
240 2003-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
242 * TempFileCollection.cs: fixed temp path in BaseDir.
244 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
246 * CodeGenerator.cs: fixed assembly level attribute generation.
248 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
250 * CodeGenerator.cs: When sorting the members of a type, keep the
251 relative order of the members of the same kind.
253 2003-08-05 Lluis Sanchez Gual <lluis@ximian.com>
255 * CodeGenerator.cs: Generate comments for properties and fields.
256 Write a line separator between type declarations.
258 2003-07-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
260 * Executor.cs: Changed abstract to sealed
262 2003-07-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
264 * CodeDomProvider.cs: Removed unneccesary attribute according to corecompare
265 * Executor.cs: Fixed signature with ref calls according to corecompare and made neccessary changes
267 2003-06-20 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
269 * CodeCompiler.cs: Nearly completely implemented
270 * CodeDomProvider.cs: Added missing Attribute, restyled according to style guidelines
271 * CodeGenerator.cs: Fixed visibilies, added missing members, implemented members, stubbed out missing member, restyled according to style guidelines
272 * CodeParser.cs: Added and implemented (ok no real implementation needed ;)
273 * CompilerErrorCollection.cs: Removed unneeded MonoTODOs, restyled according to style guidelines
274 * CompilerParameters.cs: Fixed wrong properties, Added Initializers, restyled according to style guidelines
275 * CompilerResults.cs: Added Evidence property, added initial values
276 * Executor.cs: Added and partially implemented (should probably be used by CodeCompiler)
278 * CompilerOptions.cs: Deleted this file (such a class does not exist)
280 2003-05-16 Dick Porter <dick@ximian.com>
282 * TempFileCollection.cs: Implement
284 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
287 (GenerateSnippetStatement): use WriteLine instead of Write.
289 2003-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
292 (GenerateCodePrimitive): special case strings and chars (bool was
293 already a special case). Throw an exception if the type is not a
296 2003-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
298 * CodeGenerator.cs: more fixes and sorted the output.
300 * IndentedTextWriter.cs: don't output tabs in WriteLine ().
302 2003-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
305 (GenerateCompileUnitStart):
306 (GenerateCompileUnitEnd): removed debug output.
307 (GeneratePrimitiveExpression): handle null and bool as special cases.
308 (GenerateType): added type constructor and constructor calls.
310 2003-02-20 Alfonso Ali <isa@infomed.sld.cu>
312 * CodeGenerator.cs: Generates the entry point method.
314 2003-01-10 Duncan Mak <duncan@ximian.com>
316 * CompilerErrorCollection.cs:
317 * CompilerParameters.cs: Patch from Sean Kasun
318 <skasun@azstarnet.com> implementing most of the MonoTODOs in
319 CompilerErrorCollection and the CompilerParameters overloads in CompilerParameters.cs.
321 2002-11-30 Jackson Harper <jackson@latitudegeo.com>
323 * CodeCompiler.cs: Removed TODO attribute from abstract members
325 2002-11-30 Jackson Harper <jackson@latitudegeo.com>
327 * CodeCompiler.cs: Added stub
329 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
331 * CodeDomProvider.cs:
332 * IndentedTextWriter.cs: misc. fixes.
334 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
336 * CompilerError.cs: implemented.
337 * CompilerErrorCollection.cs: stubbed out and fix inheritance.
338 * GeneratorSupport.cs: fixed values.
340 2002-05-28 Daniel Stodden <stodden@in.tum.de>
342 * CodeDomProvider.cs: added, incomplete
344 * CodeGeneratorOptions.cs: added, complete
346 * CompilerErrorCollection.cs: added, stub
348 * CompilerOptions.cs: added, stub
350 * CompilerResults.cs: added, complete
352 * GeneratorSupport.cs: added, complete
354 * ICodeCompiler.cs: added, complete
356 * ICodeParser.cs: added, complete
358 * IndentedTextWriter.cs: added, complete
360 * LanguageOptions.cs: added, complete
362 * TempFileCollection.cs: added, stub
364 * ICodeGenerator.cs: added, complete
366 2002-01-05 Ravi Pratap <ravi@ximian.com>
368 * CodeGenerator.cs : Mark bits with MonoTODO.
370 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
372 * CodeGenerator.cs: moved using statement out of namespace