2006-05-04 LLuis Sanchez Gual <lluis@novell.com>
[mono.git] / mcs / class / System / System.CodeDom.Compiler / ChangeLog
1 2006-05-04  LLuis Sanchez Gual  <lluis@novell.com>
2
3         * TempFileCollection.cs: Make sure generated file names
4           are unique. Fixes bug #76125 and #78230.
5
6 2006-04-20  Gert Driesen  <drieseng@users.sourceforge.net>
7
8         * CodeGenerator.cs: Output empty line between types if 
9         BlankLinesBetweenMembers option is set.
10
11 2006-03-24  Chris Toshok  <toshok@ximian.com>
12
13         * CompilerInfo.cs (Init): make this internal as well, so
14         CodeDomConfigurationHandler can call it.
15
16         * CodeDomConfigurationHandler.cs (ReadCompilers): we need to call
17         CompilerInfo.Init after setting CompilerInfo.TypeName.
18
19 2006-03-11  Miguel de Icaza  <miguel@novell.com>
20
21         * CodeDomConfigurationHandler.cs: Comment out unused methods. 
22
23         * TempFileCollection.cs: Implement explicitly some interface
24         methods to get rid of the "!" errors on CorCompare.
25
26 2006-02-19  Zoltan Varga  <vargaz@gmail.com>
27
28         * CodeDomProvider.cs: Fix the [ToolboxItem] attribute. Fixes #77513.
29
30 2005-12-07  Gert Driesen  <drieseng@users.sourceforge.net>
31
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
36         MS.NET.
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.
54
55 2005-11-30  Gert Driesen  <drieseng@users.sourceforge.net>
56
57         * CodeGenerator.cs: Corrected line endings. Set eol-style to native.
58         * IndentedTextWriter.cs: Indent can no longer become negative.
59
60 2005-11-04  Sebastien Pouliot  <sebastien@ximian.com> 
61
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.
65
66 2005-11-02  Sebastien Pouliot  <sebastien@ximian.com> 
67
68         * Executor.cs: Reworked (for permissions) and fixed ExitCode (must be 
69         called before Close).
70
71 2005-11-01  Sebastien Pouliot  <sebastien@ximian.com> 
72  
73         * CodeGenerator.cs: Added/stubbed missing 2.0 stuff.
74
75 2005-11-01  Sebastien Pouliot  <sebastien@ximian.com>
76
77         CodeDomProvider.cs: Added missing 2.0 methods. Added CAS permissions.
78         Added protection against NullReferenceException when no config is
79         available.
80
81 2005-10-29  Sebastien Pouliot  <sebastien@ximian.com>
82
83         CodeDomProvider.cs: Stubbed a few 2.0 methods to fix API errors in 
84         derived classes.
85
86 2005-10-25  Sebastien Pouliot  <sebastien@ximian.com>
87
88         * CompilerError.cs: Added LinkDemand for Unrestricted before 2.0.
89         * CompilerErrorCollection.cs: Added LinkDemand for Unrestricted before
90         2.0.
91
92 2005-10-25  Sebastien Pouliot  <sebastien@ximian.com> 
93  
94         * CodeGenerator.cs: Fixed OutputAttributeArgument not to assume the
95         default value is null (it's String.Empty).
96
97 2005-10-25  Sebastien Pouliot  <sebastien@ximian.com>
98
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 
105         return null.
106
107 2005-10-24  Sebastien Pouliot  <sebastien@ximian.com>
108
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 
122         tools.
123         * IndentedTextWriter.cs: Added LinkDemand and InheritanceDemand for 
124         Unrestricted.
125
126 2005-10-04  Sebastien Pouliot  <sebastien@ximian.com>
127
128         * TempFileCollection.cs: Added a call to GC.SuppressFinalize in 
129         Dispose.
130
131 2005-07-30 Gert Driesen <drieseng@users.sourceforge.net>
132
133         * CodeGenerator.cs: In OutputMemberScopeModifier, only output 
134         "new" modifier in 2.0 profile.
135
136 2005-07-24 Gert Driesen <drieseng@users.sourceforge.net>
137
138         * CodeGenerator.cs: Threat delegates like any other type.
139
140 2005-07-21 Gert Driesen <drieseng@users.sourceforge.net>
141
142         * CodeGenerator.cs: Fixed IsCurrentClass to return false for delegate.
143
144 2005-06-28 Gert Driesen <drieseng@users.sourceforge.net>
145
146         * CodeGenerator.cs: On 2.0 profile, internal members are also marked
147         virtual. Fixed access modifier for FamilyAndAssembly to match
148         MS.NET.
149
150 2005-06-25 Gert Driesen <drieseng@users.sourceforge.net>
151
152         * CodeGenerator.cs: Fixed bug #75190, GenerateCodeFromCompileUnit
153         generates no code for CodeSnippetCompileUnit.
154
155 2005-06-04 Gert Driesen <drieseng@users.sourceforge.net>
156
157         * IndentedTextWriter.cs: also output tabs in WriteLine () to
158         match MS.NET
159
160 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
161
162         * CodeDomProvider.cs: implemented IsDefined* and GetCompilerInfo.
163         * CompilerInfo.cs: implemented.
164         * CodeDomConfigurationHandler.cs: system.codedom section reader.
165
166 2005-01-27  LLuis Sanchez Gual  <lluis@novell.com>
167
168         * CodeGenerator.cs: Write 'f' suffix for float constants.
169
170 2004-09-06  Marek Safar  <marek.safar@seznam.cz>
171
172         * CodeGenerator.cs,
173         * GeneratorSupport.cs : Implemented NET_2_0 extension
174         
175         * CompilerInfo.cs : New NET_2_0 file.
176
177 2004-09-01  Marek Safar  <marek.safar@seznam.cz>
178
179         * CodeGenerator.cs : Added newline after global attributes output.
180         (OutputAttributeDeclaration): Replace '+' with '.' for nested
181         attribute types.
182
183 2004-08-09  Atsushi Enomoto  <atsushi@ximian.com>
184
185         * CodeGenerator.cs :
186           Don't initialize output more than once. TextWriter is wrapped twice.
187
188 2004-07-15  Peter Williams  <peter@newton.cx>
189
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.
193
194 2004-06-17  Jackson Harper  <jackson@ximian.com>
195
196         * CompilerError.cs:
197         * CodeGenerator.cs: Make sure we are using invariant for non
198         culture sensitive operations.
199         
200 2004-06-13  Gert Driesen <drieseng@users.sourceforge.net>
201
202         * IndentedTextWriter.cs: have DefaultTabString correspond with
203         MS.NET (meaning four spaces)
204
205 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
206
207         * TempFileCollection.cs: don't create a Random object on every call to
208         BasePath.
209
210 2004-04-26  Atsushi Enomoto  <atsushi@ximian.com>
211
212         * CodeGenerator.cs : delegate was output as usual class.
213
214 2004-03-29  Lluis Sanchez Gual  <lluis@ximian.com>
215
216         * Executor.cs: Implemented.
217
218 2004-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
219
220         * TempFileCollection.cs: fixed typo in Delete. Closes bug #54443.
221
222 2004-02-10  Jackson Harper <jackson@ximian.com>
223
224         * CompilerParameters.cs: TempFiles should never return null.
225         
226 2004-02-04  Jackson Harper <jackson@ximian.com>
227
228         * CodeGenerator.cs (GenerateExpression): Don't allow null
229         expressions. Throw ArgumentException if the expression type is not
230         handled.
231         * CodeGenerator.cs (GenerateStatement): Add line pragmas if they
232         are set. Throw ArgumentException if the expression type is not handled.
233         
234 2003-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
235
236         * TempFileCollection.cs: fixed temp path in BaseDir.
237
238 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
239
240         * CodeGenerator.cs: fixed assembly level attribute generation.
241
242 2003-08-08  Lluis Sanchez Gual  <lluis@ximian.com>
243
244         * CodeGenerator.cs: When sorting the members of a type, keep the
245         relative order of the members of the same kind.
246
247 2003-08-05  Lluis Sanchez Gual  <lluis@ximian.com>
248
249         * CodeGenerator.cs: Generate comments for properties and fields.
250           Write a line separator between type declarations.
251
252 2003-07-10  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
253
254         * Executor.cs: Changed abstract to sealed
255
256 2003-07-07  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
257
258         * CodeDomProvider.cs: Removed unneccesary attribute according to corecompare
259         * Executor.cs: Fixed signature with ref calls according to corecompare and made neccessary changes
260
261 2003-06-20  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
262
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)
271         
272         * CompilerOptions.cs: Deleted this file (such a class does not exist)
273         
274 2003-05-16  Dick Porter  <dick@ximian.com>
275
276         * TempFileCollection.cs: Implement
277
278 2003-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
279
280         * CodeGenerator.cs:
281         (GenerateSnippetStatement): use WriteLine instead of Write.
282
283 2003-04-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
284
285         * CodeGenerator.cs:
286         (GenerateCodePrimitive): special case strings and chars (bool was
287         already a special case). Throw an exception if the type is not a
288         primitive type.
289
290 2003-04-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
291
292         * CodeGenerator.cs: more fixes and sorted the output.
293         
294         * IndentedTextWriter.cs: don't output tabs in WriteLine ().
295
296 2003-04-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
297
298         * CodeGenerator.cs:
299         (GenerateCompileUnitStart):
300         (GenerateCompileUnitEnd): removed debug output.
301         (GeneratePrimitiveExpression): handle null and bool as special cases.
302         (GenerateType): added type constructor and constructor calls.
303
304 2003-02-20  Alfonso Ali <isa@infomed.sld.cu>
305
306         * CodeGenerator.cs: Generates the entry point method.
307
308 2003-01-10  Duncan Mak  <duncan@ximian.com>
309
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.
314
315 2002-11-30 Jackson Harper <jackson@latitudegeo.com>
316
317         * CodeCompiler.cs: Removed TODO attribute from abstract members
318
319 2002-11-30 Jackson Harper <jackson@latitudegeo.com>
320
321         * CodeCompiler.cs: Added stub
322
323 2002-09-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
324
325         * CodeDomProvider.cs:
326         * IndentedTextWriter.cs: misc. fixes.
327
328 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
329
330         * CompilerError.cs: implemented.
331         * CompilerErrorCollection.cs: stubbed out and fix inheritance.
332         * GeneratorSupport.cs: fixed values.
333
334 2002-05-28  Daniel Stodden <stodden@in.tum.de>
335
336         * CodeDomProvider.cs: added, incomplete
337
338         * CodeGeneratorOptions.cs: added, complete
339
340         * CompilerErrorCollection.cs: added, stub
341
342         * CompilerOptions.cs: added, stub
343
344         * CompilerResults.cs: added, complete
345
346         * GeneratorSupport.cs: added, complete
347
348         * ICodeCompiler.cs: added, complete
349
350         * ICodeParser.cs: added, complete
351
352         * IndentedTextWriter.cs: added, complete
353
354         * LanguageOptions.cs: added, complete
355
356         * TempFileCollection.cs: added, stub
357         
358         * ICodeGenerator.cs: added, complete
359
360 2002-01-05  Ravi Pratap  <ravi@ximian.com>
361
362         * CodeGenerator.cs : Mark bits with MonoTODO.
363
364 2001-07-15  Sean MacIsaac  <macisaac@ximian.com>
365
366         * CodeGenerator.cs: moved using statement out of namespace
367         declaration.
368