1 2006-02-21 Jelmer Vernooij <jelmer@samba.org>
2 * Test/tests/statements/AssignmentStatementsJ.vb: Add test that
3 demonstrates bug in incremental property assignment.
5 2006-01-23 Jelmer Vernooij <jelmer@samba.org>
6 * Test/tests/typemembers/EventP.vb: Add tests that check for
7 more complex constructions in AddHandler / RemoveHandler.
8 * Test/tests/typemembers/EventO.vb: Test for parsing a WITHEVENTS
9 variable declaration after it is being used in a 'Handles ...' clause.
11 2005-12-21 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
12 * ecore.cs, cfold.cs: Changed for reflecting correct Error Number/Message with
13 Implict Convertions when Option Strict is On.
15 2005-12-07 Jelmer Vernooij <jelmer@samba.org>
16 * Makefile: allow build of only mbas, without the need to built the
19 2005-11-29 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
20 * test-mbas.pl: Parsing Test Files in order to find necessary
21 compilerOptions and generate the correct CompileCommand.
23 2005-11-28 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
24 * decl.cs: Avoid to stop searching for class members after encountering
25 the first member, in order to find the inherited or overloaded members.
27 2005-11-28 Jelmer Vernooij <jelmer@samba.org>
28 * Fix to Bugzilla Bug #76476: bash-specific code in
29 mbas/Test/misc/Makefile
31 2005-11-20 Jelmer Vernooij <jelmer@samba.org>
32 * genericparser.cs,decl.cs,class.cs: allow members with the same name
33 as their enclosing type, just like vbc does
35 2005-11-19 Jelmer Vernooij <jelmer@samba.org>
36 * mb-parser.jay: fix error handling when array modifiers are specified
37 on both type and variable name
39 2005-11-18 Jelmer Vernooij <jelmer@samba.org>
40 * mb-tokenizer.cs: add fix so the tokenizer no longer parses label
41 names at the start of continuation lines
43 2005-11-16 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
44 * mb-parser.jay: Do not create a set_block with ReadOnly Properties.
45 * typemanager.cs: Search for correct DefaultPropName and the class
46 Type that contains the Default Property.
47 * expression.cs: Send the correct Type for porperties search;
48 Fix Error with uses of default properties without a Default Property
51 2005-11-09 Renato Suga <renato.suga@gmail.com>
52 * mb-parser.jay: added STOP to statement rule to allow a keyword STOP
53 in an iteration_statement.
55 2005-11-07 Renato Suga <renato.suga@gmail.com>
56 * Expression.cs: commented this line:
57 // SimpleName.Error_ObjectRefRequired (ec, loc, me.Name);
60 2005-11-05 Kornél Pál <kornelpal@hotmail.com>
62 * AssemblyInfo.cs: Use Consts.MonoVersion as AssemblyVersion.
63 * mbas.exe.sources: Added Consts.cs.
65 2005-11-02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
66 * typemanager.cs: avoiding some Null Pointer Exceptions in GetPertinentStandardModules
68 2005-11-01 Aldo Monteiro do Nascimento <aldo@psl-pr.softwarelivre.org>
69 * mb-parser.jay: created a new parser rule to match a interface
70 declared inside another interface: "opt_interface_declaration"
71 * mb-parser.jay: when redeclare compiler constants no compilation
72 error is raised, and than the redeclaring works as expected.
74 2005-10-31 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
75 * ecore.cs: Fix UnboxCast Emit calling Activator.CreateInstance when
78 2005-10-29 Renato Suga<renato@psl-pr.softwarelivre.org>
79 * codegen.cs: Added static global ArrayList ArrListVersion to keep the
80 assembly's version numbers. reating a new Version(string str) is not
81 working. The Init() method was modified to correctly set the version value;
82 * attribute.cs: one of its constructor was modified to pass the string
83 version to CodeGen.ArrListVersion so that at Init () CodeGen sets the
86 2005-10-19 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
87 * class.cs: Casting TypeContainer to Interface in order to call the
88 correct overload of RootContext.RegisterOrder.
90 2005-10-12 Renato Suga <renato@psl-pr.softwarelivre.org>
91 * mb-parser.jay: foreach_statement now emits the correct error code for
92 test ForEachC1.vb, which is an error test
94 2005-10-11 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
96 * block.cs, statements.cs, mb-parser.jay: Support for On Error Goto 0,
97 On Error Goto -1 and On Error Goto <Label>
99 2005-10-07 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
100 Alexandre Rocha Lima e Marcondes <alexandre@psl-pr.softwarelivre.org>
101 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
103 * block.cs, statements.cs, expression.cs: Fix ForEach when iterating fields
105 2005-10-05 Aldo Monteiro <aldo@psl-pr.softwarelivre.org>
107 * ecore.cs : Created a public property (Id) to access externally the field
108 id in DecoratedIdentifier class
109 * assign.cs : Before get the expression for construct 'Mid' statement
110 testing if that expression is 'DecoratedIdentifier', and, if it is,
111 getting the expression assigned in its 'id' field.
113 2005-09-26 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
114 Alexandre Rocha Lima e Marcondes <alexandre@psl-pr.softwarelivre.org>
115 * mb-parser.jay: Fix ForEach when using fields as the variable used
116 to iterate through the elements.
117 * expression.cs: Created new LocalVariableReference EmitAssign used in
118 for each with non Static fields.
119 * statement.cs: Created new attribute of VariableInfo - FieldAlias wich
120 references a FieldBase indicated by the alias.
121 Added a field assign treatment if the foreach variable references
122 a non static field, in EmitCollectionForeach and EmitArrayForeach.
123 * mb-parser.jay, block.cs, statement.cs, expression.cs: Remove Bool Static
124 Attribute from VariableInfo class.
126 2005-09-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
127 * mb-parser.jay: Throws error for Option Strict on with Propeties
128 whitout an 'As' clause or a type character. Fix Interfaces errors with
131 2005-09-16 Renato Suga <renato@psl-pr.softwarelivre.org>
132 * mb-parser.jay:rules goto_statement and for_statement changed in order
133 to recognize error BC30757
134 * statement.cs: class added property LabelName and uncomented string
135 label_name. These changes allow one to get the LabelName when reporting
137 * block.cs: added property bool HasGotoStatement and property String
138 LabelName. The first one combined with HasLabeledStatement allows one to
139 identify the aforementioned error.
141 2005-09-15 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
142 Alexandre Rocha Lima e Marcondes
143 <alexandre@psl-pr.softwarelivre.org>
144 * mb-parser.jay : Error statement statemet support.
146 2005-08-23 Satya Sudha K <ksathyasudha@novell.com>
148 StatementSequence : Avoid Resolving multiple times
150 Minor fix to 'Constantify' method
152 2005-08-22 Satya Sudha K <ksathyasudha@novell.com>
154 Invocation's DoResolve method : Avoid resolving multiple times.
156 'GetPertinentStandardModules' : Case-insensitive name lookup
158 2005-08-19 Satya Sudha K <ksathyasudha@novell.com>
160 Preventing conversion of an 'object' to 't[]' where the latter is a
164 Fixed handling of 'Return' and 'Exit' statements from within
167 2005-08-09 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
168 * mb-parser.jay: Define as used the function's return variable,
169 because of bug #75747.
170 Fix Event errors with Shared modifiers.
172 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
174 * expression.cs: Initialize FieldBase variable. Fixes build using csc
175 because of bug #75721.
177 2005-08-05 Satya Sudha K <ksathyasudha@novell.com>
179 'ConstructArgumentList': Converting the default value to the param type before
180 appending to the arg list
182 2005-08-04:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
184 Oops, line number on Redim errors as Aldo/Renato intended
185 Better logic flow when redim errors occur to avoid exceptions later
187 2005-08-04 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
188 * statement.cs: Refactored code/fields from Redim to RedimClause
189 so that it works for multiple arrays being redimensioned in the same statement
190 * mb-parser.jay: redim_clauses rule was losing additional items
192 2005-08-04 Aldo Monteiro <aldo@psl-pr.softwarelivre.org>,
193 Renato Suga <renato@psl-pr.softwarelivre.org>
194 * mb-parser.jay: treatment of opt_type_spec in redim_clause
195 * statement.cs: changed constructor in class RedimClause so that it gets
196 an Expression. Report.Error now emits the line number too for ReDim
197 errors. New attribute in RedimClause: Expression ExprAs
199 2005-08-04 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
200 * mb-parser.jay: Fix local static variables initialization
202 2005-07-29 Satya Sudha K <ksathyasudha@novell.com>
203 * mb-parser.jay, expression.cs: Fixed concat operation with compound assign statements
204 * support.cs : Returning 'NullLiteral.Null', when a parameter default value is null
206 2005-07-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com> and Alexandre
207 Rocha Lima e Marcondes <alexandre@psl-pr.softwarelivre.org>
208 * block.cs: Local variable alias and static flag support and
209 MethodBlock class that knows the name of the Method that owns it
210 * class.cs: Static local specialname modificator emission
211 * expression.cs: Hidden static field access using the static local
213 * statement.cs: Local variable alias support and Static local flag
214 * mb-parser.jay: Static local identification and related erros
217 2005-07-26 Ankit Jain <jankit@novell.com>
219 * typemanager.cs (TypeManager): Change types of system_*_expr from Expression
221 (TypeToCoreTypExpr): New.
222 * ecore.cs (DecoratedIdentifier): New. For an identifier with a typecharacter.
223 * mb-tokenizer.cs: Allow type characters for numbers.
224 * constant.cs (IntConstant.ConvertToDecimal): New.
225 (DoubleConstant.ConvertToFloat): Return FloatConstant.
226 (DoubleConstant.ConvertToDecimal): New.
227 * mb-parser.jay (type_character): Return Type instead of TypeExpr.
228 (primary_expression): Add 'literal type_character' variant.
229 (qualified_identifier) : Use DecoratedIdentifier in case of a typecharacter.
230 (ConvertLiteral): New. Convert literal to a different type.
232 2005-07-25 Ankit Jain <jankit@novell.com>
234 * mb-parser.jay: RaiseEvent: Add code to check for null event.
236 2005-07-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
237 * block.cs: Fix dead code detection
239 2005-07-22 Satya Sudha K <ksathyasudha@novell.com>
240 * mb-tokenizer.cs: Fix for statements ending with ':'
242 2005-07-22 Manjula GHM <mmanjula@novell.com>
243 *mb-parser.jay: Check for type before resolving
245 2005-07-22 Ankit Jain <jankit@novell.com>
247 * mb-parser.jay: evt_handler_list: New.
248 opt_evt_handler, sub_declaration: Support multiple event handlers.
250 2005-07-21 Manjula GHM <mmanjula@novell.com>
251 *assign.cs: Support conversions in "new" assignment statement
253 2005-07-21 Satya Sudha K <ksathyasudha@novell.com>
254 * Support method invocation without '()'
256 2005-07-21 Manjula GHM <mmanjula@novell.com>
257 *assign.cs: Support conversions in "new" assignment statement
259 2005-07-21 Manjula GHM <mmanjula@novell.com>
260 * mb-parser.jay: Support type specifier for "ReDim" statements
262 2005-07-18 Satya Sudha K <ksathyasudha@novell.com>
263 * Supported overloading of properties (has to be tested thoroughly)
265 2005-07-13 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
267 * block.cs: Support and successfully find goto target labels
268 declared out of block that contains the goto statement.
270 2005-07-13 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
271 *statement.cs: extract class Block into new source block.cs
272 *mbas.exe.sources: added newly extracted block.cs
273 *block.cs: eliminated "block.cs(252) warning CS0219: The variable 'cur'
274 is assigned but its value is never used"
276 2005-07-12 Manjula GHM <mmanjula@novell.com>
277 * parameter.cs , ecore.cs : Changed error number and message according to .NET
279 2005-07-12 Manjula GHM <mmanjula@novell.com>
280 * cfold.cs: Support 'Nothing' for Constants.
283 2005-07-07 Manjula GHM <mmanjula@novell.com>
284 * mb-parser.jay: To avoid Array modifiers specified on both a variable and its type
286 2005-07-06 Umadevi S <sumadevi@novell.com>
287 * statement.cs - suppressing warnings due to unused variables in mbas compiler.
289 2005-07-05 Umadevi S <sumadevi@novell.com>
290 * expression.cs - added support to handle DBNull
292 2005-06-30:5 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
293 *ecore.cs: some tentative code preparing to support automatic definition of variables
294 on first usage with Option Explicit Off commented out as it breaks on emit phase, and
295 guesses wrong what should be automatically defined
297 2005-06-30:4 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
298 *statement.cs: some tentative code preparing to support automatic definition of variables
299 on first usage with Option Explicit Off. Converting backticks to apostrophes on messages
301 2005-06-30:3 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
302 *mb-parser.jay: small bits preparing to support automatic definition of variables
303 on first usage with Option Explicit Off
305 2005-06-30:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
306 *assign.cs: Killed exception occurring when resolving an assignment
307 to an undefined symbol (Explicit On scenario)
309 2005-06-30 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
310 *mb-parser.jay: Eliminating 'reduce/reduce conflicts' and 'rule never reduced'
311 by simplifying the directive_expression rule (formerly directive_exp).
313 2005-06-30 Manjula GHM <mmanjula@novell.com>
314 *mb-parser.jay: To support signed exponent
316 2005-06-30 Manjula GHM <mmanjula@novell.com>
317 *mb-tokenizer.c : Support hexadecimal literals - supports binary value
318 of the integer literal - like &H8000S is "-32768" and not an overflow exception
320 2005-06-28 Manjula GHM <mmanjula@novell.com>
321 *class.cs : Support suitable property to override
323 2005-06-27 Manjula GHM <mmanjula@novell.com>
325 *statement.cs: Support and successfully find label definition inside child block
327 2005-06-23 Manjula GHM <mmanjula@novell.com>
328 *mb-parser.jay: Clear the hashtable in end of block
330 2005-06-23 Manjula GHM <mmanjula@novell.com>
331 *mb-parser.jay: To disallow reassignment of object inside 'With...End With' block
333 2005-06-13 Manjula GHM <mmanjula@novell.com>
334 *statement.cs: To handle Goto in Try, Catch block
336 2005-06-10 Manjula GHM <mmanjula@novell.com>
337 *assign: To Support other types of source in Mid statement
339 2005-06-10 Manjula GHM <mmanjula@novell.com>
340 *assign: To Support Optional Max. Insert length value in Mid statement
342 2005-06-10 Manjula GHM <mmanjula@novell.com>
343 *assign.cs: Allow New Date assignment to other types
345 2005-06-08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
347 - Added informational attributes that Mono.GetOptions shows in the help screen.
348 - Bumped up the version number a bit
350 2005-06-07 Satya Sudha K <ksathyasudha@novell.com>
351 * class.cs : Disallowing default properties without parameters.
352 * Some cleanups in other files to get rid of warnings.
354 2005-06-03 Satya Sudha K <ksathyasudha@novell.com>
355 * expression.cs : Allowing '()' for property invocation with no args.
357 - Caching a property's arguments (as 'NoTypes') while registering a property
358 - If a name resolves to a field as well as a property, treat it as a field
359 - If a name resolves to a field as well as a event, giving preference to event
360 * parameters.cs : Case-insensitive search/comparison of parameter/arg names
362 2005-05-30 Satya Sudha K <ksathyasudha@novell.com>
363 * statement.cs : 'For Each' statement : Wrapping the body of the For loop inside an exception block
364 if the enumerator implements 'IDisposable' interface
366 2005-05-27 Satya Sudha K <ksathyasudha@novell.com>
369 - Supporting all kinds of case clauses (like 'A To B', 'Is >= 30')
370 - Expressions of all primitive types can now be specified as 'Select'
371 and 'Case' expressions
373 2005-05-27 Manjula GHM <mmanjula@novell.com>
374 * mb-parser.jay : To support "Sub New()" without modifier
376 2005-05-26 Manjula GHM <mmanjula@novell.com>
377 * typemanager.cs : Fix Enum conversion for two level assignment and added few more cases
379 2005-05-26 Manjula GHM <mmanjula@novell.com>
380 * statement.cs : Fix problem w.r.t 'Exit Sub'
382 2005-05-24 Satya Sudha K <ksathyasudha@novell.com>
383 * statement.cs : Added few more members like 'memberName' and 'type_expr' to the 'StatementSequence'
384 class. Added an appropriate constructor for the same.
385 * expression.cs: Late binding for method invocations involving object arguments
388 2005-05-23 Satya Sudha K <ksathyasudha@novell.com>
389 * statement.cs : Copying back the arguments (matching 'ByRef' parameters) in the reverse
390 order (starting with the last argument backwards) as done by vbc
392 2005-05-23 Satya Sudha K <ksathyasudha@novell.com>
393 * statement.cs : Support named arguments in late binding
395 2005-05-17 Satya Sudha K <ksathyasudha@novell.com>
396 * ecore.cs : Removed char <-> numeric/date conversions as they are not supported in vbc
398 2005-05-17 Satya Sudha K <ksathyasudha@novell.com>
400 - Disallowing named arguments for 'ParamArray' parameters
401 - Creating named arguments (to replace missing arguments), in case other arguments are also named
403 2005-05-16 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
404 * driver.cs : correcting/refactoring EntryPoint fixing as per #74955
405 adjusting references changed by Gonzalo to their new containing namespace.
406 small renaming refactorings to make things clearer.
407 * CompilerOptions.cs : refactored out all things that now live in
408 Mono.GetOptions.Useful.CommonCompilerOptions
410 2005-05-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
412 * driver.cs: fix ambiguous reference.
414 2005-05-16 Manjula GHM <mmanjula@novell.com>
415 * literal.cs: Declare NullType
416 * typemanager.cs: Invoke proper Decimal constructor
417 * ecore.cs : Support Decimal type in literalized version
421 Support Decimal constant declaration and retrieval of Decimal structure
424 2005-05-16 Satya Sudha K <ksathyasudha@novell.com>
425 * parameter.cs : Converting the default value (for optional param) to param type.
426 * ecore.cs : Fixed string <-> char constant conversions.
430 Support for named arguments
432 2005-05-12:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
433 * driver.cs : mcs having C# 2.0 features makes me slip some simplified delegate creation
434 code, that breaks with csc in Windows (as pointed by Atsushi)
435 * CompilerOptions.cs : moved some delegate definitions outside the class for shorter name when using.
437 2005-05-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
438 * driver.cs : slimmed down, most non-specific code moved to new class/source CompilerOptions.
439 Also steps where individualized and put on a array of delegates for sequencial execution
440 with stop-on-first-blunder behavior. It is similar to the configurable pipeline of the
442 * CompilerOptions.cs: added, refactored from inside driver.cs (some code/properties will migrate
443 further to Mono.GetOptions.Usefull.CommonCompilerOptions)
444 * mbas.exe.sources: added CompilerOptions.cs
446 2005-05-11 Ankit Jain <ankit@corewars.org>
448 * expression.cs (Invocation.CheckParameterAgainstArgument): Return ConversionType.Widening
449 for a NoArg argument. Fix earlier patch.
451 2005-05-11 Ankit Jain <ankit@corewars.org>
453 * expression.cs (Invocation.CheckParameterAgainstArgument): Return ConversionType.Narrowing
454 for a NoArg argument.
455 (Invocation.IsApplicable): Don't create a REF type argument if it is NoArg.
456 (Invocation.ConstructArgumentList): Create argument with its DefaultValue for a NoArg.
458 2005-05-10 Satya Sudha K <ksathyasudha@novell.com>
459 * statement.cs, expression.cs, assign.cs :
460 Patch to allow latebinding expressions to be specified as ByRef arguments
462 2005-05-10 Raja R Harinath <rharinath@novell.com>
464 * driver.cs (InitializeRootContextAndOthersFromOptions):
465 Overwrite RootContext.RootNamespace only if there's a value.
467 2005-05-09 Satya Sudha K <ksathyasudha@novell.com>
468 * parameter.cs : Support 'Optional ByRef' parameters
469 * statement.cs : Using 'System.Reflection.Missing.Value' in case of missing argument for
472 2005-05-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
473 * driver.cs : Oops, correcting some find-and-replace mishaps
475 2005-05-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
476 * driver.cs : Refactored to use Mono.GetOptions.Useful.CommonCompilerOptions
478 2005-05-05 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
479 * mb-parser.jay : Correction to allow optional type caracters in some situations.
480 Now 6 more tests under mbas/Test/tests/types compile and 3 more compile and run.
481 Patch contributed by Brazilian MonoBASIC Team:
482 Aldo Monteiro do Nascimento <aldomonteiro@gmail.com>
483 Alessandro de Oliveira Binhara <binhara@psl-pr.softwarelivre.org>
484 Alexandre Rocha Lima e Marcondes <alexandre.marcondes@psl-pr.softwarelivre.org>
485 Ramiro Batista da Luz <ramiroluz@gmail.com>
486 Renato Suga <renatos@techresult.com.br>
488 2005-05-05 Satya Sudha K <ksathyasudha@novell.com>
491 Changed the 'For' class to :
492 - Handle negative step values
493 - Supporting all types (numeric/object) of loop control variables
495 * expression.cs : Removed some unused methods
496 * ecore.cs : Added float/double -> decimal conversion to NarrowingConversion
498 2005-05-02 Manjula GHM <mmanjula@novell.com>
499 * expression.cs : Support Reference Parameter - when argument and parameter are different.
501 2005-04-29 Satya Sudha K <ksathyasudha@novell.com>
507 Support for 'LateSet', 'LateIndexGet', 'LateIndexSet'
510 Minor fixes in conversions
512 2005-04-26 Manjula GHM <mmanjula@novell.com>
514 "out" is not supported as Parameter Modifier in VB.NET
516 2005-04-26 Manjula GHM <mmanjula@novell.com>
522 "out" is not supported as Parameter Modifier in VB.NET
523 2005-04-21 Satya Sudha K <ksathyasudha@novell.com>
525 Fixed object to bool/float/double conversions
526 Fixed numeric <--> Enum conversions
530 (Initial) Support for 'LateGet'
532 2005-04-18 Manjula GHM <mmanjula@novell.com>
534 Support expressions for Directives
535 2005-04-19 Satya Sudha K <ksathyasudha@novell.com>
537 Fixed conversions from 'object' to double, float, decimal and long
539 2005-04-18 Manjula GHM <mmanjula@novell.com>
541 Support Conditional Constant Directives
543 2005-04-13 Manjula GHM <mmanjula@novell.com>
544 * expression.cs : To support 'Or' argument of AttributeTargets in AttributeUsage
545 2005-04-12 Satya Sudha K <ksathyasudha@novell.com>
547 Introduced a class 'StatementSequence', to translate a late-binding call to a block of statements
549 Support for late binding (Not complete yet. Some basic method invocations work as of now)
551 2005-04-06 Ritvik Mayank <mritvik@novell.com>
552 by Sudharsan V <vsudharsan@novell.com>
553 * class.cs: correction for reflecting the correct Line No. in the Error message
554 2005-04-05 Ritvik Mayank <mritvik@novell.com>
555 Patch Submitted by Sudharsan V <vsudharsan@novell.com>
556 * mb-parser.jay : correction for reflecting the correct Line No. in the Error message
558 2005-03-31 Manjula GHM <mmanjula@novell.com>
559 *mb-tokenizer.cs:To fix make test failure
560 2005-03-31 Manjula GHM <mmanjula@novell.com>
561 *mb-tokenizer.cs: Support declaration of decimal numbers with no digits before point like '.52' instead of '0.52'
563 2005-03-29 Manjula GHM <mmanjula@novell.com>
564 *assign.cs: Disallow New Date assignment with types other than date and object type
566 2005-03-25:3 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
567 * AssemblyInfo.cs: Small increment in the version number to publicize --codepage support
569 2005-03-25:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
570 * genericparser.cs: another static Parse overload to support specifying encoding when parsing from a file.
571 * driver.cs: obsoletes --tokenize, record currentEncoding for each source-file to be processed, call the new Parse overload
572 Implement support for a --codepage option similar to mcs. Example:
573 mono mbas.exe --codepage:1252 WindowsANSI.vb --codepage:utf8 UTF8.vb --codepage:reset currentcharset.vb
575 2005-03-25:1 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
576 * genericparser.cs: another Parse overload to support specifying encoding when parsing from a file.
577 Preparing to implement support for a /codepage option similar to mcs
579 2005-03-24 Manjula GHM <mmanjula@novell.com>
580 * mb-tokenizer.cs: To fix parser error for ExternalSource Directives
582 2005-03-24 Satya Sudha K <ksathyasudha@novell.com>
584 - Support for Dictionary Member Access Expressions
585 - Exponentiation operator in compound assignments
586 * expression.cs : Merged 'Exponentiation' class with 'Binary' class
587 * cfold.cs : Fixed constant division (both '\' and '/')
589 2005-03-24 Manjula GHM <mmanjula@novell.com>
590 * mb-parser.jay,mb-tokenizer.cs: Support 'End Statement' in parser and tokenizer file
592 2005-03-24 Manjula GHM <mmanjula@novell.com>
593 Sudharsan V <vsudharsan@novell.com>
594 * mb-parser.jay,mb-tokenizer.cs:
595 Revamped end of block logic
597 2005-03-24 Manjula GHM <mmanjula@novell.com>
598 * statement.cs: Fix bug in 'Exit Function'
600 2005-03-23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
601 * AssemblyInfo.cs: Some more diligent authors
602 * ecore.cs, cfold.cs, delegate.cs: remove warnings-causing code
604 2005-03-22 Satya Sudha K <ksathyasudha@novell.com>
607 Fix for 'MyClass' instance expressions
609 2005-03-22 Satya Sudha K <ksathyasudha@novell.com>
610 Sudharsan V <vsudharsan@novell.com>
612 Removed some conflicts in the grammar
614 2005-03-21 Manjula GHM <mmanjula@novell.com>
615 * statement.cs: Implementation of 'End' Statement which terminates execution immediately
617 2005-03-18 Satya Sudha K <ksathyasudha@novell.com>
621 Supported 'Like' operator
623 2005-03-18 Manjula GHM <mmanjula@novell.com>
624 Sudharsan V <vsudharsan@novell.com>
626 Some more fixes related to displaying correct line number
628 2005-03-17 Manjula GHM <mmanjula@novell.com>
629 *ecore.cs : rounding the double values before converting to Integer types
631 2005-03-17 Manjula GHM <mmanjula@novell.com>
632 *ecore.cs : Support Double in case statement and do necessary conversion to Int Literal
634 2005-03-16 Manjula GHM <mmanjula@novell.com>
636 Support 'expression TO expression' case clause for select statement
638 2005-03-15 Satya Sudha K <ksathyasudha@novell.com>
641 Supported '\' (int division) operator
643 2005-03-11 Manjula GHM <mmanjula@novell.com>
644 Sudharsan V <vsudharsan@novell.com>
646 Fixes related to displaying correct line number,error message and handle End of blocks
648 2005-03-11 Satya Sudha K <ksathyasudha@novell.com>
650 Support for 'Nothing' with all operators.
651 A few fixes to the 'DoNumericPromotions' method
653 Fixed Boolean constant conversions
654 Supported conversion of 'nothing' to value types
656 2005-03-10 Manjula GHM <mmanjula@novell.com>
658 Support 'Is' for all reference types
660 2005-03-10 Satya Sudha K <sathyasudha@novell.com>
663 Support for 'AndAlso' and 'OrElse' operator
665 2005-03-09 Manjula GHM <mmanjula@novell.com>
668 Support 'Is' Expression
670 2005-03-08 Satya Sudha K <ksathyasudha@novell.com>
671 * ecore.cs : Included Decimal -> Single/double conversions in 'WideningConversionExists' method
672 * expression.cs : Fixed the behaviour of some Unary operators
673 Allowing Exponentiation on object types
675 2005-03-08 Manjula GHM <mmanjula@novell.com>
676 *assign.cs : Bug fix - new Object creation and object assignment
678 2005-03-07 Satya Sudha K <ksathyasudha@novell.com>
679 * mb-parser.jay : Support for shift operators
680 * assign.cs : Calling 'RuntimeHelpers.GetObjectValue' during new Object creation
681 (to make it consistent with vbc)
682 * ecore.cs : Implicit constant conversions - rounding the float/double values before
683 converting to Integer types
686 * Corrected the opertor names
687 * Allowing unary plus and minus on strings (by converting
689 * Allowing 'Not' operator on all numeric/string types
690 (float/double/decimal/strings are converted to long)
691 * In case of short/byte operations, changing the end result back to short/byte
692 Exponentiation class :
693 * Disallowing '^' operator on dates/char/ reference types
695 * Corrected operator names
696 * And-ing the right operand with appropriate mask in case of shift operators
697 * In case of short/byte operations, changing the end result back to short/byte
698 * Re-organised the code of the 'ResolveOperator' method:
699 * code organised according to expression types
700 * Performing the required conversions before 'OverloadResolve'
701 * Did the following fixes :
702 * Fixed string/bool behaviour with logical/shift operators
703 * Disallow arithmatic operators on char and dates
704 * Fixed DateTime comparisons
705 * Using methods of 'System.Decimal' for all Decimal operations
706 * Supporting all operators with enum types
707 * Allowing arithmatic/relational/shift/logical operators on type 'object'
709 2005-03-04 Manjula GHM <mmanjula@novell.com>
712 Support Mid Assignment Statement
714 2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
715 * driver.cs: correcting the handling of many options.
716 * Upgraded to latest Mono.GetOptions that supports vbc style boolean arguments /debug+ /debug-, and /help2 to hide less used options
718 2005-02-25 Satya Sudha K <ksathyasudha@novell.com>
721 Fix for default properties by Raja Harinath
723 2005-02-22 Manjula GHM <mmanjula@novell.com>
724 *expression.cs: Handle String and date before Overloadresolve
725 Added code for char + char
726 Handle One of operands is value type in Relational operators
727 Handle when both are Object types
729 2005-02-22 Manjula GHM <mmanjula@novell.com>
730 *expression.cs: Handle Bool w.r.t Logical operators
732 2005-02-21 Manjula GHM <mmanjula@novell.com>
733 *expression.cs: Handle all cases of relational Operators w.r.t String types
735 2005-02-21 Manjula GHM <mmanjula@novell.com>
736 *mb-parser.jay: Throws error for missing END statements - by Sudharsan V
738 2005-02-18 Satya Sudha K <ksathyasudha@novell.com>
740 Modified Implicit Constant conversions to :
741 * Handle Long/Float/Double Constants also
742 * Throw a compile time error if constant cannot be converted to a specified type
746 Widening Enum constants to constants of underlying type before doing the conversions
748 Added support for exponentiation operator for constants
749 * enum.cs : Allowing double values to be specified as enum values
752 2005-02-17 Manjula GHM <mmanjula@novell.com>
754 Support relational operator for other types
756 2005-02-15 Manjula GHM <mmanjula@novell.com>
758 Fixed conversion from char[] to String
760 2005-02-15 Manjula GHM <mmanjula@novell.com>
761 * expression.cs: Fixed concat of string and char using '+" operator
763 2005-02-14 Manjula GHM <mmanjula@novell.com>
765 Fixed all String to char conversions
767 2005-02-14 Satya Sudha K <ksathyasudha@novell.com>
769 - Fixed one of my previous checkin, which was breaking some test cases.
771 - Fixed the explicit conversion of float/double to integral types in some places.
773 2005-02-11 Ritvik Mayank <mritvik@novell.com>
778 Changed for reflecting correct Error Number
780 2005-02-10 Satya Sudha K <ksathyasudha@novell.com>
782 - Implemented Exponentiation operator (^)
783 - Fixed the behaviour of strings in arithmatic operations (only addition
784 was supported before)
785 - Fixed Decimal arithmatic with float/double types
786 - If operation = Division, promoting both operands to double, otherwise
787 doing numeric promotions
788 * mb-parser.jay : Changes related to the Exponentiation operator
790 2005-02-10 Manjula GHM <mmanjula@novell.com>
791 * expression.cs: Fixed concat of date and string using '+" operator
793 2005-02-08 Satya Sudha K <ksathyasudha@novell.com>
794 * assign.cs: Fix for implicit conversions in Compound Assignments
796 - Fixed the explicit conversion of float/double to integral types
797 by rounding the float/double values before performing the actual
799 - Using 'ConvCast' instead of 'OpcodeCast' for Narrowing conversions
801 2005-02-07 Ritvik Mayank <mritvik@novell.com>
808 Changed for reflecting correct Error Number.
810 2005-02-07 Manjula GHM <mmanjula@novell.com>
811 * mb-parser.jay: Some more fixes related to displaying correct line number
813 2005-02-04 Satya Sudha K <ksathyasudha@novell.com>
814 * ecore.cs : Fixed the implicit conversion of float/double to integral types:
815 - Rounding the float/double values before performing the actual conversion
817 * expression.cs : 1) Added a class 'StringConcat' to handle string concatenations
818 2) Fixed string conversions in arithmatic operations
820 * mb-parser.jay : Create a new 'StringConcat' object (instead of Binary) for concat_expression
822 2005-02-03 Manjula GHM <mmanjula@novell.com>
823 *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.
825 2005-02-03 Manjula GHM <mmanjula@novell.com>
828 Modified Project and solution files to reflect new changes
830 2005-01-29 Ritvik Mayank <mritvik@novell.com>
837 Changed for reflecting correct Error Number/Message.
839 2005/01/29 Satya Sudha K <ksathyasudha@novell.com>
840 * ecore.cs : Added code for String conversions.
842 2005/01/28 Satya Sudha K <ksathyasudha@novell.com>
843 * ecore.cs : Added a few fixes for Boolean to Numeric Conversions
845 2005/01/25 Satya Sudha K <ksathyasudha@novell.com>
846 * ecore.cs : Added support for Implicit numeric conversions.
847 Most of the work on this patch done by Jambunathan K
849 2005/01/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
850 * driver.cs : correct handling of /imports command-line option.
851 Patch from Hans Kratz <kratz@omnicore.com>
853 2005-01-13 Ritvik Mayank <mritvik@novell.com>
854 * mb-parser.jay: Changed Error Number for Modifiers.PRIVATE to throw the right ExceptionNumber as 31089 .
855 * mb-parser.jay: Added Modifiers.PROTECTED to throw the right Error Number as 31047 .
857 2005-01-13 Ritvik Mayank <mritvik@novell.com>
858 * ecore.cs: Changed the Error Number for setter as 30526 and getter as 30524 in Expression DoResolveLValue .
859 * expression.cs: Changed the Error Number for set == null as 30526 and get == null as 30524 .
861 2005-01-13 Ritvik Mayank <mritvik@novell.com>
862 * statement.cs: For 'if (RedimTarget.Type.GetArrayRank() != args.Count)' changed the Error Number as 3415 .
864 2005-01-12 Anirban Bhattacharjee <banirban@novell.com>
865 * mb-parser.jay: Replaced "logical_end_of_line" with "end_of_stmt" in couple of places
866 to support delemeter ':' along with "EOL" as end of statement
868 2005-01-12 Anirban Bhattacharjee <banirban@novell.com>
869 * statement.cs: Another trivial correction
871 2005-01-11 Anirban Bhattacharjee <banirban@novell.com>
872 * statement.cs: A trivial correction in yesterday's check-in
874 2005-01-10 Anirban Bhattacharjee <banirban@novell.com>
885 Removed warnings from all the above files which were showing up during make
888 2005-01-10 Anirban Bhattacharjee <banirban@novell.com>
889 * mb-parser.jay: Check for the overloaded property
891 2005-01-10 Anirban Bhattacharjee <banirban@novell.com>
892 * class.cs: A better check provided before adding a property to TypeContainer
894 2004-12-21 Anirban Bhattacharjee <banirban@novell.com>
900 IndexerName variable is now known as DefaultPropName in the above files
902 2004-12-21 Anirban Bhattacharjee <banirban@novell.com>
903 * mb-parser.jay: A check which restrict declaring more than one property
904 as default within same class
906 2004-12-21 Anirban Bhattacharjee <banirban@novell.com>
907 * class.cs: -Mbas will emit DefaultMemberConstuctor attribute for the class
908 which is having Default Property so that it can be recognized by
910 - Removed Indexer class and some of the legacy code inherited from mcs
911 * typemanager.cs: Initialized DefaultMemberAttribute constructor info
913 2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
915 * driver.cs: -q --quiet works, inclusive for the "Alpha" message
916 * Test/misc/Makefile : Added dependency on newly compiled compiler for the test executable
918 2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
919 * driver.cs: it was "monostyled" and some extract method refactorings to make things clear
920 now -q --quiet works, inclusive for the "Alpha" message
921 * Test/misc/Makefile : Added dependency on newly compiled compiler for the test executable
923 2004-11-30 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
924 * Test/misc/Makefile : Compile new RedimPreserve.vb test source
925 * Added Test/misc/RedimPreserve.vb
927 2004-11-30 Alexandre Rocha Lima e Marcondes <alexandremarcondes@psl-pr.softwarelivre.org>
928 * Makefile: Included Microsoft.VisualBasic.dll assembly on LOCAL_MCS_FLAGS.
929 * expression.cs: Created class Preserve to implement REDIM PRESERVE syntax.
930 * statement.cs: Implemented REDIM PRESERVE syntax on Redim.Resolve().
932 2004-11-25 Raja R Harinath <rharinath@novell.com>
933 * Makefile (SUBDIRS): Just list Test.
934 (mb-parser.cs): Depend on jay/skeleton.cs.
936 2004-11-25 Raja R Harinath <rharinath@novell.com>
938 Update to changes in jay/skeleton.cs.
939 * genericparser.cs (yacc_verbose_flag): Change to 'int'.
940 * mb-parser.jay (parse): Update to changes.
941 * driver.cs (verbose): Likewise.
943 2004-11-24 Jambunathan K <kjambunathan@novell.com>
944 * class.cs: Factored out classes - 1) GetMethod and SetMethod from
945 Property and 2) AddDelegateMethod and RemoveDelegateMethod from
948 * mb-parser.jay: Related changes.
950 2004-11-22 Jambunathan K <kjambunathan@novell.com>
951 * enum.cs: Factored out a new class EnumMember from the existing
952 class Enum. Much of the functionality that existed in
953 Enum.LookupEnumValue() is now moved in to
954 EnumMember.DoDefineMember().
956 One significant departure from the previous Enum implmenentation
957 is that now the resolution of an EnumMember's value happens in the
958 EmitContext set up for the Enum.
961 * expression.cs: Trivial changes related to the above change.
963 2004-11-22 Jambunathan K <kjambunathan@novell.com>
964 * Makefile: Added new make target 'consolidate-test-results'.
966 2004-11-22 Jambunathan K <kjambunathan@novell.com>
967 * Makefile: Run "make run-test" or "make run-test-ondotnet" to
968 exercise mbas test cases.
970 * testmbas: Moved the test files under this directory to Test/misc
971 where it rightfully belongs.
973 2004-11-17 Jambunathan K <kjambunathan@novell.com>
974 * attribute.cs: Temporarily made Attribute.UnManagedType public.
976 * class.cs: Removed the instance method
977 MethodCore.LabelParameters() and moved it's functionality to the
978 new instance methods Parameters.LabelParameters() and
979 Parameter.DefineParameter().
981 * parameter.cs: Introduced new instance methods
982 Parameters.LabelParameters() and Parameter.DefineParameter() and
983 slightly improved Parameter.ApplyAttributeBuilder().
985 2004-11-17 Jambunathan K <kjambunathan@novell.com>
986 * mb-parser.jay: During multi-file compilation, global attributes
987 were not getting parsed properly. Fixed the same.
989 2004/10/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
990 * mb-parser.jay : correcting global attributes handling, because it was
991 issuing wrong warnings for trivial files like testmbas/WriteOK.vb.
992 * Makefile : adding testmbas/AssemblyInfo.vb to some test compilations
994 2004-11-10 Jambunathan K <kjambunathan@novell.com>
995 * attribute.cs: 1) Replaced the static method
996 Attribute.GetValidPlaces() with an equivalent instance method
997 Attribute.GetValidTargets() 2) Added new methods Attributes.Emit
998 () and Attribute.Emit(). 3) Migrated functionality of
999 ApplyAttributes to ApplyAttributeBuilder of respective classes.
1001 * class.cs, decl.cs, codegen.cs, const.cs, parameter.cs :
1002 Implemented ApplyAttributeBuilder() in the following classes:
1003 TypeContainer, Constructor, Field, Property, Event, DeclSpace,
1004 AssemblyClass, ModuleClass, Const, Method, Parameter.
1006 * codegen.cs: Implemented Emit() in the following classes:
1007 AssemblyClass and ModuleClass.
1009 The ApplyAttributeBuilder() is currently just a placeholder for
1010 future code that is yet to come.
1012 2004-11-09 Jambunathan K <kjambunathan@novell.com>
1013 * class.cs: Coalesced the functionality of Property and
1014 PropertyBase in to Property class and removed the class
1018 2004-11-09 Jambunathan K <kjambunathan@novell.com>
1020 * attribute.cs: Injected a new virtual property
1021 Attributable.AttributeTargets
1023 * decl.cs: Made MemeberCore a derived class of
1026 * parameter.cs: Made Parameter a derived class of
1029 * class.cs: Commented out the "never used" class Indexer. I
1030 suspect that the class will never be required in VB.NET context
1031 and can possibly be stripped off after careful inspection.
1033 * tree.cs, module.cs, interface.cs, enum.cs, delegate.cs,
1034 const.cs, codegen.cs: Changes necessiated by the above changes.
1036 2004-11-07 Jambunathan K <kjambunathan@novell.com>
1037 * typemanager.cs: Removed TypeManager.builder_to_attr which was
1038 redundant and replaced LookupAttr with LookupClass.
1041 * module.cs: Miscellaneous changes
1043 * mb-parser.jay: Upadted actions of the attributes grammar
1045 * codegen.cs: 1) Introduced new classes CommonAssemblyModulClass,
1046 AssemblyClass, ModuleClass 2) Introduced following methods
1047 CodeGen.AddGlobalAttributes, CodeGen.EmitGlobalAttributes
1049 * class.cs: Factored out TypeContainer.AttributeUsage
1051 * attribute.cs: 1) Factored out Attribute.UsageAttribute and
1052 Attribute.GetAttributeUsage 2) Introducing the new base class
1053 Attributable from which all Attributable types will be derived in
1054 the future 3) Added new accessors Attribute.IsAssemblyAttribute
1055 and Attribute.IsModuleAttribute
1057 2004-11-06 Jambunathan K <kjambunathan@novell.com>
1058 * rootcontext.cs: Removed the static field -
1059 RootContext:global_attribute.
1061 2004-11-06 Jambunathan K <kjambunathan@novell.com>
1063 * attribute.cs: Removed the incomplete and (for now) unnecessary
1064 Mono.MonoBASIC.Operator class. Let us bother about this later.
1066 Stripping off these unused bits will help me in 1) refactoring the
1067 mbas Attributes related code 2) reusing the code from the mcs code
1070 2004-11-06 Jambunathan K <kjambunathan@novell.com>
1071 * class.cs: Removed the incomplete and (for now) unnecessary
1072 operator methods. Let us bother about this later.
1074 2004-11-06 Jambunathan K <kjambunathan@novell.com>
1075 * attribute.cs: Removed the redundant AttributeSection class and
1076 moved it's functionality to Attributes class.
1079 * module.cs: Replaced references to AttributeSection with the equivalent constructs.
1080 * rootcontext.cs: Removed the following unused methods
1081 AddGlobalAttribute and AddGlobalAttributeSection.
1083 2004-11-03 Anirban Bhattacharjee <banirban@novell.com>
1084 * mb-parser.jay: Trivial fix for bug #68985
1086 2004-11-04 Jambunathan K <kjambunathan@novell.com>
1087 * mb-parser.jay: Syntactic error handling for attribute grammar.
1089 2004-10-25 Anirban Bhattacharjee <banirban@novell.com>
1090 * statement.cs: VB .Net specific exception number
1092 2004-10-25 Anirban Bhattacharjee <banirban@novell.com>
1093 * mb-parser.jay: Enhanced catch grammar to accept
1095 * statement.cs: Changed Catch and Try classes accordingly
1096 to emit catch statement conditionally
1098 2004/10/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1099 * driver.cs : accept also -t:library as vbc does, besides /target:library
1101 2004-10-21 Anirban Bhattacharjee <banirban@novell.com>
1102 * statement.cs: Introduced few specific execptions
1103 Changed exception number
1105 2004-10-21 Anirban Bhattacharjee <banirban@novell.com>
1106 * statement.cs: A trivial fix to get Exit Try working
1108 2004-10-21 Jambunathan K <kjambunathan@novell.com>
1109 * typemanager.cs (LookupType, LookupTypeDirect): Added a negative
1110 cache for failed type lookups (stolen from mcs' typemanager.cs).
1111 mbas gets a performance boost of about 20 times due to this
1114 * driver.cs (MainDriver): Made the warning message a little less
1115 scary and more inviting for first time users.
1117 2004-10-19 Anirban Bhattacharjee <banirban@novell.com>
1118 * mb-parser.jay: Enhanced For Each...Next statement grammar
1120 2004-10-15 Anirban Bhattacharjee <banirban@novell.com>
1121 * mb-parser.jay: Little improvement in For...next statement
1123 2004-10-14 Anirban Bhattacharjee <banirban@novell.com>
1124 * mb-parser.jay: For statement is enabled to take
1125 optional declaration of the counter variable.
1126 E.g. now for statement can be declared as
1127 For i as integer = 0 to 5
1130 2004/10/08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1131 * Makefile: added target 'profile', changed some sources in testmbas/ to use for that purpose.
1133 2004-10-11 Anirban Bhattacharjee <banirban@novell.com>
1134 * mb-parser.jay: More improvement in 'IF' statement
1136 2004-10-11 Anirban Bhattacharjee <banirban@novell.com>
1137 * mb-parser.jay: If statement is enabled to parse
1138 following type of statement
1139 If <condition> Then <statement> else <statement>
1141 2004/10/08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1142 * typemanager.cs: Changing StandardModule to use less memory, by doing string
1143 concatenation only once. It was wasting 1 MB on the test case.
1145 2004-10-06 Anirban Bhattacharjee <banirban@novell.com>
1146 * mb-parser.jay: Added support for Call keyword in invocation statement
1148 2004-10-01 Anirban Bhattacharjee <banirban@novell.com>
1149 * ecore.cs: Bug fixing - when event raised from other assembly
1151 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
1154 Removed unused event_target field from
1155 AddHandler and RemoveHandler
1157 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
1158 * mb-parser.jay: RemoveHandler function made cleaner
1160 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
1163 Fix for resolution of event expression
1164 when we have a AddHandler statement
1166 AddHandler Me.E, AddressOf Me.EH
1167 Submitted by Raja Harinath<rharinath@novell.com>
1169 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
1170 * mb-parser.jay: Unnecessary to and fro conversion of types
1171 is removed from AddHandler function
1173 2004-09-23 Anirban Bhattacharjee <banirban@novell.com>
1174 * expression.cs: Enhanced mbas to resolve Default property or indexer
1176 2004-09-21 Anirban Bhattacharjee <banirban@novell.com>
1177 * mb-parser.jay: Fixed bug #66231 -
1178 Now, Me.SubName, MyBase.SubName or any other qualified name
1179 is supported by AddressOf operator
1181 2004-09-15 Anirban Bhattacharjee <banirban@novell.com>
1182 * enum.cs: Made Enum member lookup case insensitive
1184 2004-09-15 Anirban Bhattacharjee <banirban@novell.com>
1185 * support.cs: Retrieving default value from another assembly in ReflectionParameters class
1187 2004-09-15 Anirban Bhattacharjee <banirban@novell.com>
1188 * class.cs: Support for enum in default constant value for optional parameters
1190 2004-09-14 Anirban Bhattacharjee <banirban@novell.com>
1191 * mb-parser.jay: Fixed exception number for type confliction in method parameter
1193 2004-09-14 Anirban Bhattacharjee <banirban@novell.com>
1194 * class.cs: Set default constant value for optional parameters in ParameterBuilder
1195 * parameter.cs: Setting optional attribute
1196 These two fixes makes sure that optional parameter with default value get emitted correctly
1198 2004-08-27 Anirban Bhattacharjee <banirban@novell.com>
1199 2004-09-08 Bernie Solomon <bernard@ugsolutions.com>
1200 * mb-parser.jay: fix CopyTo args when parsing parameters
1202 2004-09-08 Bernie Solomon <bernard@ugsolutions.com>
1203 * expression.cs: cope with ParamArray for no args
1204 * mb-parser.jay: dump parsing exception with --stacktrace
1206 2004/08/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1207 * mb-parser.jay : some changes just not to stumble in global attributes definitions in multiple-lines
1208 like we have in VS.NET generated AssemblyInfo.vb files. still need to really process that definitions like mcs does
1210 2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
1212 * mb-tokenizer.cs: first cut at implementing
1215 2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
1220 * support.cs: work on improving overload resolution
1222 2004-08-30 Bernie Solomon <bernard@ugsolutions.com>
1223 * class.cs (FindMembers): filter on modflags
1224 for constructors & constructors are never inherited
1226 * decl.cs (SetupCache): constructors are not
1229 2004-08-27 Anirban Bhattacharjee <banirban@novell.com>
1230 * driver.cs: bug fixing - #63580
1232 2004/08/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1233 * testmbas/WriteOk.vb : Use Mono.GetOptions from VB.NET
1234 * Makefile : exercise new option processing in test program [make-run-local target]
1236 2004-08-26 Bernie Solomon <bernard@ugsolutions.com>
1237 * mb-parser.jay: rework parsing of ParamArray parameters
1239 2004-08-23 Bernie Solomon <bernard@ugsolutions.com>
1240 * mb-parser.jay: cope with more varieties of array declarations
1242 2004-08-20 Anirban Bhattacharjee <banirban@novell.com>
1243 * statement.cs: Bug fixing - Prevent AddHandler from getting resolved second time. This is critical for ASP programs with VB.
1245 2004-08-20 Anirban Bhattacharjee <banirban@novell.com>
1246 * expression.cs: Bug fixing - reference to the current type is fixed during BaseAccess resolution
1248 2004/08/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1249 * driver.cs : Some cleanup, also renamed checked option as it was removeintchecks in disguise
1251 2004-08-18 Anirban Bhattacharjee <banirban@novell.com>
1252 * mb-parser.jay: MyBase support in Handles clause e.g.
1253 Sub EH() Handles MyBase.E
1255 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1256 * mb-parser.jay: Trivial fix (#63213)
1258 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1261 -Bug fixed to resolve the ReadOnly properties from base class
1262 -Fixed bug in resolving properties from different assembly
1264 2004-08-14 Bernie Solomon <bernard@ugsolutions.com>
1265 * mb-parser.jay: fix block used as body of For Each
1267 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1268 * expression.cs: Bug fixing for compiling VB script generated by ASP page - AddressOf operator in a method argument will resolve methods outside assembly
1270 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1271 * class.cs: bug fixing to get PropertyE.vb test running - search of overridable property in base class was failing
1273 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1274 * typemanager.cs: Little correction in my last checked-in code - removed unnecessary return value from ExpandAllInterfaces function
1276 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1277 * class.cs: Trivial bug fixing to get test InterfaceB.vb going
1279 2004-08-13 Rob Tillie <Rob.Tillie@student.tul.edu>
1280 * ecore.cs: added runtime conversion from string to DateTime (fixes test 13329).
1282 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1286 Multiple interface inheritance implemented - fix for getting InheritanceD.vb working in bteasts
1288 2004-08-12 Anirban Bhattacharjee <banirban@novell.com>
1289 * mb-parser.jay: Implements support in Abstract methods
1291 2004-08-12 Anirban Bhattacharjee <banirban@novell.com>
1292 * class.cs: Support for abstract method resolution
1293 * pending.cs: Type of pending_implementations is set to base type
1294 Changed method names IsInterfaceIndexer and IsInterfaceMethod to IsAbstractIndexer and IsAbstractMethod respectively to make them more meaningful
1296 2004-08-11 Bernie Solomon <bernard@ugsolutions.com>
1297 * mb-parser.jay: first cut at TypeOf ... Is
1299 2004-08-11 Bernie Solomon <bernard@ugsolutions.com>
1301 * ecore.cs: More enum changes to handle
1302 implicit conversions better
1304 2004-08-11 Anirban Bhattacharjee <banirban@novell.com>
1305 * mb-parser.jay: Interface inheritance made better
1307 2004-08-09 Jambunathan K <kjambunathan@novell.com>
1308 * mb-parser.jay: Sanitized parser's generic error message
1310 2004-08-07 Anirban Bhattacharjee <banirban@novell.com>
1311 * enum.cs: Enum members became enum type now, instead of underlying type
1313 2004-08-07 Bernie Solomon <bernard@ugsolutions.com>
1314 * mb-parser.jay: Implement GetType(x)
1315 implement Is as equals for the moment so it can be used
1317 2004-08-07 Anirban Bhattacharjee <banirban@novell.com>
1318 * mb-parser.jay: Check for empty enum declaration
1320 2004-08-07 Anirban Bhattacharjee <banirban@novell.com>
1323 Multiple Implements for a particular type member got implemented
1325 2004-08-06 Bernie Solomon <bernard@ugsolutions.com>
1327 * support.cs: Make ReflectionParameter behave
1328 like InternalParameter for byref args.
1329 * expression.cs: Cope with byref args in
1332 2004-08-06 Jambunathan K <kjambunathan@novell.com>
1333 * mb-parser.jay: Changed expression grammar so that it now has a
1334 better semblance to those defined in section 11 of VB.NET spec.
1335 The 'expression' rule as it is now could possibly be buggy. So
1336 another iteration is a must.
1338 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
1339 * mb-parser.jay: Small bug fix in Event grammar
1341 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
1342 * class.cs: Event still needed to have a constructor which takes value of Implements clause.
1343 * mb-parser.jay: Passing Implements clause value to the constructor
1345 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
1348 Exception number made aligned to VB .net
1350 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
1351 * class.cs: Improvements in the implementation of Implements clause in Type members
1353 2004-08-05 Anirban Bhattacharjee <banirban@novell.com>
1354 * mb-parser,jay: Implements clause added to Event grammar
1356 2004-08-05 Anirban Bhattacharjee <banirban@novell.com>
1357 * mb-parser.jay: Interface event declaration grammar rewritten
1359 2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
1360 * class.cs: Introduced check for valid interface name in Implements clause.
1362 2004-08-04 Jambunathan K <kjambunathan@novell.com>
1366 1) Fixed the Attributes grammar starting with
1367 opt_attributes. Introduced new rules starting with
1368 opt_global_attributes rule - section 5.2 of VB.NET spec
1370 2) Introduced new Tokens that correspond to reserved but unused
1371 VB.NET keywords. Added some comments as appropriate in the
1372 keywords hashtable of tokenizer - section 2.3 of VB.NET spec.
1374 3) Corrected 'imports_term' - section 6.3.1 & 6.3.2 of VB.NET
1377 4) Introduced opt_argument_list - section 5.2 of VB.NET spec
1379 5) Corrected namespace_declaration - section 6.4.1 of VB.NET spec
1382 2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
1383 * mb-parser.jay: Added support for modifiers and attributes in interface member grammar
1385 2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
1386 * mb-parser.jay: Property types made optional
1388 2004-08-03 Anirban Bhattacharjee <banirban@novell.com>
1389 * mb-parser.jay: Interface method and property grammar got changed
1390 Support for multiple implements in class
1391 * interface.cs: Interface class has got changed
1392 All other interface types have been removed
1393 * class.cs: Property's Define and CheckBase method changed significantly to be in sync with Interface
1394 * pending.cs: few related changes
1395 * attribute.cs: few related changes
1397 2004/08/01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1398 * mb-parser.jay : Some correction as pointed by Jambunathan,
1399 to allow preprocessor directives after a label that may
1400 leave it orphaned (without a explicit statement)
1401 * testmbas/WriteOK.vb : some vb code to test this case
1403 2004/08/01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1404 * mb-parser.jay : Some correction as pointed by Jambunathan,
1405 to allow intermixing preprocessor directives between
1406 the label and it's associated statement
1408 2004-08-02 Jambunathan K <kjambunathan@novell.com>
1409 * mb-tokenizer.cs: Oops. Also pulled out all of the old
1410 pre-processor code that is no more used.
1412 2004-08-02 Jambunathan K <kjambunathan@novell.com>
1413 * mb-tokenizer.cs: Fixed a bug where line nos were
1414 failing to get incremented when the line continuation
1415 character was appearing by itself on contiguous lines.
1417 * mb-parser.jay: Fixed the #ExternalSource actions
1418 so that ExternalSourceDirectivesC4.vb compiles and
1419 reports source & line nos as expected.
1421 * location.cs: Replaced the existing unintuitive, not
1422 so efficient implementation of struct Location {} with
1423 the one available in mcs with one minor difference: The
1424 number of bits reserved for a file index in the Token
1425 is statically fixed at 8 bits.
1427 2004/08/01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1428 * mb-parser.jay : Revised patch from João Viegas for the labeled_statement accepting integer literals as labels
1430 2004-07-30 Jambunathan K <kjambunathan@novell.com>
1431 * mb-parser.jay: Oops. Reversed unintended checkin.
1432 * mb-tokenizer.cs: Added comment in Tokenizer()
1433 * mb-parser.jay: Fixed miscellaneous bugs in handling of
1434 pre-processor directives. There are two positive test
1435 cases that fail currently: ExternalSourceDirectivesC4.vb
1436 and RegionDirectivesC1.vb
1438 2004-07-30 Raja R Harinath <rharinath@novell.com>
1440 * mb-parser.jay (IfElseStateMachine.State, IfElseStateMachine.Token):
1441 Remove [Flags] attribute.
1443 2004-07-30 Jambunathan K <kjambunathan@novell.com>
1445 * mb-tokenizer.cs: Added support for #region, #externalsource
1446 and conditional compilation pre-processor directives.
1447 Conditonal directives currently accept only boolean literals
1448 as conditonal expressions.
1450 * mb-parser.jay: The original checkin hits a bug in mcs but
1451 compiles fine with csc. This checkin is to workaround the mcs
1452 bug so that cvs builds are not broken.
1455 2004/07/26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1456 * mb-parser.jay : First try at SyncLock Statement #53230
1458 2004-07-22 Anirban Bhattacharjee <banirban@novell.com>
1461 Little betterment in resolution of parameter with Addressof operator in method argument
1463 2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
1464 * expression.cs: Resolution of fully qualified type names - bug fixed
1466 2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
1467 * assign.cs: Added new argument to Expression.ConvertExplicit function call
1469 2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
1470 * expression.cs: Fixed resolution of overloaded functions with delegate as parameter
1471 * ecore.cs: Changes made to stop program getting into an endless loop on not able to cast types of source to destination object.
1472 * statement.cs: Added new argument to Expression.ConvertExplicit function call
1474 2004-07-18 Anirban Bhattacharjee <banirban@novell.com>
1475 * argument.cs: Introduced AddressOf argument type for tracking AddressOf operator in method parameter
1476 * expression.cs: A parameter with AddressOf operator will get converted to Delegate before overload resolution
1477 * 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
1478 This is a fix for bug #59555
1480 2004/07/15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1481 * driver.cs : Implemented support for -pkg to match mcs (bug #58673)
1483 2004/07/15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1484 * driver.cs : started implementing -pkg support to match mcs (bug #58673), also corrected multiplicity for addmodule option
1486 2004-07-13 Anirban Bhattacharjee <banirban@novell.com>
1487 * driver.cs: Added support for AddModule compiler option
1488 * 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.
1490 2004-07-13 Anirban Bhattacharjee <banirban@novell.com>
1491 * driver.cs: Compilation to module is supported now
1493 2004-07-09 Anirban Bhattacharjee <banirban@novell.com>
1496 Default modifier for constructor is set to Public
1498 2004-07-09 Anirban Bhattacharjee <banirban@novell.com>
1499 * 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"
1501 2004-07-07 Anirban Bhattacharjee <banirban@novell.com>
1502 * expression.cs: bug fixed - 60399
1504 2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
1505 * mb-parser.jay: Small correction in delegate declaration grammar
1507 2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
1508 * mb-parser.jay: modified RemoveHandler function
1509 * statement.cs: Added RemoveHandler statement class
1511 2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
1512 * mb-parser.jay: Modified grammar for several syntax of AddressOf operator
1514 2004/06/10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1515 * typemanager.cs : GetPertinentStandardModules receives the array now with params modifier to help usage
1516 * ecore.cs : correcting lookup of semi-qualified standard modules members - A little better but not there yet
1518 2004-06-10 Anirban Bhattacharjee <banirban@novell.com>
1519 * mb-parser.jay: Grammar added for RemoveHandler statement
1521 2004-06-10 Anirban Bhattacharjee <banirban@novell.com>
1524 Added support for statement like
1525 delgate_name = AddressOf sub_name
1527 2004-06-09 Raja R Harinath <rharinath@novell.com>
1529 * Makefile (HAS_TEST): Remove.
1530 (run-test-local): Move rule to and depend on ...
1531 (run-mbas-test): ... this.
1533 2004-06-08 Anirban Bhattacharjee <banirban@novell.com>
1536 Few exception checks for Event
1538 2004-06-07 Anirban Bhattacharjee <banirban@novell.com>
1539 * mb-parser.jay: Resolved the problem in Sub statement with Handles cluse
1540 * class.cs: Added a AddEventHandler function and a EventHandler readonly property. Also modified define of constructor to accommodate Handlers clause.
1541 If one initialize a event handler as
1542 Sub Handler() Handles x.Event
1543 The handler will be initialized by the constructor of the corresponding class by calling AddHandler.
1545 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
1546 * mb-parser.jay: Modified WithEvents grammar
1548 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
1549 * class.cs: - NotOverridable modifier support added to Property
1550 - Few overriding related checks put on Property
1552 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
1553 * decl.cs: Check for duplicate member name within same container
1555 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
1556 * class.cs: changed exception number in event grammar
1558 2004-06-03 Anirban Bhattacharjee <banirban@novell.com>
1559 * mb-parser.jay: RaiseEvent grammar fixed to get it working
1561 2004-06-03 Anirban Bhattacharjee <banirban@novell.com>
1562 * driver.cs: fixed bug - 59540
1564 2004-06-01 Anirban Bhattacharjee <banirban@novell.com>
1565 * mb-parser.jay: Improved event declaration grammar
1567 2004/05/31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1568 * AssemblyInfo.cs : Anirban is and author too
1570 2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
1573 Few exception checks for delegete
1575 2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
1578 Few more fixes in delegate grammar
1580 2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
1581 * mb-parser.jay: Changed Delegate instantiation grammar to get it working
1583 2004-05-26 Anirban Bhattacharjee <banirban@novell.com>
1586 Few property related checks applied
1588 2004-05-24 Anirban Bhattacharjee <banirban@novell.com>
1589 * class.cs: Check for ReadOnly and WriteOnly modifiers added to property
1591 2004-05-24 Anirban Bhattacharjee <banirban@novell.com>
1592 * mb-paresr.jay: Support for abstruct property is added
1594 2004-05-24 Raja R Harinath <rharinath@novell.com>
1596 * Makefile (PROGRAM_INSTALL_DIR): Install mbas into
1597 $(prefix)/lib/mono/1.0.
1599 2004-05-10 Anirban Bhattacharjee <banirban@novell.com>
1600 * mb-parser.jay: few Property related grammar changes
1602 2004-05-14 Anirban Bhattacharjee <banirban@novell.com>
1603 * mb-tokenizer.cs: Bug fixed - Got Property working
1605 2004-05-10 Anirban Bhattacharjee <banirban@novell.com>
1606 * mb-parser.jay: Support added for attaching Attributes in methods
1608 2004/04/07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1609 * AssemblyInfo.cs : Correcting information and version number
1611 2004-04-29 Anirban Bhattacharjee <banirban@novell.com>
1612 * enum.cs: bug fixing - setting one enum member to another
1614 2004-04-29 Anirban Bhattacharjee <banirban@novell.com>
1617 Implemented check for access modifier in enum
1619 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
1621 * typemanager.cs: Property.GetGetMethod() does not return the method if it
1622 is private (it did until now because of a bug). Make sure it works as it
1623 worked before the fix.
1625 2004-04-28 Anirban Bhattacharjee <banirban@novell.com>
1626 * expression.cs: fixed bug to get enum running
1627 * enum.cs: handling several negative scenarios
1628 Changed several exception numbers
1629 * assign.cs: Changed exception number
1631 2004-04-26 Jackson Harper <jackson@ximian.com>
1633 * Makefile: Get libs from default profile directory.
1635 2004-04-23 Anirban Bhattacharjee <banirban@novell.com>
1636 * mb-parser.jay: Grammar changes for array
1637 * expression.cs: exception number changed for "Incorrectly structured array initializer" exception
1639 2004-04-17 Anirban Bhattacharjee <banirban@novell.com>
1643 a little better structure grammar
1645 2004-04-16 Anirban Bhattacharjee <banirban@novell.com>
1646 * mb-parser.jay: few clean-ups
1648 2004-04-16 Anirban Bhattacharjee <banirban@novell.com>
1649 * class.cs: Duplicate entry point exception number changed
1650 Checked delaration of Types, fields, methods as Protected if they are member of Module type
1651 * const.cs: Checked delaration of constructor as Protected if it is member of Module type
1652 * driver.cs: exception number is changed for "Entry point does not exist" exception
1654 2004-04-15 Anirban Bhattacharjee <banirban@novell.com>
1655 * mb-parser.jay: Classes can't be delared static impicitly as other module members
1657 2004-04-15 Anirban Bhattacharjee <banirban@novell.com>
1658 * class.cs: Couple of bug fixes in defining default static constructor, partially imposed by the fix earlier
1660 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
1661 * class.cs: Added support for Shadows modifier in Variables
1663 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
1664 * const.cs: Added support for Shadows modifier in constant
1666 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
1667 * expression.cs: Removed the check which was stoping type instances to access the shared variables
1669 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
1670 * modifiers.cs: changed exception number for invalid modifiers exception
1672 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
1673 * mb-parser.jay: Removed 'static_constructor_declaration' - this is not required as 'constructor_declaration' implementation is good enough to handle static constructors too
1674 * class.cs: Handling couple of negative scenarios related to static constructors and bug fixes
1676 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
1677 * class.cs: Couple of negative scenario handling
1679 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
1680 * mb-parser.jay: Few clean-up
1682 2004-04-12 Anirban Bhattacharjee <banirban@novell.com>
1683 * mb-parser.jay: Bug fixed - Base class ctor was getting called twice when called explicitly from the derived class ctor as MyBase.New
1685 2004-04-12 Anirban Bhattacharjee <banirban@novell.com>
1686 * mb-parser.jay: Fixed bugs for calling ctor from another ctor in the same class by using statments like
1691 2004/04/07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1692 * mb-tokenizer.cs : Better error message when dealing with date literals
1694 2004-04-06 Anirban Bhattacharjee <banirban@novell.com>
1699 Changed/added serveral Accessibility related expections
1701 2004-04-05 Anirban Bhattacharjee <banirban@novell.com>
1706 Several error messages and numbers are changed in all the above four classes
1708 2004-04-04 AnirbanBhattacharjee <banirban@novell.com>
1709 * delegate.cs: changed default access modifier
1710 * enum.cs: changed default access modifier
1711 * interface.cs: changed default access modifier
1712 * modifiers.cs: extension of bug fixed for getting NotOverridable modifier working for methods
1714 2004-04-04 AnirbanBhattacharjee <banirban@novell.com>
1715 * class.cs: Changed exception messages and their numbers to align better with VB
1716 Changed default access modifier of method to Public
1717 Bug fixed to get NotOverridable modifier working
1718 * decl.cs: Changed exception messages and numbers
1720 2004-03-25 Anirban Bhattacharjee <banirban@novell.com>
1721 * class.cs: bug fixing - creating default constructor when no constructor is specified
1722 Few modifiers are changed to align with Vb
1724 2004/03/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1725 * typemanager.cs : being more carefull with null arguments in some places,
1726 null checking in GetPertinentStandardModules() loop
1727 * namespace.cs : a helper ToString override
1728 * ecore.cs : Dealing with finding more than a pertinent standard module having a global member
1729 * testmbas/WriteOk.vb : Exercising correct standard module resolution
1730 NOTE: Almost there for Bug #52067 - just the semi-qualified case isn't working
1732 2004-03-23 Anirban Bhattacharjee <banirban@novell.com>
1733 * mb-parser.jay: handled implicit static modifier for module members in const
1734 * const.cs: changed supported modifiers
1736 2004-03-23 Anirban Bhattacharjee <banirban@novell.com>
1737 * modifiers.cs: Return name of the modifiers' changed to vb specific
1739 2004/03/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1740 * ecore.cs : now it gets the correct list of namespaces in scope (either imported or current) Almost there for Bug #52067
1742 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1743 * mb-parser.jay: One more negative scenario is addressed in const grammar
1745 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1746 * const.cs: Change type of constant to the type of its value if no explicit type declaration found
1748 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1749 * mb-parser.jay: Grammar for declaring constant inside block is changed
1751 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1752 * const.cs: Changed exception numbers
1754 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1755 * mb-parser.jay: Changed grammar for constant
1757 2004/03/02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1758 * mb-tokenizer.cs : handling better linebreak, specially when delaing with literals and preprocessing directives
1760 2004-03-16 Anirban Bhattacharjee <banirban@novell.com>
1762 - changed variable declaration grammar and added support for multiple variables declartion under single type e.g. dim x, y as integer
1763 - added few exception checks in variables
1764 - added one exception check in property
1766 2004/03/02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1767 * sourcebeingcompiled.cs : new source/class to hold things previously contained in namespaces.cs
1768 because in C# they were semantically tied to nested namespaces, and in VB.NET
1769 they can occur only once per file.
1770 * mbas.exe.sources: added sourcebeingcompiled.cs
1771 * mb-parser.jay: reference RootContext.Sourcebeingcompiled things
1772 * namespace.cs: move pieces to sourcebeingcompiled
1773 * rootcontext.cs: use SourceBeingCompiled class
1774 * decl.cs: reference RootContext.Sourcebeingcompiled things
1776 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
1777 * mb-tokenizer.cs: Support for '-' delimiter in DateTime
1779 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
1780 * report.cs: Formatted warning thrown
1782 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
1788 Added Overloads and Shadows modifiers to Function and Sub
1789 Fixed few other modifier related problems in Function and Sub
1791 2004-01-07 Nick Drochak <ndrochak@ieee.org>
1795 * row.cs: Eliminate warnings about unused variables.
1797 2004/01/06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1798 * typemanager.cs : correcting translation of System types to language types,
1799 also temporarily circunventing a exception in ModuleBuilder.GetType inside LookupTypeReflection,
1800 corrected many ` characters to ' in error messages
1801 * testmbas/WriteOK.vb : testing newly implemented IsNumeric global function
1803 2004-01-04 David Sheldon <dave-mono@earth.li>
1805 * expression.cs: Added matching ")" to error message for
1808 2003/12/23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1809 * driver.cs : added stubs for options "/netcf /sdkpath:path"
1810 * namespace.cs, decl.cs, rootcontext.cs : use hashtable to avoid duplicate importation of namespaces
1811 (especially between command-line option /imports and explicit Import clauses), what manifested itself as
1812 error messages for ambiguous names that where in truth identical
1813 * statement.cs : trying to fix the 'exit' statement DoEmit, for "Exit Sub"
1814 * mb-parser.jay, mb-tokenizer.cs : initial support for type_characters (dim az$ = dim az as string)
1816 2003/12/18 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1817 * class.cs : case-sensitiveness when tracking the entry-point removed
1818 * driver.cs : IsSWFApp would try to pass a null 'mainclass' to the hashtable indexer, throwing an exception
1819 (even for correct programs because of the bug above). Now this condition is tested before
1821 2003/12/06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1822 * ecore.cs : problems trying to implicit convert OMITTED arguments, solved
1823 * mb-tokenizer.cs, mb-parser.jay, typemanager.cs : support for the date primitive type and date literals
1824 * testmbas/WriteOK.vb: testing date type and date literal
1826 2003/11/12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1827 * driver.cs : /imports option now is implemented
1828 * mb-parser.jay: support for pre-imported namespaces (the default Microsoft.VisualBasic and those from /imports)
1830 2003/11/12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1831 * mb-tokenizer.cs : integer literal (Hex starts with &H not 0x), handle Octal literals (&O)
1832 * handle unicode specialized double-quotes in string literals
1833 * corrected some mishandling of conversions in numeric literals
1834 * implemented support for char literals ("z"c)
1835 * Makefile : verbose target uses verbose argument
1836 * testmbas/WriteOK.vb: many tests for literals implemented
1837 * literal.cs: correcting lack of a ShortLiteral class
1838 * mb-parser.jay: removed support for unsigned int literals, added support for short int literals
1840 2003/11/10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1841 * *.cs, mb-parser.jay: Switched all from defining/using namespace Mono.CSharp to Mono.MonoBASIC
1842 * location.cs: SymbolDocument now returns a SymbolDocumentWriter using the right (SymLanguageType.Basic) GUID
1844 2003/10/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1846 Don't print exception when a file is not found to be parsed
1847 File extensions not matched are now processed with the default parser
1848 Better handle file/directory not found exceptions, and use Report.Error in that case
1849 * added defaultparserattribute.cs
1850 * mb-parser.jay : Mono.MonoBASIC.Parser is now the [DefaultParser]
1851 * location.cs version 1.4 recovered (Marco Ridoni had it overwritten with an older version)
1852 * mb-tokenizer.cs, rootcontext.cs, tree.cs: Location constructor needs column number now
1854 2003/09/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1855 * .cvsignore: WHOOPS
1857 2003/09/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1858 * .cvsignore: some more files to ignore
1860 2003/09/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1861 * mb-tokenizer.cs, driver.cs: Back to Linux line-endings, SORRY
1863 2003/09/16 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1864 * Makefile: corrected testing in Windows/Cygwin (from mbas.exe to ./mbas.exe), because it was getting the installed compiler instead of the compiled one
1865 * mb-tokenizer.cs: Redoing: Preprocessor directives must be case-insensitive (many .ToLower() used)
1866 * driver.cs: No more 'linkpaths' option, use 'libpath' instead
1868 2003/09/15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1869 * driver.cs: Corrected handling of FileNotFoundException in LoadAssembly(), according to Bernie Solomon's patch
1871 2003/08/13 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1872 * mb-parser.jay: ReDim statement parses many variables now (but initializers aren't allowed)
1873 Erase statement implemented
1874 Lots of garbage (never reduced rules) deleted
1875 Reduce/Reduce problems eliminated (where due to having opt_modifiers duplicated inside property_declaration rule)
1876 * statement.cs : class Redim is prepared to have ReDim Preserve copying code called,
1877 but we need to check if that code is lying in Microsoft.VisualBasic.dll
1880 2003-07-26 Ben Maurer <bmaurer@users.sourceforge.net>
1882 * statement.cs: Make Math.XXX System.Math.XXX, to fix the build.
1884 2003-07-20 Peter Williams <peter@newton.cx>
1886 * Makefile: Remove the test target which conflicted with
1887 the global target. (Change confirmed with Rafael.)
1889 2003-04-02 Duncan Mak <duncan@ximian.com>
1891 * mb-parser.jay: Temporarily remove the references to
1892 Class.MustOverride to fix the build.
1894 2003/03/29 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1895 * mb-parser.jay: corrected some module related rules
1896 * location.cs : now handles column information
1898 2003/03/11 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1899 * makefile.gnu : use $RUNTIME for all targets
1900 actually run the compiled program on 'test-gtk' target
1901 * mb-tokenizer.cs : no escaping of chars allowed in VB.NET (old mcs code removed)
1902 handle doubled-doublequotes (VB idiom to escape a doublequote)
1904 2003/03/04 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1905 * mb-parser.jay: added rule for Imports with alias
1906 * mb-parser.jay: Friend (internal) modifier was missing,
1907 Shared modifier was expecting Static token erroneously
1908 Modules must accept only a static constructor rule added
1909 Constant declaration rule added
1910 * makefile & makefile.gnu : actually run the compiled program on test target
1912 2003/03/03 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1913 * mb-tokenizer.cs : new semi-keywords: Compare, Explicit, Strict, On, Off, Binary, Text
1914 * mb-parser.jay: tokens for above semi-keywords, and rules for option directives
1915 * driver.cs: integrates command line options with parser flags for option directives
1916 * makefile & makefile.gnu : added 'verbose' target that uses --verbose switch to compile
1917 the test source and pipes it through 'less', also added a Extended Syntax source
1919 2003/02/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1920 * class.cs : As, per vbc, there is a rootnamespace now, --main wasn't working anymore,
1921 because it was expecting a fully qualified class name.
1922 We now also test the name passed prepended by the rootnamespace.
1923 * class.cs : Corrected warning "The keyword new is required on `Mono.CSharp.Property.Emit'
1924 because it hides inherited member `PropertyBase.Emit'", by making it virtual
1925 in PropertyBase and override in Property.
1926 * makefile.gnu : test and test-gtk targets now depend on mbas.exe
1929 2003/02/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1930 * mb-parser.jay : eliminated reduce/reduce conflict on duplicated rank_specifier rule
1931 by renaming the one using brackets to bracketed_rank_specifier
1933 2003/02/12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1934 * added argument.cs (extracted from expression.cs) makefiles corrected
1935 * mb-parser.jay : eliminated reduce/reduce conflict on opt_argument_list rule,
1936 by putting and if to make a argument list with just an empty argument list become an empty list
1938 2003/02/03 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1939 * rootcontext.cs : added RootNamespace member
1940 * mb-parser.jay : use RootContext.RootNamespace to initialize outermost namespace
1942 - implement rootnamespace parameter, and defaults it to the output file name
1943 - like vbc if no source file name is provided just show help
1945 2003/01/22 Nick Drochak <ndrochak@gol.com>
1946 * makefile: Use csc compiler in here. makefile.gnu assumes mono/mcs
1948 2003-01-13 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1949 * added cleanup method to tokenizer as needed but modifications made in jay
1951 2003-01-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1952 * changed test target in makefile work
1953 * corrected authors list to include Marco
1955 2002-10-23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1956 * merged many sources from mcs/mcs, to resync
1958 2002-10-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1959 * using Mono.GetOptions preliminar support for response files,
1960 changed the makefile target 'test' for use o response file testmbas/filelist
1962 2002-10-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1963 * merged many sources from mcs/mcs, to resync
1965 2002-10-05 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1966 * merged many sources from mcs/mcs, to resync
1968 2002-08-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1969 * merged many sources from mcs/mcs, to resync
1971 2002-09-03 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1972 * integrated new version of Mono.GetOptions (reflection/attributes-based)
1974 2002-08-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1975 * merged expression.cs from mcs/mcs, to resync
1977 2002-08-29 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1978 * merged assign.cs, attribute.cs, class.cs, codegen.cs, const.cs, decl.cs, delegate.cs, ecore.cs, enum.cs,
1979 expression.cs, interface.cs, pending.cs, report.cs, rootcontext.cs, statement.cs, support.cs and
1980 typemanager.cs from mcs/mcs, to resync
1982 2002-08-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1983 * added "test" target to makefile
1984 * merged assign.cs, attribute.cs, cfold.cs, class.cs, codegen.cs, const.cs, constant.cs,
1985 decl.cs, delegate.cs, ecore.cs, enum.cs, expression.cs, interface.cs, modifiers.cs, parameter.cs,
1986 pending.cs, report.cs, rootcontext.cs, statement.cs, support.cs and typemanager.cs from mcs/mcs, to resync
1988 2002-07-14 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1989 * merged assign.cs, class.cs, ecore.cs, expression.cs, statement.cs and typemanager from mcs/mcs, to resync
1991 2002-07-09 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1992 * merged attribute.cs, ecore.cs, namespace.cs and statement.cs from mcs/mcs, to resync
1994 2002-07-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1995 * merged attribute.cs, class.cs, codegen.cs, ecore.cs, expression.cs,
1996 modifiers.cs, namespace.cs, report.cs, rootcontext.cs, statement.cs and typemanager.cs from mcs/mcs, to resync
1997 * changed driver.cs to follow mcs lead on error/warning counting and reporting
1999 2002-06-23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2000 * merged attribute.cs, class.cs, ecore.cs, rootcontext.cs, support.cs and typemanager.cs from mcs/mcs, to resync
2001 * makefile makes csc reference a copy of Mono.GetOptions.dll (mbas.sln now compiles to mbas dir instead of mbas/bin/Debug)
2003 2002-06-21 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2004 * merged attribute.cs, class.cs, interface.cs, expression.cs, ecore.cs,
2005 modifiers.cs, rootcontext.cs, statement.cs and typemanager.cs from mcs/mcs, to resync
2006 * added pending.cs from mcs/mcs, to resync
2008 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2009 * merged assign.cs, attribute.cs, enum.cs and namespace.cs from mcs/mcs, to resync
2010 * namespace.cs needed some fixing, because CSharpParser isn?t available
2012 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2013 * merged delegate.cs, ecore.cs, typemanager.cs and rootcontext.cs from mcs/mcs, to resolve expression.cs blues
2015 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2016 * oops merged expression.cs from mcs/mcs is breaking my make
2017 * driver.cs, assemblyinfo.cs wasn?t ready for prime time (offending lines were commented out)
2019 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2020 * merged expression.cs from mcs/mcs
2022 2002-06-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2023 * corrected Module.TypeAttr property getter in module.cs
2025 2002-06-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2026 * merged typemanager.cs from mcs/mcs
2028 2002-06-10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2029 * merged expression.cs and interface.cs from mcs/mcs
2031 2002-06-09 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2032 * merged const.cs, enum.cs, expression.cs and typemanager.cs from mcs/mcs
2033 * comments on module.cs
2035 2002-06-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2036 * merged class.cs, attribute.cs from mcs/mcs
2038 2002-06-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2039 * merged class.cs, enum.cs, expression.cs, interface.cs, rootcontext.cs and typemanager.cs from mcs/mcs
2040 * added module.cs (class Mono.MonoBASIC.Module - derived from Mono.CSharp.Class)
2041 * added System.XML and Microsoft.VisualBasic to the default config (driver.cs)
2043 2002-06-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2044 * merged class.cs and ecore.cs from mcs/mcs
2046 2002-06-02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2047 * copied methods MakeName and CheckDef from mcs\cs-parser.jay to GenericParser.cs
2048 where they are inherited by mb-parser.jay/cs
2049 * put some code on the Module rule in mb-parser.jay to at least generate a class in the assembly,
2050 if I jump over the entry-point check code, while debugging
2052 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2053 * class Mono.MonoBASIC.Tokenizer now handles
2054 - all valid line-terminators (CR, LF, CRLF, LS and PS)
2055 - escaped identifiers (like [Integer])
2056 - old-fashioned comments syntax (REM Blah-Blah)
2058 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2059 * modified mbas.ico to be a small version of mono?s logo (see mcs\MonoIcon.png)
2061 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2062 * squashed some reduce/reduce conflicts out of mb-parser.jay
2064 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2065 * merged codegen.cs from mcs
2066 * altered Driver.cs to work with new codegen.cs
2068 2002-05-27 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2070 * merged all I could from mcs source files into mbas
2071 * added VS.NET Solution and Project Files for mbas
2072 * added icon file and a vb-sources-filled testmbas directory
2073 * started this ChangeLog