1 2004-10-25 Anirban Bhattacharjee <banirban@novell.com>
2 * mb-parser.jay: Enhanced catch grammar to accept
4 * statement.cs: Changed Catch and Try classes accordingly
5 to emit catch statement conditionally
7 2004/10/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
8 * driver.cs : accept also -t:library as vbc does, besides /target:library
10 2004-10-21 Anirban Bhattacharjee <banirban@novell.com>
11 * statement.cs: Introduced few specific execptions
12 Changed exception number
14 2004-10-21 Anirban Bhattacharjee <banirban@novell.com>
15 * statement.cs: A trivial fix to get Exit Try working
17 2004-10-21 Jambunathan K <kjambunathan@novell.com>
18 * typemanager.cs (LookupType, LookupTypeDirect): Added a negative
19 cache for failed type lookups (stolen from mcs' typemanager.cs).
20 mbas gets a performance boost of about 20 times due to this
23 * driver.cs (MainDriver): Made the warning message a little less
24 scary and more inviting for first time users.
26 2004-10-19 Anirban Bhattacharjee <banirban@novell.com>
27 * mb-parser.jay: Enhanced For Each...Next statement grammar
29 2004-10-15 Anirban Bhattacharjee <banirban@novell.com>
30 * mb-parser.jay: Little improvement in For...next statement
32 2004-10-14 Anirban Bhattacharjee <banirban@novell.com>
33 * mb-parser.jay: For statement is enabled to take
34 optional declaration of the counter variable.
35 E.g. now for statement can be declared as
36 For i as integer = 0 to 5
39 2004/10/08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
40 * Makefile: added target 'profile', changed some sources in testmbas/ to use for that purpose.
42 2004-10-11 Anirban Bhattacharjee <banirban@novell.com>
43 * mb-parser.jay: More improvement in 'IF' statement
45 2004-10-11 Anirban Bhattacharjee <banirban@novell.com>
46 * mb-parser.jay: If statement is enabled to parse
47 following type of statement
48 If <condition> Then <statement> else <statement>
50 2004/10/08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
51 * typemanager.cs: Changing StandardModule to use less memory, by doing string
52 concatenation only once. It was wasting 1 MB on the test case.
54 2004-10-06 Anirban Bhattacharjee <banirban@novell.com>
55 * mb-parser.jay: Added support for Call keyword in invocation statement
57 2004-10-01 Anirban Bhattacharjee <banirban@novell.com>
58 * ecore.cs: Bug fixing - when event raised from other assembly
60 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
63 Removed unused event_target field from
64 AddHandler and RemoveHandler
66 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
67 * mb-parser.jay: RemoveHandler function made cleaner
69 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
72 Fix for resolution of event expression
73 when we have a AddHandler statement
75 AddHandler Me.E, AddressOf Me.EH
76 Submitted by Raja Harinath<rharinath@novell.com>
78 2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
79 * mb-parser.jay: Unnecessary to and fro conversion of types
80 is removed from AddHandler function
82 2004-09-23 Anirban Bhattacharjee <banirban@novell.com>
83 * expression.cs: Enhanced mbas to resolve Default property or indexer
85 2004-09-21 Anirban Bhattacharjee <banirban@novell.com>
86 * mb-parser.jay: Fixed bug #66231 -
87 Now, Me.SubName, MyBase.SubName or any other qualified name
88 is supported by AddressOf operator
90 2004-09-15 Anirban Bhattacharjee <banirban@novell.com>
91 * enum.cs: Made Enum member lookup case insensitive
93 2004-09-15 Anirban Bhattacharjee <banirban@novell.com>
94 * support.cs: Retrieving default value from another assembly in ReflectionParameters class
96 2004-09-15 Anirban Bhattacharjee <banirban@novell.com>
97 * class.cs: Support for enum in default constant value for optional parameters
99 2004-09-14 Anirban Bhattacharjee <banirban@novell.com>
100 * mb-parser.jay: Fixed exception number for type confliction in method parameter
102 2004-09-14 Anirban Bhattacharjee <banirban@novell.com>
103 * class.cs: Set default constant value for optional parameters in ParameterBuilder
104 * parameter.cs: Setting optional attribute
105 These two fixes makes sure that optional parameter with default value get emitted correctly
107 2004-08-27 Anirban Bhattacharjee <banirban@novell.com>
108 2004-09-08 Bernie Solomon <bernard@ugsolutions.com>
109 * mb-parser.jay: fix CopyTo args when parsing parameters
111 2004-09-08 Bernie Solomon <bernard@ugsolutions.com>
112 * expression.cs: cope with ParamArray for no args
113 * mb-parser.jay: dump parsing exception with --stacktrace
115 2004/08/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
116 * mb-parser.jay : some changes just not to stumble in global attributes definitions in multiple-lines
117 like we have in VS.NET generated AssemblyInfo.vb files. still need to really process that definitions like mcs does
119 2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
121 * mb-tokenizer.cs: first cut at implementing
124 2004-09-07 Bernie Solomon <bernard@ugsolutions.com>
129 * support.cs: work on improving overload resolution
131 2004-08-30 Bernie Solomon <bernard@ugsolutions.com>
132 * class.cs (FindMembers): filter on modflags
133 for constructors & constructors are never inherited
135 * decl.cs (SetupCache): constructors are not
138 2004-08-27 Anirban Bhattacharjee <banirban@novell.com>
139 * driver.cs: bug fixing - #63580
141 2004/08/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
142 * testmbas/WriteOk.vb : Use Mono.GetOptions from VB.NET
143 * Makefile : exercise new option processing in test program [make-run-local target]
145 2004-08-26 Bernie Solomon <bernard@ugsolutions.com>
146 * mb-parser.jay: rework parsing of ParamArray parameters
148 2004-08-23 Bernie Solomon <bernard@ugsolutions.com>
149 * mb-parser.jay: cope with more varieties of array declarations
151 2004-08-20 Anirban Bhattacharjee <banirban@novell.com>
152 * statement.cs: Bug fixing - Prevent AddHandler from getting resolved second time. This is critical for ASP programs with VB.
154 2004-08-20 Anirban Bhattacharjee <banirban@novell.com>
155 * expression.cs: Bug fixing - reference to the current type is fixed during BaseAccess resolution
157 2004/08/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
158 * driver.cs : Some cleanup, also renamed checked option as it was removeintchecks in disguise
160 2004-08-18 Anirban Bhattacharjee <banirban@novell.com>
161 * mb-parser.jay: MyBase support in Handles clause e.g.
162 Sub EH() Handles MyBase.E
164 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
165 * mb-parser.jay: Trivial fix (#63213)
167 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
170 -Bug fixed to resolve the ReadOnly properties from base class
171 -Fixed bug in resolving properties from different assembly
173 2004-08-14 Bernie Solomon <bernard@ugsolutions.com>
174 * mb-parser.jay: fix block used as body of For Each
176 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
177 * expression.cs: Bug fixing for compiling VB script generated by ASP page - AddressOf operator in a method argument will resolve methods outside assembly
179 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
180 * class.cs: bug fixing to get PropertyE.vb test running - search of overridable property in base class was failing
182 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
183 * typemanager.cs: Little correction in my last checked-in code - removed unnecessary return value from ExpandAllInterfaces function
185 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
186 * class.cs: Trivial bug fixing to get test InterfaceB.vb going
188 2004-08-13 Rob Tillie <Rob.Tillie@student.tul.edu>
189 * ecore.cs: added runtime conversion from string to DateTime (fixes test 13329).
191 2004-08-13 Anirban Bhattacharjee <banirban@novell.com>
195 Multiple interface inheritance implemented - fix for getting InheritanceD.vb working in bteasts
197 2004-08-12 Anirban Bhattacharjee <banirban@novell.com>
198 * mb-parser.jay: Implements support in Abstract methods
200 2004-08-12 Anirban Bhattacharjee <banirban@novell.com>
201 * class.cs: Support for abstract method resolution
202 * pending.cs: Type of pending_implementations is set to base type
203 Changed method names IsInterfaceIndexer and IsInterfaceMethod to IsAbstractIndexer and IsAbstractMethod respectively to make them more meaningful
205 2004-08-11 Bernie Solomon <bernard@ugsolutions.com>
206 * mb-parser.jay: first cut at TypeOf ... Is
208 2004-08-11 Bernie Solomon <bernard@ugsolutions.com>
210 * ecore.cs: More enum changes to handle
211 implicit conversions better
213 2004-08-11 Anirban Bhattacharjee <banirban@novell.com>
214 * mb-parser.jay: Interface inheritance made better
216 2004-08-09 Jambunathan K <kjambunathan@novell.com>
217 * mb-parser.jay: Sanitized parser's generic error message
219 2004-08-07 Anirban Bhattacharjee <banirban@novell.com>
220 * enum.cs: Enum members became enum type now, instead of underlying type
222 2004-08-07 Bernie Solomon <bernard@ugsolutions.com>
223 * mb-parser.jay: Implement GetType(x)
224 implement Is as equals for the moment so it can be used
226 2004-08-07 Anirban Bhattacharjee <banirban@novell.com>
227 * mb-parser.jay: Check for empty enum declaration
229 2004-08-07 Anirban Bhattacharjee <banirban@novell.com>
232 Multiple Implements for a particular type member got implemented
234 2004-08-06 Bernie Solomon <bernard@ugsolutions.com>
236 * support.cs: Make ReflectionParameter behave
237 like InternalParameter for byref args.
238 * expression.cs: Cope with byref args in
241 2004-08-06 Jambunathan K <kjambunathan@novell.com>
242 * mb-parser.jay: Changed expression grammar so that it now has a
243 better semblance to those defined in section 11 of VB.NET spec.
244 The 'expression' rule as it is now could possibly be buggy. So
245 another iteration is a must.
247 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
248 * mb-parser.jay: Small bug fix in Event grammar
250 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
251 * class.cs: Event still needed to have a constructor which takes value of Implements clause.
252 * mb-parser.jay: Passing Implements clause value to the constructor
254 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
257 Exception number made aligned to VB .net
259 2004-08-06 Anirban Bhattacharjee <banirban@novell.com>
260 * class.cs: Improvements in the implementation of Implements clause in Type members
262 2004-08-05 Anirban Bhattacharjee <banirban@novell.com>
263 * mb-parser,jay: Implements clause added to Event grammar
265 2004-08-05 Anirban Bhattacharjee <banirban@novell.com>
266 * mb-parser.jay: Interface event declaration grammar rewritten
268 2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
269 * class.cs: Introduced check for valid interface name in Implements clause.
271 2004-08-04 Jambunathan K <kjambunathan@novell.com>
275 1) Fixed the Attributes grammar starting with
276 opt_attributes. Introduced new rules starting with
277 opt_global_attributes rule - section 5.2 of VB.NET spec
279 2) Introduced new Tokens that correspond to reserved but unused
280 VB.NET keywords. Added some comments as appropriate in the
281 keywords hashtable of tokenizer - section 2.3 of VB.NET spec.
283 3) Corrected 'imports_term' - section 6.3.1 & 6.3.2 of VB.NET
286 4) Introduced opt_argument_list - section 5.2 of VB.NET spec
288 5) Corrected namespace_declaration - section 6.4.1 of VB.NET spec
291 2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
292 * mb-parser.jay: Added support for modifiers and attributes in interface member grammar
294 2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
295 * mb-parser.jay: Property types made optional
297 2004-08-03 Anirban Bhattacharjee <banirban@novell.com>
298 * mb-parser.jay: Interface method and property grammar got changed
299 Support for multiple implements in class
300 * interface.cs: Interface class has got changed
301 All other interface types have been removed
302 * class.cs: Property's Define and CheckBase method changed significantly to be in sync with Interface
303 * pending.cs: few related changes
304 * attribute.cs: few related changes
306 2004/08/01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
307 * mb-parser.jay : Some correction as pointed by Jambunathan,
308 to allow preprocessor directives after a label that may
309 leave it orphaned (without a explicit statement)
310 * testmbas/WriteOK.vb : some vb code to test this case
312 2004/08/01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
313 * mb-parser.jay : Some correction as pointed by Jambunathan,
314 to allow intermixing preprocessor directives between
315 the label and it's associated statement
317 2004-08-02 Jambunathan K <kjambunathan@novell.com>
318 * mb-tokenizer.cs: Oops. Also pulled out all of the old
319 pre-processor code that is no more used.
321 2004-08-02 Jambunathan K <kjambunathan@novell.com>
322 * mb-tokenizer.cs: Fixed a bug where line nos were
323 failing to get incremented when the line continuation
324 character was appearing by itself on contiguous lines.
326 * mb-parser.jay: Fixed the #ExternalSource actions
327 so that ExternalSourceDirectivesC4.vb compiles and
328 reports source & line nos as expected.
330 * location.cs: Replaced the existing unintuitive, not
331 so efficient implementation of struct Location {} with
332 the one available in mcs with one minor difference: The
333 number of bits reserved for a file index in the Token
334 is statically fixed at 8 bits.
336 2004/08/01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
337 * mb-parser.jay : Revised patch from João Viegas for the labeled_statement accepting integer literals as labels
339 2004-07-30 Jambunathan K <kjambunathan@novell.com>
340 * mb-parser.jay: Oops. Reversed unintended checkin.
341 * mb-tokenizer.cs: Added comment in Tokenizer()
342 * mb-parser.jay: Fixed miscellaneous bugs in handling of
343 pre-processor directives. There are two positive test
344 cases that fail currently: ExternalSourceDirectivesC4.vb
345 and RegionDirectivesC1.vb
347 2004-07-30 Raja R Harinath <rharinath@novell.com>
349 * mb-parser.jay (IfElseStateMachine.State, IfElseStateMachine.Token):
350 Remove [Flags] attribute.
352 2004-07-30 Jambunathan K <kjambunathan@novell.com>
354 * mb-tokenizer.cs: Added support for #region, #externalsource
355 and conditional compilation pre-processor directives.
356 Conditonal directives currently accept only boolean literals
357 as conditonal expressions.
359 * mb-parser.jay: The original checkin hits a bug in mcs but
360 compiles fine with csc. This checkin is to workaround the mcs
361 bug so that cvs builds are not broken.
364 2004/07/26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
365 * mb-parser.jay : First try at SyncLock Statement #53230
367 2004-07-22 Anirban Bhattacharjee <banirban@novell.com>
370 Little betterment in resolution of parameter with Addressof operator in method argument
372 2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
373 * expression.cs: Resolution of fully qualified type names - bug fixed
375 2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
376 * assign.cs: Added new argument to Expression.ConvertExplicit function call
378 2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
379 * expression.cs: Fixed resolution of overloaded functions with delegate as parameter
380 * ecore.cs: Changes made to stop program getting into an endless loop on not able to cast types of source to destination object.
381 * statement.cs: Added new argument to Expression.ConvertExplicit function call
383 2004-07-18 Anirban Bhattacharjee <banirban@novell.com>
384 * argument.cs: Introduced AddressOf argument type for tracking AddressOf operator in method parameter
385 * expression.cs: A parameter with AddressOf operator will get converted to Delegate before overload resolution
386 * 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
387 This is a fix for bug #59555
389 2004/07/15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
390 * driver.cs : Implemented support for -pkg to match mcs (bug #58673)
392 2004/07/15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
393 * driver.cs : started implementing -pkg support to match mcs (bug #58673), also corrected multiplicity for addmodule option
395 2004-07-13 Anirban Bhattacharjee <banirban@novell.com>
396 * driver.cs: Added support for AddModule compiler option
397 * 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.
399 2004-07-13 Anirban Bhattacharjee <banirban@novell.com>
400 * driver.cs: Compilation to module is supported now
402 2004-07-09 Anirban Bhattacharjee <banirban@novell.com>
405 Default modifier for constructor is set to Public
407 2004-07-09 Anirban Bhattacharjee <banirban@novell.com>
408 * 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"
410 2004-07-07 Anirban Bhattacharjee <banirban@novell.com>
411 * expression.cs: bug fixed - 60399
413 2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
414 * mb-parser.jay: Small correction in delegate declaration grammar
416 2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
417 * mb-parser.jay: modified RemoveHandler function
418 * statement.cs: Added RemoveHandler statement class
420 2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
421 * mb-parser.jay: Modified grammar for several syntax of AddressOf operator
423 2004/06/10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
424 * typemanager.cs : GetPertinentStandardModules receives the array now with params modifier to help usage
425 * ecore.cs : correcting lookup of semi-qualified standard modules members - A little better but not there yet
427 2004-06-10 Anirban Bhattacharjee <banirban@novell.com>
428 * mb-parser.jay: Grammar added for RemoveHandler statement
430 2004-06-10 Anirban Bhattacharjee <banirban@novell.com>
433 Added support for statement like
434 delgate_name = AddressOf sub_name
436 2004-06-09 Raja R Harinath <rharinath@novell.com>
438 * Makefile (HAS_TEST): Remove.
439 (run-test-local): Move rule to and depend on ...
440 (run-mbas-test): ... this.
442 2004-06-08 Anirban Bhattacharjee <banirban@novell.com>
445 Few exception checks for Event
447 2004-06-07 Anirban Bhattacharjee <banirban@novell.com>
448 * mb-parser.jay: Resolved the problem in Sub statement with Handles cluse
449 * class.cs: Added a AddEventHandler function and a EventHandler readonly property. Also modified define of constructor to accommodate Handlers clause.
450 If one initialize a event handler as
451 Sub Handler() Handles x.Event
452 The handler will be initialized by the constructor of the corresponding class by calling AddHandler.
454 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
455 * mb-parser.jay: Modified WithEvents grammar
457 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
458 * class.cs: - NotOverridable modifier support added to Property
459 - Few overriding related checks put on Property
461 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
462 * decl.cs: Check for duplicate member name within same container
464 2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
465 * class.cs: changed exception number in event grammar
467 2004-06-03 Anirban Bhattacharjee <banirban@novell.com>
468 * mb-parser.jay: RaiseEvent grammar fixed to get it working
470 2004-06-03 Anirban Bhattacharjee <banirban@novell.com>
471 * driver.cs: fixed bug - 59540
473 2004-06-01 Anirban Bhattacharjee <banirban@novell.com>
474 * mb-parser.jay: Improved event declaration grammar
476 2004/05/31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
477 * AssemblyInfo.cs : Anirban is and author too
479 2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
482 Few exception checks for delegete
484 2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
487 Few more fixes in delegate grammar
489 2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
490 * mb-parser.jay: Changed Delegate instantiation grammar to get it working
492 2004-05-26 Anirban Bhattacharjee <banirban@novell.com>
495 Few property related checks applied
497 2004-05-24 Anirban Bhattacharjee <banirban@novell.com>
498 * class.cs: Check for ReadOnly and WriteOnly modifiers added to property
500 2004-05-24 Anirban Bhattacharjee <banirban@novell.com>
501 * mb-paresr.jay: Support for abstruct property is added
503 2004-05-24 Raja R Harinath <rharinath@novell.com>
505 * Makefile (PROGRAM_INSTALL_DIR): Install mbas into
506 $(prefix)/lib/mono/1.0.
508 2004-05-10 Anirban Bhattacharjee <banirban@novell.com>
509 * mb-parser.jay: few Property related grammar changes
511 2004-05-14 Anirban Bhattacharjee <banirban@novell.com>
512 * mb-tokenizer.cs: Bug fixed - Got Property working
514 2004-05-10 Anirban Bhattacharjee <banirban@novell.com>
515 * mb-parser.jay: Support added for attaching Attributes in methods
517 2004/04/07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
518 * AssemblyInfo.cs : Correcting information and version number
520 2004-04-29 Anirban Bhattacharjee <banirban@novell.com>
521 * enum.cs: bug fixing - setting one enum member to another
523 2004-04-29 Anirban Bhattacharjee <banirban@novell.com>
526 Implemented check for access modifier in enum
528 2004-04-29 Lluis Sanchez Gual <lluis@ximian.com>
530 * typemanager.cs: Property.GetGetMethod() does not return the method if it
531 is private (it did until now because of a bug). Make sure it works as it
532 worked before the fix.
534 2004-04-28 Anirban Bhattacharjee <banirban@novell.com>
535 * expression.cs: fixed bug to get enum running
536 * enum.cs: handling several negative scenarios
537 Changed several exception numbers
538 * assign.cs: Changed exception number
540 2004-04-26 Jackson Harper <jackson@ximian.com>
542 * Makefile: Get libs from default profile directory.
544 2004-04-23 Anirban Bhattacharjee <banirban@novell.com>
545 * mb-parser.jay: Grammar changes for array
546 * expression.cs: exception number changed for "Incorrectly structured array initializer" exception
548 2004-04-17 Anirban Bhattacharjee <banirban@novell.com>
552 a little better structure grammar
554 2004-04-16 Anirban Bhattacharjee <banirban@novell.com>
555 * mb-parser.jay: few clean-ups
557 2004-04-16 Anirban Bhattacharjee <banirban@novell.com>
558 * class.cs: Duplicate entry point exception number changed
559 Checked delaration of Types, fields, methods as Protected if they are member of Module type
560 * const.cs: Checked delaration of constructor as Protected if it is member of Module type
561 * driver.cs: exception number is changed for "Entry point does not exist" exception
563 2004-04-15 Anirban Bhattacharjee <banirban@novell.com>
564 * mb-parser.jay: Classes can't be delared static impicitly as other module members
566 2004-04-15 Anirban Bhattacharjee <banirban@novell.com>
567 * class.cs: Couple of bug fixes in defining default static constructor, partially imposed by the fix earlier
569 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
570 * class.cs: Added support for Shadows modifier in Variables
572 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
573 * const.cs: Added support for Shadows modifier in constant
575 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
576 * expression.cs: Removed the check which was stoping type instances to access the shared variables
578 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
579 * modifiers.cs: changed exception number for invalid modifiers exception
581 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
582 * mb-parser.jay: Removed 'static_constructor_declaration' - this is not required as 'constructor_declaration' implementation is good enough to handle static constructors too
583 * class.cs: Handling couple of negative scenarios related to static constructors and bug fixes
585 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
586 * class.cs: Couple of negative scenario handling
588 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
589 * mb-parser.jay: Few clean-up
591 2004-04-12 Anirban Bhattacharjee <banirban@novell.com>
592 * mb-parser.jay: Bug fixed - Base class ctor was getting called twice when called explicitly from the derived class ctor as MyBase.New
594 2004-04-12 Anirban Bhattacharjee <banirban@novell.com>
595 * mb-parser.jay: Fixed bugs for calling ctor from another ctor in the same class by using statments like
600 2004/04/07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
601 * mb-tokenizer.cs : Better error message when dealing with date literals
\r
603 2004-04-06 Anirban Bhattacharjee <banirban@novell.com>
608 Changed/added serveral Accessibility related expections
610 2004-04-05 Anirban Bhattacharjee <banirban@novell.com>
615 Several error messages and numbers are changed in all the above four classes
617 2004-04-04 AnirbanBhattacharjee <banirban@novell.com>
618 * delegate.cs: changed default access modifier
619 * enum.cs: changed default access modifier
620 * interface.cs: changed default access modifier
621 * modifiers.cs: extension of bug fixed for getting NotOverridable modifier working for methods
623 2004-04-04 AnirbanBhattacharjee <banirban@novell.com>
624 * class.cs: Changed exception messages and their numbers to align better with VB
625 Changed default access modifier of method to Public
626 Bug fixed to get NotOverridable modifier working
627 * decl.cs: Changed exception messages and numbers
629 2004-03-25 Anirban Bhattacharjee <banirban@novell.com>
630 * class.cs: bug fixing - creating default constructor when no constructor is specified
631 Few modifiers are changed to align with Vb
633 2004/03/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
634 * typemanager.cs : being more carefull with null arguments in some places,
635 null checking in GetPertinentStandardModules() loop
636 * namespace.cs : a helper ToString override
637 * ecore.cs : Dealing with finding more than a pertinent standard module having a global member
638 * testmbas/WriteOk.vb : Exercising correct standard module resolution
639 NOTE: Almost there for Bug #52067 - just the semi-qualified case isn't working
641 2004-03-23 Anirban Bhattacharjee <banirban@novell.com>
642 * mb-parser.jay: handled implicit static modifier for module members in const
643 * const.cs: changed supported modifiers
645 2004-03-23 Anirban Bhattacharjee <banirban@novell.com>
646 * modifiers.cs: Return name of the modifiers' changed to vb specific
648 2004/03/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
649 * ecore.cs : now it gets the correct list of namespaces in scope (either imported or current) Almost there for Bug #52067
651 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
652 * mb-parser.jay: One more negative scenario is addressed in const grammar
654 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
655 * const.cs: Change type of constant to the type of its value if no explicit type declaration found
657 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
658 * mb-parser.jay: Grammar for declaring constant inside block is changed
660 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
661 * const.cs: Changed exception numbers
663 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
664 * mb-parser.jay: Changed grammar for constant
666 2004/03/02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
667 * mb-tokenizer.cs : handling better linebreak, specially when delaing with literals and preprocessing directives
669 2004-03-16 Anirban Bhattacharjee <banirban@novell.com>
671 - changed variable declaration grammar and added support for multiple variables declartion under single type e.g. dim x, y as integer
672 - added few exception checks in variables
673 - added one exception check in property
675 2004/03/02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
676 * sourcebeingcompiled.cs : new source/class to hold things previously contained in namespaces.cs
677 because in C# they were semantically tied to nested namespaces, and in VB.NET
678 they can occur only once per file.
679 * mbas.exe.sources: added sourcebeingcompiled.cs
680 * mb-parser.jay: reference RootContext.Sourcebeingcompiled things
681 * namespace.cs: move pieces to sourcebeingcompiled
682 * rootcontext.cs: use SourceBeingCompiled class
683 * decl.cs: reference RootContext.Sourcebeingcompiled things
685 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
686 * mb-tokenizer.cs: Support for '-' delimiter in DateTime
688 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
689 * report.cs: Formatted warning thrown
691 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
697 Added Overloads and Shadows modifiers to Function and Sub
698 Fixed few other modifier related problems in Function and Sub
700 2004-01-07 Nick Drochak <ndrochak@ieee.org>
\r
702 * genericparser.cs:
\r
703 * mb-tokenizer.cs:
\r
704 * row.cs: Eliminate warnings about unused variables.
\r
706 2004/01/06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
707 * typemanager.cs : correcting translation of System types to language types,
708 also temporarily circunventing a exception in ModuleBuilder.GetType inside LookupTypeReflection,
709 corrected many ` characters to ' in error messages
710 * testmbas/WriteOK.vb : testing newly implemented IsNumeric global function
\r
712 2004-01-04 David Sheldon <dave-mono@earth.li>
714 * expression.cs: Added matching ")" to error message for
717 2003/12/23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
718 * driver.cs : added stubs for options "/netcf /sdkpath:path"
\r
719 * namespace.cs, decl.cs, rootcontext.cs : use hashtable to avoid duplicate importation of namespaces
\r
720 (especially between command-line option /imports and explicit Import clauses), what manifested itself as
\r
721 error messages for ambiguous names that where in truth identical
\r
722 * statement.cs : trying to fix the 'exit' statement DoEmit, for "Exit Sub"
\r
723 * mb-parser.jay, mb-tokenizer.cs : initial support for type_characters (dim az$ = dim az as string)
\r
725 2003/12/18 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
726 * class.cs : case-sensitiveness when tracking the entry-point removed
\r
727 * driver.cs : IsSWFApp would try to pass a null 'mainclass' to the hashtable indexer, throwing an exception
\r
728 (even for correct programs because of the bug above). Now this condition is tested before
\r
730 2003/12/06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
731 * ecore.cs : problems trying to implicit convert OMITTED arguments, solved
\r
732 * mb-tokenizer.cs, mb-parser.jay, typemanager.cs : support for the date primitive type and date literals
\r
733 * testmbas/WriteOK.vb: testing date type and date literal
\r
735 2003/11/12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
736 * driver.cs : /imports option now is implemented
\r
737 * mb-parser.jay: support for pre-imported namespaces (the default Microsoft.VisualBasic and those from /imports)
\r
739 2003/11/12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
740 * mb-tokenizer.cs : integer literal (Hex starts with &H not 0x), handle Octal literals (&O)
\r
741 * handle unicode specialized double-quotes in string literals
\r
742 * corrected some mishandling of conversions in numeric literals
\r
743 * implemented support for char literals ("z"c)
\r
744 * Makefile : verbose target uses verbose argument
\r
745 * testmbas/WriteOK.vb: many tests for literals implemented
\r
746 * literal.cs: correcting lack of a ShortLiteral class
\r
747 * mb-parser.jay: removed support for unsigned int literals, added support for short int literals
\r
749 2003/11/10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
750 * *.cs, mb-parser.jay: Switched all from defining/using namespace Mono.CSharp to Mono.MonoBASIC
\r
751 * location.cs: SymbolDocument now returns a SymbolDocumentWriter using the right (SymLanguageType.Basic) GUID
\r
753 2003/10/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
754 * genericparser.cs:
\r
755 Don't print exception when a file is not found to be parsed
\r
756 File extensions not matched are now processed with the default parser
\r
757 Better handle file/directory not found exceptions, and use Report.Error in that case
\r
758 * added defaultparserattribute.cs
\r
759 * mb-parser.jay : Mono.MonoBASIC.Parser is now the [DefaultParser]
\r
760 * location.cs version 1.4 recovered (Marco Ridoni had it overwritten with an older version)
\r
761 * mb-tokenizer.cs, rootcontext.cs, tree.cs: Location constructor needs column number now
\r
763 2003/09/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
764 * .cvsignore: WHOOPS
\r
766 2003/09/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
767 * .cvsignore: some more files to ignore
\r
769 2003/09/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
770 * mb-tokenizer.cs, driver.cs: Back to Linux line-endings, SORRY
\r
772 2003/09/16 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
773 * Makefile: corrected testing in Windows/Cygwin (from mbas.exe to ./mbas.exe), because it was getting the installed compiler instead of the compiled one
\r
774 * mb-tokenizer.cs: Redoing: Preprocessor directives must be case-insensitive (many .ToLower() used)
\r
775 * driver.cs: No more 'linkpaths' option, use 'libpath' instead
\r
777 2003/09/15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
778 * driver.cs: Corrected handling of FileNotFoundException in LoadAssembly(), according to Bernie Solomon's patch
\r
780 2003/08/13 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
781 * mb-parser.jay: ReDim statement parses many variables now (but initializers aren't allowed)
\r
782 Erase statement implemented
\r
783 Lots of garbage (never reduced rules) deleted
\r
784 Reduce/Reduce problems eliminated (where due to having opt_modifiers duplicated inside property_declaration rule)
\r
785 * statement.cs : class Redim is prepared to have ReDim Preserve copying code called,
\r
786 but we need to check if that code is lying in Microsoft.VisualBasic.dll
\r
789 2003-07-26 Ben Maurer <bmaurer@users.sourceforge.net>
\r
791 * statement.cs: Make Math.XXX System.Math.XXX, to fix the build.
\r
793 2003-07-20 Peter Williams <peter@newton.cx>
\r
795 * Makefile: Remove the test target which conflicted with
\r
796 the global target. (Change confirmed with Rafael.)
\r
798 2003-04-02 Duncan Mak <duncan@ximian.com>
\r
800 * mb-parser.jay: Temporarily remove the references to
\r
801 Class.MustOverride to fix the build.
\r
803 2003/03/29 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
804 * mb-parser.jay: corrected some module related rules
\r
805 * location.cs : now handles column information
\r
807 2003/03/11 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
808 * makefile.gnu : use $RUNTIME for all targets
\r
809 actually run the compiled program on 'test-gtk' target
\r
810 * mb-tokenizer.cs : no escaping of chars allowed in VB.NET (old mcs code removed)
\r
811 handle doubled-doublequotes (VB idiom to escape a doublequote)
\r
813 2003/03/04 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
814 * mb-parser.jay: added rule for Imports with alias
\r
815 * mb-parser.jay: Friend (internal) modifier was missing,
\r
816 Shared modifier was expecting Static token erroneously
\r
817 Modules must accept only a static constructor rule added
\r
818 Constant declaration rule added
\r
819 * makefile & makefile.gnu : actually run the compiled program on test target
\r
821 2003/03/03 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
822 * mb-tokenizer.cs : new semi-keywords: Compare, Explicit, Strict, On, Off, Binary, Text
\r
823 * mb-parser.jay: tokens for above semi-keywords, and rules for option directives
\r
824 * driver.cs: integrates command line options with parser flags for option directives
\r
825 * makefile & makefile.gnu : added 'verbose' target that uses --verbose switch to compile
\r
826 the test source and pipes it through 'less', also added a Extended Syntax source
\r
828 2003/02/22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
829 * class.cs : As, per vbc, there is a rootnamespace now, --main wasn't working anymore,
\r
830 because it was expecting a fully qualified class name.
\r
831 We now also test the name passed prepended by the rootnamespace.
\r
832 * class.cs : Corrected warning "The keyword new is required on `Mono.CSharp.Property.Emit'
\r
833 because it hides inherited member `PropertyBase.Emit'", by making it virtual
\r
834 in PropertyBase and override in Property.
\r
835 * makefile.gnu : test and test-gtk targets now depend on mbas.exe
\r
838 2003/02/19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
839 * mb-parser.jay : eliminated reduce/reduce conflict on duplicated rank_specifier rule
\r
840 by renaming the one using brackets to bracketed_rank_specifier
\r
842 2003/02/12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
843 * added argument.cs (extracted from expression.cs) makefiles corrected
\r
844 * mb-parser.jay : eliminated reduce/reduce conflict on opt_argument_list rule,
\r
845 by putting and if to make a argument list with just an empty argument list become an empty list
\r
847 2003/02/03 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
848 * rootcontext.cs : added RootNamespace member
\r
849 * mb-parser.jay : use RootContext.RootNamespace to initialize outermost namespace
\r
851 - implement rootnamespace parameter, and defaults it to the output file name
\r
852 - like vbc if no source file name is provided just show help
\r
854 2003/01/22 Nick Drochak <ndrochak@gol.com>
\r
855 * makefile: Use csc compiler in here. makefile.gnu assumes mono/mcs
\r
857 2003-01-13 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
858 * added cleanup method to tokenizer as needed but modifications made in jay
\r
860 2003-01-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
861 * changed test target in makefile work
\r
862 * corrected authors list to include Marco
\r
864 2002-10-23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
865 * merged many sources from mcs/mcs, to resync
\r
867 2002-10-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
868 * using Mono.GetOptions preliminar support for response files,
\r
869 changed the makefile target 'test' for use o response file testmbas/filelist
\r
871 2002-10-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
872 * merged many sources from mcs/mcs, to resync
\r
874 2002-10-05 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
875 * merged many sources from mcs/mcs, to resync
\r
877 2002-08-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
878 * merged many sources from mcs/mcs, to resync
\r
880 2002-09-03 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
881 * integrated new version of Mono.GetOptions (reflection/attributes-based)
\r
883 2002-08-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
884 * merged expression.cs from mcs/mcs, to resync
\r
886 2002-08-29 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
887 * merged assign.cs, attribute.cs, class.cs, codegen.cs, const.cs, decl.cs, delegate.cs, ecore.cs, enum.cs,
\r
888 expression.cs, interface.cs, pending.cs, report.cs, rootcontext.cs, statement.cs, support.cs and
\r
889 typemanager.cs from mcs/mcs, to resync
\r
891 2002-08-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
892 * added "test" target to makefile
\r
893 * merged assign.cs, attribute.cs, cfold.cs, class.cs, codegen.cs, const.cs, constant.cs,
\r
894 decl.cs, delegate.cs, ecore.cs, enum.cs, expression.cs, interface.cs, modifiers.cs, parameter.cs,
\r
895 pending.cs, report.cs, rootcontext.cs, statement.cs, support.cs and typemanager.cs from mcs/mcs, to resync
\r
897 2002-07-14 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
898 * merged assign.cs, class.cs, ecore.cs, expression.cs, statement.cs and typemanager from mcs/mcs, to resync
\r
900 2002-07-09 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
901 * merged attribute.cs, ecore.cs, namespace.cs and statement.cs from mcs/mcs, to resync
\r
903 2002-07-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
904 * merged attribute.cs, class.cs, codegen.cs, ecore.cs, expression.cs,
\r
905 modifiers.cs, namespace.cs, report.cs, rootcontext.cs, statement.cs and typemanager.cs from mcs/mcs, to resync
\r
906 * changed driver.cs to follow mcs lead on error/warning counting and reporting
\r
908 2002-06-23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
909 * merged attribute.cs, class.cs, ecore.cs, rootcontext.cs, support.cs and typemanager.cs from mcs/mcs, to resync
\r
910 * makefile makes csc reference a copy of Mono.GetOptions.dll (mbas.sln now compiles to mbas dir instead of mbas/bin/Debug)
\r
912 2002-06-21 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
913 * merged attribute.cs, class.cs, interface.cs, expression.cs, ecore.cs,
\r
914 modifiers.cs, rootcontext.cs, statement.cs and typemanager.cs from mcs/mcs, to resync
\r
915 * added pending.cs from mcs/mcs, to resync
\r
917 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
918 * merged assign.cs, attribute.cs, enum.cs and namespace.cs from mcs/mcs, to resync
\r
919 * namespace.cs needed some fixing, because CSharpParser isn?t available
\r
921 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
922 * merged delegate.cs, ecore.cs, typemanager.cs and rootcontext.cs from mcs/mcs, to resolve expression.cs blues
\r
924 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
925 * oops merged expression.cs from mcs/mcs is breaking my make
\r
926 * driver.cs, assemblyinfo.cs wasn?t ready for prime time (offending lines were commented out)
\r
928 2002-06-15 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
929 * merged expression.cs from mcs/mcs
\r
931 2002-06-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
932 * corrected Module.TypeAttr property getter in module.cs
\r
934 2002-06-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
935 * merged typemanager.cs from mcs/mcs
\r
937 2002-06-10 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
938 * merged expression.cs and interface.cs from mcs/mcs
\r
940 2002-06-09 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
941 * merged const.cs, enum.cs, expression.cs and typemanager.cs from mcs/mcs
\r
942 * comments on module.cs
\r
944 2002-06-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
945 * merged class.cs, attribute.cs from mcs/mcs
\r
947 2002-06-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
948 * merged class.cs, enum.cs, expression.cs, interface.cs, rootcontext.cs and typemanager.cs from mcs/mcs
\r
949 * added module.cs (class Mono.MonoBASIC.Module - derived from Mono.CSharp.Class)
\r
950 * added System.XML and Microsoft.VisualBasic to the default config (driver.cs)
\r
952 2002-06-07 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
953 * merged class.cs and ecore.cs from mcs/mcs
\r
955 2002-06-02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
956 * copied methods MakeName and CheckDef from mcs\cs-parser.jay to GenericParser.cs
\r
957 where they are inherited by mb-parser.jay/cs
\r
958 * put some code on the Module rule in mb-parser.jay to at least generate a class in the assembly,
\r
959 if I jump over the entry-point check code, while debugging
\r
961 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
962 * class Mono.MonoBASIC.Tokenizer now handles
\r
963 - all valid line-terminators (CR, LF, CRLF, LS and PS)
\r
964 - escaped identifiers (like [Integer])
\r
965 - old-fashioned comments syntax (REM Blah-Blah)
\r
967 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
968 * modified mbas.ico to be a small version of mono?s logo (see mcs\MonoIcon.png)
\r
970 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
971 * squashed some reduce/reduce conflicts out of mb-parser.jay
\r
973 2002-05-31 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
974 * merged codegen.cs from mcs
\r
975 * altered Driver.cs to work with new codegen.cs
\r
977 2002-05-27 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
\r
979 * merged all I could from mcs source files into mbas
\r
980 * added VS.NET Solution and Project Files for mbas
\r
981 * added icon file and a vb-sources-filled testmbas directory
\r
982 * started this ChangeLog