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