remove obsoleted files
[mono.git] / mcs / gmcs / ChangeLog
index 3c38dafdb460e28979497593614ee2af50c89bc0..23be8b0ca3a310167203e0207d75eaa54aa173cc 100644 (file)
@@ -1,3 +1,251 @@
+2006-09-25  Martin Baulig  <martin@ximian.com>
+
+       * class.cs: Remove after unification with mcs source.
+
+2006-09-24  Raja R Harinath  <harinath@gmail.com>
+
+       * convert.cs: Remove after unification with mcs source.
+
+2006-09-24  Marek Safar  <marek.safar@seznam.cz>
+
+       * class.cs (MemberBase.VerifyClsCompliance): When method has type
+       parameters verify them as well.
+
+       * generic.cs (Constraints.VerifyClsCompliance): Verify CLS-Compliance of
+       the type parameter constraints.
+       (Generics.VerifyClsCompliance): Ditto.
+
+2006-09-24  Marek Safar  <marek.safar@seznam.cz>
+
+       * anonymous.cs (AnonymousMethod.Compatible): Cannot generate arguments
+       for anonymous block with out argument.
+
+2006-09-24  Marek Safar  <marek.safar@seznam.cz>
+
+       * class.cs (ClassOrStruct.VerifyMembers): Fixed to report correctly
+       not used private events only.
+
+2006-09-23  Marek Safar  <marek.safar@seznam.cz>
+
+       * convert.cs (ImplicitReferenceConversion): NullCast to EmptyConstantCast.
+
+       * cs-parser.jay: Parse correctly cast of default (T).
+
+       * generic.cs (DefaultValueExpression.DoResolve): Check for void type.
+       Store original type via EmptyConstantCast.
+
+2006-09-22  Martin Baulig  <martin@ximian.com>
+
+       * delegate.cs: Removed; this file is now shared with mcs.
+
+       * attribute.cs: Removed; this file is now shared with mcs.
+
+2006-09-22  Martin Baulig  <martin@ximian.com>
+
+       * ecore.cs: Removed; this file is now shared with mcs.
+
+2006-09-21  Marek Safar  <marek.safar@seznam.cz>
+
+       * convert.cs (ImplicitReferenceConversion): Reuse ToType.
+
+       * ecore.cs (NullCast): Derives from NullConstant.
+
+       * generic.cs (DefaultValueExpression): Fixed to cope with the constant
+       results.
+
+2006-09-21  Martin Baulig  <martin@ximian.com>
+
+       * decl.cs: Removed; this file is now shared with mcs.
+
+2006-09-21  Raja R Harinath  <rharinath@novell.com>
+
+       * rootcontext.cs: Remove after unification with mcs source.
+
+       * report.cs: Remove after unification with mcs source.
+       * generic.cs (AddTypeParameter, LookupTypeParameter): Move to
+       mcs/typemanager.cs.
+       (InitGenerics, CleanUpGenerics): Remove.
+
+       * support.cs: Remove after unification with mcs source.
+
+2006-09-20  Raja R Harinath  <rharinath@novell.com>
+
+       * codegen.cs: Remove after unification with mcs source.
+
+2006-09-19  Martin Baulig  <martin@ximian.com>
+
+       * expression.cs: Removed; this file is now shared with mcs.
+
+2006-09-19  Martin Baulig  <martin@ximian.com>
+
+       * generic.cs
+       (TypeManager.IsEqual): Moved into ../mcs/typemanager.cs.
+       (TypeManager.DropGenericTypeArguments): Likewise.
+       (TypeManager.DropGenericMethodArguments): Likewise.
+       (TypeManager.GetTypeArguments): Likewise.
+       (TypeManager.HasGenericArguments): Likewise.
+
+2006-09-19  Martin Baulig  <martin@ximian.com>
+
+       * ecore.cs (PropertyExpr.InstanceResolve): Fix the CS1540 check.
+
+2006-09-19  Martin Baulig  <martin@ximian.com>
+
+       * typemanager.cs: Removed; this file is now shared with mcs.
+
+2006-09-16  Raja R Harinath  <rharinath@novell.com>
+
+       * Makefile (LOCAL_MCS_FLAGS): Use instead of PROFILE_MCS_FLAGS.
+       * AssemblyInfo.cs, driver.cs: Remove after unification with mcs source.
+
+2006-09-16  Marek Safar  <marek.safar@seznam.cz>
+
+       A fix for #79401
+       * class.cs (MethodCore.VerifyClsCompliance): Do check for abstract members
+       only if parent type is class.
+       * decl.cs (MemberCore.GetClsCompliantAttributeValue): Fixed missing cache
+       update.
+
+2006-09-15  Marek Safar  <marek.safar@seznam.cz>
+
+       * cs-parser.jay,
+       * expression.cs(MemberAccess.DoResolve): Don't crash when not allowed
+       keywords are used.
+       * typemanager.cs(CSharpName): Converts NullType to null.
+
+2006-09-15  Martin Baulig  <martin@ximian.com>
+
+       * pending.cs: Removed; this file is now shared with mcs.
+
+2006-09-15  Martin Baulig  <martin@ximian.com>
+
+       * statement.cs: Removed; this file is now shared with mcs.
+
+2006-09-15  Martin Baulig  <martin@ximian.com>
+
+       * rootcontext.cs (RootContext.BrokenCircularDeps): Removed.
+
+       * driver.cs: Removed the `--broken-cycles' argument.
+
+2006-09-15  Martin Baulig  <martin@ximian.com>
+
+       * namespace.cs: Removed; this file is now shared with mcs.
+
+2006-09-15  Martin Baulig  <martin@ximian.com>
+
+       * decl.cs (MemberName): Minor code cleanups.
+
+2006-09-15  Martin Baulig  <martin@ximian.com>
+
+       * parameter.cs: Removed; this file is now shared with mcs.
+
+2006-09-15  Martin Baulig  <martin@ximian.com>
+
+       * enum.cs: Removed; this file is now shared with mcs.
+
+2006-09-15  Martin Baulig  <martin@ximian.com>
+
+       * Makefile: Define `GMCS_SOURCE'.
+
+       * flowanalysis.cs: Removed; this file is now shared with mcs.
+
+2006-09-15  Martin Baulig  <martin@ximian.com>
+
+       Removed modifiers.cs, literal.cs, location.cs, roottypes.cs,
+       assign.cs, const.cs, cfold.cs, constant.cs, symbolwriter.cs and
+       doc.cs - they are now shared with mcs.
+
+       * gmcs.exe.sources: Include these files from ../mcs/.
+
+2006-09-15  Martin Baulig  <martin@ximian.com>
+
+       * old-code.cs, gen-il.cs, gen-treedump.cs: Removed old stuff.
+       * g1.cs, sample-hello.cs, sample-stack.il: Likewise.
+
+2006-09-14  Marek Safar  <marek.safar@seznam.cz>
+
+       * assign.cs, ecore.cs, expression.cs: Share error message text.
+       * class.cs (FieldMember.Define): Check for variable of static type.
+       * decl.cs (check_type_parameter): Report correct type name.
+       * driver.cs (LoadAssembly): Uses error output for errors.
+       * generic.cs (Constraints.Resolve): Add check for constraint accessibility
+       (TypeArguments.Resolve): Static class cannot be used as an argument.
+       * statement.cs (ResolveMeta): Constants cannot be generic types.
+
+2006-09-12  Martin Baulig  <martin@ximian.com>
+
+       * generic.cs (TypeManager.IsIList): Moved into convert.cs.
+
+       * convert.cs (Convert.Array_To_IList): Moved here and correctly
+       implement it; fixes #79345.
+
+2006-09-08  Marek Safar  <marek.safar@seznam.cz>
+
+       * decl.cs (DeclSpace.SetParameterInfo): Check for nonexistent type
+       parameter.
+       * expression.cs (TypeOf.GetAttributableValue): Check for open generic
+       types.
+       * generic.cs: Improved error messages.
+       * typemanager.cs (RemoveGenericArity): Made public.
+
+2006-09-08  Martin Baulig  <martin@ximian.com>
+
+       * typemanager.cs (TypeManager.interlocked_type): New public field.
+       (TypeManager.int_interlocked_compare-exchange): New public field.
+       (TypeManager.InitEnumUnderlyingTypes): Also initialize the
+       enumerator types here and call InitGenericCoreTypes().
+       (TypeManager.InitCoreTypes): Call InitEnumeratorTypes() right
+       after calling InitEnumUnderlyingTypes().
+
+       * rootcontext.cs
+       (RootContext.ResolveCore): Added `System.Threading.Interlocked' to
+       `classes_second_stage'. 
+
+2006-09-07  Marek Safar  <marek.safar@seznam.cz>
+       * class.cs, generic.cs (GenericMethod.Define): Check for type parameter
+       collisions.
+       * statement.cs (Block.Variables): Made public.
+
+2006-09-07  Martin Baulig  <martin@ximian.com>
+
+       * driver.cs
+       (MainDriver): Revert r62663 from Marek; see #70506 for details.
+
+2006-09-01  Martin Baulig  <martin@ximian.com>
+
+       * generic.cs
+       (TypeManager.IsIList): Also handle base classes and interfaces. 
+
+2006-09-01  Raja R Harinath  <rharinath@novell.com>
+
+       Fix #79238
+       * expression.cs (Invocation.MoreSpecific): Check for reference
+       types earlier.
+
+2006-08-29  Miguel de Icaza  <miguel@novell.com>
+
+       * cs-parser.jay: Turn 1522 into a warning, instead of an error #79210
+
+2006-08-17  Miguel de Icaza  <miguel@novell.com>
+
+       * cs-tokenizer.cs: Apply patch from Atsushi Enomoto that fixes
+       #52019 and #79064, the use of the \uXXXX sequence in source code
+       to represent unicode characters.
+
+2006-08-15  Marek Safar  <marek.safar@seznam.cz>
+       * expression.cs (SizeOf.DoResolve): Check for void type. Fixed enum types
+       support.
+       * class.cs, ecore.cs, statement.cs: Merged to one error message.
+
+2006-08-14  Raja R Harinath  <rharinath@novell.com>
+
+       Fix #79067
+       * cs-tokenizer.cs (parse_less_than): Allow '*' to appear in a type
+       parameter too.  This only avoids a parse error -- the semantic
+       error is caught elsewhere.
+
 2006-08-13  Miguel de Icaza  <miguel@novell.com>
 
        * assign.cs: Catch attempts to assign to a method groups in += and
        argument check compatibility, and a second pass that does the
        actual resolution.   
 
