1 2009-04-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
3 * VBCodeCompiler.cs: better error when there's a problem running the
6 2008-04-30 Gert Driesen <drieseng@users.sourceforge.net>
8 * VBCodeGenerator.cs: Fixed generated code for abstract properties.
10 2008-03-13 Rolf Bjarne Kvinge <RKvinge@novell.com>
12 * VBCodeGenerator.cs: Add quotes around the filename in ExternalSource
15 2008-01-27 Gert Driesen <drieseng@users.sourceforge.net>
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.
21 2008-01-16 Gert Driesen <drieseng@users.sourceforge.net>
23 * VBCodeGenerator.cs: Implement support for type parameters.
25 2007-12-21 Rolf Bjarne Kvinge <RKvinge@novell.com>
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.
31 2007-12-14 Rolf Bjarne Kvinge <RKvinge@novell.com>
33 * VBCodeProvider.cs: Implement constructor added in 2.0SP1.
35 2007-10-30 Rolf Bjarne Kvinge <RKvinge@novell.com>
37 * VBCodeGenerator.cs: Fix array indexer expressions by don't adding a
40 2007-06-22 Rolf Bjarne Kvinge <RKvinge@novell.com>
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.
47 2007-05-21 Rolf Bjarne Kvinge <RKvinge@novell.com>
49 * VBCodeCompiler.cs: Make sure there are spaces between all options in the command line arguments..
51 2007-05-17 Rolf Bjarne Kvinge <RKvinge@novell.com>
53 * VBCodeGenerator.cs: Add support for delegates with parameters, and misc fixes for event handling to match MS.
55 2007-05-17 Rolf Bjarne Kvinge <RKvinge@novell.com>
57 * VBCodeGenerator.cs: Always create escaped identifiers if the
58 identifier matches a keyword.
60 2007-05-08 Rolf Bjarne Kvinge <RKvinge@novell.com>
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.
64 2007-04-27 Rolf Bjarne Kvinge <RKvinge@novell.com>
66 * VBCodeCompiler.cs: In CompileFromFileBatch don't create error messages if compilation succeeded.
68 2007-04-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
70 * VBCodeGenerator.cs: Small fix in GenerateBinaryOperatorExpression to always emit the IdentityInequality comparisons with Nothing in the same order (first object, then Nothing).
72 2007-04-16 Rolf Bjarne Kvinge <RKvinge@novell.com>
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.
76 2007-04-13 Frederik Carlier <frederik.carlier@carlier-online.be>
78 * VBCodeGenerator.cs: Added support for the IdentityInequality operator when comparing against Nothing.
80 2007-03-09 Rolf Bjarne Kvinge <RKvinge@novell.com>
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.
85 2007-02-21 Gert Driesen <drieseng@users.sourceforge.net>
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.
92 2007-02-20 Rolf Bjarne Kvinge <RKvinge@novell.com>
94 * VBCodeCompiler.cs: Replace mbas with vbnc. Don't send '--' to the
95 compiler, since vbnc doesn't support it.
97 2006-04-20 Gert Driesen <drieseng@users.sourceforge.net>
99 * VBCodeGenerator.cs: Empty line and comments should be output after
102 2006-02-14 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
104 use mbas.exe from 1.0 or 2.0, depending on NET_2_0
106 copy options.CompilerOptions to the resulting command line (as pointed by Arnhoffer Károly)
107 use Append instead of AppendFormat when possible
109 2005-12-07 Gert Driesen <drieseng@users.sourceforge.net>
111 * VBCodeCompiler.cs: Set eol-style to native.
112 * VBCodeGenerator.cs: Set eol-style to native.
113 * VBCodeProvider.cs: Set eol-style to native.
116 2005-12-07 Gert Driesen <drieseng@users.sourceforge.net>
118 * VBCodeGenerator.cs: Modified GeneratePrimitiveExpression to match
119 .NET 1.x and 2.0 for char, float, ushort, uint, ulong and sbyte.
121 2005-11-30 Gert Driesen <drieseng@users.sourceforge.net>
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.
130 2005-11-26 Gert Driesen <drieseng@users.sourceforge.net>
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.
140 2005-10-29 Sebastien Pouliot <sebastien@ximian.com>
142 * VBCodeProvider.cs: GenerateCodeFromMember method is an override in
145 2005-10-28 Gert Driesen <drieseng@users.sourceforge.net>
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.
151 2005-10-25 Gert Driesen <drieseng@users.sourceforge.net>
153 * VBCodeGenerator.cs: Do not output name of CodeAttributeArgument if
154 its a zero-length string.
156 2005-10-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
157 * VBCodeGenerator.cs: Generate MyBase.New() with parenthesis as mbas currently chokes without them
159 2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
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).
166 2006-07-30 Gert Driesen <drieseng@users.sourceforge.net>
168 * VBCodeGenerator.cs: Fixed code generated for NewSlot members.
170 2005-07-24 Gert Driesen <drieseng@users.sourceforge.net>
172 * VBCodeGenerator.cs: Fixed generated code for enums, interfaces and
173 delegates to match MS.NET.
175 2005-07-02 Gert Driesen <drieseng@users.sourceforge.net>
177 * VBCodeGenerator.cs: Added support for ReturnTypeCustomAttributes.
179 2005-07-02 Gert Driesen <drieseng@users.sourceforge.net>
181 * VBCodeGenerator.cs: Scope modifiers should not be output for
184 2005-07-02 Gert Driesen <drieseng@users.sourceforge.net>
186 * VBCodeGenerator.cs: Added PrivateImplementationType support for
187 properties, methods and event (2.0 only). Added Overloads support
188 for properties and methods.
190 2005-07-01 Gert Driesen <drieseng@users.sourceforge.net>
192 * VBCodeGenerator.cs: Added ImplementationTypes support for
193 properties and events, and fixed support for methods.
195 2005-06-30 Gert Driesen <drieseng@users.sourceforge.net>
197 * VBCodeGenerator.cs: Mark indexer as default property.
199 2005-06-27 Gert Driesen <drieseng@users.sourceforge.net>
201 * VBCodeGenerator.cs: Added short type names for which support was
202 added in .NET 2.0. Added support for Date.
204 2005-06-26 Gert Driesen <drieseng@users.sourceforge.net>
206 * VBCodeGenerator.cs: Minor fixes for compatibility with MS.NET 2.0.
208 2005-06-26 Gert Driesen <drieseng@users.sourceforge.net>
210 * VBCodeGenerator.cs: Fixed generated code for attributes on ctors.
211 Implemented Base/Chained ctor args.
213 2005-06-26 Gert Driesen <drieseng@users.sourceforge.net>
215 * VBCodeGenerator.cs: Fixed generated code for method, property
216 and parameter level attributes. Fixed code generated for
219 2005-06-25 Gert Driesen <drieseng@users.sourceforge.net>
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.
225 2005-06-25 Gert Driesen <drieseng@users.sourceforge.net>
227 * VBCodeGenerator.cs: Modified generated code for type-level
228 attributes to match MS.NET.
230 2005-06-25 Gert Driesen <drieseng@users.sourceforge.net>
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).
237 2005-06-13 Gert Driesen <drieseng@users.sourceforge.net>
239 * VBCodeCompiler.cs: Temp source files should have extension ".vb".
241 2005-06-09 Gert Driesen <drieseng@users.sourceforge.net>
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.
247 2005-05-29 Gert Driesen <drieseng@users.sourceforge.net>
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.
254 2005-04-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
255 * VBCodeGenerator.cs: Better logic for OptionStrict/Explicit generation
257 2004-12-27 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
258 * VBCodeCompiler.cs: Added /quiet argument to avoid the "Alpha message"
260 2004-08-21 Jochen Wezel <jwezel@compumaster.de>
261 * VBCodeGenerator.cs: Removed some indentation commenting in generated
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
270 2004-06-28 Atsushi Enomoto <atsushi@ximian.com>
272 * VBCodeCompiler.cs : (only for windows) First check mono.bat, then
273 check mono.exe. It enables xsp working with mono windows installer.
275 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
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)
280 2004-06-03 Jochen Wezel <jwezel@compumaster.de>
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)
287 2004-04-26 Jochen Wezel <jwezel@compumaster.de>
289 * VBCodeGenerator.cs: GenerateAttributeDeclarationsEnd: Fix of line break
291 2004-02-10 Jackson Harper <jackson@ximian.com>
293 * VBCodeCompiler.cs: Use the temp files collection for
296 2004-02-05 Jackson Harper <jackson@ximian.com>
298 * VBCodeCompiler.cs: Set file extensions properly.
300 2003-11-27 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
302 * Microsoft.VisualBasic/VBCodeGenerator.cs: Support for Option Strict/Option Explicit
304 2003-11-27 Jackson Harper <jackson@ximian.com>
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.
312 2003-11-27 Jackson Harper <jackson@ximian.com>
314 * VBCodeCompiler.cs: use /wlevel for warning level. This is what
317 2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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).
323 2003-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
325 * Microsoft.VisualBasic/VBCodeGenerator.cs: Sub or Function generation
326 is switched by method.ReturnType being "System.Void"
328 2003-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
330 * Microsoft.VisualBasic/VBCodeCompiler.cs: Inserts "--" before file
332 * Microsoft.VisualBasic/VBCodeGenerator.cs: Indexer should be
335 2003-10-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
337 * Microsoft.VisualBasic/VBCodeCompiler.cs: New.
338 * Microsoft.VisualBasic/VBCodeGenerator.cs:
339 * Microsoft.VisualBasic/VBCodeProvider.cs: modified others to use the
342 New VBCodeCompiler by Jochen Wezel <jwezel@compumaster.de>.
345 2003-07-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
347 * VBCodeProvider.cs: Removed unneccesary attributes according to
350 2003-06-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
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
359 * VBCodeProvider.cs: Added and implemented