Throws error for missing END statements - by Sudharsan
[mono.git] / mcs / mbas / ChangeLog
1 2005-02-21 Manjula GHM <mmanjula@novell.com>
2         *mb-parser.jay: Throws error for missing END statements - by Sudharsan V
3
4 2005-02-18 Satya Sudha K <ksathyasudha@novell.com>
5         * ecore.cs :
6                  Modified Implicit Constant conversions to :
7                  * Handle Long/Float/Double Constants also
8                  * Throw a compile time error if constant cannot be converted to a specified type
9                    (as with vbc)
10         * assign.cs :
11         * expression.cs :
12                 Widening Enum constants to constants of underlying type before doing the conversions
13         * cfold.cs :
14                 Added support for exponentiation operator for constants
15         * enum.cs : Allowing double values to be specified as enum values
16
17
18 2005-02-17 Manjula GHM <mmanjula@novell.com>
19         * expression.cs :
20                  Support relational operator for other types
21
22 2005-02-15 Manjula GHM <mmanjula@novell.com>
23         * ecore.cs :
24                  Fixed conversion from char[] to String
25
26 2005-02-15 Manjula GHM <mmanjula@novell.com>
27         * expression.cs: Fixed concat of string and char using '+" operator 
28
29 2005-02-14 Manjula GHM <mmanjula@novell.com>
30         * ecore.cs :
31                  Fixed all String to char conversions
32
33 2005-02-14 Satya Sudha K <ksathyasudha@novell.com>
34         * expression.cs: 
35                  - Fixed one of my previous checkin, which was breaking some test cases.
36         * ecore.cs :
37                  - Fixed the explicit conversion of float/double to integral types in some places.
38
39 2005-02-11 Ritvik Mayank <mritvik@novell.com>
40         * class.cs
41         * decl.cs
42         * mb-parser.jay
43         * statement.cs
44                 Changed for reflecting correct Error Number
45                                                 
46 2005-02-10 Satya Sudha K <ksathyasudha@novell.com>
47         * expression.cs: 
48                  - Implemented Exponentiation operator (^)
49                  - Fixed the behaviour of strings in arithmatic operations (only addition 
50                    was supported before)
51                  - Fixed Decimal arithmatic with float/double types
52                  - If operation = Division, promoting both operands to double, otherwise
53                    doing numeric promotions
54         * mb-parser.jay : Changes related to the Exponentiation operator
55
56 2005-02-10 Manjula GHM <mmanjula@novell.com>
57         * expression.cs: Fixed concat of date and string using '+" operator 
58
59 2005-02-08  Satya Sudha K  <ksathyasudha@novell.com>
60         * assign.cs: Fix for implicit conversions in Compound Assignments
61         * ecore.cs :
62                 - Fixed the explicit conversion of float/double to integral types
63                   by rounding the float/double values before performing the actual 
64                   conversion
65                 - Using 'ConvCast' instead of 'OpcodeCast' for Narrowing conversions
66
67 2005-02-07  Ritvik Mayank <mritvik@novell.com>
68         * modifiers.cs
69         * class.cs
70         * decl.cs
71         * expression.cs
72         * tree.cs
73         * statement.cs
74                     Changed for reflecting correct Error Number.
75
76 2005-02-07  Manjula GHM  <mmanjula@novell.com>
77         * mb-parser.jay: Some more fixes related to displaying correct line number
78
79 2005-02-04  Satya Sudha K  <ksathyasudha@novell.com>
80         * ecore.cs      : Fixed the implicit conversion of float/double to integral types:
81                                 - Rounding the float/double values before performing the actual conversion
82
83         * expression.cs : 1) Added a class 'StringConcat' to handle string concatenations
84                           2) Fixed string conversions in arithmatic operations
85
86         * mb-parser.jay : Create a new 'StringConcat' object (instead of Binary) for concat_expression
87  
88 2005-02-03  Manjula GHM  <mmanjula@novell.com>
89         *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. 
90  
91 2005-02-03  Manjula GHM  <mmanjula@novell.com>
92         * mbas.csproj
93         * mbas.sln
94         Modified Project and solution files to reflect new changes
95
96 2005-01-29  Ritvik Mayank  <mritvik@novell.com>
97         * ecore.cs : 
98         * class.cs : 
99         * cfold.cs : 
100         * attribute.cs : 
101         * statement.cs : 
102         * mb-parser.jay : 
103                 Changed for reflecting correct Error Number/Message.
104         
105 2005/01/29 Satya Sudha K <ksathyasudha@novell.com>
106         * ecore.cs : Added code for String conversions.
107
108 2005/01/28 Satya Sudha K <ksathyasudha@novell.com>
109         * ecore.cs : Added a few fixes for Boolean to Numeric Conversions
110
111 2005/01/25 Satya Sudha K <ksathyasudha@novell.com>
112         * ecore.cs : Added support for Implicit numeric conversions.
113                 Most of the work on this patch done by Jambunathan K
114
115 2005/01/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
116         * driver.cs : correct handling of /imports command-line option.
117                 Patch from Hans Kratz <kratz@omnicore.com>
118
119 2005-01-13  Ritvik Mayank  <mritvik@novell.com>
120         * mb-parser.jay: Changed Error Number for Modifiers.PRIVATE to throw the right ExceptionNumber as 31089 .       
121         * mb-parser.jay: Added Modifiers.PROTECTED to throw the right Error Number as 31047 . 
122                   
123 2005-01-13  Ritvik Mayank  <mritvik@novell.com> 
124         * ecore.cs: Changed the Error Number for setter as 30526 and getter as 30524 in Expression DoResolveLValue .
125         * expression.cs: Changed the Error Number for set == null as 30526 and get == null as 30524 .
126
127 2005-01-13  Ritvik Mayank  <mritvik@novell.com>
128         * statement.cs: For 'if (RedimTarget.Type.GetArrayRank() != args.Count)' changed the Error Number as 3415 .
129
130 2005-01-12 Anirban Bhattacharjee <banirban@novell.com>
131         * mb-parser.jay: Replaced "logical_end_of_line" with "end_of_stmt" in couple of places
132                          to support delemeter ':' along with "EOL" as end of statement
133
134 2005-01-12 Anirban Bhattacharjee <banirban@novell.com>
135         * statement.cs: Another trivial correction 
136
137 2005-01-11 Anirban Bhattacharjee <banirban@novell.com>
138         * statement.cs: A trivial correction in yesterday's check-in
139
140 2005-01-10 Anirban Bhattacharjee <banirban@novell.com>
141         * mb-parser.jay:
142         * class.cs:
143         * statement.cs:
144         * rootcontext.cs:
145         * mb-tokenizer.cs:
146         * decl.cs:
147         * expression.cs:
148         * attribute.cs:
149         * enum.cs:
150         * codegen.cs:
151                 Removed warnings from all the above files which were showing up during make
152
153
154 2005-01-10 Anirban Bhattacharjee <banirban@novell.com>
155         * mb-parser.jay: Check for the overloaded property  
156
157 2005-01-10 Anirban Bhattacharjee <banirban@novell.com>
158         * class.cs: A better check provided before adding a property to TypeContainer
159
160 2004-12-21 Anirban Bhattacharjee <banirban@novell.com>
161         * class.cs:
162         * Attribute.cs
163         * mb-parser.jay
164         * pending.cs:
165         * typemanager.cs:
166                 IndexerName variable is now known as DefaultPropName in the above files
167
168 2004-12-21 Anirban Bhattacharjee <banirban@novell.com>
169         * mb-parser.jay: A check which restrict declaring more than one property
170                         as default within same class
171
172 2004-12-21 Anirban Bhattacharjee <banirban@novell.com>
173         * class.cs: -Mbas will emit DefaultMemberConstuctor attribute for the class
174                     which is having Default Property so that it can be recognized by
175                     other assemblies
176                     - Removed Indexer class and some of the legacy code inherited from mcs
177         * typemanager.cs: Initialized DefaultMemberAttribute constructor info   
178
179 2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
180         Ooops small bits on:
181         * driver.cs: -q --quiet works, inclusive for the "Alpha" message
182         * Test/misc/Makefile : Added dependency on newly compiled compiler for the test executable
183
184 2004-12-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
185         * driver.cs: it was "monostyled" and some extract method refactorings to make things clear
186         now -q --quiet works, inclusive for the "Alpha" message
187         * Test/misc/Makefile : Added dependency on newly compiled compiler for the test executable
188
189 2004-11-30 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
190         * Test/misc/Makefile : Compile new RedimPreserve.vb test source
191         * Added Test/misc/RedimPreserve.vb
192     
193 2004-11-30  Alexandre Rocha Lima e Marcondes <alexandremarcondes@psl-pr.softwarelivre.org>
194         * Makefile: Included Microsoft.VisualBasic.dll assembly on LOCAL_MCS_FLAGS.
195         * expression.cs: Created class Preserve to implement REDIM PRESERVE syntax.
196         * statement.cs: Implemented REDIM PRESERVE syntax on Redim.Resolve().
197
198 2004-11-25  Raja R Harinath  <rharinath@novell.com>
199         * Makefile (SUBDIRS): Just list Test.
200         (mb-parser.cs): Depend on jay/skeleton.cs.
201
202 2004-11-25  Raja R Harinath  <rharinath@novell.com>
203
204         Update to changes in jay/skeleton.cs.
205         * genericparser.cs (yacc_verbose_flag): Change to 'int'.
206         * mb-parser.jay (parse): Update to changes.
207         * driver.cs (verbose): Likewise.
208
209 2004-11-24  Jambunathan K  <kjambunathan@novell.com>
210         * class.cs: Factored out classes - 1) GetMethod and SetMethod from
211         Property and 2) AddDelegateMethod and RemoveDelegateMethod from
212         Event respectively.
213         
214         * mb-parser.jay: Related changes.
215
216 2004-11-22  Jambunathan K  <kjambunathan@novell.com>
217         * enum.cs: Factored out a new class EnumMember from the existing
218         class Enum. Much of the functionality that existed in
219         Enum.LookupEnumValue() is now moved in to
220         EnumMember.DoDefineMember().
221
222         One significant departure from the previous Enum implmenentation
223         is that now the resolution of an EnumMember's value happens in the
224         EmitContext set up for the Enum.
225         
226         * attribute.cs: 
227         * expression.cs: Trivial changes related to the above change.
228
229 2004-11-22  Jambunathan K  <kjambunathan@novell.com>
230         * Makefile: Added new make target 'consolidate-test-results'.
231
232 2004-11-22  Jambunathan K  <kjambunathan@novell.com>
233         * Makefile: Run "make run-test" or "make run-test-ondotnet" to
234         exercise mbas test cases.
235
236         * testmbas: Moved the test files under this directory to Test/misc
237         where it rightfully belongs.
238
239 2004-11-17  Jambunathan K  <kjambunathan@novell.com>
240         * attribute.cs: Temporarily made Attribute.UnManagedType public.
241         
242         * class.cs: Removed the instance method
243         MethodCore.LabelParameters() and moved it's functionality to the
244         new instance methods Parameters.LabelParameters() and
245         Parameter.DefineParameter().
246         
247         * parameter.cs: Introduced new instance methods
248         Parameters.LabelParameters() and Parameter.DefineParameter() and
249         slightly improved Parameter.ApplyAttributeBuilder().
250         
251 2004-11-17  Jambunathan K  <kjambunathan@novell.com>
252         * mb-parser.jay: During multi-file compilation, global attributes
253         were not getting parsed properly. Fixed the same.
254         
255 2004/10/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
256         * mb-parser.jay : correcting global attributes handling, because it was 
257            issuing wrong warnings for trivial files like testmbas/WriteOK.vb.
258         * Makefile : adding testmbas/AssemblyInfo.vb to some test compilations 
259
260 2004-11-10  Jambunathan K  <kjambunathan@novell.com>
261         * attribute.cs: 1) Replaced the static method
262         Attribute.GetValidPlaces() with an equivalent instance method
263         Attribute.GetValidTargets() 2) Added new methods Attributes.Emit
264         () and Attribute.Emit(). 3) Migrated functionality of
265         ApplyAttributes to ApplyAttributeBuilder of respective classes.
266
267         * class.cs, decl.cs, codegen.cs, const.cs, parameter.cs :
268         Implemented ApplyAttributeBuilder() in the following classes:
269         TypeContainer, Constructor, Field, Property, Event, DeclSpace,
270         AssemblyClass, ModuleClass, Const, Method, Parameter.
271         
272         * codegen.cs: Implemented Emit() in the following classes:
273         AssemblyClass and ModuleClass.
274
275         The ApplyAttributeBuilder() is currently just a placeholder for
276         future code that is yet to come.
277
278 2004-11-09  Jambunathan K  <kjambunathan@novell.com>
279         * class.cs: Coalesced the functionality of Property and
280         PropertyBase in to Property class and removed the class
281         PropertyBase.
282
283
284 2004-11-09  Jambunathan K  <kjambunathan@novell.com>
285
286         * attribute.cs: Injected a new virtual property
287         Attributable.AttributeTargets
288
289         * decl.cs: Made MemeberCore a derived class of
290         Attributable.
291
292         * parameter.cs: Made Parameter a derived class of
293         Attributable.
294         
295         * class.cs: Commented out the "never used" class Indexer. I
296         suspect that the class will never be required in VB.NET context
297         and can possibly be stripped off after careful inspection.
298
299         * tree.cs, module.cs, interface.cs, enum.cs, delegate.cs,
300         const.cs, codegen.cs: Changes necessiated by the above changes.
301
302 2004-11-07  Jambunathan K  <kjambunathan@novell.com>
303         * typemanager.cs: Removed TypeManager.builder_to_attr which was
304         redundant and replaced LookupAttr with LookupClass.
305
306         * rootcontext.cs: 
307         * module.cs: Miscellaneous changes
308
309         * mb-parser.jay: Upadted actions of the attributes grammar
310
311         * codegen.cs: 1) Introduced new classes CommonAssemblyModulClass,
312         AssemblyClass, ModuleClass 2) Introduced following methods
313         CodeGen.AddGlobalAttributes, CodeGen.EmitGlobalAttributes
314
315         * class.cs: Factored out TypeContainer.AttributeUsage
316
317         * attribute.cs: 1) Factored out Attribute.UsageAttribute and
318         Attribute.GetAttributeUsage 2) Introducing the new base class
319         Attributable from which all Attributable types will be derived in
320         the future 3) Added new accessors Attribute.IsAssemblyAttribute
321         and Attribute.IsModuleAttribute
322
323 2004-11-06  Jambunathan K  <kjambunathan@novell.com>
324         * rootcontext.cs: Removed the static field -
325         RootContext:global_attribute.
326
327 2004-11-06  Jambunathan K  <kjambunathan@novell.com>
328         * class.cs: 
329         * attribute.cs: Removed the incomplete and (for now) unnecessary
330         Mono.MonoBASIC.Operator class. Let us bother about this later.
331
332         Stripping off these unused bits will help me in 1) refactoring the
333         mbas Attributes related code 2) reusing the code from the mcs code
334         base.
335         
336 2004-11-06  Jambunathan K  <kjambunathan@novell.com>
337         * class.cs: Removed the incomplete and (for now) unnecessary
338         operator methods. Let us bother about this later.
339
340 2004-11-06  Jambunathan K  <kjambunathan@novell.com>
341         * attribute.cs: Removed the redundant AttributeSection class and
342         moved it's functionality to Attributes class. 
343         * class.cs: 
344         * mb-parser.jay: 
345         * module.cs: Replaced references to AttributeSection with the equivalent constructs.
346         * rootcontext.cs: Removed the following unused methods
347         AddGlobalAttribute and AddGlobalAttributeSection.
348
349 2004-11-03 Anirban Bhattacharjee <banirban@novell.com>
350         * mb-parser.jay: Trivial fix for bug #68985
351
352 2004-11-04  Jambunathan K  <kjambunathan@novell.com>
353         * mb-parser.jay: Syntactic error handling for attribute grammar.
354
355 2004-10-25 Anirban Bhattacharjee <banirban@novell.com>
356         * statement.cs: VB .Net specific exception number
357
358 2004-10-25 Anirban Bhattacharjee <banirban@novell.com>
359         * mb-parser.jay: Enhanced catch grammar to accept
360                         'When' clause
361         * statement.cs: Changed Catch and Try classes accordingly
362                         to emit catch statement conditionally           
363
364 2004/10/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
365         * driver.cs : accept also -t:library as vbc does, besides /target:library
366
367 2004-10-21 Anirban Bhattacharjee <banirban@novell.com>
368         * statement.cs: Introduced few specific execptions
369                         Changed exception number
370
371 2004-10-21 Anirban Bhattacharjee <banirban@novell.com>
372         * statement.cs: A trivial fix to get Exit Try working 
373
374 2004-10-21  Jambunathan K  <kjambunathan@novell.com>
375         * typemanager.cs (LookupType, LookupTypeDirect): Added a negative
376         cache for failed type lookups (stolen from mcs' typemanager.cs).
377         mbas gets a performance boost of about 20 times due to this
378         change.
379
380         * driver.cs (MainDriver): Made the warning message a little less
381         scary and more inviting for first time users.
382
383 2004-10-19 Anirban Bhattacharjee <banirban@novell.com>
384         * mb-parser.jay: Enhanced For Each...Next statement grammar
385
386 2004-10-15 Anirban Bhattacharjee <banirban@novell.com>
387         * mb-parser.jay: Little improvement in For...next statement
388
389 2004-10-14 Anirban Bhattacharjee <banirban@novell.com>
390         * mb-parser.jay: For statement is enabled to take
391                 optional declaration of the counter variable.
392                 E.g. now for statement can be declared as
393                 For i as integer = 0 to 5
394                 End For
395
396 2004/10/08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
397         * Makefile: added target 'profile', changed some sources in testmbas/ to use for that purpose.
398
399 2004-10-11 Anirban Bhattacharjee <banirban@novell.com>
400         * mb-parser.jay: More improvement in 'IF' statement
401
402 2004-10-11 Anirban Bhattacharjee <banirban@novell.com>
403         * mb-parser.jay: If statement is enabled to parse
404                 following type of statement
405                 If <condition> Then <statement> else <statement>
406
407 2004/10/08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
408         * typemanager.cs: Changing StandardModule to use less memory, by doing string 
409                 concatenation only once. It was wasting 1 MB on the test case.
410
411 2004-10-06 Anirban Bhattacharjee <banirban@novell.com>
412         * mb-parser.jay: Added support for Call keyword in invocation statement
413
414 2004-10-01 Anirban Bhattacharjee <banirban@novell.com>
415         * ecore.cs: Bug fixing - when event raised from other assembly
416
417 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
418         * mb-parser.jay:
419         * statement.cs:
420                 Removed unused event_target field from
421                 AddHandler and RemoveHandler
422
423 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
424         * mb-parser.jay: RemoveHandler function made cleaner
425
426 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
427         * expression.cs:
428         * ecore.cs:
429                 Fix for resolution of event expression 
430                 when we have a AddHandler statement 
431                 like 
432                 AddHandler Me.E, AddressOf Me.EH
433                 Submitted by Raja Harinath<rharinath@novell.com>
434
435 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
436         * mb-parser.jay: Unnecessary to and fro conversion of types
437                         is removed from AddHandler function
438
439 2004-09-23 Anirban Bhattacharjee <banirban@novell.com>
440         * expression.cs: Enhanced mbas to resolve Default property or indexer
441
442 2004-09-21 Anirban Bhattacharjee <banirban@novell.com>
443         * mb-parser.jay: Fixed bug #66231 -
444          Now, Me.SubName, MyBase.SubName or any other qualified name 
445          is supported by AddressOf operator
446
447 2004-09-15 Anirban Bhattacharjee <banirban@novell.com>
448         * enum.cs: Made Enum member lookup case insensitive
449
450 2004-09-15 Anirban Bhattacharjee <banirban@novell.com>
451         * support.cs: Retrieving default value from another assembly in ReflectionParameters class
452
453 2004-09-15 Anirban Bhattacharjee <banirban@novell.com>
454         * class.cs: Support for enum in default constant value for optional parameters
455
456 2004-09-14 Anirban Bhattacharjee <banirban@novell.com>
457         * mb-parser.jay: Fixed exception number for type confliction in method parameter
458
459 2004-09-14 Anirban Bhattacharjee <banirban@novell.com>
460         * class.cs: Set default constant value for optional parameters in ParameterBuilder
461         * parameter.cs: Setting optional attribute
462                 These two fixes makes sure that optional parameter with default value get emitted correctly
463
464 2004-08-27 Anirban Bhattacharjee <banirban@novell.com>
465 2004-09-08 Bernie Solomon <bernard@ugsolutions.com>
466         * mb-parser.jay: fix CopyTo args when parsing parameters
467
468 2004-09-08 Bernie Solomon <bernard@ugsolutions.com>
469         * expression.cs: cope with ParamArray for no args
470         * mb-parser.jay: dump parsing exception with --stacktrace
471
472 2004/08/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
473         * mb-parser.jay : some changes just not to stumble in global attributes definitions in multiple-lines 
474                 like we have in VS.NET generated AssemblyInfo.vb files. still need to really process that definitions like mcs does
475
476 2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
477         * mb-parser.jay:
478         * mb-tokenizer.cs: first cut at implementing
479         op assign
480
481 2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
482         * ecore.cs:
483         * enum.cs:
484         * expression.cs:
485         * mb-parser.jay:
486         * support.cs: work on improving overload resolution
487
488 2004-08-30 Bernie Solomon <bernard@ugsolutions.com>
489         * class.cs (FindMembers): filter on modflags
490         for constructors & constructors are never inherited
491
492         * decl.cs (SetupCache): constructors are not
493         inherited
494
495 2004-08-27 Anirban Bhattacharjee <banirban@novell.com>
496         * driver.cs: bug fixing - #63580
497
498 2004/08/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
499         * testmbas/WriteOk.vb : Use Mono.GetOptions from VB.NET
500         * Makefile : exercise new option processing in test program [make-run-local target]
501
502 2004-08-26 Bernie Solomon <bernard@ugsolutions.com>
503         * mb-parser.jay: rework parsing of ParamArray parameters
504
505 2004-08-23 Bernie Solomon <bernard@ugsolutions.com>
506         * mb-parser.jay: cope with more varieties of array declarations
507
508 2004-08-20 Anirban Bhattacharjee <banirban@novell.com>
509         * statement.cs: Bug fixing - Prevent AddHandler from getting resolved second time. This is critical for ASP programs with VB.
510
511 2004-08-20 Anirban Bhattacharjee <banirban@novell.com>
512         * expression.cs: Bug fixing - reference to the current type is fixed during BaseAccess resolution
513
514 2004/08/19  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
515         * driver.cs : Some cleanup, also renamed checked option as it was removeintchecks in disguise
516
517 2004-08-18 Anirban Bhattacharjee <banirban@novell.com>
518         * mb-parser.jay: MyBase support in Handles clause e.g. 
519                                 Sub EH() Handles MyBase.E
520
521 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
522         * mb-parser.jay: Trivial fix (#63213)
523
524 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
525         * class.cs:
526         * typemanager.cs:
527                 -Bug fixed to resolve the ReadOnly properties from base class
528                 -Fixed bug in resolving properties from different assembly
529
530 2004-08-14 Bernie Solomon <bernard@ugsolutions.com>
531         * mb-parser.jay: fix block used as body of For Each
532
533 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
534         * expression.cs: Bug fixing for compiling VB script generated by ASP page - AddressOf operator in a method argument will resolve methods outside assembly
535
536 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
537         * class.cs: bug fixing to get PropertyE.vb test running - search of overridable property in base class was failing
538
539 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
540         * typemanager.cs: Little correction in my last checked-in code - removed unnecessary return value from ExpandAllInterfaces function
541
542 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
543         * class.cs: Trivial bug fixing to get test InterfaceB.vb going
544
545 2004-08-13 Rob Tillie <Rob.Tillie@student.tul.edu>
546         * ecore.cs: added runtime conversion from string to DateTime (fixes test 13329).
547         
548 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
549         * class.cs:
550         * typemanager.cs:
551         * pending.cs:
552                 Multiple interface inheritance implemented - fix for getting InheritanceD.vb working in bteasts         
553
554 2004-08-12 Anirban Bhattacharjee <banirban@novell.com>
555         * mb-parser.jay: Implements support in Abstract methods
556
557 2004-08-12 Anirban Bhattacharjee <banirban@novell.com>
558         * class.cs: Support for abstract method resolution
559         * pending.cs: Type of pending_implementations is set to base type
560                       Changed method names IsInterfaceIndexer and IsInterfaceMethod to IsAbstractIndexer and IsAbstractMethod respectively to make them more meaningful
561
562 2004-08-11 Bernie Solomon <bernard@ugsolutions.com>
563         * mb-parser.jay: first cut at TypeOf ... Is
564
565 2004-08-11 Bernie Solomon <bernard@ugsolutions.com>
566         * expression.cs:
567         * ecore.cs: More enum changes to handle
568         implicit conversions better
569
570 2004-08-11 Anirban Bhattacharjee <banirban@novell.com>
571         * mb-parser.jay: Interface inheritance made better
572
573 2004-08-09  Jambunathan K  <kjambunathan@novell.com>
574         * mb-parser.jay: Sanitized parser's generic error message 
575
576 2004-08-07 Anirban Bhattacharjee <banirban@novell.com>
577         * enum.cs: Enum members became enum type now, instead of underlying type
578
579 2004-08-07 Bernie Solomon <bernard@ugsolutions.com>
580         * mb-parser.jay: Implement GetType(x) 
581         implement Is as equals for the moment so it can be used
582
583 2004-08-07 Anirban Bhattacharjee <banirban@novell.com>
584         * mb-parser.jay: Check for empty enum declaration
585
586 2004-08-07 Anirban Bhattacharjee <banirban@novell.com>
587         * class.cs: 
588         * mb-parser.jay:
589                 Multiple Implements for a particular type member got implemented
590
591 2004-08-06  Bernie Solomon  <bernard@ugsolutions.com>
592
593         * support.cs: Make ReflectionParameter behave
594         like InternalParameter for byref args.
595         * expression.cs: Cope with byref args in
596         an imported DLL
597
598 2004-08-06  Jambunathan K  <kjambunathan@novell.com>
599         * mb-parser.jay: Changed expression grammar so that it now has a
600           better semblance to those defined in section 11 of VB.NET spec.
601           The 'expression' rule as it is now could possibly be buggy. So
602           another iteration is a must.
603
604 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
605         * mb-parser.jay: Small bug fix in Event grammar
606
607 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
608         * class.cs: Event still needed to have a constructor which takes value of Implements clause.
609         * mb-parser.jay: Passing Implements clause value to the constructor
610
611 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
612         * decl.cs:
613         * rootcontext.cs:
614                 Exception number made aligned to VB .net
615
616 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
617         * class.cs: Improvements in the implementation of Implements clause in Type members
618
619 2004-08-05 Anirban Bhattacharjee <banirban@novell.com>
620         * mb-parser,jay: Implements clause added to Event grammar
621
622 2004-08-05 Anirban Bhattacharjee <banirban@novell.com>
623         * mb-parser.jay: Interface event declaration grammar rewritten
624
625 2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
626         * class.cs: Introduced check for valid interface name in Implements clause. 
627
628 2004-08-04  Jambunathan K  <kjambunathan@novell.com>
629         * mb-tokenizer.cs: 
630         * mb-parser.jay: 
631
632         1) Fixed the Attributes grammar starting with
633            opt_attributes. Introduced new rules starting with
634            opt_global_attributes rule - section 5.2 of VB.NET spec
635
636         2) Introduced new Tokens that correspond to reserved but unused
637            VB.NET keywords. Added some comments as appropriate in the
638            keywords hashtable of tokenizer - section 2.3 of VB.NET spec.
639
640         3) Corrected 'imports_term' - section 6.3.1 & 6.3.2 of VB.NET
641            spec.
642
643         4) Introduced opt_argument_list - section 5.2 of VB.NET spec
644
645         5) Corrected namespace_declaration - section 6.4.1 of VB.NET spec
646         
647
648 2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
649         * mb-parser.jay: Added support for modifiers and attributes in interface member grammar
650
651 2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
652         * mb-parser.jay: Property types made optional
653
654 2004-08-03 Anirban Bhattacharjee <banirban@novell.com>
655         * mb-parser.jay: Interface method and property grammar got changed
656                          Support for multiple implements in class 
657         * interface.cs: Interface class has got changed
658                         All other interface types have been removed
659         * class.cs: Property's Define and CheckBase method changed significantly to be in sync with Interface
660         * pending.cs: few related changes 
661         * attribute.cs: few related changes
662
663 2004/08/01  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
664         * mb-parser.jay : Some correction as pointed by Jambunathan, 
665                 to allow preprocessor directives after a label that may 
666                 leave it orphaned (without a explicit statement)
667         * testmbas/WriteOK.vb : some vb code to test this case
668
669 2004/08/01  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
670         * mb-parser.jay : Some correction as pointed by Jambunathan, 
671                 to allow intermixing preprocessor directives between 
672                 the label and it's associated statement
673
674 2004-08-02  Jambunathan K  <kjambunathan@novell.com>
675         * mb-tokenizer.cs: Oops. Also pulled out all of the old
676         pre-processor code that is no more used.
677
678 2004-08-02  Jambunathan K  <kjambunathan@novell.com>
679         * mb-tokenizer.cs: Fixed a bug where line nos were 
680         failing to get incremented when the line continuation 
681         character was appearing by itself on contiguous lines.
682         
683         * mb-parser.jay: Fixed the #ExternalSource actions
684         so that ExternalSourceDirectivesC4.vb compiles and 
685         reports source & line nos as expected.
686
687         * location.cs: Replaced the existing unintuitive, not
688         so efficient implementation of struct Location {} with 
689         the one available in mcs with one minor difference: The
690         number of bits reserved for a file index in the Token
691         is statically fixed at 8 bits.
692
693 2004/08/01  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
694         * mb-parser.jay : Revised patch from João Viegas for the labeled_statement accepting integer literals as labels
695
696 2004-07-30  Jambunathan K  <kjambunathan@novell.com>
697         * mb-parser.jay: Oops. Reversed unintended checkin.
698         * mb-tokenizer.cs: Added comment in Tokenizer() 
699         * mb-parser.jay: Fixed miscellaneous bugs in handling of 
700         pre-processor directives. There are two positive test 
701         cases that fail currently: ExternalSourceDirectivesC4.vb
702         and RegionDirectivesC1.vb
703
704 2004-07-30  Raja R Harinath  <rharinath@novell.com>
705
706         * mb-parser.jay (IfElseStateMachine.State, IfElseStateMachine.Token): 
707         Remove [Flags] attribute.
708
709 2004-07-30  Jambunathan K  <kjambunathan@novell.com>
710         * mb-parser.jay: 
711         * mb-tokenizer.cs: Added support for #region, #externalsource
712         and conditional compilation pre-processor directives.
713         Conditonal directives currently accept only boolean literals
714         as conditonal expressions. 
715         
716         * mb-parser.jay: The original checkin hits a bug in mcs but
717         compiles fine with csc. This checkin is to workaround the mcs
718         bug so that cvs builds are not broken.
719         
720         
721 2004/07/26  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
722         * mb-parser.jay : First try at SyncLock Statement #53230
723
724 2004-07-22 Anirban Bhattacharjee <banirban@novell.com>
725         * argument.cs:
726         * expression.cs:
727                 Little betterment in resolution of parameter with Addressof operator in method argument
728
729 2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
730         * expression.cs: Resolution of fully qualified type names - bug fixed
731
732 2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
733         * assign.cs: Added new argument to Expression.ConvertExplicit function call
734
735 2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
736         * expression.cs: Fixed resolution of overloaded functions with delegate as parameter
737         * ecore.cs: Changes made to stop program getting into an endless loop on not able to cast types of source to destination object.
738         * statement.cs: Added new argument to Expression.ConvertExplicit function call
739
740 2004-07-18 Anirban Bhattacharjee <banirban@novell.com>
741         * argument.cs: Introduced AddressOf argument type for tracking AddressOf operator in method parameter
742         * expression.cs: A parameter with AddressOf operator will get converted to Delegate before overload resolution
743         * 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
744                 This is a fix for bug #59555
745
746 2004/07/15  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
747         * driver.cs : Implemented support for -pkg to match mcs (bug #58673)
748
749 2004/07/15  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
750         * driver.cs : started implementing -pkg support to match mcs (bug #58673), also corrected multiplicity for addmodule option
751
752 2004-07-13 Anirban Bhattacharjee <banirban@novell.com>
753         * driver.cs: Added support for AddModule compiler option
754         * 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.
755
756 2004-07-13 Anirban Bhattacharjee <banirban@novell.com>
757         * driver.cs: Compilation to module is supported now
758
759 2004-07-09 Anirban Bhattacharjee <banirban@novell.com>
760         * mb-parser.jay:
761         * class.cs:
762                 Default modifier for constructor is set to Public
763
764 2004-07-09 Anirban Bhattacharjee <banirban@novell.com>
765         * 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"
766
767 2004-07-07 Anirban Bhattacharjee <banirban@novell.com>
768         * expression.cs: bug fixed - 60399
769
770 2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
771         * mb-parser.jay: Small correction in delegate declaration grammar
772
773 2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
774         * mb-parser.jay: modified RemoveHandler function
775         * statement.cs: Added RemoveHandler statement class
776
777 2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
778         * mb-parser.jay: Modified grammar for several syntax of AddressOf operator
779
780 2004/06/10  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
781         * typemanager.cs : GetPertinentStandardModules receives the array now with params modifier to help usage
782         * ecore.cs : correcting lookup of semi-qualified standard modules members - A little better but not there yet
783
784 2004-06-10 Anirban Bhattacharjee <banirban@novell.com>
785         * mb-parser.jay: Grammar added for RemoveHandler statement
786
787 2004-06-10 Anirban Bhattacharjee <banirban@novell.com>
788         * mb-parser.jay:
789         * expression.cs:
790                 Added support for statement like
791                         delgate_name = AddressOf sub_name
792
793 2004-06-09  Raja R Harinath  <rharinath@novell.com>
794
795         * Makefile (HAS_TEST): Remove.
796         (run-test-local): Move rule to and depend on ...
797         (run-mbas-test): ... this.
798
799 2004-06-08 Anirban Bhattacharjee <banirban@novell.com>
800         * mb-parser.jay:
801         * statement.cs:
802                 Few exception checks for Event
803
804 2004-06-07 Anirban Bhattacharjee <banirban@novell.com>
805         * mb-parser.jay: Resolved the problem in Sub statement with Handles cluse
806         * class.cs: Added a AddEventHandler function and a EventHandler readonly property. Also modified define of constructor to accommodate Handlers clause.          
807                     If one initialize a event handler as
808                         Sub Handler() Handles x.Event
809                     The handler will be initialized by the constructor of the corresponding class by calling AddHandler.
810
811 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
812         * mb-parser.jay: Modified WithEvents grammar    
813
814 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
815         * class.cs: - NotOverridable modifier support added to Property
816                     - Few overriding related checks put on Property
817  
818 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
819         * decl.cs: Check for duplicate member name within same container
820
821 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
822         * class.cs: changed exception number in event grammar
823
824 2004-06-03 Anirban Bhattacharjee <banirban@novell.com>
825         * mb-parser.jay: RaiseEvent grammar fixed to get it working
826
827 2004-06-03 Anirban Bhattacharjee <banirban@novell.com>
828         * driver.cs: fixed bug - 59540
829
830 2004-06-01 Anirban Bhattacharjee <banirban@novell.com>
831         * mb-parser.jay: Improved event declaration grammar
832
833 2004/05/31  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
834         * AssemblyInfo.cs : Anirban is and author too
835
836 2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
837         * delegate.cs:
838         * expression.cs:
839                 Few exception checks for delegete
840
841 2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
842         * mb-parser.jay:
843         * delegate.cs:
844                 Few more fixes in delegate grammar              
845
846 2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
847         * mb-parser.jay: Changed Delegate instantiation grammar to get it working
848
849 2004-05-26 Anirban Bhattacharjee <banirban@novell.com>
850         * mb-parser.jay:
851         * class.cs:
852                 Few property related checks applied
853
854 2004-05-24 Anirban Bhattacharjee <banirban@novell.com>
855         * class.cs: Check for ReadOnly and WriteOnly modifiers added to property
856
857 2004-05-24 Anirban Bhattacharjee <banirban@novell.com>
858         * mb-paresr.jay: Support for abstruct property is added
859
860 2004-05-24  Raja R Harinath  <rharinath@novell.com>
861
862         * Makefile (PROGRAM_INSTALL_DIR): Install mbas into
863         $(prefix)/lib/mono/1.0.
864
865 2004-05-10 Anirban Bhattacharjee <banirban@novell.com>
866         * mb-parser.jay: few Property related grammar changes
867
868 2004-05-14 Anirban Bhattacharjee <banirban@novell.com>
869         * mb-tokenizer.cs: Bug fixed - Got Property working
870
871 2004-05-10 Anirban Bhattacharjee <banirban@novell.com>
872         * mb-parser.jay: Support added for attaching Attributes in methods
873
874 2004/04/07  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
875         * AssemblyInfo.cs : Correcting information and version number
876
877 2004-04-29 Anirban Bhattacharjee <banirban@novell.com>
878         * enum.cs: bug fixing - setting one enum member to another
879
880 2004-04-29 Anirban Bhattacharjee <banirban@novell.com>
881         * enum.cs:
882         * expression.cs:
883                 Implemented check for access modifier in enum
884
885 2004-04-29  Lluis Sanchez Gual  <lluis@ximian.com>
886
887         * typemanager.cs: Property.GetGetMethod() does not return the method if it
888         is private (it did until now because of a bug). Make sure it works as it 
889         worked before the fix.
890
891 2004-04-28 Anirban Bhattacharjee <banirban@novell.com>
892         * expression.cs: fixed bug to get enum running
893         * enum.cs: handling several negative scenarios 
894                    Changed several exception numbers
895         * assign.cs: Changed exception number
896
897 2004-04-26  Jackson Harper  <jackson@ximian.com>
898
899         * Makefile: Get libs from default profile directory.
900         
901 2004-04-23 Anirban Bhattacharjee <banirban@novell.com>
902         * mb-parser.jay: Grammar changes for array
903         * expression.cs: exception number changed for "Incorrectly structured array initializer" exception
904
905 2004-04-17 Anirban Bhattacharjee <banirban@novell.com>
906         * mb-parser.jay:
907         * class.cs:
908         * const.cs
909                 a little better structure grammar
910
911 2004-04-16 Anirban Bhattacharjee <banirban@novell.com>
912         * mb-parser.jay: few clean-ups
913
914 2004-04-16 Anirban Bhattacharjee <banirban@novell.com>
915         * class.cs: Duplicate entry point exception number changed
916                     Checked delaration of Types, fields, methods as Protected if they are member of Module type
917         * const.cs: Checked delaration of constructor as Protected if it is member of Module type
918         * driver.cs: exception number is changed for "Entry point does not exist" exception
919
920 2004-04-15 Anirban Bhattacharjee <banirban@novell.com>
921         * mb-parser.jay: Classes can't be delared static impicitly as other module members
922
923 2004-04-15 Anirban Bhattacharjee <banirban@novell.com>
924         * class.cs: Couple of bug fixes in defining default static constructor, partially imposed by the fix earlier
925
926 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
927         * class.cs: Added support for Shadows modifier in Variables
928
929 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
930         * const.cs: Added support for Shadows modifier in constant
931
932 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
933         * expression.cs: Removed the check which was stoping type instances to access the shared variables
934
935 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
936         * modifiers.cs: changed exception number for invalid modifiers exception
937
938 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
939         * mb-parser.jay: Removed 'static_constructor_declaration' - this is not required as 'constructor_declaration' implementation is good enough to handle static constructors too
940         * class.cs: Handling couple of negative scenarios related to static constructors and bug fixes
941
942 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
943         * class.cs: Couple of negative scenario handling
944
945 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
946         * mb-parser.jay: Few clean-up
947
948 2004-04-12 Anirban Bhattacharjee <banirban@novell.com>
949         * mb-parser.jay: Bug fixed - Base class ctor was getting called twice when called explicitly from the derived class ctor as MyBase.New
950
951 2004-04-12 Anirban Bhattacharjee <banirban@novell.com>
952         * mb-parser.jay: Fixed bugs for calling ctor from another ctor in the same class by using statments like
953                 Me.New 
954                 or 
955                 MyClass.New
956
957 2004/04/07  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
958         * mb-tokenizer.cs : Better error message when dealing with date literals
959
960 2004-04-06 Anirban Bhattacharjee <banirban@novell.com>
961         * class.cs:
962         * ecore.cs:
963         * expression.cs:
964         * modifiers.cs:
965         Changed/added serveral Accessibility related expections 
966
967 2004-04-05 Anirban Bhattacharjee <banirban@novell.com>
968         * class.cs:
969         * decl.cs:
970         * expression.cs:
971         * pending.cs: 
972         Several error messages and numbers are changed in all the above four classes
973
974 2004-04-04 AnirbanBhattacharjee <banirban@novell.com>
975         * delegate.cs: changed default access modifier
976         * enum.cs: changed default access modifier
977         * interface.cs: changed default access modifier
978         * modifiers.cs: extension of bug fixed for getting NotOverridable modifier working for methods
979
980 2004-04-04 AnirbanBhattacharjee <banirban@novell.com>
981         * class.cs: Changed exception messages and their numbers to align better with VB
982                     Changed default access modifier of method to Public
983                     Bug fixed to get NotOverridable modifier working
984         * decl.cs:  Changed exception messages and numbers
985
986 2004-03-25 Anirban Bhattacharjee <banirban@novell.com>
987         * class.cs: bug fixing - creating default constructor when no constructor is specified
988         Few modifiers are changed to align with Vb
989
990 2004/03/22  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
991         * typemanager.cs :  being more carefull with null arguments in some places, 
992                                                 null checking in GetPertinentStandardModules() loop
993         * namespace.cs : a helper ToString override 
994         * ecore.cs : Dealing with finding more than a pertinent standard module having a global member
995         * testmbas/WriteOk.vb : Exercising correct standard module resolution
996     NOTE: Almost there for Bug #52067 - just the semi-qualified case isn't working 
997
998 2004-03-23 Anirban Bhattacharjee <banirban@novell.com>
999         * mb-parser.jay: handled implicit static modifier for module members in const
1000         * const.cs: changed supported modifiers
1001
1002 2004-03-23 Anirban Bhattacharjee <banirban@novell.com>
1003         * modifiers.cs: Return name of the modifiers' changed to vb specific
1004
1005 2004/03/22  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1006         * ecore.cs : now it gets the correct list of namespaces in scope (either imported or current) Almost there for Bug #52067 
1007
1008 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1009         * mb-parser.jay: One more negative scenario is addressed in const grammar
1010
1011 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1012         * const.cs: Change type of constant to the type of its value if no explicit type declaration found
1013
1014 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1015         * mb-parser.jay: Grammar for declaring constant inside block is changed
1016
1017 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1018         * const.cs: Changed exception numbers
1019
1020 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
1021         * mb-parser.jay: Changed grammar for constant
1022
1023 2004/03/02  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1024         * mb-tokenizer.cs : handling better linebreak, specially when delaing with literals and preprocessing directives 
1025
1026 2004-03-16 Anirban Bhattacharjee <banirban@novell.com>
1027         * mb-parser.jay: 
1028                 - changed variable declaration grammar and added support for multiple variables declartion under single type e.g. dim x, y as integer
1029                 - added few exception checks in variables
1030                 - added one exception check in property
1031         
1032 2004/03/02  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1033         * sourcebeingcompiled.cs : new source/class to hold things previously contained in namespaces.cs 
1034                         because in C# they were semantically tied to nested namespaces, and in VB.NET 
1035                         they can occur only once per file.
1036         * mbas.exe.sources: added sourcebeingcompiled.cs
1037         * mb-parser.jay: reference RootContext.Sourcebeingcompiled things
1038         * namespace.cs: move pieces to sourcebeingcompiled
1039         * rootcontext.cs: use SourceBeingCompiled class
1040         * decl.cs: reference RootContext.Sourcebeingcompiled things
1041
1042 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
1043         * mb-tokenizer.cs: Support for '-' delimiter in DateTime
1044
1045 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
1046         * report.cs: Formatted warning thrown
1047
1048 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
1049
1050         * class.cs
1051         * decl.cs
1052         * modifiers.cs
1053         * mb-parser.jay
1054         Added Overloads and Shadows modifiers to Function and Sub
1055         Fixed few other modifier related problems in Function and Sub
1056
1057 2004-01-07  Nick Drochak <ndrochak@ieee.org>
1058
1059         * genericparser.cs:
1060         * mb-tokenizer.cs: 
1061         * row.cs: Eliminate warnings about unused variables.
1062
1063 2004/01/06  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1064         * typemanager.cs :      correcting translation of System types to language types, 
1065                         also temporarily circunventing a exception in ModuleBuilder.GetType inside LookupTypeReflection,
1066                         corrected many ` characters to ' in error messages
1067         * testmbas/WriteOK.vb : testing newly implemented IsNumeric global function
1068
1069 2004-01-04  David Sheldon <dave-mono@earth.li>
1070
1071   * expression.cs: Added matching ")" to error message for 
1072   CS0077
1073
1074 2003/12/23  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1075         * driver.cs : added stubs for options "/netcf /sdkpath:path"
1076         * namespace.cs, decl.cs, rootcontext.cs : use hashtable to avoid duplicate importation of namespaces 
1077           (especially between command-line option /imports and explicit Import clauses), what manifested itself as
1078           error messages for ambiguous names that where in truth identical
1079         * statement.cs : trying to fix the 'exit' statement DoEmit, for "Exit Sub"
1080         * mb-parser.jay, mb-tokenizer.cs : initial support for type_characters (dim az$ = dim az as string)
1081
1082 2003/12/18  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1083         * class.cs : case-sensitiveness when tracking the entry-point removed
1084         * driver.cs : IsSWFApp would try to pass a null 'mainclass' to the hashtable indexer, throwing an exception
1085                 (even for correct programs because of the bug above). Now this condition is tested before
1086
1087 2003/12/06  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1088         * ecore.cs : problems trying to implicit convert OMITTED arguments, solved
1089         * mb-tokenizer.cs, mb-parser.jay, typemanager.cs : support for the date primitive type and date literals
1090         * testmbas/WriteOK.vb: testing date type and date literal
1091
1092 2003/11/12  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1093         * driver.cs : /imports option now is implemented
1094         * mb-parser.jay: support for pre-imported namespaces (the default Microsoft.VisualBasic and those from /imports)
1095         
1096 2003/11/12  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1097         * mb-tokenizer.cs : integer literal (Hex starts with &H not 0x), handle Octal literals (&O)
1098         *       handle unicode specialized double-quotes in string literals     
1099         *       corrected some mishandling of conversions in numeric literals
1100         *       implemented support for char literals ("z"c)
1101         * Makefile : verbose target uses verbose argument
1102         * testmbas/WriteOK.vb: many tests for literals implemented
1103         * literal.cs: correcting lack of a ShortLiteral class
1104         * mb-parser.jay: removed support for unsigned int literals, added support for short int literals
1105         
1106 2003/11/10  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1107         * *.cs, mb-parser.jay: Switched all from defining/using namespace Mono.CSharp to Mono.MonoBASIC 
1108         * location.cs: SymbolDocument now returns a SymbolDocumentWriter using the right (SymLanguageType.Basic) GUID
1109         
1110 2003/10/17  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1111         * genericparser.cs: 
1112             Don't print exception when a file is not found to be parsed
1113                 File extensions not matched are now processed with the default parser
1114                 Better handle file/directory not found exceptions, and use Report.Error in that case
1115         * added defaultparserattribute.cs
1116         * mb-parser.jay : Mono.MonoBASIC.Parser is now the [DefaultParser]
1117         * location.cs version 1.4 recovered (Marco Ridoni had it overwritten with an older version)
1118         * mb-tokenizer.cs, rootcontext.cs, tree.cs: Location constructor needs column number now
1119
1120 2003/09/17  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1121         * .cvsignore: WHOOPS
1122
1123 2003/09/17  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1124         * .cvsignore: some more files to ignore
1125
1126 2003/09/17  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1127         * mb-tokenizer.cs, driver.cs: Back to Linux line-endings, SORRY
1128
1129 2003/09/16  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1130         * Makefile: corrected testing in Windows/Cygwin (from mbas.exe to ./mbas.exe), because it was getting the installed compiler instead of the compiled one
1131         * mb-tokenizer.cs: Redoing: Preprocessor directives must be case-insensitive (many .ToLower() used)
1132         * driver.cs: No more 'linkpaths' option, use 'libpath' instead
1133
1134 2003/09/15  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1135         * driver.cs: Corrected handling of FileNotFoundException in LoadAssembly(), according to Bernie Solomon's patch
1136
1137 2003/08/13  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1138         * mb-parser.jay: ReDim statement parses many variables now (but initializers aren't allowed)
1139                                          Erase statement implemented
1140                                          Lots of garbage (never reduced rules) deleted
1141                                          Reduce/Reduce problems eliminated (where due to having opt_modifiers duplicated inside property_declaration rule)
1142         * statement.cs : class Redim is prepared to have ReDim Preserve copying code called,
1143                                          but we need to check if that code is lying in Microsoft.VisualBasic.dll
1144                                          New class Erase
1145
1146 2003-07-26  Ben Maurer  <bmaurer@users.sourceforge.net>
1147         
1148         * statement.cs: Make Math.XXX System.Math.XXX, to fix the build.
1149         
1150 2003-07-20  Peter Williams  <peter@newton.cx>
1151
1152         * Makefile: Remove the test target which conflicted with
1153         the global target. (Change confirmed with Rafael.)
1154
1155 2003-04-02  Duncan Mak  <duncan@ximian.com>
1156
1157         * mb-parser.jay: Temporarily remove the references to
1158         Class.MustOverride to fix the build.
1159
1160 2003/03/29  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1161         * mb-parser.jay: corrected some module related rules
1162         * location.cs : now handles column information
1163         
1164 2003/03/11  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1165         * makefile.gnu : use $RUNTIME for all targets
1166                                          actually run the compiled program on 'test-gtk' target 
1167         * mb-tokenizer.cs : no escaping of chars allowed in VB.NET (old mcs code removed)
1168                                                 handle doubled-doublequotes (VB idiom to escape a doublequote) 
1169         
1170 2003/03/04  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1171         * mb-parser.jay: added rule for Imports with alias
1172         * mb-parser.jay: Friend (internal) modifier was missing,
1173                                          Shared modifier was expecting Static token erroneously
1174                                          Modules must accept only a static constructor rule added
1175                                          Constant declaration rule added
1176         * makefile & makefile.gnu : actually run the compiled program on test target 
1177
1178 2003/03/03  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1179         * mb-tokenizer.cs : new semi-keywords: Compare, Explicit, Strict, On, Off, Binary, Text
1180         * mb-parser.jay: tokens for above semi-keywords, and rules for option directives
1181         * driver.cs: integrates command line options with parser flags for option directives
1182         * makefile & makefile.gnu : added 'verbose' target that uses --verbose switch to compile 
1183           the test source and pipes it through 'less', also added a Extended Syntax source
1184
1185 2003/02/22  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1186         * class.cs : As, per vbc, there is a rootnamespace now, --main wasn't working anymore, 
1187                                  because it was expecting a fully qualified class name. 
1188                                  We now also test the name passed prepended by the rootnamespace.
1189         * class.cs : Corrected warning "The keyword new is required on `Mono.CSharp.Property.Emit'
1190                                  because it hides inherited member `PropertyBase.Emit'", by making it virtual
1191                                  in PropertyBase and override in Property.
1192         * makefile.gnu : test and test-gtk targets now depend on mbas.exe
1193                                  
1194
1195 2003/02/19  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1196         * mb-parser.jay : eliminated reduce/reduce conflict on duplicated rank_specifier rule
1197           by renaming the one using brackets to bracketed_rank_specifier
1198
1199 2003/02/12  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1200         * added argument.cs (extracted from expression.cs) makefiles corrected
1201         * mb-parser.jay : eliminated reduce/reduce conflict on opt_argument_list rule, 
1202           by putting and if to make a argument list with just an empty argument list become an empty list
1203
1204 2003/02/03  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1205         * rootcontext.cs : added RootNamespace member
1206         * mb-parser.jay : use RootContext.RootNamespace to initialize outermost namespace
1207         * driver.cs : 
1208                 - implement rootnamespace parameter, and defaults it to the output file name
1209                 - like vbc if no source file name is provided just show help
1210
1211 2003/01/22  Nick Drochak <ndrochak@gol.com>
1212         * makefile: Use csc compiler in here. makefile.gnu assumes mono/mcs
1213
1214 2003-01-13  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1215         * added cleanup method to tokenizer as needed but modifications made in jay
1216
1217 2003-01-12  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1218         * changed test target in makefile work
1219         * corrected authors list to include Marco
1220
1221 2002-10-23  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1222         * merged many sources from mcs/mcs, to resync
1223
1224 2002-10-20  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1225         * using Mono.GetOptions preliminar support for response files, 
1226           changed the makefile target 'test' for use o response file testmbas/filelist
1227
1228 2002-10-20  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1229         * merged many sources from mcs/mcs, to resync
1230
1231 2002-10-05  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1232         * merged many sources from mcs/mcs, to resync
1233
1234 2002-08-31  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1235         * merged many sources from mcs/mcs, to resync
1236
1237 2002-09-03  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1238         * integrated new version of Mono.GetOptions (reflection/attributes-based)
1239
1240 2002-08-31  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1241         * merged expression.cs from mcs/mcs, to resync
1242
1243 2002-08-29  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1244         * merged assign.cs, attribute.cs, class.cs, codegen.cs, const.cs, decl.cs, delegate.cs, ecore.cs, enum.cs,
1245         expression.cs, interface.cs, pending.cs, report.cs, rootcontext.cs, statement.cs, support.cs and 
1246         typemanager.cs from mcs/mcs, to resync
1247
1248 2002-08-06  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1249         * added "test" target to makefile
1250         * merged assign.cs, attribute.cs, cfold.cs, class.cs, codegen.cs, const.cs, constant.cs, 
1251           decl.cs, delegate.cs, ecore.cs, enum.cs, expression.cs, interface.cs, modifiers.cs, parameter.cs, 
1252           pending.cs, report.cs, rootcontext.cs, statement.cs, support.cs and typemanager.cs from mcs/mcs, to resync
1253
1254 2002-07-14  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1255         * merged assign.cs, class.cs, ecore.cs, expression.cs, statement.cs and typemanager from mcs/mcs, to resync
1256
1257 2002-07-09  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1258         * merged attribute.cs, ecore.cs, namespace.cs and statement.cs from mcs/mcs, to resync
1259
1260 2002-07-06  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1261         * merged attribute.cs, class.cs, codegen.cs, ecore.cs, expression.cs, 
1262           modifiers.cs, namespace.cs, report.cs, rootcontext.cs, statement.cs and typemanager.cs from mcs/mcs, to resync
1263         * changed driver.cs to follow mcs lead on error/warning counting and reporting
1264
1265 2002-06-23  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1266         * merged attribute.cs, class.cs, ecore.cs, rootcontext.cs, support.cs and typemanager.cs from mcs/mcs, to resync
1267         * makefile makes csc reference a copy of Mono.GetOptions.dll (mbas.sln now compiles to mbas dir instead of mbas/bin/Debug)
1268
1269 2002-06-21  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1270         * merged attribute.cs, class.cs, interface.cs, expression.cs, ecore.cs, 
1271           modifiers.cs, rootcontext.cs, statement.cs and typemanager.cs from mcs/mcs, to resync
1272         * added pending.cs from mcs/mcs, to resync
1273
1274 2002-06-15  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1275         * merged assign.cs, attribute.cs, enum.cs and namespace.cs from mcs/mcs, to resync
1276         * namespace.cs needed some fixing, because CSharpParser isn?t available
1277
1278 2002-06-15  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1279         * merged delegate.cs, ecore.cs, typemanager.cs and rootcontext.cs from mcs/mcs, to resolve expression.cs blues
1280
1281 2002-06-15  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1282         * oops merged expression.cs from mcs/mcs is breaking my make
1283         * driver.cs, assemblyinfo.cs wasn?t ready for prime time (offending lines were commented out)
1284
1285 2002-06-15  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1286         * merged expression.cs from mcs/mcs
1287
1288 2002-06-12  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1289         * corrected Module.TypeAttr property getter in module.cs
1290         
1291 2002-06-12  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1292         * merged typemanager.cs from mcs/mcs
1293
1294 2002-06-10  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1295         * merged expression.cs and interface.cs from mcs/mcs
1296
1297 2002-06-09  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1298         * merged const.cs, enum.cs, expression.cs and typemanager.cs from mcs/mcs
1299     * comments on module.cs
1300
1301 2002-06-07  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1302         * merged class.cs, attribute.cs from mcs/mcs
1303
1304 2002-06-07  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1305         * merged class.cs, enum.cs, expression.cs, interface.cs, rootcontext.cs and typemanager.cs from mcs/mcs
1306         * added module.cs (class Mono.MonoBASIC.Module - derived from Mono.CSharp.Class)
1307         * added System.XML and Microsoft.VisualBasic to the default config (driver.cs)
1308         
1309 2002-06-07  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1310         * merged class.cs and ecore.cs from mcs/mcs
1311
1312 2002-06-02  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1313         * copied methods MakeName and CheckDef from mcs\cs-parser.jay to GenericParser.cs 
1314           where they are inherited by mb-parser.jay/cs
1315         * put some code on the Module rule in mb-parser.jay to at least generate a class in the assembly,
1316           if I jump over the entry-point check code, while debugging
1317         
1318 2002-05-31  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1319         * class Mono.MonoBASIC.Tokenizer now handles 
1320                 - all valid line-terminators (CR, LF, CRLF, LS and PS)
1321                 - escaped identifiers (like [Integer])
1322                 - old-fashioned comments syntax (REM Blah-Blah)
1323
1324 2002-05-31  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1325         * modified mbas.ico to be a small version of mono?s logo (see mcs\MonoIcon.png)
1326
1327 2002-05-31  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1328         * squashed some reduce/reduce conflicts out of mb-parser.jay
1329
1330 2002-05-31  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1331         * merged codegen.cs from mcs
1332         * altered Driver.cs to work with new codegen.cs
1333
1334 2002-05-27  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
1335
1336         * merged all I could from mcs source files into mbas
1337         * added VS.NET Solution and Project Files for mbas
1338         * added icon file and a vb-sources-filled testmbas directory
1339         * started this ChangeLog