-2006-07-16  Marek Safar  <marek.safar@seznam.cz>
-
-       A fix for #70506
-       * driver.cs (MainDriver): When a file extension is missing,
-       use a default one.
-
 2006-07-15  Marek Safar  <marek.safar@seznam.cz>
 
        * annonymous.cs (AnonymousMethod.CreateScopeType): Fixed nested type
 
        gmcs.exe.sources: Use CryptoConvert.cs from corlib.
 
-2005-11-05  Kornél Pál  <kornelpal@hotmail.com>
+2005-11-05  Kornél Pál  <kornelpal@hotmail.com>
 
        * gmcs.exe.config: Updated runtime version to v2.0.50727 (2.0 RTM).
 
        * literal.cs (NullLiteral.Reduce): null can be converted to any
        reference type.
 
-2005-10-28  Kornél Pál  <kornelpal@hotmail.com>
+2005-10-28  Kornél Pál  <kornelpal@hotmail.com>
 
        * driver.cs: Use Encoding.Default as default code page instead
          of ISO-28591.
          (PartialContainer.Create): check abstract/sealed/static strictly
          but abstract/sealed can exist only at one side. Fixed bug #75883.
 
-2005-09-01  Kornél Pál  <kornelpal@hotmail.com>
+2005-09-01  Kornél Pál  <kornelpal@hotmail.com>
 
        Fix #75945.
        * attribute.cs (Attribute.GetMarshal): If ArraySubType is not
        * statement.cs : (Continue.Resolve()) Unlike break, continue is not
          allowed inside a switch (without loop). Fixed bug #75433.
 
