2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
[mono.git] / mcs / mbas / ChangeLog
index 8dbf932cc4857666d7aabfda8c91fbc9e4ffda56..665ddf568299dbd078067dc9d33b25432fb7a5d2 100644 (file)
@@ -1,3 +1,397 @@
+2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: Added support for modifiers and attributes in interface member grammar
+
+2004-08-04 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: Property types made optional
+
+2004-08-03 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: Interface method and property grammar got changed
+                        Support for multiple implements in class 
+       * interface.cs: Interface class has got changed
+                       All other interface types have been removed
+       * class.cs: Property's Define and CheckBase method changed significantly to be in sync with Interface
+       * pending.cs: few related changes 
+       * attribute.cs: few related changes
+
+2004/08/01  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
+       * mb-parser.jay : Some correction as pointed by Jambunathan, 
+               to allow preprocessor directives after a label that may 
+               leave it orphaned (without a explicit statement)
+       * testmbas/WriteOK.vb : some vb code to test this case
+
+2004/08/01  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
+       * mb-parser.jay : Some correction as pointed by Jambunathan, 
+               to allow intermixing preprocessor directives between 
+               the label and it's associated statement
+
+2004-08-02  Jambunathan K  <kjambunathan@novell.com>
+       * mb-tokenizer.cs: Oops. Also pulled out all of the old
+       pre-processor code that is no more used.
+
+2004-08-02  Jambunathan K  <kjambunathan@novell.com>
+       * mb-tokenizer.cs: Fixed a bug where line nos were 
+       failing to get incremented when the line continuation 
+       character was appearing by itself on contiguous lines.
+       
+       * mb-parser.jay: Fixed the #ExternalSource actions
+       so that ExternalSourceDirectivesC4.vb compiles and 
+       reports source & line nos as expected.
+
+       * location.cs: Replaced the existing unintuitive, not
+       so efficient implementation of struct Location {} with 
+       the one available in mcs with one minor difference: The
+       number of bits reserved for a file index in the Token
+       is statically fixed at 8 bits.
+
+2004/08/01  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
+       * mb-parser.jay : Revised patch from João Viegas for the labeled_statement accepting integer literals as labels
+
+2004-07-30  Jambunathan K  <kjambunathan@novell.com>
+       * mb-parser.jay: Oops. Reversed unintended checkin.
+       * mb-tokenizer.cs: Added comment in Tokenizer() 
+       * mb-parser.jay: Fixed miscellaneous bugs in handling of 
+       pre-processor directives. There are two positive test 
+       cases that fail currently: ExternalSourceDirectivesC4.vb
+       and RegionDirectivesC1.vb
+
+2004-07-30  Raja R Harinath  <rharinath@novell.com>
+
+       * mb-parser.jay (IfElseStateMachine.State, IfElseStateMachine.Token): 
+       Remove [Flags] attribute.
+
+2004-07-30  Jambunathan K  <kjambunathan@novell.com>
+       * mb-parser.jay: 
+       * mb-tokenizer.cs: Added support for #region, #externalsource
+       and conditional compilation pre-processor directives.
+       Conditonal directives currently accept only boolean literals
+       as conditonal expressions. 
+       
+       * mb-parser.jay: The original checkin hits a bug in mcs but
+       compiles fine with csc. This checkin is to workaround the mcs
+       bug so that cvs builds are not broken.
+       
+       
+2004/07/26  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
+       * mb-parser.jay : First try at SyncLock Statement #53230
+
+2004-07-22 Anirban Bhattacharjee <banirban@novell.com>
+       * argument.cs:
+       * expression.cs:
+               Little betterment in resolution of parameter with Addressof operator in method argument
+
+2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
+       * expression.cs: Resolution of fully qualified type names - bug fixed
+
+2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
+       * assign.cs: Added new argument to Expression.ConvertExplicit function call
+
+2004-07-20 Anirban Bhattacharjee <banirban@novell.com>
+       * expression.cs: Fixed resolution of overloaded functions with delegate as parameter
+       * ecore.cs: Changes made to stop program getting into an endless loop on not able to cast types of source to destination object.
+       * statement.cs: Added new argument to Expression.ConvertExplicit function call
+
+2004-07-18 Anirban Bhattacharjee <banirban@novell.com>
+       * argument.cs: Introduced AddressOf argument type for tracking AddressOf operator in method parameter
+       * expression.cs: A parameter with AddressOf operator will get converted to Delegate before overload resolution
+       * 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
+               This is a fix for bug #59555
+
+2004/07/15  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
+       * driver.cs : Implemented support for -pkg to match mcs (bug #58673)
+
+2004/07/15  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
+       * driver.cs : started implementing -pkg support to match mcs (bug #58673), also corrected multiplicity for addmodule option
+
+2004-07-13 Anirban Bhattacharjee <banirban@novell.com>
+       * driver.cs: Added support for AddModule compiler option
+       * 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.
+
+2004-07-13 Anirban Bhattacharjee <banirban@novell.com>
+       * driver.cs: Compilation to module is supported now
+
+2004-07-09 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay:
+       * class.cs:
+               Default modifier for constructor is set to Public
+
+2004-07-09 Anirban Bhattacharjee <banirban@novell.com>
+       * 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"
+
+2004-07-07 Anirban Bhattacharjee <banirban@novell.com>
+       * expression.cs: bug fixed - 60399
+
+2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: Small correction in delegate declaration grammar
+
+2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: modified RemoveHandler function
+       * statement.cs: Added RemoveHandler statement class
+
+2004-06-13 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: Modified grammar for several syntax of AddressOf operator
+
+2004/06/10  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
+       * typemanager.cs : GetPertinentStandardModules receives the array now with params modifier to help usage
+       * ecore.cs : correcting lookup of semi-qualified standard modules members - A little better but not there yet
+
+2004-06-10 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: Grammar added for RemoveHandler statement
+
+2004-06-10 Anirban Bhattacharjee <banirban@novell.com>
+        * mb-parser.jay:
+        * expression.cs:
+                Added support for statement like
+                        delgate_name = AddressOf sub_name
+
+2004-06-09  Raja R Harinath  <rharinath@novell.com>
+
+       * Makefile (HAS_TEST): Remove.
+       (run-test-local): Move rule to and depend on ...
+       (run-mbas-test): ... this.
+
+2004-06-08 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay:
+       * statement.cs:
+               Few exception checks for Event
+
+2004-06-07 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: Resolved the problem in Sub statement with Handles cluse
+       * class.cs: Added a AddEventHandler function and a EventHandler readonly property. Also modified define of constructor to accommodate Handlers clause.          
+                   If one initialize a event handler as
+                       Sub Handler() Handles x.Event
+                   The handler will be initialized by the constructor of the corresponding class by calling AddHandler.
+
+2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: Modified WithEvents grammar    
+
+2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
+       * class.cs: - NotOverridable modifier support added to Property
+                   - Few overriding related checks put on Property
+2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
+       * decl.cs: Check for duplicate member name within same container
+
+2004-06-04 Anirban Bhattacharjee <banirban@novell.com>
+       * class.cs: changed exception number in event grammar
+
+2004-06-03 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: RaiseEvent grammar fixed to get it working
+
+2004-06-03 Anirban Bhattacharjee <banirban@novell.com>
+       * driver.cs: fixed bug - 59540
+
+2004-06-01 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: Improved event declaration grammar
+
+2004/05/31  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
+       * AssemblyInfo.cs : Anirban is and author too
+
+2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
+       * delegate.cs:
+       * expression.cs:
+               Few exception checks for delegete
+
+2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay:
+       * delegate.cs:
+               Few more fixes in delegate grammar              
+
+2004-05-27 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: Changed Delegate instantiation grammar to get it working
+
+2004-05-26 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay:
+       * class.cs:
+               Few property related checks applied
+
+2004-05-24 Anirban Bhattacharjee <banirban@novell.com>
+       * class.cs: Check for ReadOnly and WriteOnly modifiers added to property
+
+2004-05-24 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-paresr.jay: Support for abstruct property is added
+
+2004-05-24  Raja R Harinath  <rharinath@novell.com>
+
+       * Makefile (PROGRAM_INSTALL_DIR): Install mbas into
+       $(prefix)/lib/mono/1.0.
+
+2004-05-10 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: few Property related grammar changes
+
+2004-05-14 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-tokenizer.cs: Bug fixed - Got Property working
+
+2004-05-10 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: Support added for attaching Attributes in methods
+
+2004/04/07  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
+       * AssemblyInfo.cs : Correcting information and version number
+
+2004-04-29 Anirban Bhattacharjee <banirban@novell.com>
+       * enum.cs: bug fixing - setting one enum member to another
+
+2004-04-29 Anirban Bhattacharjee <banirban@novell.com>
+       * enum.cs:
+       * expression.cs:
+               Implemented check for access modifier in enum
+
+2004-04-29  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * typemanager.cs: Property.GetGetMethod() does not return the method if it
+       is private (it did until now because of a bug). Make sure it works as it 
+       worked before the fix.
+
+2004-04-28 Anirban Bhattacharjee <banirban@novell.com>
+       * expression.cs: fixed bug to get enum running
+       * enum.cs: handling several negative scenarios 
+                  Changed several exception numbers
+       * assign.cs: Changed exception number
+
+2004-04-26  Jackson Harper  <jackson@ximian.com>
+
+       * Makefile: Get libs from default profile directory.
+       
+2004-04-23 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: Grammar changes for array
+       * expression.cs: exception number changed for "Incorrectly structured array initializer" exception
+
+2004-04-17 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay:
+       * class.cs:
+       * const.cs
+               a little better structure grammar
+
+2004-04-16 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: few clean-ups
+
+2004-04-16 Anirban Bhattacharjee <banirban@novell.com>
+       * class.cs: Duplicate entry point exception number changed
+                   Checked delaration of Types, fields, methods as Protected if they are member of Module type
+       * const.cs: Checked delaration of constructor as Protected if it is member of Module type
+       * driver.cs: exception number is changed for "Entry point does not exist" exception
+
+2004-04-15 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: Classes can't be delared static impicitly as other module members
+
+2004-04-15 Anirban Bhattacharjee <banirban@novell.com>
+       * class.cs: Couple of bug fixes in defining default static constructor, partially imposed by the fix earlier
+
+2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
+       * class.cs: Added support for Shadows modifier in Variables
+
+2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
+       * const.cs: Added support for Shadows modifier in constant
+
+2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
+       * expression.cs: Removed the check which was stoping type instances to access the shared variables
+
+2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
+       * modifiers.cs: changed exception number for invalid modifiers exception
+
+2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: Removed 'static_constructor_declaration' - this is not required as 'constructor_declaration' implementation is good enough to handle static constructors too
+       * class.cs: Handling couple of negative scenarios related to static constructors and bug fixes
+
+2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
+       * class.cs: Couple of negative scenario handling
+
+2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: Few clean-up
+
+2004-04-12 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: Bug fixed - Base class ctor was getting called twice when called explicitly from the derived class ctor as MyBase.New
+
+2004-04-12 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: Fixed bugs for calling ctor from another ctor in the same class by using statments like
+               Me.New 
+               or 
+               MyClass.New
+
+2004/04/07  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
+       * mb-tokenizer.cs : Better error message when dealing with date literals\r
+
+2004-04-06 Anirban Bhattacharjee <banirban@novell.com>
+       * class.cs:
+       * ecore.cs:
+       * expression.cs:
+       * modifiers.cs:
+       Changed/added serveral Accessibility related expections 
+
+2004-04-05 Anirban Bhattacharjee <banirban@novell.com>
+       * class.cs:
+       * decl.cs:
+       * expression.cs:
+       * pending.cs: 
+       Several error messages and numbers are changed in all the above four classes
+
+2004-04-04 AnirbanBhattacharjee <banirban@novell.com>
+       * delegate.cs: changed default access modifier
+       * enum.cs: changed default access modifier
+       * interface.cs: changed default access modifier
+       * modifiers.cs: extension of bug fixed for getting NotOverridable modifier working for methods
+
+2004-04-04 AnirbanBhattacharjee <banirban@novell.com>
+       * class.cs: Changed exception messages and their numbers to align better with VB
+                   Changed default access modifier of method to Public
+                   Bug fixed to get NotOverridable modifier working
+       * decl.cs:  Changed exception messages and numbers
+
+2004-03-25 Anirban Bhattacharjee <banirban@novell.com>
+       * class.cs: bug fixing - creating default constructor when no constructor is specified
+       Few modifiers are changed to align with Vb
+
+2004/03/22  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
+       * typemanager.cs :  being more carefull with null arguments in some places, 
+                                               null checking in GetPertinentStandardModules() loop
+       * namespace.cs : a helper ToString override 
+       * ecore.cs : Dealing with finding more than a pertinent standard module having a global member
+       * testmbas/WriteOk.vb : Exercising correct standard module resolution
+    NOTE: Almost there for Bug #52067 - just the semi-qualified case isn't working 
+
+2004-03-23 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: handled implicit static modifier for module members in const
+       * const.cs: changed supported modifiers
+
+2004-03-23 Anirban Bhattacharjee <banirban@novell.com>
+       * modifiers.cs: Return name of the modifiers' changed to vb specific
+
+2004/03/22  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
+       * ecore.cs : now it gets the correct list of namespaces in scope (either imported or current) Almost there for Bug #52067 
+
+2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: One more negative scenario is addressed in const grammar
+
+2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
+       * const.cs: Change type of constant to the type of its value if no explicit type declaration found
+
+2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: Grammar for declaring constant inside block is changed
+
+2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
+       * const.cs: Changed exception numbers
+
+2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: Changed grammar for constant
+
+2004/03/02  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
+       * mb-tokenizer.cs : handling better linebreak, specially when delaing with literals and preprocessing directives 
+
+2004-03-16 Anirban Bhattacharjee <banirban@novell.com>
+       * mb-parser.jay: 
+               - changed variable declaration grammar and added support for multiple variables declartion under single type e.g. dim x, y as integer
+               - added few exception checks in variables
+               - added one exception check in property
+       
+2004/03/02  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
+       * sourcebeingcompiled.cs : new source/class to hold things previously contained in namespaces.cs 
+                       because in C# they were semantically tied to nested namespaces, and in VB.NET 
+                       they can occur only once per file.
+       * mbas.exe.sources: added sourcebeingcompiled.cs
+       * mb-parser.jay: reference RootContext.Sourcebeingcompiled things
+       * namespace.cs: move pieces to sourcebeingcompiled
+       * rootcontext.cs: use SourceBeingCompiled class
+       * decl.cs: reference RootContext.Sourcebeingcompiled things
+
 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
        * mb-tokenizer.cs: Support for '-' delimiter in DateTime