merge from trunk revisions 58933, 58935, 58936
[mono.git] / mcs / class / System / System.CodeDom.Compiler / ChangeLog
1 2005-11-04  Sebastien Pouliot  <sebastien@ximian.com> 
2
3         * CodeCompiler.cs: Compile now use the Executor class (instead of the
4         Process class). Fixed JoinStringArray.
5         * CompilerResults.cs: Load assembly only when the property is called.
6
7 2005-11-02  Sebastien Pouliot  <sebastien@ximian.com> 
8
9         * Executor.cs: Reworked (for permissions) and fixed ExitCode (must be 
10         called before Close).
11
12 2005-11-01  Sebastien Pouliot  <sebastien@ximian.com> 
13  
14         * CodeGenerator.cs: Added/stubbed missing 2.0 stuff.
15
16 2005-11-01  Sebastien Pouliot  <sebastien@ximian.com>
17
18         CodeDomProvider.cs: Added missing 2.0 methods. Added CAS permissions.
19         Added protection against NullReferenceException when no config is
20         available.
21
22 2005-10-29  Sebastien Pouliot  <sebastien@ximian.com>
23
24         CodeDomProvider.cs: Stubbed a few 2.0 methods to fix API errors in 
25         derived classes.
26
27 2005-10-25  Sebastien Pouliot  <sebastien@ximian.com>
28
29         * CompilerError.cs: Added LinkDemand for Unrestricted before 2.0.
30         * CompilerErrorCollection.cs: Added LinkDemand for Unrestricted before
31         2.0.
32
33 2005-10-25  Sebastien Pouliot  <sebastien@ximian.com> 
34  
35         * CodeGenerator.cs: Fixed OutputAttributeArgument not to assume the
36         default value is null (it's String.Empty).
37
38 2005-10-25  Sebastien Pouliot  <sebastien@ximian.com>
39
40         * CompilerParameters.cs: Added [ComVisible(false)] on the new (2.0)
41         EmbeddedResources and LinkedResources properties.
42         * TempFileCollection.cs: Changed BasePath property to use Path.
43         GetTempPath (Environment check) and added the PathDiscovery check on
44         the combined result. Fixed TempDir so it's value never change (i.e. 
45         imply that it doesn't need any permissions). Fixed SyncRoot to always 
46         return null.
47
48 2005-10-24  Sebastien Pouliot  <sebastien@ximian.com>
49
50         * CodeGeneratorOptions.cs: Fixed how properties are kept inside the
51         IDictionary (which is just like System.Web.dll).
52         * CompilerError.cs: Added [Serializable] attribute for 2.0.
53         * CompilerInfo.cs: Added LinkDemand for Unrestricted. Stubbed new 
54         (2.0) CreateDefaultCompilerParameters method.
55         * CompilerParameters.cs: Added LinkDemand and InheritanceDemand for
56         Unrestricted. Added Demand for ControlEvidence to Evidence property.
57         Added new (2.0) EmbeddedResources and LinkedResources properties.
58         * CompilerResults.cs: Added LinkDemand and InheritanceDemand for 
59         Unrestricted. Added Demand for ControlEvidence to Evidence property.
60         * Executor.cs: Added LinkDemand for Unrestricted. Added support for 
61         userToken (impersonation).
62         * GeneratedCodeAttribute.cs: New. 2.0 attribute for code generated by 
63         tools.
64         * IndentedTextWriter.cs: Added LinkDemand and InheritanceDemand for 
65         Unrestricted.
66
67 2005-10-04  Sebastien Pouliot  <sebastien@ximian.com>
68
69         * TempFileCollection.cs: Added a call to GC.SuppressFinalize in 
70         Dispose.
71
72 2005-07-30 Gert Driesen <drieseng@users.sourceforge.net>
73
74         * CodeGenerator.cs: In OutputMemberScopeModifier, only output 
75         "new" modifier in 2.0 profile.
76
77 2005-07-24 Gert Driesen <drieseng@users.sourceforge.net>
78
79         * CodeGenerator.cs: Threat delegates like any other type.
80
81 2005-07-21 Gert Driesen <drieseng@users.sourceforge.net>
82
83         * CodeGenerator.cs: Fixed IsCurrentClass to return false for delegate.
84
85 2005-06-28 Gert Driesen <drieseng@users.sourceforge.net>
86
87         * CodeGenerator.cs: On 2.0 profile, internal members are also marked
88         virtual. Fixed access modifier for FamilyAndAssembly to match
89         MS.NET.
90
91 2005-06-25 Gert Driesen <drieseng@users.sourceforge.net>
92
93         * CodeGenerator.cs: Fixed bug #75190, GenerateCodeFromCompileUnit
94         generates no code for CodeSnippetCompileUnit.
95
96 2005-06-04 Gert Driesen <drieseng@users.sourceforge.net>
97
98         * IndentedTextWriter.cs: also output tabs in WriteLine () to
99         match MS.NET
100
101 2005-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
102
103         * CodeDomProvider.cs: implemented IsDefined* and GetCompilerInfo.
104         * CompilerInfo.cs: implemented.
105         * CodeDomConfigurationHandler.cs: system.codedom section reader.
106
107 2005-01-27  LLuis Sanchez Gual  <lluis@novell.com>
108
109         * CodeGenerator.cs: Write 'f' suffix for float constants.
110
111 2004-09-06  Marek Safar  <marek.safar@seznam.cz>
112
113         * CodeGenerator.cs,
114         * GeneratorSupport.cs : Implemented NET_2_0 extension
115         
116         * CompilerInfo.cs : New NET_2_0 file.
117
118 2004-09-01  Marek Safar  <marek.safar@seznam.cz>
119
120         * CodeGenerator.cs : Added newline after global attributes output.
121         (OutputAttributeDeclaration): Replace '+' with '.' for nested
122         attribute types.
123
124 2004-08-09  Atsushi Enomoto  <atsushi@ximian.com>
125
126         * CodeGenerator.cs :
127           Don't initialize output more than once. TextWriter is wrapped twice.
128
129 2004-07-15  Peter Williams  <peter@newton.cx>
130
131         * CodeGenerator.cs: Have the basic generator create line pragmas
132         for NamespaceImports, SnippetCompileUnits, and TypeMembers, all of
133         which had LinePragma members which were going unused.
134
135 2004-06-17  Jackson Harper  <jackson@ximian.com>
136
137         * CompilerError.cs:
138         * CodeGenerator.cs: Make sure we are using invariant for non
139         culture sensitive operations.
140         
141 2004-06-13  Gert Driesen <drieseng@users.sourceforge.net>
142
143         * IndentedTextWriter.cs: have DefaultTabString correspond with
144         MS.NET (meaning four spaces)
145
146 2004-05-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
147
148         * TempFileCollection.cs: don't create a Random object on every call to
149         BasePath.
150
151 2004-04-26  Atsushi Enomoto  <atsushi@ximian.com>
152
153         * CodeGenerator.cs : delegate was output as usual class.
154
155 2004-03-29  Lluis Sanchez Gual  <lluis@ximian.com>
156
157         * Executor.cs: Implemented.
158
159 2004-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
160
161         * TempFileCollection.cs: fixed typo in Delete. Closes bug #54443.
162
163 2004-02-10  Jackson Harper <jackson@ximian.com>
164
165         * CompilerParameters.cs: TempFiles should never return null.
166         
167 2004-02-04  Jackson Harper <jackson@ximian.com>
168
169         * CodeGenerator.cs (GenerateExpression): Don't allow null
170         expressions. Throw ArgumentException if the expression type is not
171         handled.
172         * CodeGenerator.cs (GenerateStatement): Add line pragmas if they
173         are set. Throw ArgumentException if the expression type is not handled.
174         
175 2003-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
176
177         * TempFileCollection.cs: fixed temp path in BaseDir.
178
179 2003-11-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
180
181         * CodeGenerator.cs: fixed assembly level attribute generation.
182
183 2003-08-08  Lluis Sanchez Gual  <lluis@ximian.com>
184
185         * CodeGenerator.cs: When sorting the members of a type, keep the
186         relative order of the members of the same kind.
187
188 2003-08-05  Lluis Sanchez Gual  <lluis@ximian.com>
189
190         * CodeGenerator.cs: Generate comments for properties and fields.
191           Write a line separator between type declarations.
192
193 2003-07-10  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
194
195         * Executor.cs: Changed abstract to sealed
196
197 2003-07-07  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
198
199         * CodeDomProvider.cs: Removed unneccesary attribute according to corecompare
200         * Executor.cs: Fixed signature with ref calls according to corecompare and made neccessary changes
201
202 2003-06-20  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
203
204         * CodeCompiler.cs: Nearly completely implemented
205         * CodeDomProvider.cs: Added missing Attribute, restyled according to style guidelines
206         * CodeGenerator.cs: Fixed visibilies, added missing members, implemented members, stubbed out missing member, restyled according to style guidelines
207         * CodeParser.cs: Added and implemented (ok no real implementation needed ;)
208         * CompilerErrorCollection.cs: Removed unneeded MonoTODOs, restyled according to style guidelines
209         * CompilerParameters.cs: Fixed wrong properties, Added Initializers, restyled according to style guidelines
210         * CompilerResults.cs: Added Evidence property, added initial values
211         * Executor.cs: Added and partially implemented (should probably be used by CodeCompiler)
212         
213         * CompilerOptions.cs: Deleted this file (such a class does not exist)
214         
215 2003-05-16  Dick Porter  <dick@ximian.com>
216
217         * TempFileCollection.cs: Implement
218
219 2003-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
220
221         * CodeGenerator.cs:
222         (GenerateSnippetStatement): use WriteLine instead of Write.
223
224 2003-04-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
225
226         * CodeGenerator.cs:
227         (GenerateCodePrimitive): special case strings and chars (bool was
228         already a special case). Throw an exception if the type is not a
229         primitive type.
230
231 2003-04-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
232
233         * CodeGenerator.cs: more fixes and sorted the output.
234         
235         * IndentedTextWriter.cs: don't output tabs in WriteLine ().
236
237 2003-04-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
238
239         * CodeGenerator.cs:
240         (GenerateCompileUnitStart):
241         (GenerateCompileUnitEnd): removed debug output.
242         (GeneratePrimitiveExpression): handle null and bool as special cases.
243         (GenerateType): added type constructor and constructor calls.
244
245 2003-02-20  Alfonso Ali <isa@infomed.sld.cu>
246
247         * CodeGenerator.cs: Generates the entry point method.
248
249 2003-01-10  Duncan Mak  <duncan@ximian.com>
250
251         * CompilerErrorCollection.cs: 
252         * CompilerParameters.cs: Patch from Sean Kasun
253         <skasun@azstarnet.com> implementing most of the MonoTODOs in
254         CompilerErrorCollection and the CompilerParameters overloads in CompilerParameters.cs.
255
256 2002-11-30 Jackson Harper <jackson@latitudegeo.com>
257
258         * CodeCompiler.cs: Removed TODO attribute from abstract members
259
260 2002-11-30 Jackson Harper <jackson@latitudegeo.com>
261
262         * CodeCompiler.cs: Added stub
263
264 2002-09-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
265
266         * CodeDomProvider.cs:
267         * IndentedTextWriter.cs: misc. fixes.
268
269 2002-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
270
271         * CompilerError.cs: implemented.
272         * CompilerErrorCollection.cs: stubbed out and fix inheritance.
273         * GeneratorSupport.cs: fixed values.
274
275 2002-05-28  Daniel Stodden <stodden@in.tum.de>
276
277         * CodeDomProvider.cs: added, incomplete
278
279         * CodeGeneratorOptions.cs: added, complete
280
281         * CompilerErrorCollection.cs: added, stub
282
283         * CompilerOptions.cs: added, stub
284
285         * CompilerResults.cs: added, complete
286
287         * GeneratorSupport.cs: added, complete
288
289         * ICodeCompiler.cs: added, complete
290
291         * ICodeParser.cs: added, complete
292
293         * IndentedTextWriter.cs: added, complete
294
295         * LanguageOptions.cs: added, complete
296
297         * TempFileCollection.cs: added, stub
298         
299         * ICodeGenerator.cs: added, complete
300
301 2002-01-05  Ravi Pratap  <ravi@ximian.com>
302
303         * CodeGenerator.cs : Mark bits with MonoTODO.
304
305 2001-07-15  Sean MacIsaac  <macisaac@ximian.com>
306
307         * CodeGenerator.cs: moved using statement out of namespace
308         declaration.
309