-2005-08-26  Kornél Pál  <kornelpal@hotmail.com>
+2005-08-26  Kornél Pál  <kornelpal@hotmail.com>
 
        * AssemblyInfo.cs: Using Consts.MonoVersion instead of MonoVersion.cs.
        * mcs.exe.sources: Using Consts.MonoVersion instead of MonoVersion.cs.
        * statement.cs (Foreach.CollectionForeach.GetEnumeratorFilter):
        Prefer a generic enumerator over a non-generic one.
 
-2005-08-26  Kornél Pál  <kornelpal@hotmail.com>
+2005-08-26  Kornél Pál  <kornelpal@hotmail.com>
 
        * AssemblyInfo.cs: Using Consts.MonoVersion instead of MonoVersion.cs.
        * gmcs.exe.sources: Using Consts.MonoVersion instead of MonoVersion.cs.
        According to the spec, 
 
        In a member access of the form E.I, if E is a single identifier,
-       and if the meaning of E as a simple-name (§7.5.2) is a constant,
+       and if the meaning of E as a simple-name (§7.5.2) is a constant,
        field, property, localvariable, or parameter with the same type as
-       the meaning of E as a type-name (§3.8), then both possible
+       the meaning of E as a type-name (§3.8), then both possible
        meanings of E are permitted.
 
        We did not check that E as a simple-name had the same type as E as
        According to the spec, 
 
        In a member access of the form E.I, if E is a single identifier,
