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