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