1 2006-11-17 Atsushi Enomoto <atsushi@ximian.com>
3 * TempFileCollection.cs : make it work under non-libc environment.
5 2006-11-16 Marek Habersack <grendello@gmail.com>
7 * Compiler.cs: ConfigurationElement to handle the <compiler>
8 sub-element of the <system.codedom> section
10 * CodeDomConfigurationHandler.cs: Reimplemented as a
11 ConfigurationSection. Made the class internal.
13 * CompilerCollection.cs: Collection of Compiler and CompilerInfo
14 objects. Uses List<CompilerInfo> as we need to be able to store
15 multiple entries for the same language, as .NET does.
17 * CodeDomProvider.cs: Changes to use the new
18 CodeDomConfigurationHandler class.
20 2006-11-07 Marek Habersack <grendello@gmail.com>
22 * CompilerInfo.cs: Implement the CreateDefaultCompilerParameters API.
24 * CodeDomConfigurationHandler.cs: WarningLevel of CompilerInfo
25 should default to -1 if it is absent from the config file, as per
28 2006-11-06 Marek Habersack <grendello@gmail.com>
30 * CodeDomProvider.cs: IsDefinedLanguage should return true if
31 CompilerInfo for the specified language exists.
33 * CodeDomConfigurationHandler.cs: add an instance of CompilerInfo
34 separately for each language name defined in the compiler's
37 2006-09-15 LLuis Sanchez Gual <lluis@novell.com>
39 * TempFileCollection.cs: Create files in a temporary subdirectory,
41 * CodeCompiler.cs: Let TempFileCollection choose the temp dir.
43 2006-05-04 LLuis Sanchez Gual <lluis@novell.com>
45 * TempFileCollection.cs: Make sure generated file names
46 are unique. Fixes bug #76125 and #78230.
48 2006-04-20 Gert Driesen <drieseng@users.sourceforge.net>
50 * CodeGenerator.cs: Output empty line between types if
51 BlankLinesBetweenMembers option is set.
53 2006-03-24 Chris Toshok <toshok@ximian.com>
55 * CompilerInfo.cs (Init): make this internal as well, so
56 CodeDomConfigurationHandler can call it.
58 * CodeDomConfigurationHandler.cs (ReadCompilers): we need to call
59 CompilerInfo.Init after setting CompilerInfo.TypeName.
61 2006-03-11 Miguel de Icaza <miguel@novell.com>
63 * CodeDomConfigurationHandler.cs: Comment out unused methods.
65 * TempFileCollection.cs: Implement explicitly some interface
66 methods to get rid of the "!" errors on CorCompare.
68 2006-02-19 Zoltan Varga <vargaz@gmail.com>
70 * CodeDomProvider.cs: Fix the [ToolboxItem] attribute. Fixes #77513.
72 2005-12-07 Gert Driesen <drieseng@users.sourceforge.net>
74 * CodeGenerator.cs: Modified GeneratePrimitiveExpression to throw
75 ArgumentException for sbyte value, use GenerateSingleFloatValue for
76 float, GenerateDecimalValue for decimal and GenerateDoubleValue for
77 double. Modified exception message for non-primitive types to match
79 * ICodeCompiler.cs: Set eol-style to native.
80 * CodeCompiler.cs: Set eol-style to native.
81 * CodeDomConfigurationHandler.cs: Set eol-style to native.
82 * CodeDomProvider.cs: Set eol-style to native.
83 * CodeGeneratorOptions.cs: Set eol-style to native.
84 * CodeParser.cs: Set eol-style to native.
85 * CompilerError.cs: Set eol-style to native.
86 * CompilerErrorCollection.cs: Set eol-style to native.
87 * CompilerInfo.cs: Set eol-style to native.
88 * CompilerParameters.cs: Set eol-style to native.
89 * CompilerResults.cs: Set eol-style to native.
90 * Executor.cs: Set eol-style to native.
91 * GeneratorSupport.cs: Set eol-style to native.
92 * ICodeGenerator.cs: Set eol-style to native.
93 * ICodeParser.cs: Set eol-style to native.
94 * LanguageOptions.cs: Set eol-style to native.
95 * TempFileCollection.cs: Set eol-style to native.
97 2005-11-30 Gert Driesen <drieseng@users.sourceforge.net>
99 * CodeGenerator.cs: Corrected line endings. Set eol-style to native.
100 * IndentedTextWriter.cs: Indent can no longer become negative.
102 2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
104 * CodeCompiler.cs: Compile now use the Executor class (instead of the
105 Process class). Fixed JoinStringArray.
106 * CompilerResults.cs: Load assembly only when the property is called.
108 2005-11-02 Sebastien Pouliot <sebastien@ximian.com>
110 * Executor.cs: Reworked (for permissions) and fixed ExitCode (must be
111 called before Close).
113 2005-11-01 Sebastien Pouliot <sebastien@ximian.com>
115 * CodeGenerator.cs: Added/stubbed missing 2.0 stuff.
117 2005-11-01 Sebastien Pouliot <sebastien@ximian.com>
119 CodeDomProvider.cs: Added missing 2.0 methods. Added CAS permissions.
120 Added protection against NullReferenceException when no config is
123 2005-10-29 Sebastien Pouliot <sebastien@ximian.com>
125 CodeDomProvider.cs: Stubbed a few 2.0 methods to fix API errors in
128 2005-10-25 Sebastien Pouliot <sebastien@ximian.com>
130 * CompilerError.cs: Added LinkDemand for Unrestricted before 2.0.
131 * CompilerErrorCollection.cs: Added LinkDemand for Unrestricted before
134 2005-10-25 Sebastien Pouliot <sebastien@ximian.com>
136 * CodeGenerator.cs: Fixed OutputAttributeArgument not to assume the
137 default value is null (it's String.Empty).
139 2005-10-25 Sebastien Pouliot <sebastien@ximian.com>
141 * CompilerParameters.cs: Added [ComVisible(false)] on the new (2.0)
142 EmbeddedResources and LinkedResources properties.
143 * TempFileCollection.cs: Changed BasePath property to use Path.
144 GetTempPath (Environment check) and added the PathDiscovery check on
145 the combined result. Fixed TempDir so it's value never change (i.e.
146 imply that it doesn't need any permissions). Fixed SyncRoot to always
149 2005-10-24 Sebastien Pouliot <sebastien@ximian.com>
151 * CodeGeneratorOptions.cs: Fixed how properties are kept inside the
152 IDictionary (which is just like System.Web.dll).
153 * CompilerError.cs: Added [Serializable] attribute for 2.0.
154 * CompilerInfo.cs: Added LinkDemand for Unrestricted. Stubbed new
155 (2.0) CreateDefaultCompilerParameters method.
156 * CompilerParameters.cs: Added LinkDemand and InheritanceDemand for
157 Unrestricted. Added Demand for ControlEvidence to Evidence property.
158 Added new (2.0) EmbeddedResources and LinkedResources properties.
159 * CompilerResults.cs: Added LinkDemand and InheritanceDemand for
160 Unrestricted. Added Demand for ControlEvidence to Evidence property.
161 * Executor.cs: Added LinkDemand for Unrestricted. Added support for
162 userToken (impersonation).
163 * GeneratedCodeAttribute.cs: New. 2.0 attribute for code generated by
165 * IndentedTextWriter.cs: Added LinkDemand and InheritanceDemand for
168 2005-10-04 Sebastien Pouliot <sebastien@ximian.com>
170 * TempFileCollection.cs: Added a call to GC.SuppressFinalize in
173 2005-07-30 Gert Driesen <drieseng@users.sourceforge.net>
175 * CodeGenerator.cs: In OutputMemberScopeModifier, only output
176 "new" modifier in 2.0 profile.
178 2005-07-24 Gert Driesen <drieseng@users.sourceforge.net>
180 * CodeGenerator.cs: Threat delegates like any other type.
182 2005-07-21 Gert Driesen <drieseng@users.sourceforge.net>
184 * CodeGenerator.cs: Fixed IsCurrentClass to return false for delegate.
186 2005-06-28 Gert Driesen <drieseng@users.sourceforge.net>
188 * CodeGenerator.cs: On 2.0 profile, internal members are also marked
189 virtual. Fixed access modifier for FamilyAndAssembly to match
192 2005-06-25 Gert Driesen <drieseng@users.sourceforge.net>
194 * CodeGenerator.cs: Fixed bug #75190, GenerateCodeFromCompileUnit
195 generates no code for CodeSnippetCompileUnit.
197 2005-06-04 Gert Driesen <drieseng@users.sourceforge.net>
199 * IndentedTextWriter.cs: also output tabs in WriteLine () to
202 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
204 * CodeDomProvider.cs: implemented IsDefined* and GetCompilerInfo.
205 * CompilerInfo.cs: implemented.
206 * CodeDomConfigurationHandler.cs: system.codedom section reader.
208 2005-01-27 LLuis Sanchez Gual <lluis@novell.com>
210 * CodeGenerator.cs: Write 'f' suffix for float constants.
212 2004-09-06 Marek Safar <marek.safar@seznam.cz>
215 * GeneratorSupport.cs : Implemented NET_2_0 extension
217 * CompilerInfo.cs : New NET_2_0 file.
219 2004-09-01 Marek Safar <marek.safar@seznam.cz>
221 * CodeGenerator.cs : Added newline after global attributes output.
222 (OutputAttributeDeclaration): Replace '+' with '.' for nested
225 2004-08-09 Atsushi Enomoto <atsushi@ximian.com>
228 Don't initialize output more than once. TextWriter is wrapped twice.
230 2004-07-15 Peter Williams <peter@newton.cx>
232 * CodeGenerator.cs: Have the basic generator create line pragmas
233 for NamespaceImports, SnippetCompileUnits, and TypeMembers, all of
234 which had LinePragma members which were going unused.
236 2004-06-17 Jackson Harper <jackson@ximian.com>
239 * CodeGenerator.cs: Make sure we are using invariant for non
240 culture sensitive operations.
242 2004-06-13 Gert Driesen <drieseng@users.sourceforge.net>
244 * IndentedTextWriter.cs: have DefaultTabString correspond with
245 MS.NET (meaning four spaces)
247 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
249 * TempFileCollection.cs: don't create a Random object on every call to
252 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
254 * CodeGenerator.cs : delegate was output as usual class.
256 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
258 * Executor.cs: Implemented.
260 2004-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
262 * TempFileCollection.cs: fixed typo in Delete. Closes bug #54443.
264 2004-02-10 Jackson Harper <jackson@ximian.com>
266 * CompilerParameters.cs: TempFiles should never return null.
268 2004-02-04 Jackson Harper <jackson@ximian.com>
270 * CodeGenerator.cs (GenerateExpression): Don't allow null
271 expressions. Throw ArgumentException if the expression type is not
273 * CodeGenerator.cs (GenerateStatement): Add line pragmas if they
274 are set. Throw ArgumentException if the expression type is not handled.
276 2003-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
278 * TempFileCollection.cs: fixed temp path in BaseDir.
280 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
282 * CodeGenerator.cs: fixed assembly level attribute generation.
284 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
286 * CodeGenerator.cs: When sorting the members of a type, keep the
287 relative order of the members of the same kind.
289 2003-08-05 Lluis Sanchez Gual <lluis@ximian.com>
291 * CodeGenerator.cs: Generate comments for properties and fields.
292 Write a line separator between type declarations.
294 2003-07-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
296 * Executor.cs: Changed abstract to sealed
298 2003-07-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
300 * CodeDomProvider.cs: Removed unneccesary attribute according to corecompare
301 * Executor.cs: Fixed signature with ref calls according to corecompare and made neccessary changes
303 2003-06-20 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
305 * CodeCompiler.cs: Nearly completely implemented
306 * CodeDomProvider.cs: Added missing Attribute, restyled according to style guidelines
307 * CodeGenerator.cs: Fixed visibilies, added missing members, implemented members, stubbed out missing member, restyled according to style guidelines
308 * CodeParser.cs: Added and implemented (ok no real implementation needed ;)
309 * CompilerErrorCollection.cs: Removed unneeded MonoTODOs, restyled according to style guidelines
310 * CompilerParameters.cs: Fixed wrong properties, Added Initializers, restyled according to style guidelines
311 * CompilerResults.cs: Added Evidence property, added initial values
312 * Executor.cs: Added and partially implemented (should probably be used by CodeCompiler)
314 * CompilerOptions.cs: Deleted this file (such a class does not exist)
316 2003-05-16 Dick Porter <dick@ximian.com>
318 * TempFileCollection.cs: Implement
320 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
323 (GenerateSnippetStatement): use WriteLine instead of Write.
325 2003-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
328 (GenerateCodePrimitive): special case strings and chars (bool was
329 already a special case). Throw an exception if the type is not a
332 2003-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
334 * CodeGenerator.cs: more fixes and sorted the output.
336 * IndentedTextWriter.cs: don't output tabs in WriteLine ().
338 2003-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
341 (GenerateCompileUnitStart):
342 (GenerateCompileUnitEnd): removed debug output.
343 (GeneratePrimitiveExpression): handle null and bool as special cases.
344 (GenerateType): added type constructor and constructor calls.
346 2003-02-20 Alfonso Ali <isa@infomed.sld.cu>
348 * CodeGenerator.cs: Generates the entry point method.
350 2003-01-10 Duncan Mak <duncan@ximian.com>
352 * CompilerErrorCollection.cs:
353 * CompilerParameters.cs: Patch from Sean Kasun
354 <skasun@azstarnet.com> implementing most of the MonoTODOs in
355 CompilerErrorCollection and the CompilerParameters overloads in CompilerParameters.cs.
357 2002-11-30 Jackson Harper <jackson@latitudegeo.com>
359 * CodeCompiler.cs: Removed TODO attribute from abstract members
361 2002-11-30 Jackson Harper <jackson@latitudegeo.com>
363 * CodeCompiler.cs: Added stub
365 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
367 * CodeDomProvider.cs:
368 * IndentedTextWriter.cs: misc. fixes.
370 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
372 * CompilerError.cs: implemented.
373 * CompilerErrorCollection.cs: stubbed out and fix inheritance.
374 * GeneratorSupport.cs: fixed values.
376 2002-05-28 Daniel Stodden <stodden@in.tum.de>
378 * CodeDomProvider.cs: added, incomplete
380 * CodeGeneratorOptions.cs: added, complete
382 * CompilerErrorCollection.cs: added, stub
384 * CompilerOptions.cs: added, stub
386 * CompilerResults.cs: added, complete
388 * GeneratorSupport.cs: added, complete
390 * ICodeCompiler.cs: added, complete
392 * ICodeParser.cs: added, complete
394 * IndentedTextWriter.cs: added, complete
396 * LanguageOptions.cs: added, complete
398 * TempFileCollection.cs: added, stub
400 * ICodeGenerator.cs: added, complete
402 2002-01-05 Ravi Pratap <ravi@ximian.com>
404 * CodeGenerator.cs : Mark bits with MonoTODO.
406 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
408 * CodeGenerator.cs: moved using statement out of namespace