1 2006-11-07 Marek Habersack <grendello@gmail.com>
3 * CompilerInfo.cs: Implement the CreateDefaultCompilerParameters API.
5 * CodeDomConfigurationHandler.cs: WarningLevel of CompilerInfo
6 should default to -1 if it is absent from the config file, as per
9 2006-11-06 Marek Habersack <grendello@gmail.com>
11 * CodeDomProvider.cs: IsDefinedLanguage should return true if
12 CompilerInfo for the specified language exists.
14 * CodeDomConfigurationHandler.cs: add an instance of CompilerInfo
15 separately for each language name defined in the compiler's
18 2006-09-15 LLuis Sanchez Gual <lluis@novell.com>
20 * TempFileCollection.cs: Create files in a temporary subdirectory,
22 * CodeCompiler.cs: Let TempFileCollection choose the temp dir.
24 2006-05-04 LLuis Sanchez Gual <lluis@novell.com>
26 * TempFileCollection.cs: Make sure generated file names
27 are unique. Fixes bug #76125 and #78230.
29 2006-04-20 Gert Driesen <drieseng@users.sourceforge.net>
31 * CodeGenerator.cs: Output empty line between types if
32 BlankLinesBetweenMembers option is set.
34 2006-03-24 Chris Toshok <toshok@ximian.com>
36 * CompilerInfo.cs (Init): make this internal as well, so
37 CodeDomConfigurationHandler can call it.
39 * CodeDomConfigurationHandler.cs (ReadCompilers): we need to call
40 CompilerInfo.Init after setting CompilerInfo.TypeName.
42 2006-03-11 Miguel de Icaza <miguel@novell.com>
44 * CodeDomConfigurationHandler.cs: Comment out unused methods.
46 * TempFileCollection.cs: Implement explicitly some interface
47 methods to get rid of the "!" errors on CorCompare.
49 2006-02-19 Zoltan Varga <vargaz@gmail.com>
51 * CodeDomProvider.cs: Fix the [ToolboxItem] attribute. Fixes #77513.
53 2005-12-07 Gert Driesen <drieseng@users.sourceforge.net>
55 * CodeGenerator.cs: Modified GeneratePrimitiveExpression to throw
56 ArgumentException for sbyte value, use GenerateSingleFloatValue for
57 float, GenerateDecimalValue for decimal and GenerateDoubleValue for
58 double. Modified exception message for non-primitive types to match
60 * ICodeCompiler.cs: Set eol-style to native.
61 * CodeCompiler.cs: Set eol-style to native.
62 * CodeDomConfigurationHandler.cs: Set eol-style to native.
63 * CodeDomProvider.cs: Set eol-style to native.
64 * CodeGeneratorOptions.cs: Set eol-style to native.
65 * CodeParser.cs: Set eol-style to native.
66 * CompilerError.cs: Set eol-style to native.
67 * CompilerErrorCollection.cs: Set eol-style to native.
68 * CompilerInfo.cs: Set eol-style to native.
69 * CompilerParameters.cs: Set eol-style to native.
70 * CompilerResults.cs: Set eol-style to native.
71 * Executor.cs: Set eol-style to native.
72 * GeneratorSupport.cs: Set eol-style to native.
73 * ICodeGenerator.cs: Set eol-style to native.
74 * ICodeParser.cs: Set eol-style to native.
75 * LanguageOptions.cs: Set eol-style to native.
76 * TempFileCollection.cs: Set eol-style to native.
78 2005-11-30 Gert Driesen <drieseng@users.sourceforge.net>
80 * CodeGenerator.cs: Corrected line endings. Set eol-style to native.
81 * IndentedTextWriter.cs: Indent can no longer become negative.
83 2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
85 * CodeCompiler.cs: Compile now use the Executor class (instead of the
86 Process class). Fixed JoinStringArray.
87 * CompilerResults.cs: Load assembly only when the property is called.
89 2005-11-02 Sebastien Pouliot <sebastien@ximian.com>
91 * Executor.cs: Reworked (for permissions) and fixed ExitCode (must be
94 2005-11-01 Sebastien Pouliot <sebastien@ximian.com>
96 * CodeGenerator.cs: Added/stubbed missing 2.0 stuff.
98 2005-11-01 Sebastien Pouliot <sebastien@ximian.com>
100 CodeDomProvider.cs: Added missing 2.0 methods. Added CAS permissions.
101 Added protection against NullReferenceException when no config is
104 2005-10-29 Sebastien Pouliot <sebastien@ximian.com>
106 CodeDomProvider.cs: Stubbed a few 2.0 methods to fix API errors in
109 2005-10-25 Sebastien Pouliot <sebastien@ximian.com>
111 * CompilerError.cs: Added LinkDemand for Unrestricted before 2.0.
112 * CompilerErrorCollection.cs: Added LinkDemand for Unrestricted before
115 2005-10-25 Sebastien Pouliot <sebastien@ximian.com>
117 * CodeGenerator.cs: Fixed OutputAttributeArgument not to assume the
118 default value is null (it's String.Empty).
120 2005-10-25 Sebastien Pouliot <sebastien@ximian.com>
122 * CompilerParameters.cs: Added [ComVisible(false)] on the new (2.0)
123 EmbeddedResources and LinkedResources properties.
124 * TempFileCollection.cs: Changed BasePath property to use Path.
125 GetTempPath (Environment check) and added the PathDiscovery check on
126 the combined result. Fixed TempDir so it's value never change (i.e.
127 imply that it doesn't need any permissions). Fixed SyncRoot to always
130 2005-10-24 Sebastien Pouliot <sebastien@ximian.com>
132 * CodeGeneratorOptions.cs: Fixed how properties are kept inside the
133 IDictionary (which is just like System.Web.dll).
134 * CompilerError.cs: Added [Serializable] attribute for 2.0.
135 * CompilerInfo.cs: Added LinkDemand for Unrestricted. Stubbed new
136 (2.0) CreateDefaultCompilerParameters method.
137 * CompilerParameters.cs: Added LinkDemand and InheritanceDemand for
138 Unrestricted. Added Demand for ControlEvidence to Evidence property.
139 Added new (2.0) EmbeddedResources and LinkedResources properties.
140 * CompilerResults.cs: Added LinkDemand and InheritanceDemand for
141 Unrestricted. Added Demand for ControlEvidence to Evidence property.
142 * Executor.cs: Added LinkDemand for Unrestricted. Added support for
143 userToken (impersonation).
144 * GeneratedCodeAttribute.cs: New. 2.0 attribute for code generated by
146 * IndentedTextWriter.cs: Added LinkDemand and InheritanceDemand for
149 2005-10-04 Sebastien Pouliot <sebastien@ximian.com>
151 * TempFileCollection.cs: Added a call to GC.SuppressFinalize in
154 2005-07-30 Gert Driesen <drieseng@users.sourceforge.net>
156 * CodeGenerator.cs: In OutputMemberScopeModifier, only output
157 "new" modifier in 2.0 profile.
159 2005-07-24 Gert Driesen <drieseng@users.sourceforge.net>
161 * CodeGenerator.cs: Threat delegates like any other type.
163 2005-07-21 Gert Driesen <drieseng@users.sourceforge.net>
165 * CodeGenerator.cs: Fixed IsCurrentClass to return false for delegate.
167 2005-06-28 Gert Driesen <drieseng@users.sourceforge.net>
169 * CodeGenerator.cs: On 2.0 profile, internal members are also marked
170 virtual. Fixed access modifier for FamilyAndAssembly to match
173 2005-06-25 Gert Driesen <drieseng@users.sourceforge.net>
175 * CodeGenerator.cs: Fixed bug #75190, GenerateCodeFromCompileUnit
176 generates no code for CodeSnippetCompileUnit.
178 2005-06-04 Gert Driesen <drieseng@users.sourceforge.net>
180 * IndentedTextWriter.cs: also output tabs in WriteLine () to
183 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
185 * CodeDomProvider.cs: implemented IsDefined* and GetCompilerInfo.
186 * CompilerInfo.cs: implemented.
187 * CodeDomConfigurationHandler.cs: system.codedom section reader.
189 2005-01-27 LLuis Sanchez Gual <lluis@novell.com>
191 * CodeGenerator.cs: Write 'f' suffix for float constants.
193 2004-09-06 Marek Safar <marek.safar@seznam.cz>
196 * GeneratorSupport.cs : Implemented NET_2_0 extension
198 * CompilerInfo.cs : New NET_2_0 file.
200 2004-09-01 Marek Safar <marek.safar@seznam.cz>
202 * CodeGenerator.cs : Added newline after global attributes output.
203 (OutputAttributeDeclaration): Replace '+' with '.' for nested
206 2004-08-09 Atsushi Enomoto <atsushi@ximian.com>
209 Don't initialize output more than once. TextWriter is wrapped twice.
211 2004-07-15 Peter Williams <peter@newton.cx>
213 * CodeGenerator.cs: Have the basic generator create line pragmas
214 for NamespaceImports, SnippetCompileUnits, and TypeMembers, all of
215 which had LinePragma members which were going unused.
217 2004-06-17 Jackson Harper <jackson@ximian.com>
220 * CodeGenerator.cs: Make sure we are using invariant for non
221 culture sensitive operations.
223 2004-06-13 Gert Driesen <drieseng@users.sourceforge.net>
225 * IndentedTextWriter.cs: have DefaultTabString correspond with
226 MS.NET (meaning four spaces)
228 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
230 * TempFileCollection.cs: don't create a Random object on every call to
233 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
235 * CodeGenerator.cs : delegate was output as usual class.
237 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
239 * Executor.cs: Implemented.
241 2004-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
243 * TempFileCollection.cs: fixed typo in Delete. Closes bug #54443.
245 2004-02-10 Jackson Harper <jackson@ximian.com>
247 * CompilerParameters.cs: TempFiles should never return null.
249 2004-02-04 Jackson Harper <jackson@ximian.com>
251 * CodeGenerator.cs (GenerateExpression): Don't allow null
252 expressions. Throw ArgumentException if the expression type is not
254 * CodeGenerator.cs (GenerateStatement): Add line pragmas if they
255 are set. Throw ArgumentException if the expression type is not handled.
257 2003-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
259 * TempFileCollection.cs: fixed temp path in BaseDir.
261 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
263 * CodeGenerator.cs: fixed assembly level attribute generation.
265 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
267 * CodeGenerator.cs: When sorting the members of a type, keep the
268 relative order of the members of the same kind.
270 2003-08-05 Lluis Sanchez Gual <lluis@ximian.com>
272 * CodeGenerator.cs: Generate comments for properties and fields.
273 Write a line separator between type declarations.
275 2003-07-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
277 * Executor.cs: Changed abstract to sealed
279 2003-07-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
281 * CodeDomProvider.cs: Removed unneccesary attribute according to corecompare
282 * Executor.cs: Fixed signature with ref calls according to corecompare and made neccessary changes
284 2003-06-20 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
286 * CodeCompiler.cs: Nearly completely implemented
287 * CodeDomProvider.cs: Added missing Attribute, restyled according to style guidelines
288 * CodeGenerator.cs: Fixed visibilies, added missing members, implemented members, stubbed out missing member, restyled according to style guidelines
289 * CodeParser.cs: Added and implemented (ok no real implementation needed ;)
290 * CompilerErrorCollection.cs: Removed unneeded MonoTODOs, restyled according to style guidelines
291 * CompilerParameters.cs: Fixed wrong properties, Added Initializers, restyled according to style guidelines
292 * CompilerResults.cs: Added Evidence property, added initial values
293 * Executor.cs: Added and partially implemented (should probably be used by CodeCompiler)
295 * CompilerOptions.cs: Deleted this file (such a class does not exist)
297 2003-05-16 Dick Porter <dick@ximian.com>
299 * TempFileCollection.cs: Implement
301 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
304 (GenerateSnippetStatement): use WriteLine instead of Write.
306 2003-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
309 (GenerateCodePrimitive): special case strings and chars (bool was
310 already a special case). Throw an exception if the type is not a
313 2003-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
315 * CodeGenerator.cs: more fixes and sorted the output.
317 * IndentedTextWriter.cs: don't output tabs in WriteLine ().
319 2003-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
322 (GenerateCompileUnitStart):
323 (GenerateCompileUnitEnd): removed debug output.
324 (GeneratePrimitiveExpression): handle null and bool as special cases.
325 (GenerateType): added type constructor and constructor calls.
327 2003-02-20 Alfonso Ali <isa@infomed.sld.cu>
329 * CodeGenerator.cs: Generates the entry point method.
331 2003-01-10 Duncan Mak <duncan@ximian.com>
333 * CompilerErrorCollection.cs:
334 * CompilerParameters.cs: Patch from Sean Kasun
335 <skasun@azstarnet.com> implementing most of the MonoTODOs in
336 CompilerErrorCollection and the CompilerParameters overloads in CompilerParameters.cs.
338 2002-11-30 Jackson Harper <jackson@latitudegeo.com>
340 * CodeCompiler.cs: Removed TODO attribute from abstract members
342 2002-11-30 Jackson Harper <jackson@latitudegeo.com>
344 * CodeCompiler.cs: Added stub
346 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
348 * CodeDomProvider.cs:
349 * IndentedTextWriter.cs: misc. fixes.
351 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
353 * CompilerError.cs: implemented.
354 * CompilerErrorCollection.cs: stubbed out and fix inheritance.
355 * GeneratorSupport.cs: fixed values.
357 2002-05-28 Daniel Stodden <stodden@in.tum.de>
359 * CodeDomProvider.cs: added, incomplete
361 * CodeGeneratorOptions.cs: added, complete
363 * CompilerErrorCollection.cs: added, stub
365 * CompilerOptions.cs: added, stub
367 * CompilerResults.cs: added, complete
369 * GeneratorSupport.cs: added, complete
371 * ICodeCompiler.cs: added, complete
373 * ICodeParser.cs: added, complete
375 * IndentedTextWriter.cs: added, complete
377 * LanguageOptions.cs: added, complete
379 * TempFileCollection.cs: added, stub
381 * ICodeGenerator.cs: added, complete
383 2002-01-05 Ravi Pratap <ravi@ximian.com>
385 * CodeGenerator.cs : Mark bits with MonoTODO.
387 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
389 * CodeGenerator.cs: moved using statement out of namespace