-       and if the meaning of E as a simple-name (§7.5.2) is a constant,
+       and if the meaning of E as a simple-name (§7.5.2) is a constant,
        field, property, localvariable, or parameter with the same type as
-       the meaning of E as a type-name (§3.8), then both possible
+       the meaning of E as a type-name (§3.8), then both possible
        meanings of E are permitted.
 
        We did not check that E as a simple-name had the same type as E as
        basically ignored the method name.  Now we make sure that the
        method name is one of the valid indexer names.
 
-2004-03-14  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
+2004-03-14  Gustavo Giráldez  <gustavo.giraldez@gmx.net>
  
        * support.cs (SeekableStreamReader): Keep track of stream byte
        positions and don't mix them with character offsets to the buffer.
 
-       Patch from Gustavo Giráldez
+       Patch from Gustavo Giráldez
 
 2004-03-15  Marek Safar  <marek.safar@seznam.cz>
 
@@ -15987,7 +16229,7 @@ Tue Jan 28 17:30:57 CET 2003 Paolo Molaro <lupus@ximian.com>
 
        * driver.cs: fixed bug #37187.
 
-2003-01-27  Pedro Martinez Juliá  <yoros@wanadoo.es>
+2003-01-27  Pedro Martinez Juliá  <yoros@wanadoo.es>
 
        * expression.cs (IndexerAccess.DoResolve): Before trying to resolve
        any indexer, it's needed to build a list with all the indexers in the
@@ -17375,7 +17617,7 @@ Tue Dec 3 19:32:04 CET 2002 Paolo Molaro <lupus@ximian.com>
        without debugging support.
 
        * delegate.cs (Delegate.CloseDelegate): Removed, use CloseType instead.
-       Fixes bug #30235.  Thanks to Ricardo Fernández Pascual.
+       Fixes bug #30235.  Thanks to Ricardo Fernández Pascual.
 
 2002-09-12  Martin Baulig  <martin@gnome.org>