Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-05-03In mcs:Raja R Harinath
* typemanager.cs (IsOverride, RegisterNonOverride): New. * decl.cs (MemberCache.AddMethod): Register "non-override" methods that used to trigger warning -28. Remove warning -28. * expression.cs (Invocation.OverloadResolve): Use TypeManager.IsOverride to distinguish override methods. In errors: * errors.txt (warning -28): Remove. svn path=/trunk/mcs/; revision=43921
2005-04-20This was a duplicated error test with 368, update to test something newMiguel de Icaza
svn path=/trunk/mcs/; revision=43303
2005-04-16Add new negative test caseMiguel de Icaza
svn path=/trunk/mcs/; revision=43125
2005-03-29In mcs:Raja R Harinath
Fix #47991. Remove a TODO. * statement.cs (Block.Toplevel): Make into a field. (Block.Parameters): Move into ToplevelBlock. (Block.known_variables): Rename from child_variable_names. (Block.Block): Remove variants that take Parameters. Initialize 'Toplevel' with the immediately surrounding toplevel block. (Block.AddKnownVariable): Rename from AddChildVariableName. Add a LocalInfo parameter. (Block.GetKnownVariableInfo): New. (Block.IsVariableNameUsedInChildBlock): Update. (Block.IsVariableNameUsedInBlock): New. Checks if a name is used in the block, even though it may not be in scope. (Block.AddVariable): Remove Parameters parameter. Use Toplevel.Parameters instead. (Block.AddConstant): Remove Parameters parameter. (Block.GetParameterReference): Update to use Toplevel.Parameters. (Block.IsParamaterReference): Likewise. (Block.IsLocalParameter): Likewise. Simplify a lot. (ToplevelBlock.Parameters): New. Moved from Block. (ToplevelBlock.ToplevelBlock): Update to changes. Always initialize Parameters to a non-null value. * cs-parser.jay: Update to changes. * ecore.cs (SimpleName.SimpleNameResolve): Emit cs0136 error for simple names that mean different things in the same block. Use Block.IsVariableNameUsedInBlock. In errors: * cs0136-3.cs, cs0136-4.cs: New tests from #47991. svn path=/trunk/mcs/; revision=42330
2004-12-07Misc. 'make distcheck' fixes.Raja R Harinath
In tools: * Makefile (run-test-ondotnet-local, uninstall-local): New. In tests: * Makefile (DISTFILES): Distribute *.inc files too. (with_mono_path): New. (casts.cs, boot-casts.out, mcs-casts.out): Use it. In jay: * Makefile (uninstall-local): Remove $(prefix)/man/man1/jay.1. In build: * executable.make (uninstall-local): Remove .config file too. * library.make (uninstall-local): Don't error out if GACUTIL fails. In errors: * Makefile (DISTFILES): Add expected error and ignored test lists. svn path=/trunk/mcs/; revision=37308
2004-08-04FlushMiguel de Icaza
svn path=/trunk/mcs/; revision=31874
2004-01-31Update error listMiguel de Icaza
svn path=/trunk/mcs/; revision=22631
2003-10-25Added "-220 Cannot resolve constructed type".Martin Baulig
svn path=/trunk/mcs/; revision=19381
2003-09-222003-09-22 Martin Baulig <martin@ximian.com>Martin Baulig
* errors.txt: Added -219. svn path=/trunk/mcs/; revision=18253
2003-09-15Added -218 invalid contraints clause.Martin Baulig
svn path=/trunk/mcs/; revision=18112
2003-09-07Added error -217.Martin Baulig
svn path=/trunk/mcs/; revision=17974
2003-09-062003-09-06 Martin Baulig <martin@ximian.com>Martin Baulig
* errors.txt: Added -216. svn path=/trunk/mcs/; revision=17946
2003-09-02Update errorsMiguel de Icaza
svn path=/trunk/mcs/; revision=17819
2003-07-20Add more errorsMiguel de Icaza
svn path=/trunk/mcs/; revision=16452
2003-05-31updateMiguel de Icaza
svn path=/trunk/mcs/; revision=15035
2003-04-30FlushMiguel de Icaza
svn path=/trunk/mcs/; revision=14134
2003-04-23Archive these files from my generics treeMiguel de Icaza
svn path=/trunk/mcs/; revision=13905
2003-04-21Add new errorMiguel de Icaza
svn path=/trunk/mcs/; revision=13840
2003-02-19Add another test fileMiguel de Icaza
svn path=/trunk/mcs/; revision=11707
2003-01-12FlushMiguel de Icaza
svn path=/trunk/mcs/; revision=10434
2002-12-192002-12-18 Ravi Pratap <ravi@ximian.com>Ravi Pratap M
* errors.txt : Update for error # -24. svn path=/trunk/mcs/; revision=9753
2002-09-17Add decimal to MakeByteBlobMiguel de Icaza
svn path=/trunk/mcs/; revision=7564
2002-09-10Update errorsMiguel de Icaza
svn path=/trunk/mcs/; revision=7343
2002-05-26Document errorMiguel de Icaza
svn path=/trunk/mcs/; revision=4939
2002-05-25New error testMiguel de Icaza
svn path=/trunk/mcs/; revision=4922
2002-05-182002-05-17 Miguel de Icaza <miguel@ximian.com>Miguel de Icaza
* ecore.cs (ExplicitReferenceConversionExists): Made public. (ImplicitReferenceConversionExists): Split out from StandardConversionExists. * expression.cs (As): We were only implementing one of the three cases for the as operator. We now implement them all. (Is): Implement the various other cases for Is as well. * typemanager.cs (CACHE): New define used to control if we want or not the FindMembers cache. Seems to have a negative impact on performance currently (MemberLookup): Nested types have full acess to enclosing type members Remove code that coped with instance/static returns for events, we now catch this in RealFindMembers. (RealFindMembers): only perform static lookup if the instance lookup did not return a type or an event. svn path=/trunk/mcs/; revision=4724
2002-04-12AddRavi Pratap M
svn path=/trunk/mcs/; revision=3788
2002-03-262002-03-25 Miguel de Icaza <miguel@ximian.com>Miguel de Icaza
* IntPtr.cs: Temporary work-around until I fix the assembly attributes bug. * String.cs (System): Removed enumeration, because it is pretty hard to support enumerations in /nostdlib mode for the core types. 2002-03-25 Miguel de Icaza <miguel@ximian.com> * interface.cs: Implement the same search algorithm for types in the interface code. * delegate.cs: Do not allow multiple definition. svn path=/trunk/mcs/; revision=3335
2002-03-25Updated errorsMiguel de Icaza
svn path=/trunk/mcs/; revision=3319
2002-03-17Update error listingMiguel de Icaza
svn path=/trunk/mcs/; revision=3172
2002-02-27Add new bug file to check; New test to excercise the enum bug that I justMiguel de Icaza
fixed, plus: 2002-02-26 Miguel de Icaza <miguel@ximian.com> * ecore.cs (Expression.ConvertExplicit): Bug fix, thanks for spotting this Paolo. (Expression.ImplicitNumericConversion): Perform comparissions of the type using the underlying type in the case of an enumeration rather than using the enumeration type for the compare. Cope with the underlying == type case, which is not possible to catch before. (Expression.ConvertNumericExplicit): Perform comparissions of the type using the underlying type in the case of an enumeration rather than using the enumeration type for the compare. svn path=/trunk/mcs/; revision=2696
2002-02-21Add indirection support, it was missing.Miguel de Icaza
2002-02-20 Miguel de Icaza <miguel@ximian.com> * expression.cs (Indirection): Implement EmitAssign and set the ExprClass to Variable. This allows pointer dereferences to be treated as variables, and to have values assigned to them. * ecore.cs (Expression.StoreFromPtr): New utility function to store values dereferencing. 2002-02-20 Miguel de Icaza <miguel@ximian.com> * unsafe-1.cs: Extend test. svn path=/trunk/mcs/; revision=2549
2002-02-192002-02-17 Miguel de Icaza <miguel@ximian.com>Miguel de Icaza
* expression.cs (Indirection): New helper class. Unary will create Indirection classes to be able to implement the IMemoryLocation interface on it. 2002-02-16 Miguel de Icaza <miguel@ximian.com> * cs-parser.jay (fixed_statement): reference the right statement. * statement.cs (Fixed.Emit): Finish implementing the fixed statement for the &x case. svn path=/trunk/mcs/; revision=2517
2002-01-172002-01-16 Miguel de Icaza <miguel@ximian.com>Miguel de Icaza
* statement.cs (For.Emit): If the test is null, then report that we do `return', as we wont reach anything afterwards. (Switch.SwitchGoverningType): Track the expression that matched the conversion. * driver.cs: Allow negative numbers as an error code to flag. svn path=/trunk/mcs/; revision=2011
2001-11-28Add more error testsMiguel de Icaza
svn path=/trunk/mcs/; revision=1462
2001-10-17Add files for delegate related errors.Ravi Pratap M
svn path=/trunk/mcs/; revision=1173
2001-10-01Update errors.txt for the new errors that only we catch.Ravi Pratap M
svn path=/trunk/mcs/; revision=1040
2001-09-272001-09-27 Miguel de Icaza <miguel@ximian.com>Miguel de Icaza
* expression.cs (LValue): Add new method AddressOf to be used by the `&' operator. Change the argument of Store to take an EmitContext instead of an ILGenerator, because things like FieldExpr need to be able to call their children expression to generate the instance code. (Expression::Error, Expression::Warning): Sugar functions for reporting errors. (Expression::MemberLookup): Accept a TypeContainer instead of a Report as the first argument. (Expression::ResolvePrimary): Killed. I still want to improve this as currently the code is just not right. (Expression::ResolveMemberAccess): Simplify, but it is still wrong. (Unary::Resolve): Catch errors in AddressOf operators. (LocalVariableReference::Emit, ::Store, ::AddressOf): typecast index to a byte for the short-version, or the compiler will choose the wrong Emit call, which generates the wrong data. (ParameterReference::Emit, ::Store): same. (FieldExpr::AddressOf): Implement. * typemanager.cs: TypeManager: made public variable instead of property. * driver.cs: document --fatal. * report.cs (ErrorMessage, WarningMessage): new names for the old Error and Warning classes. * cs-parser.jay (member_access): Turn built-in access to types into a normal simplename svn path=/trunk/mcs/; revision=1009
2001-09-08Update errors fileMiguel de Icaza
svn path=/trunk/mcs/; revision=761
2001-09-022001-09-02 Ravi Pratap <ravi@ximian.com>Ravi Pratap M
* class.cs (Operator::CheckUnaryOperator): Correct error number used to make it coincide with MS' number. (Operator::CheckBinaryOperator): Ditto. * ../errors/errors.txt : Remove error numbers added earlier. * ../errors/cs1019.cs : Test case for error # 1019 * ../errros/cs1020.cs : Test case for error # 1020 * cs-parser.jay : Clean out commented cruft. (dimension_separators, dimension_separator): Comment out. Ostensibly not used anywhere - non-reducing rule. (namespace_declarations): Non-reducing rule - comment out. * enum.cs (Enum::AddEnum): Rename to AddEnumMember as I was getting confused with TypeContainer::AddEnum. * delegate.cs : New file for delegate handling classes. (Delegate): Class for declaring delegates. * makefile : Update. * cs-parser.jay (delegate_declaration): Implement. svn path=/trunk/mcs/; revision=696
2001-08-312001-08-31 Ravi Pratap <ravi@che.iitm.ac.in>Ravi Pratap M
* cs-parser.jay (overloadable_operator): The semantic value is an enum of the Operator class. (operator_declarator): Implement actions. (operator_declaration): Implement. * class.cs (Operator::CheckUnaryOperator): New static method to help in checking validity of definitions. (Operator::CheckBinaryOperator): Static method to check for binary operators (TypeContainer::AddOperator): New method to add an operator to a type. * cs-parser.jay (indexer_declaration): Added line to actually call the AddIndexer method so it gets added ;-) * ../errors/errors.txt : Update to include new error numbers. Are these numbers already taken care of by the MS compiler ? 2001-08-29 Ravi Pratap <ravi@che.iitm.ac.in> * class.cs (Operator): New class for operator declarations. (Operator::OpType): Enum for the various operators. svn path=/trunk/mcs/; revision=688
2001-08-16Update errors listingMiguel de Icaza
svn path=/trunk/mcs/; revision=481
2001-06-08Initial revisionINITIAL_IMPORTMiguel de Icaza
svn path=/trunk/mcs/; revision=2