2010-05-05 Miguel de Icaza <miguel@novell.com>
[mono.git] / mcs / mcs / ChangeLog
index 77d167d2410858e4854a4c94da32bf9b1ef39fb9..345ad933d2b23975e854ac3af0770956ebf34017 100644 (file)
@@ -1,3 +1,237 @@
+2010-05-05  Miguel de Icaza  <miguel@novell.com>
+
+       * class.cs (TypeContainer.DefineBaseTypes)
+       (TypeContainer.CheckRecursiveDefinition): check for the iface not
+       being null, as we could have failed resolution and crashed;
+       Fixes #442144
+
+       * cs-parser.jay: Productions to catch common mistakes when other
+       punctuation operators are used instead of comma.   Fixes 571702 
+
+2010-05-05  Marek Safar  <marek.safar@gmail.com>
+
+       * anonymous.cs: Mutate correct set of constraints.
+
+2010-05-05  Marek Safar  <marek.safar@gmail.com>
+
+       A fix for bug #602842
+       * expression.cs: Resolve all array bound arguments.
+
+2010-05-05  Marek Safar  <marek.safar@gmail.com>
+
+       * import.cs: Don't import private fields.
+
+2010-04-30  Marek Safar  <marek.safar@gmail.com>
+
+       Partially based on patch by <sami.lamti@gmail.com>
+
+       * eval.cs, ecore.cs: Fixed eval show methods.
+
+2010-04-30  Marek Safar  <marek.safar@gmail.com>
+
+       * generic.cs, delegate.cs: Implement output type inference of
+       methodgroup now when the specification was cleared at least little
+       bit.
+
+2010-04-29  Marek Safar  <marek.safar@gmail.com>
+
+       A fix for bug #575611
+       * class.cs: Fix recursive unmanaged recursice sruct check.
+       
+2010-04-29  Marek Safar  <marek.safar@gmail.com>
+
+       A fix for bug #479776
+       * expression.cs: Implement typeof unbounded nested generic types.
+
+2010-04-29  Marek Safar  <marek.safar@gmail.com>
+
+       A fix for bug #474953
+       * class.cs: Fix valid recursive base type definition.
+
+2010-04-29  Marek Safar  <marek.safar@gmail.com>
+
+       A fix for bug #421737
+       * convert.cs, expression.cs: A boxing conversion exists from a
+       nullable-type to a reference type, if a boxing conversion exists
+       from the underlying non-nullable-value-type to the reference type.
+
+2010-04-29  Marek Safar  <marek.safar@gmail.com>
+
+       A fix for bug #376875
+       * import.cs: Import volatile modifier.
+
+2010-04-29  Marek Safar  <marek.safar@gmail.com>
+
+       A fix for bug #372412
+       * typespec.cs, expression.cs, codegen.cs: Emit readonly prefix for
+       generic arrays.
+
+2010-04-29  Marek Safar  <marek.safar@gmail.com>
+
+       A fix for bug #568955
+       * statements.cs: Handle recursive scope initializers.
+
+2010-04-28  Marek Safar  <marek.safar@gmail.com>
+
+       A fix for bug #566511
+       * anonymous.cs: Always get inflated version of hoisted variable
+       on generic type definition.
+
+2010-04-28  Marek Safar  <marek.safar@gmail.com>
+
+       * import.cs, membercache.cs: Relax rules for valid properties.
+
+2010-04-28  Marek Safar  <marek.safar@gmail.com>
+
+       * import.cs: Intern arrays used in generic arguments.
+
+2010-04-28  Marek Safar  <marek.safar@gmail.com>
+
+       A fix for bug #600398
+       * convert.cs: Actually use effective base type for the comparison.
+
+2010-04-28  Marek Safar  <marek.safar@gmail.com>
+
+       A fix for bug #600326
+       * ecore.cs: Pass arity to base member lookup.
+
+2010-04-28  Marek Safar  <marek.safar@gmail.com>
+
+       A fix for bug #573385
+       * expression.cs: MemberAccess is of generic type based on right
+       arity length only.
+
+2010-05-28  Marek Safar  <marek.safar@gmail.com>
+
+       * cs-tokenizer.cs: Made tab size configurable.
+
+2010-05-27  Marek Safar  <marek.safar@gmail.com>
+
+       * attribute.cs: Ensure Obsolete members are defined before doing
+       ctor look-up.
+
+2010-05-27  Marek Safar  <marek.safar@gmail.com>
+
+       * visit.cs: Add DOM visitor skeleton.
+       
+       * *.cs: Updated.
+
+2010-05-27  Marek Safar  <marek.safar@gmail.com>
+
+       * attribute.cs, codegen.cs: Drop COMPILER_ACCESS hack.
+       
+2010-05-27  Marek Safar  <marek.safar@gmail.com>
+
+       * *.cs: Major rewrite of compiler internals to better work with
+       unmodified System.Reflection.Emit. Some of the key changes are
+       - TypeSpec replaces reflection specific System.Type.
+       - All Type(TypeSpec) operations are now done in compiler therefore
+       no dependency on SRE to inflate generic members and types or to
+       query unclosed types.
+       - MemberCache is now the only and full hierarchical topology.
+       - Generic constraints are implemented properly.
+       - And as a bonus compilation is on average 30% faster.
+
+2010-04-15  Jb Evain  <jbevain@novell.com>
+
+       * dmcs.exe.config: update the runtime version to .net 4.0 RTM.
+
+2010-04-12  Marek Safar  <marek.safar@gmail.com>
+
+       * expression.cs, attribute.cs, parameter.cs: More attribute type
+       checks.
+
+2010-04-12  Marek Safar  <marek.safar@gmail.com>
+
+       A fix for bug #593342
+
+       * generic.cs, parameter.cs, argument.cs, field.cs, property.cs,
+       decl.cs, roottypes.cs, constant.cs, nullable.cs, expression.cs,
+       method.cs, ecore.cs, class.cs, delegate.cs, attribute.cs,
+       codegen.cs: Add custom attribute encoder to deal with unfinished
+       types and easier corlib bootstrap from its own types.
+
+2010-03-26  Marek Safar  <marek.safar@gmail.com>
+
+       * cs-parser.jay: Report invalid constraint types.
+
+2010-03-16  Jb Evain  <jbevain@novell.com>
+
+       * Makefile: rename the net_2_1 profile to moonlight.
+
+2010-03-11  Marek Safar  <marek.safar@gmail.com>
+
+       * statement.cs, cs-parser.jay: Use correct location for empty
+       statements.
+
+2010-03-11  Marek Safar  <marek.safar@gmail.com>
+
+       * cs-parser.jay: Disable Location from expression.
+       
+       * generic.cs: Check constraints for overrides in the parser.
+
+2010-03-09  Marek Safar  <marek.safar@gmail.com>
+
+       * cs-parser.jay (GetLocation): Use an expression when available.
+
+2010-03-04  Marek Safar  <marek.safar@gmail.com>
+
+       A fix for bug #582579
+       * ecore.cs (FieldExpr): Don't optimize cross reference loads.
+
+2010-03-04  Marek Safar  <marek.safar@gmail.com>
+
+       A patch by kornelpal@gmail.com
+       
+       * dynamic.cs, anonymous.cs, rootcontext.cs, class.cs: Don't make
+       compiler generated classes sealed by default. Emit and close top
+       level compiler generated classes as well. 
+       
+       * support.cs: Use RuntimeHelpers.GetHashCode.
+
+2010-03-03  Rolf Bjarne Kvinge  <RKvinge@novell.com>
+
+       * Makefile: We need to use the internal bootstrapping gmcs for
+       net_2_1_bootstrap too now.
+
+2010-03-02  Raja R Harinath  <harinath@hurrynot.org>
+
+       * expression.cs (IndexerAccess.ResolveAccessor): Add CS1540 check.
+
+2010-03-02  Marek Safar  <marek.safar@gmail.com>
+
+       * cs-tokenizer.cs: Missed few locations in previous fix.
+
+2010-03-02  Marek Safar  <marek.safar@gmail.com>
+
+       * cs-tokenizer.cs, argument.cs, dynamic.cs, assign.cs, anonymous.cs,
+       nullable.cs, expression.cs, statement.cs, cs-parser.jay, cfold.cs:
+       Report correct location for operator errors.
+
+2010-03-02  Marek Safar  <marek.safar@gmail.com>
+
+       * typemanager.cs (IsDynamicType): Don't check external types when
+       the attribute is not external.
+
+2010-02-24  Marek Safar  <marek.safar@gmail.com>
+
+       A fix for bug #582579
+       * decl.cs (IsExposedFromAssembly): Use PartialContainer for parent
+       modifiers.
+
+2010-02-24  Marek Safar  <marek.safar@gmail.com>
+
+       A fix for bug #581804
+       * ecore.cs: Fixed type comparison.
+
+2010-02-08  Miguel de Icaza  <miguel@novell.com>
+
+       * namespace.cs (CompletionGetTypesStartingWith): Do not include
+       private types in the completion results.
+
+       * cs-parser.jay: Bubble completions after "from x in ?" and "from x
+       ... let ?"
+
 2010-02-17  Marek Safar  <marek.safar@gmail.com>
 
        * generic.cs, field.cs, decl.cs, cs-parser.jay: Simplify special