1 2005-11-29 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
2 * test-mbas.pl: Parsing Test Files in order to find necessary
3 compilerOptions and generate the correct CompileCommand.
5 2005-11-28 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
6 * decl.cs: Avoid to stop searching for class members after encountering
7 the first member, in order to find the inherited or overloaded members.
9 2005-11-28 Jelmer Vernooij <jelmer@samba.org>
10 * Fix to Bugzilla Bug #76476: bash-specific code in
11 mbas/Test/misc/Makefile
13 2005-11-20 Jelmer Vernooij <jelmer@samba.org>
14 * genericparser.cs,decl.cs,class.cs: allow members with the same name
15 as their enclosing type, just like vbc does
17 2005-11-19 Jelmer Vernooij <jelmer@samba.org>
18 * mb-parser.jay: fix error handling when array modifiers are specified
19 on both type and variable name
21 2005-11-18 Jelmer Vernooij <jelmer@samba.org>
22 * mb-tokenizer.cs: add fix so the tokenizer no longer parses label
23 names at the start of continuation lines
25 2005-11-16 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
26 * mb-parser.jay: Do not create a set_block with ReadOnly Properties.
27 * typemanager.cs: Search for correct DefaultPropName and the class
28 Type that contains the Default Property.
29 * expression.cs: Send the correct Type for porperties search;
30 Fix Error with uses of default properties without a Default Property
33 2005-11-09 Renato Suga <renato.suga@gmail.com>
34 * mb-parser.jay: added STOP to statement rule to allow a keyword STOP
35 in an iteration_statement.
37 2005-11-07 Renato Suga <renato.suga@gmail.com>
38 * Expression.cs: commented this line:
39 // SimpleName.Error_ObjectRefRequired (ec, loc, me.Name);
42 2005-11-05 Kornél Pál <kornelpal@hotmail.com>
44 * AssemblyInfo.cs: Use Consts.MonoVersion as AssemblyVersion.
45 * mbas.exe.sources: Added Consts.cs.
47 2005-11-02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
48 * typemanager.cs: avoiding some Null Pointer Exceptions in GetPertinentStandardModules
50 2005-11-01 Aldo Monteiro do Nascimento <aldo@psl-pr.softwarelivre.org>
51 * mb-parser.jay: created a new parser rule to match a interface
52 declared inside another interface: "opt_interface_declaration"
53 * mb-parser.jay: when redeclare compiler constants no compilation
54 error is raised, and than the redeclaring works as expected.
56 2005-10-31 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
57 * ecore.cs: Fix UnboxCast Emit calling Activator.CreateInstance when
60 2005-10-29 Renato Suga<renato@psl-pr.softwarelivre.org>
61 * codegen.cs: Added static global ArrayList ArrListVersion to keep the
62 assembly's version numbers. reating a new Version(string str) is not
63 working. The Init() method was modified to correctly set the version value;
64 * attribute.cs: one of its constructor was modified to pass the string
65 version to CodeGen.ArrListVersion so that at Init () CodeGen sets the
68 2005-10-19 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
69 * class.cs: Casting TypeContainer to Interface in order to call the
70 correct overload of RootContext.RegisterOrder.
72 2005-10-12 Renato Suga <renato@psl-pr.softwarelivre.org>
73 * mb-parser.jay: foreach_statement now emits the correct error code for
74 test ForEachC1.vb, which is an error test
76 2005-10-11 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
78 * block.cs, statements.cs, mb-parser.jay: Support for On Error Goto 0,
79 On Error Goto -1 and On Error Goto <Label>
81 2005-10-07 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
82 Alexandre Rocha Lima e Marcondes <alexandre@psl-pr.softwarelivre.org>
83 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
85 * block.cs, statements.cs, expression.cs: Fix ForEach when iterating fields
87 2005-10-05 Aldo Monteiro <aldo@psl-pr.softwarelivre.org>
89 * ecore.cs : Created a public property (Id) to access externally the field
90 id in DecoratedIdentifier class
91 * assign.cs : Before get the expression for construct 'Mid' statement
92 testing if that expression is 'DecoratedIdentifier', and, if it is,
93 getting the expression assigned in its 'id' field.
95 2005-09-26 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
96 Alexandre Rocha Lima e Marcondes <alexandre@psl-pr.softwarelivre.org>
97 * mb-parser.jay: Fix ForEach when using fields as the variable used
98 to iterate through the elements.
99 * expression.cs: Created new LocalVariableReference EmitAssign used in
100 for each with non Static fields.
101 * statement.cs: Created new attribute of VariableInfo - FieldAlias wich
102 references a FieldBase indicated by the alias.
103 Added a field assign treatment if the foreach variable references
104 a non static field, in EmitCollectionForeach and EmitArrayForeach.
105 * mb-parser.jay, block.cs, statement.cs, expression.cs: Remove Bool Static
106 Attribute from VariableInfo class.
108 2005-09-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
109 * mb-parser.jay: Throws error for Option Strict on with Propeties
110 whitout an 'As' clause or a type character. Fix Interfaces errors with
113 2005-09-16 Renato Suga <renato@psl-pr.softwarelivre.org>
114 * mb-parser.jay:rules goto_statement and for_statement changed in order
115 to recognize error BC30757
116 * statement.cs: class added property LabelName and uncomented string
117 label_name. These changes allow one to get the LabelName when reporting
119 * block.cs: added property bool HasGotoStatement and property String
120 LabelName. The first one combined with HasLabeledStatement allows one to
121 identify the aforementioned error.
123 2005-09-15 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
124 Alexandre Rocha Lima e Marcondes
125 <alexandre@psl-pr.softwarelivre.org>
126 * mb-parser.jay : Error statement statemet support.
128 2005-08-23 Satya Sudha K <ksathyasudha@novell.com>
130 StatementSequence : Avoid Resolving multiple times
132 Minor fix to 'Constantify' method
134 2005-08-22 Satya Sudha K <ksathyasudha@novell.com>
136 Invocation's DoResolve method : Avoid resolving multiple times.
138 'GetPertinentStandardModules' : Case-insensitive name lookup
140 2005-08-19 Satya Sudha K <ksathyasudha@novell.com>
142 Preventing conversion of an 'object' to 't[]' where the latter is a
146 Fixed handling of 'Return' and 'Exit' statements from within
149 2005-08-09 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
150 * mb-parser.jay: Define as used the function's return variable,
151 because of bug #75747.
152 Fix Event errors with Shared modifiers.
154 2005-08-05 Gert Driesen <drieseng@users.sourceforge.net>
156 * expression.cs: Initialize FieldBase variable. Fixes build using csc
157 because of bug #75721.
159 2005-08-05 Satya Sudha K <ksathyasudha@novell.com>
161 'ConstructArgumentList': Converting the default value to the param type before
162 appending to the arg list
164 2005-08-04:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
166 Oops, line number on Redim errors as Aldo/Renato intended
167 Better logic flow when redim errors occur to avoid exceptions later
169 2005-08-04 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
170 * statement.cs: Refactored code/fields from Redim to RedimClause
171 so that it works for multiple arrays being redimensioned in the same statement
172 * mb-parser.jay: redim_clauses rule was losing additional items
174 2005-08-04 Aldo Monteiro <aldo@psl-pr.softwarelivre.org>,
175 Renato Suga <renato@psl-pr.softwarelivre.org>
176 * mb-parser.jay: treatment of opt_type_spec in redim_clause
177 * statement.cs: changed constructor in class RedimClause so that it gets
178 an Expression. Report.Error now emits the line number too for ReDim
179 errors. New attribute in RedimClause: Expression ExprAs
181 2005-08-04 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
182 * mb-parser.jay: Fix local static variables initialization
184 2005-07-29 Satya Sudha K <ksathyasudha@novell.com>
185 * mb-parser.jay, expression.cs: Fixed concat operation with compound assign statements
186 * support.cs : Returning 'NullLiteral.Null', when a parameter default value is null
188 2005-07-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com> and Alexandre
189 Rocha Lima e Marcondes <alexandre@psl-pr.softwarelivre.org>
190 * block.cs: Local variable alias and static flag support and
191 MethodBlock class that knows the name of the Method that owns it
192 * class.cs: Static local specialname modificator emission
193 * expression.cs: Hidden static field access using the static local
195 * statement.cs: Local variable alias support and Static local flag
196 * mb-parser.jay: Static local identification and related erros
199 2005-07-26 Ankit Jain <jankit@novell.com>
201 * typemanager.cs (TypeManager): Change types of system_*_expr from Expression
203 (TypeToCoreTypExpr): New.
204 * ecore.cs (DecoratedIdentifier): New. For an identifier with a typecharacter.
205 * mb-tokenizer.cs: Allow type characters for numbers.
206 * constant.cs (IntConstant.ConvertToDecimal): New.
207 (DoubleConstant.ConvertToFloat): Return FloatConstant.
208 (DoubleConstant.ConvertToDecimal): New.
209 * mb-parser.jay (type_character): Return Type instead of TypeExpr.
210 (primary_expression): Add 'literal type_character' variant.
211 (qualified_identifier) : Use DecoratedIdentifier in case of a typecharacter.
212 (ConvertLiteral): New. Convert literal to a different type.
214 2005-07-25 Ankit Jain <jankit@novell.com>
216 * mb-parser.jay: RaiseEvent: Add code to check for null event.
218 2005-07-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
219 * block.cs: Fix dead code detection
221 2005-07-22 Satya Sudha K <ksathyasudha@novell.com>
222 * mb-tokenizer.cs: Fix for statements ending with ':'
224 2005-07-22 Manjula GHM <mmanjula@novell.com>
225 *mb-parser.jay: Check for type before resolving
227 2005-07-22 Ankit Jain <jankit@novell.com>
229 * mb-parser.jay: evt_handler_list: New.
230 opt_evt_handler, sub_declaration: Support multiple event handlers.
232 2005-07-21 Manjula GHM <mmanjula@novell.com>
233 *assign.cs: Support conversions in "new" assignment statement
235 2005-07-21 Satya Sudha K <ksathyasudha@novell.com>
236 * Support method invocation without '()'
238 2005-07-21 Manjula GHM <mmanjula@novell.com>
239 *assign.cs: Support conversions in "new" assignment statement
241 2005-07-21 Manjula GHM <mmanjula@novell.com>
242 * mb-parser.jay: Support type specifier for "ReDim" statements
244 2005-07-18 Satya Sudha K <ksathyasudha@novell.com>
245 * Supported overloading of properties (has to be tested thoroughly)
247 2005-07-13 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
249 * block.cs: Support and successfully find goto target labels
250 declared out of block that contains the goto statement.
252 2005-07-13 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
253 *statement.cs: extract class Block into new source block.cs
254 *mbas.exe.sources: added newly extracted block.cs
255 *block.cs: eliminated "block.cs(252) warning CS0219: The variable 'cur'
256 is assigned but its value is never used"
258 2005-07-12 Manjula GHM <mmanjula@novell.com>
259 * parameter.cs , ecore.cs : Changed error number and message according to .NET
261 2005-07-12 Manjula GHM <mmanjula@novell.com>
262 * cfold.cs: Support 'Nothing' for Constants.
265 2005-07-07 Manjula GHM <mmanjula@novell.com>
266 * mb-parser.jay: To avoid Array modifiers specified on both a variable and its type
268 2005-07-06 Umadevi S <sumadevi@novell.com>
269 * statement.cs - suppressing warnings due to unused variables in mbas compiler.
271 2005-07-05 Umadevi S <sumadevi@novell.com>
272 * expression.cs - added support to handle DBNull
274 2005-06-30:5 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
275 *ecore.cs: some tentative code preparing to support automatic definition of variables
276 on first usage with Option Explicit Off commented out as it breaks on emit phase, and
277 guesses wrong what should be automatically defined
279 2005-06-30:4 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
280 *statement.cs: some tentative code preparing to support automatic definition of variables
281 on first usage with Option Explicit Off. Converting backticks to apostrophes on messages
283 2005-06-30:3 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
284 *mb-parser.jay: small bits preparing to support automatic definition of variables
285 on first usage with Option Explicit Off
287 2005-06-30:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
288 *assign.cs: Killed exception occurring when resolving an assignment
289 to an undefined symbol (Explicit On scenario)
291 2005-06-30 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
292 *mb-parser.jay: Eliminating 'reduce/reduce conflicts' and 'rule never reduced'
293 by simplifying the directive_expression rule (formerly directive_exp).
295 2005-06-30 Manjula GHM <mmanjula@novell.com>
296 *mb-parser.jay: To support signed exponent
298 2005-06-30 Manjula GHM <mmanjula@novell.com>
299 *mb-tokenizer.c : Support hexadecimal literals - supports binary value
300 of the integer literal - like &H8000S is "-32768" and not an overflow exception
302 2005-06-28 Manjula GHM <mmanjula@novell.com>
303 *class.cs : Support suitable property to override
305 2005-06-27 Manjula GHM <mmanjula@novell.com>
307 *statement.cs: Support and successfully find label definition inside child block
309 2005-06-23 Manjula GHM <mmanjula@novell.com>
310 *mb-parser.jay: Clear the hashtable in end of block
312 2005-06-23 Manjula GHM <mmanjula@novell.com>
313 *mb-parser.jay: To disallow reassignment of object inside 'With...End With' block
315 2005-06-13 Manjula GHM <mmanjula@novell.com>
316 *statement.cs: To handle Goto in Try, Catch block
318 2005-06-10 Manjula GHM <mmanjula@novell.com>
319 *assign: To Support other types of source in Mid statement
321 2005-06-10 Manjula GHM <mmanjula@novell.com>
322 *assign: To Support Optional Max. Insert length value in Mid statement
324 2005-06-10 Manjula GHM <mmanjula@novell.com>
325 *assign.cs: Allow New Date assignment to other types
327 2005-06-08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
329 - Added informational attributes that Mono.GetOptions shows in the help screen.
330 - Bumped up the version number a bit
332 2005-06-07 Satya Sudha K <ksathyasudha@novell.com>
333 * class.cs : Disallowing default properties without parameters.
334 * Some cleanups in other files to get rid of warnings.
336 2005-06-03 Satya Sudha K <ksathyasudha@novell.com>
337 * expression.cs : Allowing '()' for property invocation with no args.
339 - Caching a property's arguments (as 'NoTypes') while registering a property
340 - If a name resolves to a field as well as a property, treat it as a field
341 - If a name resolves to a field as well as a event, giving preference to event
342 * parameters.cs : Case-insensitive search/comparison of parameter/arg names
344 2005-05-30 Satya Sudha K <ksathyasudha@novell.com>
345 * statement.cs : 'For Each' statement : Wrapping the body of the For loop inside an exception block
346 if the enumerator implements 'IDisposable' interface
348 2005-05-27 Satya Sudha K <ksathyasudha@novell.com>
351 - Supporting all kinds of case clauses (like 'A To B', 'Is >= 30')
352 - Expressions of all primitive types can now be specified as 'Select'
353 and 'Case' expressions
355 2005-05-27 Manjula GHM <mmanjula@novell.com>
356 * mb-parser.jay : To support "Sub New()" without modifier
358 2005-05-26 Manjula GHM <mmanjula@novell.com>
359 * typemanager.cs : Fix Enum conversion for two level assignment and added few more cases
361 2005-05-26 Manjula GHM <mmanjula@novell.com>
362 * statement.cs : Fix problem w.r.t 'Exit Sub'
364 2005-05-24 Satya Sudha K <ksathyasudha@novell.com>
365 * statement.cs : Added few more members like 'memberName' and 'type_expr' to the 'StatementSequence'
366 class. Added an appropriate constructor for the same.
367 * expression.cs: Late binding for method invocations involving object arguments
370 2005-05-23 Satya Sudha K <ksathyasudha@novell.com>
371 * statement.cs : Copying back the arguments (matching 'ByRef' parameters) in the reverse
372 order (starting with the last argument backwards) as done by vbc
374 2005-05-23 Satya Sudha K <ksathyasudha@novell.com>
375 * statement.cs : Support named arguments in late binding
377 2005-05-17 Satya Sudha K <ksathyasudha@novell.com>
378 * ecore.cs : Removed char <-> numeric/date conversions as they are not supported in vbc
380 2005-05-17 Satya Sudha K <ksathyasudha@novell.com>
382 - Disallowing named arguments for 'ParamArray' parameters
383 - Creating named arguments (to replace missing arguments), in case other arguments are also named
385 2005-05-16 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
386 * driver.cs : correcting/refactoring EntryPoint fixing as per #74955
387 adjusting references changed by Gonzalo to their new containing namespace.
388 small renaming refactorings to make things clearer.
389 * CompilerOptions.cs : refactored out all things that now live in
390 Mono.GetOptions.Useful.CommonCompilerOptions
392 2005-05-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
394 * driver.cs: fix ambiguous reference.
396 2005-05-16 Manjula GHM <mmanjula@novell.com>
397 * literal.cs: Declare NullType
398 * typemanager.cs: Invoke proper Decimal constructor
399 * ecore.cs : Support Decimal type in literalized version
403 Support Decimal constant declaration and retrieval of Decimal structure
406 2005-05-16 Satya Sudha K <ksathyasudha@novell.com>
407 * parameter.cs : Converting the default value (for optional param) to param type.
408 * ecore.cs : Fixed string <-> char constant conversions.
412 Support for named arguments
414 2005-05-12:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
415 * driver.cs : mcs having C# 2.0 features makes me slip some simplified delegate creation
416 code, that breaks with csc in Windows (as pointed by Atsushi)
417 * CompilerOptions.cs : moved some delegate definitions outside the class for shorter name when using.
419 2005-05-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
420 * driver.cs : slimmed down, most non-specific code moved to new class/source CompilerOptions.
421 Also steps where individualized and put on a array of delegates for sequencial execution
422 with stop-on-first-blunder behavior. It is similar to the configurable pipeline of the
424 * CompilerOptions.cs: added, refactored from inside driver.cs (some code/properties will migrate
425 further to Mono.GetOptions.Usefull.CommonCompilerOptions)
426 * mbas.exe.sources: added CompilerOptions.cs
428 2005-05-11 Ankit Jain <ankit@corewars.org>
430 * expression.cs (Invocation.CheckParameterAgainstArgument): Return ConversionType.Widening
431 for a NoArg argument. Fix earlier patch.
433 2005-05-11 Ankit Jain <ankit@corewars.org>
435 * expression.cs (Invocation.CheckParameterAgainstArgument): Return ConversionType.Narrowing
436 for a NoArg argument.
437 (Invocation.IsApplicable): Don't create a REF type argument if it is NoArg.
438 (Invocation.ConstructArgumentList): Create argument with its DefaultValue for a NoArg.
440 2005-05-10 Satya Sudha K <ksathyasudha@novell.com>
441 * statement.cs, expression.cs, assign.cs :
442 Patch to allow latebinding expressions to be specified as ByRef arguments
444 2005-05-10 Raja R Harinath <rharinath@novell.com>
446 * driver.cs (InitializeRootContextAndOthersFromOptions):
447 Overwrite RootContext.RootNamespace only if there's a value.
449 2005-05-09 Satya Sudha K <ksathyasudha@novell.com>
450 * parameter.cs : Support 'Optional ByRef' parameters
451 * statement.cs : Using 'System.Reflection.Missing.Value' in case of missing argument for
454 2005-05-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
455 * driver.cs : Oops, correcting some find-and-replace mishaps
457 2005-05-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
458 * driver.cs : Refactored to use Mono.GetOptions.Useful.CommonCompilerOptions
460 2005-05-05 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
461 * mb-parser.jay : Correction to allow optional type caracters in some situations.
462 Now 6 more tests under mbas/Test/tests/types compile and 3 more compile and run.
463 Patch contributed by Brazilian MonoBASIC Team:
464 Aldo Monteiro do Nascimento <aldomonteiro@gmail.com>
465 Alessandro de Oliveira Binhara <binhara@psl-pr.softwarelivre.org>
466 Alexandre Rocha Lima e Marcondes <alexandre.marcondes@psl-pr.softwarelivre.org>
467 Ramiro Batista da Luz <ramiroluz@gmail.com>
468 Renato Suga <renatos@techresult.com.br>
470 2005-05-05 Satya Sudha K <ksathyasudha@novell.com>
473 Changed the 'For' class to :
474 - Handle negative step values
475 - Supporting all types (numeric/object) of loop control variables
477 * expression.cs : Removed some unused methods
478 * ecore.cs : Added float/double -> decimal conversion to NarrowingConversion
480 2005-05-02 Manjula GHM <mmanjula@novell.com>
481 * expression.cs : Support Reference Parameter - when argument and parameter are different.
483 2005-04-29 Satya Sudha K <ksathyasudha@novell.com>
489 Support for 'LateSet', 'LateIndexGet', 'LateIndexSet'
492 Minor fixes in conversions
494 2005-04-26 Manjula GHM <mmanjula@novell.com>
496 "out" is not supported as Parameter Modifier in VB.NET
498 2005-04-26 Manjula GHM <mmanjula@novell.com>
504 "out" is not supported as Parameter Modifier in VB.NET
505 2005-04-21 Satya Sudha K <ksathyasudha@novell.com>
507 Fixed object to bool/float/double conversions
508 Fixed numeric <--> Enum conversions
512 (Initial) Support for 'LateGet'
514 2005-04-18 Manjula GHM <mmanjula@novell.com>
516 Support expressions for Directives
517 2005-04-19 Satya Sudha K <ksathyasudha@novell.com>
519 Fixed conversions from 'object' to double, float, decimal and long
521 2005-04-18 Manjula GHM <mmanjula@novell.com>
523 Support Conditional Constant Directives
525 2005-04-13 Manjula GHM <mmanjula@novell.com>
526 * expression.cs : To support 'Or' argument of AttributeTargets in AttributeUsage
527 2005-04-12 Satya Sudha K <ksathyasudha@novell.com>
529 Introduced a class 'StatementSequence', to translate a late-binding call to a block of statements
531 Support for late binding (Not complete yet. Some basic method invocations work as of now)
533 2005-04-06 Ritvik Mayank <mritvik@novell.com>
534 by Sudharsan V <vsudharsan@novell.com>
535 * class.cs: correction for reflecting the correct Line No. in the Error message
536 2005-04-05 Ritvik Mayank <mritvik@novell.com>
537 Patch Submitted by Sudharsan V <vsudharsan@novell.com>
538 * mb-parser.jay : correction for reflecting the correct Line No. in the Error message
540 2005-03-31 Manjula GHM <mmanjula@novell.com>
541 *mb-tokenizer.cs:To fix make test failure
542 2005-03-31 Manjula GHM <mmanjula@novell.com>
543 *mb-tokenizer.cs: Support declaration of decimal numbers with no digits before point like '.52' instead of '0.52'
545 2005-03-29 Manjula GHM <mmanjula@novell.com>
546 *assign.cs: Disallow New Date assignment with types other than date and object type
548 2005-03-25:3 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
549 * AssemblyInfo.cs: Small increment in the version number to publicize --codepage support
551 2005-03-25:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
552 * genericparser.cs: another static Parse overload to support specifying encoding when parsing from a file.
553 * driver.cs: obsoletes --tokenize, record currentEncoding for each source-file to be processed, call the new Parse overload
554 Implement support for a --codepage option similar to mcs. Example:
555 mono mbas.exe --codepage:1252 WindowsANSI.vb --codepage:utf8 UTF8.vb --codepage:reset currentcharset.vb
557 2005-03-25:1 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
558 * genericparser.cs: another Parse overload to support specifying encoding when parsing from a file.
559 Preparing to implement support for a /codepage option similar to mcs
561 2005-03-24 Manjula GHM <mmanjula@novell.com>
562 * mb-tokenizer.cs: To fix parser error for ExternalSource Directives
564 2005-03-24 Satya Sudha K <ksathyasudha@novell.com>
566 - Support for Dictionary Member Access Expressions
567 - Exponentiation operator in compound assignments
568 * expression.cs : Merged 'Exponentiation' class with 'Binary' class
569 * cfold.cs : Fixed constant division (both '\' and '/')
571 2005-03-24 Manjula GHM <mmanjula@novell.com>
572 * mb-parser.jay,mb-tokenizer.cs: Support 'End Statement' in parser and tokenizer file
574 2005-03-24 Manjula GHM <mmanjula@novell.com>
575 Sudharsan V <vsudharsan@novell.com>
576 * mb-parser.jay,mb-tokenizer.cs:
577 Revamped end of block logic
579 2005-03-24 Manjula GHM <mmanjula@novell.com>
580 * statement.cs: Fix bug in 'Exit Function'
582 2005-03-23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
583 * AssemblyInfo.cs: Some more diligent authors
584 * ecore.cs, cfold.cs, delegate.cs: remove warnings-causing code
586 2005-03-22 Satya Sudha K <ksathyasudha@novell.com>
589 Fix for 'MyClass' instance expressions
591 2005-03-22 Satya Sudha K <ksathyasudha@novell.com>
592 Sudharsan V <vsudharsan@novell.com>
594 Removed some conflicts in the grammar
596 2005-03-21 Manjula GHM <mmanjula@novell.com>
597 * statement.cs: Implementation of 'End' Statement which terminates execution immediately
599 2005-03-18 Satya Sudha K <ksathyasudha@novell.com>
603 Supported 'Like' operator
605 2005-03-18 Manjula GHM <mmanjula@novell.com>
606 Sudharsan V <vsudharsan@novell.com>
608 Some more fixes related to displaying correct line number
610 2005-03-17 Manjula GHM <mmanjula@novell.com>
611 *ecore.cs : rounding the double values before converting to Integer types
613 2005-03-17 Manjula GHM <mmanjula@novell.com>
614 *ecore.cs : Support Double in case statement and do necessary conversion to Int Literal
616 2005-03-16 Manjula GHM <mmanjula@novell.com>
618 Support 'expression TO expression' case clause for select statement
620 2005-03-15 Satya Sudha K <ksathyasudha@novell.com>
623 Supported '\' (int division) operator
625 2005-03-11 Manjula GHM <mmanjula@novell.com>
626 Sudharsan V <vsudharsan@novell.com>
628 Fixes related to displaying correct line number,error message and handle End of blocks
630 2005-03-11 Satya Sudha K <ksathyasudha@novell.com>
632 Support for 'Nothing' with all operators.
633 A few fixes to the 'DoNumericPromotions' method
635 Fixed Boolean constant conversions
636 Supported conversion of 'nothing' to value types
638 2005-03-10 Manjula GHM <mmanjula@novell.com>
640 Support 'Is' for all reference types
642 2005-03-10 Satya Sudha K <sathyasudha@novell.com>
645 Support for 'AndAlso' and 'OrElse' operator
647 2005-03-09 Manjula GHM <mmanjula@novell.com>
650 Support 'Is' Expression
652 2005-03-08 Satya Sudha K <ksathyasudha@novell.com>
653 * ecore.cs : Included Decimal -> Single/double conversions in 'WideningConversionExists' method
654 * expression.cs : Fixed the behaviour of some Unary operators
655 Allowing Exponentiation on object types
657 2005-03-08 Manjula GHM <mmanjula@novell.com>
658 *assign.cs : Bug fix - new Object creation and object assignment
660 2005-03-07 Satya Sudha K <ksathyasudha@novell.com>
661 * mb-parser.jay : Support for shift operators
662 * assign.cs : Calling 'RuntimeHelpers.GetObjectValue' during new Object creation
663 (to make it consistent with vbc)
664 * ecore.cs : Implicit constant conversions - rounding the float/double values before
665 converting to Integer types
668 * Corrected the opertor names
669 * Allowing unary plus and minus on strings (by converting
671 * Allowing 'Not' operator on all numeric/string types
672 (float/double/decimal/strings are converted to long)
673 * In case of short/byte operations, changing the end result back to short/byte
674 Exponentiation class :
675 * Disallowing '^' operator on dates/char/ reference types
677 * Corrected operator names
678 * And-ing the right operand with appropriate mask in case of shift operators
679 * In case of short/byte operations, changing the end result back to short/byte
680 * Re-organised the code of the 'ResolveOperator' method:
681 * code organised according to expression types
682 * Performing the required conversions before 'OverloadResolve'
683 * Did the following fixes :
684 * Fixed string/bool behaviour with logical/shift operators
685 * Disallow arithmatic operators on char and dates
686 * Fixed DateTime comparisons
687 * Using methods of 'System.Decimal' for all Decimal operations
688 * Supporting all operators with enum types
689 * Allowing arithmatic/relational/shift/logical operators on type 'object'
691 2005-03-04 Manjula GHM <mmanjula@novell.com>
694 Support Mid Assignment Statement
696 2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
697 * driver.cs: correcting the handling of many options.
698 * Upgraded to latest Mono.GetOptions that supports vbc style boolean arguments /debug+ /debug-, and /help2 to hide less used options
700 2005-02-25 Satya Sudha K <ksathyasudha@novell.com>
703 Fix for default properties by Raja Harinath
705 2005-02-22 Manjula GHM <mmanjula@novell.com>
706 *expression.cs: Handle String and date before Overloadresolve
707 Added code for char + char
708 Handle One of operands is value type in Relational operators
709 Handle when both are Object types
711 2005-02-22 Manjula GHM <mmanjula@novell.com>
712 *expression.cs: Handle Bool w.r.t Logical operators
714 2005-02-21 Manjula GHM <mmanjula@novell.com>
715 *expression.cs: Handle all cases of relational Operators w.r.t String types
717 2005-02-21 Manjula GHM <mmanjula@novell.com>
718 *mb-parser.jay: Throws error for missing END statements - by Sudharsan V
720 2005-02-18 Satya Sudha K <ksathyasudha@novell.com>
722 Modified Implicit Constant conversions to :
723 * Handle Long/Float/Double Constants also
724 * Throw a compile time error if constant cannot be converted to a specified type
728 Widening Enum constants to constants of underlying type before doing the conversions
730 Added support for exponentiation operator for constants
731 * enum.cs : Allowing double values to be specified as enum values
734 2005-02-17 Manjula GHM <mmanjula@novell.com>
736 Support relational operator for other types
738 2005-02-15 Manjula GHM <mmanjula@novell.com>
740 Fixed conversion from char[] to String
742 2005-02-15 Manjula GHM <mmanjula@novell.com>
743 * expression.cs: Fixed concat of string and char using '+" operator
745 2005-02-14 Manjula GHM <mmanjula@novell.com>
747 Fixed all String to char conversions
749 2005-02-14 Satya Sudha K <ksathyasudha@novell.com>
751 - Fixed one of my previous checkin, which was breaking some test cases.
753 - Fixed the explicit conversion of float/double to integral types in some places.
755 2005-02-11 Ritvik Mayank <mritvik@novell.com>
760 Changed for reflecting correct Error Number
762 2005-02-10 Satya Sudha K <ksathyasudha@novell.com>
764 - Implemented Exponentiation operator (^)
765 - Fixed the behaviour of strings in arithmatic operations (only addition
766 was supported before)
767 - Fixed Decimal arithmatic with float/double types
768 - If operation = Division, promoting both operands to double, otherwise
769 doing numeric promotions
770 * mb-parser.jay : Changes related to the Exponentiation operator
772 2005-02-10 Manjula GHM <mmanjula@novell.com>
773 * expression.cs: Fixed concat of date and string using '+" operator
775 2005-02-08 Satya Sudha K <ksathyasudha@novell.com>
776 * assign.cs: Fix for implicit conversions in Compound Assignments
778 - Fixed the explicit conversion of float/double to integral types
779 by rounding the float/double values before performing the actual
781 - Using 'ConvCast' instead of 'OpcodeCast' for Narrowing conversions
783 2005-02-07 Ritvik Mayank <mritvik@novell.com>
790 Changed for reflecting correct Error Number.
792 2005-02-07 Manjula GHM <mmanjula@novell.com>
793 * mb-parser.jay: Some more fixes related to displaying correct line number
795 2005-02-04 Satya Sudha K <ksathyasudha@novell.com>
796 * ecore.cs : Fixed the implicit conversion of float/double to integral types:
797 - Rounding the float/double values before performing the actual conversion
799 * expression.cs : 1) Added a class 'StringConcat' to handle string concatenations
800 2) Fixed string conversions in arithmatic operations
802 * mb-parser.jay : Create a new 'StringConcat' object (instead of Binary) for concat_expression
804 2005-02-03 Manjula GHM <mmanjula@novell.com>
805 *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.
807 2005-02-03 Manjula GHM <mmanjula@novell.com>
810 Modified Project and solution files to reflect new changes
812 2005-01-29 Ritvik Mayank <mritvik@novell.com>
819 Changed for reflecting correct Error Number/Message.
821 2005/01/29 Satya Sudha K <ksathyasudha@novell.com>
822 * ecore.cs : Added code for String conversions.
824 2005/01/28 Satya Sudha K <ksathyasudha@novell.com>
825 * ecore.cs : Added a few fixes for Boolean to Numeric Conversions
827 2005/01/25 Satya Sudha K <ksathyasudha@novell.com>
828 * ecore.cs : Added support for Implicit numeric conversions.
829 Most of the work on this patch done by Jambunathan K
831 2005/01/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
832 * driver.cs : correct handling of /imports command-line option.
833 Patch from Hans Kratz <kratz@omnicore.com>
835 2005-01-13 Ritvik Mayank <mritvik@novell.com>
836 * mb-parser.jay: Changed Error Number for Modifiers.PRIVATE to throw the right ExceptionNumber as 31089 .
837 * mb-parser.jay: Added Modifiers.PROTECTED to throw the right Error Number as 31047 .
839 2005-01-13 Ritvik Mayank <mritvik@novell.com>
840 * ecore.cs: Changed the Error Number for setter as 30526 and getter as 30524 in Expression DoResolveLValue .
841 * expression.cs: Changed the Error Number for set == null as 30526 and get == null as 30524 .
843 2005-01-13 Ritvik Mayank <mritvik@novell.com>
844 * statement.cs: For 'if (RedimTarget.Type.GetArrayRank() != args.Count)' changed the Error Number as 3415 .
846 2005-01-12 Anirban Bhattacharjee <banirban@novell.com>
847 * mb-parser.jay: Replaced "logical_end_of_line" with "end_of_stmt" in couple of places
848 to support delemeter ':' along with "EOL" as end of statement
850 2005-01-12 Anirban Bhattacharjee <banirban@novell.com>
851 * statement.cs: Another trivial correction
853 2005-01-11 Anirban Bhattacharjee <banirban@novell.com>
854 * statement.cs: A trivial correction in yesterday's check-in
856 2005-01-10 Anirban Bhattacharjee <banirban@novell.com>
867 Removed warnings from all the above files which were showing up during make
870 2005-01-10 Anirban Bhattacharjee <banirban@novell.com>
871 * mb-parser.jay: Check for the overloaded property
873 2005-01-10 Anirban Bhattacharjee <banirban@novell.com>
874 * class.cs: A better check provided before adding a property to TypeContainer
876 2004-12-21 Anirban Bhattacharjee <banirban@novell.com>
882 IndexerName variable is now known as DefaultPropName in the above files
884 2004-12-21 Anirban Bhattacharjee <banirban@novell.com>
885 * mb-parser.jay: A check which restrict declaring more than one property
886 as default within same class
888 2004-12-21 Anirban Bhattacharjee <banirban@novell.com>
889 * class.cs: -Mbas will emit DefaultMemberConstuctor attribute for the class
890 which is having Default Property so that it can be recognized by
892 - Removed Indexer class and some of the legacy code inherited from mcs
893 * typemanager.cs: Initialized DefaultMemberAttribute constructor info
895 2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
897 * driver.cs: -q --quiet works, inclusive for the "Alpha" message
898 * Test/misc/Makefile : Added dependency on newly compiled compiler for the test executable
900 2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
901 * driver.cs: it was "monostyled" and some extract method refactorings to make things clear
902 now -q --quiet works, inclusive for the "Alpha" message
903 * Test/misc/Makefile : Added dependency on newly compiled compiler for the test executable
905 2004-11-30 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
906 * Test/misc/Makefile : Compile new RedimPreserve.vb test source
907 * Added Test/misc/RedimPreserve.vb
909 2004-11-30 Alexandre Rocha Lima e Marcondes <alexandremarcondes@psl-pr.softwarelivre.org>
910 * Makefile: Included Microsoft.VisualBasic.dll assembly on LOCAL_MCS_FLAGS.
911 * expression.cs: Created class Preserve to implement REDIM PRESERVE syntax.
912 * statement.cs: Implemented REDIM PRESERVE syntax on Redim.Resolve().
914 2004-11-25 Raja R Harinath <rharinath@novell.com>
915 * Makefile (SUBDIRS): Just list Test.
916 (mb-parser.cs): Depend on jay/skeleton.cs.
918 2004-11-25 Raja R Harinath <rharinath@novell.com>
920 Update to changes in jay/skeleton.cs.
921 * genericparser.cs (yacc_verbose_flag): Change to 'int'.
922 * mb-parser.jay (parse): Update to changes.
923 * driver.cs (verbose): Likewise.
925 2004-11-24 Jambunathan K <kjambunathan@novell.com>
926 * class.cs: Factored out classes - 1) GetMethod and SetMethod from
927 Property and 2) AddDelegateMethod and RemoveDelegateMethod from
930 * mb-parser.jay: Related changes.
932 2004-11-22 Jambunathan K <kjambunathan@novell.com>
933 * enum.cs: Factored out a new class EnumMember from the existing
934 class Enum. Much of the functionality that existed in
935 Enum.LookupEnumValue() is now moved in to
936 EnumMember.DoDefineMember().
938 One significant departure from the previous Enum implmenentation
939 is that now the resolution of an EnumMember's value happens in the
940 EmitContext set up for the Enum.
943 * expression.cs: Trivial changes related to the above change.
945 2004-11-22 Jambunathan K <kjambunathan@novell.com>
946 * Makefile: Added new make target 'consolidate-test-results'.
948 2004-11-22 Jambunathan K <kjambunathan@novell.com>
949 * Makefile: Run "make run-test" or "make run-test-ondotnet" to
950 exercise mbas test cases.
952 * testmbas: Moved the test files under this directory to Test/misc
953 where it rightfully belongs.
955 2004-11-17 Jambunathan K <kjambunathan@novell.com>
956 * attribute.cs: Temporarily made Attribute.UnManagedType public.
958 * class.cs: Removed the instance method
959 MethodCore.LabelParameters() and moved it's functionality to the
960 new instance methods Parameters.LabelParameters() and
961 Parameter.DefineParameter().
963 * parameter.cs: Introduced new instance methods
964 Parameters.LabelParameters() and Parameter.DefineParameter() and
965 slightly improved Parameter.ApplyAttributeBuilder().
967 2004-11-17 Jambunathan K <kjambunathan@novell.com>
968 * mb-parser.jay: During multi-file compilation, global attributes
969 were not getting parsed properly. Fixed the same.
971 2004/10/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
972 * mb-parser.jay : correcting global attributes handling, because it was
973 issuing wrong warnings for trivial files like testmbas/WriteOK.vb.
974 * Makefile : adding testmbas/AssemblyInfo.vb to some test compilations
976 2004-11-10 Jambunathan K <kjambunathan@novell.com>
977 * attribute.cs: 1) Replaced the static method
978 Attribute.GetValidPlaces() with an equivalent instance method
979 Attribute.GetValidTargets() 2) Added new methods Attributes.Emit
980 () and Attribute.Emit(). 3) Migrated functionality of
981 ApplyAttributes to ApplyAttributeBuilder of respective classes.
983 * class.cs, decl.cs, codegen.cs, const.cs, parameter.cs :
984 Implemented ApplyAttributeBuilder() in the following classes:
985 TypeContainer, Constructor, Field, Property, Event, DeclSpace,
986 AssemblyClass, ModuleClass, Const, Method, Parameter.
988 * codegen.cs: Implemented Emit() in the following classes:
989 AssemblyClass and ModuleClass.
991 The ApplyAttributeBuilder() is currently just a placeholder for
992 future code that is yet to come.
994 2004-11-09 Jambunathan K <kjambunathan@novell.com>
995 * class.cs: Coalesced the functionality of Property and
996 PropertyBase in to Property class and removed the class
1000 2004-11-09 Jambunathan K <kjambunathan@novell.com>
1002 * attribute.cs: Injected a new virtual property
1003 Attributable.AttributeTargets
1005 * decl.cs: Made MemeberCore a derived class of
1008 * parameter.cs: Made Parameter a derived class of
1011 * class.cs: Commented out the "never used" class Indexer. I
1012 suspect that the class will never be required in VB.NET context
1013 and can possibly be stripped off after careful inspection.
1015 * tree.cs, module.cs, interface.cs, enum.cs, delegate.cs,
1016 const.cs, codegen.cs: Changes necessiated by the above changes.
1018 2004-11-07 Jambunathan K <kjambunathan@novell.com>
1019 * typemanager.cs: Removed TypeManager.builder_to_attr which was
1020 redundant and replaced LookupAttr with LookupClass.
1023 * module.cs: Miscellaneous changes
1025 * mb-parser.jay: Upadted actions of the attributes grammar
1027 * codegen.cs: 1) Introduced new classes CommonAssemblyModulClass,
1028 AssemblyClass, ModuleClass 2) Introduced following methods
1029 CodeGen.AddGlobalAttributes, CodeGen.EmitGlobalAttributes
1031 * class.cs: Factored out TypeContainer.AttributeUsage
1033 * attribute.cs: 1) Factored out Attribute.UsageAttribute and
1034 Attribute.GetAttributeUsage 2) Introducing the new base class
1035 Attributable from which all Attributable types will be derived in
1036 the future 3) Added new accessors Attribute.IsAssemblyAttribute
1037 and Attribute.IsModuleAttribute
1039 2004-11-06 Jambunathan K <kjambunathan@novell.com>
1040 * rootcontext.cs: Removed the static field -
1041 RootContext:global_attribute.
1043 2004-11-06 Jambunathan K <kjambunathan@novell.com>
1045 * attribute.cs: Removed the incomplete and (for now) unnecessary
1046 Mono.MonoBASIC.Operator class. Let us bother about this later.
1048 Stripping off these unused bits will help me in 1) refactoring the
1049 mbas Attributes related code 2) reusing the code from the mcs code
1052 2004-11-06 Jambunathan K <kjambunathan@novell.com>
1053 * class.cs: Removed the incomplete and (for now) unnecessary
1054 operator methods. Let us bother about this later.
1056 2004-11-06 Jambunathan K <kjambunathan@novell.com>
1057 * attribute.cs: Removed the redundant AttributeSection class and
1058 moved it's functionality to Attributes class.
1061 * module.cs: Replaced references to AttributeSection with the equivalent constructs.
1062 * rootcontext.cs: Removed the following unused methods
1063 AddGlobalAttribute and AddGlobalAttributeSection.
1065 2004-11-03 Anirban Bhattacharjee <banirban@novell.com>
1066 * mb-parser.jay: Trivial fix for bug #68985
1068 2004-11-04 Jambunathan K <kjambunathan@novell.com>
1069 * mb-parser.jay: Syntactic error handling for attribute grammar.
1071 2004-10-25 Anirban Bhattacharjee <banirban@novell.com>
1072 * statement.cs: VB .Net specific exception number
1074 2004-10-25 Anirban Bhattacharjee <banirban@novell.com>
1075 * mb-parser.jay: Enhanced catch grammar to accept
1077 * statement.cs: Changed Catch and Try classes accordingly
1078 to emit catch statement conditionally
1080 2004/10/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1081 * driver.cs : accept also -t:library as vbc does, besides /target:library
1083 2004-10-21 Anirban Bhattacharjee <banirban@novell.com>
1084 * statement.cs: Introduced few specific execptions
1085 Changed exception number
1087 2004-10-21 Anirban Bhattacharjee <banirban@novell.com>
1088 * statement.cs: A trivial fix to get Exit Try working
1090 2004-10-21 Jambunathan K <kjambunathan@novell.com>
1091 * typemanager.cs (LookupType, LookupTypeDirect): Added a negative
1092 cache for failed type lookups (stolen from mcs' typemanager.cs).
1093 mbas gets a performance boost of about 20 times due to this
1096 * driver.cs (MainDriver): Made the warning message a little less
1097 scary and more inviting for first time users.
1099 2004-10-19 Anirban Bhattacharjee <banirban@novell.com>
1100 * mb-parser.jay: Enhanced For Each...Next statement grammar
1102 2004-10-15 Anirban Bhattacharjee <banirban@novell.com>
1103 * mb-parser.jay: Little improvement in For...next statement
1105 2004-10-14 Anirban Bhattacharjee <banirban@novell.com>
1106 * mb-parser.jay: For statement is enabled to take
1107 optional declaration of the counter variable.
1108 E.g. now for statement can be declared as
1109 For i as integer = 0 to 5
1112 2004/10/08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1113 * Makefile: added target 'profile', changed some sources in testmbas/ to use for that purpose.
1115 2004-10-11 Anirban Bhattacharjee <banirban@novell.com>
1116 * mb-parser.jay: More improvement in 'IF' statement
1118 2004-10-11 Anirban Bhattacharjee <banirban@novell.com>
1119 * mb-parser.jay: If statement is enabled to parse
1120 following type of statement
1121 If <condition> Then <statement> else <statement>
1123 2004/10/08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1124 * typemanager.cs: Changing StandardModule to use less memory, by doing string
1125 concatenation only once. It was wasting 1 MB on the test case.
1127 2004-10-06 Anirban Bhattacharjee <banirban@novell.com>
1128 * mb-parser.jay: Added support for Call keyword in invocation statement
1130 2004-10-01 Anirban Bhattacharjee <banirban@novell.com>
1131 * ecore.cs: Bug fixing - when event raised from other assembly
1133 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
1136 Removed unused event_target field from
1137 AddHandler and RemoveHandler
1139 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
1140 * mb-parser.jay: RemoveHandler function made cleaner
1142 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
1145 Fix for resolution of event expression
1146 when we have a AddHandler statement
1148 AddHandler Me.E, AddressOf Me.EH
1149 Submitted by Raja Harinath<rharinath@novell.com>
1151 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
1152 * mb-parser.jay: Unnecessary to and fro conversion of types
1153 is removed from AddHandler function
1155 2004-09-23 Anirban Bhattacharjee <banirban@novell.com>
1156 * expression.cs: Enhanced mbas to resolve Default property or indexer
1158 2004-09-21 Anirban Bhattacharjee <banirban@novell.com>
1159 * mb-parser.jay: Fixed bug #66231 -
1160 Now, Me.SubName, MyBase.SubName or any other qualified name
1161 is supported by AddressOf operator
1163 2004-09-15 Anirban Bhattacharjee <banirban@novell.com>
1164 * enum.cs: Made Enum member lookup case insensitive
1166 2004-09-15 Anirban Bhattacharjee <banirban@novell.com>
1167 * support.cs: Retrieving default value from another assembly in ReflectionParameters class
1169 2004-09-15 Anirban Bhattacharjee <banirban@novell.com>
1170 * class.cs: Support for enum in default constant value for optional parameters
1172 2004-09-14 Anirban Bhattacharjee <banirban@novell.com>
1173 * mb-parser.jay: Fixed exception number for type confliction in method parameter
1175 2004-09-14 Anirban Bhattacharjee <banirban@novell.com>
1176 * class.cs: Set default constant value for optional parameters in ParameterBuilder
1177 * parameter.cs: Setting optional attribute
1178 These two fixes makes sure that optional parameter with default value get emitted correctly
1180 2004-08-27 Anirban Bhattacharjee <banirban@novell.com>
1181 2004-09-08 Bernie Solomon <bernard@ugsolutions.com>
1182 * mb-parser.jay: fix CopyTo args when parsing parameters
1184 2004-09-08 Bernie Solomon <bernard@ugsolutions.com>
1185 * expression.cs: cope with ParamArray for no args
1186 * mb-parser.jay: dump parsing exception with --stacktrace
1188 2004/08/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1189 * mb-parser.jay : some changes just not to stumble in global attributes definitions in multiple-lines
1190 like we have in VS.NET generated AssemblyInfo.vb files. still need to really process that definitions like mcs does
1192 2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
1194 * mb-tokenizer.cs: first cut at implementing
1197 2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
1202 * support.cs: work on improving overload resolution
1204 2004-08-30 Bernie Solomon <bernard@ugsolutions.com>
1205 * class.cs (FindMembers): filter on modflags
1206 for constructors & constructors are never inherited
1208 * decl.cs (SetupCache): constructors are not
1211 2004-08-27 Anirban Bhattacharjee <banirban@novell.com>
1212 * driver.cs: bug fixing - #63580
1214 2004/08/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1215 * testmbas/WriteOk.vb : Use Mono.GetOptions from VB.NET
1216 * Makefile : exercise new option processing in test program [make-run-local target]
1218 2004-08-26 Bernie Solomon <bernard@ugsolutions.com>
1219 * mb-parser.jay: rework parsing of ParamArray parameters
1221 2004-08-23 Bernie Solomon <bernard@ugsolutions.com>
1222 * mb-parser.jay: cope with more varieties of array declarations
1224 2004-08-20 Anirban Bhattacharjee <banirban@novell.com>
1225 * statement.cs: Bug fixing - Prevent AddHandler from getting resolved second time. This is critical for ASP programs with VB.
1227 2004-08-20 Anirban Bhattacharjee <banirban@novell.com>
1228 * expression.cs: Bug fixing - reference to the current type is fixed during BaseAccess resolution
1230 2004/08/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1231 * driver.cs : Some cleanup, also renamed checked option as it was removeintchecks in disguise
1233 2004-08-18 Anirban Bhattacharjee <banirban@novell.com>
1234 * mb-parser.jay: MyBase support in Handles clause e.g.
1235 Sub EH() Handles MyBase.E
1237 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1238 * mb-parser.jay: Trivial fix (#63213)
1240 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1243 -Bug fixed to resolve the ReadOnly properties from base class
1244 -Fixed bug in resolving properties from different assembly
1246 2004-08-14 Bernie Solomon <bernard@ugsolutions.com>
1247 * mb-parser.jay: fix block used as body of For Each
1249 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1250 * expression.cs: Bug fixing for compiling VB script generated by ASP page - AddressOf operator in a method argument will resolve methods outside assembly
1252 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1253 * class.cs: bug fixing to get PropertyE.vb test running - search of overridable property in base class was failing
1255 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1256 * typemanager.cs: Little correction in my last checked-in code - removed unnecessary return value from ExpandAllInterfaces function
1258 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1259 * class.cs: Trivial bug fixing to get test InterfaceB.vb going
1261 2004-08-13 Rob Tillie <Rob.Tillie@student.tul.edu>
1262 * ecore.cs: added runtime conversion from string to DateTime (fixes test 13329).
1264 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
1268 Multiple interface inheritance implemented - fix for getting InheritanceD.vb working in bteasts
1270 2004-08-12 Anirban Bhattacharjee <banirban@novell.com>
1271 * mb-parser.jay: Implements support in Abstract methods
1273 2004-08-12 Anirban Bhattacharjee <banirban@novell.com>
1274 * class.cs: Support for abstract method resolution
1275 * pending.cs: Type of pending_implementations is set to base type
1276 Changed method names IsInterfaceIndexer and IsInterfaceMethod to IsAbstractIndexer and IsAbstractMethod respectively to make them more meaningful
1278 2004-08-11 Bernie Solomon <bernard@ugsolutions.com>
1279 * mb-parser.jay: first cut at TypeOf ... Is
1281 2004-08-11 Bernie Solomon <bernard@ugsolutions.com>
1283 * ecore.cs: More enum changes to handle
1284 implicit conversions better
1286 2004-08-11 Anirban Bhattacharjee <banirban@novell.com>
1287 * mb-parser.jay: Interface inheritance made better
1289 2004-08-09 Jambunathan K <kjambunathan@novell.com>
1290 * mb-parser.jay: Sanitized parser's generic error message
1292 2004-08-07 Anirban Bhattacharjee <banirban@novell.com>
1293 * enum.cs: Enum members became enum type now, instead of underlying type
1295 2004-08-07 Bernie Solomon <bernard@ugsolutions.com>
1296 * mb-parser.jay: Implement GetType(x)
1297 implement Is as equals for the moment so it can be used
1299 2004-08-07 Anirban Bhattacharjee <banirban@novell.com>
1300 * mb-parser.jay: Check for empty enum declaration
1302 2004-08-07 Anirban Bhattacharjee <banirban@novell.com>
1305 Multiple Implements for a particular type member got implemented
1307 2004-08-06 Bernie Solomon <bernard@ugsolutions.com>
1309 * support.cs: Make ReflectionParameter behave
1310 like InternalParameter for byref args.
1311 * expression.cs: Cope with byref args in
1314 2004-08-06 Jambunathan K <kjambunathan@novell.com>
1315 * mb-parser.jay: Changed expression grammar so that it now has a
1316 better semblance to those defined in section 11 of VB.NET spec.
1317 The 'expression' rule as it is now could possibly be buggy. So
1318 another iteration is a must.
1320 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
1321 * mb-parser.jay: Small bug fix in Event grammar
1323 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
1324 * class.cs: Event still needed to have a constructor which takes value of Implements clause.
1325 * mb-parser.jay: Passing Implements clause value to the constructor
1327 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
1330 Exception number made aligned to VB .net
1332 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
1333 * class.cs: Improvements in the implementation of Implements clause in Type members
1335 2004-08-05 Anirban Bhattacharjee <banirban@novell.com>
1336 * mb-parser,jay: Implements clause added to Event grammar
1338 2004-08-05 Anirban Bhattacharjee <banirban@novell.com>
1339 * mb-parser.jay: Interface event declaration grammar rewritten
1341 2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
1342 * class.cs: Introduced check for valid interface name in Implements clause.
1344 2004-08-04 Jambunathan K <kjambunathan@novell.com>
1348 1) Fixed the Attributes grammar starting with
1349 opt_attributes. Introduced new rules starting with
1350 opt_global_attributes rule - section 5.2 of VB.NET spec
1352 2) Introduced new Tokens that correspond to reserved but unused
1353 VB.NET keywords. Added some comments as appropriate in the
1354 keywords hashtable of tokenizer - section 2.3 of VB.NET spec.
1356 3) Corrected 'imports_term' - section 6.3.1 & 6.3.2 of VB.NET
1359 4) Introduced opt_argument_list - section 5.2 of VB.NET spec
1361 5) Corrected namespace_declaration - section 6.4.1 of VB.NET spec
1364 2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
1365 * mb-parser.jay: Added support for modifiers and attributes in interface member grammar
1367 2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
1368 * mb-parser.jay: Property types made optional
1370 2004-08-03 Anirban Bhattacharjee <banirban@novell.com>
1371 * mb-parser.jay: Interface method and property grammar got changed
1372 Support for multiple implements in class
1373 * interface.cs: Interface class has got changed
1374 All other interface types have been removed
1375 * class.cs: Property's Define and CheckBase method changed significantly to be in sync with Interface
1376 * pending.cs: few related changes
1377 * attribute.cs: few related changes
1379 2004/08/01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1380 * mb-parser.jay : Some correction as pointed by Jambunathan,
1381 to allow preprocessor directives after a label that may
1382 leave it orphaned (without a explicit statement)
1383 * testmbas/WriteOK.vb : some vb code to test this case
1385 2004/08/01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1386 * mb-parser.jay : Some correction as pointed by Jambunathan,
1387 to allow intermixing preprocessor directives between
1388 the label and it's associated statement
1390 2004-08-02 Jambunathan K <kjambunathan@novell.com>
1391 * mb-tokenizer.cs: Oops. Also pulled out all of the old
1392 pre-processor code that is no more used.
1394 2004-08-02 Jambunathan K <kjambunathan@novell.com>
1395 * mb-tokenizer.cs: Fixed a bug where line nos were
1396 failing to get incremented when the line continuation
1397 character was appearing by itself on contiguous lines.
1399 * mb-parser.jay: Fixed the #ExternalSource actions
1400 so that ExternalSourceDirectivesC4.vb compiles and
1401 reports source & line nos as expected.
1403 * location.cs: Replaced the existing unintuitive, not
1404 so efficient implementation of struct Location {} with
1405 the one available in mcs with one minor difference: The
1406 number of bits reserved for a file index in the Token
1407 is statically fixed at 8 bits.
1409 2004/08/01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1410 * mb-parser.jay : Revised patch from João Viegas for the labeled_statement accepting integer literals as labels
1412 2004-07-30 Jambunathan K <kjambunathan@novell.com>
1413 * mb-parser.jay: Oops. Reversed unintended checkin.
1414 * mb-tokenizer.cs: Added comment in Tokenizer()
1415 * mb-parser.jay: Fixed miscellaneous bugs in handling of
1416 pre-processor directives. There are two positive test
1417 cases that fail currently: ExternalSourceDirectivesC4.vb
1418 and RegionDirectivesC1.vb
1420 2004-07-30 Raja R Harinath <rharinath@novell.com>
1422 * mb-parser.jay (IfElseStateMachine.State, IfElseStateMachine.Token):
1423 Remove [Flags] attribute.
1425 2004-07-30 Jambunathan K <kjambunathan@novell.com>
1427 * mb-tokenizer.cs: Added support for #region, #externalsource
1428 and conditional compilation pre-processor directives.
1429 Conditonal directives currently accept only boolean literals
1430 as conditonal expressions.
1432 * mb-parser.jay: The original checkin hits a bug in mcs but
1433 compiles fine with csc. This checkin is to workaround the mcs
1434 bug so that cvs builds are not broken.
1437 2004/07/26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1438 * mb-parser.jay : First try at SyncLock Statement #53230
1440 2004-07-22 Anirban Bhattacharjee <banirban@novell.com>
1443 Little betterment in resolution of parameter with Addressof operator in method argument
1445 2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
1446 * expression.cs: Resolution of fully qualified type names - bug fixed
1448 2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
1449 * assign.cs: Added new argument to Expression.ConvertExplicit function call
1451 2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
1452 * expression.cs: Fixed resolution of overloaded functions with delegate as parameter
1453 * ecore.cs: Changes made to stop program getting into an endless loop on not able to cast types of source to destination object.
1454 * statement.cs: Added new argument to Expression.ConvertExplicit function call
1456 2004-07-18 Anirban Bhattacharjee <banirban@novell.com>
1457 * argument.cs: Introduced AddressOf argument type for tracking AddressOf operator in method parameter
1458 * expression.cs: A parameter with AddressOf operator will get converted to Delegate before overload resolution
1459 * 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
1460 This is a fix for bug #59555
1462 2004/07/15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1463 * driver.cs : Implemented support for -pkg to match mcs (bug #58673)
1465 2004/07/15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1466 * driver.cs : started implementing -pkg support to match mcs (bug #58673), also corrected multiplicity for addmodule option
1468 2004-07-13 Anirban Bhattacharjee <banirban@novell.com>
1469 * driver.cs: Added support for AddModule compiler option
1470 * 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.
1472 2004-07-13 Anirban Bhattacharjee <banirban@novell.com>
1473 * driver.cs: Compilation to module is supported now
1475 2004-07-09 Anirban Bhattacharjee <banirban@novell.com>
1478 Default modifier for constructor is set to Public
1480 2004-07-09 Anirban Bhattacharjee <banirban@novell.com>
1481 * 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"
1483 2004-07-07 Anirban Bhattacharjee <banirban@novell.com>
1484 * expression.cs: bug fixed - 60399
1486 2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
1487 * mb-parser.jay: Small correction in delegate declaration grammar
1489 2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
1490 * mb-parser.jay: modified RemoveHandler function
1491 * statement.cs: Added RemoveHandler statement class
1493 2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
1494 * mb-parser.jay: Modified grammar for several syntax of AddressOf operator
1496 2004/06/10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1497 * typemanager.cs : GetPertinentStandardModules receives the array now with params modifier to help usage
1498 * ecore.cs : correcting lookup of semi-qualified standard modules members - A little better but not there yet
1500 2004-06-10 Anirban Bhattacharjee <banirban@novell.com>
1501 * mb-parser.jay: Grammar added for RemoveHandler statement
1503 2004-06-10 Anirban Bhattacharjee <banirban@novell.com>
1506 Added support for statement like
1507 delgate_name = AddressOf sub_name
1509 2004-06-09 Raja R Harinath <rharinath@novell.com>
1511 * Makefile (HAS_TEST): Remove.
1512 (run-test-local): Move rule to and depend on ...
1513 (run-mbas-test): ... this.
1515 2004-06-08 Anirban Bhattacharjee <banirban@novell.com>
1518 Few exception checks for Event
1520 2004-06-07 Anirban Bhattacharjee <banirban@novell.com>
1521 * mb-parser.jay: Resolved the problem in Sub statement with Handles cluse
1522 * class.cs: Added a AddEventHandler function and a EventHandler readonly property. Also modified define of constructor to accommodate Handlers clause.
1523 If one initialize a event handler as
1524 Sub Handler() Handles x.Event
1525 The handler will be initialized by the constructor of the corresponding class by calling AddHandler.
1527 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
1528 * mb-parser.jay: Modified WithEvents grammar
1530 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
1531 * class.cs: - NotOverridable modifier support added to Property
1532 - Few overriding related checks put on Property
1534 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
1535 * decl.cs: Check for duplicate member name within same container
1537 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
1538 * class.cs: changed exception number in event grammar
1540 2004-06-03 Anirban Bhattacharjee <banirban@novell.com>
1541 * mb-parser.jay: RaiseEvent grammar fixed to get it working
1543 2004-06-03 Anirban Bhattacharjee <banirban@novell.com>
1544 * driver.cs: fixed bug - 59540
1546 2004-06-01 Anirban Bhattacharjee <banirban@novell.com>
1547 * mb-parser.jay: Improved event declaration grammar
1549 2004/05/31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1550 * AssemblyInfo.cs : Anirban is and author too
1552 2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
1555 Few exception checks for delegete
1557 2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
1560 Few more fixes in delegate grammar
1562 2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
1563 * mb-parser.jay: Changed Delegate instantiation grammar to get it working
1565 2004-05-26 Anirban Bhattacharjee <banirban@novell.com>
1568 Few property related checks applied
1570 2004-05-24 Anirban Bhattacharjee <banirban@novell.com>
1571 * class.cs: Check for ReadOnly and WriteOnly modifiers added to property
1573 2004-05-24 Anirban Bhattacharjee <banirban@novell.com>
1574 * mb-paresr.jay: Support for abstruct property is added
1576 2004-05-24 Raja R Harinath <rharinath@novell.com>
1578 * Makefile (PROGRAM_INSTALL_DIR): Install mbas into
1579 $(prefix)/lib/mono/1.0.
1581 2004-05-10 Anirban Bhattacharjee <banirban@novell.com>
1582 * mb-parser.jay: few Property related grammar changes
1584 2004-05-14 Anirban Bhattacharjee <banirban@novell.com>
1585 * mb-tokenizer.cs: Bug fixed - Got Property working
1587 2004-05-10 Anirban Bhattacharjee <banirban@novell.com>
1588 * mb-parser.jay: Support added for attaching Attributes in methods
1590 2004/04/07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1591 * AssemblyInfo.cs : Correcting information and version number
1593 2004-04-29 Anirban Bhattacharjee <banirban@novell.com>
1594 * enum.cs: bug fixing - setting one enum member to another
1596 2004-04-29 Anirban Bhattacharjee <banirban@novell.com>
1599 Implemented check for access modifier in enum
1601 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
1603 * typemanager.cs: Property.GetGetMethod() does not return the method if it
1604 is private (it did until now because of a bug). Make sure it works as it
1605 worked before the fix.
1607 2004-04-28 Anirban Bhattacharjee <banirban@novell.com>
1608 * expression.cs: fixed bug to get enum running
1609 * enum.cs: handling several negative scenarios
1610 Changed several exception numbers
1611 * assign.cs: Changed exception number
1613 2004-04-26 Jackson Harper <jackson@ximian.com>
1615 * Makefile: Get libs from default profile directory.
1617 2004-04-23 Anirban Bhattacharjee <banirban@novell.com>
1618 * mb-parser.jay: Grammar changes for array
1619 * expression.cs: exception number changed for "Incorrectly structured array initializer" exception
1621 2004-04-17 Anirban Bhattacharjee <banirban@novell.com>
1625 a little better structure grammar
1627 2004-04-16 Anirban Bhattacharjee <banirban@novell.com>
1628 * mb-parser.jay: few clean-ups
1630 2004-04-16 Anirban Bhattacharjee <banirban@novell.com>
1631 * class.cs: Duplicate entry point exception number changed
1632 Checked delaration of Types, fields, methods as Protected if they are member of Module type
1633 * const.cs: Checked delaration of constructor as Protected if it is member of Module type
1634 * driver.cs: exception number is changed for "Entry point does not exist" exception
1636 2004-04-15 Anirban Bhattacharjee <banirban@novell.com>
1637 * mb-parser.jay: Classes can't be delared static impicitly as other module members
1639 2004-04-15 Anirban Bhattacharjee <banirban@novell.com>
1640 * class.cs: Couple of bug fixes in defining default static constructor, partially imposed by the fix earlier
1642 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
1643 * class.cs: Added support for Shadows modifier in Variables
1645 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
1646 * const.cs: Added support for Shadows modifier in constant
1648 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
1649 * expression.cs: Removed the check which was stoping type instances to access the shared variables
1651 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
1652 * modifiers.cs: changed exception number for invalid modifiers exception
1654 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
1655 * mb-parser.jay: Removed 'static_constructor_declaration' - this is not required as 'constructor_declaration' implementation is good enough to handle static constructors too
1656 * class.cs: Handling couple of negative scenarios related to static constructors and bug fixes
1658 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
1659 * class.cs: Couple of negative scenario handling
1661 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
1662 * mb-parser.jay: Few clean-up
1664 2004-04-12 Anirban Bhattacharjee <banirban@novell.com>
1665 * mb-parser.jay: Bug fixed - Base class ctor was getting called twice when called explicitly from the derived class ctor as MyBase.New
1667 2004-04-12 Anirban Bhattacharjee <banirban@novell.com>
1668 * mb-parser.jay: Fixed bugs for calling ctor from another ctor in the same class by using statments like
1673 2004/04/07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1674 * mb-tokenizer.cs : Better error message when dealing with date literals
1676 2004-04-06 Anirban Bhattacharjee <banirban@novell.com>
1681 Changed/added serveral Accessibility related expections
1683 2004-04-05 Anirban Bhattacharjee <banirban@novell.com>
1688 Several error messages and numbers are changed in all the above four classes
1690 2004-04-04 AnirbanBhattacharjee <banirban@novell.com>
1691 * delegate.cs: changed default access modifier
1692 * enum.cs: changed default access modifier
1693 * interface.cs: changed default access modifier
1694 * modifiers.cs: extension of bug fixed for getting NotOverridable modifier working for methods
1696 2004-04-04 AnirbanBhattacharjee <banirban@novell.com>
1697 * class.cs: Changed exception messages and their numbers to align better with VB
1698 Changed default access modifier of method to Public
1699 Bug fixed to get NotOverridable modifier working
1700 * decl.cs: Changed exception messages and numbers
1702 2004-03-25 Anirban Bhattacharjee <banirban@novell.com>
1703 * class.cs: bug fixing - creating default constructor when no constructor is specified
1704 Few modifiers are changed to align with Vb
1706 2004/03/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1707 * typemanager.cs : being more carefull with null arguments in some places,
1708 null checking in GetPertinentStandardModules() loop
1709 * namespace.cs : a helper ToString override
1710 * ecore.cs : Dealing with finding more than a pertinent standard module having a global member
1711 * testmbas/WriteOk.vb : Exercising correct standard module resolution
1712 NOTE: Almost there for Bug #52067 - just the semi-qualified case isn't working
1714 2004-03-23 Anirban Bhattacharjee <banirban@novell.com>
1715 * mb-parser.jay: handled implicit static modifier for module members in const
1716 * const.cs: changed supported modifiers
1718 2004-03-23 Anirban Bhattacharjee <banirban@novell.com>
1719 * modifiers.cs: Return name of the modifiers' changed to vb specific
1721 2004/03/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1722 * ecore.cs : now it gets the correct list of namespaces in scope (either imported or current) Almost there for Bug #52067
1724 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1725 * mb-parser.jay: One more negative scenario is addressed in const grammar
1727 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1728 * const.cs: Change type of constant to the type of its value if no explicit type declaration found
1730 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1731 * mb-parser.jay: Grammar for declaring constant inside block is changed
1733 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1734 * const.cs: Changed exception numbers
1736 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1737 * mb-parser.jay: Changed grammar for constant
1739 2004/03/02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1740 * mb-tokenizer.cs : handling better linebreak, specially when delaing with literals and preprocessing directives
1742 2004-03-16 Anirban Bhattacharjee <banirban@novell.com>
1744 - changed variable declaration grammar and added support for multiple variables declartion under single type e.g. dim x, y as integer
1745 - added few exception checks in variables
1746 - added one exception check in property
1748 2004/03/02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1749 * sourcebeingcompiled.cs : new source/class to hold things previously contained in namespaces.cs
1750 because in C# they were semantically tied to nested namespaces, and in VB.NET
1751 they can occur only once per file.
1752 * mbas.exe.sources: added sourcebeingcompiled.cs
1753 * mb-parser.jay: reference RootContext.Sourcebeingcompiled things
1754 * namespace.cs: move pieces to sourcebeingcompiled
1755 * rootcontext.cs: use SourceBeingCompiled class
1756 * decl.cs: reference RootContext.Sourcebeingcompiled things
1758 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
1759 * mb-tokenizer.cs: Support for '-' delimiter in DateTime
1761 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
1762 * report.cs: Formatted warning thrown
1764 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
1770 Added Overloads and Shadows modifiers to Function and Sub
1771 Fixed few other modifier related problems in Function and Sub
1773 2004-01-07 Nick Drochak <ndrochak@ieee.org>
1777 * row.cs: Eliminate warnings about unused variables.
1779 2004/01/06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1780 * typemanager.cs : correcting translation of System types to language types,
1781 also temporarily circunventing a exception in ModuleBuilder.GetType inside LookupTypeReflection,
1782 corrected many ` characters to ' in error messages
1783 * testmbas/WriteOK.vb : testing newly implemented IsNumeric global function
1785 2004-01-04 David Sheldon <dave-mono@earth.li>
1787 * expression.cs: Added matching ")" to error message for
1790 2003/12/23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1791 * driver.cs : added stubs for options "/netcf /sdkpath:path"
1792 * namespace.cs, decl.cs, rootcontext.cs : use hashtable to avoid duplicate importation of namespaces
1793 (especially between command-line option /imports and explicit Import clauses), what manifested itself as
1794 error messages for ambiguous names that where in truth identical
1795 * statement.cs : trying to fix the 'exit' statement DoEmit, for "Exit Sub"
1796 * mb-parser.jay, mb-tokenizer.cs : initial support for type_characters (dim az$ = dim az as string)
1798 2003/12/18 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1799 * class.cs : case-sensitiveness when tracking the entry-point removed
1800 * driver.cs : IsSWFApp would try to pass a null 'mainclass' to the hashtable indexer, throwing an exception
1801 (even for correct programs because of the bug above). Now this condition is tested before
1803 2003/12/06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1804 * ecore.cs : problems trying to implicit convert OMITTED arguments, solved
1805 * mb-tokenizer.cs, mb-parser.jay, typemanager.cs : support for the date primitive type and date literals
1806 * testmbas/WriteOK.vb: testing date type and date literal
1808 2003/11/12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1809 * driver.cs : /imports option now is implemented
1810 * mb-parser.jay: support for pre-imported namespaces (the default Microsoft.VisualBasic and those from /imports)
1812 2003/11/12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1813 * mb-tokenizer.cs : integer literal (Hex starts with &H not 0x), handle Octal literals (&O)
1814 * handle unicode specialized double-quotes in string literals
1815 * corrected some mishandling of conversions in numeric literals
1816 * implemented support for char literals ("z"c)
1817 * Makefile : verbose target uses verbose argument
1818 * testmbas/WriteOK.vb: many tests for literals implemented
1819 * literal.cs: correcting lack of a ShortLiteral class
1820 * mb-parser.jay: removed support for unsigned int literals, added support for short int literals
1822 2003/11/10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1823 * *.cs, mb-parser.jay: Switched all from defining/using namespace Mono.CSharp to Mono.MonoBASIC
1824 * location.cs: SymbolDocument now returns a SymbolDocumentWriter using the right (SymLanguageType.Basic) GUID
1826 2003/10/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1828 Don't print exception when a file is not found to be parsed
1829 File extensions not matched are now processed with the default parser
1830 Better handle file/directory not found exceptions, and use Report.Error in that case
1831 * added defaultparserattribute.cs
1832 * mb-parser.jay : Mono.MonoBASIC.Parser is now the [DefaultParser]
1833 * location.cs version 1.4 recovered (Marco Ridoni had it overwritten with an older version)
1834 * mb-tokenizer.cs, rootcontext.cs, tree.cs: Location constructor needs column number now
1836 2003/09/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1837 * .cvsignore: WHOOPS
1839 2003/09/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1840 * .cvsignore: some more files to ignore
1842 2003/09/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1843 * mb-tokenizer.cs, driver.cs: Back to Linux line-endings, SORRY
1845 2003/09/16 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1846 * Makefile: corrected testing in Windows/Cygwin (from mbas.exe to ./mbas.exe), because it was getting the installed compiler instead of the compiled one
1847 * mb-tokenizer.cs: Redoing: Preprocessor directives must be case-insensitive (many .ToLower() used)
1848 * driver.cs: No more 'linkpaths' option, use 'libpath' instead
1850 2003/09/15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1851 * driver.cs: Corrected handling of FileNotFoundException in LoadAssembly(), according to Bernie Solomon's patch
1853 2003/08/13 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1854 * mb-parser.jay: ReDim statement parses many variables now (but initializers aren't allowed)
1855 Erase statement implemented
1856 Lots of garbage (never reduced rules) deleted
1857 Reduce/Reduce problems eliminated (where due to having opt_modifiers duplicated inside property_declaration rule)
1858 * statement.cs : class Redim is prepared to have ReDim Preserve copying code called,
1859 but we need to check if that code is lying in Microsoft.VisualBasic.dll
1862 2003-07-26 Ben Maurer <bmaurer@users.sourceforge.net>
1864 * statement.cs: Make Math.XXX System.Math.XXX, to fix the build.
1866 2003-07-20 Peter Williams <peter@newton.cx>
1868 * Makefile: Remove the test target which conflicted with
1869 the global target. (Change confirmed with Rafael.)
1871 2003-04-02 Duncan Mak <duncan@ximian.com>
1873 * mb-parser.jay: Temporarily remove the references to
1874 Class.MustOverride to fix the build.
1876 2003/03/29 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1877 * mb-parser.jay: corrected some module related rules
1878 * location.cs : now handles column information
1880 2003/03/11 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1881 * makefile.gnu : use $RUNTIME for all targets
1882 actually run the compiled program on 'test-gtk' target
1883 * mb-tokenizer.cs : no escaping of chars allowed in VB.NET (old mcs code removed)
1884 handle doubled-doublequotes (VB idiom to escape a doublequote)
1886 2003/03/04 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1887 * mb-parser.jay: added rule for Imports with alias
1888 * mb-parser.jay: Friend (internal) modifier was missing,
1889 Shared modifier was expecting Static token erroneously
1890 Modules must accept only a static constructor rule added
1891 Constant declaration rule added
1892 * makefile & makefile.gnu : actually run the compiled program on test target
1894 2003/03/03 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1895 * mb-tokenizer.cs : new semi-keywords: Compare, Explicit, Strict, On, Off, Binary, Text
1896 * mb-parser.jay: tokens for above semi-keywords, and rules for option directives
1897 * driver.cs: integrates command line options with parser flags for option directives
1898 * makefile & makefile.gnu : added 'verbose' target that uses --verbose switch to compile
1899 the test source and pipes it through 'less', also added a Extended Syntax source
1901 2003/02/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1902 * class.cs : As, per vbc, there is a rootnamespace now, --main wasn't working anymore,
1903 because it was expecting a fully qualified class name.
1904 We now also test the name passed prepended by the rootnamespace.
1905 * class.cs : Corrected warning "The keyword new is required on `Mono.CSharp.Property.Emit'
1906 because it hides inherited member `PropertyBase.Emit'", by making it virtual
1907 in PropertyBase and override in Property.
1908 * makefile.gnu : test and test-gtk targets now depend on mbas.exe
1911 2003/02/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1912 * mb-parser.jay : eliminated reduce/reduce conflict on duplicated rank_specifier rule
1913 by renaming the one using brackets to bracketed_rank_specifier
1915 2003/02/12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1916 * added argument.cs (extracted from expression.cs) makefiles corrected
1917 * mb-parser.jay : eliminated reduce/reduce conflict on opt_argument_list rule,
1918 by putting and if to make a argument list with just an empty argument list become an empty list
1920 2003/02/03 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1921 * rootcontext.cs : added RootNamespace member
1922 * mb-parser.jay : use RootContext.RootNamespace to initialize outermost namespace
1924 - implement rootnamespace parameter, and defaults it to the output file name
1925 - like vbc if no source file name is provided just show help
1927 2003/01/22 Nick Drochak <ndrochak@gol.com>
1928 * makefile: Use csc compiler in here. makefile.gnu assumes mono/mcs
1930 2003-01-13 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1931 * added cleanup method to tokenizer as needed but modifications made in jay
1933 2003-01-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1934 * changed test target in makefile work
1935 * corrected authors list to include Marco
1937 2002-10-23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1938 * merged many sources from mcs/mcs, to resync
1940 2002-10-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1941 * using Mono.GetOptions preliminar support for response files,
1942 changed the makefile target 'test' for use o response file testmbas/filelist
1944 2002-10-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1945 * merged many sources from mcs/mcs, to resync
1947 2002-10-05 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1948 * merged many sources from mcs/mcs, to resync
1950 2002-08-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1951 * merged many sources from mcs/mcs, to resync
1953 2002-09-03 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1954 * integrated new version of Mono.GetOptions (reflection/attributes-based)
1956 2002-08-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1957 * merged expression.cs from mcs/mcs, to resync
1959 2002-08-29 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1960 * merged assign.cs, attribute.cs, class.cs, codegen.cs, const.cs, decl.cs, delegate.cs, ecore.cs, enum.cs,
1961 expression.cs, interface.cs, pending.cs, report.cs, rootcontext.cs, statement.cs, support.cs and
1962 typemanager.cs from mcs/mcs, to resync
1964 2002-08-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1965 * added "test" target to makefile
1966 * merged assign.cs, attribute.cs, cfold.cs, class.cs, codegen.cs, const.cs, constant.cs,
1967 decl.cs, delegate.cs, ecore.cs, enum.cs, expression.cs, interface.cs, modifiers.cs, parameter.cs,
1968 pending.cs, report.cs, rootcontext.cs, statement.cs, support.cs and typemanager.cs from mcs/mcs, to resync
1970 2002-07-14 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1971 * merged assign.cs, class.cs, ecore.cs, expression.cs, statement.cs and typemanager from mcs/mcs, to resync
1973 2002-07-09 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1974 * merged attribute.cs, ecore.cs, namespace.cs and statement.cs from mcs/mcs, to resync
1976 2002-07-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1977 * merged attribute.cs, class.cs, codegen.cs, ecore.cs, expression.cs,
1978 modifiers.cs, namespace.cs, report.cs, rootcontext.cs, statement.cs and typemanager.cs from mcs/mcs, to resync
1979 * changed driver.cs to follow mcs lead on error/warning counting and reporting
1981 2002-06-23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1982 * merged attribute.cs, class.cs, ecore.cs, rootcontext.cs, support.cs and typemanager.cs from mcs/mcs, to resync
1983 * makefile makes csc reference a copy of Mono.GetOptions.dll (mbas.sln now compiles to mbas dir instead of mbas/bin/Debug)
1985 2002-06-21 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1986 * merged attribute.cs, class.cs, interface.cs, expression.cs, ecore.cs,
1987 modifiers.cs, rootcontext.cs, statement.cs and typemanager.cs from mcs/mcs, to resync
1988 * added pending.cs from mcs/mcs, to resync
1990 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1991 * merged assign.cs, attribute.cs, enum.cs and namespace.cs from mcs/mcs, to resync
1992 * namespace.cs needed some fixing, because CSharpParser isn?t available
1994 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1995 * merged delegate.cs, ecore.cs, typemanager.cs and rootcontext.cs from mcs/mcs, to resolve expression.cs blues
1997 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1998 * oops merged expression.cs from mcs/mcs is breaking my make
1999 * driver.cs, assemblyinfo.cs wasn?t ready for prime time (offending lines were commented out)
2001 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2002 * merged expression.cs from mcs/mcs
2004 2002-06-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2005 * corrected Module.TypeAttr property getter in module.cs
2007 2002-06-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2008 * merged typemanager.cs from mcs/mcs
2010 2002-06-10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2011 * merged expression.cs and interface.cs from mcs/mcs
2013 2002-06-09 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2014 * merged const.cs, enum.cs, expression.cs and typemanager.cs from mcs/mcs
2015 * comments on module.cs
2017 2002-06-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2018 * merged class.cs, attribute.cs from mcs/mcs
2020 2002-06-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2021 * merged class.cs, enum.cs, expression.cs, interface.cs, rootcontext.cs and typemanager.cs from mcs/mcs
2022 * added module.cs (class Mono.MonoBASIC.Module - derived from Mono.CSharp.Class)
2023 * added System.XML and Microsoft.VisualBasic to the default config (driver.cs)
2025 2002-06-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2026 * merged class.cs and ecore.cs from mcs/mcs
2028 2002-06-02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2029 * copied methods MakeName and CheckDef from mcs\cs-parser.jay to GenericParser.cs
2030 where they are inherited by mb-parser.jay/cs
2031 * put some code on the Module rule in mb-parser.jay to at least generate a class in the assembly,
2032 if I jump over the entry-point check code, while debugging
2034 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2035 * class Mono.MonoBASIC.Tokenizer now handles
2036 - all valid line-terminators (CR, LF, CRLF, LS and PS)
2037 - escaped identifiers (like [Integer])
2038 - old-fashioned comments syntax (REM Blah-Blah)
2040 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2041 * modified mbas.ico to be a small version of mono?s logo (see mcs\MonoIcon.png)
2043 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2044 * squashed some reduce/reduce conflicts out of mb-parser.jay
2046 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2047 * merged codegen.cs from mcs
2048 * altered Driver.cs to work with new codegen.cs
2050 2002-05-27 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
2052 * merged all I could from mcs source files into mbas
2053 * added VS.NET Solution and Project Files for mbas
2054 * added icon file and a vb-sources-filled testmbas directory
2055 * started this ChangeLog