2005-12-07 Lluis Sanchez Gual <lluis@ximian.com>
[mono.git] / mcs / gmcs / ChangeLog
index c5b919d6999038cd1a8cfc98ebf3f7ae8f95a006..6425688c3842800b73a605f57a8876ff16e181f0 100644 (file)
@@ -1,3 +1,126 @@
+2005-12-06  Raja R Harinath  <rharinath@novell.com>
+
+       * class.cs (MethodCore.CheckGenericOverride): Delete unused
+       abstract method and all overrides.
+       * support.cs (ParameterData.GenericConstraints): Delete.
+       (ReflectionParameters.type_params): Delete.
+       (ReflectionParameters.ReflectionParameters): Make private.
+       (ReflectionParameters.GetConstaints): New factory method.
+       * generic.cs (TypeParameterDefineType): Use it.
+       (TypeManager.GetTypeParameterConstraints): Likewise.
+
+2005-11-22  Marek Safar  <marek.safar@seznam.cz>
+
+       Fix #76783.
+       * class.cs (MethodData.Emit): Parameters should be labeled first.
+
+2005-11-21  Marek Safar  <marek.safar@seznam.cz>
+
+       Fix #76761.
+       * parameter.cs (Parameter.ApplyAttributeBuilder): Fixed `ref' detection.
+
+2005-11-18  Marek Safar  <marek.safar@seznam.cz>
+
+       * attribute.cs (AreParametersCompliant): Moved to Parameter.
+
+       * class.cs (MethodCore): Parameter clean up.
+       (IMethodData): Added ParameterInfo.
+       (MethodData): Parameter clean up.
+       (Indexer.Define): Parameter clean up.
+
+       * anonymous.cs,
+       * codegen.cs,
+       * cs-parser.jay,
+       * decl.cs,
+       * doc.cs,
+       * ecore.cs,
+       * flowanalysis.cs,
+       * iterators.cs,
+       * pending.cs,
+       * statement.cs,
+       * typemanager.cs: Parameter clean up.
+
+       * delegate.cs (Define): Get rid of duplicated code.
+
+       * expression.cs (ParameterReference): Removed useless parameters
+       and simplified.
+       (Invocation): Ditto.
+
+       * parameter.cs (ParamsParameter): New class, params specialization.
+       (ArglistParameter): Attemp to separate arglist.
+       (Parameter): Refactored to be reusable and faster.
+       (Parameter.Modifier): Made understandable.
+       (Parameters): Changed to be used as a class for `this' assembly
+       parameters. Refactored to use new specialized classes.
+
+       * support.cs (ParameterData): Added Types property.
+       (InternalParameters): Deleted.
+
+2005-11-16  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * doc.cs : the previous patch does not actually fix the bug.
+         PropertyInfo override check is now implemented and really fixed it.
+       * expression.cs : Invocation.IsAncestralType() is used from doc.cs.
+
+2005-11-16  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * doc.cs : apply "override filter" also to properties.
+         Fixed bug #76730.
+
+2005-11-16  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * doc.cs : renamed FindMembers() to FindMethodBase(). For interfaces,
+         no need to check overrides. For classes, omit those results from 
+         interfaces since they must exist in the class. Fixed bug #76726.
+
+2005-11-15  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * typemanager.cs : (GetFullNameSignature) differentiate indexers
+         with different parameters. Fixed the second problem in #76685.
+
+2005-11-15  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * doc.cs : (FindDocumentedMember) pass invocation_type as well (to
+         get expected 'protected' access in CheckValidFamilyAccess()).
+         Fixed bug #76692.
+
+2005-11-15  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * doc.cs : (GenerateTypeDocComment) Fields could be FixedField.
+         Fixed bug #76705.  CS1569 was incorrectly commented out.
+
+2005-11-23  Martin Baulig  <martin@ximian.com>
+
+       * generic.cs (Constraints.Define): Removed.
+       (TypeParameter.DefineConstraints): Removed.
+       (TypeParameter.DefineType): Call SetGenericParameterAttributes()
+       on the GenericTypeParameterBuilder here.
+
+2005-11-23  Martin Baulig  <martin@ximian.com>
+
+       * typemanager.cs (TypeManager.GetProperty): Make this public.
+
+       * generic.cs (Nullable.NullableInfo.ctor): Use
+       TypeManager.GetProperty() rather than using reflection directly.
+
+2005-11-17  Martin Baulig  <martin@ximian.com>
+
+       * expression.cs (Indexers.GetIndexersForType): Added support for
+       generic parameters; fixes #76587.
+
+2005-11-17  Martin Baulig  <martin@ximian.com>
+
+       * anonymous.cs
+       (CaptureContext.EmitMethodHostInstance): Use `Ldarg_0' if we
+       inherit the scope from our parent.  Fixes #76653.
+
+2005-11-15  Martin Baulig  <martin@ximian.com>
+
+       * anonymous.cs (ScopeInfo.ScopeType): New public field; use this
+       instead of `ScopeTypeBuilder' to refer to the "current" type.
+       (AnonymousMethod.CreateScopeType): Correctly create the helper
+       class if we're inside a generic type definition.
+
 2005-11-14  Atsushi Enomoto  <atsushi@ximian.com>
 
        * doc.cs : use Invocation.IsOverride() to do real override check.