[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / System / Microsoft.VisualBasic / ChangeLog
1 2009-04-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
2
3         * VBCodeCompiler.cs: better error when there's a problem running the
4         specified exec.
5
6 2008-04-30  Gert Driesen  <drieseng@users.sourceforge.net>
7
8         * VBCodeGenerator.cs: Fixed generated code for abstract properties.
9
10 2008-03-13  Rolf Bjarne Kvinge <RKvinge@novell.com> 
11
12         * VBCodeGenerator.cs: Add quotes around the filename in ExternalSource
13           directives.
14
15 2008-01-27  Gert Driesen  <drieseng@users.sourceforge.net>
16
17         * VBCodeGenerator.cs: In GenerateDelegateInvokeExpression, only emit
18         RaiseEvent statement on 2.0 profile if TargetObject is a
19         CodeEventReferenceExpression. Spaces to tabs and code formatting.
20
21 2008-01-16  Gert Driesen  <drieseng@users.sourceforge.net>
22
23         * VBCodeGenerator.cs: Implement support for type parameters.
24
25 2007-12-21  Rolf Bjarne Kvinge <RKvinge@novell.com> 
26
27         * VBCodeGenerator.cs: Split array of keywords in two, one for 1.1 and one
28           for 2.0. Add some 2.0 specific keywords. When writing a type, escape the
29           name of the type if necessary. Output "Partial" if a type is partial.
30
31 2007-12-14  Rolf Bjarne Kvinge <RKvinge@novell.com>
32
33         * VBCodeProvider.cs: Implement constructor added in 2.0SP1.
34
35 2007-10-30  Rolf Bjarne Kvinge <RKvinge@novell.com> 
36
37         * VBCodeGenerator.cs: Fix array indexer expressions by don't adding a
38           ".Item" to the array.
39
40 2007-06-22  Rolf Bjarne Kvinge <RKvinge@novell.com> 
41
42         * VBCodeCompiler.cs: Throw a descriptive exception if we're trying to
43           compile anything on the 1.0 profile. Correctly parse vbnc error
44           messages (and don't return any messages if there weren't any
45           errors/warnings). Fixes #81872.
46
47 2007-05-21  Rolf Bjarne Kvinge <RKvinge@novell.com> 
48
49         * VBCodeCompiler.cs: Make sure there are spaces between all options in the command line arguments..
50
51 2007-05-17  Rolf Bjarne Kvinge <RKvinge@novell.com> 
52
53         * VBCodeGenerator.cs: Add support for delegates with parameters, and misc fixes for event handling to match MS.
54
55 2007-05-17  Rolf Bjarne Kvinge <RKvinge@novell.com> 
56
57         * VBCodeGenerator.cs: Always create escaped identifiers if the
58           identifier matches a keyword.
59
60 2007-05-08  Rolf Bjarne Kvinge  <RKvinge@novell.com>
61
62         * VBCodeGenerator.cs: Don't add newlines when creating array creations expressions, fix the initial size expression and make sure a there's always {} somewhere.
63
64 2007-04-27  Rolf Bjarne Kvinge  <RKvinge@novell.com>
65
66         * VBCodeCompiler.cs: In CompileFromFileBatch don't create error messages if compilation succeeded.
67
68 2007-04-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>
69
70         * VBCodeGenerator.cs: Small fix in GenerateBinaryOperatorExpression to always emit the IdentityInequality comparisons with Nothing in the same order (first object, then Nothing).
71
72 2007-04-16  Rolf Bjarne Kvinge  <RKvinge@novell.com>
73
74         * VBCodeCompiler.cs: In CreateErrorFromString don't return null if the message couldn't be parsed. Temporary fix for ASP.Net to show more helpful fail messages. In CompileFromFileBatch don't try to load the assembly if the compilation returned a non-zero exit code.
75
76 2007-04-13  Frederik Carlier  <frederik.carlier@carlier-online.be>
77
78         * VBCodeGenerator.cs: Added support for the IdentityInequality operator when comparing against Nothing.
79
80 2007-03-09  Rolf Bjarne Kvinge  <RKvinge@novell.com>
81
82         * VBCodeCompiler.cs: Reference Microsoft.VisualBasic.dll and not Microsoft.VisualBasic (patch by Frederik Carlier). 
83         Don't set /wlevel, vbnc doesn't support it.
84
85 2007-02-21  Gert Driesen  <drieseng@users.sourceforge.net>
86
87         * VBCodeCompiler.cs: Also generate temp filename if OutputAssembly is
88         zero-length string. Fixed bug #80920 for VB.
89         * VBCodeGenerator.cs: To match MS, do not emit empty parentheses when
90         calling base ctor without arguments.
91
92 2007-02-20  Rolf Bjarne Kvinge  <RKvinge@novell.com>
93
94         * VBCodeCompiler.cs: Replace mbas with vbnc. Don't send '--' to the
95         compiler, since vbnc doesn't support it.
96
97 2006-04-20  Gert Driesen  <drieseng@users.sourceforge.net>
98
99         * VBCodeGenerator.cs: Empty line and comments should be output after 
100         namespace imports.
101
102 2006-02-14  Rafael Teixeira <rafaelteixeirabr@hotmail.com> 
103         * VBCodeCompiler.cs: 
104                 use mbas.exe from 1.0 or 2.0, depending on NET_2_0
105                 BuildArgs()
106                         copy options.CompilerOptions to the resulting command line  (as pointed by Arnhoffer Károly)   
107                         use Append instead of AppendFormat when possible
108                         
109 2005-12-07  Gert Driesen  <drieseng@users.sourceforge.net>
110
111         * VBCodeCompiler.cs: Set eol-style to native.
112         * VBCodeGenerator.cs: Set eol-style to native.
113         * VBCodeProvider.cs: Set eol-style to native.
114
115
116 2005-12-07  Gert Driesen  <drieseng@users.sourceforge.net>
117
118         * VBCodeGenerator.cs: Modified GeneratePrimitiveExpression to match
119         .NET 1.x and 2.0 for char, float, ushort, uint, ulong and sbyte.
120
121 2005-11-30  Gert Driesen  <drieseng@users.sourceforge.net>
122
123         * VBCodeGenerator.cs: Fixed NRE in GenerateEventReferenceExpression,
124         and escape event name. Indent statements for iteration. Avoid
125         ArgumentNullException if expression is not set for CodeReturnStatement.
126         Temporary reduce indentation for label, and fixed ArgumentNullException
127         if no statement is set. Cosmetic changes to code generated for 
128         condition to match MS.NET. In OutputTypeNamePair, escape name.
129
130 2005-11-26  Gert Driesen  <drieseng@users.sourceforge.net>
131
132         * VBCodeGenerator.cs: Fixed NullReferenceException if no ToThrow
133         expression is set for CodeThrowExceptionStatement. Fixed
134         GenerateComment to output comment chars for carriage-returns and
135         linefeed characters. Modified code generated for
136         CodeTryCatchFinallyStatement to match MS.NET. Fixed code generated
137         for CodeGotoStatement to match MS.NET. On 2.0 profile, output
138         "__exception" if name is zero-length string in OutputTypeNamePair.
139
140 2005-10-29  Sebastien Pouliot  <sebastien@ximian.com>
141
142         * VBCodeProvider.cs: GenerateCodeFromMember method is an override in 
143         2.0 final.
144
145 2005-10-28  Gert Driesen <drieseng@users.sourceforge.net>
146
147         * VBCodeGenerator.cs: Use fixed signature for entrypoint method.
148         Only output attributes on 2.0 profile. Replace + with dot in type 
149         name (for nested types). Fixes bug #76580.
150
151 2005-10-25  Gert Driesen <drieseng@users.sourceforge.net>
152
153         * VBCodeGenerator.cs: Do not output name of CodeAttributeArgument if
154         its a zero-length string.
155
156 2005-10-19  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
157         * VBCodeGenerator.cs: Generate MyBase.New() with parenthesis as mbas currently chokes without them 
158         
159 2005-10-17  Sebastien Pouliot  <sebastien@ximian.com>
160
161         * VBCodeProvider.cs: Added a LinkDemand and an InheritanceDemand
162         for FullTrust (i.e. Unrestricted permission set) at the class level.
163         Added [Obsolete] on CreateCompiler and CreateGenerator methods (2.0).
164         Stubbed new method GenerateCodeFromMember (2.0).
165
166 2006-07-30  Gert Driesen <drieseng@users.sourceforge.net>
167
168         * VBCodeGenerator.cs: Fixed code generated for NewSlot members.
169
170 2005-07-24  Gert Driesen <drieseng@users.sourceforge.net>
171
172         * VBCodeGenerator.cs: Fixed generated code for enums, interfaces and
173         delegates to match MS.NET.
174
175 2005-07-02  Gert Driesen <drieseng@users.sourceforge.net>
176
177         * VBCodeGenerator.cs: Added support for ReturnTypeCustomAttributes.
178
179 2005-07-02  Gert Driesen <drieseng@users.sourceforge.net>
180
181         * VBCodeGenerator.cs: Scope modifiers should not be output for
182         events.
183
184 2005-07-02  Gert Driesen <drieseng@users.sourceforge.net>
185
186         * VBCodeGenerator.cs: Added PrivateImplementationType support for
187         properties, methods and event (2.0 only). Added Overloads support
188         for properties and methods.
189
190 2005-07-01  Gert Driesen <drieseng@users.sourceforge.net>
191
192         * VBCodeGenerator.cs: Added ImplementationTypes support for
193         properties and events, and fixed support for methods.
194
195 2005-06-30  Gert Driesen <drieseng@users.sourceforge.net>
196
197         * VBCodeGenerator.cs: Mark indexer as default property.
198
199 2005-06-27  Gert Driesen <drieseng@users.sourceforge.net>
200
201         * VBCodeGenerator.cs: Added short type names for which support was
202         added in .NET 2.0. Added support for Date. 
203
204 2005-06-26  Gert Driesen <drieseng@users.sourceforge.net>
205
206         * VBCodeGenerator.cs: Minor fixes for compatibility with MS.NET 2.0.
207
208 2005-06-26  Gert Driesen <drieseng@users.sourceforge.net>
209
210         * VBCodeGenerator.cs: Fixed generated code for attributes on ctors.
211         Implemented Base/Chained ctor args.
212
213 2005-06-26  Gert Driesen <drieseng@users.sourceforge.net>
214
215         * VBCodeGenerator.cs: Fixed generated code for method, property
216         and parameter level attributes. Fixed code generated for
217         FieldDirection.
218
219 2005-06-25  Gert Driesen <drieseng@users.sourceforge.net>
220
221         * VBCodeGenerator.cs: Removed type shortcuts that are not valid for
222         VB.NET. Fixed generated code for event and field level attributes.
223         Don't output Overridable for events. 
224
225 2005-06-25  Gert Driesen <drieseng@users.sourceforge.net>
226
227         * VBCodeGenerator.cs: Modified generated code for type-level
228         attributes to match MS.NET.
229
230 2005-06-25  Gert Driesen <drieseng@users.sourceforge.net>
231
232         * VBCodeGenerator.cs: No longer implictly add import for 
233         Microsoft.VisualBasic namespace to match MS.NET. Several fixes
234         in order to have generated code match that generated by MS
235         (backed by unit tests).
236
237 2005-06-13  Gert Driesen <drieseng@users.sourceforge.net>
238
239         * VBCodeCompiler.cs: Temp source files should have extension ".vb".
240
241 2005-06-09  Gert Driesen <drieseng@users.sourceforge.net>
242
243         * VBCodeCompiler.cs: ArgumentException was thrown when more than 
244         one file/source or CodeCompileUnit is built, temporary files were
245         not cleaned up. Fixes bug #75191.
246
247 2005-05-29  Gert Driesen <drieseng@users.sourceforge.net>
248
249         * VBCodeCompiler.cs: Load compiled assembly from byte array if
250         GenerateInMemory compiler parameter is set, set PathToAssembly
251         if compilation succeeded and GenerateInMemory is false.
252         Fixes bug #74959.
253
254 2005-04-20  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
255         * VBCodeGenerator.cs: Better logic for OptionStrict/Explicit generation
256
257 2004-12-27  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
258         * VBCodeCompiler.cs: Added /quiet argument to avoid the "Alpha message"
259         
260 2004-08-21  Jochen Wezel <jwezel@compumaster.de>
261         * VBCodeGenerator.cs: Removed some indentation commenting in generated
262           source code
263
264 2004-08-09  Jambunathan K  <kjambunathan@novell.com>
265         * VBCodeCompiler.cs: Regex pattern in CreateErrorFromString() now
266           reads (?<level>error|warning) instead of (?<level>\w*). This is
267           so that mbas's ALPHA message doesn't get captured as a error
268           string.
269
270 2004-06-28  Atsushi Enomoto  <atsushi@ximian.com>
271
272         * VBCodeCompiler.cs : (only for windows) First check mono.bat, then
273           check mono.exe. It enables xsp working with mono windows installer.
274
275 2004-06-24  Atsushi Enomoto <atsushi@ximian.com>
276
277         * VBCodeCompiler.cs : On windows we use fixed mono.exe and mbas.exe
278           located by mscorlib.dll. (The same fix as that of CSharpCodeCompiler)
279
280 2004-06-03  Jochen Wezel <jwezel@compumaster.de>
281
282         * VBCodeGenerator.cs: MemberAttributes made more compatible to MS
283         style (e. g. NotOverridable), Properties ReadOnly/WriteOnly fixed,
284         Property Set fixed, successless analysis of wrong indentation of last 
285         line which contains "End Namespace" (should be on the very left)
286
287 2004-04-26  Jochen Wezel <jwezel@compumaster.de>
288
289         * VBCodeGenerator.cs: GenerateAttributeDeclarationsEnd: Fix of line break
290
291 2004-02-10  Jackson Harper <jackson@ximian.com>
292
293         * VBCodeCompiler.cs: Use the temp files collection for
294         creating temp files.
295         
296 2004-02-05  Jackson Harper <jackson@ximian.com>
297
298         * VBCodeCompiler.cs: Set file extensions properly.
299         
300 2003-11-27  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
301
302         * Microsoft.VisualBasic/VBCodeGenerator.cs: Support for Option Strict/Option Explicit
303         
304 2003-11-27  Jackson Harper <jackson@ximian.com>
305
306         * VBCodeCompiler.cs: Put a space between Property and the
307         properties name. Only add a closing quote to strings if we are
308         still in a quote. Use BaseType == "System.Void" to determine if a
309         method is void. This prevents getting As Nothing functions. Many
310         thanks to Anirban for helping me with VB Syntax.
311         
312 2003-11-27  Jackson Harper <jackson@ximian.com>
313
314         * VBCodeCompiler.cs: use /wlevel for warning level. This is what
315         mbas uses.
316         
317 2003-11-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
318
319         * VBCodeGenerator.cs: some corrections regarding missing spaces in
320         generated code (e. g. "Property "). QuoteSnippetString implemented.
321         Patch by Jochen Wezel (jwezel@compumaster.de).
322
323 2003-10-17  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
324
325         * Microsoft.VisualBasic/VBCodeGenerator.cs: Sub or Function generation
326         is switched by method.ReturnType being "System.Void"
327
328 2003-10-17  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
329
330         * Microsoft.VisualBasic/VBCodeCompiler.cs: Inserts "--" before file
331         names block
332         * Microsoft.VisualBasic/VBCodeGenerator.cs: Indexer should be
333         ".Item(xx)"
334
335 2003-10-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
336
337         * Microsoft.VisualBasic/VBCodeCompiler.cs: New.
338         * Microsoft.VisualBasic/VBCodeGenerator.cs:
339         * Microsoft.VisualBasic/VBCodeProvider.cs: modified others to use the
340         new CodeCompiler.
341
342         New VBCodeCompiler by Jochen Wezel <jwezel@compumaster.de>.
343
344
345 2003-07-07  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
346
347         * VBCodeProvider.cs: Removed unneccesary attributes according to
348         corecompare
349
350 2003-06-25  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
351
352         * VBCodeGenerator.cs: Added and nearly completely implemented
353                 (it compiles, but the functionallity is completely untested)
354                 (also without a working mbas the compilaton options will fail)
355                 (once all command line arguments for mbas are final and the
356                 warning output is final change the apropriate code to generate
357                 these options)
358
359         * VBCodeProvider.cs: Added and implemented