* modifiers.cs: changed exception number for invalid modifiers exception
[mono.git] / mcs / mbas / ChangeLog
1 2004-04-14 Anirban Bhattacharjee <banirban@novell.com>
2         * modifiers.cs: changed exception number for invalid modifiers exception
3
4 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
5         * mb-parser.jay: Removed 'static_constructor_declaration' - this is not required as 'constructor_declaration' implementation is good enough to handle static constructors too
6         * class.cs: Handling couple of negative scenarios related to static constructors and bug fixes
7
8 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
9         * class.cs: Couple of negative scenario handling
10
11 2004-04-13 Anirban Bhattacharjee <banirban@novell.com>
12         * mb-parser.jay: Few clean-up
13
14 2004-04-12 Anirban Bhattacharjee <banirban@novell.com>
15         * mb-parser.jay: Bug fixed - Base class ctor was getting called twice when called explicitly from the derived class ctor as MyBase.New
16
17 2004-04-12 Anirban Bhattacharjee <banirban@novell.com>
18         * mb-parser.jay: Fixed bugs for calling ctor from another ctor in the same class by using statments like
19                 Me.New 
20                 or 
21                 MyClass.New
22
23 2004/04/07  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
24         * mb-tokenizer.cs : Better error message when dealing with date literals\r
25
26 2004-04-06 Anirban Bhattacharjee <banirban@novell.com>
27         * class.cs:
28         * ecore.cs:
29         * expression.cs:
30         * modifiers.cs:
31         Changed/added serveral Accessibility related expections 
32
33 2004-04-05 Anirban Bhattacharjee <banirban@novell.com>
34         * class.cs:
35         * decl.cs:
36         * expression.cs:
37         * pending.cs: 
38         Several error messages and numbers are changed in all the above four classes
39
40 2004-04-04 AnirbanBhattacharjee <banirban@novell.com>
41         * delegate.cs: changed default access modifier
42         * enum.cs: changed default access modifier
43         * interface.cs: changed default access modifier
44         * modifiers.cs: extension of bug fixed for getting NotOverridable modifier working for methods
45
46 2004-04-04 AnirbanBhattacharjee <banirban@novell.com>
47         * class.cs: Changed exception messages and their numbers to align better with VB
48                     Changed default access modifier of method to Public
49                     Bug fixed to get NotOverridable modifier working
50         * decl.cs:  Changed exception messages and numbers
51
52 2004-03-25 Anirban Bhattacharjee <banirban@novell.com>
53         * class.cs: bug fixing - creating default constructor when no constructor is specified
54         Few modifiers are changed to align with Vb
55
56 2004/03/22  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
57         * typemanager.cs :  being more carefull with null arguments in some places, 
58                                                 null checking in GetPertinentStandardModules() loop
59         * namespace.cs : a helper ToString override 
60         * ecore.cs : Dealing with finding more than a pertinent standard module having a global member
61         * testmbas/WriteOk.vb : Exercising correct standard module resolution
62     NOTE: Almost there for Bug #52067 - just the semi-qualified case isn't working 
63
64 2004-03-23 Anirban Bhattacharjee <banirban@novell.com>
65         * mb-parser.jay: handled implicit static modifier for module members in const
66         * const.cs: changed supported modifiers
67
68 2004-03-23 Anirban Bhattacharjee <banirban@novell.com>
69         * modifiers.cs: Return name of the modifiers' changed to vb specific
70
71 2004/03/22  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
72         * ecore.cs : now it gets the correct list of namespaces in scope (either imported or current) Almost there for Bug #52067 
73
74 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
75         * mb-parser.jay: One more negative scenario is addressed in const grammar
76
77 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
78         * const.cs: Change type of constant to the type of its value if no explicit type declaration found
79
80 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
81         * mb-parser.jay: Grammar for declaring constant inside block is changed
82
83 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
84         * const.cs: Changed exception numbers
85
86 2004-03-22 Anirban Bhattacharjee <banirban@novell.com>
87         * mb-parser.jay: Changed grammar for constant
88
89 2004/03/02  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
90         * mb-tokenizer.cs : handling better linebreak, specially when delaing with literals and preprocessing directives 
91
92 2004-03-16 Anirban Bhattacharjee <banirban@novell.com>
93         * mb-parser.jay: 
94                 - changed variable declaration grammar and added support for multiple variables declartion under single type e.g. dim x, y as integer
95                 - added few exception checks in variables
96                 - added one exception check in property
97         
98 2004/03/02  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
99         * sourcebeingcompiled.cs : new source/class to hold things previously contained in namespaces.cs 
100                         because in C# they were semantically tied to nested namespaces, and in VB.NET 
101                         they can occur only once per file.
102         * mbas.exe.sources: added sourcebeingcompiled.cs
103         * mb-parser.jay: reference RootContext.Sourcebeingcompiled things
104         * namespace.cs: move pieces to sourcebeingcompiled
105         * rootcontext.cs: use SourceBeingCompiled class
106         * decl.cs: reference RootContext.Sourcebeingcompiled things
107
108 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
109         * mb-tokenizer.cs: Support for '-' delimiter in DateTime
110
111 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
112         * report.cs: Formatted warning thrown
113
114 2004-03-02 Anirban Bhattacharjee <banirban@novell.com>
115
116         * class.cs
117         * decl.cs
118         * modifiers.cs
119         * mb-parser.jay
120         Added Overloads and Shadows modifiers to Function and Sub
121         Fixed few other modifier related problems in Function and Sub
122
123 2004-01-07  Nick Drochak <ndrochak@ieee.org>\r
124 \r
125         * genericparser.cs:\r
126         * mb-tokenizer.cs: \r
127         * row.cs: Eliminate warnings about unused variables.\r
128 \r
129 2004/01/06  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
130         * typemanager.cs :      correcting translation of System types to language types, 
131                         also temporarily circunventing a exception in ModuleBuilder.GetType inside LookupTypeReflection,
132                         corrected many ` characters to ' in error messages
133         * testmbas/WriteOK.vb : testing newly implemented IsNumeric global function\r
134
135 2004-01-04  David Sheldon <dave-mono@earth.li>
136
137   * expression.cs: Added matching ")" to error message for 
138   CS0077
139
140 2003/12/23  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
141         * driver.cs : added stubs for options "/netcf /sdkpath:path"\r
142         * namespace.cs, decl.cs, rootcontext.cs : use hashtable to avoid duplicate importation of namespaces \r
143           (especially between command-line option /imports and explicit Import clauses), what manifested itself as\r
144           error messages for ambiguous names that where in truth identical\r
145         * statement.cs : trying to fix the 'exit' statement DoEmit, for "Exit Sub"\r
146         * mb-parser.jay, mb-tokenizer.cs : initial support for type_characters (dim az$ = dim az as string)\r
147 \r
148 2003/12/18  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
149         * class.cs : case-sensitiveness when tracking the entry-point removed\r
150         * driver.cs : IsSWFApp would try to pass a null 'mainclass' to the hashtable indexer, throwing an exception\r
151                 (even for correct programs because of the bug above). Now this condition is tested before\r
152 \r
153 2003/12/06  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
154         * ecore.cs : problems trying to implicit convert OMITTED arguments, solved\r
155         * mb-tokenizer.cs, mb-parser.jay, typemanager.cs : support for the date primitive type and date literals\r
156         * testmbas/WriteOK.vb: testing date type and date literal\r
157 \r
158 2003/11/12  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
159         * driver.cs : /imports option now is implemented\r
160         * mb-parser.jay: support for pre-imported namespaces (the default Microsoft.VisualBasic and those from /imports)\r
161         \r
162 2003/11/12  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
163         * mb-tokenizer.cs : integer literal (Hex starts with &H not 0x), handle Octal literals (&O)\r
164         *       handle unicode specialized double-quotes in string literals     \r
165         *       corrected some mishandling of conversions in numeric literals\r
166         *       implemented support for char literals ("z"c)\r
167         * Makefile : verbose target uses verbose argument\r
168         * testmbas/WriteOK.vb: many tests for literals implemented\r
169         * literal.cs: correcting lack of a ShortLiteral class\r
170         * mb-parser.jay: removed support for unsigned int literals, added support for short int literals\r
171         \r
172 2003/11/10  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
173         * *.cs, mb-parser.jay: Switched all from defining/using namespace Mono.CSharp to Mono.MonoBASIC \r
174         * location.cs: SymbolDocument now returns a SymbolDocumentWriter using the right (SymLanguageType.Basic) GUID\r
175         \r
176 2003/10/17  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
177         * genericparser.cs: \r
178             Don't print exception when a file is not found to be parsed\r
179                 File extensions not matched are now processed with the default parser\r
180                 Better handle file/directory not found exceptions, and use Report.Error in that case\r
181         * added defaultparserattribute.cs\r
182         * mb-parser.jay : Mono.MonoBASIC.Parser is now the [DefaultParser]\r
183         * location.cs version 1.4 recovered (Marco Ridoni had it overwritten with an older version)\r
184         * mb-tokenizer.cs, rootcontext.cs, tree.cs: Location constructor needs column number now\r
185 \r
186 2003/09/17  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
187         * .cvsignore: WHOOPS\r
188 \r
189 2003/09/17  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
190         * .cvsignore: some more files to ignore\r
191 \r
192 2003/09/17  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
193         * mb-tokenizer.cs, driver.cs: Back to Linux line-endings, SORRY\r
194 \r
195 2003/09/16  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
196         * 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
197         * mb-tokenizer.cs: Redoing: Preprocessor directives must be case-insensitive (many .ToLower() used)\r
198         * driver.cs: No more 'linkpaths' option, use 'libpath' instead\r
199 \r
200 2003/09/15  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
201         * driver.cs: Corrected handling of FileNotFoundException in LoadAssembly(), according to Bernie Solomon's patch\r
202 \r
203 2003/08/13  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
204         * mb-parser.jay: ReDim statement parses many variables now (but initializers aren't allowed)\r
205                                          Erase statement implemented\r
206                                          Lots of garbage (never reduced rules) deleted\r
207                                          Reduce/Reduce problems eliminated (where due to having opt_modifiers duplicated inside property_declaration rule)\r
208         * statement.cs : class Redim is prepared to have ReDim Preserve copying code called,\r
209                                          but we need to check if that code is lying in Microsoft.VisualBasic.dll\r
210                                          New class Erase\r
211 \r
212 2003-07-26  Ben Maurer  <bmaurer@users.sourceforge.net>\r
213         \r
214         * statement.cs: Make Math.XXX System.Math.XXX, to fix the build.\r
215         \r
216 2003-07-20  Peter Williams  <peter@newton.cx>\r
217 \r
218         * Makefile: Remove the test target which conflicted with\r
219         the global target. (Change confirmed with Rafael.)\r
220 \r
221 2003-04-02  Duncan Mak  <duncan@ximian.com>\r
222 \r
223         * mb-parser.jay: Temporarily remove the references to\r
224         Class.MustOverride to fix the build.\r
225 \r
226 2003/03/29  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
227         * mb-parser.jay: corrected some module related rules\r
228         * location.cs : now handles column information\r
229         \r
230 2003/03/11  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
231         * makefile.gnu : use $RUNTIME for all targets\r
232                                          actually run the compiled program on 'test-gtk' target \r
233         * mb-tokenizer.cs : no escaping of chars allowed in VB.NET (old mcs code removed)\r
234                                                 handle doubled-doublequotes (VB idiom to escape a doublequote) \r
235         \r
236 2003/03/04  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
237         * mb-parser.jay: added rule for Imports with alias\r
238         * mb-parser.jay: Friend (internal) modifier was missing,\r
239                                          Shared modifier was expecting Static token erroneously\r
240                                          Modules must accept only a static constructor rule added\r
241                                          Constant declaration rule added\r
242         * makefile & makefile.gnu : actually run the compiled program on test target \r
243 \r
244 2003/03/03  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
245         * mb-tokenizer.cs : new semi-keywords: Compare, Explicit, Strict, On, Off, Binary, Text\r
246         * mb-parser.jay: tokens for above semi-keywords, and rules for option directives\r
247         * driver.cs: integrates command line options with parser flags for option directives\r
248         * makefile & makefile.gnu : added 'verbose' target that uses --verbose switch to compile \r
249           the test source and pipes it through 'less', also added a Extended Syntax source\r
250 \r
251 2003/02/22  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
252         * class.cs : As, per vbc, there is a rootnamespace now, --main wasn't working anymore, \r
253                                  because it was expecting a fully qualified class name. \r
254                                  We now also test the name passed prepended by the rootnamespace.\r
255         * class.cs : Corrected warning "The keyword new is required on `Mono.CSharp.Property.Emit'\r
256                                  because it hides inherited member `PropertyBase.Emit'", by making it virtual\r
257                                  in PropertyBase and override in Property.\r
258         * makefile.gnu : test and test-gtk targets now depend on mbas.exe\r
259                                  \r
260 \r
261 2003/02/19  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
262         * mb-parser.jay : eliminated reduce/reduce conflict on duplicated rank_specifier rule\r
263           by renaming the one using brackets to bracketed_rank_specifier\r
264 \r
265 2003/02/12  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
266         * added argument.cs (extracted from expression.cs) makefiles corrected\r
267         * mb-parser.jay : eliminated reduce/reduce conflict on opt_argument_list rule, \r
268           by putting and if to make a argument list with just an empty argument list become an empty list\r
269 \r
270 2003/02/03  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
271         * rootcontext.cs : added RootNamespace member\r
272         * mb-parser.jay : use RootContext.RootNamespace to initialize outermost namespace\r
273         * driver.cs : \r
274                 - implement rootnamespace parameter, and defaults it to the output file name\r
275                 - like vbc if no source file name is provided just show help\r
276 \r
277 2003/01/22  Nick Drochak <ndrochak@gol.com>\r
278         * makefile: Use csc compiler in here. makefile.gnu assumes mono/mcs\r
279 \r
280 2003-01-13  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
281         * added cleanup method to tokenizer as needed but modifications made in jay\r
282 \r
283 2003-01-12  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
284         * changed test target in makefile work\r
285         * corrected authors list to include Marco\r
286 \r
287 2002-10-23  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
288         * merged many sources from mcs/mcs, to resync\r
289 \r
290 2002-10-20  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
291         * using Mono.GetOptions preliminar support for response files, \r
292           changed the makefile target 'test' for use o response file testmbas/filelist\r
293 \r
294 2002-10-20  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
295         * merged many sources from mcs/mcs, to resync\r
296 \r
297 2002-10-05  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
298         * merged many sources from mcs/mcs, to resync\r
299 \r
300 2002-08-31  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
301         * merged many sources from mcs/mcs, to resync\r
302 \r
303 2002-09-03  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
304         * integrated new version of Mono.GetOptions (reflection/attributes-based)\r
305 \r
306 2002-08-31  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
307         * merged expression.cs from mcs/mcs, to resync\r
308 \r
309 2002-08-29  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
310         * merged assign.cs, attribute.cs, class.cs, codegen.cs, const.cs, decl.cs, delegate.cs, ecore.cs, enum.cs,\r
311         expression.cs, interface.cs, pending.cs, report.cs, rootcontext.cs, statement.cs, support.cs and \r
312         typemanager.cs from mcs/mcs, to resync\r
313 \r
314 2002-08-06  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
315         * added "test" target to makefile\r
316         * merged assign.cs, attribute.cs, cfold.cs, class.cs, codegen.cs, const.cs, constant.cs, \r
317           decl.cs, delegate.cs, ecore.cs, enum.cs, expression.cs, interface.cs, modifiers.cs, parameter.cs, \r
318           pending.cs, report.cs, rootcontext.cs, statement.cs, support.cs and typemanager.cs from mcs/mcs, to resync\r
319 \r
320 2002-07-14  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
321         * merged assign.cs, class.cs, ecore.cs, expression.cs, statement.cs and typemanager from mcs/mcs, to resync\r
322 \r
323 2002-07-09  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
324         * merged attribute.cs, ecore.cs, namespace.cs and statement.cs from mcs/mcs, to resync\r
325 \r
326 2002-07-06  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
327         * merged attribute.cs, class.cs, codegen.cs, ecore.cs, expression.cs, \r
328           modifiers.cs, namespace.cs, report.cs, rootcontext.cs, statement.cs and typemanager.cs from mcs/mcs, to resync\r
329         * changed driver.cs to follow mcs lead on error/warning counting and reporting\r
330 \r
331 2002-06-23  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
332         * merged attribute.cs, class.cs, ecore.cs, rootcontext.cs, support.cs and typemanager.cs from mcs/mcs, to resync\r
333         * makefile makes csc reference a copy of Mono.GetOptions.dll (mbas.sln now compiles to mbas dir instead of mbas/bin/Debug)\r
334 \r
335 2002-06-21  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
336         * merged attribute.cs, class.cs, interface.cs, expression.cs, ecore.cs, \r
337           modifiers.cs, rootcontext.cs, statement.cs and typemanager.cs from mcs/mcs, to resync\r
338         * added pending.cs from mcs/mcs, to resync\r
339 \r
340 2002-06-15  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
341         * merged assign.cs, attribute.cs, enum.cs and namespace.cs from mcs/mcs, to resync\r
342         * namespace.cs needed some fixing, because CSharpParser isn?t available\r
343 \r
344 2002-06-15  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
345         * merged delegate.cs, ecore.cs, typemanager.cs and rootcontext.cs from mcs/mcs, to resolve expression.cs blues\r
346 \r
347 2002-06-15  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
348         * oops merged expression.cs from mcs/mcs is breaking my make\r
349         * driver.cs, assemblyinfo.cs wasn?t ready for prime time (offending lines were commented out)\r
350 \r
351 2002-06-15  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
352         * merged expression.cs from mcs/mcs\r
353 \r
354 2002-06-12  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
355         * corrected Module.TypeAttr property getter in module.cs\r
356         \r
357 2002-06-12  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
358         * merged typemanager.cs from mcs/mcs\r
359 \r
360 2002-06-10  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
361         * merged expression.cs and interface.cs from mcs/mcs\r
362 \r
363 2002-06-09  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
364         * merged const.cs, enum.cs, expression.cs and typemanager.cs from mcs/mcs\r
365     * comments on module.cs\r
366 \r
367 2002-06-07  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
368         * merged class.cs, attribute.cs from mcs/mcs\r
369 \r
370 2002-06-07  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
371         * merged class.cs, enum.cs, expression.cs, interface.cs, rootcontext.cs and typemanager.cs from mcs/mcs\r
372         * added module.cs (class Mono.MonoBASIC.Module - derived from Mono.CSharp.Class)\r
373         * added System.XML and Microsoft.VisualBasic to the default config (driver.cs)\r
374         \r
375 2002-06-07  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
376         * merged class.cs and ecore.cs from mcs/mcs\r
377 \r
378 2002-06-02  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
379         * copied methods MakeName and CheckDef from mcs\cs-parser.jay to GenericParser.cs \r
380           where they are inherited by mb-parser.jay/cs\r
381         * put some code on the Module rule in mb-parser.jay to at least generate a class in the assembly,\r
382           if I jump over the entry-point check code, while debugging\r
383         \r
384 2002-05-31  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
385         * class Mono.MonoBASIC.Tokenizer now handles \r
386                 - all valid line-terminators (CR, LF, CRLF, LS and PS)\r
387                 - escaped identifiers (like [Integer])\r
388                 - old-fashioned comments syntax (REM Blah-Blah)\r
389 \r
390 2002-05-31  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
391         * modified mbas.ico to be a small version of mono?s logo (see mcs\MonoIcon.png)\r
392 \r
393 2002-05-31  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
394         * squashed some reduce/reduce conflicts out of mb-parser.jay\r
395 \r
396 2002-05-31  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
397         * merged codegen.cs from mcs\r
398         * altered Driver.cs to work with new codegen.cs\r
399 \r
400 2002-05-27  Rafael Teixeira <rafaelteixeirabr@hotmail.com>\r
401 \r
402         * merged all I could from mcs source files into mbas\r
403         * added VS.NET Solution and Project Files for mbas\r
404         * added icon file and a vb-sources-filled testmbas directory\r
405         * started this ChangeLog