1 2007-02-22 Marek Habersack <grendello@gmail.com>
3 * CompilerCollection.cs: be case-insensitive with languages and
4 extensions when looking up the compiler.
6 2007-01-22 Miguel de Icaza <miguel@novell.com>
8 * CodeDomProvider.cs: Prevent Moma from getting confused.
10 2006-11-17 Atsushi Enomoto <atsushi@ximian.com>
12 * TempFileCollection.cs : make it work under non-libc environment.
14 2006-11-16 Marek Habersack <grendello@gmail.com>
16 * Compiler.cs: ConfigurationElement to handle the <compiler>
17 sub-element of the <system.codedom> section
19 * CodeDomConfigurationHandler.cs: Reimplemented as a
20 ConfigurationSection. Made the class internal.
22 * CompilerCollection.cs: Collection of Compiler and CompilerInfo
23 objects. Uses List<CompilerInfo> as we need to be able to store
24 multiple entries for the same language, as .NET does.
26 * CodeDomProvider.cs: Changes to use the new
27 CodeDomConfigurationHandler class.
29 2006-11-07 Marek Habersack <grendello@gmail.com>
31 * CompilerInfo.cs: Implement the CreateDefaultCompilerParameters API.
33 * CodeDomConfigurationHandler.cs: WarningLevel of CompilerInfo
34 should default to -1 if it is absent from the config file, as per
37 2006-11-06 Marek Habersack <grendello@gmail.com>
39 * CodeDomProvider.cs: IsDefinedLanguage should return true if
40 CompilerInfo for the specified language exists.
42 * CodeDomConfigurationHandler.cs: add an instance of CompilerInfo
43 separately for each language name defined in the compiler's
46 2006-09-15 LLuis Sanchez Gual <lluis@novell.com>
48 * TempFileCollection.cs: Create files in a temporary subdirectory,
50 * CodeCompiler.cs: Let TempFileCollection choose the temp dir.
52 2006-05-04 LLuis Sanchez Gual <lluis@novell.com>
54 * TempFileCollection.cs: Make sure generated file names
55 are unique. Fixes bug #76125 and #78230.
57 2006-04-20 Gert Driesen <drieseng@users.sourceforge.net>
59 * CodeGenerator.cs: Output empty line between types if
60 BlankLinesBetweenMembers option is set.
62 2006-03-24 Chris Toshok <toshok@ximian.com>
64 * CompilerInfo.cs (Init): make this internal as well, so
65 CodeDomConfigurationHandler can call it.
67 * CodeDomConfigurationHandler.cs (ReadCompilers): we need to call
68 CompilerInfo.Init after setting CompilerInfo.TypeName.
70 2006-03-11 Miguel de Icaza <miguel@novell.com>
72 * CodeDomConfigurationHandler.cs: Comment out unused methods.
74 * TempFileCollection.cs: Implement explicitly some interface
75 methods to get rid of the "!" errors on CorCompare.
77 2006-02-19 Zoltan Varga <vargaz@gmail.com>
79 * CodeDomProvider.cs: Fix the [ToolboxItem] attribute. Fixes #77513.
81 2005-12-07 Gert Driesen <drieseng@users.sourceforge.net>
83 * CodeGenerator.cs: Modified GeneratePrimitiveExpression to throw
84 ArgumentException for sbyte value, use GenerateSingleFloatValue for
85 float, GenerateDecimalValue for decimal and GenerateDoubleValue for
86 double. Modified exception message for non-primitive types to match
88 * ICodeCompiler.cs: Set eol-style to native.
89 * CodeCompiler.cs: Set eol-style to native.
90 * CodeDomConfigurationHandler.cs: Set eol-style to native.
91 * CodeDomProvider.cs: Set eol-style to native.
92 * CodeGeneratorOptions.cs: Set eol-style to native.
93 * CodeParser.cs: Set eol-style to native.
94 * CompilerError.cs: Set eol-style to native.
95 * CompilerErrorCollection.cs: Set eol-style to native.
96 * CompilerInfo.cs: Set eol-style to native.
97 * CompilerParameters.cs: Set eol-style to native.
98 * CompilerResults.cs: Set eol-style to native.
99 * Executor.cs: Set eol-style to native.
100 * GeneratorSupport.cs: Set eol-style to native.
101 * ICodeGenerator.cs: Set eol-style to native.
102 * ICodeParser.cs: Set eol-style to native.
103 * LanguageOptions.cs: Set eol-style to native.
104 * TempFileCollection.cs: Set eol-style to native.
106 2005-11-30 Gert Driesen <drieseng@users.sourceforge.net>
108 * CodeGenerator.cs: Corrected line endings. Set eol-style to native.
109 * IndentedTextWriter.cs: Indent can no longer become negative.
111 2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
113 * CodeCompiler.cs: Compile now use the Executor class (instead of the
114 Process class). Fixed JoinStringArray.
115 * CompilerResults.cs: Load assembly only when the property is called.
117 2005-11-02 Sebastien Pouliot <sebastien@ximian.com>
119 * Executor.cs: Reworked (for permissions) and fixed ExitCode (must be
120 called before Close).
122 2005-11-01 Sebastien Pouliot <sebastien@ximian.com>
124 * CodeGenerator.cs: Added/stubbed missing 2.0 stuff.
126 2005-11-01 Sebastien Pouliot <sebastien@ximian.com>
128 CodeDomProvider.cs: Added missing 2.0 methods. Added CAS permissions.
129 Added protection against NullReferenceException when no config is
132 2005-10-29 Sebastien Pouliot <sebastien@ximian.com>
134 CodeDomProvider.cs: Stubbed a few 2.0 methods to fix API errors in
137 2005-10-25 Sebastien Pouliot <sebastien@ximian.com>
139 * CompilerError.cs: Added LinkDemand for Unrestricted before 2.0.
140 * CompilerErrorCollection.cs: Added LinkDemand for Unrestricted before
143 2005-10-25 Sebastien Pouliot <sebastien@ximian.com>
145 * CodeGenerator.cs: Fixed OutputAttributeArgument not to assume the
146 default value is null (it's String.Empty).
148 2005-10-25 Sebastien Pouliot <sebastien@ximian.com>
150 * CompilerParameters.cs: Added [ComVisible(false)] on the new (2.0)
151 EmbeddedResources and LinkedResources properties.
152 * TempFileCollection.cs: Changed BasePath property to use Path.
153 GetTempPath (Environment check) and added the PathDiscovery check on
154 the combined result. Fixed TempDir so it's value never change (i.e.
155 imply that it doesn't need any permissions). Fixed SyncRoot to always
158 2005-10-24 Sebastien Pouliot <sebastien@ximian.com>
160 * CodeGeneratorOptions.cs: Fixed how properties are kept inside the
161 IDictionary (which is just like System.Web.dll).
162 * CompilerError.cs: Added [Serializable] attribute for 2.0.
163 * CompilerInfo.cs: Added LinkDemand for Unrestricted. Stubbed new
164 (2.0) CreateDefaultCompilerParameters method.
165 * CompilerParameters.cs: Added LinkDemand and InheritanceDemand for
166 Unrestricted. Added Demand for ControlEvidence to Evidence property.
167 Added new (2.0) EmbeddedResources and LinkedResources properties.
168 * CompilerResults.cs: Added LinkDemand and InheritanceDemand for
169 Unrestricted. Added Demand for ControlEvidence to Evidence property.
170 * Executor.cs: Added LinkDemand for Unrestricted. Added support for
171 userToken (impersonation).
172 * GeneratedCodeAttribute.cs: New. 2.0 attribute for code generated by
174 * IndentedTextWriter.cs: Added LinkDemand and InheritanceDemand for
177 2005-10-04 Sebastien Pouliot <sebastien@ximian.com>
179 * TempFileCollection.cs: Added a call to GC.SuppressFinalize in
182 2005-07-30 Gert Driesen <drieseng@users.sourceforge.net>
184 * CodeGenerator.cs: In OutputMemberScopeModifier, only output
185 "new" modifier in 2.0 profile.
187 2005-07-24 Gert Driesen <drieseng@users.sourceforge.net>
189 * CodeGenerator.cs: Threat delegates like any other type.
191 2005-07-21 Gert Driesen <drieseng@users.sourceforge.net>
193 * CodeGenerator.cs: Fixed IsCurrentClass to return false for delegate.
195 2005-06-28 Gert Driesen <drieseng@users.sourceforge.net>
197 * CodeGenerator.cs: On 2.0 profile, internal members are also marked
198 virtual. Fixed access modifier for FamilyAndAssembly to match
201 2005-06-25 Gert Driesen <drieseng@users.sourceforge.net>
203 * CodeGenerator.cs: Fixed bug #75190, GenerateCodeFromCompileUnit
204 generates no code for CodeSnippetCompileUnit.
206 2005-06-04 Gert Driesen <drieseng@users.sourceforge.net>
208 * IndentedTextWriter.cs: also output tabs in WriteLine () to
211 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
213 * CodeDomProvider.cs: implemented IsDefined* and GetCompilerInfo.
214 * CompilerInfo.cs: implemented.
215 * CodeDomConfigurationHandler.cs: system.codedom section reader.
217 2005-01-27 LLuis Sanchez Gual <lluis@novell.com>
219 * CodeGenerator.cs: Write 'f' suffix for float constants.
221 2004-09-06 Marek Safar <marek.safar@seznam.cz>
224 * GeneratorSupport.cs : Implemented NET_2_0 extension
226 * CompilerInfo.cs : New NET_2_0 file.
228 2004-09-01 Marek Safar <marek.safar@seznam.cz>
230 * CodeGenerator.cs : Added newline after global attributes output.
231 (OutputAttributeDeclaration): Replace '+' with '.' for nested
234 2004-08-09 Atsushi Enomoto <atsushi@ximian.com>
237 Don't initialize output more than once. TextWriter is wrapped twice.
239 2004-07-15 Peter Williams <peter@newton.cx>
241 * CodeGenerator.cs: Have the basic generator create line pragmas
242 for NamespaceImports, SnippetCompileUnits, and TypeMembers, all of
243 which had LinePragma members which were going unused.
245 2004-06-17 Jackson Harper <jackson@ximian.com>
248 * CodeGenerator.cs: Make sure we are using invariant for non
249 culture sensitive operations.
251 2004-06-13 Gert Driesen <drieseng@users.sourceforge.net>
253 * IndentedTextWriter.cs: have DefaultTabString correspond with
254 MS.NET (meaning four spaces)
256 2004-05-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
258 * TempFileCollection.cs: don't create a Random object on every call to
261 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
263 * CodeGenerator.cs : delegate was output as usual class.
265 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
267 * Executor.cs: Implemented.
269 2004-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
271 * TempFileCollection.cs: fixed typo in Delete. Closes bug #54443.
273 2004-02-10 Jackson Harper <jackson@ximian.com>
275 * CompilerParameters.cs: TempFiles should never return null.
277 2004-02-04 Jackson Harper <jackson@ximian.com>
279 * CodeGenerator.cs (GenerateExpression): Don't allow null
280 expressions. Throw ArgumentException if the expression type is not
282 * CodeGenerator.cs (GenerateStatement): Add line pragmas if they
283 are set. Throw ArgumentException if the expression type is not handled.
285 2003-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
287 * TempFileCollection.cs: fixed temp path in BaseDir.
289 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
291 * CodeGenerator.cs: fixed assembly level attribute generation.
293 2003-08-08 Lluis Sanchez Gual <lluis@ximian.com>
295 * CodeGenerator.cs: When sorting the members of a type, keep the
296 relative order of the members of the same kind.
298 2003-08-05 Lluis Sanchez Gual <lluis@ximian.com>
300 * CodeGenerator.cs: Generate comments for properties and fields.
301 Write a line separator between type declarations.
303 2003-07-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
305 * Executor.cs: Changed abstract to sealed
307 2003-07-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
309 * CodeDomProvider.cs: Removed unneccesary attribute according to corecompare
310 * Executor.cs: Fixed signature with ref calls according to corecompare and made neccessary changes
312 2003-06-20 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
314 * CodeCompiler.cs: Nearly completely implemented
315 * CodeDomProvider.cs: Added missing Attribute, restyled according to style guidelines
316 * CodeGenerator.cs: Fixed visibilies, added missing members, implemented members, stubbed out missing member, restyled according to style guidelines
317 * CodeParser.cs: Added and implemented (ok no real implementation needed ;)
318 * CompilerErrorCollection.cs: Removed unneeded MonoTODOs, restyled according to style guidelines
319 * CompilerParameters.cs: Fixed wrong properties, Added Initializers, restyled according to style guidelines
320 * CompilerResults.cs: Added Evidence property, added initial values
321 * Executor.cs: Added and partially implemented (should probably be used by CodeCompiler)
323 * CompilerOptions.cs: Deleted this file (such a class does not exist)
325 2003-05-16 Dick Porter <dick@ximian.com>
327 * TempFileCollection.cs: Implement
329 2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
332 (GenerateSnippetStatement): use WriteLine instead of Write.
334 2003-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
337 (GenerateCodePrimitive): special case strings and chars (bool was
338 already a special case). Throw an exception if the type is not a
341 2003-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
343 * CodeGenerator.cs: more fixes and sorted the output.
345 * IndentedTextWriter.cs: don't output tabs in WriteLine ().
347 2003-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
350 (GenerateCompileUnitStart):
351 (GenerateCompileUnitEnd): removed debug output.
352 (GeneratePrimitiveExpression): handle null and bool as special cases.
353 (GenerateType): added type constructor and constructor calls.
355 2003-02-20 Alfonso Ali <isa@infomed.sld.cu>
357 * CodeGenerator.cs: Generates the entry point method.
359 2003-01-10 Duncan Mak <duncan@ximian.com>
361 * CompilerErrorCollection.cs:
362 * CompilerParameters.cs: Patch from Sean Kasun
363 <skasun@azstarnet.com> implementing most of the MonoTODOs in
364 CompilerErrorCollection and the CompilerParameters overloads in CompilerParameters.cs.
366 2002-11-30 Jackson Harper <jackson@latitudegeo.com>
368 * CodeCompiler.cs: Removed TODO attribute from abstract members
370 2002-11-30 Jackson Harper <jackson@latitudegeo.com>
372 * CodeCompiler.cs: Added stub
374 2002-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
376 * CodeDomProvider.cs:
377 * IndentedTextWriter.cs: misc. fixes.
379 2002-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
381 * CompilerError.cs: implemented.
382 * CompilerErrorCollection.cs: stubbed out and fix inheritance.
383 * GeneratorSupport.cs: fixed values.
385 2002-05-28 Daniel Stodden <stodden@in.tum.de>
387 * CodeDomProvider.cs: added, incomplete
389 * CodeGeneratorOptions.cs: added, complete
391 * CompilerErrorCollection.cs: added, stub
393 * CompilerOptions.cs: added, stub
395 * CompilerResults.cs: added, complete
397 * GeneratorSupport.cs: added, complete
399 * ICodeCompiler.cs: added, complete
401 * ICodeParser.cs: added, complete
403 * IndentedTextWriter.cs: added, complete
405 * LanguageOptions.cs: added, complete
407 * TempFileCollection.cs: added, stub
409 * ICodeGenerator.cs: added, complete
411 2002-01-05 Ravi Pratap <ravi@ximian.com>
413 * CodeGenerator.cs : Mark bits with MonoTODO.
415 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
417 * CodeGenerator.cs: moved using statement out of namespace