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