1 2005-12-21 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
2 * ecore.cs, cfold.cs: Changed for reflecting correct Error Number/Message with
3 Implict Convertions when Option Strict is On.
5 2005-12-07 Jelmer Vernooij <jelmer@samba.org>
6 * Makefile: allow build of only mbas, without the need to built the
9 2005-11-29 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
10 * test-mbas.pl: Parsing Test Files in order to find necessary
11 compilerOptions and generate the correct CompileCommand.
13 2005-11-28 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
14 * decl.cs: Avoid to stop searching for class members after encountering
15 the first member, in order to find the inherited or overloaded members.
17 2005-11-28 Jelmer Vernooij <jelmer@samba.org>
18 * Fix to Bugzilla Bug #76476: bash-specific code in
19 mbas/Test/misc/Makefile
21 2005-11-20 Jelmer Vernooij <jelmer@samba.org>
22 * genericparser.cs,decl.cs,class.cs: allow members with the same name
23 as their enclosing type, just like vbc does
25 2005-11-19 Jelmer Vernooij <jelmer@samba.org>
26 * mb-parser.jay: fix error handling when array modifiers are specified
27 on both type and variable name
29 2005-11-18 Jelmer Vernooij <jelmer@samba.org>
30 * mb-tokenizer.cs: add fix so the tokenizer no longer parses label
31 names at the start of continuation lines
33 2005-11-16 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
34 * mb-parser.jay: Do not create a set_block with ReadOnly Properties.
35 * typemanager.cs: Search for correct DefaultPropName and the class
36 Type that contains the Default Property.
37 * expression.cs: Send the correct Type for porperties search;
38 Fix Error with uses of default properties without a Default Property
41 2005-11-09 Renato Suga <renato.suga@gmail.com>
42 * mb-parser.jay: added STOP to statement rule to allow a keyword STOP
43 in an iteration_statement.
45 2005-11-07 Renato Suga <renato.suga@gmail.com>
46 * Expression.cs: commented this line:
47 // SimpleName.Error_ObjectRefRequired (ec, loc, me.Name);
50 2005-11-05 Kornél Pál <kornelpal@hotmail.com>
52 * AssemblyInfo.cs: Use Consts.MonoVersion as AssemblyVersion.
53 * mbas.exe.sources: Added Consts.cs.
55 2005-11-02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
56 * typemanager.cs: avoiding some Null Pointer Exceptions in GetPertinentStandardModules
58 2005-11-01 Aldo Monteiro do Nascimento <aldo@psl-pr.softwarelivre.org>
59 * mb-parser.jay: created a new parser rule to match a interface
60 declared inside another interface: "opt_interface_declaration"
61 * mb-parser.jay: when redeclare compiler constants no compilation
62 error is raised, and than the redeclaring works as expected.
64 2005-10-31 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
65 * ecore.cs: Fix UnboxCast Emit calling Activator.CreateInstance when
68 2005-10-29 Renato Suga<renato@psl-pr.softwarelivre.org>
69 * codegen.cs: Added static global ArrayList ArrListVersion to keep the
70 assembly's version numbers. reating a new Version(string str) is not
71 working. The Init() method was modified to correctly set the version value;
72 * attribute.cs: one of its constructor was modified to pass the string
73 version to CodeGen.ArrListVersion so that at Init () CodeGen sets the
76 2005-10-19 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
77 * class.cs: Casting TypeContainer to Interface in order to call the
78 correct overload of RootContext.RegisterOrder.
80 2005-10-12 Renato Suga <renato@psl-pr.softwarelivre.org>
81 * mb-parser.jay: foreach_statement now emits the correct error code for
82 test ForEachC1.vb, which is an error test
84 2005-10-11 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
86 * block.cs, statements.cs, mb-parser.jay: Support for On Error Goto 0,
87 On Error Goto -1 and On Error Goto <Label>
89 2005-10-07 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
90 Alexandre Rocha Lima e Marcondes <alexandre@psl-pr.softwarelivre.org>
91 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
93 * block.cs, statements.cs, expression.cs: Fix ForEach when iterating fields
95 2005-10-05 Aldo Monteiro <aldo@psl-pr.softwarelivre.org>
97 * ecore.cs : Created a public property (Id) to access externally the field
98 id in DecoratedIdentifier class
99 * assign.cs : Before get the expression for construct 'Mid' statement
100 testing if that expression is 'DecoratedIdentifier', and, if it is,
101 getting the expression assigned in its 'id' field.
103 2005-09-26 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
104 Alexandre Rocha Lima e Marcondes <alexandre@psl-pr.softwarelivre.org>
105 * mb-parser.jay: Fix ForEach when using fields as the variable used
106 to iterate through the elements.
107 * expression.cs: Created new LocalVariableReference EmitAssign used in
108 for each with non Static fields.
109 * statement.cs: Created new attribute of VariableInfo - FieldAlias wich
110 references a FieldBase indicated by the alias.
111 Added a field assign treatment if the foreach variable references
112 a non static field, in EmitCollectionForeach and EmitArrayForeach.
113 * mb-parser.jay, block.cs, statement.cs, expression.cs: Remove Bool Static
114 Attribute from VariableInfo class.
116 2005-09-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
117 * mb-parser.jay: Throws error for Option Strict on with Propeties
118 whitout an 'As' clause or a type character. Fix Interfaces errors with
121 2005-09-16 Renato Suga <renato@psl-pr.softwarelivre.org>
122 * mb-parser.jay:rules goto_statement and for_statement changed in order
123 to recognize error BC30757
124 * statement.cs: class added property LabelName and uncomented string
125 label_name. These changes allow one to get the LabelName when reporting
127 * block.cs: added property bool HasGotoStatement and property String
128 LabelName. The first one combined with HasLabeledStatement allows one to
129 identify the aforementioned error.
131 2005-09-15 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
132 Alexandre Rocha Lima e Marcondes
133 <alexandre@psl-pr.softwarelivre.org>
134 * mb-parser.jay : Error statement statemet support.
136 2005-08-23 Satya Sudha K <ksathyasudha@novell.com>
138 StatementSequence : Avoid Resolving multiple times
140 Minor fix to 'Constantify' method
142 2005-08-22 Satya Sudha K <ksathyasudha@novell.com>
144 Invocation's DoResolve method : Avoid resolving multiple times.
146 'GetPertinentStandardModules' : Case-insensitive name lookup
148 2005-08-19 Satya Sudha K <ksathyasudha@novell.com>
150 Preventing conversion of an 'object' to 't[]' where the latter is a
154 Fixed handling of 'Return' and 'Exit' statements from within
157 2005-08-09 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
158 * mb-parser.jay: Define as used the function's return variable,
159 because of bug #75747.
160 Fix Event errors with Shared modifiers.
162 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
164 * expression.cs: Initialize FieldBase variable. Fixes build using csc
165 because of bug #75721.
167 2005-08-05 Satya Sudha K <ksathyasudha@novell.com>
169 'ConstructArgumentList': Converting the default value to the param type before
170 appending to the arg list
172 2005-08-04:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
174 Oops, line number on Redim errors as Aldo/Renato intended
175 Better logic flow when redim errors occur to avoid exceptions later
177 2005-08-04 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
178 * statement.cs: Refactored code/fields from Redim to RedimClause
179 so that it works for multiple arrays being redimensioned in the same statement
180 * mb-parser.jay: redim_clauses rule was losing additional items
182 2005-08-04 Aldo Monteiro <aldo@psl-pr.softwarelivre.org>,
183 Renato Suga <renato@psl-pr.softwarelivre.org>
184 * mb-parser.jay: treatment of opt_type_spec in redim_clause
185 * statement.cs: changed constructor in class RedimClause so that it gets
186 an Expression. Report.Error now emits the line number too for ReDim
187 errors. New attribute in RedimClause: Expression ExprAs
189 2005-08-04 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
190 * mb-parser.jay: Fix local static variables initialization
192 2005-07-29 Satya Sudha K <ksathyasudha@novell.com>
193 * mb-parser.jay, expression.cs: Fixed concat operation with compound assign statements
194 * support.cs : Returning 'NullLiteral.Null', when a parameter default value is null
196 2005-07-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com> and Alexandre
197 Rocha Lima e Marcondes <alexandre@psl-pr.softwarelivre.org>
198 * block.cs: Local variable alias and static flag support and
199 MethodBlock class that knows the name of the Method that owns it
200 * class.cs: Static local specialname modificator emission
201 * expression.cs: Hidden static field access using the static local
203 * statement.cs: Local variable alias support and Static local flag
204 * mb-parser.jay: Static local identification and related erros
207 2005-07-26 Ankit Jain <jankit@novell.com>
209 * typemanager.cs (TypeManager): Change types of system_*_expr from Expression
211 (TypeToCoreTypExpr): New.
212 * ecore.cs (DecoratedIdentifier): New. For an identifier with a typecharacter.
213 * mb-tokenizer.cs: Allow type characters for numbers.
214 * constant.cs (IntConstant.ConvertToDecimal): New.
215 (DoubleConstant.ConvertToFloat): Return FloatConstant.
216 (DoubleConstant.ConvertToDecimal): New.
217 * mb-parser.jay (type_character): Return Type instead of TypeExpr.
218 (primary_expression): Add 'literal type_character' variant.
219 (qualified_identifier) : Use DecoratedIdentifier in case of a typecharacter.
220 (ConvertLiteral): New. Convert literal to a different type.
222 2005-07-25 Ankit Jain <jankit@novell.com>
224 * mb-parser.jay: RaiseEvent: Add code to check for null event.
226 2005-07-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
227 * block.cs: Fix dead code detection
229 2005-07-22 Satya Sudha K <ksathyasudha@novell.com>
230 * mb-tokenizer.cs: Fix for statements ending with ':'
232 2005-07-22 Manjula GHM <mmanjula@novell.com>
233 *mb-parser.jay: Check for type before resolving
235 2005-07-22 Ankit Jain <jankit@novell.com>
237 * mb-parser.jay: evt_handler_list: New.
238 opt_evt_handler, sub_declaration: Support multiple event handlers.
240 2005-07-21 Manjula GHM <mmanjula@novell.com>
241 *assign.cs: Support conversions in "new" assignment statement
243 2005-07-21 Satya Sudha K <ksathyasudha@novell.com>
244 * Support method invocation without '()'
246 2005-07-21 Manjula GHM <mmanjula@novell.com>
247 *assign.cs: Support conversions in "new" assignment statement
249 2005-07-21 Manjula GHM <mmanjula@novell.com>
250 * mb-parser.jay: Support type specifier for "ReDim" statements
252 2005-07-18 Satya Sudha K <ksathyasudha@novell.com>
253 * Supported overloading of properties (has to be tested thoroughly)
255 2005-07-13 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
257 * block.cs: Support and successfully find goto target labels
258 declared out of block that contains the goto statement.
260 2005-07-13 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
261 *statement.cs: extract class Block into new source block.cs
262 *mbas.exe.sources: added newly extracted block.cs
263 *block.cs: eliminated "block.cs(252) warning CS0219: The variable 'cur'
264 is assigned but its value is never used"
266 2005-07-12 Manjula GHM <mmanjula@novell.com>
267 * parameter.cs , ecore.cs : Changed error number and message according to .NET
269 2005-07-12 Manjula GHM <mmanjula@novell.com>
270 * cfold.cs: Support 'Nothing' for Constants.
273 2005-07-07 Manjula GHM <mmanjula@novell.com>
274 * mb-parser.jay: To avoid Array modifiers specified on both a variable and its type
276 2005-07-06 Umadevi S <sumadevi@novell.com>
277 * statement.cs - suppressing warnings due to unused variables in mbas compiler.
279 2005-07-05 Umadevi S <sumadevi@novell.com>
280 * expression.cs - added support to handle DBNull
282 2005-06-30:5 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
283 *ecore.cs: some tentative code preparing to support automatic definition of variables
284 on first usage with Option Explicit Off commented out as it breaks on emit phase, and
285 guesses wrong what should be automatically defined
287 2005-06-30:4 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
288 *statement.cs: some tentative code preparing to support automatic definition of variables
289 on first usage with Option Explicit Off. Converting backticks to apostrophes on messages
291 2005-06-30:3 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
292 *mb-parser.jay: small bits preparing to support automatic definition of variables
293 on first usage with Option Explicit Off
295 2005-06-30:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
296 *assign.cs: Killed exception occurring when resolving an assignment
297 to an undefined symbol (Explicit On scenario)
299 2005-06-30 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
300 *mb-parser.jay: Eliminating 'reduce/reduce conflicts' and 'rule never reduced'
301 by simplifying the directive_expression rule (formerly directive_exp).
303 2005-06-30 Manjula GHM <mmanjula@novell.com>
304 *mb-parser.jay: To support signed exponent
306 2005-06-30 Manjula GHM <mmanjula@novell.com>
307 *mb-tokenizer.c : Support hexadecimal literals - supports binary value
308 of the integer literal - like &H8000S is "-32768" and not an overflow exception
310 2005-06-28 Manjula GHM <mmanjula@novell.com>
311 *class.cs : Support suitable property to override
313 2005-06-27 Manjula GHM <mmanjula@novell.com>
315 *statement.cs: Support and successfully find label definition inside child block
317 2005-06-23 Manjula GHM <mmanjula@novell.com>
318 *mb-parser.jay: Clear the hashtable in end of block
320 2005-06-23 Manjula GHM <mmanjula@novell.com>
321 *mb-parser.jay: To disallow reassignment of object inside 'With...End With' block
323 2005-06-13 Manjula GHM <mmanjula@novell.com>
324 *statement.cs: To handle Goto in Try, Catch block
326 2005-06-10 Manjula GHM <mmanjula@novell.com>
327 *assign: To Support other types of source in Mid statement
329 2005-06-10 Manjula GHM <mmanjula@novell.com>
330 *assign: To Support Optional Max. Insert length value in Mid statement
332 2005-06-10 Manjula GHM <mmanjula@novell.com>
333 *assign.cs: Allow New Date assignment to other types
335 2005-06-08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
337 - Added informational attributes that Mono.GetOptions shows in the help screen.
338 - Bumped up the version number a bit
340 2005-06-07 Satya Sudha K <ksathyasudha@novell.com>
341 * class.cs : Disallowing default properties without parameters.
342 * Some cleanups in other files to get rid of warnings.
344 2005-06-03 Satya Sudha K <ksathyasudha@novell.com>
345 * expression.cs : Allowing '()' for property invocation with no args.
347 - Caching a property's arguments (as 'NoTypes') while registering a property
348 - If a name resolves to a field as well as a property, treat it as a field
349 - If a name resolves to a field as well as a event, giving preference to event
350 * parameters.cs : Case-insensitive search/comparison of parameter/arg names
352 2005-05-30 Satya Sudha K <ksathyasudha@novell.com>
353 * statement.cs : 'For Each' statement : Wrapping the body of the For loop inside an exception block
354 if the enumerator implements 'IDisposable' interface
356 2005-05-27 Satya Sudha K <ksathyasudha@novell.com>
359 - Supporting all kinds of case clauses (like 'A To B', 'Is >= 30')
360 - Expressions of all primitive types can now be specified as 'Select'
361 and 'Case' expressions
363 2005-05-27 Manjula GHM <mmanjula@novell.com>
364 * mb-parser.jay : To support "Sub New()" without modifier
366 2005-05-26 Manjula GHM <mmanjula@novell.com>
367 * typemanager.cs : Fix Enum conversion for two level assignment and added few more cases
369 2005-05-26 Manjula GHM <mmanjula@novell.com>
370 * statement.cs : Fix problem w.r.t 'Exit Sub'
372 2005-05-24 Satya Sudha K <ksathyasudha@novell.com>
373 * statement.cs : Added few more members like 'memberName' and 'type_expr' to the 'StatementSequence'
374 class. Added an appropriate constructor for the same.
375 * expression.cs: Late binding for method invocations involving object arguments
378 2005-05-23 Satya Sudha K <ksathyasudha@novell.com>
379 * statement.cs : Copying back the arguments (matching 'ByRef' parameters) in the reverse
380 order (starting with the last argument backwards) as done by vbc
382 2005-05-23 Satya Sudha K <ksathyasudha@novell.com>
383 * statement.cs : Support named arguments in late binding
385 2005-05-17 Satya Sudha K <ksathyasudha@novell.com>
386 * ecore.cs : Removed char <-> numeric/date conversions as they are not supported in vbc
388 2005-05-17 Satya Sudha K <ksathyasudha@novell.com>
390 - Disallowing named arguments for 'ParamArray' parameters
391 - Creating named arguments (to replace missing arguments), in case other arguments are also named
393 2005-05-16 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
394 * driver.cs : correcting/refactoring EntryPoint fixing as per #74955
395 adjusting references changed by Gonzalo to their new containing namespace.
396 small renaming refactorings to make things clearer.
397 * CompilerOptions.cs : refactored out all things that now live in
398 Mono.GetOptions.Useful.CommonCompilerOptions
400 2005-05-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
402 * driver.cs: fix ambiguous reference.
404 2005-05-16 Manjula GHM <mmanjula@novell.com>
405 * literal.cs: Declare NullType
406 * typemanager.cs: Invoke proper Decimal constructor
407 * ecore.cs : Support Decimal type in literalized version
411 Support Decimal constant declaration and retrieval of Decimal structure
414 2005-05-16 Satya Sudha K <ksathyasudha@novell.com>
415 * parameter.cs : Converting the default value (for optional param) to param type.
416 * ecore.cs : Fixed string <-> char constant conversions.
420 Support for named arguments
422 2005-05-12:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
423 * driver.cs : mcs having C# 2.0 features makes me slip some simplified delegate creation
424 code, that breaks with csc in Windows (as pointed by Atsushi)
425 * CompilerOptions.cs : moved some delegate definitions outside the class for shorter name when using.
427 2005-05-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
428 * driver.cs : slimmed down, most non-specific code moved to new class/source CompilerOptions.
429 Also steps where individualized and put on a array of delegates for sequencial execution
430 with stop-on-first-blunder behavior. It is similar to the configurable pipeline of the
432 * CompilerOptions.cs: added, refactored from inside driver.cs (some code/properties will migrate
433 further to Mono.GetOptions.Usefull.CommonCompilerOptions)
434 * mbas.exe.sources: added CompilerOptions.cs
436 2005-05-11 Ankit Jain <ankit@corewars.org>
438 * expression.cs (Invocation.CheckParameterAgainstArgument): Return ConversionType.Widening
439 for a NoArg argument. Fix earlier patch.
441 2005-05-11 Ankit Jain <ankit@corewars.org>
443 * expression.cs (Invocation.CheckParameterAgainstArgument): Return ConversionType.Narrowing
444 for a NoArg argument.
445 (Invocation.IsApplicable): Don't create a REF type argument if it is NoArg.
446 (Invocation.ConstructArgumentList): Create argument with its DefaultValue for a NoArg.
448 2005-05-10 Satya Sudha K <ksathyasudha@novell.com>
449 * statement.cs, expression.cs, assign.cs :
450 Patch to allow latebinding expressions to be specified as ByRef arguments
452 2005-05-10 Raja R Harinath <rharinath@novell.com>
454 * driver.cs (InitializeRootContextAndOthersFromOptions):
455 Overwrite RootContext.RootNamespace only if there's a value.
457 2005-05-09 Satya Sudha K <ksathyasudha@novell.com>
458 * parameter.cs : Support 'Optional ByRef' parameters
459 * statement.cs : Using 'System.Reflection.Missing.Value' in case of missing argument for
462 2005-05-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
463 * driver.cs : Oops, correcting some find-and-replace mishaps
465 2005-05-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
466 * driver.cs : Refactored to use Mono.GetOptions.Useful.CommonCompilerOptions
468 2005-05-05 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
469 * mb-parser.jay : Correction to allow optional type caracters in some situations.
470 Now 6 more tests under mbas/Test/tests/types compile and 3 more compile and run.
471 Patch contributed by Brazilian MonoBASIC Team:
472 Aldo Monteiro do Nascimento <aldomonteiro@gmail.com>
473 Alessandro de Oliveira Binhara <binhara@psl-pr.softwarelivre.org>
474 Alexandre Rocha Lima e Marcondes <alexandre.marcondes@psl-pr.softwarelivre.org>
475 Ramiro Batista da Luz <ramiroluz@gmail.com>
476 Renato Suga <renatos@techresult.com.br>
478 2005-05-05 Satya Sudha K <ksathyasudha@novell.com>
481 Changed the 'For' class to :
482 - Handle negative step values
483 - Supporting all types (numeric/object) of loop control variables
485 * expression.cs : Removed some unused methods
486 * ecore.cs : Added float/double -> decimal conversion to NarrowingConversion
488 2005-05-02 Manjula GHM <mmanjula@novell.com>
489 * expression.cs : Support Reference Parameter - when argument and parameter are different.
491 2005-04-29 Satya Sudha K <ksathyasudha@novell.com>
497 Support for 'LateSet', 'LateIndexGet', 'LateIndexSet'
500 Minor fixes in conversions
502 2005-04-26 Manjula GHM <mmanjula@novell.com>
504 "out" is not supported as Parameter Modifier in VB.NET
506 2005-04-26 Manjula GHM <mmanjula@novell.com>
512 "out" is not supported as Parameter Modifier in VB.NET
513 2005-04-21 Satya Sudha K <ksathyasudha@novell.com>
515 Fixed object to bool/float/double conversions
516 Fixed numeric <--> Enum conversions
520 (Initial) Support for 'LateGet'
522 2005-04-18 Manjula GHM <mmanjula@novell.com>
524 Support expressions for Directives
525 2005-04-19 Satya Sudha K <ksathyasudha@novell.com>
527 Fixed conversions from 'object' to double, float, decimal and long
529 2005-04-18 Manjula GHM <mmanjula@novell.com>
531 Support Conditional Constant Directives
533 2005-04-13 Manjula GHM <mmanjula@novell.com>
534 * expression.cs : To support 'Or' argument of AttributeTargets in AttributeUsage
535 2005-04-12 Satya Sudha K <ksathyasudha@novell.com>
537 Introduced a class 'StatementSequence', to translate a late-binding call to a block of statements
539 Support for late binding (Not complete yet. Some basic method invocations work as of now)
541 2005-04-06 Ritvik Mayank <mritvik@novell.com>
542 by Sudharsan V <vsudharsan@novell.com>
543 * class.cs: correction for reflecting the correct Line No. in the Error message
544 2005-04-05 Ritvik Mayank <mritvik@novell.com>
545 Patch Submitted by Sudharsan V <vsudharsan@novell.com>
546 * mb-parser.jay : correction for reflecting the correct Line No. in the Error message
548 2005-03-31 Manjula GHM <mmanjula@novell.com>
549 *mb-tokenizer.cs:To fix make test failure
550 2005-03-31 Manjula GHM <mmanjula@novell.com>
551 *mb-tokenizer.cs: Support declaration of decimal numbers with no digits before point like '.52' instead of '0.52'
553 2005-03-29 Manjula GHM <mmanjula@novell.com>
554 *assign.cs: Disallow New Date assignment with types other than date and object type
556 2005-03-25:3 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
557 * AssemblyInfo.cs: Small increment in the version number to publicize --codepage support
559 2005-03-25:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
560 * genericparser.cs: another static Parse overload to support specifying encoding when parsing from a file.
561 * driver.cs: obsoletes --tokenize, record currentEncoding for each source-file to be processed, call the new Parse overload
562 Implement support for a --codepage option similar to mcs. Example:
563 mono mbas.exe --codepage:1252 WindowsANSI.vb --codepage:utf8 UTF8.vb --codepage:reset currentcharset.vb
565 2005-03-25:1 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
566 * genericparser.cs: another Parse overload to support specifying encoding when parsing from a file.
567 Preparing to implement support for a /codepage option similar to mcs
569 2005-03-24 Manjula GHM <mmanjula@novell.com>
570 * mb-tokenizer.cs: To fix parser error for ExternalSource Directives
572 2005-03-24 Satya Sudha K <ksathyasudha@novell.com>
574 - Support for Dictionary Member Access Expressions
575 - Exponentiation operator in compound assignments
576 * expression.cs : Merged 'Exponentiation' class with 'Binary' class
577 * cfold.cs : Fixed constant division (both '\' and '/')
579 2005-03-24 Manjula GHM <mmanjula@novell.com>
580 * mb-parser.jay,mb-tokenizer.cs: Support 'End Statement' in parser and tokenizer file
582 2005-03-24 Manjula GHM <mmanjula@novell.com>
583 Sudharsan V <vsudharsan@novell.com>
584 * mb-parser.jay,mb-tokenizer.cs:
585 Revamped end of block logic
587 2005-03-24 Manjula GHM <mmanjula@novell.com>
588 * statement.cs: Fix bug in 'Exit Function'
590 2005-03-23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
591 * AssemblyInfo.cs: Some more diligent authors
592 * ecore.cs, cfold.cs, delegate.cs: remove warnings-causing code
594 2005-03-22 Satya Sudha K <ksathyasudha@novell.com>
597 Fix for 'MyClass' instance expressions
599 2005-03-22 Satya Sudha K <ksathyasudha@novell.com>
600 Sudharsan V <vsudharsan@novell.com>
602 Removed some conflicts in the grammar
604 2005-03-21 Manjula GHM <mmanjula@novell.com>
605 * statement.cs: Implementation of 'End' Statement which terminates execution immediately
607 2005-03-18 Satya Sudha K <ksathyasudha@novell.com>
611 Supported 'Like' operator
613 2005-03-18 Manjula GHM <mmanjula@novell.com>
614 Sudharsan V <vsudharsan@novell.com>
616 Some more fixes related to displaying correct line number
618 2005-03-17 Manjula GHM <mmanjula@novell.com>
619 *ecore.cs : rounding the double values before converting to Integer types
621 2005-03-17 Manjula GHM <mmanjula@novell.com>
622 *ecore.cs : Support Double in case statement and do necessary conversion to Int Literal
624 2005-03-16 Manjula GHM <mmanjula@novell.com>
626 Support 'expression TO expression' case clause for select statement
628 2005-03-15 Satya Sudha K <ksathyasudha@novell.com>
631 Supported '\' (int division) operator
633 2005-03-11 Manjula GHM <mmanjula@novell.com>
634 Sudharsan V <vsudharsan@novell.com>
636 Fixes related to displaying correct line number,error message and handle End of blocks
638 2005-03-11 Satya Sudha K <ksathyasudha@novell.com>
640 Support for 'Nothing' with all operators.
641 A few fixes to the 'DoNumericPromotions' method
643 Fixed Boolean constant conversions
644 Supported conversion of 'nothing' to value types
646 2005-03-10 Manjula GHM <mmanjula@novell.com>
648 Support 'Is' for all reference types
650 2005-03-10 Satya Sudha K <sathyasudha@novell.com>
653 Support for 'AndAlso' and 'OrElse' operator
655 2005-03-09 Manjula GHM <mmanjula@novell.com>
658 Support 'Is' Expression
660 2005-03-08 Satya Sudha K <ksathyasudha@novell.com>
661 * ecore.cs : Included Decimal -> Single/double conversions in 'WideningConversionExists' method
662 * expression.cs : Fixed the behaviour of some Unary operators
663 Allowing Exponentiation on object types
665 2005-03-08 Manjula GHM <mmanjula@novell.com>
666 *assign.cs : Bug fix - new Object creation and object assignment
668 2005-03-07 Satya Sudha K <ksathyasudha@novell.com>
669 * mb-parser.jay : Support for shift operators
670 * assign.cs : Calling 'RuntimeHelpers.GetObjectValue' during new Object creation
671 (to make it consistent with vbc)
672 * ecore.cs : Implicit constant conversions - rounding the float/double values before
673 converting to Integer types
676 * Corrected the opertor names
677 * Allowing unary plus and minus on strings (by converting
679 * Allowing 'Not' operator on all numeric/string types
680 (float/double/decimal/strings are converted to long)
681 * In case of short/byte operations, changing the end result back to short/byte
682 Exponentiation class :
683 * Disallowing '^' operator on dates/char/ reference types
685 * Corrected operator names
686 * And-ing the right operand with appropriate mask in case of shift operators
687 * In case of short/byte operations, changing the end result back to short/byte
688 * Re-organised the code of the 'ResolveOperator' method:
689 * code organised according to expression types
690 * Performing the required conversions before 'OverloadResolve'
691 * Did the following fixes :
692 * Fixed string/bool behaviour with logical/shift operators
693 * Disallow arithmatic operators on char and dates
694 * Fixed DateTime comparisons
695 * Using methods of 'System.Decimal' for all Decimal operations
696 * Supporting all operators with enum types
697 * Allowing arithmatic/relational/shift/logical operators on type 'object'
699 2005-03-04 Manjula GHM <mmanjula@novell.com>
702 Support Mid Assignment Statement
704 2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
705 * driver.cs: correcting the handling of many options.
706 * Upgraded to latest Mono.GetOptions that supports vbc style boolean arguments /debug+ /debug-, and /help2 to hide less used options
708 2005-02-25 Satya Sudha K <ksathyasudha@novell.com>
711 Fix for default properties by Raja Harinath
713 2005-02-22 Manjula GHM <mmanjula@novell.com>
714 *expression.cs: Handle String and date before Overloadresolve
715 Added code for char + char
716 Handle One of operands is value type in Relational operators
717 Handle when both are Object types
719 2005-02-22 Manjula GHM <mmanjula@novell.com>
720 *expression.cs: Handle Bool w.r.t Logical operators
722 2005-02-21 Manjula GHM <mmanjula@novell.com>
723 *expression.cs: Handle all cases of relational Operators w.r.t String types
725 2005-02-21 Manjula GHM <mmanjula@novell.com>
726 *mb-parser.jay: Throws error for missing END statements - by Sudharsan V
728 2005-02-18 Satya Sudha K <ksathyasudha@novell.com>
730 Modified Implicit Constant conversions to :
731 * Handle Long/Float/Double Constants also
732 * Throw a compile time error if constant cannot be converted to a specified type
736 Widening Enum constants to constants of underlying type before doing the conversions
738 Added support for exponentiation operator for constants
739 * enum.cs : Allowing double values to be specified as enum values
742 2005-02-17 Manjula GHM <mmanjula@novell.com>
744 Support relational operator for other types
746 2005-02-15 Manjula GHM <mmanjula@novell.com>
748 Fixed conversion from char[] to String
750 2005-02-15 Manjula GHM <mmanjula@novell.com>
751 * expression.cs: Fixed concat of string and char using '+" operator
753 2005-02-14 Manjula GHM <mmanjula@novell.com>
755 Fixed all String to char conversions
757 2005-02-14 Satya Sudha K <ksathyasudha@novell.com>
759 - Fixed one of my previous checkin, which was breaking some test cases.
761 - Fixed the explicit conversion of float/double to integral types in some places.
763 2005-02-11 Ritvik Mayank <mritvik@novell.com>
768 Changed for reflecting correct Error Number
770 2005-02-10 Satya Sudha K <ksathyasudha@novell.com>
772 - Implemented Exponentiation operator (^)
773 - Fixed the behaviour of strings in arithmatic operations (only addition
774 was supported before)
775 - Fixed Decimal arithmatic with float/double types
776 - If operation = Division, promoting both operands to double, otherwise
777 doing numeric promotions
778 * mb-parser.jay : Changes related to the Exponentiation operator
780 2005-02-10 Manjula GHM <mmanjula@novell.com>
781 * expression.cs: Fixed concat of date and string using '+" operator
783 2005-02-08 Satya Sudha K <ksathyasudha@novell.com>
784 * assign.cs: Fix for implicit conversions in Compound Assignments
786 - Fixed the explicit conversion of float/double to integral types
787 by rounding the float/double values before performing the actual
789 - Using 'ConvCast' instead of 'OpcodeCast' for Narrowing conversions
791 2005-02-07 Ritvik Mayank <mritvik@novell.com>
798 Changed for reflecting correct Error Number.
800 2005-02-07 Manjula GHM <mmanjula@novell.com>
801 * mb-parser.jay: Some more fixes related to displaying correct line number
803 2005-02-04 Satya Sudha K <ksathyasudha@novell.com>
804 * ecore.cs : Fixed the implicit conversion of float/double to integral types:
805 - Rounding the float/double values before performing the actual conversion
807 * expression.cs : 1) Added a class 'StringConcat' to handle string concatenations
808 2) Fixed string conversions in arithmatic operations
810 * mb-parser.jay : Create a new 'StringConcat' object (instead of Binary) for concat_expression
812 2005-02-03 Manjula GHM <mmanjula@novell.com>
813 *mb-parser.jay : Reports error with correct line number in most of the cases covered by existing testcases. Need to cover in expressions and few more areas.
815 2005-02-03 Manjula GHM <mmanjula@novell.com>
818 Modified Project and solution files to reflect new changes
820 2005-01-29 Ritvik Mayank <mritvik@novell.com>
827 Changed for reflecting correct Error Number/Message.
829 2005/01/29 Satya Sudha K <ksathyasudha@novell.com>
830 * ecore.cs : Added code for String conversions.
832 2005/01/28 Satya Sudha K <ksathyasudha@novell.com>
833 * ecore.cs : Added a few fixes for Boolean to Numeric Conversions
835 2005/01/25 Satya Sudha K <ksathyasudha@novell.com>
836 * ecore.cs : Added support for Implicit numeric conversions.
837 Most of the work on this patch done by Jambunathan K
839 2005/01/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
840 * driver.cs : correct handling of /imports command-line option.
841 Patch from Hans Kratz <kratz@omnicore.com>
843 2005-01-13 Ritvik Mayank <mritvik@novell.com>
844 * mb-parser.jay: Changed Error Number for Modifiers.PRIVATE to throw the right ExceptionNumber as 31089 .
845 * mb-parser.jay: Added Modifiers.PROTECTED to throw the right Error Number as 31047 .
847 2005-01-13 Ritvik Mayank <mritvik@novell.com>
848 * ecore.cs: Changed the Error Number for setter as 30526 and getter as 30524 in Expression DoResolveLValue .
849 * expression.cs: Changed the Error Number for set == null as 30526 and get == null as 30524 .
851 2005-01-13 Ritvik Mayank <mritvik@novell.com>
852 * statement.cs: For 'if (RedimTarget.Type.GetArrayRank() != args.Count)' changed the Error Number as 3415 .
854 2005-01-12 Anirban Bhattacharjee <banirban@novell.com>
855 * mb-parser.jay: Replaced "logical_end_of_line" with "end_of_stmt" in couple of places
856 to support delemeter ':' along with "EOL" as end of statement
858 2005-01-12 Anirban Bhattacharjee <banirban@novell.com>
859 * statement.cs: Another trivial correction
861 2005-01-11 Anirban Bhattacharjee <banirban@novell.com>
862 * statement.cs: A trivial correction in yesterday's check-in
864 2005-01-10 Anirban Bhattacharjee <banirban@novell.com>
875 Removed warnings from all the above files which were showing up during make
878 2005-01-10 Anirban Bhattacharjee <banirban@novell.com>
879 * mb-parser.jay: Check for the overloaded property
881 2005-01-10 Anirban Bhattacharjee <banirban@novell.com>
882 * class.cs: A better check provided before adding a property to TypeContainer
884 2004-12-21 Anirban Bhattacharjee <banirban@novell.com>
890 IndexerName variable is now known as DefaultPropName in the above files
892 2004-12-21 Anirban Bhattacharjee <banirban@novell.com>
893 * mb-parser.jay: A check which restrict declaring more than one property
894 as default within same class
896 2004-12-21 Anirban Bhattacharjee <banirban@novell.com>
897 * class.cs: -Mbas will emit DefaultMemberConstuctor attribute for the class
898 which is having Default Property so that it can be recognized by
900 - Removed Indexer class and some of the legacy code inherited from mcs
901 * typemanager.cs: Initialized DefaultMemberAttribute constructor info
903 2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
905 * driver.cs: -q --quiet works, inclusive for the "Alpha" message
906 * Test/misc/Makefile : Added dependency on newly compiled compiler for the test executable
908 2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
909 * driver.cs: it was "monostyled" and some extract method refactorings to make things clear
910 now -q --quiet works, inclusive for the "Alpha" message
911 * Test/misc/Makefile : Added dependency on newly compiled compiler for the test executable
913 2004-11-30 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
914 * Test/misc/Makefile : Compile new RedimPreserve.vb test source
915 * Added Test/misc/RedimPreserve.vb
917 2004-11-30 Alexandre Rocha Lima e Marcondes <alexandremarcondes@psl-pr.softwarelivre.org>
918 * Makefile: Included Microsoft.VisualBasic.dll assembly on LOCAL_MCS_FLAGS.
919 * expression.cs: Created class Preserve to implement REDIM PRESERVE syntax.
920 * statement.cs: Implemented REDIM PRESERVE syntax on Redim.Resolve().
922 2004-11-25 Raja R Harinath <rharinath@novell.com>
923 * Makefile (SUBDIRS): Just list Test.
924 (mb-parser.cs): Depend on jay/skeleton.cs.
926 2004-11-25 Raja R Harinath <rharinath@novell.com>
928 Update to changes in jay/skeleton.cs.
929 * genericparser.cs (yacc_verbose_flag): Change to 'int'.
930 * mb-parser.jay (parse): Update to changes.
931 * driver.cs (verbose): Likewise.
933 2004-11-24 Jambunathan K <kjambunathan@novell.com>
934 * class.cs: Factored out classes - 1) GetMethod and SetMethod from
935 Property and 2) AddDelegateMethod and RemoveDelegateMethod from
938 * mb-parser.jay: Related changes.
940 2004-11-22 Jambunathan K <kjambunathan@novell.com>
941 * enum.cs: Factored out a new class EnumMember from the existing
942 class Enum. Much of the functionality that existed in
943 Enum.LookupEnumValue() is now moved in to
944 EnumMember.DoDefineMember().
946 One significant departure from the previous Enum implmenentation
947 is that now the resolution of an EnumMember's value happens in the
948 EmitContext set up for the Enum.
951 * expression.cs: Trivial changes related to the above change.
953 2004-11-22 Jambunathan K <kjambunathan@novell.com>
954 * Makefile: Added new make target 'consolidate-test-results'.
956 2004-11-22 Jambunathan K <kjambunathan@novell.com>
957 * Makefile: Run "make run-test" or "make run-test-ondotnet" to
958 exercise mbas test cases.
960 * testmbas: Moved the test files under this directory to Test/misc
961 where it rightfully belongs.
963 2004-11-17 Jambunathan K <kjambunathan@novell.com>
964 * attribute.cs: Temporarily made Attribute.UnManagedType public.
966 * class.cs: Removed the instance method
967 MethodCore.LabelParameters() and moved it's functionality to the
968 new instance methods Parameters.LabelParameters() and
969 Parameter.DefineParameter().
971 * parameter.cs: Introduced new instance methods
972 Parameters.LabelParameters() and Parameter.DefineParameter() and
973 slightly improved Parameter.ApplyAttributeBuilder().
975 2004-11-17 Jambunathan K <kjambunathan@novell.com>
976 * mb-parser.jay: During multi-file compilation, global attributes
977 were not getting parsed properly. Fixed the same.
979 2004/10/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
980 * mb-parser.jay : correcting global attributes handling, because it was
981 issuing wrong warnings for trivial files like testmbas/WriteOK.vb.
982 * Makefile : adding testmbas/AssemblyInfo.vb to some test compilations
984 2004-11-10 Jambunathan K <kjambunathan@novell.com>
985 * attribute.cs: 1) Replaced the static method
986 Attribute.GetValidPlaces() with an equivalent instance method
987 Attribute.GetValidTargets() 2) Added new methods Attributes.Emit
988 () and Attribute.Emit(). 3) Migrated functionality of
989 ApplyAttributes to ApplyAttributeBuilder of respective classes.
991 * class.cs, decl.cs, codegen.cs, const.cs, parameter.cs :
992 Implemented ApplyAttributeBuilder() in the following classes:
993 TypeContainer, Constructor, Field, Property, Event, DeclSpace,
994 AssemblyClass, ModuleClass, Const, Method, Parameter.
996 * codegen.cs: Implemented Emit() in the following classes:
997 AssemblyClass and ModuleClass.
999 The ApplyAttributeBuilder() is currently just a placeholder for
1000 future code that is yet to come.
1002 2004-11-09 Jambunathan K <kjambunathan@novell.com>
1003 * class.cs: Coalesced the functionality of Property and
1004 PropertyBase in to Property class and removed the class
1008 2004-11-09 Jambunathan K <kjambunathan@novell.com>
1010 * attribute.cs: Injected a new virtual property
1011 Attributable.AttributeTargets
1013 * decl.cs: Made MemeberCore a derived class of
1016 * parameter.cs: Made Parameter a derived class of
1019 * class.cs: Commented out the "never used" class Indexer. I
1020 suspect that the class will never be required in VB.NET context
1021 and can possibly be stripped off after careful inspection.
1023 * tree.cs, module.cs, interface.cs, enum.cs, delegate.cs,
1024 const.cs, codegen.cs: Changes necessiated by the above changes.
1026 2004-11-07 Jambunathan K <kjambunathan@novell.com>
1027 * typemanager.cs: Removed TypeManager.builder_to_attr which was
1028 redundant and replaced LookupAttr with LookupClass.
1031 * module.cs: Miscellaneous changes
1033 * mb-parser.jay: Upadted actions of the attributes grammar
1035 * codegen.cs: 1) Introduced new classes CommonAssemblyModulClass,
1036 AssemblyClass, ModuleClass 2) Introduced following methods
1037 CodeGen.AddGlobalAttributes, CodeGen.EmitGlobalAttributes
1039 * class.cs: Factored out TypeContainer.AttributeUsage
1041 * attribute.cs: 1) Factored out Attribute.UsageAttribute and
1042 Attribute.GetAttributeUsage 2) Introducing the new base class
1043 Attributable from which all Attributable types will be derived in
1044 the future 3) Added new accessors Attribute.IsAssemblyAttribute
1045 and Attribute.IsModuleAttribute
1047 2004-11-06 Jambunathan K <kjambunathan@novell.com>
1048 * rootcontext.cs: Removed the static field -
1049 RootContext:global_attribute.
1051 2004-11-06 Jambunathan K <kjambunathan@novell.com>
1053 * attribute.cs: Removed the incomplete and (for now) unnecessary
1054 Mono.MonoBASIC.Operator class. Let us bother about this later.
1056 Stripping off these unused bits will help me in 1) refactoring the
1057 mbas Attributes related code 2) reusing the code from the mcs code
1060 2004-11-06 Jambunathan K <kjambunathan@novell.com>
1061 * class.cs: Removed the incomplete and (for now) unnecessary
1062 operator methods. Let us bother about this later.
1064 2004-11-06 Jambunathan K <kjambunathan@novell.com>
1065 * attribute.cs: Removed the redundant AttributeSection class and
1066 moved it's functionality to Attributes class.
1069 * module.cs: Replaced references to AttributeSection with the equivalent constructs.
1070 * rootcontext.cs: Removed the following unused methods
1071 AddGlobalAttribute and AddGlobalAttributeSection.
1073 2004-11-03 Anirban Bhattacharjee <banirban@novell.com>
1074 * mb-parser.jay: Trivial fix for bug #68985
1076 2004-11-04 Jambunathan K <kjambunathan@novell.com>
1077 * mb-parser.jay: Syntactic error handling for attribute grammar.
1079 2004-10-25 Anirban Bhattacharjee <banirban@novell.com>
1080 * statement.cs: VB .Net specific exception number
1082 2004-10-25 Anirban Bhattacharjee <banirban@novell.com>
1083 * mb-parser.jay: Enhanced catch grammar to accept
1085 * statement.cs: Changed Catch and Try classes accordingly
1086 to emit catch statement conditionally
1088 2004/10/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1089 * driver.cs : accept also -t:library as vbc does, besides /target:library
1091 2004-10-21 Anirban Bhattacharjee <banirban@novell.com>
1092 * statement.cs: Introduced few specific execptions
1093 Changed exception number
1095 2004-10-21 Anirban Bhattacharjee <banirban@novell.com>
1096 * statement.cs: A trivial fix to get Exit Try working
1098 2004-10-21 Jambunathan K <kjambunathan@novell.com>
1099 * typemanager.cs (LookupType, LookupTypeDirect): Added a negative
1100 cache for failed type lookups (stolen from mcs' typemanager.cs).
1101 mbas gets a performance boost of about 20 times due to this
1104 * driver.cs (MainDriver): Made the warning message a little less
1105 scary and more inviting for first time users.
1107 2004-10-19 Anirban Bhattacharjee <banirban@novell.com>
1108 * mb-parser.jay: Enhanced For Each...Next statement grammar
1110 2004-10-15 Anirban Bhattacharjee <banirban@novell.com>
1111 * mb-parser.jay: Little improvement in For...next statement
1113 2004-10-14 Anirban Bhattacharjee <banirban@novell.com>
1114 * mb-parser.jay: For statement is enabled to take
1115 optional declaration of the counter variable.
1116 E.g. now for statement can be declared as
1117 For i as integer = 0 to 5
1120 2004/10/08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1121 * Makefile: added target 'profile', changed some sources in testmbas/ to use for that purpose.
1123 2004-10-11 Anirban Bhattacharjee <banirban@novell.com>
1124 * mb-parser.jay: More improvement in 'IF' statement
1126 2004-10-11 Anirban Bhattacharjee <banirban@novell.com>
1127 * mb-parser.jay: If statement is enabled to parse
1128 following type of statement
1129 If <condition> Then <statement> else <statement>
1131 2004/10/08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1132 * typemanager.cs: Changing StandardModule to use less memory, by doing string
1133 concatenation only once. It was wasting 1 MB on the test case.
1135 2004-10-06 Anirban Bhattacharjee <banirban@novell.com>
1136 * mb-parser.jay: Added support for Call keyword in invocation statement
1138 2004-10-01 Anirban Bhattacharjee <banirban@novell.com>
1139 * ecore.cs: Bug fixing - when event raised from other assembly
1141 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
1144 Removed unused event_target field from
1145 AddHandler and RemoveHandler
1147 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
1148 * mb-parser.jay: RemoveHandler function made cleaner
1150 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
1153 Fix for resolution of event expression
1154 when we have a AddHandler statement
1156 AddHandler Me.E, AddressOf Me.EH
1157 Submitted by Raja Harinath<rharinath@novell.com>
1159 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
1160 * mb-parser.jay: Unnecessary to and fro conversion of types
1161 is removed from AddHandler function
1163 2004-09-23 Anirban Bhattacharjee <banirban@novell.com>
1164 * expression.cs: Enhanced mbas to resolve Default property or indexer
1166 2004-09-21 Anirban Bhattacharjee <banirban@novell.com>
1167 * mb-parser.jay: Fixed bug #66231 -
1168 Now, Me.SubName, MyBase.SubName or any other qualified name
1169 is supported by AddressOf operator
1171 2004-09-15 Anirban Bhattacharjee <banirban@novell.com>
1172 * enum.cs: Made Enum member lookup case insensitive
1174 2004-09-15 Anirban Bhattacharjee <banirban@novell.com>
1175 * support.cs: Retrieving default value from another assembly in ReflectionParameters class
1177 2004-09-15 Anirban Bhattacharjee <banirban@novell.com>
1178 * class.cs: Support for enum in default constant value for optional parameters
1180 2004-09-14 Anirban Bhattacharjee <banirban@novell.com>
1181 * mb-parser.jay: Fixed exception number for type confliction in method parameter
1183 2004-09-14 Anirban Bhattacharjee <banirban@novell.com>
1184 * class.cs: Set default constant value for optional parameters in ParameterBuilder
1185 * parameter.cs: Setting optional attribute
1186 These two fixes makes sure that optional parameter with default value get emitted correctly
1188 2004-08-27 Anirban Bhattacharjee <banirban@novell.com>
1189 2004-09-08 Bernie Solomon <bernard@ugsolutions.com>
1190 * mb-parser.jay: fix CopyTo args when parsing parameters
1192 2004-09-08 Bernie Solomon <bernard@ugsolutions.com>
1193 * expression.cs: cope with ParamArray for no args
1194 * mb-parser.jay: dump parsing exception with --stacktrace
1196 2004/08/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1197 * mb-parser.jay : some changes just not to stumble in global attributes definitions in multiple-lines
1198 like we have in VS.NET generated AssemblyInfo.vb files. still need to really process that definitions like mcs does
1200 2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
1202 * mb-tokenizer.cs: first cut at implementing
1205 2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
1210 * support.cs: work on improving overload resolution
1212 2004-08-30 Bernie Solomon <bernard@ugsolutions.com>
1213 * class.cs (FindMembers): filter on modflags
1214 for constructors & constructors are never inherited
1216 * decl.cs (SetupCache): constructors are not
1219 2004-08-27 Anirban Bhattacharjee <banirban@novell.com>
1220 * driver.cs: bug fixing - #63580
1222 2004/08/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1223 * testmbas/WriteOk.vb : Use Mono.GetOptions from VB.NET
1224 * Makefile : exercise new option processing in test program [make-run-local target]
1226 2004-08-26 Bernie Solomon <bernard@ugsolutions.com>
1227 * mb-parser.jay: rework parsing of ParamArray parameters
1229 2004-08-23 Bernie Solomon <bernard@ugsolutions.com>
1230 * mb-parser.jay: cope with more varieties of array declarations
1232 2004-08-20 Anirban Bhattacharjee <banirban@novell.com>
1233 * statement.cs: Bug fixing - Prevent AddHandler from getting resolved second time. This is critical for ASP programs with VB.
1235 2004-08-20 Anirban Bhattacharjee <banirban@novell.com>
1236 * expression.cs: Bug fixing - reference to the current type is fixed during BaseAccess resolution
1238 2004/08/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1239 * driver.cs : Some cleanup, also renamed checked option as it was removeintchecks in disguise
1241 2004-08-18 Anirban Bhattacharjee <banirban@novell.com>
1242 * mb-parser.jay: MyBase support in Handles clause e.g.
1243 Sub EH() Handles MyBase.E
1245 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1246 * mb-parser.jay: Trivial fix (#63213)
1248 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1251 -Bug fixed to resolve the ReadOnly properties from base class
1252 -Fixed bug in resolving properties from different assembly
1254 2004-08-14 Bernie Solomon <bernard@ugsolutions.com>
1255 * mb-parser.jay: fix block used as body of For Each
1257 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1258 * expression.cs: Bug fixing for compiling VB script generated by ASP page - AddressOf operator in a method argument will resolve methods outside assembly
1260 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1261 * class.cs: bug fixing to get PropertyE.vb test running - search of overridable property in base class was failing
1263 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1264 * typemanager.cs: Little correction in my last checked-in code - removed unnecessary return value from ExpandAllInterfaces function
1266 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1267 * class.cs: Trivial bug fixing to get test InterfaceB.vb going
1269 2004-08-13 Rob Tillie <Rob.Tillie@student.tul.edu>
1270 * ecore.cs: added runtime conversion from string to DateTime (fixes test 13329).
1272 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1276 Multiple interface inheritance implemented - fix for getting InheritanceD.vb working in bteasts
1278 2004-08-12 Anirban Bhattacharjee <banirban@novell.com>
1279 * mb-parser.jay: Implements support in Abstract methods
1281 2004-08-12 Anirban Bhattacharjee <banirban@novell.com>
1282 * class.cs: Support for abstract method resolution
1283 * pending.cs: Type of pending_implementations is set to base type
1284 Changed method names IsInterfaceIndexer and IsInterfaceMethod to IsAbstractIndexer and IsAbstractMethod respectively to make them more meaningful
1286 2004-08-11 Bernie Solomon <bernard@ugsolutions.com>
1287 * mb-parser.jay: first cut at TypeOf ... Is
1289 2004-08-11 Bernie Solomon <bernard@ugsolutions.com>
1291 * ecore.cs: More enum changes to handle
1292 implicit conversions better
1294 2004-08-11 Anirban Bhattacharjee <banirban@novell.com>
1295 * mb-parser.jay: Interface inheritance made better
1297 2004-08-09 Jambunathan K <kjambunathan@novell.com>
1298 * mb-parser.jay: Sanitized parser's generic error message
1300 2004-08-07 Anirban Bhattacharjee <banirban@novell.com>
1301 * enum.cs: Enum members became enum type now, instead of underlying type
1303 2004-08-07 Bernie Solomon <bernard@ugsolutions.com>
1304 * mb-parser.jay: Implement GetType(x)
1305 implement Is as equals for the moment so it can be used
1307 2004-08-07 Anirban Bhattacharjee <banirban@novell.com>
1308 * mb-parser.jay: Check for empty enum declaration
1310 2004-08-07 Anirban Bhattacharjee <banirban@novell.com>
1313 Multiple Implements for a particular type member got implemented
1315 2004-08-06 Bernie Solomon <bernard@ugsolutions.com>
1317 * support.cs: Make ReflectionParameter behave
1318 like InternalParameter for byref args.
1319 * expression.cs: Cope with byref args in
1322 2004-08-06 Jambunathan K <kjambunathan@novell.com>
1323 * mb-parser.jay: Changed expression grammar so that it now has a
1324 better semblance to those defined in section 11 of VB.NET spec.
1325 The 'expression' rule as it is now could possibly be buggy. So
1326 another iteration is a must.
1328 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
1329 * mb-parser.jay: Small bug fix in Event grammar
1331 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
1332 * class.cs: Event still needed to have a constructor which takes value of Implements clause.
1333 * mb-parser.jay: Passing Implements clause value to the constructor
1335 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
1338 Exception number made aligned to VB .net
1340 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
1341 * class.cs: Improvements in the implementation of Implements clause in Type members
1343 2004-08-05 Anirban Bhattacharjee <banirban@novell.com>
1344 * mb-parser,jay: Implements clause added to Event grammar
1346 2004-08-05 Anirban Bhattacharjee <banirban@novell.com>
1347 * mb-parser.jay: Interface event declaration grammar rewritten
1349 2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
1350 * class.cs: Introduced check for valid interface name in Implements clause.
1352 2004-08-04 Jambunathan K <kjambunathan@novell.com>
1356 1) Fixed the Attributes grammar starting with
1357 opt_attributes. Introduced new rules starting with
1358 opt_global_attributes rule - section 5.2 of VB.NET spec
1360 2) Introduced new Tokens that correspond to reserved but unused
1361 VB.NET keywords. Added some comments as appropriate in the
1362 keywords hashtable of tokenizer - section 2.3 of VB.NET spec.
1364 3) Corrected 'imports_term' - section 6.3.1 & 6.3.2 of VB.NET
1367 4) Introduced opt_argument_list - section 5.2 of VB.NET spec
1369 5) Corrected namespace_declaration - section 6.4.1 of VB.NET spec
1372 2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
1373 * mb-parser.jay: Added support for modifiers and attributes in interface member grammar
1375 2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
1376 * mb-parser.jay: Property types made optional
1378 2004-08-03 Anirban Bhattacharjee <banirban@novell.com>
1379 * mb-parser.jay: Interface method and property grammar got changed
1380 Support for multiple implements in class
1381 * interface.cs: Interface class has got changed
1382 All other interface types have been removed
1383 * class.cs: Property's Define and CheckBase method changed significantly to be in sync with Interface
1384 * pending.cs: few related changes
1385 * attribute.cs: few related changes
1387 2004/08/01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1388 * mb-parser.jay : Some correction as pointed by Jambunathan,
1389 to allow preprocessor directives after a label that may
1390 leave it orphaned (without a explicit statement)
1391 * testmbas/WriteOK.vb : some vb code to test this case
1393 2004/08/01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1394 * mb-parser.jay : Some correction as pointed by Jambunathan,
1395 to allow intermixing preprocessor directives between
1396 the label and it's associated statement
1398 2004-08-02 Jambunathan K <kjambunathan@novell.com>
1399 * mb-tokenizer.cs: Oops. Also pulled out all of the old
1400 pre-processor code that is no more used.
1402 2004-08-02 Jambunathan K <kjambunathan@novell.com>
1403 * mb-tokenizer.cs: Fixed a bug where line nos were
1404 failing to get incremented when the line continuation
1405 character was appearing by itself on contiguous lines.
1407 * mb-parser.jay: Fixed the #ExternalSource actions
1408 so that ExternalSourceDirectivesC4.vb compiles and
1409 reports source & line nos as expected.
1411 * location.cs: Replaced the existing unintuitive, not
1412 so efficient implementation of struct Location {} with
1413 the one available in mcs with one minor difference: The
1414 number of bits reserved for a file index in the Token
1415 is statically fixed at 8 bits.
1417 2004/08/01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1418 * mb-parser.jay : Revised patch from João Viegas for the labeled_statement accepting integer literals as labels
1420 2004-07-30 Jambunathan K <kjambunathan@novell.com>
1421 * mb-parser.jay: Oops. Reversed unintended checkin.
1422 * mb-tokenizer.cs: Added comment in Tokenizer()
1423 * mb-parser.jay: Fixed miscellaneous bugs in handling of
1424 pre-processor directives. There are two positive test
1425 cases that fail currently: ExternalSourceDirectivesC4.vb
1426 and RegionDirectivesC1.vb
1428 2004-07-30 Raja R Harinath <rharinath@novell.com>
1430 * mb-parser.jay (IfElseStateMachine.State, IfElseStateMachine.Token):
1431 Remove [Flags] attribute.
1433 2004-07-30 Jambunathan K <kjambunathan@novell.com>
1435 * mb-tokenizer.cs: Added support for #region, #externalsource
1436 and conditional compilation pre-processor directives.
1437 Conditonal directives currently accept only boolean literals
1438 as conditonal expressions.
1440 * mb-parser.jay: The original checkin hits a bug in mcs but
1441 compiles fine with csc. This checkin is to workaround the mcs
1442 bug so that cvs builds are not broken.
1445 2004/07/26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1446 * mb-parser.jay : First try at SyncLock Statement #53230
1448 2004-07-22 Anirban Bhattacharjee <banirban@novell.com>
1451 Little betterment in resolution of parameter with Addressof operator in method argument
1453 2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
1454 * expression.cs: Resolution of fully qualified type names - bug fixed
1456 2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
1457 * assign.cs: Added new argument to Expression.ConvertExplicit function call
1459 2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
1460 * expression.cs: Fixed resolution of overloaded functions with delegate as parameter
1461 * ecore.cs: Changes made to stop program getting into an endless loop on not able to cast types of source to destination object.
1462 * statement.cs: Added new argument to Expression.ConvertExplicit function call
1464 2004-07-18 Anirban Bhattacharjee <banirban@novell.com>
1465 * argument.cs: Introduced AddressOf argument type for tracking AddressOf operator in method parameter
1466 * expression.cs: A parameter with AddressOf operator will get converted to Delegate before overload resolution
1467 * mb-parser.jay: Omitted two delegate creation expression grammar. This is now taken care by normal object creation expressions since Argument is capable of handling AddressOf operator now
1468 This is a fix for bug #59555
1470 2004/07/15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1471 * driver.cs : Implemented support for -pkg to match mcs (bug #58673)
1473 2004/07/15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1474 * driver.cs : started implementing -pkg support to match mcs (bug #58673), also corrected multiplicity for addmodule option
1476 2004-07-13 Anirban Bhattacharjee <banirban@novell.com>
1477 * driver.cs: Added support for AddModule compiler option
1478 * typemanager.cs: AddModule function will now store list of Modules instaed of ModuleBuilders. This change has been made to get LoadModule function working of driver.cs.
1480 2004-07-13 Anirban Bhattacharjee <banirban@novell.com>
1481 * driver.cs: Compilation to module is supported now
1483 2004-07-09 Anirban Bhattacharjee <banirban@novell.com>
1486 Default modifier for constructor is set to Public
1488 2004-07-09 Anirban Bhattacharjee <banirban@novell.com>
1489 * mb-parser.jay: Parentheses in method declarations made optional incase of empty parameter list. Thus, a method "Sub s()" can also be declared as "Sub s"
1491 2004-07-07 Anirban Bhattacharjee <banirban@novell.com>
1492 * expression.cs: bug fixed - 60399
1494 2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
1495 * mb-parser.jay: Small correction in delegate declaration grammar
1497 2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
1498 * mb-parser.jay: modified RemoveHandler function
1499 * statement.cs: Added RemoveHandler statement class
1501 2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
1502 * mb-parser.jay: Modified grammar for several syntax of AddressOf operator
1504 2004/06/10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1505 * typemanager.cs : GetPertinentStandardModules receives the array now with params modifier to help usage
1506 * ecore.cs : correcting lookup of semi-qualified standard modules members - A little better but not there yet
1508 2004-06-10 Anirban Bhattacharjee <banirban@novell.com>
1509 * mb-parser.jay: Grammar added for RemoveHandler statement
1511 2004-06-10 Anirban Bhattacharjee <banirban@novell.com>
1514 Added support for statement like
1515 delgate_name = AddressOf sub_name
1517 2004-06-09 Raja R Harinath <rharinath@novell.com>
1519 * Makefile (HAS_TEST): Remove.
1520 (run-test-local): Move rule to and depend on ...
1521 (run-mbas-test): ... this.
1523 2004-06-08 Anirban Bhattacharjee <banirban@novell.com>
1526 Few exception checks for Event
1528 2004-06-07 Anirban Bhattacharjee <banirban@novell.com>
1529 * mb-parser.jay: Resolved the problem in Sub statement with Handles cluse
1530 * class.cs: Added a AddEventHandler function and a EventHandler readonly property. Also modified define of constructor to accommodate Handlers clause.
1531 If one initialize a event handler as
1532 Sub Handler() Handles x.Event
1533 The handler will be initialized by the constructor of the corresponding class by calling AddHandler.
1535 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
1536 * mb-parser.jay: Modified WithEvents grammar
1538 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
1539 * class.cs: - NotOverridable modifier support added to Property
1540 - Few overriding related checks put on Property
1542 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
1543 * decl.cs: Check for duplicate member name within same container
1545 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
1546 * class.cs: changed exception number in event grammar
1548 2004-06-03 Anirban Bhattacharjee <banirban@novell.com>
1549 * mb-parser.jay: RaiseEvent grammar fixed to get it working
1551 2004-06-03 Anirban Bhattacharjee <banirban@novell.com>
1552 * driver.cs: fixed bug - 59540
1554 2004-06-01 Anirban Bhattacharjee <banirban@novell.com>
1555 * mb-parser.jay: Improved event declaration grammar
1557 2004/05/31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1558 * AssemblyInfo.cs : Anirban is and author too
1560 2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
1563 Few exception checks for delegete
1565 2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
1568 Few more fixes in delegate grammar
1570 2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
1571 * mb-parser.jay: Changed Delegate instantiation grammar to get it working
1573 2004-05-26 Anirban Bhattacharjee <banirban@novell.com>
1576 Few property related checks applied
1578 2004-05-24 Anirban Bhattacharjee <banirban@novell.com>
1579 * class.cs: Check for ReadOnly and WriteOnly modifiers added to property
1581 2004-05-24 Anirban Bhattacharjee <banirban@novell.com>
1582 * mb-paresr.jay: Support for abstruct property is added
1584 2004-05-24 Raja R Harinath <rharinath@novell.com>
1586 * Makefile (PROGRAM_INSTALL_DIR): Install mbas into
1587 $(prefix)/lib/mono/1.0.
1589 2004-05-10 Anirban Bhattacharjee <banirban@novell.com>
1590 * mb-parser.jay: few Property related grammar changes
1592 2004-05-14 Anirban Bhattacharjee <banirban@novell.com>
1593 * mb-tokenizer.cs: Bug fixed - Got Property working
1595 2004-05-10 Anirban Bhattacharjee <banirban@novell.com>
1596 * mb-parser.jay: Support added for attaching Attributes in methods
1598 2004/04/07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1599 * AssemblyInfo.cs : Correcting information and version number
1601 2004-04-29 Anirban Bhattacharjee <banirban@novell.com>
1602 * enum.cs: bug fixing - setting one enum member to another
1604 2004-04-29 Anirban Bhattacharjee <banirban@novell.com>
1607 Implemented check for access modifier in enum
1609 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
1611 * typemanager.cs: Property.GetGetMethod() does not return the method if it
1612 is private (it did until now because of a bug). Make sure it works as it
1613 worked before the fix.
1615 2004-04-28 Anirban Bhattacharjee <banirban@novell.com>
1616 * expression.cs: fixed bug to get enum running
1617 * enum.cs: handling several negative scenarios
1618 Changed several exception numbers
1619 * assign.cs: Changed exception number
1621 2004-04-26 Jackson Harper <jackson@ximian.com>
1623 * Makefile: Get libs from default profile directory.
1625 2004-04-23 Anirban Bhattacharjee <banirban@novell.com>
1626 * mb-parser.jay: Grammar changes for array
1627 * expression.cs: exception number changed for "Incorrectly structured array initializer" exception
1629 2004-04-17 Anirban Bhattacharjee <banirban@novell.com>
1633 a little better structure grammar
1635 2004-04-16 Anirban Bhattacharjee <banirban@novell.com>
1636 * mb-parser.jay: few clean-ups
1638 2004-04-16 Anirban Bhattacharjee <banirban@novell.com>
1639 * class.cs: Duplicate entry point exception number changed
1640 Checked delaration of Types, fields, methods as Protected if they are member of Module type
1641 * const.cs: Checked delaration of constructor as Protected if it is member of Module type
1642 * driver.cs: exception number is changed for "Entry point does not exist" exception
1644 2004-04-15 Anirban Bhattacharjee <banirban@novell.com>
1645 * mb-parser.jay: Classes can't be delared static impicitly as other module members
1647 2004-04-15 Anirban Bhattacharjee <banirban@novell.com>
1648 * class.cs: Couple of bug fixes in defining default static constructor, partially imposed by the fix earlier
1650 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
1651 * class.cs: Added support for Shadows modifier in Variables
1653 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
1654 * const.cs: Added support for Shadows modifier in constant
1656 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
1657 * expression.cs: Removed the check which was stoping type instances to access the shared variables
1659 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
1660 * modifiers.cs: changed exception number for invalid modifiers exception
1662 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
1663 * mb-parser.jay: Removed 'static_constructor_declaration' - this is not required as 'constructor_declaration' implementation is good enough to handle static constructors too
1664 * class.cs: Handling couple of negative scenarios related to static constructors and bug fixes
1666 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
1667 * class.cs: Couple of negative scenario handling
1669 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
1670 * mb-parser.jay: Few clean-up
1672 2004-04-12 Anirban Bhattacharjee <banirban@novell.com>
1673 * mb-parser.jay: Bug fixed - Base class ctor was getting called twice when called explicitly from the derived class ctor as MyBase.New
1675 2004-04-12 Anirban Bhattacharjee <banirban@novell.com>
1676 * mb-parser.jay: Fixed bugs for calling ctor from another ctor in the same class by using statments like
1681 2004/04/07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1682 * mb-tokenizer.cs : Better error message when dealing with date literals
1684 2004-04-06 Anirban Bhattacharjee <banirban@novell.com>
1689 Changed/added serveral Accessibility related expections
1691 2004-04-05 Anirban Bhattacharjee <banirban@novell.com>
1696 Several error messages and numbers are changed in all the above four classes
1698 2004-04-04 AnirbanBhattacharjee <banirban@novell.com>
1699 * delegate.cs: changed default access modifier
1700 * enum.cs: changed default access modifier
1701 * interface.cs: changed default access modifier
1702 * modifiers.cs: extension of bug fixed for getting NotOverridable modifier working for methods
1704 2004-04-04 AnirbanBhattacharjee <banirban@novell.com>
1705 * class.cs: Changed exception messages and their numbers to align better with VB
1706 Changed default access modifier of method to Public
1707 Bug fixed to get NotOverridable modifier working
1708 * decl.cs: Changed exception messages and numbers
1710 2004-03-25 Anirban Bhattacharjee <banirban@novell.com>
1711 * class.cs: bug fixing - creating default constructor when no constructor is specified
1712 Few modifiers are changed to align with Vb
1714 2004/03/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1715 * typemanager.cs : being more carefull with null arguments in some places,
1716 null checking in GetPertinentStandardModules() loop
1717 * namespace.cs : a helper ToString override
1718 * ecore.cs : Dealing with finding more than a pertinent standard module having a global member
1719 * testmbas/WriteOk.vb : Exercising correct standard module resolution
1720 NOTE: Almost there for Bug #52067 - just the semi-qualified case isn't working
1722 2004-03-23 Anirban Bhattacharjee <banirban@novell.com>
1723 * mb-parser.jay: handled implicit static modifier for module members in const
1724 * const.cs: changed supported modifiers
1726 2004-03-23 Anirban Bhattacharjee <banirban@novell.com>
1727 * modifiers.cs: Return name of the modifiers' changed to vb specific
1729 2004/03/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1730 * ecore.cs : now it gets the correct list of namespaces in scope (either imported or current) Almost there for Bug #52067
1732 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1733 * mb-parser.jay: One more negative scenario is addressed in const grammar
1735 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1736 * const.cs: Change type of constant to the type of its value if no explicit type declaration found
1738 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1739 * mb-parser.jay: Grammar for declaring constant inside block is changed
1741 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1742 * const.cs: Changed exception numbers
1744 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1745 * mb-parser.jay: Changed grammar for constant
1747 2004/03/02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1748 * mb-tokenizer.cs : handling better linebreak, specially when delaing with literals and preprocessing directives
1750 2004-03-16 Anirban Bhattacharjee <banirban@novell.com>
1752 - changed variable declaration grammar and added support for multiple variables declartion under single type e.g. dim x, y as integer
1753 - added few exception checks in variables
1754 - added one exception check in property
1756 2004/03/02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1757 * sourcebeingcompiled.cs : new source/class to hold things previously contained in namespaces.cs
1758 because in C# they were semantically tied to nested namespaces, and in VB.NET
1759 they can occur only once per file.
1760 * mbas.exe.sources: added sourcebeingcompiled.cs
1761 * mb-parser.jay: reference RootContext.Sourcebeingcompiled things
1762 * namespace.cs: move pieces to sourcebeingcompiled
1763 * rootcontext.cs: use SourceBeingCompiled class
1764 * decl.cs: reference RootContext.Sourcebeingcompiled things
1766 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
1767 * mb-tokenizer.cs: Support for '-' delimiter in DateTime
1769 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
1770 * report.cs: Formatted warning thrown
1772 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
1778 Added Overloads and Shadows modifiers to Function and Sub
1779 Fixed few other modifier related problems in Function and Sub
1781 2004-01-07 Nick Drochak <ndrochak@ieee.org>
1785 * row.cs: Eliminate warnings about unused variables.
1787 2004/01/06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1788 * typemanager.cs : correcting translation of System types to language types,
1789 also temporarily circunventing a exception in ModuleBuilder.GetType inside LookupTypeReflection,
1790 corrected many ` characters to ' in error messages
1791 * testmbas/WriteOK.vb : testing newly implemented IsNumeric global function
1793 2004-01-04 David Sheldon <dave-mono@earth.li>
1795 * expression.cs: Added matching ")" to error message for
1798 2003/12/23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1799 * driver.cs : added stubs for options "/netcf /sdkpath:path"
1800 * namespace.cs, decl.cs, rootcontext.cs : use hashtable to avoid duplicate importation of namespaces
1801 (especially between command-line option /imports and explicit Import clauses), what manifested itself as
1802 error messages for ambiguous names that where in truth identical
1803 * statement.cs : trying to fix the 'exit' statement DoEmit, for "Exit Sub"
1804 * mb-parser.jay, mb-tokenizer.cs : initial support for type_characters (dim az$ = dim az as string)
1806 2003/12/18 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1807 * class.cs : case-sensitiveness when tracking the entry-point removed
1808 * driver.cs : IsSWFApp would try to pass a null 'mainclass' to the hashtable indexer, throwing an exception
1809 (even for correct programs because of the bug above). Now this condition is tested before
1811 2003/12/06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1812 * ecore.cs : problems trying to implicit convert OMITTED arguments, solved
1813 * mb-tokenizer.cs, mb-parser.jay, typemanager.cs : support for the date primitive type and date literals
1814 * testmbas/WriteOK.vb: testing date type and date literal
1816 2003/11/12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1817 * driver.cs : /imports option now is implemented
1818 * mb-parser.jay: support for pre-imported namespaces (the default Microsoft.VisualBasic and those from /imports)
1820 2003/11/12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1821 * mb-tokenizer.cs : integer literal (Hex starts with &H not 0x), handle Octal literals (&O)
1822 * handle unicode specialized double-quotes in string literals
1823 * corrected some mishandling of conversions in numeric literals
1824 * implemented support for char literals ("z"c)
1825 * Makefile : verbose target uses verbose argument
1826 * testmbas/WriteOK.vb: many tests for literals implemented
1827 * literal.cs: correcting lack of a ShortLiteral class
1828 * mb-parser.jay: removed support for unsigned int literals, added support for short int literals
1830 2003/11/10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1831 * *.cs, mb-parser.jay: Switched all from defining/using namespace Mono.CSharp to Mono.MonoBASIC
1832 * location.cs: SymbolDocument now returns a SymbolDocumentWriter using the right (SymLanguageType.Basic) GUID
1834 2003/10/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1836 Don't print exception when a file is not found to be parsed
1837 File extensions not matched are now processed with the default parser
1838 Better handle file/directory not found exceptions, and use Report.Error in that case
1839 * added defaultparserattribute.cs
1840 * mb-parser.jay : Mono.MonoBASIC.Parser is now the [DefaultParser]
1841 * location.cs version 1.4 recovered (Marco Ridoni had it overwritten with an older version)
1842 * mb-tokenizer.cs, rootcontext.cs, tree.cs: Location constructor needs column number now
1844 2003/09/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1845 * .cvsignore: WHOOPS
1847 2003/09/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1848 * .cvsignore: some more files to ignore
1850 2003/09/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1851 * mb-tokenizer.cs, driver.cs: Back to Linux line-endings, SORRY
1853 2003/09/16 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1854 * Makefile: corrected testing in Windows/Cygwin (from mbas.exe to ./mbas.exe), because it was getting the installed compiler instead of the compiled one
1855 * mb-tokenizer.cs: Redoing: Preprocessor directives must be case-insensitive (many .ToLower() used)
1856 * driver.cs: No more 'linkpaths' option, use 'libpath' instead
1858 2003/09/15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1859 * driver.cs: Corrected handling of FileNotFoundException in LoadAssembly(), according to Bernie Solomon's patch
1861 2003/08/13 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1862 * mb-parser.jay: ReDim statement parses many variables now (but initializers aren't allowed)
1863 Erase statement implemented
1864 Lots of garbage (never reduced rules) deleted
1865 Reduce/Reduce problems eliminated (where due to having opt_modifiers duplicated inside property_declaration rule)
1866 * statement.cs : class Redim is prepared to have ReDim Preserve copying code called,
1867 but we need to check if that code is lying in Microsoft.VisualBasic.dll
1870 2003-07-26 Ben Maurer <bmaurer@users.sourceforge.net>
1872 * statement.cs: Make Math.XXX System.Math.XXX, to fix the build.
1874 2003-07-20 Peter Williams <peter@newton.cx>
1876 * Makefile: Remove the test target which conflicted with
1877 the global target. (Change confirmed with Rafael.)
1879 2003-04-02 Duncan Mak <duncan@ximian.com>
1881 * mb-parser.jay: Temporarily remove the references to
1882 Class.MustOverride to fix the build.
1884 2003/03/29 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1885 * mb-parser.jay: corrected some module related rules
1886 * location.cs : now handles column information
1888 2003/03/11 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1889 * makefile.gnu : use $RUNTIME for all targets
1890 actually run the compiled program on 'test-gtk' target
1891 * mb-tokenizer.cs : no escaping of chars allowed in VB.NET (old mcs code removed)
1892 handle doubled-doublequotes (VB idiom to escape a doublequote)
1894 2003/03/04 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1895 * mb-parser.jay: added rule for Imports with alias
1896 * mb-parser.jay: Friend (internal) modifier was missing,
1897 Shared modifier was expecting Static token erroneously
1898 Modules must accept only a static constructor rule added
1899 Constant declaration rule added
1900 * makefile & makefile.gnu : actually run the compiled program on test target
1902 2003/03/03 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1903 * mb-tokenizer.cs : new semi-keywords: Compare, Explicit, Strict, On, Off, Binary, Text
1904 * mb-parser.jay: tokens for above semi-keywords, and rules for option directives
1905 * driver.cs: integrates command line options with parser flags for option directives
1906 * makefile & makefile.gnu : added 'verbose' target that uses --verbose switch to compile
1907 the test source and pipes it through 'less', also added a Extended Syntax source
1909 2003/02/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1910 * class.cs : As, per vbc, there is a rootnamespace now, --main wasn't working anymore,
1911 because it was expecting a fully qualified class name.
1912 We now also test the name passed prepended by the rootnamespace.
1913 * class.cs : Corrected warning "The keyword new is required on `Mono.CSharp.Property.Emit'
1914 because it hides inherited member `PropertyBase.Emit'", by making it virtual
1915 in PropertyBase and override in Property.
1916 * makefile.gnu : test and test-gtk targets now depend on mbas.exe
1919 2003/02/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1920 * mb-parser.jay : eliminated reduce/reduce conflict on duplicated rank_specifier rule
1921 by renaming the one using brackets to bracketed_rank_specifier
1923 2003/02/12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1924 * added argument.cs (extracted from expression.cs) makefiles corrected
1925 * mb-parser.jay : eliminated reduce/reduce conflict on opt_argument_list rule,
1926 by putting and if to make a argument list with just an empty argument list become an empty list
1928 2003/02/03 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1929 * rootcontext.cs : added RootNamespace member
1930 * mb-parser.jay : use RootContext.RootNamespace to initialize outermost namespace
1932 - implement rootnamespace parameter, and defaults it to the output file name
1933 - like vbc if no source file name is provided just show help
1935 2003/01/22 Nick Drochak <ndrochak@gol.com>
1936 * makefile: Use csc compiler in here. makefile.gnu assumes mono/mcs
1938 2003-01-13 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1939 * added cleanup method to tokenizer as needed but modifications made in jay
1941 2003-01-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1942 * changed test target in makefile work
1943 * corrected authors list to include Marco
1945 2002-10-23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1946 * merged many sources from mcs/mcs, to resync
1948 2002-10-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1949 * using Mono.GetOptions preliminar support for response files,
1950 changed the makefile target 'test' for use o response file testmbas/filelist
1952 2002-10-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1953 * merged many sources from mcs/mcs, to resync
1955 2002-10-05 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1956 * merged many sources from mcs/mcs, to resync
1958 2002-08-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1959 * merged many sources from mcs/mcs, to resync
1961 2002-09-03 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1962 * integrated new version of Mono.GetOptions (reflection/attributes-based)
1964 2002-08-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1965 * merged expression.cs from mcs/mcs, to resync
1967 2002-08-29 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1968 * merged assign.cs, attribute.cs, class.cs, codegen.cs, const.cs, decl.cs, delegate.cs, ecore.cs, enum.cs,
1969 expression.cs, interface.cs, pending.cs, report.cs, rootcontext.cs, statement.cs, support.cs and
1970 typemanager.cs from mcs/mcs, to resync
1972 2002-08-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1973 * added "test" target to makefile
1974 * merged assign.cs, attribute.cs, cfold.cs, class.cs, codegen.cs, const.cs, constant.cs,
1975 decl.cs, delegate.cs, ecore.cs, enum.cs, expression.cs, interface.cs, modifiers.cs, parameter.cs,
1976 pending.cs, report.cs, rootcontext.cs, statement.cs, support.cs and typemanager.cs from mcs/mcs, to resync
1978 2002-07-14 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1979 * merged assign.cs, class.cs, ecore.cs, expression.cs, statement.cs and typemanager from mcs/mcs, to resync
1981 2002-07-09 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1982 * merged attribute.cs, ecore.cs, namespace.cs and statement.cs from mcs/mcs, to resync
1984 2002-07-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1985 * merged attribute.cs, class.cs, codegen.cs, ecore.cs, expression.cs,
1986 modifiers.cs, namespace.cs, report.cs, rootcontext.cs, statement.cs and typemanager.cs from mcs/mcs, to resync
1987 * changed driver.cs to follow mcs lead on error/warning counting and reporting
1989 2002-06-23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1990 * merged attribute.cs, class.cs, ecore.cs, rootcontext.cs, support.cs and typemanager.cs from mcs/mcs, to resync
1991 * makefile makes csc reference a copy of Mono.GetOptions.dll (mbas.sln now compiles to mbas dir instead of mbas/bin/Debug)
1993 2002-06-21 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1994 * merged attribute.cs, class.cs, interface.cs, expression.cs, ecore.cs,
1995 modifiers.cs, rootcontext.cs, statement.cs and typemanager.cs from mcs/mcs, to resync
1996 * added pending.cs from mcs/mcs, to resync
1998 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1999 * merged assign.cs, attribute.cs, enum.cs and namespace.cs from mcs/mcs, to resync
2000 * namespace.cs needed some fixing, because CSharpParser isn?t available
2002 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2003 * merged delegate.cs, ecore.cs, typemanager.cs and rootcontext.cs from mcs/mcs, to resolve expression.cs blues
2005 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2006 * oops merged expression.cs from mcs/mcs is breaking my make
2007 * driver.cs, assemblyinfo.cs wasn?t ready for prime time (offending lines were commented out)
2009 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2010 * merged expression.cs from mcs/mcs
2012 2002-06-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2013 * corrected Module.TypeAttr property getter in module.cs
2015 2002-06-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2016 * merged typemanager.cs from mcs/mcs
2018 2002-06-10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2019 * merged expression.cs and interface.cs from mcs/mcs
2021 2002-06-09 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2022 * merged const.cs, enum.cs, expression.cs and typemanager.cs from mcs/mcs
2023 * comments on module.cs
2025 2002-06-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2026 * merged class.cs, attribute.cs from mcs/mcs
2028 2002-06-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2029 * merged class.cs, enum.cs, expression.cs, interface.cs, rootcontext.cs and typemanager.cs from mcs/mcs
2030 * added module.cs (class Mono.MonoBASIC.Module - derived from Mono.CSharp.Class)
2031 * added System.XML and Microsoft.VisualBasic to the default config (driver.cs)
2033 2002-06-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2034 * merged class.cs and ecore.cs from mcs/mcs
2036 2002-06-02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2037 * copied methods MakeName and CheckDef from mcs\cs-parser.jay to GenericParser.cs
2038 where they are inherited by mb-parser.jay/cs
2039 * put some code on the Module rule in mb-parser.jay to at least generate a class in the assembly,
2040 if I jump over the entry-point check code, while debugging
2042 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2043 * class Mono.MonoBASIC.Tokenizer now handles
2044 - all valid line-terminators (CR, LF, CRLF, LS and PS)
2045 - escaped identifiers (like [Integer])
2046 - old-fashioned comments syntax (REM Blah-Blah)
2048 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2049 * modified mbas.ico to be a small version of mono?s logo (see mcs\MonoIcon.png)
2051 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2052 * squashed some reduce/reduce conflicts out of mb-parser.jay
2054 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2055 * merged codegen.cs from mcs
2056 * altered Driver.cs to work with new codegen.cs
2058 2002-05-27 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2060 * merged all I could from mcs source files into mbas
2061 * added VS.NET Solution and Project Files for mbas
2062 * added icon file and a vb-sources-filled testmbas directory
2063 * started this ChangeLog