1 2005-12-07 Jelmer Vernooij <jelmer@samba.org>
2 * Makefile: allow build of only mbas, without the need to built the
5 2005-11-29 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
6 * test-mbas.pl: Parsing Test Files in order to find necessary
7 compilerOptions and generate the correct CompileCommand.
9 2005-11-28 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
10 * decl.cs: Avoid to stop searching for class members after encountering
11 the first member, in order to find the inherited or overloaded members.
13 2005-11-28 Jelmer Vernooij <jelmer@samba.org>
14 * Fix to Bugzilla Bug #76476: bash-specific code in
15 mbas/Test/misc/Makefile
17 2005-11-20 Jelmer Vernooij <jelmer@samba.org>
18 * genericparser.cs,decl.cs,class.cs: allow members with the same name
19 as their enclosing type, just like vbc does
21 2005-11-19 Jelmer Vernooij <jelmer@samba.org>
22 * mb-parser.jay: fix error handling when array modifiers are specified
23 on both type and variable name
25 2005-11-18 Jelmer Vernooij <jelmer@samba.org>
26 * mb-tokenizer.cs: add fix so the tokenizer no longer parses label
27 names at the start of continuation lines
29 2005-11-16 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
30 * mb-parser.jay: Do not create a set_block with ReadOnly Properties.
31 * typemanager.cs: Search for correct DefaultPropName and the class
32 Type that contains the Default Property.
33 * expression.cs: Send the correct Type for porperties search;
34 Fix Error with uses of default properties without a Default Property
37 2005-11-09 Renato Suga <renato.suga@gmail.com>
38 * mb-parser.jay: added STOP to statement rule to allow a keyword STOP
39 in an iteration_statement.
41 2005-11-07 Renato Suga <renato.suga@gmail.com>
42 * Expression.cs: commented this line:
43 // SimpleName.Error_ObjectRefRequired (ec, loc, me.Name);
46 2005-11-05 Kornél Pál <kornelpal@hotmail.com>
48 * AssemblyInfo.cs: Use Consts.MonoVersion as AssemblyVersion.
49 * mbas.exe.sources: Added Consts.cs.
51 2005-11-02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
52 * typemanager.cs: avoiding some Null Pointer Exceptions in GetPertinentStandardModules
54 2005-11-01 Aldo Monteiro do Nascimento <aldo@psl-pr.softwarelivre.org>
55 * mb-parser.jay: created a new parser rule to match a interface
56 declared inside another interface: "opt_interface_declaration"
57 * mb-parser.jay: when redeclare compiler constants no compilation
58 error is raised, and than the redeclaring works as expected.
60 2005-10-31 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
61 * ecore.cs: Fix UnboxCast Emit calling Activator.CreateInstance when
64 2005-10-29 Renato Suga<renato@psl-pr.softwarelivre.org>
65 * codegen.cs: Added static global ArrayList ArrListVersion to keep the
66 assembly's version numbers. reating a new Version(string str) is not
67 working. The Init() method was modified to correctly set the version value;
68 * attribute.cs: one of its constructor was modified to pass the string
69 version to CodeGen.ArrListVersion so that at Init () CodeGen sets the
72 2005-10-19 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
73 * class.cs: Casting TypeContainer to Interface in order to call the
74 correct overload of RootContext.RegisterOrder.
76 2005-10-12 Renato Suga <renato@psl-pr.softwarelivre.org>
77 * mb-parser.jay: foreach_statement now emits the correct error code for
78 test ForEachC1.vb, which is an error test
80 2005-10-11 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
82 * block.cs, statements.cs, mb-parser.jay: Support for On Error Goto 0,
83 On Error Goto -1 and On Error Goto <Label>
85 2005-10-07 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
86 Alexandre Rocha Lima e Marcondes <alexandre@psl-pr.softwarelivre.org>
87 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
89 * block.cs, statements.cs, expression.cs: Fix ForEach when iterating fields
91 2005-10-05 Aldo Monteiro <aldo@psl-pr.softwarelivre.org>
93 * ecore.cs : Created a public property (Id) to access externally the field
94 id in DecoratedIdentifier class
95 * assign.cs : Before get the expression for construct 'Mid' statement
96 testing if that expression is 'DecoratedIdentifier', and, if it is,
97 getting the expression assigned in its 'id' field.
99 2005-09-26 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
100 Alexandre Rocha Lima e Marcondes <alexandre@psl-pr.softwarelivre.org>
101 * mb-parser.jay: Fix ForEach when using fields as the variable used
102 to iterate through the elements.
103 * expression.cs: Created new LocalVariableReference EmitAssign used in
104 for each with non Static fields.
105 * statement.cs: Created new attribute of VariableInfo - FieldAlias wich
106 references a FieldBase indicated by the alias.
107 Added a field assign treatment if the foreach variable references
108 a non static field, in EmitCollectionForeach and EmitArrayForeach.
109 * mb-parser.jay, block.cs, statement.cs, expression.cs: Remove Bool Static
110 Attribute from VariableInfo class.
112 2005-09-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
113 * mb-parser.jay: Throws error for Option Strict on with Propeties
114 whitout an 'As' clause or a type character. Fix Interfaces errors with
117 2005-09-16 Renato Suga <renato@psl-pr.softwarelivre.org>
118 * mb-parser.jay:rules goto_statement and for_statement changed in order
119 to recognize error BC30757
120 * statement.cs: class added property LabelName and uncomented string
121 label_name. These changes allow one to get the LabelName when reporting
123 * block.cs: added property bool HasGotoStatement and property String
124 LabelName. The first one combined with HasLabeledStatement allows one to
125 identify the aforementioned error.
127 2005-09-15 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
128 Alexandre Rocha Lima e Marcondes
129 <alexandre@psl-pr.softwarelivre.org>
130 * mb-parser.jay : Error statement statemet support.
132 2005-08-23 Satya Sudha K <ksathyasudha@novell.com>
134 StatementSequence : Avoid Resolving multiple times
136 Minor fix to 'Constantify' method
138 2005-08-22 Satya Sudha K <ksathyasudha@novell.com>
140 Invocation's DoResolve method : Avoid resolving multiple times.
142 'GetPertinentStandardModules' : Case-insensitive name lookup
144 2005-08-19 Satya Sudha K <ksathyasudha@novell.com>
146 Preventing conversion of an 'object' to 't[]' where the latter is a
150 Fixed handling of 'Return' and 'Exit' statements from within
153 2005-08-09 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
154 * mb-parser.jay: Define as used the function's return variable,
155 because of bug #75747.
156 Fix Event errors with Shared modifiers.
158 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
160 * expression.cs: Initialize FieldBase variable. Fixes build using csc
161 because of bug #75721.
163 2005-08-05 Satya Sudha K <ksathyasudha@novell.com>
165 'ConstructArgumentList': Converting the default value to the param type before
166 appending to the arg list
168 2005-08-04:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
170 Oops, line number on Redim errors as Aldo/Renato intended
171 Better logic flow when redim errors occur to avoid exceptions later
173 2005-08-04 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
174 * statement.cs: Refactored code/fields from Redim to RedimClause
175 so that it works for multiple arrays being redimensioned in the same statement
176 * mb-parser.jay: redim_clauses rule was losing additional items
178 2005-08-04 Aldo Monteiro <aldo@psl-pr.softwarelivre.org>,
179 Renato Suga <renato@psl-pr.softwarelivre.org>
180 * mb-parser.jay: treatment of opt_type_spec in redim_clause
181 * statement.cs: changed constructor in class RedimClause so that it gets
182 an Expression. Report.Error now emits the line number too for ReDim
183 errors. New attribute in RedimClause: Expression ExprAs
185 2005-08-04 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
186 * mb-parser.jay: Fix local static variables initialization
188 2005-07-29 Satya Sudha K <ksathyasudha@novell.com>
189 * mb-parser.jay, expression.cs: Fixed concat operation with compound assign statements
190 * support.cs : Returning 'NullLiteral.Null', when a parameter default value is null
192 2005-07-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com> and Alexandre
193 Rocha Lima e Marcondes <alexandre@psl-pr.softwarelivre.org>
194 * block.cs: Local variable alias and static flag support and
195 MethodBlock class that knows the name of the Method that owns it
196 * class.cs: Static local specialname modificator emission
197 * expression.cs: Hidden static field access using the static local
199 * statement.cs: Local variable alias support and Static local flag
200 * mb-parser.jay: Static local identification and related erros
203 2005-07-26 Ankit Jain <jankit@novell.com>
205 * typemanager.cs (TypeManager): Change types of system_*_expr from Expression
207 (TypeToCoreTypExpr): New.
208 * ecore.cs (DecoratedIdentifier): New. For an identifier with a typecharacter.
209 * mb-tokenizer.cs: Allow type characters for numbers.
210 * constant.cs (IntConstant.ConvertToDecimal): New.
211 (DoubleConstant.ConvertToFloat): Return FloatConstant.
212 (DoubleConstant.ConvertToDecimal): New.
213 * mb-parser.jay (type_character): Return Type instead of TypeExpr.
214 (primary_expression): Add 'literal type_character' variant.
215 (qualified_identifier) : Use DecoratedIdentifier in case of a typecharacter.
216 (ConvertLiteral): New. Convert literal to a different type.
218 2005-07-25 Ankit Jain <jankit@novell.com>
220 * mb-parser.jay: RaiseEvent: Add code to check for null event.
222 2005-07-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
223 * block.cs: Fix dead code detection
225 2005-07-22 Satya Sudha K <ksathyasudha@novell.com>
226 * mb-tokenizer.cs: Fix for statements ending with ':'
228 2005-07-22 Manjula GHM <mmanjula@novell.com>
229 *mb-parser.jay: Check for type before resolving
231 2005-07-22 Ankit Jain <jankit@novell.com>
233 * mb-parser.jay: evt_handler_list: New.
234 opt_evt_handler, sub_declaration: Support multiple event handlers.
236 2005-07-21 Manjula GHM <mmanjula@novell.com>
237 *assign.cs: Support conversions in "new" assignment statement
239 2005-07-21 Satya Sudha K <ksathyasudha@novell.com>
240 * Support method invocation without '()'
242 2005-07-21 Manjula GHM <mmanjula@novell.com>
243 *assign.cs: Support conversions in "new" assignment statement
245 2005-07-21 Manjula GHM <mmanjula@novell.com>
246 * mb-parser.jay: Support type specifier for "ReDim" statements
248 2005-07-18 Satya Sudha K <ksathyasudha@novell.com>
249 * Supported overloading of properties (has to be tested thoroughly)
251 2005-07-13 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
253 * block.cs: Support and successfully find goto target labels
254 declared out of block that contains the goto statement.
256 2005-07-13 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
257 *statement.cs: extract class Block into new source block.cs
258 *mbas.exe.sources: added newly extracted block.cs
259 *block.cs: eliminated "block.cs(252) warning CS0219: The variable 'cur'
260 is assigned but its value is never used"
262 2005-07-12 Manjula GHM <mmanjula@novell.com>
263 * parameter.cs , ecore.cs : Changed error number and message according to .NET
265 2005-07-12 Manjula GHM <mmanjula@novell.com>
266 * cfold.cs: Support 'Nothing' for Constants.
269 2005-07-07 Manjula GHM <mmanjula@novell.com>
270 * mb-parser.jay: To avoid Array modifiers specified on both a variable and its type
272 2005-07-06 Umadevi S <sumadevi@novell.com>
273 * statement.cs - suppressing warnings due to unused variables in mbas compiler.
275 2005-07-05 Umadevi S <sumadevi@novell.com>
276 * expression.cs - added support to handle DBNull
278 2005-06-30:5 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
279 *ecore.cs: some tentative code preparing to support automatic definition of variables
280 on first usage with Option Explicit Off commented out as it breaks on emit phase, and
281 guesses wrong what should be automatically defined
283 2005-06-30:4 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
284 *statement.cs: some tentative code preparing to support automatic definition of variables
285 on first usage with Option Explicit Off. Converting backticks to apostrophes on messages
287 2005-06-30:3 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
288 *mb-parser.jay: small bits preparing to support automatic definition of variables
289 on first usage with Option Explicit Off
291 2005-06-30:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
292 *assign.cs: Killed exception occurring when resolving an assignment
293 to an undefined symbol (Explicit On scenario)
295 2005-06-30 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
296 *mb-parser.jay: Eliminating 'reduce/reduce conflicts' and 'rule never reduced'
297 by simplifying the directive_expression rule (formerly directive_exp).
299 2005-06-30 Manjula GHM <mmanjula@novell.com>
300 *mb-parser.jay: To support signed exponent
302 2005-06-30 Manjula GHM <mmanjula@novell.com>
303 *mb-tokenizer.c : Support hexadecimal literals - supports binary value
304 of the integer literal - like &H8000S is "-32768" and not an overflow exception
306 2005-06-28 Manjula GHM <mmanjula@novell.com>
307 *class.cs : Support suitable property to override
309 2005-06-27 Manjula GHM <mmanjula@novell.com>
311 *statement.cs: Support and successfully find label definition inside child block
313 2005-06-23 Manjula GHM <mmanjula@novell.com>
314 *mb-parser.jay: Clear the hashtable in end of block
316 2005-06-23 Manjula GHM <mmanjula@novell.com>
317 *mb-parser.jay: To disallow reassignment of object inside 'With...End With' block
319 2005-06-13 Manjula GHM <mmanjula@novell.com>
320 *statement.cs: To handle Goto in Try, Catch block
322 2005-06-10 Manjula GHM <mmanjula@novell.com>
323 *assign: To Support other types of source in Mid statement
325 2005-06-10 Manjula GHM <mmanjula@novell.com>
326 *assign: To Support Optional Max. Insert length value in Mid statement
328 2005-06-10 Manjula GHM <mmanjula@novell.com>
329 *assign.cs: Allow New Date assignment to other types
331 2005-06-08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
333 - Added informational attributes that Mono.GetOptions shows in the help screen.
334 - Bumped up the version number a bit
336 2005-06-07 Satya Sudha K <ksathyasudha@novell.com>
337 * class.cs : Disallowing default properties without parameters.
338 * Some cleanups in other files to get rid of warnings.
340 2005-06-03 Satya Sudha K <ksathyasudha@novell.com>
341 * expression.cs : Allowing '()' for property invocation with no args.
343 - Caching a property's arguments (as 'NoTypes') while registering a property
344 - If a name resolves to a field as well as a property, treat it as a field
345 - If a name resolves to a field as well as a event, giving preference to event
346 * parameters.cs : Case-insensitive search/comparison of parameter/arg names
348 2005-05-30 Satya Sudha K <ksathyasudha@novell.com>
349 * statement.cs : 'For Each' statement : Wrapping the body of the For loop inside an exception block
350 if the enumerator implements 'IDisposable' interface
352 2005-05-27 Satya Sudha K <ksathyasudha@novell.com>
355 - Supporting all kinds of case clauses (like 'A To B', 'Is >= 30')
356 - Expressions of all primitive types can now be specified as 'Select'
357 and 'Case' expressions
359 2005-05-27 Manjula GHM <mmanjula@novell.com>
360 * mb-parser.jay : To support "Sub New()" without modifier
362 2005-05-26 Manjula GHM <mmanjula@novell.com>
363 * typemanager.cs : Fix Enum conversion for two level assignment and added few more cases
365 2005-05-26 Manjula GHM <mmanjula@novell.com>
366 * statement.cs : Fix problem w.r.t 'Exit Sub'
368 2005-05-24 Satya Sudha K <ksathyasudha@novell.com>
369 * statement.cs : Added few more members like 'memberName' and 'type_expr' to the 'StatementSequence'
370 class. Added an appropriate constructor for the same.
371 * expression.cs: Late binding for method invocations involving object arguments
374 2005-05-23 Satya Sudha K <ksathyasudha@novell.com>
375 * statement.cs : Copying back the arguments (matching 'ByRef' parameters) in the reverse
376 order (starting with the last argument backwards) as done by vbc
378 2005-05-23 Satya Sudha K <ksathyasudha@novell.com>
379 * statement.cs : Support named arguments in late binding
381 2005-05-17 Satya Sudha K <ksathyasudha@novell.com>
382 * ecore.cs : Removed char <-> numeric/date conversions as they are not supported in vbc
384 2005-05-17 Satya Sudha K <ksathyasudha@novell.com>
386 - Disallowing named arguments for 'ParamArray' parameters
387 - Creating named arguments (to replace missing arguments), in case other arguments are also named
389 2005-05-16 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
390 * driver.cs : correcting/refactoring EntryPoint fixing as per #74955
391 adjusting references changed by Gonzalo to their new containing namespace.
392 small renaming refactorings to make things clearer.
393 * CompilerOptions.cs : refactored out all things that now live in
394 Mono.GetOptions.Useful.CommonCompilerOptions
396 2005-05-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
398 * driver.cs: fix ambiguous reference.
400 2005-05-16 Manjula GHM <mmanjula@novell.com>
401 * literal.cs: Declare NullType
402 * typemanager.cs: Invoke proper Decimal constructor
403 * ecore.cs : Support Decimal type in literalized version
407 Support Decimal constant declaration and retrieval of Decimal structure
410 2005-05-16 Satya Sudha K <ksathyasudha@novell.com>
411 * parameter.cs : Converting the default value (for optional param) to param type.
412 * ecore.cs : Fixed string <-> char constant conversions.
416 Support for named arguments
418 2005-05-12:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
419 * driver.cs : mcs having C# 2.0 features makes me slip some simplified delegate creation
420 code, that breaks with csc in Windows (as pointed by Atsushi)
421 * CompilerOptions.cs : moved some delegate definitions outside the class for shorter name when using.
423 2005-05-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
424 * driver.cs : slimmed down, most non-specific code moved to new class/source CompilerOptions.
425 Also steps where individualized and put on a array of delegates for sequencial execution
426 with stop-on-first-blunder behavior. It is similar to the configurable pipeline of the
428 * CompilerOptions.cs: added, refactored from inside driver.cs (some code/properties will migrate
429 further to Mono.GetOptions.Usefull.CommonCompilerOptions)
430 * mbas.exe.sources: added CompilerOptions.cs
432 2005-05-11 Ankit Jain <ankit@corewars.org>
434 * expression.cs (Invocation.CheckParameterAgainstArgument): Return ConversionType.Widening
435 for a NoArg argument. Fix earlier patch.
437 2005-05-11 Ankit Jain <ankit@corewars.org>
439 * expression.cs (Invocation.CheckParameterAgainstArgument): Return ConversionType.Narrowing
440 for a NoArg argument.
441 (Invocation.IsApplicable): Don't create a REF type argument if it is NoArg.
442 (Invocation.ConstructArgumentList): Create argument with its DefaultValue for a NoArg.
444 2005-05-10 Satya Sudha K <ksathyasudha@novell.com>
445 * statement.cs, expression.cs, assign.cs :
446 Patch to allow latebinding expressions to be specified as ByRef arguments
448 2005-05-10 Raja R Harinath <rharinath@novell.com>
450 * driver.cs (InitializeRootContextAndOthersFromOptions):
451 Overwrite RootContext.RootNamespace only if there's a value.
453 2005-05-09 Satya Sudha K <ksathyasudha@novell.com>
454 * parameter.cs : Support 'Optional ByRef' parameters
455 * statement.cs : Using 'System.Reflection.Missing.Value' in case of missing argument for
458 2005-05-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
459 * driver.cs : Oops, correcting some find-and-replace mishaps
461 2005-05-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
462 * driver.cs : Refactored to use Mono.GetOptions.Useful.CommonCompilerOptions
464 2005-05-05 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
465 * mb-parser.jay : Correction to allow optional type caracters in some situations.
466 Now 6 more tests under mbas/Test/tests/types compile and 3 more compile and run.
467 Patch contributed by Brazilian MonoBASIC Team:
468 Aldo Monteiro do Nascimento <aldomonteiro@gmail.com>
469 Alessandro de Oliveira Binhara <binhara@psl-pr.softwarelivre.org>
470 Alexandre Rocha Lima e Marcondes <alexandre.marcondes@psl-pr.softwarelivre.org>
471 Ramiro Batista da Luz <ramiroluz@gmail.com>
472 Renato Suga <renatos@techresult.com.br>
474 2005-05-05 Satya Sudha K <ksathyasudha@novell.com>
477 Changed the 'For' class to :
478 - Handle negative step values
479 - Supporting all types (numeric/object) of loop control variables
481 * expression.cs : Removed some unused methods
482 * ecore.cs : Added float/double -> decimal conversion to NarrowingConversion
484 2005-05-02 Manjula GHM <mmanjula@novell.com>
485 * expression.cs : Support Reference Parameter - when argument and parameter are different.
487 2005-04-29 Satya Sudha K <ksathyasudha@novell.com>
493 Support for 'LateSet', 'LateIndexGet', 'LateIndexSet'
496 Minor fixes in conversions
498 2005-04-26 Manjula GHM <mmanjula@novell.com>
500 "out" is not supported as Parameter Modifier in VB.NET
502 2005-04-26 Manjula GHM <mmanjula@novell.com>
508 "out" is not supported as Parameter Modifier in VB.NET
509 2005-04-21 Satya Sudha K <ksathyasudha@novell.com>
511 Fixed object to bool/float/double conversions
512 Fixed numeric <--> Enum conversions
516 (Initial) Support for 'LateGet'
518 2005-04-18 Manjula GHM <mmanjula@novell.com>
520 Support expressions for Directives
521 2005-04-19 Satya Sudha K <ksathyasudha@novell.com>
523 Fixed conversions from 'object' to double, float, decimal and long
525 2005-04-18 Manjula GHM <mmanjula@novell.com>
527 Support Conditional Constant Directives
529 2005-04-13 Manjula GHM <mmanjula@novell.com>
530 * expression.cs : To support 'Or' argument of AttributeTargets in AttributeUsage
531 2005-04-12 Satya Sudha K <ksathyasudha@novell.com>
533 Introduced a class 'StatementSequence', to translate a late-binding call to a block of statements
535 Support for late binding (Not complete yet. Some basic method invocations work as of now)
537 2005-04-06 Ritvik Mayank <mritvik@novell.com>
538 by Sudharsan V <vsudharsan@novell.com>
539 * class.cs: correction for reflecting the correct Line No. in the Error message
540 2005-04-05 Ritvik Mayank <mritvik@novell.com>
541 Patch Submitted by Sudharsan V <vsudharsan@novell.com>
542 * mb-parser.jay : correction for reflecting the correct Line No. in the Error message
544 2005-03-31 Manjula GHM <mmanjula@novell.com>
545 *mb-tokenizer.cs:To fix make test failure
546 2005-03-31 Manjula GHM <mmanjula@novell.com>
547 *mb-tokenizer.cs: Support declaration of decimal numbers with no digits before point like '.52' instead of '0.52'
549 2005-03-29 Manjula GHM <mmanjula@novell.com>
550 *assign.cs: Disallow New Date assignment with types other than date and object type
552 2005-03-25:3 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
553 * AssemblyInfo.cs: Small increment in the version number to publicize --codepage support
555 2005-03-25:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
556 * genericparser.cs: another static Parse overload to support specifying encoding when parsing from a file.
557 * driver.cs: obsoletes --tokenize, record currentEncoding for each source-file to be processed, call the new Parse overload
558 Implement support for a --codepage option similar to mcs. Example:
559 mono mbas.exe --codepage:1252 WindowsANSI.vb --codepage:utf8 UTF8.vb --codepage:reset currentcharset.vb
561 2005-03-25:1 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
562 * genericparser.cs: another Parse overload to support specifying encoding when parsing from a file.
563 Preparing to implement support for a /codepage option similar to mcs
565 2005-03-24 Manjula GHM <mmanjula@novell.com>
566 * mb-tokenizer.cs: To fix parser error for ExternalSource Directives
568 2005-03-24 Satya Sudha K <ksathyasudha@novell.com>
570 - Support for Dictionary Member Access Expressions
571 - Exponentiation operator in compound assignments
572 * expression.cs : Merged 'Exponentiation' class with 'Binary' class
573 * cfold.cs : Fixed constant division (both '\' and '/')
575 2005-03-24 Manjula GHM <mmanjula@novell.com>
576 * mb-parser.jay,mb-tokenizer.cs: Support 'End Statement' in parser and tokenizer file
578 2005-03-24 Manjula GHM <mmanjula@novell.com>
579 Sudharsan V <vsudharsan@novell.com>
580 * mb-parser.jay,mb-tokenizer.cs:
581 Revamped end of block logic
583 2005-03-24 Manjula GHM <mmanjula@novell.com>
584 * statement.cs: Fix bug in 'Exit Function'
586 2005-03-23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
587 * AssemblyInfo.cs: Some more diligent authors
588 * ecore.cs, cfold.cs, delegate.cs: remove warnings-causing code
590 2005-03-22 Satya Sudha K <ksathyasudha@novell.com>
593 Fix for 'MyClass' instance expressions
595 2005-03-22 Satya Sudha K <ksathyasudha@novell.com>
596 Sudharsan V <vsudharsan@novell.com>
598 Removed some conflicts in the grammar
600 2005-03-21 Manjula GHM <mmanjula@novell.com>
601 * statement.cs: Implementation of 'End' Statement which terminates execution immediately
603 2005-03-18 Satya Sudha K <ksathyasudha@novell.com>
607 Supported 'Like' operator
609 2005-03-18 Manjula GHM <mmanjula@novell.com>
610 Sudharsan V <vsudharsan@novell.com>
612 Some more fixes related to displaying correct line number
614 2005-03-17 Manjula GHM <mmanjula@novell.com>
615 *ecore.cs : rounding the double values before converting to Integer types
617 2005-03-17 Manjula GHM <mmanjula@novell.com>
618 *ecore.cs : Support Double in case statement and do necessary conversion to Int Literal
620 2005-03-16 Manjula GHM <mmanjula@novell.com>
622 Support 'expression TO expression' case clause for select statement
624 2005-03-15 Satya Sudha K <ksathyasudha@novell.com>
627 Supported '\' (int division) operator
629 2005-03-11 Manjula GHM <mmanjula@novell.com>
630 Sudharsan V <vsudharsan@novell.com>
632 Fixes related to displaying correct line number,error message and handle End of blocks
634 2005-03-11 Satya Sudha K <ksathyasudha@novell.com>
636 Support for 'Nothing' with all operators.
637 A few fixes to the 'DoNumericPromotions' method
639 Fixed Boolean constant conversions
640 Supported conversion of 'nothing' to value types
642 2005-03-10 Manjula GHM <mmanjula@novell.com>
644 Support 'Is' for all reference types
646 2005-03-10 Satya Sudha K <sathyasudha@novell.com>
649 Support for 'AndAlso' and 'OrElse' operator
651 2005-03-09 Manjula GHM <mmanjula@novell.com>
654 Support 'Is' Expression
656 2005-03-08 Satya Sudha K <ksathyasudha@novell.com>
657 * ecore.cs : Included Decimal -> Single/double conversions in 'WideningConversionExists' method
658 * expression.cs : Fixed the behaviour of some Unary operators
659 Allowing Exponentiation on object types
661 2005-03-08 Manjula GHM <mmanjula@novell.com>
662 *assign.cs : Bug fix - new Object creation and object assignment
664 2005-03-07 Satya Sudha K <ksathyasudha@novell.com>
665 * mb-parser.jay : Support for shift operators
666 * assign.cs : Calling 'RuntimeHelpers.GetObjectValue' during new Object creation
667 (to make it consistent with vbc)
668 * ecore.cs : Implicit constant conversions - rounding the float/double values before
669 converting to Integer types
672 * Corrected the opertor names
673 * Allowing unary plus and minus on strings (by converting
675 * Allowing 'Not' operator on all numeric/string types
676 (float/double/decimal/strings are converted to long)
677 * In case of short/byte operations, changing the end result back to short/byte
678 Exponentiation class :
679 * Disallowing '^' operator on dates/char/ reference types
681 * Corrected operator names
682 * And-ing the right operand with appropriate mask in case of shift operators
683 * In case of short/byte operations, changing the end result back to short/byte
684 * Re-organised the code of the 'ResolveOperator' method:
685 * code organised according to expression types
686 * Performing the required conversions before 'OverloadResolve'
687 * Did the following fixes :
688 * Fixed string/bool behaviour with logical/shift operators
689 * Disallow arithmatic operators on char and dates
690 * Fixed DateTime comparisons
691 * Using methods of 'System.Decimal' for all Decimal operations
692 * Supporting all operators with enum types
693 * Allowing arithmatic/relational/shift/logical operators on type 'object'
695 2005-03-04 Manjula GHM <mmanjula@novell.com>
698 Support Mid Assignment Statement
700 2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
701 * driver.cs: correcting the handling of many options.
702 * Upgraded to latest Mono.GetOptions that supports vbc style boolean arguments /debug+ /debug-, and /help2 to hide less used options
704 2005-02-25 Satya Sudha K <ksathyasudha@novell.com>
707 Fix for default properties by Raja Harinath
709 2005-02-22 Manjula GHM <mmanjula@novell.com>
710 *expression.cs: Handle String and date before Overloadresolve
711 Added code for char + char
712 Handle One of operands is value type in Relational operators
713 Handle when both are Object types
715 2005-02-22 Manjula GHM <mmanjula@novell.com>
716 *expression.cs: Handle Bool w.r.t Logical operators
718 2005-02-21 Manjula GHM <mmanjula@novell.com>
719 *expression.cs: Handle all cases of relational Operators w.r.t String types
721 2005-02-21 Manjula GHM <mmanjula@novell.com>
722 *mb-parser.jay: Throws error for missing END statements - by Sudharsan V
724 2005-02-18 Satya Sudha K <ksathyasudha@novell.com>
726 Modified Implicit Constant conversions to :
727 * Handle Long/Float/Double Constants also
728 * Throw a compile time error if constant cannot be converted to a specified type
732 Widening Enum constants to constants of underlying type before doing the conversions
734 Added support for exponentiation operator for constants
735 * enum.cs : Allowing double values to be specified as enum values
738 2005-02-17 Manjula GHM <mmanjula@novell.com>
740 Support relational operator for other types
742 2005-02-15 Manjula GHM <mmanjula@novell.com>
744 Fixed conversion from char[] to String
746 2005-02-15 Manjula GHM <mmanjula@novell.com>
747 * expression.cs: Fixed concat of string and char using '+" operator
749 2005-02-14 Manjula GHM <mmanjula@novell.com>
751 Fixed all String to char conversions
753 2005-02-14 Satya Sudha K <ksathyasudha@novell.com>
755 - Fixed one of my previous checkin, which was breaking some test cases.
757 - Fixed the explicit conversion of float/double to integral types in some places.
759 2005-02-11 Ritvik Mayank <mritvik@novell.com>
764 Changed for reflecting correct Error Number
766 2005-02-10 Satya Sudha K <ksathyasudha@novell.com>
768 - Implemented Exponentiation operator (^)
769 - Fixed the behaviour of strings in arithmatic operations (only addition
770 was supported before)
771 - Fixed Decimal arithmatic with float/double types
772 - If operation = Division, promoting both operands to double, otherwise
773 doing numeric promotions
774 * mb-parser.jay : Changes related to the Exponentiation operator
776 2005-02-10 Manjula GHM <mmanjula@novell.com>
777 * expression.cs: Fixed concat of date and string using '+" operator
779 2005-02-08 Satya Sudha K <ksathyasudha@novell.com>
780 * assign.cs: Fix for implicit conversions in Compound Assignments
782 - Fixed the explicit conversion of float/double to integral types
783 by rounding the float/double values before performing the actual
785 - Using 'ConvCast' instead of 'OpcodeCast' for Narrowing conversions
787 2005-02-07 Ritvik Mayank <mritvik@novell.com>
794 Changed for reflecting correct Error Number.
796 2005-02-07 Manjula GHM <mmanjula@novell.com>
797 * mb-parser.jay: Some more fixes related to displaying correct line number
799 2005-02-04 Satya Sudha K <ksathyasudha@novell.com>
800 * ecore.cs : Fixed the implicit conversion of float/double to integral types:
801 - Rounding the float/double values before performing the actual conversion
803 * expression.cs : 1) Added a class 'StringConcat' to handle string concatenations
804 2) Fixed string conversions in arithmatic operations
806 * mb-parser.jay : Create a new 'StringConcat' object (instead of Binary) for concat_expression
808 2005-02-03 Manjula GHM <mmanjula@novell.com>
809 *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.
811 2005-02-03 Manjula GHM <mmanjula@novell.com>
814 Modified Project and solution files to reflect new changes
816 2005-01-29 Ritvik Mayank <mritvik@novell.com>
823 Changed for reflecting correct Error Number/Message.
825 2005/01/29 Satya Sudha K <ksathyasudha@novell.com>
826 * ecore.cs : Added code for String conversions.
828 2005/01/28 Satya Sudha K <ksathyasudha@novell.com>
829 * ecore.cs : Added a few fixes for Boolean to Numeric Conversions
831 2005/01/25 Satya Sudha K <ksathyasudha@novell.com>
832 * ecore.cs : Added support for Implicit numeric conversions.
833 Most of the work on this patch done by Jambunathan K
835 2005/01/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
836 * driver.cs : correct handling of /imports command-line option.
837 Patch from Hans Kratz <kratz@omnicore.com>
839 2005-01-13 Ritvik Mayank <mritvik@novell.com>
840 * mb-parser.jay: Changed Error Number for Modifiers.PRIVATE to throw the right ExceptionNumber as 31089 .
841 * mb-parser.jay: Added Modifiers.PROTECTED to throw the right Error Number as 31047 .
843 2005-01-13 Ritvik Mayank <mritvik@novell.com>
844 * ecore.cs: Changed the Error Number for setter as 30526 and getter as 30524 in Expression DoResolveLValue .
845 * expression.cs: Changed the Error Number for set == null as 30526 and get == null as 30524 .
847 2005-01-13 Ritvik Mayank <mritvik@novell.com>
848 * statement.cs: For 'if (RedimTarget.Type.GetArrayRank() != args.Count)' changed the Error Number as 3415 .
850 2005-01-12 Anirban Bhattacharjee <banirban@novell.com>
851 * mb-parser.jay: Replaced "logical_end_of_line" with "end_of_stmt" in couple of places
852 to support delemeter ':' along with "EOL" as end of statement
854 2005-01-12 Anirban Bhattacharjee <banirban@novell.com>
855 * statement.cs: Another trivial correction
857 2005-01-11 Anirban Bhattacharjee <banirban@novell.com>
858 * statement.cs: A trivial correction in yesterday's check-in
860 2005-01-10 Anirban Bhattacharjee <banirban@novell.com>
871 Removed warnings from all the above files which were showing up during make
874 2005-01-10 Anirban Bhattacharjee <banirban@novell.com>
875 * mb-parser.jay: Check for the overloaded property
877 2005-01-10 Anirban Bhattacharjee <banirban@novell.com>
878 * class.cs: A better check provided before adding a property to TypeContainer
880 2004-12-21 Anirban Bhattacharjee <banirban@novell.com>
886 IndexerName variable is now known as DefaultPropName in the above files
888 2004-12-21 Anirban Bhattacharjee <banirban@novell.com>
889 * mb-parser.jay: A check which restrict declaring more than one property
890 as default within same class
892 2004-12-21 Anirban Bhattacharjee <banirban@novell.com>
893 * class.cs: -Mbas will emit DefaultMemberConstuctor attribute for the class
894 which is having Default Property so that it can be recognized by
896 - Removed Indexer class and some of the legacy code inherited from mcs
897 * typemanager.cs: Initialized DefaultMemberAttribute constructor info
899 2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
901 * driver.cs: -q --quiet works, inclusive for the "Alpha" message
902 * Test/misc/Makefile : Added dependency on newly compiled compiler for the test executable
904 2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
905 * driver.cs: it was "monostyled" and some extract method refactorings to make things clear
906 now -q --quiet works, inclusive for the "Alpha" message
907 * Test/misc/Makefile : Added dependency on newly compiled compiler for the test executable
909 2004-11-30 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
910 * Test/misc/Makefile : Compile new RedimPreserve.vb test source
911 * Added Test/misc/RedimPreserve.vb
913 2004-11-30 Alexandre Rocha Lima e Marcondes <alexandremarcondes@psl-pr.softwarelivre.org>
914 * Makefile: Included Microsoft.VisualBasic.dll assembly on LOCAL_MCS_FLAGS.
915 * expression.cs: Created class Preserve to implement REDIM PRESERVE syntax.
916 * statement.cs: Implemented REDIM PRESERVE syntax on Redim.Resolve().
918 2004-11-25 Raja R Harinath <rharinath@novell.com>
919 * Makefile (SUBDIRS): Just list Test.
920 (mb-parser.cs): Depend on jay/skeleton.cs.
922 2004-11-25 Raja R Harinath <rharinath@novell.com>
924 Update to changes in jay/skeleton.cs.
925 * genericparser.cs (yacc_verbose_flag): Change to 'int'.
926 * mb-parser.jay (parse): Update to changes.
927 * driver.cs (verbose): Likewise.
929 2004-11-24 Jambunathan K <kjambunathan@novell.com>
930 * class.cs: Factored out classes - 1) GetMethod and SetMethod from
931 Property and 2) AddDelegateMethod and RemoveDelegateMethod from
934 * mb-parser.jay: Related changes.
936 2004-11-22 Jambunathan K <kjambunathan@novell.com>
937 * enum.cs: Factored out a new class EnumMember from the existing
938 class Enum. Much of the functionality that existed in
939 Enum.LookupEnumValue() is now moved in to
940 EnumMember.DoDefineMember().
942 One significant departure from the previous Enum implmenentation
943 is that now the resolution of an EnumMember's value happens in the
944 EmitContext set up for the Enum.
947 * expression.cs: Trivial changes related to the above change.
949 2004-11-22 Jambunathan K <kjambunathan@novell.com>
950 * Makefile: Added new make target 'consolidate-test-results'.
952 2004-11-22 Jambunathan K <kjambunathan@novell.com>
953 * Makefile: Run "make run-test" or "make run-test-ondotnet" to
954 exercise mbas test cases.
956 * testmbas: Moved the test files under this directory to Test/misc
957 where it rightfully belongs.
959 2004-11-17 Jambunathan K <kjambunathan@novell.com>
960 * attribute.cs: Temporarily made Attribute.UnManagedType public.
962 * class.cs: Removed the instance method
963 MethodCore.LabelParameters() and moved it's functionality to the
964 new instance methods Parameters.LabelParameters() and
965 Parameter.DefineParameter().
967 * parameter.cs: Introduced new instance methods
968 Parameters.LabelParameters() and Parameter.DefineParameter() and
969 slightly improved Parameter.ApplyAttributeBuilder().
971 2004-11-17 Jambunathan K <kjambunathan@novell.com>
972 * mb-parser.jay: During multi-file compilation, global attributes
973 were not getting parsed properly. Fixed the same.
975 2004/10/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
976 * mb-parser.jay : correcting global attributes handling, because it was
977 issuing wrong warnings for trivial files like testmbas/WriteOK.vb.
978 * Makefile : adding testmbas/AssemblyInfo.vb to some test compilations
980 2004-11-10 Jambunathan K <kjambunathan@novell.com>
981 * attribute.cs: 1) Replaced the static method
982 Attribute.GetValidPlaces() with an equivalent instance method
983 Attribute.GetValidTargets() 2) Added new methods Attributes.Emit
984 () and Attribute.Emit(). 3) Migrated functionality of
985 ApplyAttributes to ApplyAttributeBuilder of respective classes.
987 * class.cs, decl.cs, codegen.cs, const.cs, parameter.cs :
988 Implemented ApplyAttributeBuilder() in the following classes:
989 TypeContainer, Constructor, Field, Property, Event, DeclSpace,
990 AssemblyClass, ModuleClass, Const, Method, Parameter.
992 * codegen.cs: Implemented Emit() in the following classes:
993 AssemblyClass and ModuleClass.
995 The ApplyAttributeBuilder() is currently just a placeholder for
996 future code that is yet to come.
998 2004-11-09 Jambunathan K <kjambunathan@novell.com>
999 * class.cs: Coalesced the functionality of Property and
1000 PropertyBase in to Property class and removed the class
1004 2004-11-09 Jambunathan K <kjambunathan@novell.com>
1006 * attribute.cs: Injected a new virtual property
1007 Attributable.AttributeTargets
1009 * decl.cs: Made MemeberCore a derived class of
1012 * parameter.cs: Made Parameter a derived class of
1015 * class.cs: Commented out the "never used" class Indexer. I
1016 suspect that the class will never be required in VB.NET context
1017 and can possibly be stripped off after careful inspection.
1019 * tree.cs, module.cs, interface.cs, enum.cs, delegate.cs,
1020 const.cs, codegen.cs: Changes necessiated by the above changes.
1022 2004-11-07 Jambunathan K <kjambunathan@novell.com>
1023 * typemanager.cs: Removed TypeManager.builder_to_attr which was
1024 redundant and replaced LookupAttr with LookupClass.
1027 * module.cs: Miscellaneous changes
1029 * mb-parser.jay: Upadted actions of the attributes grammar
1031 * codegen.cs: 1) Introduced new classes CommonAssemblyModulClass,
1032 AssemblyClass, ModuleClass 2) Introduced following methods
1033 CodeGen.AddGlobalAttributes, CodeGen.EmitGlobalAttributes
1035 * class.cs: Factored out TypeContainer.AttributeUsage
1037 * attribute.cs: 1) Factored out Attribute.UsageAttribute and
1038 Attribute.GetAttributeUsage 2) Introducing the new base class
1039 Attributable from which all Attributable types will be derived in
1040 the future 3) Added new accessors Attribute.IsAssemblyAttribute
1041 and Attribute.IsModuleAttribute
1043 2004-11-06 Jambunathan K <kjambunathan@novell.com>
1044 * rootcontext.cs: Removed the static field -
1045 RootContext:global_attribute.
1047 2004-11-06 Jambunathan K <kjambunathan@novell.com>
1049 * attribute.cs: Removed the incomplete and (for now) unnecessary
1050 Mono.MonoBASIC.Operator class. Let us bother about this later.
1052 Stripping off these unused bits will help me in 1) refactoring the
1053 mbas Attributes related code 2) reusing the code from the mcs code
1056 2004-11-06 Jambunathan K <kjambunathan@novell.com>
1057 * class.cs: Removed the incomplete and (for now) unnecessary
1058 operator methods. Let us bother about this later.
1060 2004-11-06 Jambunathan K <kjambunathan@novell.com>
1061 * attribute.cs: Removed the redundant AttributeSection class and
1062 moved it's functionality to Attributes class.
1065 * module.cs: Replaced references to AttributeSection with the equivalent constructs.
1066 * rootcontext.cs: Removed the following unused methods
1067 AddGlobalAttribute and AddGlobalAttributeSection.
1069 2004-11-03 Anirban Bhattacharjee <banirban@novell.com>
1070 * mb-parser.jay: Trivial fix for bug #68985
1072 2004-11-04 Jambunathan K <kjambunathan@novell.com>
1073 * mb-parser.jay: Syntactic error handling for attribute grammar.
1075 2004-10-25 Anirban Bhattacharjee <banirban@novell.com>
1076 * statement.cs: VB .Net specific exception number
1078 2004-10-25 Anirban Bhattacharjee <banirban@novell.com>
1079 * mb-parser.jay: Enhanced catch grammar to accept
1081 * statement.cs: Changed Catch and Try classes accordingly
1082 to emit catch statement conditionally
1084 2004/10/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1085 * driver.cs : accept also -t:library as vbc does, besides /target:library
1087 2004-10-21 Anirban Bhattacharjee <banirban@novell.com>
1088 * statement.cs: Introduced few specific execptions
1089 Changed exception number
1091 2004-10-21 Anirban Bhattacharjee <banirban@novell.com>
1092 * statement.cs: A trivial fix to get Exit Try working
1094 2004-10-21 Jambunathan K <kjambunathan@novell.com>
1095 * typemanager.cs (LookupType, LookupTypeDirect): Added a negative
1096 cache for failed type lookups (stolen from mcs' typemanager.cs).
1097 mbas gets a performance boost of about 20 times due to this
1100 * driver.cs (MainDriver): Made the warning message a little less
1101 scary and more inviting for first time users.
1103 2004-10-19 Anirban Bhattacharjee <banirban@novell.com>
1104 * mb-parser.jay: Enhanced For Each...Next statement grammar
1106 2004-10-15 Anirban Bhattacharjee <banirban@novell.com>
1107 * mb-parser.jay: Little improvement in For...next statement
1109 2004-10-14 Anirban Bhattacharjee <banirban@novell.com>
1110 * mb-parser.jay: For statement is enabled to take
1111 optional declaration of the counter variable.
1112 E.g. now for statement can be declared as
1113 For i as integer = 0 to 5
1116 2004/10/08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1117 * Makefile: added target 'profile', changed some sources in testmbas/ to use for that purpose.
1119 2004-10-11 Anirban Bhattacharjee <banirban@novell.com>
1120 * mb-parser.jay: More improvement in 'IF' statement
1122 2004-10-11 Anirban Bhattacharjee <banirban@novell.com>
1123 * mb-parser.jay: If statement is enabled to parse
1124 following type of statement
1125 If <condition> Then <statement> else <statement>
1127 2004/10/08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1128 * typemanager.cs: Changing StandardModule to use less memory, by doing string
1129 concatenation only once. It was wasting 1 MB on the test case.
1131 2004-10-06 Anirban Bhattacharjee <banirban@novell.com>
1132 * mb-parser.jay: Added support for Call keyword in invocation statement
1134 2004-10-01 Anirban Bhattacharjee <banirban@novell.com>
1135 * ecore.cs: Bug fixing - when event raised from other assembly
1137 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
1140 Removed unused event_target field from
1141 AddHandler and RemoveHandler
1143 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
1144 * mb-parser.jay: RemoveHandler function made cleaner
1146 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
1149 Fix for resolution of event expression
1150 when we have a AddHandler statement
1152 AddHandler Me.E, AddressOf Me.EH
1153 Submitted by Raja Harinath<rharinath@novell.com>
1155 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
1156 * mb-parser.jay: Unnecessary to and fro conversion of types
1157 is removed from AddHandler function
1159 2004-09-23 Anirban Bhattacharjee <banirban@novell.com>
1160 * expression.cs: Enhanced mbas to resolve Default property or indexer
1162 2004-09-21 Anirban Bhattacharjee <banirban@novell.com>
1163 * mb-parser.jay: Fixed bug #66231 -
1164 Now, Me.SubName, MyBase.SubName or any other qualified name
1165 is supported by AddressOf operator
1167 2004-09-15 Anirban Bhattacharjee <banirban@novell.com>
1168 * enum.cs: Made Enum member lookup case insensitive
1170 2004-09-15 Anirban Bhattacharjee <banirban@novell.com>
1171 * support.cs: Retrieving default value from another assembly in ReflectionParameters class
1173 2004-09-15 Anirban Bhattacharjee <banirban@novell.com>
1174 * class.cs: Support for enum in default constant value for optional parameters
1176 2004-09-14 Anirban Bhattacharjee <banirban@novell.com>
1177 * mb-parser.jay: Fixed exception number for type confliction in method parameter
1179 2004-09-14 Anirban Bhattacharjee <banirban@novell.com>
1180 * class.cs: Set default constant value for optional parameters in ParameterBuilder
1181 * parameter.cs: Setting optional attribute
1182 These two fixes makes sure that optional parameter with default value get emitted correctly
1184 2004-08-27 Anirban Bhattacharjee <banirban@novell.com>
1185 2004-09-08 Bernie Solomon <bernard@ugsolutions.com>
1186 * mb-parser.jay: fix CopyTo args when parsing parameters
1188 2004-09-08 Bernie Solomon <bernard@ugsolutions.com>
1189 * expression.cs: cope with ParamArray for no args
1190 * mb-parser.jay: dump parsing exception with --stacktrace
1192 2004/08/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1193 * mb-parser.jay : some changes just not to stumble in global attributes definitions in multiple-lines
1194 like we have in VS.NET generated AssemblyInfo.vb files. still need to really process that definitions like mcs does
1196 2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
1198 * mb-tokenizer.cs: first cut at implementing
1201 2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
1206 * support.cs: work on improving overload resolution
1208 2004-08-30 Bernie Solomon <bernard@ugsolutions.com>
1209 * class.cs (FindMembers): filter on modflags
1210 for constructors & constructors are never inherited
1212 * decl.cs (SetupCache): constructors are not
1215 2004-08-27 Anirban Bhattacharjee <banirban@novell.com>
1216 * driver.cs: bug fixing - #63580
1218 2004/08/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1219 * testmbas/WriteOk.vb : Use Mono.GetOptions from VB.NET
1220 * Makefile : exercise new option processing in test program [make-run-local target]
1222 2004-08-26 Bernie Solomon <bernard@ugsolutions.com>
1223 * mb-parser.jay: rework parsing of ParamArray parameters
1225 2004-08-23 Bernie Solomon <bernard@ugsolutions.com>
1226 * mb-parser.jay: cope with more varieties of array declarations
1228 2004-08-20 Anirban Bhattacharjee <banirban@novell.com>
1229 * statement.cs: Bug fixing - Prevent AddHandler from getting resolved second time. This is critical for ASP programs with VB.
1231 2004-08-20 Anirban Bhattacharjee <banirban@novell.com>
1232 * expression.cs: Bug fixing - reference to the current type is fixed during BaseAccess resolution
1234 2004/08/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1235 * driver.cs : Some cleanup, also renamed checked option as it was removeintchecks in disguise
1237 2004-08-18 Anirban Bhattacharjee <banirban@novell.com>
1238 * mb-parser.jay: MyBase support in Handles clause e.g.
1239 Sub EH() Handles MyBase.E
1241 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1242 * mb-parser.jay: Trivial fix (#63213)
1244 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1247 -Bug fixed to resolve the ReadOnly properties from base class
1248 -Fixed bug in resolving properties from different assembly
1250 2004-08-14 Bernie Solomon <bernard@ugsolutions.com>
1251 * mb-parser.jay: fix block used as body of For Each
1253 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1254 * expression.cs: Bug fixing for compiling VB script generated by ASP page - AddressOf operator in a method argument will resolve methods outside assembly
1256 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1257 * class.cs: bug fixing to get PropertyE.vb test running - search of overridable property in base class was failing
1259 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1260 * typemanager.cs: Little correction in my last checked-in code - removed unnecessary return value from ExpandAllInterfaces function
1262 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1263 * class.cs: Trivial bug fixing to get test InterfaceB.vb going
1265 2004-08-13 Rob Tillie <Rob.Tillie@student.tul.edu>
1266 * ecore.cs: added runtime conversion from string to DateTime (fixes test 13329).
1268 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1272 Multiple interface inheritance implemented - fix for getting InheritanceD.vb working in bteasts
1274 2004-08-12 Anirban Bhattacharjee <banirban@novell.com>
1275 * mb-parser.jay: Implements support in Abstract methods
1277 2004-08-12 Anirban Bhattacharjee <banirban@novell.com>
1278 * class.cs: Support for abstract method resolution
1279 * pending.cs: Type of pending_implementations is set to base type
1280 Changed method names IsInterfaceIndexer and IsInterfaceMethod to IsAbstractIndexer and IsAbstractMethod respectively to make them more meaningful
1282 2004-08-11 Bernie Solomon <bernard@ugsolutions.com>
1283 * mb-parser.jay: first cut at TypeOf ... Is
1285 2004-08-11 Bernie Solomon <bernard@ugsolutions.com>
1287 * ecore.cs: More enum changes to handle
1288 implicit conversions better
1290 2004-08-11 Anirban Bhattacharjee <banirban@novell.com>
1291 * mb-parser.jay: Interface inheritance made better
1293 2004-08-09 Jambunathan K <kjambunathan@novell.com>
1294 * mb-parser.jay: Sanitized parser's generic error message
1296 2004-08-07 Anirban Bhattacharjee <banirban@novell.com>
1297 * enum.cs: Enum members became enum type now, instead of underlying type
1299 2004-08-07 Bernie Solomon <bernard@ugsolutions.com>
1300 * mb-parser.jay: Implement GetType(x)
1301 implement Is as equals for the moment so it can be used
1303 2004-08-07 Anirban Bhattacharjee <banirban@novell.com>
1304 * mb-parser.jay: Check for empty enum declaration
1306 2004-08-07 Anirban Bhattacharjee <banirban@novell.com>
1309 Multiple Implements for a particular type member got implemented
1311 2004-08-06 Bernie Solomon <bernard@ugsolutions.com>
1313 * support.cs: Make ReflectionParameter behave
1314 like InternalParameter for byref args.
1315 * expression.cs: Cope with byref args in
1318 2004-08-06 Jambunathan K <kjambunathan@novell.com>
1319 * mb-parser.jay: Changed expression grammar so that it now has a
1320 better semblance to those defined in section 11 of VB.NET spec.
1321 The 'expression' rule as it is now could possibly be buggy. So
1322 another iteration is a must.
1324 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
1325 * mb-parser.jay: Small bug fix in Event grammar
1327 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
1328 * class.cs: Event still needed to have a constructor which takes value of Implements clause.
1329 * mb-parser.jay: Passing Implements clause value to the constructor
1331 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
1334 Exception number made aligned to VB .net
1336 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
1337 * class.cs: Improvements in the implementation of Implements clause in Type members
1339 2004-08-05 Anirban Bhattacharjee <banirban@novell.com>
1340 * mb-parser,jay: Implements clause added to Event grammar
1342 2004-08-05 Anirban Bhattacharjee <banirban@novell.com>
1343 * mb-parser.jay: Interface event declaration grammar rewritten
1345 2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
1346 * class.cs: Introduced check for valid interface name in Implements clause.
1348 2004-08-04 Jambunathan K <kjambunathan@novell.com>
1352 1) Fixed the Attributes grammar starting with
1353 opt_attributes. Introduced new rules starting with
1354 opt_global_attributes rule - section 5.2 of VB.NET spec
1356 2) Introduced new Tokens that correspond to reserved but unused
1357 VB.NET keywords. Added some comments as appropriate in the
1358 keywords hashtable of tokenizer - section 2.3 of VB.NET spec.
1360 3) Corrected 'imports_term' - section 6.3.1 & 6.3.2 of VB.NET
1363 4) Introduced opt_argument_list - section 5.2 of VB.NET spec
1365 5) Corrected namespace_declaration - section 6.4.1 of VB.NET spec
1368 2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
1369 * mb-parser.jay: Added support for modifiers and attributes in interface member grammar
1371 2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
1372 * mb-parser.jay: Property types made optional
1374 2004-08-03 Anirban Bhattacharjee <banirban@novell.com>
1375 * mb-parser.jay: Interface method and property grammar got changed
1376 Support for multiple implements in class
1377 * interface.cs: Interface class has got changed
1378 All other interface types have been removed
1379 * class.cs: Property's Define and CheckBase method changed significantly to be in sync with Interface
1380 * pending.cs: few related changes
1381 * attribute.cs: few related changes
1383 2004/08/01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1384 * mb-parser.jay : Some correction as pointed by Jambunathan,
1385 to allow preprocessor directives after a label that may
1386 leave it orphaned (without a explicit statement)
1387 * testmbas/WriteOK.vb : some vb code to test this case
1389 2004/08/01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1390 * mb-parser.jay : Some correction as pointed by Jambunathan,
1391 to allow intermixing preprocessor directives between
1392 the label and it's associated statement
1394 2004-08-02 Jambunathan K <kjambunathan@novell.com>
1395 * mb-tokenizer.cs: Oops. Also pulled out all of the old
1396 pre-processor code that is no more used.
1398 2004-08-02 Jambunathan K <kjambunathan@novell.com>
1399 * mb-tokenizer.cs: Fixed a bug where line nos were
1400 failing to get incremented when the line continuation
1401 character was appearing by itself on contiguous lines.
1403 * mb-parser.jay: Fixed the #ExternalSource actions
1404 so that ExternalSourceDirectivesC4.vb compiles and
1405 reports source & line nos as expected.
1407 * location.cs: Replaced the existing unintuitive, not
1408 so efficient implementation of struct Location {} with
1409 the one available in mcs with one minor difference: The
1410 number of bits reserved for a file index in the Token
1411 is statically fixed at 8 bits.
1413 2004/08/01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1414 * mb-parser.jay : Revised patch from João Viegas for the labeled_statement accepting integer literals as labels
1416 2004-07-30 Jambunathan K <kjambunathan@novell.com>
1417 * mb-parser.jay: Oops. Reversed unintended checkin.
1418 * mb-tokenizer.cs: Added comment in Tokenizer()
1419 * mb-parser.jay: Fixed miscellaneous bugs in handling of
1420 pre-processor directives. There are two positive test
1421 cases that fail currently: ExternalSourceDirectivesC4.vb
1422 and RegionDirectivesC1.vb
1424 2004-07-30 Raja R Harinath <rharinath@novell.com>
1426 * mb-parser.jay (IfElseStateMachine.State, IfElseStateMachine.Token):
1427 Remove [Flags] attribute.
1429 2004-07-30 Jambunathan K <kjambunathan@novell.com>
1431 * mb-tokenizer.cs: Added support for #region, #externalsource
1432 and conditional compilation pre-processor directives.
1433 Conditonal directives currently accept only boolean literals
1434 as conditonal expressions.
1436 * mb-parser.jay: The original checkin hits a bug in mcs but
1437 compiles fine with csc. This checkin is to workaround the mcs
1438 bug so that cvs builds are not broken.
1441 2004/07/26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1442 * mb-parser.jay : First try at SyncLock Statement #53230
1444 2004-07-22 Anirban Bhattacharjee <banirban@novell.com>
1447 Little betterment in resolution of parameter with Addressof operator in method argument
1449 2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
1450 * expression.cs: Resolution of fully qualified type names - bug fixed
1452 2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
1453 * assign.cs: Added new argument to Expression.ConvertExplicit function call
1455 2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
1456 * expression.cs: Fixed resolution of overloaded functions with delegate as parameter
1457 * ecore.cs: Changes made to stop program getting into an endless loop on not able to cast types of source to destination object.
1458 * statement.cs: Added new argument to Expression.ConvertExplicit function call
1460 2004-07-18 Anirban Bhattacharjee <banirban@novell.com>
1461 * argument.cs: Introduced AddressOf argument type for tracking AddressOf operator in method parameter
1462 * expression.cs: A parameter with AddressOf operator will get converted to Delegate before overload resolution
1463 * 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
1464 This is a fix for bug #59555
1466 2004/07/15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1467 * driver.cs : Implemented support for -pkg to match mcs (bug #58673)
1469 2004/07/15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1470 * driver.cs : started implementing -pkg support to match mcs (bug #58673), also corrected multiplicity for addmodule option
1472 2004-07-13 Anirban Bhattacharjee <banirban@novell.com>
1473 * driver.cs: Added support for AddModule compiler option
1474 * 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.
1476 2004-07-13 Anirban Bhattacharjee <banirban@novell.com>
1477 * driver.cs: Compilation to module is supported now
1479 2004-07-09 Anirban Bhattacharjee <banirban@novell.com>
1482 Default modifier for constructor is set to Public
1484 2004-07-09 Anirban Bhattacharjee <banirban@novell.com>
1485 * 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"
1487 2004-07-07 Anirban Bhattacharjee <banirban@novell.com>
1488 * expression.cs: bug fixed - 60399
1490 2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
1491 * mb-parser.jay: Small correction in delegate declaration grammar
1493 2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
1494 * mb-parser.jay: modified RemoveHandler function
1495 * statement.cs: Added RemoveHandler statement class
1497 2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
1498 * mb-parser.jay: Modified grammar for several syntax of AddressOf operator
1500 2004/06/10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1501 * typemanager.cs : GetPertinentStandardModules receives the array now with params modifier to help usage
1502 * ecore.cs : correcting lookup of semi-qualified standard modules members - A little better but not there yet
1504 2004-06-10 Anirban Bhattacharjee <banirban@novell.com>
1505 * mb-parser.jay: Grammar added for RemoveHandler statement
1507 2004-06-10 Anirban Bhattacharjee <banirban@novell.com>
1510 Added support for statement like
1511 delgate_name = AddressOf sub_name
1513 2004-06-09 Raja R Harinath <rharinath@novell.com>
1515 * Makefile (HAS_TEST): Remove.
1516 (run-test-local): Move rule to and depend on ...
1517 (run-mbas-test): ... this.
1519 2004-06-08 Anirban Bhattacharjee <banirban@novell.com>
1522 Few exception checks for Event
1524 2004-06-07 Anirban Bhattacharjee <banirban@novell.com>
1525 * mb-parser.jay: Resolved the problem in Sub statement with Handles cluse
1526 * class.cs: Added a AddEventHandler function and a EventHandler readonly property. Also modified define of constructor to accommodate Handlers clause.
1527 If one initialize a event handler as
1528 Sub Handler() Handles x.Event
1529 The handler will be initialized by the constructor of the corresponding class by calling AddHandler.
1531 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
1532 * mb-parser.jay: Modified WithEvents grammar
1534 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
1535 * class.cs: - NotOverridable modifier support added to Property
1536 - Few overriding related checks put on Property
1538 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
1539 * decl.cs: Check for duplicate member name within same container
1541 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
1542 * class.cs: changed exception number in event grammar
1544 2004-06-03 Anirban Bhattacharjee <banirban@novell.com>
1545 * mb-parser.jay: RaiseEvent grammar fixed to get it working
1547 2004-06-03 Anirban Bhattacharjee <banirban@novell.com>
1548 * driver.cs: fixed bug - 59540
1550 2004-06-01 Anirban Bhattacharjee <banirban@novell.com>
1551 * mb-parser.jay: Improved event declaration grammar
1553 2004/05/31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1554 * AssemblyInfo.cs : Anirban is and author too
1556 2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
1559 Few exception checks for delegete
1561 2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
1564 Few more fixes in delegate grammar
1566 2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
1567 * mb-parser.jay: Changed Delegate instantiation grammar to get it working
1569 2004-05-26 Anirban Bhattacharjee <banirban@novell.com>
1572 Few property related checks applied
1574 2004-05-24 Anirban Bhattacharjee <banirban@novell.com>
1575 * class.cs: Check for ReadOnly and WriteOnly modifiers added to property
1577 2004-05-24 Anirban Bhattacharjee <banirban@novell.com>
1578 * mb-paresr.jay: Support for abstruct property is added
1580 2004-05-24 Raja R Harinath <rharinath@novell.com>
1582 * Makefile (PROGRAM_INSTALL_DIR): Install mbas into
1583 $(prefix)/lib/mono/1.0.
1585 2004-05-10 Anirban Bhattacharjee <banirban@novell.com>
1586 * mb-parser.jay: few Property related grammar changes
1588 2004-05-14 Anirban Bhattacharjee <banirban@novell.com>
1589 * mb-tokenizer.cs: Bug fixed - Got Property working
1591 2004-05-10 Anirban Bhattacharjee <banirban@novell.com>
1592 * mb-parser.jay: Support added for attaching Attributes in methods
1594 2004/04/07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1595 * AssemblyInfo.cs : Correcting information and version number
1597 2004-04-29 Anirban Bhattacharjee <banirban@novell.com>
1598 * enum.cs: bug fixing - setting one enum member to another
1600 2004-04-29 Anirban Bhattacharjee <banirban@novell.com>
1603 Implemented check for access modifier in enum
1605 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
1607 * typemanager.cs: Property.GetGetMethod() does not return the method if it
1608 is private (it did until now because of a bug). Make sure it works as it
1609 worked before the fix.
1611 2004-04-28 Anirban Bhattacharjee <banirban@novell.com>
1612 * expression.cs: fixed bug to get enum running
1613 * enum.cs: handling several negative scenarios
1614 Changed several exception numbers
1615 * assign.cs: Changed exception number
1617 2004-04-26 Jackson Harper <jackson@ximian.com>
1619 * Makefile: Get libs from default profile directory.
1621 2004-04-23 Anirban Bhattacharjee <banirban@novell.com>
1622 * mb-parser.jay: Grammar changes for array
1623 * expression.cs: exception number changed for "Incorrectly structured array initializer" exception
1625 2004-04-17 Anirban Bhattacharjee <banirban@novell.com>
1629 a little better structure grammar
1631 2004-04-16 Anirban Bhattacharjee <banirban@novell.com>
1632 * mb-parser.jay: few clean-ups
1634 2004-04-16 Anirban Bhattacharjee <banirban@novell.com>
1635 * class.cs: Duplicate entry point exception number changed
1636 Checked delaration of Types, fields, methods as Protected if they are member of Module type
1637 * const.cs: Checked delaration of constructor as Protected if it is member of Module type
1638 * driver.cs: exception number is changed for "Entry point does not exist" exception
1640 2004-04-15 Anirban Bhattacharjee <banirban@novell.com>
1641 * mb-parser.jay: Classes can't be delared static impicitly as other module members
1643 2004-04-15 Anirban Bhattacharjee <banirban@novell.com>
1644 * class.cs: Couple of bug fixes in defining default static constructor, partially imposed by the fix earlier
1646 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
1647 * class.cs: Added support for Shadows modifier in Variables
1649 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
1650 * const.cs: Added support for Shadows modifier in constant
1652 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
1653 * expression.cs: Removed the check which was stoping type instances to access the shared variables
1655 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
1656 * modifiers.cs: changed exception number for invalid modifiers exception
1658 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
1659 * mb-parser.jay: Removed 'static_constructor_declaration' - this is not required as 'constructor_declaration' implementation is good enough to handle static constructors too
1660 * class.cs: Handling couple of negative scenarios related to static constructors and bug fixes
1662 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
1663 * class.cs: Couple of negative scenario handling
1665 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
1666 * mb-parser.jay: Few clean-up
1668 2004-04-12 Anirban Bhattacharjee <banirban@novell.com>
1669 * mb-parser.jay: Bug fixed - Base class ctor was getting called twice when called explicitly from the derived class ctor as MyBase.New
1671 2004-04-12 Anirban Bhattacharjee <banirban@novell.com>
1672 * mb-parser.jay: Fixed bugs for calling ctor from another ctor in the same class by using statments like
1677 2004/04/07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1678 * mb-tokenizer.cs : Better error message when dealing with date literals
1680 2004-04-06 Anirban Bhattacharjee <banirban@novell.com>
1685 Changed/added serveral Accessibility related expections
1687 2004-04-05 Anirban Bhattacharjee <banirban@novell.com>
1692 Several error messages and numbers are changed in all the above four classes
1694 2004-04-04 AnirbanBhattacharjee <banirban@novell.com>
1695 * delegate.cs: changed default access modifier
1696 * enum.cs: changed default access modifier
1697 * interface.cs: changed default access modifier
1698 * modifiers.cs: extension of bug fixed for getting NotOverridable modifier working for methods
1700 2004-04-04 AnirbanBhattacharjee <banirban@novell.com>
1701 * class.cs: Changed exception messages and their numbers to align better with VB
1702 Changed default access modifier of method to Public
1703 Bug fixed to get NotOverridable modifier working
1704 * decl.cs: Changed exception messages and numbers
1706 2004-03-25 Anirban Bhattacharjee <banirban@novell.com>
1707 * class.cs: bug fixing - creating default constructor when no constructor is specified
1708 Few modifiers are changed to align with Vb
1710 2004/03/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1711 * typemanager.cs : being more carefull with null arguments in some places,
1712 null checking in GetPertinentStandardModules() loop
1713 * namespace.cs : a helper ToString override
1714 * ecore.cs : Dealing with finding more than a pertinent standard module having a global member
1715 * testmbas/WriteOk.vb : Exercising correct standard module resolution
1716 NOTE: Almost there for Bug #52067 - just the semi-qualified case isn't working
1718 2004-03-23 Anirban Bhattacharjee <banirban@novell.com>
1719 * mb-parser.jay: handled implicit static modifier for module members in const
1720 * const.cs: changed supported modifiers
1722 2004-03-23 Anirban Bhattacharjee <banirban@novell.com>
1723 * modifiers.cs: Return name of the modifiers' changed to vb specific
1725 2004/03/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1726 * ecore.cs : now it gets the correct list of namespaces in scope (either imported or current) Almost there for Bug #52067
1728 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1729 * mb-parser.jay: One more negative scenario is addressed in const grammar
1731 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1732 * const.cs: Change type of constant to the type of its value if no explicit type declaration found
1734 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1735 * mb-parser.jay: Grammar for declaring constant inside block is changed
1737 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1738 * const.cs: Changed exception numbers
1740 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1741 * mb-parser.jay: Changed grammar for constant
1743 2004/03/02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1744 * mb-tokenizer.cs : handling better linebreak, specially when delaing with literals and preprocessing directives
1746 2004-03-16 Anirban Bhattacharjee <banirban@novell.com>
1748 - changed variable declaration grammar and added support for multiple variables declartion under single type e.g. dim x, y as integer
1749 - added few exception checks in variables
1750 - added one exception check in property
1752 2004/03/02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1753 * sourcebeingcompiled.cs : new source/class to hold things previously contained in namespaces.cs
1754 because in C# they were semantically tied to nested namespaces, and in VB.NET
1755 they can occur only once per file.
1756 * mbas.exe.sources: added sourcebeingcompiled.cs
1757 * mb-parser.jay: reference RootContext.Sourcebeingcompiled things
1758 * namespace.cs: move pieces to sourcebeingcompiled
1759 * rootcontext.cs: use SourceBeingCompiled class
1760 * decl.cs: reference RootContext.Sourcebeingcompiled things
1762 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
1763 * mb-tokenizer.cs: Support for '-' delimiter in DateTime
1765 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
1766 * report.cs: Formatted warning thrown
1768 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
1774 Added Overloads and Shadows modifiers to Function and Sub
1775 Fixed few other modifier related problems in Function and Sub
1777 2004-01-07 Nick Drochak <ndrochak@ieee.org>
1781 * row.cs: Eliminate warnings about unused variables.
1783 2004/01/06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1784 * typemanager.cs : correcting translation of System types to language types,
1785 also temporarily circunventing a exception in ModuleBuilder.GetType inside LookupTypeReflection,
1786 corrected many ` characters to ' in error messages
1787 * testmbas/WriteOK.vb : testing newly implemented IsNumeric global function
1789 2004-01-04 David Sheldon <dave-mono@earth.li>
1791 * expression.cs: Added matching ")" to error message for
1794 2003/12/23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1795 * driver.cs : added stubs for options "/netcf /sdkpath:path"
1796 * namespace.cs, decl.cs, rootcontext.cs : use hashtable to avoid duplicate importation of namespaces
1797 (especially between command-line option /imports and explicit Import clauses), what manifested itself as
1798 error messages for ambiguous names that where in truth identical
1799 * statement.cs : trying to fix the 'exit' statement DoEmit, for "Exit Sub"
1800 * mb-parser.jay, mb-tokenizer.cs : initial support for type_characters (dim az$ = dim az as string)
1802 2003/12/18 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1803 * class.cs : case-sensitiveness when tracking the entry-point removed
1804 * driver.cs : IsSWFApp would try to pass a null 'mainclass' to the hashtable indexer, throwing an exception
1805 (even for correct programs because of the bug above). Now this condition is tested before
1807 2003/12/06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1808 * ecore.cs : problems trying to implicit convert OMITTED arguments, solved
1809 * mb-tokenizer.cs, mb-parser.jay, typemanager.cs : support for the date primitive type and date literals
1810 * testmbas/WriteOK.vb: testing date type and date literal
1812 2003/11/12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1813 * driver.cs : /imports option now is implemented
1814 * mb-parser.jay: support for pre-imported namespaces (the default Microsoft.VisualBasic and those from /imports)
1816 2003/11/12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1817 * mb-tokenizer.cs : integer literal (Hex starts with &H not 0x), handle Octal literals (&O)
1818 * handle unicode specialized double-quotes in string literals
1819 * corrected some mishandling of conversions in numeric literals
1820 * implemented support for char literals ("z"c)
1821 * Makefile : verbose target uses verbose argument
1822 * testmbas/WriteOK.vb: many tests for literals implemented
1823 * literal.cs: correcting lack of a ShortLiteral class
1824 * mb-parser.jay: removed support for unsigned int literals, added support for short int literals
1826 2003/11/10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1827 * *.cs, mb-parser.jay: Switched all from defining/using namespace Mono.CSharp to Mono.MonoBASIC
1828 * location.cs: SymbolDocument now returns a SymbolDocumentWriter using the right (SymLanguageType.Basic) GUID
1830 2003/10/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1832 Don't print exception when a file is not found to be parsed
1833 File extensions not matched are now processed with the default parser
1834 Better handle file/directory not found exceptions, and use Report.Error in that case
1835 * added defaultparserattribute.cs
1836 * mb-parser.jay : Mono.MonoBASIC.Parser is now the [DefaultParser]
1837 * location.cs version 1.4 recovered (Marco Ridoni had it overwritten with an older version)
1838 * mb-tokenizer.cs, rootcontext.cs, tree.cs: Location constructor needs column number now
1840 2003/09/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1841 * .cvsignore: WHOOPS
1843 2003/09/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1844 * .cvsignore: some more files to ignore
1846 2003/09/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1847 * mb-tokenizer.cs, driver.cs: Back to Linux line-endings, SORRY
1849 2003/09/16 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1850 * Makefile: corrected testing in Windows/Cygwin (from mbas.exe to ./mbas.exe), because it was getting the installed compiler instead of the compiled one
1851 * mb-tokenizer.cs: Redoing: Preprocessor directives must be case-insensitive (many .ToLower() used)
1852 * driver.cs: No more 'linkpaths' option, use 'libpath' instead
1854 2003/09/15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1855 * driver.cs: Corrected handling of FileNotFoundException in LoadAssembly(), according to Bernie Solomon's patch
1857 2003/08/13 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1858 * mb-parser.jay: ReDim statement parses many variables now (but initializers aren't allowed)
1859 Erase statement implemented
1860 Lots of garbage (never reduced rules) deleted
1861 Reduce/Reduce problems eliminated (where due to having opt_modifiers duplicated inside property_declaration rule)
1862 * statement.cs : class Redim is prepared to have ReDim Preserve copying code called,
1863 but we need to check if that code is lying in Microsoft.VisualBasic.dll
1866 2003-07-26 Ben Maurer <bmaurer@users.sourceforge.net>
1868 * statement.cs: Make Math.XXX System.Math.XXX, to fix the build.
1870 2003-07-20 Peter Williams <peter@newton.cx>
1872 * Makefile: Remove the test target which conflicted with
1873 the global target. (Change confirmed with Rafael.)
1875 2003-04-02 Duncan Mak <duncan@ximian.com>
1877 * mb-parser.jay: Temporarily remove the references to
1878 Class.MustOverride to fix the build.
1880 2003/03/29 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1881 * mb-parser.jay: corrected some module related rules
1882 * location.cs : now handles column information
1884 2003/03/11 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1885 * makefile.gnu : use $RUNTIME for all targets
1886 actually run the compiled program on 'test-gtk' target
1887 * mb-tokenizer.cs : no escaping of chars allowed in VB.NET (old mcs code removed)
1888 handle doubled-doublequotes (VB idiom to escape a doublequote)
1890 2003/03/04 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1891 * mb-parser.jay: added rule for Imports with alias
1892 * mb-parser.jay: Friend (internal) modifier was missing,
1893 Shared modifier was expecting Static token erroneously
1894 Modules must accept only a static constructor rule added
1895 Constant declaration rule added
1896 * makefile & makefile.gnu : actually run the compiled program on test target
1898 2003/03/03 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1899 * mb-tokenizer.cs : new semi-keywords: Compare, Explicit, Strict, On, Off, Binary, Text
1900 * mb-parser.jay: tokens for above semi-keywords, and rules for option directives
1901 * driver.cs: integrates command line options with parser flags for option directives
1902 * makefile & makefile.gnu : added 'verbose' target that uses --verbose switch to compile
1903 the test source and pipes it through 'less', also added a Extended Syntax source
1905 2003/02/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1906 * class.cs : As, per vbc, there is a rootnamespace now, --main wasn't working anymore,
1907 because it was expecting a fully qualified class name.
1908 We now also test the name passed prepended by the rootnamespace.
1909 * class.cs : Corrected warning "The keyword new is required on `Mono.CSharp.Property.Emit'
1910 because it hides inherited member `PropertyBase.Emit'", by making it virtual
1911 in PropertyBase and override in Property.
1912 * makefile.gnu : test and test-gtk targets now depend on mbas.exe
1915 2003/02/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1916 * mb-parser.jay : eliminated reduce/reduce conflict on duplicated rank_specifier rule
1917 by renaming the one using brackets to bracketed_rank_specifier
1919 2003/02/12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1920 * added argument.cs (extracted from expression.cs) makefiles corrected
1921 * mb-parser.jay : eliminated reduce/reduce conflict on opt_argument_list rule,
1922 by putting and if to make a argument list with just an empty argument list become an empty list
1924 2003/02/03 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1925 * rootcontext.cs : added RootNamespace member
1926 * mb-parser.jay : use RootContext.RootNamespace to initialize outermost namespace
1928 - implement rootnamespace parameter, and defaults it to the output file name
1929 - like vbc if no source file name is provided just show help
1931 2003/01/22 Nick Drochak <ndrochak@gol.com>
1932 * makefile: Use csc compiler in here. makefile.gnu assumes mono/mcs
1934 2003-01-13 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1935 * added cleanup method to tokenizer as needed but modifications made in jay
1937 2003-01-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1938 * changed test target in makefile work
1939 * corrected authors list to include Marco
1941 2002-10-23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1942 * merged many sources from mcs/mcs, to resync
1944 2002-10-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1945 * using Mono.GetOptions preliminar support for response files,
1946 changed the makefile target 'test' for use o response file testmbas/filelist
1948 2002-10-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1949 * merged many sources from mcs/mcs, to resync
1951 2002-10-05 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1952 * merged many sources from mcs/mcs, to resync
1954 2002-08-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1955 * merged many sources from mcs/mcs, to resync
1957 2002-09-03 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1958 * integrated new version of Mono.GetOptions (reflection/attributes-based)
1960 2002-08-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1961 * merged expression.cs from mcs/mcs, to resync
1963 2002-08-29 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1964 * merged assign.cs, attribute.cs, class.cs, codegen.cs, const.cs, decl.cs, delegate.cs, ecore.cs, enum.cs,
1965 expression.cs, interface.cs, pending.cs, report.cs, rootcontext.cs, statement.cs, support.cs and
1966 typemanager.cs from mcs/mcs, to resync
1968 2002-08-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1969 * added "test" target to makefile
1970 * merged assign.cs, attribute.cs, cfold.cs, class.cs, codegen.cs, const.cs, constant.cs,
1971 decl.cs, delegate.cs, ecore.cs, enum.cs, expression.cs, interface.cs, modifiers.cs, parameter.cs,
1972 pending.cs, report.cs, rootcontext.cs, statement.cs, support.cs and typemanager.cs from mcs/mcs, to resync
1974 2002-07-14 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1975 * merged assign.cs, class.cs, ecore.cs, expression.cs, statement.cs and typemanager from mcs/mcs, to resync
1977 2002-07-09 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1978 * merged attribute.cs, ecore.cs, namespace.cs and statement.cs from mcs/mcs, to resync
1980 2002-07-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1981 * merged attribute.cs, class.cs, codegen.cs, ecore.cs, expression.cs,
1982 modifiers.cs, namespace.cs, report.cs, rootcontext.cs, statement.cs and typemanager.cs from mcs/mcs, to resync
1983 * changed driver.cs to follow mcs lead on error/warning counting and reporting
1985 2002-06-23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1986 * merged attribute.cs, class.cs, ecore.cs, rootcontext.cs, support.cs and typemanager.cs from mcs/mcs, to resync
1987 * makefile makes csc reference a copy of Mono.GetOptions.dll (mbas.sln now compiles to mbas dir instead of mbas/bin/Debug)
1989 2002-06-21 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1990 * merged attribute.cs, class.cs, interface.cs, expression.cs, ecore.cs,
1991 modifiers.cs, rootcontext.cs, statement.cs and typemanager.cs from mcs/mcs, to resync
1992 * added pending.cs from mcs/mcs, to resync
1994 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1995 * merged assign.cs, attribute.cs, enum.cs and namespace.cs from mcs/mcs, to resync
1996 * namespace.cs needed some fixing, because CSharpParser isn?t available
1998 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1999 * merged delegate.cs, ecore.cs, typemanager.cs and rootcontext.cs from mcs/mcs, to resolve expression.cs blues
2001 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2002 * oops merged expression.cs from mcs/mcs is breaking my make
2003 * driver.cs, assemblyinfo.cs wasn?t ready for prime time (offending lines were commented out)
2005 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2006 * merged expression.cs from mcs/mcs
2008 2002-06-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2009 * corrected Module.TypeAttr property getter in module.cs
2011 2002-06-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2012 * merged typemanager.cs from mcs/mcs
2014 2002-06-10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2015 * merged expression.cs and interface.cs from mcs/mcs
2017 2002-06-09 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2018 * merged const.cs, enum.cs, expression.cs and typemanager.cs from mcs/mcs
2019 * comments on module.cs
2021 2002-06-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2022 * merged class.cs, attribute.cs from mcs/mcs
2024 2002-06-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2025 * merged class.cs, enum.cs, expression.cs, interface.cs, rootcontext.cs and typemanager.cs from mcs/mcs
2026 * added module.cs (class Mono.MonoBASIC.Module - derived from Mono.CSharp.Class)
2027 * added System.XML and Microsoft.VisualBasic to the default config (driver.cs)
2029 2002-06-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2030 * merged class.cs and ecore.cs from mcs/mcs
2032 2002-06-02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2033 * copied methods MakeName and CheckDef from mcs\cs-parser.jay to GenericParser.cs
2034 where they are inherited by mb-parser.jay/cs
2035 * put some code on the Module rule in mb-parser.jay to at least generate a class in the assembly,
2036 if I jump over the entry-point check code, while debugging
2038 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2039 * class Mono.MonoBASIC.Tokenizer now handles
2040 - all valid line-terminators (CR, LF, CRLF, LS and PS)
2041 - escaped identifiers (like [Integer])
2042 - old-fashioned comments syntax (REM Blah-Blah)
2044 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2045 * modified mbas.ico to be a small version of mono?s logo (see mcs\MonoIcon.png)
2047 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2048 * squashed some reduce/reduce conflicts out of mb-parser.jay
2050 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2051 * merged codegen.cs from mcs
2052 * altered Driver.cs to work with new codegen.cs
2054 2002-05-27 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2056 * merged all I could from mcs source files into mbas
2057 * added VS.NET Solution and Project Files for mbas
2058 * added icon file and a vb-sources-filled testmbas directory
2059 * started this ChangeLog